/* =========================================
   1. DESIGN SYSTEM (TOKENS)
========================================= */
:root {
  /* Colors */
  --primary-blue: #1e3a8a;
  --primary-blue-hover: #122353;
  --outline-hover: #e8ebf3;
  --text-charcoal: #3a3a3a;

  /* Fonts */
  --font-primary: "Cormorant Garamond", serif;
  --font-secondary: "Montserrat", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Buttons */
  --btn-height: 45px;
  --btn-radius: 10px;
}

/* =========================================
   2. GLOBAL RESET & BODY
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-charcoal);
  background-color: #ffffff;
}

/* =========================================
   3. LAYOUT HELPERS
========================================= */

.container {
  width: 100%;
  margin: 0 auto;

  /* Normal desktop (1440px) – margin 64 */
  max-width: 1440px;
  padding: 0 64px;
}

/* Large desktop (1920px) – margin 160 */
@media (min-width: 1920px) {
  .container {
    max-width: 1920px;
    padding: 0 160px;
  }
}

/* =========================================
   PREMIUM MOBILE MENU – EDITORIAL SLIDE IN
========================================= */

@media (max-width: 768px) {

  /* Dark backdrop */
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 900;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 360px;

    background: #ffffff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 48px 32px;
    gap: 32px;

    transform: translateX(100%);
    transition: transform 0.35s ease;

    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.4px;

    color: var(--text-charcoal);
    text-decoration: none;
  }

  .nav-links a.active {
  color: var(--primary-blue);
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 24px;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
}

}


/* Mobile (≤ 450px) – margin 16 */
@media (max-width: 450px) {
  .container {
    padding: 0 16px;
  }
   .nav-links {
    display: none;
    flex-direction: column;
  }

  .nav-links.active {
    display: flex;
  }
}

/* =========================================
   4. GLOBAL BUTTON SYSTEM
   (applied to all major CTAs)
========================================= */

.btn,
.contact-btn,
.signature-cta,
.cta-btn,
.presence .branch-actions .btn,
.cta-three-button,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: var(--btn-height);
  padding: 0 24px;
  border-radius: var(--btn-radius);

  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.6px;
  font-weight: 500;

  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;

  box-sizing: border-box;
  transition: background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Filled / Primary buttons */
.btn-filled,
.btn-primary,
.contact-btn,
.signature-cta,
.cta-btn-primary,
.cta-three-button,
.btn-submit {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
}

