/* ============================================
   ACCURATE INFORMATION GROUP - BRAND GUIDELINES 2026
   Brand Colors from Official Brand Book
   
   Primary Colors:
   - AIG Orange: #f26100
   - AIG Dark Blue: #140a59
   
   Secondary Colors:
   - AIG Indigo: #364081
   - AIG Light Blue: #0082ca
   
   Background/Text:
   - Background Light: #f9f9f8
   - Text Gray: #7b7d7f
   - Text Dark: #414042
   - White: #ffffff
   
   Gradient: 45° linear from #f26100 to #364081
   ============================================ */

/* Import AIG Proprietary SVG Icon System */
@import url('svg-icons.css');

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   Focus states, screen reader helpers
   ============================================ */
 
/* Main Content Area */
.main-content {
  display: block;
}

/* Mobile-Friendly Touch Targets */
@media (max-width: 768px) {
  /* Ensure all clickable elements are at least 44px */
  a, button, input, select, textarea {
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Prevent zoom on input focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  textarea {
    font-size: 16px !important;
  }
  
  /* Improve touch targets for navigation */
  .nav-menu a {
    padding: 1rem 0;
    display: block;
  }
  
  .dropdown-toggle {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* Focus States for Better Keyboard Navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
  outline: 3px solid #f26100;
  outline-offset: 2px;
}

/* Remove outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

/* Keep outline for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f26100;
  outline-offset: 2px;
}

/* Nav Toggle Accessibility */
.nav-toggle {
  cursor: pointer;
}

/* Dropdown Toggle Button Styling */
.dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  color: #140a59;
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-toggle:hover {
  color: #f26100;
}

.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.5rem;
  vertical-align: middle;
  border-top: 5px solid currentColor;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Desktop dropdown hover */
@media (min-width: 769px) {
  .nav-item.dropdown:hover .dropdown-menu,
  .nav-item.dropdown:focus-within .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    display: block;
  }
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Dropdown Menu Accessibility */
.nav-menu li {
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 8px;
  vertical-align: middle;
  border-top: 5px solid currentColor;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  transition: transform 0.3s ease;
}

.nav-dropdown[aria-expanded="true"] > a::after,
.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* Screen Reader Only Text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Visible on Focus for Screen Reader Text */
.sr-only-focusable:focus,
.sr-only-focusable:active {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* CSS Variables */
:root {
  /* Primary Brand Colors */
  --aig-orange: #f26100;
  --aig-dark-blue: #140a59;
  
  /* Secondary Brand Colors */
  --aig-indigo: #364081;
  --aig-light-blue: #0082ca;
  
  /* Background Colors */
  --bg-light: #f9f9f8;
  --bg-white: #ffffff;
  
  /* Text Colors */
  --text-dark: #414042;
  --text-gray: #7b7d7f;
  --text-light: #9CA3AF;
  
  /* Legacy Aliases */
  --navy: #140a59;
  --navy-light: #364081;
  --navy-dark: #0d0633;
  --orange: #f26100;
  --orange-light: #ff8a3d;
  --orange-dark: #c94e00;
  --white: #ffffff;
  
  /* Gradients */
  --gradient-brand: linear-gradient(45deg, #f26100 0%, #364081 100%);
  --gradient-primary: linear-gradient(135deg, #140a59 0%, #364081 100%);
  --gradient-accent: linear-gradient(135deg, #f26100 0%, #ff8a3d 100%);
  --gradient-hero: linear-gradient(135deg, rgba(20, 10, 89, 0.95) 0%, rgba(54, 64, 129, 0.9) 50%, rgba(242, 97, 0, 0.7) 100%);
  --gradient-cta: linear-gradient(45deg, #f26100 0%, #364081 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(20, 10, 89, 0.06);
  --shadow-md: 0 4px 12px rgba(20, 10, 89, 0.1);
  --shadow-lg: 0 12px 40px rgba(20, 10, 89, 0.15);
  --shadow-xl: 0 24px 60px rgba(20, 10, 89, 0.2);
  --shadow-glow: 0 0 40px rgba(242, 97, 0, 0.3);
  --shadow-card: 0 10px 40px rgba(20, 10, 89, 0.08);
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 50px;
  
  /* Spacing */
  --max-width: 1280px;
  --container-padding: 2rem;
}

/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--aig-dark-blue);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
}

a {
  color: var(--aig-orange);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--orange-dark);
}

/* Utility Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--gradient-primary);
  color: var(--white);
}

.section-light {
  background: var(--bg-white);
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-orange { color: var(--aig-orange); }

/* Section Headers */
.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(45deg, rgba(242, 97, 0, 0.1) 0%, rgba(54, 64, 129, 0.1) 100%);
  border: 1px solid rgba(242, 97, 0, 0.3);
  color: var(--aig-orange);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--aig-dark-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: var(--white);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--aig-dark-blue);
  border: 2px solid var(--aig-dark-blue);
}

.btn-secondary:hover {
  background: var(--aig-dark-blue);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--aig-dark-blue);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
/* ============================================
   SLEEK MODERN NAVIGATION BAR
   ============================================ */

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  z-index: -1;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.header.scrolled {
  padding: 0;
}

.header.scrolled::before {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.875rem var(--container-padding);
  transition: padding 0.4s ease;
  background: transparent !important;
}

.header.scrolled .navbar {
  padding: 0.75rem var(--container-padding);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 1001;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: 240px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.header.scrolled .logo img {
  height: 42px;
}

.logo:hover img {
  transform: scale(1.02);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
}

/* Nav Items */
.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  color: rgba(20, 10, 89, 0.85);
  padding: 0.625rem 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  position: relative;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nav-menu > li > a:hover {
  color: var(--aig-orange);
  background: rgba(242, 97, 0, 0.08);
}

.nav-menu > li > a.active {
  color: var(--aig-orange);
  background: rgba(242, 97, 0, 0.12);
}

/* Home Link Icon */
.nav-menu > li > a[href="index.html"]::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('/images/logo-mark-orange.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

/* Dropdown Indicator */
.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.25rem;
  margin-top: 2px;
  transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-toggle::after {
  transform: rotate(-135deg);
  margin-top: -1px;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(20, 10, 89, 0.2), 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 0.625rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  border: 1px solid rgba(20, 10, 89, 0.1);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--white);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  color: var(--text-dark);
  padding: 0.75rem 1.25rem;
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--aig-orange);
  border-radius: 0 2px 2px 0;
  transition: height 0.2s ease;
}

.dropdown-menu a:hover {
  color: var(--aig-orange);
  background: linear-gradient(90deg, rgba(242, 97, 0, 0.06) 0%, transparent 100%);
}

.dropdown-menu a:hover::before {
  height: 60%;
}

/* Primary CTA Button */
.nav-cta {
  margin-left: 0.75rem;
}

.nav-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: var(--gradient-cta);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 97, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.nav-cta a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(242, 97, 0, 0.45);
}

.nav-cta a:hover::before {
  opacity: 1;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(242, 97, 0, 0.1);
  border: 1px solid rgba(242, 97, 0, 0.2);
  border-radius: 10px;
  cursor: pointer;
  padding: 0.625rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
}

/* PWA Install Button */
.install-app-btn {
  display: none; /* Hidden by default, shown when PWA is installable */
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--aig-dark-blue);
  border: 2px solid var(--aig-dark-blue);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  margin-right: 1rem;
}

