@import "fonts.css";

:root {
  --primary: #e65c00;
  --primary-hover: #ff7b24;
  --bg: #ffffff;
  --surface: #f9f9f9;
  --surface-hover: #f1f1f1;
  --text: #1a1a1a;
  --text-muted: #555555;
  --border: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-brand: 'Archivo', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.2; }
h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.text-gradient {
  color: #111;
  background: linear-gradient(135deg, #111 0%, #666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

.text-primary {
  color: var(--primary);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(230, 92, 0, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 92, 0, 0.5);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Navbar */
/* Dark Hero Navbar adjustments */
.navbar.on-dark-hero:not(.scrolled) .navbar-brand {
  color: white;
}
.navbar.on-dark-hero:not(.scrolled) .navbar-brand span {
  color: rgba(255,255,255,0.7);
}
.navbar.on-dark-hero:not(.scrolled) .navbar-brand img {
  filter: brightness(0) invert(1);
}
.navbar.on-dark-hero:not(.scrolled) .nav-link {
  color: rgba(255,255,255,0.8);
}
.navbar.on-dark-hero:not(.scrolled) .nav-link:hover {
  color: white;
}
.navbar.on-dark-hero:not(.scrolled) .mobile-menu-btn {
  color: white;
}
.navbar.on-dark-hero:not(.scrolled) .region-btn {
  color: white;
  border-color: rgba(255,255,255,0.2);
}
.navbar.on-dark-hero:not(.scrolled) .btn-primary {
  background: white;
  color: black;
  border-color: white;
}
.navbar.on-dark-hero:not(.scrolled) .btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-brand span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
}

/* Desktop Only Dropdown for Services */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.dropdown-menu.megamenu {
  min-width: 920px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.megamenu-column {
  display: flex;
  flex-direction: column;
}

.megamenu-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-left: 1rem;
}

@media (max-width: 968px) {
  .dropdown-menu.megamenu {
    min-width: auto;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

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

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all 0.2s;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary);
}

/* Region Selector */
.region-selector {
  position: relative;
  display: flex;
  align-items: center;
}

.region-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text);
  white-space: nowrap;
  width: 165px;
}

.region-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.region-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 180px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1001;
}

.region-selector.active .region-dropdown,
.region-selector:hover .region-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.region-item {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  color: var(--text-muted);
  text-align: left;
}

.region-item:hover, .region-item.active {
  background: rgba(230, 92, 0, 0.1);
  color: var(--primary);
}

.footer-region-selector {
  display: flex;
  align-items: center;
}