.btn-filled:hover,
.btn-primary:hover,
.contact-btn:hover,
.signature-cta:hover,
.cta-btn-primary:hover,
.cta-three-button:hover,
.btn-submit:hover {
  background-color: var(--primary-blue-hover);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Outline buttons */
.btn-outline,
.presence .branch-actions .btn-outline,
.cta-btn-outline {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover,
.presence .branch-actions .btn-outline:hover,
.cta-btn-outline:hover {
  background-color: var(--outline-hover);
}

/* =========================================
   5. NAVBAR (CORRECTED – NO VISUAL CHANGES)
========================================= */

/* HAMBURGER BUTTON (pure CSS, premium style) */
.menu-icon {
  width: 28px;
  height: 20px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;

  display: none;                 /* shown only on ≤768px */
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Lines */
.menu-line {
  width: 100%;
  height: 2px;
  background-color: var(--primary-blue);
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    background-color 0.2s ease;
}

/* Hover – slightly darker */
.menu-icon:hover .menu-line {
  background-color: #122353;
}

/* Open state – morph to "X" */
.menu-icon.menu-icon--open .menu-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-icon.menu-icon--open .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-icon.menu-icon--open .menu-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* NAVBAR WRAPPER */
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #f1f1f1;
  padding: 16px 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0px;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo span {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.6px;
  color: var(--text-charcoal);
}

.nav-links a.active {
  font-weight: 500;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
}

/* Contact button (header) overrides just spacing */
.contact-btn {
  padding: 0 24px;
}

/* Tablet & mobile (≤768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 16px;
  }

  .nav-links,
  .contact-btn {
    display: none;
  }

  .menu-icon {
    display: flex;
  }
}

/* Desktop paddings (fixed breakpoint overlap) */
@media (min-width: 769px) {
  .navbar {
    padding: 18px 32px;
  }
}

@media (min-width: 1440px) {
  .navbar {
    padding: 20px 64px;
  }
}

@media (min-width: 1920px) {
  .navbar {
    padding: 24px 160px;
  }
}


/* =========================================
   SECTION 6: HERO VIDEO
   Purpose: Styles for the hero video background section
========================================= */

.hero-section {
  width: 100%;
  background-color: #FBFBFB;
  padding: 32px 0;
}

/* =========================================
   HERO VIDEO WRAPPER
   Purpose: Container for video with rounded corners and fixed height
========================================= */
.hero-video-wrapper {
  width: 100%;
  height: 700px;
  border-radius: 32px;
  overflow: hidden;
  background-color: #000000;
  position: relative;
}

/* =========================================
   HERO VIDEO ELEMENT
   Purpose: Ensure video fills wrapper and scales correctly
========================================= */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================
   HERO VIDEO – TABLET VIEW (≤768px)
   Purpose: Adjust video wrapper size and radius for tablets
========================================= */
@media (max-width: 768px) {
  .hero-video-wrapper {
    height: 500px;
    border-radius: 24px;
  }
}

/* =========================================
   HERO VIDEO – MOBILE VIEW (≤450px)
   Purpose: Compact padding and smaller video wrapper for mobile
========================================= */
@media (max-width: 450px) {
  .hero-section {
    padding: 24px 0;
  }

  .hero-video-wrapper {
    height: 300px;
    border-radius: 16px;
  }
}

/* =========================================
   SCROLL ANIMATION – HERO VIDEO (FIXED)
========================================= */

/* Base hidden state */
.hero-section.animate-on-scroll {
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* Reveal state – matches JS (.animate) */
.hero-section.animate-on-scroll.animate {
  opacity: 1;
}


/* =========================================
   STAGGERED DELAYS – HERO VIDEO
   Purpose: Allow wrapper/text to fade in sequentially
   Change: Added delay classes for layered animation
========================================= */
.delay-1 {
  transition-delay: 0.4s; /* wrapper fades after section */
}
.delay-2 {
  transition-delay: 0.8s; /* optional for text overlays/buttons */
}



/* =========================================
   7. HERO TEXT SECTION
========================================= */

.hero-text {
  width: 100%;
  background-color: #ffffff;
  padding: 64px 0 32px;
}

.hero-text-content {
  text-align: center;
}

/* H1 mobile */
.hero-heading {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--text-charcoal);
  margin-bottom: 16px;
  font-size: 36px;
  line-height: 48px;
  letter-spacing: -1px;
}

/* P1 mobile */
.hero-subtext {
  font-family: var(--font-secondary);
  color: var(--text-charcoal);
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.8px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Tablet */
@media (min-width: 768px) {
  .hero-text {
    padding: 32px 0 32px;
  }

  .hero-heading {
    font-size: 48px;
    line-height: 64px;
    letter-spacing: -1.5px;
  }

  .hero-subtext {
    font-size: 17px;
    line-height: 24px;
    letter-spacing: -1px;
  }
}

/* Desktop */
@media (min-width: 1440px) {
  .hero-text {
    padding: 64px 0 112px;
  }

  .hero-heading {
    font-size: 61px;
    line-height: 80px;
    letter-spacing: -2px;
  }

  .hero-subtext {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -1.4px;
  }
}

/* =========================================
   7. OUR HERITAGE SECTION
========================================= */

/* ---------- BASE (SHARED) ---------- */

.heritage {
  width: 100%;
  padding: 56px 0 80px;
}

/* Big rounded background card with image */
.heritage-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 520px;
  background-image: url("Assets/Images/marble-mountain-texture-bg.png");
  background-size: cover;
  background-position: center;
}

/* Dark overlay for readability */
.heritage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 58, 58, 0.6),
    rgba(58, 58, 58, 0.7)
  );
}

.heritage-content {
  position: relative;      /* sits above overlay */
  color: #ffffff;
  padding: 40px 24px 48px;
}

/* Header: chip + title + subtitle */
.heritage-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.heritage-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;

  background: #ffffff;
  color: #3A3A3A;
  border-radius: 10px;
  border: none;

  padding: 8px 20px;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

/* Title / subtitle defaults (overridden in media queries) */
.heritage-title {
  font-family: var(--font-primary);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 34px;
  letter-spacing: -0.5px;
}

.heritage-subtitle {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.6px;
  opacity: 0.9;
}

/* Timeline layout with vertical line (center by default) */
.heritage-timeline {
  position: relative;
  padding: 8px 0 16px;
}

.heritage-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 24px 0;
}

/* Dot on the line – base */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  z-index: 2;

  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--primary-blue);
}

