/* ============================================================
   Beyond Borders Representation — Main Stylesheet
   Fonts: Poppins (headings) + Inter (body)
   Brand: #C8102E (red) · #8B0000 (dark red) · #FFFFFF
   ============================================================ */

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  --red: #c8102e;
  --red-dark: #8b0000;
  --red-light: #ff4d6d;
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.18);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 80px;

  --container: 1400px;
  --section-py: 140px;

  /* Modern Tokens */
  --title-xl: clamp(2.2rem, 5vw, 4rem);
  --title-huge: clamp(3.2rem, 8vw, 6.5rem);
  --glass: blur(15px) saturate(180%);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}
h4 {
  font-size: 1.125rem;
}
p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section-py {
  padding-block: var(--section-py);
}
.text-center {
  text-align: center;
}
.text-red {
  color: var(--red);
}
.bg-red {
  background: var(--red);
  color: var(--white);
}
.bg-gray {
  background: var(--gray-50);
}
.d-flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── Section Heading ────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-title {
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.title-underline {
  display: inline-block;
  position: relative;
}
.title-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: var(--radius-full);
}
.text-center .title-underline::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--red);
  transform: translateY(-2px);
}
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

/* ── Premium Scroll Animations ──────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(10px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.fade-in-delay-1 { transition-delay: 0.15s; }
.fade-in-delay-2 { transition-delay: 0.3s; }
.fade-in-delay-3 { transition-delay: 0.45s; }
.fade-in-delay-4 { transition-delay: 0.6s; }

/* ══════════════════════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 20px 0;
  background: rgba(10, 10, 10, 0.4); /* Transparent starting point */
  backdrop-filter: blur(15px) saturate(1.8);
  -webkit-backdrop-filter: blur(15px) saturate(1.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  padding: 14px 0;
  border-bottom-color: rgba(200, 16, 46, 0.3);
}

/* ── Typography Enhancements ─── */
.hero-title {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-title span {
  display: block;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 600px;
}
.header-inner {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header-logo {
  display: flex;
  align-items: center;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}
.logo-accent {
  color: var(--red);
}
.header-logo img {
  height: 48px;
  width: auto;
}

/* Nav links */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.nav-link.nav-cta::after {
  display: none;
}
.nav-link.nav-cta:hover {
  background: var(--red-dark);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1010;
}
.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.97);
  padding: 100px 2rem 2rem;
  transform: translateY(-105%);
  transition: transform var(--transition);
  z-index: 999;
  border-bottom: 2px solid var(--red);
}
.mobile-nav.open {
  transform: translateY(0);
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(200, 16, 46, 0.15);
  color: var(--white);
}
.mobile-nav-link i {
  color: var(--red);
  width: 20px;
}

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════════ */
.hero.split-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-split-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-left: clamp(1rem, 5vw, 4rem);
}
.hero-text-side {
  width: 45%;
  padding-right: 4rem;
  padding-top: calc(70px + 6rem);
  padding-bottom: 6rem;
  position: relative;
  z-index: 3;
}
.hero-image-side {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 60%;
  z-index: 1;
  /* Stylish slanted clip path for premium feel */
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-parallax-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
/* Add a stylish glass edge overlapping the cut */
.hero-image-side::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 15%);
  z-index: 10;
  pointer-events: none;
}
.parallax-bg {
  position: absolute;
  top: -25%;
  left: -10%;
  right: -10%;
  bottom: -25%;
  background-size: cover;
  background-position: center;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
  transition:
    background var(--transition),
    transform var(--transition);
}
.slider-dot.active {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.3);
}
video.parallax-bg {
  width: 120%;
  height: 150%;
  object-fit: cover;
}
.hero-img-decorator {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 1;
}
.dec-1 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -50px;
  background: rgba(200, 16, 46, 0.3);
}
.dec-2 {
  width: 250px;
  height: 250px;
  bottom: -50px;
  left: -50px;
  background: rgba(139, 0, 0, 0.5);
}