.footer-region-selector .region-dropdown {
  top: auto;
  bottom: 100%;
  right: auto;
  left: 0;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .region-selector {
    width: 100%;
    justify-content: center;
  }
  
  .region-dropdown {
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
  }
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    padding: 0;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links > .dropdown, 
  .nav-links > a.nav-link,
  .nav-links > .nav-actions {
    width: 100%;
    padding: 1.5rem 2rem !important; /* Force consistent alignment */
    border-bottom: 1px solid var(--border);
    margin: 0;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .nav-links > div:last-child {
    border-bottom: none;
  }
  .hamburger-icon line {
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .mobile-menu-btn.active .menu-line-1 {
    opacity: 0;
  }
  .mobile-menu-btn.active .menu-line-2 {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-menu-btn.active .menu-line-3 {
    transform: translateY(-6px) rotate(-45deg);
  }
  .nav-links > .nav-actions {
    flex-direction: column;
    gap: 1.5rem !important;
  }
  .region-selector, .region-btn {
    width: 100% !important;
    max-width: 100%;
    justify-content: flex-start;
  }
  .nav-contact-btn {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 1rem !important;
    padding-bottom: 0 !important;
    display: block !important;
    gap: 0 !important;
  }
  .dropdown:hover .dropdown-menu, .dropdown.active .dropdown-menu {
    transform: none !important;
  }
  .dropdown-menu.megamenu {
    padding: 1rem 0 0 0 !important;
    gap: 0 !important;
  }
  .nav-link {
    width: 100%;
    text-align: left;
    display: block;
    color: var(--primary) !important;
    text-transform: uppercase;
    font-weight: 700;
    cursor: default !important;
  }
  span.nav-link {
    padding: 0 !important; /* Spans inside dropdowns shouldn't add extra padding */
  }
  .dropdown-icon {
    display: none !important;
  }
  .dropdown-item {
    padding: 0.75rem 0;
    text-align: left;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  .megamenu-title {
    padding-left: 0 !important;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted) !important;
    cursor: default !important;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
  .region-item[data-region="South Asia"] {
    display: none !important;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}



.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 968px) {
  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    gap: 1.5rem; /* Reduced gap to move text up */
    padding-top: 1rem;
  }
}

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

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-image img {
  width: 100%;
  display: block;
}

@media (max-width: 968px) {
  .hero-actions {
    justify-content: center !important;
    margin-bottom: 3rem; /* Add space below CTA */
  }
  .hero-image {
    max-width: 600px;
    margin: 0 auto 0 auto; /* Removed bottom margin */
    transform: none;
  }
  .hero-image:hover {
    transform: translateY(-5px);
  }
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(230, 92, 0, 0.1);
  color: var(--primary);
  border: 1px solid rgba(230, 92, 0, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Glass Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(230, 92, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(230, 92, 0, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.glass-card h3 {
  margin-bottom: 1rem;
}

.glass-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link:hover {
  gap: 1rem;
}

/* Audit Section – Highlighted Tint */
.highlight-section {
  background: rgba(230, 92, 0, 0.03);
  border-top: 1px solid rgba(230, 92, 0, 0.1);
  border-bottom: 1px solid rgba(230, 92, 0, 0.1);
}

/* Banded List Layout */
.banded-list {
  display: flex;
  flex-direction: column;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}

.banded-row {
  display: grid;
  grid-template-columns: 90px 400px 1fr;
  align-items: flex-start;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all 0.3s ease;
}

.banded-row::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  right: -1.5rem;
  top: 0;
  bottom: 0;
  background: transparent;
  border-radius: 12px;
  z-index: -1;
  transition: background 0.3s ease;
}

.banded-row:hover::before {
  background: rgba(230, 92, 0, 0.04);
}

.banded-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.2rem;
}

.banded-index .index-num {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.banded-index .index-icon {
  width: 48px;
  height: 48px;
  background: rgba(230, 92, 0, 0.08);
  border: 1px solid rgba(230, 92, 0, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.banded-row:hover .index-icon {
  background: rgba(230, 92, 0, 0.14);
  border-color: rgba(230, 92, 0, 0.35);
  transform: scale(1.06);
}

.banded-title {
  padding-top: 0.15rem;
}

.banded-title h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 0;
  color: var(--text);
  transition: color 0.3s ease;
}

.banded-row:hover .banded-title h3 {
  color: var(--primary);
}

.banded-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.15rem;
}

.banded-body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.banded-body .card-link {
  font-size: 0.95rem;
}

@media (max-width: 968px) {
  .banded-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2.5rem 0;
  }

  .banded-index {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

/* Call to action */
.cta-section {
  background: linear-gradient(to right, var(--surface), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-section h2 {
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Footer */
footer {
  background: var(--surface);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-size: 3.3rem;
}
.footer-logo-img {
  width: 72px;
  height: 72px;
}

@media (max-width: 768px) {
  .footer-logo {
    font-size: 2.5rem;
  }
  .footer-logo-img {
    width: 48px;
    height: 48px;
  }
}

footer .container {
  max-width: 1400px;
}

.footer-nav-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-links ul li a {
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .footer-nav-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer-nav-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4rem;
  margin-bottom: 9rem;
}

.brand-info h5 {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-info p {
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-brand {
    gap: 1.5rem;
    grid-template-columns: 1fr; /* Stack logo and text */
    text-align: left;
  }
  .footer-brand .navbar-brand {
    justify-content: flex-start;
  }
}

.footer-links h4 {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Value Prop section (Now Brand statement) */
.value-prop {
  padding: 8rem 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><line x1="0" y1="100%" x2="100%" y2="0" stroke="rgba(0,0,0,0.03)" stroke-width="2"/></svg>'), var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brand-essence-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 6rem;
}

.brand-essence-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-essence-text {
  text-align: left;
}

.brand-essence-text .lead {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  max-width: 900px;
}

@media (max-width: 992px) {
  .brand-essence-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .brand-essence-text {
    text-align: center;
  }
  
  .brand-essence-icon img {
    max-width: 150px !important;
  }
}

/* Media/Insights */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}

.media-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.media-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.media-thumbnail svg {
  width: 48px;
  height: 48px;
  color: rgba(0,0,0,0.1);
  transition: color 0.3s ease, transform 0.3s ease;
}

.media-card:hover .media-thumbnail svg {
  color: var(--primary);
  transform: scale(1.1);
}

.media-content {
  padding: 1.5rem;
}

.media-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.media-type {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.media-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Gating Overlay */
.gated-container {
  position: relative;
  min-height: 60vh;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.gated-content {
  filter: blur(8px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  padding: 2rem;
}

.gate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 10;
}

.gate-form-container {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: 12px;
  max-width: 450px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.gate-form-container h3 {
  margin-bottom: 0.5rem;
}

.gate-form-container p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-sans);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-block {
  width: 100%;
  margin-top: 1rem;
}

/* Media Post specific styles */
.post-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.post-header h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.post-meta {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-bottom: 2rem;
  border-radius: 8px;
}

.video-container iframe, .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ==========================================
   Insights Grid Section
   ========================================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.insight-card:hover {
  border-color: rgba(230, 92, 0, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  color: inherit;
}

.insight-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.insight-card:hover .insight-image img {
  transform: scale(1.04);
}

.insight-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.75rem 2rem 2rem;
  flex: 1;
}

.insight-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(230, 92, 0, 0.1);
  color: var(--primary);
  border: 1px solid rgba(230, 92, 0, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 0.4rem;
}

.insight-tag--tech {
  background: rgba(71, 102, 183, 0.1);
  color: #4766b7;
  border-color: rgba(71, 102, 183, 0.2);
}

.insight-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.insight-card:hover .insight-headline {
  color: var(--primary);
}

.insight-subhead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.insight-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0.25rem 0 0;
  flex: 1;
}

.insight-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap 0.3s ease;
}

.insight-card:hover .insight-cta {
  gap: 0.8rem;
}

/* Custom Dropdown */
.custom-dropdown {
  position: relative;
  width: 100%;
}
.custom-dropdown-selected {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.custom-dropdown-selected::after {
  content: '▼';
  font-size: 0.8rem;
  margin-left: auto;
  color: var(--text-muted);
}
.custom-dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-top: 5px;
  z-index: 1000;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.custom-dropdown.active .custom-dropdown-options {
  display: block;
}
.custom-dropdown-option {
  display: grid;
  grid-template-columns: 30px 200px 1fr;
  align-items: center;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--text);
}
.custom-dropdown-option:hover {
  background: rgba(230, 92, 0, 0.05);
  color: var(--primary);
}
.dropdown-flag {
  text-align: left;
}
.dropdown-name {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}
.dropdown-code {
  text-align: left;
  color: var(--text-muted);
}

/* Editorial Insight Pages */
.news-hero {
  background: #1a1a1a;
  color: white;
  padding: 12rem 0 0;
  text-align: center;
  overflow: hidden;
}
.news-hero h1 {
  font-family: 'Lora', serif;
  font-size: 4.5rem;
  font-weight: 700;
  max-width: 1000px;
  margin: 0 auto 2rem;
}
.editorial-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 6rem 0;
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}
.editorial-content p {
  margin-bottom: 2.5rem;
}
.editorial-content h2 {
  font-family: 'Outfit', sans-serif;
  margin-top: 4.5rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
.editorial-content ul {
  margin-bottom: 2.5rem;
}
.editorial-content li {
  margin-bottom: 1rem;
}
.data-insight-box {
  background: #f8f9fa;
  border-left: 4px solid var(--primary);
  padding: 2.5rem;
  margin: 4rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
}

/* Reverse Flex Column on Mobile utility */
@media (max-width: 968px) {
  .reverse-on-mobile {
    flex-direction: column-reverse !important;
  }
}

/* Service/Industry Pages Styles */
.service-hero {
  padding: 8rem 0 4rem;
  background: var(--bg);
  background-size: cover;
  background-position: top center;
  position: relative;
}

.service-hero .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-hero .hero-content {
  max-width: 700px;
}

.hero-nav-section {
  padding: 10rem 0 6rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-columns-vertical {
  display: flex;
  flex-direction: column;
}

.nav-column h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list li {
  margin-bottom: 0.75rem;
}

.nav-list a {
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav-list a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.service-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.service-section:nth-child(even) {
  background: var(--surface);
}

.service-flex {
  display: flex;
  align-items: center;
  gap: 6rem;
}

.service-flex.reverse {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1.2;
}

.service-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(230, 92, 0, 0.1);
  color: var(--primary);
  border: 1px solid rgba(230, 92, 0, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.service-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.service-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.workflow-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.workflow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--primary);
}
.workflow-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.workflow-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.methodology-section {
  background: var(--surface);
  padding: 8rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.methodology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Journey Tracker Styles */
.journey-section {
  padding: 5rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.journey-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.journey-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 0;
}
.journey-step {
  padding: 2rem 2.5rem;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: white;
  position: relative;
  transition: all 0.3s ease;
}
.journey-step.active {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.12);
}
.journey-step.inactive {
  opacity: 0.5;
}
.journey-step-number {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.journey-step.active .journey-step-number {
  color: var(--primary);
}
.journey-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}
.journey-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.journey-step.active .journey-step-title {
  color: var(--text);
}
.journey-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
}
.journey-arrow svg {
  color: var(--border);
}
.journey-active-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.journey-active-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  display: block;
}

/* Roadmap Styles */
.roadmap-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.roadmap-line {
  position: absolute;
  top: 5.4rem;
  left: 60px;
  right: 60px;
  height: 8px;
  background: var(--surface);
  border-radius: 4px;
  z-index: 1;
  transform: translateY(-50%);
}
.roadmap-progress {
  position: absolute;
  top: 5.4rem;
  left: 60px;
  width: 0%;
  height: 8px;
  background: var(--primary);
  border-radius: 4px;
  z-index: 2;
  transform: translateY(-50%);
}
.milestones {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}
.milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}
.milestone-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.milestone-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  z-index: 4;
}
.milestone.active .milestone-label {
  color: var(--text);
}
.milestone.active .milestone-circle {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.15);
}

/* Pillars Grid Styles */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* Service Page Media Queries */
@media (max-width: 968px) {
  /* Editorial Insight Specific Mobile Styles */
  .news-hero {
    padding: 8rem 1.5rem 0 !important;
  }
  .news-hero h1 {
    font-size: 2.2rem !important;
    line-height: 1.2;
    margin-bottom: 1.5rem !important;
  }
  .news-hero .lead {
    margin-bottom: 2rem !important;
    font-size: 1rem !important;
  }
  .editorial-content {
    padding: 4rem 1.5rem !important;
    font-size: 1.1rem !important;
  }

  /* Contact Hero Specific Mobile Styles */
  .contact-hero {
    min-height: auto !important;
    padding-top: 6rem !important;
    padding-bottom: 4rem !important;
  }
  .contact-hero .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    text-align: center;
    gap: 2rem;
  }
  .contact-hero .hero-content {
    text-align: center;
  }
  .contact-hero .contact-form-wrapper {
    width: 100%;
    order: 2;
  }
  .contact-hero .contact-info {
    text-align: left !important;
    margin-top: 2rem !important;
    order: 3;
  }
  .contact-hero h1 {
    font-size: 2.5rem !important;
  }

  /* Legal Hero Specific Mobile Styles */
  .legal-hero {
    min-height: auto !important;
    padding-top: 6rem !important;
    padding-bottom: 4rem !important;
  }
  .legal-hero .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    text-align: center;
    gap: 2rem;
  }
  .legal-hero .hero-content {
    text-align: center;
  }
  .legal-hero h1 {
    font-size: 2.5rem !important;
  }
  .legal-hero .toc-wrapper {
    width: 100%;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-hero .hero-grid,
  .hero-nav-section .hero-grid {
    display: flex !important;
    flex-direction: column;
    text-align: left;
    gap: 3rem;
  }

  .service-hero .hero-grid > div:first-child,
  .hero-nav-section .hero-grid > div:first-child {
    text-align: center;
  }
  
  .hero-nav-section {
    padding: 8rem 0 4rem;
  }
  
  .nav-columns-vertical {
    margin-top: 0 !important;
    text-align: left;
    margin-left: -2rem; /* Pull back to the left edge of the page */
    padding-left: 0.5rem; /* Minimal buffer for the left edge */
  }
  
  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: left;
  }

  .service-flex {
    flex-direction: column !important;
    gap: 3rem;
    text-align: left;
  }

  .service-image {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .service-content h2 {
    font-size: 2.2rem;
  }

  .service-tag {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.8rem !important;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .deliverables-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }
  .journey-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
  }
  .journey-label {
    text-align: left;
  }
  .journey-step {
    padding: 1.5rem;
  }
  .journey-arrow {
    transform: rotate(90deg);
    padding: 1rem 0;
  }
  .roadmap-container {
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
  }
  .roadmap-container::-webkit-scrollbar {
    display: none;
  }
  .milestones {
    min-width: 600px;
  }
  .roadmap-line {
    min-width: 480px;
  }
  .roadmap-progress {
    min-width: 0;
  }
}