/* Card */
.timeline-card {
  border-radius: 16px;
  padding: 24px 28px;
  color: var(--text-charcoal);
  max-width: 420px;

  /* Marble texture background */
  background-image: url("Assets/Images/marble-texture-bg-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* White overlay @ 50% */
  background-color: rgba(255, 255, 255, 0.5);
  background-blend-mode: lighten;
}

/* Card typography – base */
.timeline-year {
  font-family: var(--font-primary);
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 4px;
}

.timeline-heading {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-text {
  font-family: var(--font-secondary);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.5px;
}

/* --- HERITAGE TIMELINE ANIMATION STATES --- */

/* starting / hidden state */
.timeline-item--hidden {
  opacity: 0;
  transform: translateY(24px);   /* slide up */
}

/* visible state */
.timeline-item--visible {
  opacity: 1;
  transform: translateY(0);
}

/* transition shared by both states */
.timeline-item--hidden,
.timeline-item--visible {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* =========================================
   MOBILE (<768px)
   Left line, full-width cards on the right
========================================= */

@media (max-width: 767px) {

  .heritage {
    padding: 56px 0 80px;
  }

  .heritage-content {
    padding: 40px 16px 48px;     /* 16px side margin */
  }

  .heritage-title {
    font-size: 36px;
    line-height: 48px;
    letter-spacing: -1px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .heritage-subtitle {
    font-size: 14px;
    line-height: 22px;
  }

  /* Line & dots on the LEFT, cards to the right */
  .heritage-timeline {
    padding: 16px 0 24px;
  }

  .heritage-timeline::before {
    left: 8px;
    transform: none;
  }

  .timeline-item {
    padding: 18px 0 18px 28px;   /* controls vertical gap + clear line */
  }

  .timeline-dot {
    left: 9px;
    top: 100px;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3A3A3A;
    border: 2px solid #ffffff;
  }

  .timeline-card {
    max-width: 100%;
    margin: 0;
    text-align: left;
    padding: 18px 20px 20px;
  }

  /* Card text sizes on mobile */
  .timeline-year {
    font-size: 36px;
    line-height: 28px;
    margin-bottom: 12px;
    font-weight: 600;
  }

  .timeline-heading {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    margin-bottom: 4px;
  }

  .timeline-text {
    font-size: 13px;
    line-height: 20px;
    letter-spacing: -0.5px;
  }
}


/* =========================================
   TABLET (768px – 1439px)
========================================= */

@media (min-width: 768px) and (max-width: 1439px) {

  .heritage {
    padding: 80px 0 112px;
  }

  /* tablet margin = 32px */
  .heritage-content {
    padding: 56px 32px 64px;
  }

  /* H1 – tablet (48 / 64 / -1.5) */
  .heritage-title {
    font-size: 48px;
    line-height: 64px;
    letter-spacing: -1.5px;
    font-weight: 600;
    margin-bottom: 12px;
  }

  .heritage-subtitle {
    font-size: 15px;
    line-height: 22px;
  }

  .heritage-timeline {
    margin-top: 48px;
    padding: 16px 0 32px;
  }

  .heritage-timeline::before {
    width: 2.4px;
    background: rgba(255, 255, 255, 0.85);
  }

  /* 2-column grid like desktop */
  .timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 160px;
    padding: 24px 0;
  }

  .timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3A3A3A;
    border: 2.5px solid var(--outline-hover);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  .timeline-card {
    max-width: 360px;
    margin: 0;
  }

  /* Left rows → card on left, text right-aligned */
  .timeline-item:nth-child(odd) .timeline-card {
    grid-column: 1;
    justify-self: end;
    margin-right: 32px;
    text-align: right;
  }

  /* Right rows → card on right, text left-aligned */
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 2;
    justify-self: start;
    margin-left: 32px;
    text-align: left;
  }

  .timeline-year {
    font-size: 42px;
    line-height: 30px;
    font-weight: 600;
    margin-bottom: 18px;
  }

  .timeline-heading {
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    margin-bottom: 6px;
  }

  .timeline-text {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.6px;
  }
}


/* =========================================
   DESKTOP (≥1440px)
========================================= */

@media (min-width: 1440px) {

  .heritage {
    padding: 32px 0 128px;
  }

  .heritage-card {
    max-width: 1140px;   /* 1440 - 150 - 150 */
    margin: 0 auto;
  }

  .heritage-content {
    padding: 64px 80px 80px;
  }

  /* H1 desktop */
  .heritage-title {
    font-size: 61px;
    line-height: 80px;
    letter-spacing: -2px;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 2px;
  }

  .heritage-subtitle {
    font-size: 16px;   /* P2 desktop */
    line-height: 24px;
    letter-spacing: -0.6px;
  }

  .heritage-timeline {
    margin-top: 56px;
    padding: 16px 0 32px;
  }

  .heritage-timeline::before {
    width: 2.7px;
    background: rgba(255, 255, 255, 0.9);
  }

  /* 2-column grid */
  .timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 160px;
    padding: 24px 0;
  }

  .timeline-dot {
    background: #3A3A3A;
    border: 2.7px solid var(--outline-hover);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .timeline-card {
    max-width: 320px;
    margin: 0;
  }

  /* Left-side cards → right-aligned text */
  .timeline-item:nth-child(odd) .timeline-card {
    grid-column: 1;
    justify-self: end;
    margin-right: 40px;
    text-align: right;
  }

  /* Right-side cards → left-aligned text */
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 2;
    justify-self: start;
    margin-left: 40px;
    text-align: left;
  }

  .timeline-year {
    font-size: 42px;
    line-height: 48px;
    letter-spacing: -1px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .timeline-heading {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    margin-bottom: 6px;
  }

  .timeline-text {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.6px;
  }
}

/* =========================================
   9. WHY CHOOSE US SECTION
========================================= */

.why-section {
  padding: 32px 0 32px;
  background: #FBFBFB; /* light grey instead of pure white */
}

.why-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.section-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  margin-bottom: 24px;
  background: #3a3a3a;
  color: #ffffff;
  border-radius: 10px;
  border: none;
  font-family: var(--font-secondary);
  font-size: 12px;
  letter-spacing: -0.3px;
}

/* H2 – mobile */
.why-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 34px;
  line-height: 44px;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text-charcoal);
}