@media (max-width: 900px) {
  .hero-split-container {
    flex-direction: column;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-text-side {
    width: 100%;
    padding-right: 0;
    padding-top: calc(70px + 3rem);
    padding-bottom: 3rem;
  }
  .hero-image-side {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 400px;
    margin-top: 2rem;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  }
  .hero-image-side::after {
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 15%);
  }
  .hero-parallax-wrapper {
    border-radius: var(--radius-lg);
    border-left: none;
  }
  .hero-ctas {
    justify-content: center;
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 16, 46, 0.15);
  border: 1px solid rgba(200, 16, 46, 0.4);
  color: var(--red-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge i {
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
#typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--red);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 0.7s step-end infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Floating stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
}
.hero-stat {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat:last-child {
  border-right: none;
}

@media (max-width: 1399px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
  }
  .hero-stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-stat:nth-child(even) {
    border-right: none;
  }
  .hero-stat:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}
.hero-stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--red-light);
  line-height: 1.1;
}
.hero-stat-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT STRIP (3-column)
══════════════════════════════════════════════════════════════ */
.about-strip {
  padding-block: var(--section-py);
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.about-card {
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  border-top: 4px solid transparent;
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--red);
}
.about-icon {
  width: 72px;
  height: 72px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--white);
  transition: transform var(--transition);
}
.about-card:hover .about-icon {
  transform: scale(1.08) rotate(-5deg);
}
.about-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

/* ══════════════════════════════════════════════════════════════
   WHY INDIA TEASER
══════════════════════════════════════════════════════════════ */
.why-india-teaser {
  background: var(--red);
  color: var(--white);
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
}
.why-india-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.why-india-inner {
  position: relative;
  z-index: 1;
}
.why-india-teaser .section-label {
  color: rgba(255, 255, 255, 0.65);
}
.why-india-teaser .section-title {
  color: var(--white);
}
.why-india-teaser .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}
.why-india-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
.wi-stat {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background var(--transition);
}
.wi-stat:hover {
  background: rgba(255, 255, 255, 0.13);
}
.wi-stat-value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  display: block;
}
.wi-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.5rem;
  display: block;
}
.buyer-segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.segment-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}
.segment-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}
.segment-badge i {
  font-size: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES PREVIEW CARDS
══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.service-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}
.service-card-inner {
  padding: 3rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.service-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  flex: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--red);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 1.25rem;
  transition: gap var(--transition);
  font-family: var(--font-head);
}
.service-card-link:hover {
  gap: 0.75rem;
}

/* ══════════════════════════════════════════════════════════════
   MARKET INTELLIGENCE HIGHLIGHT
══════════════════════════════════════════════════════════════ */
.mi-highlight {
  background: var(--gray-50);
  padding-block: var(--section-py);
}
.mi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mi-card-content {
  padding: 3rem;
}
.mi-region-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.mi-stat-highlight {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}
.mi-stat-highlight .stat-value {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}
.mi-stat-highlight .stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.mi-card-visual {
  background: linear-gradient(160deg, var(--red-dark), var(--black));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 320px;
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS SLIDER
══════════════════════════════════════════════════════════════ */
.testimonials-section {
  padding-block: var(--section-py);
  overflow: hidden;
}
.testimonials-slider-wrap {
  position: relative;
}
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
}
.testimonial-quote {
  font-size: 3rem;
  color: var(--red);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.3;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.testimonial-text {
  color: var(--gray-700);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-200);
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT STRIP
══════════════════════════════════════════════════════════════ */
.contact-strip {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  padding-block: 5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-strip::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}
.contact-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.contact-strip h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.contact-strip p {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Mini Contact Form ─── */
.mini-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
}
.form-input,
.form-textarea,
.form-select {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.9375rem;
  transition:
    border-color var(--transition),
    background var(--transition);
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO BANNER (inner pages)
══════════════════════════════════════════════════════════════ */
.page-hero {
  padding-top: calc(var(--header-h) + 5rem);
  padding-bottom: 5rem;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(139, 0, 0, 0.4) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4);
}

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════════ */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.feature-card-icon {
  width: 56px;
  height: 56px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--red);
  margin-bottom: 1.25rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.feature-card:hover .feature-card-icon {
  background: var(--red);
  color: var(--white);
}
.feature-card h3 {
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
}
.feature-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray-200);
  overflow: hidden;
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo img {
  transform: scale(1.06);
}
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  color: var(--gray-500);
  font-size: 3rem;
}
.team-info {
  padding: 1.25rem 1rem;
}
.team-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Team Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-box {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-700);
  transition: var(--transition);
}
.modal-close:hover {
  background: var(--red);
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════════════════════════════ */
.filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
@media (min-width: 769px) {
  .filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    padding-bottom: 0;
  }
}
.filter-tab {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-200);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: var(--transition);
  cursor: pointer;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.service-accordion-detail {
  display: none;
  border-top: 1px solid var(--gray-200);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}