.install-app-btn:hover {
  background: var(--aig-dark-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.install-app-btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile Install Button */

/* Footer PWA Install Button */
.footer-install-btn {
  display: none; /* Hidden by default, shown when PWA is installable */
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-dark);
  border: none;
  padding: 0.5rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  width: 100%;
}

.footer-install-btn:hover {
  color: var(--aig-orange);
}

.footer-install-btn svg {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.footer-install-btn span {
  vertical-align: middle;
}

@media (max-width: 768px) {
  .install-app-btn {
    width: 100%;
    justify-content: center;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--aig-orange);
    border-color: var(--aig-orange);
    color: var(--white);
  }
  
  .install-app-btn:hover {
    background: var(--aig-dark-blue);
  }
}

.nav-toggle:hover {
  background: rgba(242, 97, 0, 0.15);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--aig-orange);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION WITH VIDEO
   ============================================ */
.hero-video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 900px;
}

.hero-video-content .hero-badge {
  display: inline-block;
  background: rgba(242, 97, 0, 0.2);
  border: 1px solid var(--aig-orange);
  color: var(--aig-orange);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-video-content .hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-video-content .hero-title span {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-video-content .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-video-content .hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
  width: 30px;
  height: 30px;
  stroke: var(--white);
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--bg-white);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 10, 89, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, rgba(54, 64, 129, 0.12) 0%, rgba(242, 97, 0, 0.08) 100%);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover h3 {
  color: var(--aig-dark-blue);
}