.why-subtitle {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.6px;
  color: var(--text-charcoal);
  opacity: 0.9;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.why-card {
  position: relative;
  border-radius: 16px;
  padding: 24px 24px 28px;
  text-align: center;
  color: var(--text-charcoal);

  /* card size & centering */
  max-width: 420px;
  margin: 0 auto;

  /* marble texture (use your actual file name here) */
  background-image: url("Assets/Images/marble-texture-bg-2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.75);
  background-blend-mode: lighten;

  /* stronger, softer shadow */
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.06),
    0 14px 30px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover lift */
.why-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.12),
    0 18px 36px rgba(15, 23, 42, 0.12);
}


.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: #203B7C; /* softened royal blue */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.why-icon img,
.why-icon svg {
  width: 26px;
  height: 26px;
}

/* icon reacts when card hovered */
.why-card:hover .why-icon {
  background: #122353;  /* darker premium hover */
  transform: translateY(-1px);
}


.why-card-title {
  font-family: var(--font-primary);
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.why-card-text {
  font-family: var(--font-secondary);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.5px;
}

.scale-on-scroll {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease-out;
}

.scale-on-scroll.animate {
  opacity: 1;
  transform: scale(1);
}


/* Tablet */
@media (min-width: 768px) {
  .why-section {
    padding: 80px 0 112px;
  }

  .why-title {
    font-size: 32px;
    line-height: 42px;
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  .why-subtitle {
    font-size: 15px;
    line-height: 22px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
  }

  .why-card {
    padding: 28px 24px 32px;
  }

  .why-card-title {
    font-size: 22px;
    line-height: 30px;
  }

  .why-card-text {
    font-size: 14px;
    line-height: 22px;
  }
}

/* Desktop */
@media (min-width: 1440px) {
  .why-section {
    padding: 96px 0 128px;
  }

  .why-title {
    font-size: 39px;
    line-height: 48px;
    letter-spacing: -1px;
  }

  .why-subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 56px;
  }

  .why-card {
    padding: 32px 28px 36px;
  }

  .why-card-title {
    font-size: 25px;
    line-height: 32px;
  }

  .why-card-text {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.6px;
  }
}

/* =========================================
   10. SIGNATURE COLLECTION SECTION
========================================= */

.signature {
  padding: 64px 0 96px;
  background: #ffffff;
}

.signature-card {
  border-radius: 32px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;

  /* ADD THIS */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Signature Collection – scroll animation states */
.signature-card--hidden {
  opacity: 0;
  transform: translateY(24px);
}

.signature-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.signature-image {
  margin: 0;
  background: #f5f5f5;
}

.signature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signature-content {
  padding: 24px 24px 28px;
  font-family: var(--font-secondary);
  color: var(--text-charcoal);
}

.signature-label {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-secondary);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-blue);
}

