/* ==========================================================================
   financeWealth - Global CSS (Vanilla CSS3)
   Domain: financewealthvistal.org
   Palette: Deep Navy, Emerald Green, Gold Accent, Off-White
   Typography: System fonts only
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --navy-dark: #0B192C;
  --navy-surface: #0F2038;
  --navy-card: #142744;
  --navy-elevated: #1D3557;
  --emerald-primary: #059669;
  --emerald-light: #10B981;
  --emerald-dark: #047857;
  --emerald-soft: rgba(5, 150, 105, 0.12);
  --gold-primary: #D4AF37;
  --gold-light: #F59E0B;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --off-white: #F8FAFC;
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  
  /* Semantic Tokens */
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-inverse: #FFFFFF;
  --border-color: #E2E8F0;
  --border-card: #CBD5E1;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 8px 24px rgba(11, 25, 44, 0.06);

  /* Geometry & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --nav-height: 72px;
  --nav-height-scrolled: 62px;
  
  /* System Typography */
  --font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--off-white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--off-white);
}

/* Strict Container Spacing - No element touches screen edges on mobile */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2rem);
  padding-right: clamp(1rem, 3.5vw, 2rem);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

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

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

/* Strict Face Visibility for All Human Photos */
img.human-photo,
.card-photo-wrapper img,
.team-card img,
.testimonial-avatar img,
.author-avatar img {
  object-fit: cover;
  object-position: center 20%;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--emerald-primary);
  outline-offset: 3px;
}

/* ==========================================================================
   Brand Logo
   "finance" in light weight, "Wealth" in bold gold/accent
   ========================================================================== */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  text-decoration: none;
  color: var(--navy-dark);
  letter-spacing: -0.03em;
  user-select: none;
}

.brand-logo.brand-light {
  color: var(--white);
}

.brand-finance {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.brand-wealth {
  font-weight: 800;
  color: var(--gold-light);
}

/* ==========================================================================
   Header & Sticky Navigation
   Contract:
   - Sticky top at all screen sizes
   - Hamburger placed BEFORE brand logo on mobile (<900px)
   - 5 Nav links visible on desktop
   - Header gets shadow and shrinks slightly on scroll
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: height 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  transition: height 0.25s ease;
}

.site-header.scrolled .header-container {
  height: var(--nav-height-scrolled);
}

/* Left cluster: hamburger (mobile) + brand */
.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger button: absolute top-left placed before brand logo */
.hamburger-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  color: var(--navy-dark);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hamburger-btn:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-300);
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--navy-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Active hamburger animation (turns to X) */
.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-700);
  padding: 0.5rem 0.25rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--navy-dark);
}

.nav-link.active {
  color: var(--emerald-primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--emerald-primary);
  border-radius: 2px;
}

/* Header Right CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.4rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--emerald-primary);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.btn-primary:hover {
  background-color: var(--emerald-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(5, 150, 105, 0.25);
}

.btn-secondary {
  background-color: var(--navy-dark);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--navy-elevated);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-card);
  color: var(--navy-dark);
}

.btn-outline:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-400);
}

.btn-gold {
  background-color: var(--gold-light);
  color: var(--navy-dark);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: var(--gold-primary);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 38px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Mobile Navigation Drawer (Below 900px)
   Smooth slide-down animation
   ========================================================================== */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.mobile-nav-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--slate-800);
  font-size: 1.05rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--emerald-soft);
  color: var(--emerald-primary);
}

.mobile-nav-cta {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ==========================================================================
   CARD ARCHITECTURE (Prompt Requirements 1, 3, 4)
   - Small square content boxes wrapped in visible border
   - Circular photo/icon positioned top-center
   - Content and text left-aligned
   - Mobile: 2 per row for minimal content, horizontal scroll for richer cards
   ========================================================================== */
.card-box {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left aligned content */
  text-align: left;        /* All text left aligned */
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-primary);
}

/* Circular photo / icon top-center inside cards */
.card-photo-top {
  width: 100% !important;
  height: 140px !important;       /* Rectangular height ke liye */
  border-radius: 8px !important;  /* Circle hatakar Square / Rounded corners ke liye */
  aspect-ratio: unset !important;
  margin: 0 auto 1.25rem auto;
  display: block;
  overflow: hidden;
  border: 2px solid var(--off-white);
  box-shadow: 0 4px 10px rgba(11, 25, 44, 0.08);
  flex-shrink: 0;
  position: relative;
}