.service-card:hover p {
  color: var(--aig-indigo);
}

.service-card:hover .link-arrow {
  color: var(--aig-orange);
}

.service-card.featured {
  background: var(--gradient-primary);
  color: var(--white);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
  color: var(--aig-orange);
}

.service-card.featured .link-arrow {
  color: var(--aig-orange);
}

.service-card.featured .link-arrow:hover {
  color: var(--orange-light);
}

.service-card.featured::before {
  opacity: 1;
  background: var(--aig-orange);
}

.service-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--aig-orange);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(45deg, rgba(242, 97, 0, 0.1) 0%, rgba(54, 64, 129, 0.1) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
  transform: scale(1.1);
}

/* Service icon container - allows AIG icon system to control sizing */
.service-icon .aig-icon {
  width: 64px;
  height: 64px;
}

/* Service card bullet lists */
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.service-card ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  color: rgba(20, 10, 89, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.service-card ul li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.service-card ul li span {
  flex: 1;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-gray);
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--aig-orange);
  border-radius: 50%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--aig-orange);
}

.link-arrow::after {
  content: '→';
  transition: var(--transition);
}

.link-arrow:hover::after {
  transform: translateX(5px);
}

/* ============================================
   FEATURES / WHY CHOOSE US
   ============================================ */
.why-choose {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,0 100,50, 50,100 0,50" fill="rgba(242,97,0,0.05)"/></svg>');
  background-size: 80px;
  opacity: 0.5;
  pointer-events: none;
}

.why-choose .section-title {
  color: var(--white);
}

.why-choose .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.feature-item:hover {
  background: linear-gradient(135deg, rgba(54, 64, 129, 0.3) 0%, rgba(242, 97, 0, 0.15) 100%);
  transform: translateY(-5px);
  border-color: rgba(242, 97, 0, 0.3);
}

.feature-item:hover .feature-icon {
  box-shadow: 0 0 20px rgba(242, 97, 0, 0.3);
}

.feature-item:hover h3,
.feature-item:hover h4 {
  color: var(--white);
}

.feature-item:hover p {
  color: rgba(255, 255, 255, 0.95);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon img {
  transform: scale(1.1);
}

/* Feature icon container - allows AIG icon system to control sizing */
.feature-icon .aig-icon {
  width: 56px;
  height: 56px;
}

.feature-item h3,
.feature-item h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.feature-item:hover h3,
.feature-item:hover h4 {
  color: var(--aig-orange);
}

.feature-item p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients-section {
  background: var(--bg-light);
}

.clients-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.client-row {
  display: grid;
  gap: 2rem;
  width: 100%;
}

.client-row-top {
  grid-template-columns: repeat(4, 1fr);
}

.client-row-bottom {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .client-row-top,
  .client-row-bottom {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .client-row-top,
  .client-row-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .client-row-top,
  .client-row-bottom {
    grid-template-columns: 1fr;
  }
}

.client-logo-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid rgba(20, 10, 89, 0.05);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.client-logo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--aig-orange) 0%, #ff8c42 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.client-logo-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
  border-color: rgba(242, 97, 0, 0.2);
  background: linear-gradient(135deg, rgba(54, 64, 129, 0.1) 0%, rgba(242, 97, 0, 0.08) 100%);
}