.signature-title {
  font-family: var(--font-primary);
  font-size: 26px;
  line-height: 34px;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.signature-desc {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
}

.signature-filter {
  margin-top: 8px;         /* new */
  margin-bottom: 20px;     /* was 24px */
}

.filter-label {
  display: inline-block;
  font-size: 12px;
  line-height: 20px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  min-width: 84px;
  padding: 7px 16px;
  border-radius: 10px;
  border: 1px solid var(--outline-hover);
  background: #ffffff;
  color: var(--text-charcoal);
  font-family: var(--font-secondary);
  font-size: 13px;
  line-height: 20px;
  cursor: pointer;
}

.filter-pill--active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
}

.signature-apps {
  margin-bottom: 24px;
}

.apps-title {
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 24px;
  margin-bottom: 6px;
}

.apps-list {
  list-style: none;
  font-size: 14px;
  line-height: 22px;
  padding: 0;
  margin: 0;
  margin-bottom: 2px; 
}

/* CTA button uses global .signature-cta styles */

/* Tablet */
@media (min-width: 768px) {
  .signature {
    padding: 80px 0 112px;
  }

  .signature-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  }

  .signature-content {
    padding: 32px 40px 36px;
  }

  .signature-title {
    font-size: 32px;
    line-height: 42px;
    letter-spacing: -1px;
    margin-bottom: 12px;
  }

  .signature-desc {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 28px;
  }

  .signature-cta {
    width: 260px;
  }
}

/* Desktop */
@media (min-width: 1440px) {
  .signature {
    padding: 96px 0 128px;
  }

  .signature-card {
    max-width: 1140px;
    margin: 0 auto;
  }

  .signature-content {
    padding: 40px 56px 44px;
  }

  .signature-title {
    font-size: 39px;
    line-height: 48px;
    letter-spacing: -1px;
  }

  .signature-desc {
    font-size: 16px;
    line-height: 24px;
  }

  .apps-title {
    font-size: 20px;
    line-height: 28px;
  }
}

/* =========================================
   11. CTA-2 SECTION
========================================= */

.cta-two {
  position: relative;
  width: 100%;
  padding: 80px 50px;
  background-image: url("Assets/Images/Material-Laza.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-align: center;
}

.cta-two::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.80);
  z-index: 1;
}

.cta-two-container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-two-title {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.5px;
  color: #3a3a3a;
  margin-bottom: 12px;
}

.cta-two-subtitle {
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 24px;
  opacity: 0.8;
  margin-bottom: 32px;
  color: #3a3a3a;
}

.cta-two-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Global button styling already applied to .cta-btn */

/* Responsive */
@media (max-width: 767px) {
  .cta-two {
    padding: 60px 0;
  }

  .cta-two-title {
    font-size: 26px;
    line-height: 36px;
  }

  .cta-two-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* CTA-2 button hover speed fix */
.cta-two .cta-btn {
  transition:
    background 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease;
}

/* =========================================
   12. STATS SECTION
========================================= */

.stats {
  width: 100%;
  padding: 48px 0;
  background-color: #ffffff;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  text-align: center;
  gap: 48px;
}

.stat-item {
  position: relative;
  padding: 8px 24px;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background: #e5e5e5;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.4px;
  color: var(--text-charcoal);
  opacity: 0.9;
}


/* Tablet */
@media (min-width: 768px) and (max-width: 1439px) {
  .stats {
    padding: 64px 0;
  }

  .stats-container {
    gap: 32px;
  }

  .stat-number {
    font-size: 30px;
    line-height: 38px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .stats {
    padding: 61px 0 40px;
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
    column-gap: 16px;
  }

  .stat-item {
    padding: 8px 12px;
  }

  .stat-item::after {
    display: none;
  }

  .stat-item:nth-child(1)::after,
  .stat-item:nth-child(3)::after {
    display: block;
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: #e5e5e5;
  }

  .stat-number {
    font-size: 32px;
    line-height: 30px;
  }

  .stat-label {
    font-size: 12px;
    line-height: 18px;
  }
}

/* =========================================
   13. OUR PRESENCE SECTION
========================================= */

.presence {
  width: 100%;
  padding: 80px 0 40px;
  background-color: #ffffff;
}

.presence-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.presence-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border-radius: 999px;
  background: #3a3a3a;
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 13px;
  letter-spacing: -0.4px;
  margin-bottom: 20px;
}

.presence-title {
  font-family: var(--font-primary);
  font-size: 39px;
  line-height: 48px;
  letter-spacing: -1px;
  font-weight: 600;
  margin-bottom: 8px;
}

.presence-subtitle {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.4px;
  color: var(--text-charcoal);
  opacity: 0.9;
}

.presence-accordion {
  margin-top: 32px;
}

/* ---------- BRANCH CARD ---------- */

.branch {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f1f1f1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  overflow: hidden; /* needed for max-height animation */
}

.branch-summary {
  width: 100%;
  padding: 16px 24px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.branch-summary-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.presence-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.branch-text {
  text-align: left;
}

.branch-name {
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--text-charcoal);
}

.branch-city {
  font-family: var(--font-secondary);
  font-size: 13px;
  line-height: 18px;
  opacity: 0.7;
}

.branch-toggle {
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  color: var(--text-charcoal);
}

/* Accordion panel container (animated) */
.branch-details {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.2s ease, opacity 0.3s ease;
}


/* Open state only turns on opacity; height is controlled by JS */
.branch.branch--active .branch-details {
  opacity: 1;
}

/* Inner wrapper handles layout and padding */
.branch-details-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px 24px 40px;
}