.card-photo-top img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}
/* Card titles, badges, and text (Left Aligned) */
.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
  text-align: left;
  width: 100%;
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--emerald-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-align: left;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  text-align: left;
  width: 100%;
}

.card-features {
  list-style: none;
  margin-bottom: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.card-feature-item svg {
  flex-shrink: 0;
  color: var(--emerald-primary);
}

.card-action {
  margin-top: auto;
  width: 100%;
  text-align: left;
}

/* Minimal Stat / Metric Content Box (Small Square Box) */
.stat-box {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: 130px;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-box:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-2px);
}

.stat-number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.1;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.stat-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Desktop vs Mobile Layout Rules:
   - Desktop: Horizontal row / grid layout
   - Mobile: 2 per row for minimal content cards
   - Mobile: Horizontal scroll container for richer cards
   ========================================================================== */
.card-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

/* Horizontal scroll container for richer cards on mobile */
.horizontal-scroll-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

/* ==========================================================================
   HERO SECTION (index.html)
   Floating wealth collage, mouse parallax, looping growth reveal,
   falling dollar-coin particles, staggered word-by-word fade up
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #152A47 0%, var(--navy-dark) 70%);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
}

.hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: left;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

/* Staggered word animation spans */
.hero-headline .word-anim {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: wordFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-description {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--slate-300);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Stats counter row on hero */
.hero-counters-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
}

.hero-counter-item {
  text-align: left;
}

.hero-counter-num {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero-counter-label {
  font-size: 0.8rem;
  color: var(--slate-300);
  font-weight: 500;
}

/* Floating Wealth Collage (Right Column) */
.hero-collage-stage {
  position: relative;
  width: 100%;
  height: 480px;
  perspective: 1000px;
}

/* Glass-bordered floating card base */
.floating-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 39, 68, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* Card 1: Main Looping Growth Reveal (Centerpiece) */
.card-main-reveal {
  width: 290px;
  height: 330px;
  top: 70px;
  left: 70px;
  z-index: 3;
  animation: floatSlow 6s ease-in-out infinite alternate;
}

.growth-reveal-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.reveal-img-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-out;
}

.reveal-img-slide.active {
  opacity: 1;
  transform: scale(1.03);
}

/* SVG Growth Line Overlay over cycler */
.growth-svg-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 70px;
  z-index: 5;
  pointer-events: none;
}

.growth-path-anim {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawStroke 4s ease-in-out infinite;
}

/* Card 2: Coin Increasing (Top Right) */
.card-float-top {
  width: 155px;
  height: 145px;
  top: 10px;
  right: 25px;
  z-index: 4;
  animation: floatMedium 5s ease-in-out infinite alternate;
}

/* Card 3: Laptop Bar Graph (Bottom Right) */
.card-float-right {
  width: 175px;
  height: 155px;
  bottom: 20px;
  right: 15px;
  z-index: 4;
  animation: floatFast 7s ease-in-out infinite alternate;
}

/* Card 4: Dollar Coin Badge (Top Left) */
.card-float-left {
  width: 130px;
  height: 130px;
  top: 15px;
  left: 0px;
  z-index: 2;
  border-radius: 50%;
  animation: floatFast 6.5s ease-in-out infinite alternate-reverse;
}

/* Card 5: Buildings Skyline (Bottom Left) */
.card-float-bottom {
  width: 150px;
  height: 125px;
  bottom: 15px;
  left: 15px;
  z-index: 4;
  animation: floatMedium 5.5s ease-in-out infinite alternate-reverse;
}

/* Floating Card Keyframes */
@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(1.5deg); }
}

@keyframes floatMedium {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(-2deg); }
}

@keyframes floatFast {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-24px) rotate(2.5deg); }
}

@keyframes drawStroke {
  0% { stroke-dashoffset: 400; }
  50% { stroke-dashoffset: 0; }
  90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -400; }
}

@keyframes wordFadeUp {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Section Layouts & General Components
   ========================================================================== */
.section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

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

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

.section-header {
  text-align: left;
  max-width: 680px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-primary);
  margin-bottom: 0.5rem;
}

.section-navy .section-kicker {
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

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

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-navy .section-lead {
  color: var(--slate-300);
}

/* Why Choose Us Split */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
}