.client-logo-card:hover::before {
  transform: scaleX(1);
}

.client-logo-card:hover .client-industry {
  color: var(--aig-indigo);
}

.client-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(242, 97, 0, 0.05) 0%, rgba(20, 10, 89, 0.05) 100%);
  border-radius: 50%;
  transition: var(--transition);
}

.client-logo-card:hover .client-icon-wrapper {
  background: linear-gradient(135deg, rgba(242, 97, 0, 0.1) 0%, rgba(20, 10, 89, 0.1) 100%);
  transform: scale(1.1);
}

.client-favicon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}

.client-icon-wrapper--dark {
  background: linear-gradient(135deg, #140a59 0%, #364081 100%) !important;
}

.client-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--aig-dark-blue);
  margin: 0 0 0.5rem 0;
  text-align: center;
  transition: var(--transition);
}

.client-logo-card:hover .client-name {
  color: var(--aig-orange);
}

.client-industry {
  font-size: 0.875rem;
  color: var(--text-medium);
  margin: 0;
  text-align: center;
  font-weight: 400;
}

.client-logo {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.client-logo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.client-logo span {
  font-weight: 600;
  color: var(--aig-dark-blue);
  text-align: center;
}

/* ============================================
   CTA SECTION
   ============================================ */

/* LOCATIONS GRID */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.location-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 160px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(20, 10, 89, 0.06);
  transition: var(--transition);
  text-decoration: none;
  color: var(--aig-dark-blue);
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aig-orange), var(--aig-indigo));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(242, 97, 0, 0.15);
  background: linear-gradient(135deg, rgba(54, 64, 129, 0.08) 0%, rgba(242, 97, 0, 0.05) 100%);
}

.location-card:hover::before {
  transform: scaleX(1);
}

/* Location card with icon (demographics page) */
.location-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-icon .aig-icon {
  width: 32px;
  height: 32px;
}

.location-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--aig-dark-blue);
  margin: 0 0 0.35rem 0;
  transition: var(--transition);
}

.location-card p {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin: 0 0 0.6rem 0;
  line-height: 1.4;
  transition: var(--transition);
}

.location-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--aig-orange);
  transition: var(--transition);
}

.location-card:hover h3 {
  color: var(--aig-orange);
}

.location-card:hover p {
  color: var(--aig-indigo);
}

.location-card:hover .location-link {
  color: var(--aig-dark-blue);
}

/* Simple location cards (homepage) - no icon */
.location-card:not(:has(.location-icon)) {
  min-height: 80px;
  font-weight: 600;
  font-size: 1rem;
}

.location-card:not(:has(.location-icon)):hover {
  color: var(--aig-orange);
}

@media (max-width: 1024px) {
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .location-card { min-height: 140px; padding: 1.5rem 1rem; }
}

@media (max-width: 480px) {
  .locations-grid { grid-template-columns: 1fr; }
  .location-card { min-height: auto; padding: 1.25rem; }
}

.cta-section {
  background: var(--gradient-brand);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-form-container {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  margin-bottom: 0;
}

.cta-form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-form input {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.25rem;
  border: 2px solid var(--bg-light);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.cta-form input:focus {
  outline: none;
  border-color: var(--aig-orange);
}

.cta-form button {
  width: 100%;
  margin-top: 0;
  background: var(--aig-dark-blue);
  color: var(--white);
}

.cta-form button:hover {
  background: var(--aig-indigo);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */
/* ============================================
   SLEEK MODERN FOOTER
   ============================================ */

.footer {
  background: linear-gradient(180deg, #0d0633 0%, var(--aig-dark-blue) 100%);
  color: var(--white);
  padding: 3rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 97, 0, 0.5), transparent);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5.5rem var(--container-padding) 2.5rem;
}

/* Footer Top - Main Content */
.footer-top,
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr !important;
  gap: 4rem !important;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
  }
}