/* Image sizing (keep only one definition) */
.branch-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* =========================================
   DESKTOP ≥ 1400px
========================================= */
@media (min-width: 1400px) {
  .presence {
    padding: 72px 0 40px;
  }

  .presence-header {
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .presence-title {
    font-size: 36px;
    line-height: 46px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }

  .presence-subtitle {
    font-size: 15px;
    line-height: 24px;
    color: var(--text-charcoal);
    opacity: 0.85;
  }

  .branch-summary {
    padding: 18px 32px;
  }

  .branch-name {
    font-size: 17px;
    line-height: 24px;
    font-weight: 600;
    color: var(--text-charcoal);
  }

  .branch-city {
    font-size: 14px;
    line-height: 20px;
    opacity: 0.7;
  }

  /* ✅ Proper grid layout for details */
  .branch-details-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    align-items: flex-start;
    column-gap: 40px;
    padding: 32px 32px 48px;
  }

  .branch-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
  }

  .branch-info {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .info-heading {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 6px;
  }

  .info-text {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-charcoal);
    opacity: 0.9;
  }

  .branch-actions {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-top: 12px;
  }

  .branch-actions .btn {
    min-width: 200px;
    font-size: 15px;
    padding: 14px 24px;
    text-align: center;
  }
}

/* =========================================
   TABLET 768–1400px
========================================= */
@media (min-width: 768px) and (max-width: 1400px) {
  .presence {
    padding: 64px 0 40px;
  }

  .presence-header {
    margin-bottom: 32px;
    text-align: center;
    padding: 0 28px;
  }

  .presence-title {
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
  }

  .presence-subtitle {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-charcoal);
    opacity: 0.85;
  }

  .branch-summary {
    padding: 16px 28px;
  }

  .branch-name {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--text-charcoal);
  }

  .branch-city {
    font-size: 13px;
    line-height: 18px;
    opacity: 0.7;
  }

  .branch-details-inner {
    display: grid;                  /* ✅ ensure grid is active */
    grid-template-columns: 1fr;     /* stack image + info */
    gap: 24px;
    padding: 28px 28px 36px;
  }

  .branch-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
  }

  .branch-info {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .info-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 4px;
  }

  .info-text {
    font-size: 13px;
    line-height: 20px;
    color: var(--text-charcoal);
    opacity: 0.9;
  }

  .branch-actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
  }

  .branch-actions .btn {
    min-width: 190px;
    font-size: 14px;
    padding: 12px 20px;
    text-align: center;
  }
}

/* =========================================
   MOBILE < 768px
========================================= */

@media (max-width: 767px) {
  .presence {
    padding: 48px 0 32px;
  }

  .presence-header {
    margin-bottom: 24px;
    text-align: center;
    padding: 0 16px;
  }

  .presence-title {
    font-size: 26px;
    line-height: 34px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
  }

  .presence-subtitle {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-charcoal);
    opacity: 0.85;
  }

  .branch-summary {
    padding: 14px 16px;
  }

  .branch-name {
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: var(--text-charcoal);
  }

  .branch-city {
    font-size: 13px;
    line-height: 18px;
    opacity: 0.7;
  }

  .branch-details-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px 32px;
  }

  .branch-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
  }

  .branch-info {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .info-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 4px;
  }

  .info-text {
    font-size: 13px;
    line-height: 20px;
    color: var(--text-charcoal);
    opacity: 0.9;
  }

  .branch-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 8px;
  }

  .branch-actions .btn {
    min-width: 100%;
    font-size: 14px;
    padding: 12px 16px;
    text-align: center;
  }
}