.service-accordion-detail.open {
  display: block;
}
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}
.benefit-item::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   MARKET INTELLIGENCE PAGE
══════════════════════════════════════════════════════════════ */
.mi-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.mi-insight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.mi-insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.mi-card-header {
  padding: 1.75rem 1.75rem 0;
}
.mi-card-body {
  padding: 1rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mi-date {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}
.mi-insight-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.mi-insight-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
  flex: 1;
}
.mi-key-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.875rem;
  margin-top: 1rem;
  font-size: 0.8rem;
}
.mi-key-stat-badge strong {
  color: var(--red);
  font-family: var(--font-head);
  font-size: 1rem;
}

/* Chart canvas */
.chart-container {
  margin-top: 1.5rem;
  height: 200px;
  width: 100%;
}

/* Modal for MI */
.mi-modal-body {
  max-width: 750px;
}
.mi-modal-body .chart-container {
  height: 280px;
}

/* ══════════════════════════════════════════════════════════════
   WHY INDIA PAGE
══════════════════════════════════════════════════════════════ */
.india-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.india-stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
  transition: var(--transition);
}
.india-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.india-stat-value {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  display: block;
}
.india-stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.city-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.city-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.city-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  position: relative;
  overflow: hidden;
}
.city-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.city-name {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}
.city-card-body {
  padding: 1.25rem;
}
.city-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.industry-tag {
  padding: 0.2rem 0.65rem;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-700);
}
.city-profile {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Growth sectors */
.growth-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.growth-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.growth-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.growth-icon {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 0.75rem;
  display: block;
}
.growth-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.growth-stat {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--red);
  font-size: 0.85rem;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h2 {
  margin-bottom: 2rem;
}
.contact-info-wrap {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.contact-info-card {
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}
.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(200, 16, 46, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  flex-shrink: 0;
}
.contact-detail-text {
  font-size: 0.9rem;
}
.contact-detail-text strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.contact-detail-text a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}
.contact-detail-text a:hover {
  color: var(--red-light);
}

/* Main contact form */
.main-form .form-input,
.main-form .form-textarea,
.main-form .form-select {
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-900);
  border-radius: var(--radius-sm);
}
.main-form .form-label {
  color: var(--gray-700);
}
.main-form .form-input::placeholder,
.main-form .form-textarea::placeholder {
  color: var(--gray-300);
}
.main-form .form-input:focus,
.main-form .form-textarea:focus,
.main-form .form-select:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}
.main-form .form-select option {
  color: var(--gray-900);
  background: var(--white);
}
.form-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-error-msg {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  display: none;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.75);
}
.footer-top {
  padding-block: 5rem 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand .logo-text {
  font-size: 1.5rem;
  color: var(--white);
}
.footer-tagline {
  color: var(--red-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.5rem 0 1rem;
  font-family: var(--font-head);
}
.footer-about {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-heading {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--red-light);
  transform: translateX(4px);
}
.footer-links i {
  font-size: 0.65rem;
  color: var(--red);
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.footer-contact-list i {
  color: var(--red);
  margin-top: 3px;
  width: 14px;
  flex-shrink: 0;
}
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}
.footer-contact-list a:hover {
  color: var(--red-light);
}
.footer-cta {
  width: 100%;
  justify-content: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.5rem;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}
.footer-bottom-links a:hover {
  color: var(--red-light);
}

/* ══════════════════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════════════
   ALERT / NOTIFICATION TOAST
══════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gray-900);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  transition: transform 0.4s ease;
  border-left: 4px solid var(--red);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — 768px
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-py: 80px;
  }

  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .hero-stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  .hero-stat:last-child {
    border-bottom: none !important;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .about-cards,
  .why-india-stats,
  .services-grid,
  .feature-cards,
  .city-cards-grid {
    grid-template-columns: 1fr;
  }

  .buyer-segments {
    grid-template-columns: repeat(2, 1fr);
  }

  .mi-card {
    grid-template-columns: 1fr;
  }
  .mi-card-visual {
    min-height: 200px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .contact-strip-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-info-wrap {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .india-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .growth-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mi-cards-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .mi-actions {
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — 480px
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root {
    --section-py: 40px;
  }

  .buyer-segments {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .india-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .growth-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }
  .back-to-top {
    bottom: 5rem;
    right: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   ACCESSIBILITY & UTILITY EXTRAS
══════════════════════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Rich text prose */
.prose h2,
.prose h3,
.prose h4 {
  margin-bottom: 0.75rem;
}
.prose p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}
.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose ul li {
  margin-bottom: 0.4rem;
  color: var(--gray-700);
}
.prose strong {
  color: var(--gray-900);
}
.prose a {
  color: var(--red);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════
   HOME PAGE: PREMIUM MODERN SECTIONS
══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   RE-DESIGNED MODERN INDEX PAGE
══════════════════════════════════════════════════════════════ */

.text-red { color: var(--red); }
.bg-dark { background-color: var(--black); }
.text-white { color: var(--white); }
.mt-5 { margin-top: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* ── Hero Modern ── */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.4) 100%);
  z-index: 5;
}
.hero-modern-content {
  position: relative;
  z-index: 10;
  width: 100%;
}
.hero-glass-card {
  max-width: 760px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: var(--glass);
  padding: 4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.hero-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red-light);
  margin-bottom: 2rem;
}
.badge-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.hero-main-title {
  font-size: var(--title-xl);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  font-weight: 800;
}
.hero-main-title small { font-size: 0.45em; display: block; color: rgba(255,255,255,0.6); font-weight: 400; margin-top: 0.5rem; }
.hero-main-sub {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  max-width: 550px;
  margin-bottom: 3rem;
  font-weight: 300;
}
.hero-main-ctas { display: flex; gap: 1.5rem; }
.btn-glass { 
  background: rgba(255,255,255,0.1); 
  border: 1px solid rgba(255,255,255,0.2); 
  color: #fff; 
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-weight: 600;
  transition: var(--transition);
}
.btn-glass:hover { background: #fff; color: var(--red); }

.hero-bottom-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 3rem;
  z-index: 15;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hero-stats-row { display: flex; gap: 3rem; }
.hero-mini-stat { display: flex; flex-direction: column; }
.mini-stat-val { font-size: 1.5rem; font-weight: 800; color: #fff; }
.mini-stat-lab { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }

.modern-dots { display: flex; gap: 1rem; }
.m-dot { 
  width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.2); 
  border: none; cursor: pointer; transition: 0.3s;
}
.m-dot.active { background: var(--red); width: 60px; }

/* ── Brand Essence ── */
.essence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem;
  align-items: center;
}
.section-title-xl {
  font-size: var(--title-xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--gray-900);
}
.essence-desc { font-size: 1.2rem; color: var(--gray-500); margin-bottom: 3rem; }
.essence-features { display: grid; gap: 2rem; margin-bottom: 3rem; }
.essence-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.essence-item i { font-size: 1.5rem; color: var(--red); margin-top: 0.2rem; }
.essence-item h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.essence-item p { font-size: 0.95rem; color: var(--gray-500); }