.feature-box {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-box:hover {
  transform: translateX(4px);
  border-color: var(--emerald-primary);
}

.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text-wrap {
  text-align: left;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
}

/* Testimonial & Team Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--slate-700);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: left;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-surface) 60%, var(--emerald-dark) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-dark);
}

.cta-content {
  text-align: left;
  max-width: 650px;
}

.cta-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-desc {
  color: var(--slate-200);
  font-size: 1rem;
}

/* ==========================================================================
   Accordion FAQ (Services & FAQ)
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: var(--emerald-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--slate-600);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--emerald-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.5rem;
}

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

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: left;
}

/* ==========================================================================
   Interactive Calculator (Services page)
   ========================================================================== */
.calc-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
}

.calc-range {
  width: 100%;
  accent-color: var(--emerald-primary);
  height: 6px;
  cursor: pointer;
}

.calc-results {
  background: var(--navy-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 0.75rem;
}

.calc-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   INSIGHTS FILTER (Insights page)
   Requirement:
   - Filter count check: If > 2, use dropdown; if <= 2, use tabs.
   - Dropdown responsive on laptop (hover/click) & mobile (touch-friendly).
   ========================================================================== */
.insights-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

/* Normal button tabs (Used when categories <= 2) */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tab-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border-card);
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab-btn.active,
.filter-tab-btn:hover {
  background: var(--emerald-primary);
  color: var(--white);
  border-color: var(--emerald-primary);
}

/* Responsive Dropdown Filter (Used when count > 2) */
.filter-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.filter-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border-card);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-dropdown-toggle:hover {
  border-color: var(--emerald-primary);
  box-shadow: var(--shadow-sm);
}

.filter-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}

.filter-dropdown-menu.show {
  display: flex;
}

.filter-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.filter-dropdown-item:hover,
.filter-dropdown-item.active {
  background-color: var(--emerald-soft);
  color: var(--emerald-primary);
  font-weight: 600;
}

/* Article Cards */
.article-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-primary);
}

.article-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--navy-dark);
}

.article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-img-wrap img {
  transform: scale(1.05);
}

.article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex-grow: 1;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.3;
  margin-bottom: 0.6rem;
  text-align: left;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  text-align: left;
}

/* ==========================================================================
   TIMELINE (About page)
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border-card);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  width: 50%;
  padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: left;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 15px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--emerald-primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--emerald-primary);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   CONTACT SECTION & FORMS (Contact page)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--slate-900);
  background-color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
  outline: none;
}

.form-error {
  font-size: 0.8rem;
  color: #DC2626;
  display: none;
}

.form-success-banner {
  display: none;
  background-color: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-success-banner.active {
  display: block;
}

/* Styled Office Block (NO Google Maps Embed) */
.office-info-card {
  background: var(--navy-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.office-architectural-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.office-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.office-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-300);
}

.office-info-item svg {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   FOOTER (Identical, simple, organized across all pages)
   ========================================================================== */
.site-footer {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--navy-surface);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 3rem;
  text-align: left;
}

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

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(2px);
}

.footer-disclaimer-box {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.footer-disclaimer-text {
  font-size: 0.8rem;
  color: var(--slate-400);
  line-height: 1.5;
  text-align: left;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--slate-400);
}

/* Back to top floating button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--emerald-primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  z-index: 900;
}

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

.back-to-top:hover {
  background-color: var(--emerald-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVENESS BREAKPOINTS
   320px, 480px, 768px, 900px, 1024px, 1440px
   Mobile Rule:
   1. Small/square minimal content cards: arrange 2 PER ROW
   2. Richer cards: horizontal scroll container
   3. Container padding prevents edge touching
   ========================================================================== */

/* Laptop & Desktop (900px and up) */
@media (min-width: 900px) {
  .hamburger-btn {
    display: none !important;
  }
  .mobile-nav-drawer {
    display: none !important;
  }
}