/* =========================================
   14. TESTIMONIAL SECTION
========================================= */

.testimonial {
  width: 100%;
  padding: 48px 0 96px;
  background: #ffffff;
}

.testimonial-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.testimonial-title {
  font-family: var(--font-primary);
  font-size: 38px;
  line-height: 48px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.testimonial-subtitle {
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 22px;
  opacity: 0.8;
}

.testimonial-card {
  position: relative;
  overflow: hidden;
  background-image: url("Assets/Images/marble-texture-bg-1.png");
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  z-index: 1;
}

.testimonial-card > * {
  position: relative;
  z-index: 2;
}

.stars {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.stars img {
  width: 26px;
  height: 26px;
  display: block;
}

.testimonial-text {
  font-family: var(--font-secondary);
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 28px;
  color: #3a3a3a;
}

.testimonial-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin-bottom: 4px;
}

.testimonial-client-block {
  margin-top: auto;
  padding-top: 16px;
}

.testimonial-client {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #3a3a3a;
}

.testimonial-location {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: #777;
}

/* Swiper pagination */
.testimonial-swiper {
  max-width: 1040px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.testimonial .swiper-pagination {
  position: static;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.testimonial .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d0d0d0;
  opacity: 1;
}

.testimonial .swiper-pagination-bullet-active {
  background: var(--primary-blue);
}

/* Swiper slide layout */
.testimonial .swiper-slide {
  height: auto !important;
  display: flex !important;
}

/* Desktop equal-height tweaks */
@media (min-width: 1440px) {
  .testimonial-card {
    min-height: 380px;
  }
}

/* Tablet equal-height */
@media (min-width: 768px) and (max-width: 1439px) {
  .testimonial-card {
    min-height: 420px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .testimonial {
    padding: 32px 0;
  }

  .testimonial-card {
    padding: 28px 20px;
    border-radius: 18px;
    min-height: auto;
  }

  .stars img {
    width: 22px;
    height: 22px;
  }

  .testimonial-text {
    font-size: 15px;
    line-height: 24px;
  }

  .testimonial-client {
    font-size: 18px;
  }
}

/* =========================================
   15. QUOTE / LEGACY SECTION
========================================= */

.quote {
  width: 100%;
  background-image: url("Assets/Images/marble-texture-bg-9.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 180px 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

/* Base state: VISIBLE, no opacity:0 here */
.quote-inner {
  max-width: 960px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Elements typography */
.quote-mark {
  font-family: var(--font-primary);
  font-size: 58px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.quote-text {
  font-family: var(--font-primary);
  font-size: 26px;
  line-height: 40px;
  margin-bottom: 14px;
  color: #3a3a3a;
}

.quote-author {
  font-family: var(--font-secondary);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
}

/* --- ANIMATION --- */
/* Only runs if JS adds .quote-animate class; otherwise section is static but visible */

.quote-inner.quote-animate {
  animation: quoteFadeIn 0.9s ease-out both;
}

@keyframes quoteFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .quote {
    padding: 260px 32px;
  }

  .quote-text {
    font-size: 30px;
    line-height: 46px;
  }
}

@media (min-width: 1440px) {
  .quote {
    padding: 260px 64px;
  }

  .quote-text {
    font-size: 32px;
    line-height: 48px;
  }
}



/* =========================================
   16. FAQ SECTION
========================================= */

.faq {
  width: 100%;
  padding: 72px 0 72px;           /* slightly smaller top/bottom gap */
  background-color: #ffffff;
}

.faq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.faq-title {
  font-family: var(--font-primary);
  font-size: 39px;
  line-height: 48px;
  letter-spacing: -1px;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-subtitle {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.4px;
  color: var(--text-charcoal);
  opacity: 0.9;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f1f1f1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* marble background + white overlay */
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("Assets/Images/marble-card-bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}

.faq-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  z-index: 1;
}

.faq-toggle,
.faq-panel {
  position: relative;
  z-index: 2;
}

.faq-toggle {
  width: 100%;
  padding: 20px 24px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question {
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--text-charcoal);
  text-align: left;
}

.faq-icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid #3a3a3a;
  border-bottom: 2px solid #3a3a3a;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

/* rotated when open – JS only toggles class */
.faq-item.faq-item--open .faq-icon {
  transform: rotate(-135deg);
  
}

/* collapsible body */
.faq-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px; /* only left/right by default */
  transition: max-height 0.35s ease, padding 0.35s ease;
  
}

.faq-panel p {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.3px;
  color: var(--text-charcoal);
  opacity: 0.95;
    padding-top: 2px !important;
  padding-bottom: 8px !important;

}

/* NOTE: we no longer set max-height/padding here;
   JS sets exact values inline for smooth animation */
/* .faq-item.faq-item--open .faq-panel { } */

/* Tablet+ */
@media (min-width: 768px) {
  .faq {
    padding: 80px 0 88px;
  }

  .faq-title {
    font-size: 42px;
    line-height: 52px;
  }

  .faq-toggle {
    padding: 20px 28px;
  }

  .faq-panel {
    padding-left: 28px;
    padding-right: 28px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .faq {
    padding: 56px 0 64px;
  }

  .faq-header {
    margin-bottom: 24px;
  }

  .faq-title {
    font-size: 28px;
    line-height: 36px;
  }

  .faq-toggle {
    padding: 16px 18px;
  }

  .faq-panel {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* =========================================
   17. CTA – 3 SECTION
========================================= */

.cta-three {
  width: 100%;
  padding: 80px 0;
  background-image: url("Assets/Images/marble-texture-bg-8.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.cta-three::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 0;
}

.cta-three-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-three-title {
  font-family: var(--font-primary);
  font-size: 34px;
  line-height: 44px;
  letter-spacing: -0.8px;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-bottom: 10px;
}

.cta-three-subtitle {
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 24px;
  color: var(--text-charcoal);
  opacity: 0.9;
  margin-bottom: 28px;
}

/* button visuals already handled globally */

/* Tablet */
@media (min-width: 768px) and (max-width: 1439px) {
  .cta-three {
    padding: 70px 0;
  }

  .cta-three-title {
    font-size: 30px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .cta-three {
    padding: 60px 0;
  }

  .cta-three-title {
    font-size: 26px;
    line-height: 34px;
  }

  .cta-three-subtitle {
    font-size: 14px;
    line-height: 22px;
  }

  .cta-three-button {
    width: 80%;
  }
}


/* =========================================
   18. CONTACT FORM SECTION
========================================= */

.contact-section {
  width: 100%;
  padding: 100px 0;
  background: #ffffff;
}

.contact-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.contact-title {
  font-family: var(--font-primary);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1px;
}

.contact-subtitle {
  font-family: var(--font-secondary);
  font-size: 15px;
  color: var(--text-charcoal);
  opacity: 0.85;
  margin-top: 8px;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
  border: 1px solid #eeeeee;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-family: var(--font-secondary);
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  font-family: var(--font-secondary);
  background: #fafafa;
  transition: 0.25s ease;
}

.form-group textarea {
  min-height: 140px;
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(29, 59, 107, 0.15);
}

/* btn-submit visual handled globally, just full-width here */
.btn-submit {
  width: 100%;
}

/* --- CONTACT FORM ANIMATION --- */
.contact-form-wrapper.contact-animate .contact-form {
  animation: fadeUpForm 0.9s ease-out forwards;
}

#form-message {
  margin-top: 16px;
  font-family: var(--font-secondary);
  font-size: 14px;
  text-align: center;
  display: none; /* hidden by default */
}

#form-message.success {
  color: green;
}

#form-message.error {
  color: red;
}

@keyframes fadeUpForm {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding: 70px 0;
  }

  .contact-title {
    font-size: 32px;
  }
}

/* =========================================
   19. FOOTER SECTION
========================================= */

.footer {
  text-align: center;
  padding: 60px 0 40px;
  background: #ffffff;
  font-family: var(--font-secondary);
}

.footer-logo {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.footer-nav a {
  color: #555;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-nav a:hover {
  color: #000;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 15px 0 25px;
  font-size: 20px;
}

.footer-social a {
  color: #444;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-social a:hover {
  color: #000;
  text-decoration: none;
}

.footer-divider {
  width: 80%;
  max-width: 900px;
  margin: 20px auto;
  border: none;
  border-top: 1px solid #e4e4e4;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #555;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-bottom a:hover {
  color: #000;
}

/* Mobile footer tweaks */
@media (max-width: 600px) {
  .footer-nav {
    flex-wrap: wrap;
    gap: 6px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 5px;
  }
}

/* ================================
   SCROLL-TRIGGERED ANIMATIONS
   ================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }
.delay-6 { transition-delay: 1.2s; }

.scale-on-scroll {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease-out;
}

.scale-on-scroll.animate {
  opacity: 1;
  transform: scale(1);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;

  border-radius: 50%;
  border: none;
  cursor: pointer;

  background: var(--primary-blue);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
}