.visual-stack { position: relative; padding-bottom: 100%; }
.stack-img-1 { position: absolute; width: 85%; height: 70%; object-fit: cover; border-radius: var(--radius-lg); top: 0; right: 0; box-shadow: var(--shadow-xl); }
.stack-img-2 { position: absolute; width: 60%; height: 50%; object-fit: cover; border-radius: var(--radius-lg); bottom: 0; left: 0; box-shadow: var(--shadow-xl); border: 8px solid #fff; }
.stack-exp-box { 
  position: absolute; top: 10%; left: -5%; 
  background: var(--red); color: #fff; padding: 2.5rem; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-xl);
}
.stack-exp-box span { font-size: 2.5rem; font-weight: 800; }
.stack-exp-box p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; text-align: center; font-weight: 600; margin-top: 0.5rem; }

/* ── Why India Modern ── */
.why-india-modern { border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: -4rem; position: relative; z-index: 20; }
.split-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 4rem; }
.title-huge { font-size: var(--title-huge); line-height: 1.15; font-weight: 800; color: #fff; margin-top: 1rem; }
.header-p { max-width: 440px; font-size: 1.25rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }

.why-india-grid-modern { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.wi-card-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 450px; }
.wi-card-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s; }
.wi-card-main:hover .wi-card-img { transform: scale(1.1); }
.wi-card-content { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 3rem; }
.wi-huge-val { font-size: 6rem; font-weight: 800; line-height: 1; color: #fff; }
.wi-card-content p { color: rgba(255,255,255,0.6); font-size: 1.1rem; }

.wi-card-sub { display: flex; flex-direction: column; gap: 2rem; }
.wi-mini-box { background: var(--gray-800); padding: 3rem; border-radius: var(--radius-lg); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.wi-mini-box.bg-red { background: var(--red); color: #fff; }
.wi-mini-val { font-size: 3rem; font-weight: 800; margin-bottom: 0.5rem; }

.wi-card-segments { background: var(--white); color: var(--gray-900); padding: 3rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.wi-card-segments h3 { margin-bottom: 2rem; }
.modern-segments { display: flex; flex-direction: column; gap: 1rem; }
.m-segment { padding-bottom: 1rem; border-bottom: 1px solid var(--gray-200); font-weight: 700; display: flex; justify-content: space-between; }
.m-segment::after { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--red); }

/* ── Services Scroll ── */
.services-modern-scroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.svc-modern-card { 
  background: #fff; padding: 3.5rem; border-radius: var(--radius-lg); 
  border: 1px solid var(--gray-200); transition: var(--transition);
  display: flex; flex-direction: column; gap: 2rem;
}
.svc-modern-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--red); }
.svc-icon { width: 64px; height: 64px; background: var(--gray-100); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--red); transition: 0.3s; }
.svc-modern-card:hover .svc-icon { background: var(--red); color: #fff; }
.svc-cat { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--gray-500); }
.svc-modern-card h3 { font-size: 1.4rem; line-height: 1.3; }
.svc-modern-card p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.6; }
.svc-link { font-weight: 800; font-size: 0.9rem; color: var(--red); display: inline-flex; align-items: center; gap: 0.5rem; }