/* Below 900px: Tablet & Mobile Navigation */
@media (max-width: 899px) {
  .hamburger-btn {
    display: flex; /* Placed top-left before brand logo */
  }
  .nav-menu {
    display: none;
  }
  .header-right .btn-primary {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-collage-stage {
    height: 380px;
    margin: 1.5rem auto 0;
    max-width: 440px;
  }
  .card-main-reveal {
    width: 240px;
    height: 270px;
    top: 40px;
    left: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .calc-card {
    grid-template-columns: 1fr;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .card-grid-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-counters-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-line {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
    padding-right: 0;
  }
  .timeline-item .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }
}

/* Small Screens / Mobile (Under 640px)
   STRICT REQUIREMENT IMPLEMENTATION:
   - Minimal content cards: 2 per row
   - Richer cards: horizontal swipe/scroll container
   - Consistent left/right padding so nothing touches screen edge
   ========================================================================== */
@media (max-width: 640px) {
  /* Minimal content cards: arrange 2 per row (grid of pairs) */
  .grid-pairs-mobile,
  .hero-counters-row,
  .stat-grid-pairs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .stat-box {
    padding: 1rem 0.75rem;
    min-height: 110px;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  /* Richer cards (Services, Insights, Team): Horizontal scroll container */
  .horizontal-scroll-container,
  .services-scroll-mobile,
  .insights-scroll-mobile,
  .team-scroll-mobile {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding-bottom: 1rem !important;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--emerald-primary) var(--slate-200);
  }

  .horizontal-scroll-container::-webkit-scrollbar,
  .services-scroll-mobile::-webkit-scrollbar,
  .insights-scroll-mobile::-webkit-scrollbar,
  .team-scroll-mobile::-webkit-scrollbar {
    height: 5px;
  }

  .horizontal-scroll-container::-webkit-scrollbar-thumb,
  .services-scroll-mobile::-webkit-scrollbar-thumb,
  .insights-scroll-mobile::-webkit-scrollbar-thumb,
  .team-scroll-mobile::-webkit-scrollbar-thumb {
    background: var(--emerald-primary);
    border-radius: 4px;
  }

  .horizontal-scroll-container .card-box,
  .services-scroll-mobile .card-box,
  .insights-scroll-mobile .article-card,
  .team-scroll-mobile .team-card {
    flex: 0 0 82% !important;
    min-width: 260px !important;
    scroll-snap-align: start !important;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Extra small mobile (under 400px down to 320px) */
@media (max-width: 400px) {
  .hero-headline {
    font-size: 2rem;
  }
  .card-photo-top {
    width: 80px;
    height: 80px;
  }
  .stat-number {
    font-size: 1.25rem;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .floating-card {
    animation: none !important;
  }
  .word-anim {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* Image ko container ke size ke mutabiq strictly cover karne ke liye */
.floating-card img,
.floating-card-top img,
.floating-card-left img,
.floating-card-right img,
.floating-card-bottom img,
.floating-card-main-reveal img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Parent div container par overflow hidden aur proper sizing dene ke liye */
.floating-card,
[class*="floating-card"] {
  overflow: hidden !important;
  box-sizing: border-box !important;
}
/* Circular images aur unke containers ko square/rectangular shape me badalne ke liye */
.card-box img,
.service-card img,
.card-icon img,
.card-box .card-icon {
  border-radius: 8px !important; /* Rounded square corners */
  width: 100% !important;
  height: 140px !important;     /* Rectangular banner height */
  object-fit: cover !important;
}

/* Agar image ke aas-paas gol (circular) wrapper ya container hai toh use bhi square karein */
.card-box .card-icon,
.card-box .card-icon-container,
.card-box .icon-wrapper {
  border-radius: 8px !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  aspect-ratio: 16/9 !important; /* Rectangular look ke liye */
}
/* Circular images aur unke containers ko square/rectangular shape me badalne ke liye */
.card-box img,
.service-card img,
.card-icon img,
.card-box .card-icon {
  border-radius: 8px !important; /* Rounded square corners */
  width: 100% !important;
  height: 140px !important;     /* Rectangular banner height */
  object-fit: cover !important;
}

/* Agar image ke aas-paas gol (circular) wrapper ya container hai toh use bhi square karein */
.card-box .card-icon,
.card-box .card-icon-container,
.card-box .icon-wrapper {
  border-radius: 8px !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  aspect-ratio: 16/9 !important; /* Rectangular look ke liye */
}
@media (max-width: 639px) {
  /* Container ko horizontal scroll row banayein */
  .card-grid-row.team-scroll-mobile {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 12px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Scrollbar hide karne ke liye (optional) */
    scrollbar-width: none; 
  }
  
  .card-grid-row.team-scroll-mobile::-webkit-scrollbar {
    display: none;
  }

  /* Har ek individual card ko proper width aur full height dein */
  .card-grid-row.team-scroll-mobile > .card-box,
  .card-grid-row.team-scroll-mobile > div {
    flex: 0 0 85% !important;     /* Screen ka 85% width lega taaki agla card bhi dikhe */
    max-width: 320px !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 639px) {
  /* Card box er padding ebong spacing thik korar jonno */
  .card-box {
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* Image container ke proper rectangular shape e rakhar jonno */
  .card-box .why-us-image-wrap,
  .card-box div[style*="overflow: hidden"] {
    width: 100% !important;
    height: 160px !important;
    border-radius: 8px !important;
    margin-bottom: 4px !important;
  }

  .card-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Heading ebong description text styling */
  .card-box h3 {
    font-size: 1.125rem !important;
    margin-bottom: 6px !important;
  }

  .card-box p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  /* Nicher duitti stat boxes ke aaju-baju (side-by-side) properly align korar jonno */
  .card-box div[style*="display: flex"] {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 4px !important;
  }

  .card-box .stat-box {
    flex: 1 !important;
    padding: 12px 8px !important;
    text-align: center !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 639px) {
  /* Container ko horizontal scroll row banayein */
  .card-grid-row {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 12px 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    scrollbar-width: none; /* Firefox ke liye scrollbar hide */
  }

  /* Chrome, Safari, Edge ke liye scrollbar hide */
  .card-grid-row::-webkit-scrollbar {
    display: none;
  }

  /* Har ek individual card ko proper width aur scroll snap dein */
  .card-grid-row > .card-box,
  .card-grid-row > div {
    flex: 0 0 85% !important;     /* Ek baar me ek card aur agle card ka thoda hissa dikhega */
    max-width: 300px !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 639px) {
  /* Parent Container - Full width & Balanced Padding */
  .calc-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Results Box Outer Container */
  .calc-results {
    width: 100% !important;
    padding: 18px 14px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  /* Heading */
  .calc-results h3 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
    text-align: left !important;
  }

  /* Result Rows - Label aur Number ko neat flex alignment dena */
  .calc-result-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Label text (Left Side) */
  .calc-result-row span:not(.calc-val) {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    max-width: 55% !important;
  }

  /* Value / Amount text (Right Side) */
  .calc-val, 
  .calc-result-row .calc-val {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-align: right !important;
  }

  /* Expected Maturity Value Row (Highlighted Big Row) */
  .calc-result-row:nth-last-of-type(1) {
    flex-direction: column !important;
    align-items: flex-start !important;
    border-bottom: none !important;
    padding-top: 6px !important;
    gap: 4px !important;
  }

  .calc-result-row:nth-last-of-type(1) .calc-val {
    font-size: 1.4rem !important; /* Prominent size for total maturity */
    margin-top: 4px !important;
  }

  /* CTA Button inside Calculator */
  .calc-results button,
  .calc-results .btn {
    width: 100% !important;
    padding: 12px !important;
    font-size: 0.9rem !important;
    margin-top: 8px !important;
    text-align: center !important;
  }
}
@media (max-width: 639px) {
  .insights-filter-bar {
    display: none !important;
  }
}
@media (max-width: 639px) {
  /* Image ko top/upper half par focus karke lower half crop karne ke liye */
  .card-photo-top img,
  img.human-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important; /* Image ka upper half focus me rahega */
    display: block !important;
  }

  /* Image container ka proper aspect ratio / height set karne ke liye */
  .card-photo-top {
    width: 100% !important;
    height: 180px !important; /* Height requirement ke hisab se adjust kar sakte hain */
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 1rem !important;
  }
}
/* Story Grid Layout - Both sides aligned and expanded */
.why-us-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px !important;
  align-items: stretch !important; /* Full height stretch karne ke liye */
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Left Content Area Alignment */
.why-us-grid > .why-us-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

/* Right Card Box Size Expansion */
.why-us-grid > .card-box {
  height: 100% !important; /* Entire vertical space fill karega */
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 24px !important; /* Bigger card feel */
  box-sizing: border-box !important;
  background-color: var(--off-white, #f9fafb) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Right Card Image expansion */
.why-us-grid > .card-box img,
.why-us-grid > .card-box .human-photo {
  width: 100% !important;
  height: 280px !important; /* Image ki height badi karne ke liye */
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
}

/* Responsive adjustment for Mobile screens */
@media (max-width: 991px) {
  .why-us-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .why-us-grid > .card-box img {
    height: 200px !important;
  }
}
/* Medium aur Large screens (Desktop/Tablet) ke liye face visible layout */
@media (min-width: 640px) {
  /* Container height badhana taaki chehra poora dikhe */
  .card-photo-top {
    width: 100% !important;
    height: 260px !important; /* Higher container height so faces fit easily */
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 1.25rem !important;
  }

  /* Photo alignment top & face focused */
  .card-photo-top img,
  img.human-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 15% !important; /* Top se 15% focus, exact face visibility ke liye */
    display: block !important;
  }
}
/* Insights Page Articles Image Structure Fix */
.article-img-wrap {
  width: 100% !important;
  height: 200px !important;              /* Uniform height across all article cards */
  overflow: hidden !important;
  border-top-left-radius: 12px !important; /* Top card corners matching card box */
  border-top-right-radius: 12px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  display: block !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.article-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;          /* Keeps aspect ratio & fills container strictly */
  object-position: center !important;     /* Centers subject within image box */
  display: block !important;
}

/* Mobile Responsiveness for Insights Page Images */
@media (max-width: 639px) {
  .article-img-wrap {
    height: 160px !important;            /* Compact height for small screens */
  }
}
/* Large Screen Specific Alignment Fix */
@media (min-width: 992px) {
  /* Parent Grid ko flex stretch rule dena */
  .why-us-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
    align-items: stretch !important; /* Left aur Right side dono same height ke honge */
  }

  /* Right Side Wrapper Block */
  .why-us-image-wrap {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Card Box inside Right Side Wrapper */
  .why-us-image-wrap > .card-box {
    height: 100% !important; /* Entire vertical space fill karega */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; /* Content evenly space out hoga */
    padding: 24px !important;
    box-sizing: border-box !important;
  }

  /* Image Container height expansion */
  .why-us-image-wrap .card-box > div[style*="overflow: hidden"] {
    height: 240px !important; /* Image Container height badhane ke liye */
    width: 100% !important;
  }

  .why-us-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}
/* Specific Timeline Section ki top aur bottom padding kam/remove karne ke liye */
section.section:has(.timeline-container) {
  padding-top: 1.5rem !important;    /* Default 4.5rem/6vw ko reduce kar dega */
  padding-bottom: 1.5rem !important; /* Top and bottom spacing clean and compact ho jayegi */
}

/* Agar timeline header section ke tight space chahiye */
section.section:has(.timeline-container) .section-header {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}
/* Small screens / Mobile view ke liye */
@media (max-width: 768px) {
  /* Buttons container ko column direction me karein taaki buttons ek ke niche ek aayein */
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  /* Dono buttons ki width 100% aur full screen width kar dein */
  .hero-actions .btn,
  .hero-actions a.btn-gold,
  .hero-actions a.btn-outline {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important; /* Buttons ke beech me gap ke liye */
  }
}
/* Small screens / Mobile view ke liye counters section */
@media (max-width: 768px) {
  /* Counter row ko proper 2-column grid me set karein */
  .hero-counters-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* 2 equal columns */
    gap: 12px !important; /* Items ke beech me gap */
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 20px !important;
  }

  /* Har ek counter item ki styling aur spacing */
  .hero-counters-row .hero-counter-item {
    padding: 12px 10px !important;
    background: rgba(255, 255, 255, 0.04) !important; /* Optional: halka background card jaisa look dene ke liye */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    text-align: left !important;
  }

  /* Counter number ka font size mobile ke liye adjust karein agar zaroorat ho */
  .hero-counters-row .hero-counter-num {
    font-size: 1.5rem !important;
    font-weight: bold !important;
  }

  /* Counter label ka text size */
  .hero-counters-row .hero-counter-label {
    font-size: 0.85rem !important;
    opacity: 0.8 !important;
  }
}
/* Stat-box ke andar ka content center align karne ke liye */
.stat-box {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important; /* Vertically center */
  align-items: center !important;     /* Horizontally center */
  text-align: center !important;      /* Text to center */
}
/* Small screens / Mobile view ke liye */
@media (max-width: 768px) {
  /* CTA Action container ko 100% width dein */
  .cta-action {
    width: 100% !important;
  }

  /* Button ko full-width, centered aur block element banayein */
  .cta-action .btn-gold,
  .cta-action a.btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}
/* Small screens / Mobile view ke liye */
@media (max-width: 768px) {
  /* Header container ko space-between set karein taaki left aur right elements balance rahein */
  .site-header .header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 12px !important;
  }

  /* Header right section ko top-right me push karne ke liye */
  .site-header .header-right {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Button ka size reduce karein (padding aur font-size kam karke) */
  .site-header .header-right .btn-primary,
  .site-header .header-right .btn-sm {
    padding: 5px 10px !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
}