@media (max-width: 768px) {
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* Footer Brand Section */
.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 8px rgba(242, 97, 0, 0.2));
  transition: filter 0.3s ease;
}

.footer-logo:hover {
  filter: drop-shadow(0 4px 16px rgba(242, 97, 0, 0.35));
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover {
  background: var(--aig-orange);
  border-color: var(--aig-orange);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 97, 0, 0.3);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

/* Footer Links */
.footer-links h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--aig-orange);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.875rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-links a:hover {
  color: var(--aig-orange);
  transform: translateX(4px);
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--aig-orange);
  transition: width 0.25s ease;
}

.footer-links a:hover::before {
  width: 8px;
  margin-right: 4px;
}

/* Footer Contact */
.footer-contact h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--aig-orange);
  border-radius: 2px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color 0.25s ease;
}

.footer-contact-item:hover {
  color: var(--white);
}

.footer-contact-item svg,
.footer-contact-item .icon {
  width: 18px;
  height: 18px;
  color: var(--aig-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: inherit;
  transition: color 0.25s ease;
}

.footer-contact-item a:hover {
  color: var(--aig-orange);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: var(--aig-orange);
}

.footer-created-by {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.footer-favicon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  background: var(--gradient-primary);
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,0 100,50 50,100 0,50" fill="rgba(242,97,0,0.05)"/></svg>');
  background-size: 100px;
}

.hero-badge {
  display: inline-block;
  background: rgba(242, 97, 0, 0.2);
  border: 1px solid var(--aig-orange);
  color: var(--aig-orange);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   GEO PAGE STYLES
   ============================================ */
.geo-hero {
  background: var(--gradient-primary);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.geo-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,0 100,50 50,100 0,50" fill="rgba(242,97,0,0.03)"/></svg>');
  background-size: 50px;
}

.geo-hero-content {
  position: relative;
  z-index: 1;
}

.geo-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.geo-hero h1 span {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.geo-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 700px;
}

.geo-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.geo-stat {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.geo-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--aig-orange);
  line-height: 1;
}

.geo-stat-label {
  color: var(--white);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

.geo-services {
  background: var(--bg-white);
}

.geo-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.geo-service-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.geo-service-card:hover {
  border-color: var(--aig-orange);
  box-shadow: var(--shadow-lg);
}

.geo-service-card h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.geo-service-card h3 span {
  width: 48px;
  height: 48px;
  background: var(--gradient-brand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.geo-cta {
  background: var(--gradient-brand);
  padding: 5rem 0;
}

.geo-cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.geo-cta-text h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.geo-cta-text p {
  color: rgba(255, 255, 255, 0.9);
}

.geo-cta-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.geo-cta-form h3 {
  margin-bottom: 1.5rem;
}

.geo-cta-form input,
.geo-cta-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-family: inherit;
}

.geo-cta-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* ============================================
   CARDS GRID
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--gradient-primary);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.event-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  text-align: center;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.event-icon {
  width: 64px;
  height: 64px;
}

.event-badge {
  position: absolute;
  top: -10px;
  right: 0;
  background: var(--aig-orange);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.event-card h3 {
  color: var(--aig-dark-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.event-description {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.event-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.event-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.event-details .aig-icon {
  width: 20px;
  height: 20px;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--aig-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--aig-dark-blue);
  font-size: 1rem;
  font-weight: 600;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.testimonial-stars {
  color: var(--aig-orange);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-content p {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-light);
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

.author-name {
  font-weight: 600;
  color: var(--aig-dark-blue);
}

.author-title {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}

.contact-info-card h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-item h4 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--bg-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--aig-orange);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portfolio-stats {
  background: var(--gradient-brand);
  padding: 4rem 0;
  margin-top: -2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.portfolio-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-icon {
  font-size: 4rem;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 10, 89, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-content {
  padding: 2rem;
}

.portfolio-category {
  display: inline-block;
  background: rgba(242, 97, 0, 0.1);
  color: var(--aig-orange);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.portfolio-description {
  color: var(--text-gray);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.portfolio-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-services span {
  background: var(--bg-light);
  color: var(--text-gray);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries-section {
  background: var(--aig-dark-blue);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .industry-item {
    padding: 1.5rem 1rem;
  }
  
  .industry-icon {
    font-size: 2rem;
  }
  
  .industry-name {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.industry-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: var(--transition);
}

.industry-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.industry-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.industry-name {
  color: var(--white);
  font-size: 0.9375rem;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .footer-brand {
    max-width: none;
  }
  
  .geo-cta-content {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .header::before {
    background: rgba(255, 255, 255, 0.98);
  }
  
  .navbar {
    padding: 0.75rem 1rem;
  }
  
  .logo img {
    height: 40px;
    max-width: 180px;
  }
  
  /* Ensure hamburger button is visible */
  .nav-toggle {
    display: flex !important;
    background: rgba(242, 97, 0, 0.1);
    border: 1px solid rgba(242, 97, 0, 0.2);
  }
  
  .nav-toggle span {
    background: var(--aig-orange);
    height: 2px;
    width: 20px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: #0d0633;
    flex-direction: column;
    padding: 5.5rem 1.5rem 2rem;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
  }
  /* Mobile menu dark theme text colors */
  .nav-toggle.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    z-index: 1002;
  }
  .nav-toggle.active span {
    background: #ffffff;
  }
  .nav-menu > li > a {
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu > li > a:hover,
  .nav-menu > li > a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }
  .dropdown-toggle {
    color: rgba(255, 255, 255, 0.9);
  }
  .dropdown-menu {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.8);
  }
  .dropdown-menu a:hover,
  .dropdown-menu a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
  }
  .nav-cta {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu > li > a[href="index.html"]::before {
    filter: brightness(10);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle {
    display: flex !important;
    background: rgba(242, 97, 0, 0.1);
    border: 1px solid rgba(242, 97, 0, 0.2);
  }
  
  .nav-menu > li > a {
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
  }
  
  .nav-menu > li > a:hover,
  .nav-menu > li > a.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--aig-orange);
  }
  
  .nav-item:hover .dropdown-toggle::after {
    transform: rotate(-135deg);
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    padding: 0.5rem 0 0.5rem 1rem;
    margin: 0.5rem 0;
    border-radius: 12px;
    border: none;
    display: none;
  }
  
  .dropdown-menu::before {
    display: none;
  }
  
  .nav-item.dropdown-open .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .dropdown-menu a:hover {
    background: rgba(242, 97, 0, 0.15);
    color: var(--aig-orange);
  }
  
  .dropdown-menu a::before {
    display: none;
  }
  
  .dropdown-toggle {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .nav-cta {
    margin-left: 0;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-cta a {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer-logo {
    margin: 0 auto 1.5rem;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact-item {
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    gap: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-video-content .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

/* Social Media Page Specific Styles */
.social-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.platform-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.platform-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.platform-icon img {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon img {
  transform: scale(1.15);
}

.platform-card h3 {
  margin-bottom: 0.75rem;
}

.platform-card p {
  color: var(--text-gray);
}
/* Body lock when nav is open */
body.nav-open {
  overflow: hidden;
}

/* Overlay for mobile nav - ensure it appears behind nav but above everything else */
body.nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Active link styling */
.nav-menu a.active {
  color: var(--aig-orange) !important;
}

.nav-menu a.nav-link.active {
  color: var(--aig-orange) !important;
}

/* =========================================
   SPECIFIC PAGE FIXES
   ========================================= */

/* Ensure all homepage elements are readable */
.page-hero {
  background: linear-gradient(135deg, #140a59 0%, #364081 100%) !important;
  color: #ffffff !important;
}

/* Stats and numbers - ensure visibility */
.stat-number,
.counter {
  color: #f26100 !important;
}

/* Service card improvements - exclude featured cards */
.service-card:not(.featured) h3 {
  color: #140a59 !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.service-card:not(.featured) p {
  color: #414042 !important;
  line-height: 1.7 !important;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-section h2 {
  color: var(--aig-dark-blue);
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.faq-section .section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question h3 {
  color: var(--aig-dark-blue);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  padding-right: 1rem;
}

.faq-question .faq-icon {
  width: 30px;
  height: 30px;
  background: var(--aig-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   BREADCRUMB & TABLE OF CONTENTS NAVIGATION
   Standard navigation boxes for all pages
   ============================================ */

/* Breadcrumb Navigation */
.breadcrumb-nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 2rem;
  background: #f9f9f8;
  border-radius: 8px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "›";
  color: #f26100;
  margin-left: 0.5rem;
  font-weight: 600;
}

.breadcrumb-list a {
  color: #140a59;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-list a:hover {
  color: #f26100;
  text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
  color: #7b7d7f;
  font-weight: 500;
}

/* Table of Contents */
.toc-container {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f9f9f8 0%, #ffffff 100%);
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.toc-title {
  color: #140a59;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('/images/aig-icon-orange.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}

.toc-list li {
  position: relative;
  padding-left: 1.25rem;
}

.toc-list li::before {
  content: "•";
  color: #f26100;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.toc-list a {
  color: #364081;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: block;
  padding: 0.25rem 0;
}

.toc-list a:hover {
  color: #f26100;
  transform: translateX(4px);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f26100 0%, #ff8c42 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(242, 97, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(242, 97, 0, 0.4);
}

.back-to-top:focus {
  outline: 2px solid #140a59;
  outline-offset: 2px;
}

/* Related Articles */
.related-articles {
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 3rem 2rem;
  background: #f9f9f8;
  border-radius: 16px;
}

.related-articles h2 {
  color: #140a59;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.related-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
}

.related-card:hover {
  border-color: #f26100;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(20, 10, 89, 0.1);
}

.related-card a {
  text-decoration: none;
  color: #140a59;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  display: block;
}

.related-card a:hover {
  color: #f26100;
}

.related-date {
  display: block;
  font-size: 0.85rem;
  color: #7b7d7f;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .toc-list {
    grid-template-columns: 1fr;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .breadcrumb-nav {
    padding: 0.75rem 1rem;
  }
  
  .toc-container {
    padding: 1rem;
  }
}

/* Blog Navigation Box - Standard Across All Pages */
.blog-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

.blog-nav a {
  color: #140a59;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: rgba(242, 97, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-nav a:hover {
  color: #f26100;
  background: rgba(242, 97, 0, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .blog-nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .blog-nav a {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   STANDARDIZED TOC CARD - Matches Reference Design
   Applied to Blog, GEO, and Service pages
   ============================================ */
.toc-card {
  max-width: 800px;
  margin: 2rem auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.toc-card-title {
  color: #140a59;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f26100;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-card-title::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('/images/aig-icon-orange.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.toc-card-title .aig-icon {
  width: 24px;
  height: 24px;
}

.toc-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
}

.toc-card-list li {
  position: relative;
  padding-left: 1.5rem;
}

.toc-card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #f26100;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
}

.toc-card-list a {
  color: #364081;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  line-height: 1.5;
}

.toc-card-list a:hover {
  color: #f26100;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .toc-card {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .toc-card-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .toc-card-title {
    font-size: 1.1rem;
  }
}

/* Force textarea to match other CTA form fields */

.cta-form textarea,
.cta-form textarea#message {
  width: 100% !important;
  padding: 18px 20px !important;
  border: 1px solid rgba(20, 10, 89, 0.08) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  font-size: 16px !important;
  font-family: inherit !important;
  color: #1a1a1a !important;
  outline: none !important;
  resize: vertical !important;
  min-height: 140px !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: all 0.3s ease !important;
}

.cta-form textarea::placeholder,
.cta-form textarea#message::placeholder {
  color: #7a7a7a !important;
}

.cta-form textarea:focus,
.cta-form textarea#message:focus {
  border-color: #140a59 !important;
  box-shadow: 0 0 0 3px rgba(20, 10, 89, 0.06) !important;
}