/* ── Market Intelligence Modern ── */
.mi-modern-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.mi-modern-card-wrap { position: relative; }
.mi-floating-card { 
  position: relative; z-index: 5; background: #fff; padding: 4rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200);
}
.mi-floating-header { display: flex; justify-content: space-between; margin-bottom: 2rem; border-bottom: 1px solid var(--gray-100); padding-bottom: 1.5rem; }
.mi-badge { background: var(--red); color: #fff; padding: 0.4rem 1rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; }
.mi-date { color: var(--gray-500); font-size: 0.85rem; }
.mi-floating-card h3 { font-size: 1.8rem; margin-bottom: 1.5rem; line-height: 1.3; }
.mi-floating-stat { margin-top: 2.5rem; padding: 2rem; background: var(--gray-50); border-radius: var(--radius-md); display: flex; justify-content: space-between; align-items: center; }
.fs-val { font-size: 2rem; font-weight: 800; color: var(--red); }
.fs-lab { font-size: 0.875rem; color: var(--gray-500); font-weight: 600; text-align: right; }
.mi-bg-blob { position: absolute; top: -10%; right: -10%; width: 120%; height: 120%; background: radial-gradient(circle, rgba(200,16,46,0.05) 0%, transparent 70%); z-index: 1; }

/* ── Testimonials Modern ── */
.tm-modern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.tm-modern-card { background: rgba(255,255,255,0.05); padding: 3rem; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); }
.tm-top { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.tm-stars { color: var(--red-light); letter-spacing: 2px; }
.quote-ic { color: rgba(255,255,255,0.2); font-size: 2rem; }
.tm-txt { font-size: 1.1rem; line-height: 1.7; font-style: italic; margin-bottom: 2.5rem; color: rgba(255,255,255,0.8); }
.tm-user { display: flex; gap: 1rem; align-items: center; }
.tm-avatar { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: var(--red); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.tm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tm-name { font-weight: 800; margin-bottom: 0.1rem; }
.tm-role { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }

/* ── Final CTA ── */
.footer-cta-modern { padding: 80px 0; background: #fff; }
.cta-modern-box { 
  background: var(--black); color: #fff; border-radius: var(--radius-lg); 
  display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-modern-content { padding: 6rem; display: flex; flex-direction: column; justify-content: center; }
.cta-modern-content h2 { font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; }
.cta-modern-content p { font-size: 1.2rem; color: rgba(255,255,255,0.6); margin-bottom: 3rem; }
.cta-modern-visual { position: relative; background: radial-gradient(circle, rgba(200,16,46,0.2) 0%, transparent 70%); }
.cta-map { position: absolute; width: 150%; right: -25%; top: 50%; transform: translateY(-50%); opacity: 0.4; pointer-events: none; }

/* Helpers for dark sections */
.bg-dark .section-label { color: var(--red-light); }
.bg-dark .section-title-xl { color: #fff; }
.bg-dark .essence-desc { color: rgba(255,255,255,0.7); }

/* Fix Voices of Success specifically if needed */
.testimonials-modern .section-title-xl { color: #fff !important; }

/* Remove pattern.svg broken background reference in why-india-bg-overlay if any */
.why-india-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.5) 70%); /* No pattern.svg */
  opacity: 0.8;
}
/* ── Typography Extras ── */
#typing-cursor { border-left: 2px solid var(--red); margin-left: 5px; animation: blink 1s step-end infinite; } 
@keyframes blink { from, to { border-color: transparent } 50% { border-color: var(--red) } }

/* ── RESPONSIVE OVERRIDES ────────────────────────────────────── */

/* --- Large Tablets / Small Desktops (1200px) --- */
@media (max-width: 1200px) {
  :root {
    --section-py: 100px;
  }
  .essence-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .essence-features {
    justify-content: center;
    text-align: left;
    max-width: 600px;
    margin-inline: auto;
  }
  .visual-stack {
    max-width: 500px;
    margin-inline: auto;
    padding-bottom: 70%;
  }
  .why-india-grid-modern {
    grid-template-columns: 1fr 1fr;
  }
  .wi-card-segments {
    grid-column: span 2;
  }
  .mi-modern-layout {
    gap: 4rem;
  }
}

/* --- Tablets (992px) --- */
@media (max-width: 992px) {
  .hero-modern {
    flex-direction: column;
    justify-content: center;
    padding-top: 80px; /* Header space */
    text-align: center;
  }
  .hero-modern-content {
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
  }
  .hero-glass-card {
    padding: 3rem;
    max-width: 100%;
    margin-inline: 1rem;
  }
  .hero-main-sub {
    margin-inline: auto;
  }
  .hero-main-ctas {
    justify-content: center;
  }
  .hero-bottom-info {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    padding: 2rem 0 4rem;
    background: transparent;
    margin-top: 0;
    width: 100%;
  }
  .hero-stats-row {
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .split-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .header-p {
    max-width: 100%;
  }
  .services-modern-scroll {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .mi-modern-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mi-floating-card {
    padding: 2.5rem;
  }
  .tm-modern-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .cta-modern-box {
    grid-template-columns: 1fr;
  }
  .cta-modern-content {
    padding: 4rem 2rem;
    text-align: center;
  }
  .cta-modern-visual {
    display: none;
  }
}

/* --- Mobile Landscape / Large Phones (768px) --- */
@media (max-width: 768px) {
  :root {
    --section-py: 80px;
  }
  .hero-main-title {
    font-size: 2.8rem;
  }
  .title-huge {
    font-size: 3.5rem;
  }
  .wi-huge-val {
    font-size: 4.5rem;
  }
  .essence-desc {
    font-size: 1.1rem;
  }
}

/* --- Small Phones (480px) --- */
@media (max-width: 480px) {
  .hero-main-title {
    font-size: 2.2rem;
  }
  .hero-main-title small {
    font-size: 0.5rem;
  }
  .hero-glass-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
  }
  .hero-main-ctas {
    flex-direction: column;
    gap: 1rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .why-india-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .wi-card-segments, .wi-card-main {
    grid-column: auto;
  }
  .wi-card-main {
    height: 350px;
  }
  .wi-huge-val {
    font-size: 3.5rem;
  }
  .services-modern-scroll, .tm-modern-grid {
    grid-template-columns: 1fr;
  }
  .svc-modern-card, .tm-modern-card {
    padding: 2rem;
  }
  .section-title-xl {
    font-size: 2rem;
  }
  .title-huge {
    font-size: 2.5rem;
  }
  .stack-exp-box {
    padding: 1.5rem;
    left: 0;
  }
}

/* --- Final Polish: Global Overflow Fix --- */
body {
  overflow-x: hidden;
  width: 100%;
}
.container {
  overflow: hidden; /* Prevent child elements from leaking */
}
