/* ===== GOOGLE FONTS IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; overflow-x: hidden; color: #0A0A0F; }
::selection { background: #1B4FD8; color: white; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }



/* ── NAVBAR ── */
.top-bar {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
  height: 48px;
  position: relative;
  overflow: hidden;
}

/* subtle shimmer line at top */
.top-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4ff00, transparent);
  opacity: 0.8;
}

/* Update your zone selection previously shared slightly just to be safe from default A-tag links formatting */
.bar-left,
.bar-center,
.bar-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: #ffffff; /* Sets standard white font color */
  text-decoration: none; /* Removes underline if linking! */
  transition: color 0.25s, background 0.25s;
  padding: 0 1.2rem;
  cursor: pointer;
  white-space: nowrap;
}

.bar-left   { flex: 1; justify-content: flex-start; padding-left: 0; }
.bar-center { flex: 1; justify-content: center; border-left: 1px solid rgba(255,255,255,0.1); border-right: 1px solid rgba(255,255,255,0.1); }
.bar-right  { flex: 1; justify-content: flex-end; padding-right: 0; }

.bar-left:hover,
.bar-center:hover,
.bar-right:hover {
  background: rgba(27, 79, 216, 0.08);
}

.bar-left:hover   .info-icon,
.bar-center:hover .info-icon,
.bar-right:hover  .info-icon {
  transform: scale(1.15);
  border-color: #d4ff00;
}

/* icon wrapper */
.info-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(27, 79, 216, 0.4);
  border-radius: 6px;
  color: #d4ff00;
  flex-shrink: 0;
  transition: transform 0.25s, border-color 0.25s;
}

.info-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #d4ff00;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* label */
.info-label {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.info-label span:first-child {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4ff00;
  font-weight: 600;
}

.info-label span:last-child {
  font-size: 0.78rem;
  color: #ffffff;
}

/* ── MOBILE & TABLET FIX (991px and below) ── */
@media (max-width: 991px) {
  .top-bar {
    display: grid;
    /* Grid layout setup: Top Row 2 parts, Bottom Row 1 part */
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "left right"
      "center center";
    height: auto; 
    padding: 0.6rem 1rem;
    row-gap: 0.6rem;
  }
  
  .bar-left {
    grid-area: left;
    justify-content: flex-start;
    padding: 0;
  }
  
  .bar-right {
    grid-area: right;
    justify-content: flex-end;
    padding: 0;
  }
  
  .bar-center {
    grid-area: center;
    justify-content: center;
    padding: 0.5rem 0 0 0; /* Add some top spacing for bottom line */
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator line on top of center content */
  }
}

/* ── EXTRA SMALL MOBILE FIX (Optional adjusting for < 400px devices to prevent overlap) ── */
@media (max-width: 480px) {
  .bar-left, .bar-right {
    gap: 0.35rem; /* Gap between icon and text slightly smaller */
  }
  .info-icon {
    width: 24px;
    height: 24px;
  }
  .info-icon svg {
    width: 12px;
    height: 12px;
  }
  .info-label span:first-child { font-size: 0.55rem; }
  .info-label span:last-child { font-size: 0.65rem; }
}


header {
      background: #F8F9FA; position: sticky; top: 0; z-index: 1000;
    }
    header .hero-nav {
      display: flex; align-items: center; justify-content: space-between;
      padding: 1rem 1rem; position: relative;
    }
    @media (min-width: 768px) { header .hero-nav { padding: 1.5rem 2rem; } }

    header .hero-logo {
      display: flex; align-items: center; gap: 0.5rem;
      background: white; padding: 0.5rem 1rem; border-radius: 0.5rem;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08); border: 1px solid #E5E7EB;
    }
    header .logo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 20px; height: 20px; }
    header .logo-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid; }
    header .logo-dot.amber { border-color: #d4ff00; }
    header .logo-dot.red   { border-color: #1B4FD8; }

    header .hero-logo-text { font-family: 'Cinzel', serif; font-weight: 900; font-size: 1.25rem; letter-spacing: 0.05em; }

    header .hero-socials { display: none; align-items: center; gap: 0.5rem; margin-left: auto; margin-right: 1rem; }
    @media (min-width: 768px) { header .hero-socials { display: flex; margin-right: 600px; } }

    header .social-btn {
      padding: 0.625rem; background: white; border-radius: 0.375rem;
      box-shadow: 0 1px 2px rgba(0,0,0,0.06); border: 1px solid #E5E7EB; color: #374151;
      display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, color 0.2s;
    }
    header .social-btn:hover { border-color: #D1D5DB; color: #0A0A0F; }

    header .menu-btn {
      padding: 0.625rem; background: #0A0A0F; border-radius: 0.375rem; border: 1px solid #374151; color: white;
      display: flex; align-items: center; justify-content: center; transition: background 0.2s;
    }
    header .menu-btn:hover { background: #1F2937; }

    /* ============================================================
       SIDE MENU — GLOBAL OVERLAYS & PANEL
    ============================================================ */
    .side-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px); z-index: 1010; opacity: 0; pointer-events: none; transition: opacity 0.3s;
    }
    .side-overlay.open { opacity: 1; pointer-events: auto; }

    .side-panel {
      position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 24rem;
      background: white; box-shadow: -4px 0 30px rgba(0,0,0,0.15); z-index: 1020;
      transform: translateX(100%); transition: transform 0.3s ease-in-out; display: flex; flex-direction: column;
    }
    .side-panel.open { transform: translateX(0); }

    .side-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid #F3F4F6; }
    .side-panel-title { font-family: 'Cinzel', serif; font-weight: 900; font-size: 1.25rem; letter-spacing: 0.05em; }
    .close-btn {
      padding: 0.625rem; background: #F3F4F6; border-radius: 0.375rem; color: #1F2937;
      border: none; display: flex; align-items: center; justify-content: center; transition: background 0.2s;
    }
    .close-btn:hover { background: #E5E7EB; }
    .side-menu-items { display: flex; flex-direction: column; padding: 1.5rem 0; overflow-y: auto; }

    .menu-nav-item {
      padding: 1.25rem 2rem; text-align: left; font-family: 'Lato', sans-serif;
      font-size: 1.125rem; font-weight: 700; border-left: 4px solid transparent;
      color: #4B5563; background: none; transition: all 0.2s;
    }
    /* Hover and active */
    .menu-nav-item:hover { color: #0A0A0F; background: #F9FAFB; }
    .menu-nav-item.active { color: #1B4FD8; background: rgba(27,79,216,0.04); border-left-color: #1B4FD8; }


    /* ============================================================
       DROPDOWN STRUCTURAL FIX
    ============================================================ */
    .dropdown-wrapper { display: flex; flex-direction: column; }
    .menu-nav-item.dropdown-header { display: flex; padding: 0; }

    .dropdown-header > .main-link { flex: 1; padding: 1.25rem 1rem 1.25rem 2rem; color: inherit; }
    .dropdown-header > .toggle-btn {
      padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: center;
      cursor: pointer; color: #6B7280;
    }
    .dropdown-header > .toggle-btn:hover { background-color: #f0f1f5; }

    .dropdown-arrow { transition: transform 0.3s ease-in-out, color 0.3s; }
    .dropdown-content { display: none; flex-direction: column; background-color: #F4F5F7; }
    
    .dropdown-content .sub-item {
      padding: 0.85rem 2rem 0.85rem 3.5rem; font-size: 1.05rem; color: #4B5563; font-weight: 500; border-left: 4px solid transparent; 
    }
    .dropdown-content .sub-item:hover { background: #E5E7EB; color: #111827; }
    .dropdown-content .sub-item.active { background: rgba(27,79,216,0.06); border-left-color: #1B4FD8; color: #1B4FD8; font-weight: 700; }

    /* PC HOVER LOGIC - sirf dropdown khulega style default base menu item ki tarah change hogi (Halki grey bg color k sth, Blue (Active) tab hogi jub link navigate kia gaya ho */
    @media (hover: hover) and (pointer: fine) {
      .dropdown-wrapper:hover .dropdown-content { display: flex; }
      .dropdown-wrapper:hover .dropdown-arrow { transform: rotate(180deg); color: #1B4FD8; }
    }

    /* MOBILE CLICK TAPP TO OPEN DROP (.open class) */
    .dropdown-wrapper.open .dropdown-content { display: flex; }
    .dropdown-wrapper.open .dropdown-arrow { transform: rotate(180deg); color: #1B4FD8; }
    /* Menu link Blue tab hogi ab agar user Service ke page me gya warna grey rhegi teer wali link open ke baabujid */


/* ============================================================
   SECTION 1: HERO — ISOLATED
   Scope: #hero (and header for nav)
============================================================ */
#hero {
  min-height: 100vh;
  background: #F8F9FA;
  overflow: hidden;
  position: relative;
}

#hero .hero-main {
  position: relative;
  padding-top: 1rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  #hero .hero-main { padding-bottom: 8rem; display: block; }
}

/* BG Text */
#hero .hero-bg-text {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
@media (min-width: 1024px) {
  #hero .hero-bg-text { top: 1rem; }
}
#hero .hero-bg-text h1 {
  font-family: 'Cinzel', serif;
  font-size: 15vw;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #0A0A0F;
  white-space: nowrap;
}

/* 1. This style is for the individual letters */
/* We need this so each letter can be a reference for positioning the smoke */
#hero .hero-bg-text h1 span.letter {
  display: inline-block;
  position: relative;
  pointer-events: all; /* Allows mouse events on letters */
  cursor: pointer;      /* Changes cursor to a hand */
}

/* 2. This is the style for a single smoke particle */
.smoke {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: rgba(200, 200, 200, 0.4);
  border-radius: 50%;
  pointer-events: none;
  /* Link to the animation below */
  animation: smoke-animation 2s ease-out forwards;
}

/* 3. This is the animation that makes the smoke rise and fade */
@keyframes smoke-animation {
  0% {
    transform: translate(-50%, 0) scale(0.5);
    opacity: 0.8;
  }
  100% {
    /* --x-drift will be a random value from JS for a natural look */
    transform: translate(var(--x-drift), -80px) scale(2.5);
    opacity: 0;
  }
}



/* Person image */
#hero .hero-person-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  height: 400px;
  pointer-events: none;
  margin-top: 6rem;
}
@media (min-width: 640px)  { #hero .hero-person-wrap { height: 500px; } }
@media (min-width: 1024px) { #hero .hero-person-wrap { height: 650px; margin-top: 15rem; } }

#hero .hero-person-inner {
  position: relative;
  width: 90%;
  max-width: 400px;
  height: 100%;
}
@media (min-width: 1024px) {
  #hero .hero-person-inner { max-width: none; width: 550px; }
}

#hero .l-accent {
  position: absolute;
  left: -1rem;
  top: 45%;
  width: 1rem;
  height: 1rem;
  border-left: 3px solid #d4ff00;
  border-bottom: 3px solid #d4ff00;
  z-index: 20;
  filter: drop-shadow(0 0 6px rgba(212,255,0,0.8));
}
@media (min-width: 1024px) {
  #hero .l-accent { left: -2rem; width: 1.25rem; height: 1.25rem; }
}

#hero .hero-person-img-wrap {
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
#hero .hero-person-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Cards container */
#hero .hero-cards-container {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 1rem;
  margin-top: 2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  #hero .hero-cards-container { flex-direction: row; padding: 0 2rem; }
}
@media (min-width: 1024px) {
  #hero .hero-cards-container { display: block; padding: 0; max-width: none; margin-top: 0; }
}

/* Left card */
#hero .hero-left-card {
  width: 100%;
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid #E5E7EB;
}
@media (min-width: 768px) {
  #hero .hero-left-card { width: 50%; }
}
@media (min-width: 1024px) {
  #hero .hero-left-card {
    position: absolute;
    left: 3rem; top: 60%;
    transform: translateY(-50%);
    width: 320px;
    padding: 2rem;
  }
}

#hero .hero-left-card h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
@media (min-width: 1024px) {
  #hero .hero-left-card h2 { margin-bottom: 2rem; }
}

#hero .skills-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#hero .skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

/* Right cards wrapper */
#hero .hero-right-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  #hero .hero-right-cards { width: 50%; }
}
@media (min-width: 1024px) {
  #hero .hero-right-cards {
    position: absolute;
    right: 3rem; top: 60%;
    transform: translateY(-50%);
    width: 280px;
  }
}

/* ── HERO STAT CARDS — isolated from .stats-section .stat-card ── */
#hero .stat-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid #E5E7EB;
}
#hero .stat-card.dark {
  background: #0A0A0F;
  color: white;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border: none;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  #hero .stat-card.dark { margin-left: 2rem; }
}
#hero .stat-card.dark::before {
  content: '';
  position: absolute;
  top: -2.5rem; right: -2.5rem;
  width: 8rem; height: 8rem;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  filter: blur(24px);
}

#hero .stat-number { display: flex; align-items: baseline; gap: 0.25rem; }
#hero .stat-num    { font-family: 'Cinzel', serif; font-size: 2.25rem; font-weight: 900; line-height: 1; }
#hero .stat-suffix { font-family: 'Cinzel', serif; font-size: 1.25rem; font-weight: 700; color: #9CA3AF; }
#hero .stat-label  { font-family: 'Lato', sans-serif; font-size: 0.875rem; font-weight: 500; color: #4B5563; margin-top: 0.25rem; }
#hero .stat-card.dark .stat-label { color: #9CA3AF; }
#hero .stat-inner  { position: relative; z-index: 1; }

#hero .client-avatars { display: flex; margin-bottom: 1rem; }
#hero .client-avatar {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
#hero .client-avatar + .client-avatar { margin-left: -0.5rem; }

/* Hero bottom */
#hero .hero-bottom {
  position: relative;
  z-index: 30;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  #hero .hero-bottom { margin-top: 3rem; }
}

/* Connecting line */
#hero .connecting-line {
  display: none;
  align-items: flex-start;
  width: 100%;
  padding: 0 3rem;
}
@media (min-width: 1024px) {
  #hero .connecting-line { display: flex; }
}

#hero .conn-line-h { flex: 1; border-top: 2px solid #E5E7EB; margin-top: 2rem; }
#hero .conn-turn   { width: 3rem; height: 4rem; flex-shrink: 0; }

#hero .conn-turn-left .ct-top {
  width: 1.5rem; height: 2rem;
  border-top: 2px solid #E5E7EB;
  border-right: 2px solid #E5E7EB;
  border-radius: 0 1rem 0 0;
  margin-top: 2rem;
}
#hero .conn-turn-left .ct-bot {
  width: 1.5rem; height: 2rem;
  border-bottom: 2px solid #E5E7EB;
  border-left: 2px solid #E5E7EB;
  border-radius: 0 0 0 1rem;
  margin-left: 1.5rem;
  margin-top: -2px;
}

#hero .conn-center-line {
  width: 400px;
  border-bottom: 2px solid #E5E7EB;
  margin-top: 4rem;
  position: relative;
  flex-shrink: 0;
}
@media (min-width: 1280px) {
  #hero .conn-center-line { width: 600px; }
}

#hero .conn-dot-outer {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -50%);
  width: 2rem; height: 2rem;
  background: #F8F9FA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
#hero .conn-dot-inner {
  width: 0.625rem; height: 0.625rem;
  background: #1B4FD8;
  border-radius: 50%;
}

#hero .conn-turn-right .ct-top {
  width: 1.5rem; height: 2rem;
  border-bottom: 2px solid #E5E7EB;
  border-right: 2px solid #E5E7EB;
  border-radius: 0 0 1rem 0;
  margin-top: 2rem;
}
#hero .conn-turn-right .ct-bot {
  width: 1.5rem; height: 2rem;
  border-top: 2px solid #E5E7EB;
  border-left: 2px solid #E5E7EB;
  border-radius: 1rem 0 0 0;
  margin-left: 1.5rem;
  margin-top: -2px;
}

/* Bottom content */
#hero .hero-bottom-content {
  text-align: center;
  margin-top: 3rem;
  padding: 0 1rem;
}
@media (min-width: 1024px) {
  #hero .hero-bottom-content { margin-top: 5rem; }
}

#hero .hero-bottom-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 auto;
  line-height: 1.2;
  color: #0A0A0F;
}
@media (min-width: 768px) {
  #hero .hero-bottom-heading { font-size: 3rem; }
}

#hero .hero-break { display: none; }
@media (min-width: 768px) {
  #hero .hero-break { display: block; }
}

#hero .view-projects-btn {
  display: inline-block;
  margin-top: 2.5rem;
  background: #0A0A0F;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background 0.2s;
}
#hero .view-projects-btn:hover { background: #1F2937; }


/* ============================================================
   SECTION 2: ABOUT — ISOLATED
   Scope: #about
============================================================ */
#about {
  min-height: 100vh;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
@media (min-width: 768px) {
  #about { padding: 3rem; }
}

#about .about-inner {
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 1024px) {
  #about .about-inner { flex-direction: row; align-items: center; gap: 6rem; }
}

#about .about-img-col { width: 100%; }
@media (min-width: 1024px) {
  #about .about-img-col { width: 50%; }
}

#about .about-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

#about .about-text-col {
  width: 100%;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  #about .about-text-col { width: 50%; }
}

#about .about-text-col p {
  font-family: 'Lato', sans-serif;
  color: #374151;
  font-size: 1.125rem;
  line-height: 1.75;
}
#about .about-text-col p + p { margin-top: 1.5rem; }

#about .about-badge-wrap {
  margin-top: 3rem;
  align-self: flex-start;
}
@media (min-width: 1024px) {
  #about .about-badge-wrap { align-self: center; margin-left: -3rem; margin-top: 4rem; }
}

#about .about-badge {
  width: 16rem; height: 16rem;
  background: #F8F9FA;
  border-radius: 50%;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid #F3F4F6;
}
@media (min-width: 768px) {
  #about .about-badge { width: 18rem; height: 18rem; }
}

#about .badge-number { display: flex; align-items: baseline; color: #0A0A0F; }
#about .badge-num {
  font-family: 'Cinzel', serif;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}
@media (min-width: 768px) {
  #about .badge-num { font-size: 6rem; }
}

#about .badge-plus {
  font-family: 'Cinzel', serif;
  font-size: 3.75rem;
  font-weight: 300;
  margin-left: 0.25rem;
}
@media (min-width: 768px) {
  #about .badge-plus { font-size: 4.5rem; }
}

#about .badge-label {
  font-family: 'Lato', sans-serif;
  color: #1F2937;
  font-weight: 500;
  font-size: 1.125rem;
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  #about .badge-label { font-size: 1.25rem; }
}

#about .badge-orange-dot {
  position: absolute;
  bottom: 1.5rem; right: 2rem;
  width: 2.5rem; height: 2.5rem;
  background: #1B4FD8;
  border-radius: 50%;
}
@media (min-width: 768px) {
  #about .badge-orange-dot { bottom: 2rem; right: 2.5rem; width: 3rem; height: 3rem; }
}


/* ============================================================
   SECTION 3: SERVICES — ISOLATED
   Scope: #services
============================================================ */
#services {
  background: #0a0a0f;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Marquee */
#services .marquee-wrapper {
  width: 100%;
  padding-top: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
  background: #0a0a0f;
}
@media (min-width: 768px) {
  #services .marquee-wrapper { padding-top: 80px; padding-bottom: 80px; }
}

#services .marquee-content {
  display: flex;
  width: fit-content;
  animation: svc-scroll 10s linear infinite;
}

@keyframes svc-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#services .marquee-text-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#services .marquee-word {
  font-family: 'Cinzel', serif;
  font-size: 60px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  padding-left: 16px;
  padding-right: 16px;
  white-space: nowrap;
}
@media (min-width: 768px)  { #services .marquee-word { font-size: 96px; padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1024px) { #services .marquee-word { font-size: 120px; } }

#services .marquee-separator {
  font-family: 'Cinzel', serif;
  font-size: 60px;
  color: rgba(255,255,255,0.5);
  padding-left: 16px;
  padding-right: 16px;
  white-space: nowrap;
}
@media (min-width: 768px)  { #services .marquee-separator { font-size: 96px; padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1024px) { #services .marquee-separator { font-size: 120px; } }

#services .marquee-outlined {
  font-family: 'Cinzel', serif;
  font-size: 60px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  -webkit-text-stroke: 2px rgba(255,255,255,0.5);
  color: transparent;
  padding-left: 16px;
  padding-right: 16px;
  white-space: nowrap;
}
@media (min-width: 768px)  { #services .marquee-outlined { font-size: 96px; padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1024px) { #services .marquee-outlined { font-size: 120px; } }

/* Services container */
#services .services-section {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 64px 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  #services .services-section { padding-top: 96px; padding-bottom: 96px; gap: 48px; }
}

/* Service card */
#services .service-card {
  width: 100%;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: transparent;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1) translateY(0);
}
@media (min-width: 768px) {
  #services .service-card { border-radius: 100px; }
}
#services .service-card:hover {
  border-color: rgba(255,255,255,0.3);
  background-color: rgba(255,255,255,0.05);
  box-shadow: 0 20px 50px -15px rgba(27,79,216,0.25);
  transform: scale(1.03) translateY(-6px);
}

#services .service-layout {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 32px;
}
@media (min-width: 768px) {
  #services .service-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    gap: 48px;
  }
  #services .service-card:nth-child(odd) .service-layout  { flex-direction: row; }
  #services .service-card:nth-child(even) .service-layout { flex-direction: row-reverse; }
}

#services .service-info {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex: 1;
}
@media (min-width: 768px) {
  #services .service-info { gap: 48px; margin-bottom: 0; }
}

#services .service-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

#services .service-title-box {
  position: relative;
  display: inline-block;
  align-self: flex-start;
}

#services .service-heading {
  font-family: 'Cinzel', serif;
  font-size: 30px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  transition: color 0.3s ease;
  margin: 0;
}
@media (min-width: 768px)  { #services .service-heading { font-size: 48px; } }
@media (min-width: 1024px) { #services .service-heading { font-size: 60px; } }
#services .service-card:hover .service-heading { color: #d4ff00; }

#services .service-underline {
  position: absolute;
  bottom: -8px; left: 0;
  height: 4px;
  background-color: #d4ff00;
  width: 0;
  transition: width 0.3s ease-out;
}
#services .service-card:hover .service-underline { width: 100%; }

#services .service-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}
@media (min-width: 768px) {
  #services .service-tags-list { gap: 16px; }
}

#services .service-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
@media (min-width: 768px) {
  #services .service-tag { font-size: 12px; }
}

#services .tag-bullet {
  width: 6px; height: 6px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

#services .service-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
}
#services .service-card:hover .service-desc { max-height: 200px; opacity: 1; }

#services .service-desc-text {
  font-family: 'Lato', sans-serif;
  padding-top: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.625;
  max-width: 576px;
  margin: 0;
}
@media (min-width: 768px) {
  #services .service-desc-text { font-size: 16px; }
}

/* Service image */
#services .service-visual {
  width: 100%;
  height: 200px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
#services .service-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.2);
  z-index: 2;
  pointer-events: none;
  transition: background-color 0.5s ease;
}
#services .service-card:hover .service-visual::before { background-color: transparent; }

@media (min-width: 768px) {
  #services .service-visual { width: 400px; height: 180px; border-radius: 100px; }
  #services .service-card:hover .service-visual { width: 450px; height: 240px; }
}
@media (min-width: 1024px) {
  #services .service-visual { width: 500px; height: 220px; }
  #services .service-card:hover .service-visual { width: 600px; height: 380px; }
}

#services .service-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease-out;
}
#services .service-card:hover .service-img { transform: scale(1.05); }


/* ============================================================
   SECTION 4: WORKS/AWARDS — ISOLATED
   Scope: #works
============================================================ */
#works {
  min-height: 100vh;
  background: #f4f4f4;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
}
@media (min-width: 768px)  { #works { padding: 5rem 0; } }
@media (min-width: 1024px) { #works { padding: 6rem 0; } }

/* Background "Awards" text */
#works .works-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
#works .works-bg-text h1 {
  font-family: 'Cinzel', serif;
  font-size: 40vw;
  font-weight: 900;
  color: #05080f;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
  letter-spacing: 0.2rem;
  transform: scaleY(1.2);
}
@media (min-width: 480px)  { #works .works-bg-text h1 { font-size: 32vw; letter-spacing: 0.5rem; } }
@media (min-width: 768px)  { #works .works-bg-text h1 { font-size: 26vw; letter-spacing: 0.8rem; } }
@media (min-width: 1024px) { #works .works-bg-text h1 { font-size: 23vw; letter-spacing: 1rem;   } }

#works .works-container {
  max-width: 87.5rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 480px)  { #works .works-container { padding: 0 1.25rem; } }
@media (min-width: 768px)  { #works .works-container { padding: 0 1.5rem; } }

#works .works-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
@media (min-width: 480px)  { #works .works-grid { gap: 2.25rem; } }
@media (min-width: 768px)  { #works .works-grid { gap: 4rem; } }
@media (min-width: 1024px) { #works .works-grid { gap: 5rem; } }

#works .work-card-wrap {
  width: 100%;
  position: relative;
  z-index: 1;
  will-change: transform, opacity;
}
@media (max-width: 479px) {
  #works .work-card-wrap { align-self: center; }
}
@media (min-width: 480px) and (max-width: 767px) {
  #works .work-card-wrap        { width: 88%; }
  #works .work-card-wrap.col-1  { align-self: flex-start; }
  #works .work-card-wrap.col-2  { align-self: flex-end; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #works .work-card-wrap        { width: 60%; }
  #works .work-card-wrap.col-1  { align-self: flex-start; }
  #works .work-card-wrap.col-2  { align-self: flex-end; }
}
@media (min-width: 1024px) {
  #works .work-card-wrap        { width: calc(50% - 2rem); }
  #works .work-card-wrap.col-1  { align-self: flex-start; }
  #works .work-card-wrap.col-2  { align-self: flex-end; }
}
#works .work-card-wrap.is-active { z-index: 10; }

#works .work-card {
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  border: 1px solid rgba(241,245,249,0.8);
}
@media (min-width: 480px)  { #works .work-card { padding: 1.2rem; border-radius: 1.2rem; } }
@media (min-width: 768px)  { #works .work-card { padding: 1.4rem; border-radius: 1.4rem; } }
@media (min-width: 1024px) { #works .work-card { padding: 1.5rem; border-radius: 1.5rem; } }

#works .work-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

#works .work-card-title {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 900;
  color: #0a0f16;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.25;
}
@media (min-width: 480px)  { #works .work-card-title { font-size: 1rem; } }
@media (min-width: 768px)  { #works .work-card-title { font-size: 1.15rem; } }
@media (min-width: 1024px) { #works .work-card-title { font-size: 1.375rem; letter-spacing: -0.03em; } }

#works .work-icon {
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
@media (min-width: 768px) {
  #works .work-icon { width: 2rem; height: 2rem; }
}
#works .work-icon.orange { background: #1B4FD8; color: white; }
#works .work-icon.light  { background: #f0f0f0; color: #111; }

#works .work-tags {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  overflow: hidden;
}
@media (min-width: 480px)  { #works .work-tags { margin-bottom: 1.1rem; } }
@media (min-width: 768px)  { #works .work-tags { margin-bottom: 1.5rem; } }

#works .work-tag {
  font-family: 'Lato', sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.3rem;
  color: #374151;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 480px)  { #works .work-tag { font-size: 0.58rem; padding: 0.32rem 0.65rem; } }
@media (min-width: 768px)  { #works .work-tag { font-size: 0.625rem; padding: 0.375rem 0.75rem; } }

#works .tag-line-decor {
  flex: 1;
  height: 1px;
  background: #E5E7EB;
  margin-left: 0.25rem;
  position: relative;
  min-width: 0;
}
#works .tag-line-decor::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 3px;
  background: #D1D5DB;
  border-radius: 50%;
}

#works .work-image-wrap {
  border-radius: 0.4rem;
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
  background: #F3F4F6;
}
@media (min-width: 480px) {
  #works .work-image-wrap { border-radius: 0.5rem; }
}

#works .work-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}


/* ============================================================
   SECTION 5: CONTACT — ENHANCED
============================================================ */
#contact {
  min-height: 100vh;
  background: #050505;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* — Noise overlay — */
#contact .contact-noise {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.045; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* — Radial glow — */
#contact .contact-radial {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(212,255,0,0.04) 0%, transparent 70%);
}

/* — Accent corner line — */
#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #d4ff00 30%, #d4ff00 70%, transparent 100%);
  z-index: 20;
  opacity: 0.6;
}

/* — Main wrapper — */
#contact .contact-main {
  flex-grow: 1; z-index: 10; width: 100%; margin: 0 auto;
  padding: 5rem 1.5rem 2rem;
  display: flex; flex-direction: column;
}
@media (min-width: 768px)  { #contact .contact-main { padding: 5rem 3rem 2rem; } }
@media (min-width: 1024px) { #contact .contact-main { padding: 5rem 4rem 2rem; } }

/* — Grid — */
#contact .contact-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 4rem; margin-bottom: 5rem;
}
@media (min-width: 1024px) {
  #contact .contact-grid { grid-template-columns: 1fr 1fr; gap: 7rem; }
}

/* — Left — */
#contact .contact-left { display: flex; flex-direction: column; justify-content: center; }

#contact .contact-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #d4ff00;
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
#contact .contact-eyebrow::after {
  content: '';
  flex: 1; max-width: 3rem;
  height: 1px; background: #d4ff00; opacity: 0.5;
}

#contact .contact-heading {
  font-family: 'Cinzel', serif;
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
#contact .contact-heading span {
  color: #d4ff00;
}
@media (min-width: 768px)  { #contact .contact-heading { font-size: 3rem; } }
@media (min-width: 1024px) { #contact .contact-heading { font-size: 3.5rem; } }

#contact .contact-links {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 0.5rem 1rem;
  font-family: 'Lato', sans-serif; font-size: 1rem;
  font-weight: 500; color: #d4ff00; margin-bottom: 3rem;
}
@media (min-width: 768px) { #contact .contact-links { font-size: 1.125rem; } }
#contact .contact-links a {
  color: #d4ff00; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: opacity 0.2s;
}
#contact .contact-links a:hover { opacity: 0.75; }
#contact .contact-links .sep { color: rgba(212,255,0,0.4); }

/* — Profile card — */
#contact .profile-card {
  background: linear-gradient(135deg, #0f0f0f 0%, #111 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  max-width: 26rem;
  border: 1px solid rgba(212,255,0,0.1);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
}
#contact .profile-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,255,0,0.3), transparent);
}
#contact .profile-img {
  width: 6rem; height: 6rem;
  object-fit: cover; border-radius: 0.625rem; flex-shrink: 0;
  border: 2px solid rgba(212,255,0,0.2);
}
#contact .profile-name {
  font-family: 'Cinzel', serif; color: #ffffff; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.875rem; margin-bottom: 0.25rem;
}
#contact .profile-role {
  font-family: 'Lato', sans-serif; color: #ffffff;
  font-size: 0.75rem; margin-bottom: 1rem; line-height: 1.5;
}
#contact .profile-socials { display: flex; gap: 0.5rem; }
#contact .profile-social {
  width: 1.875rem; height: 1.875rem;
  background: #ffffff; color: black; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background 0.2s, transform 0.2s;
}
#contact .profile-social:hover { background: #d4ff00; transform: translateY(-2px); }

/* — Right / Form — */
#contact .contact-right {
  display: flex; flex-direction: column; justify-content: center;
}

#contact .form-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: white; /* Boosted visibility a little for consistency */
  margin-bottom: 1.5rem;
}

#contact .contact-form { display: flex; flex-direction: column; gap: 0.875rem; }

#contact .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
@media (max-width: 540px) { #contact .form-row { grid-template-columns: 1fr; } }

/* Combine general Inputs & Textareas to guarantee White text everywhere */
#contact input,
#contact textarea,
#contact .contact-input,
#contact .contact-textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.625rem;
  padding: 1rem 1.25rem;
  color: #ffffff !important; /* Force true white for user input */
  font-family: 'Lato', sans-serif; font-size: 0.9375rem;
  width: 100%; outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
#contact .contact-textarea { 
  resize: none; 
  height: 8rem; 
}

/* Ensure placeholder is visible but less prominent */
#contact .contact-input::placeholder, 
#contact .contact-textarea::placeholder { 
  color: rgba(255,255,255,0.4) !important; 
}

/* Hover/Focus states */
#contact .contact-input:focus, 
#contact .contact-textarea:focus {
  border-color: rgba(212,255,0,0.5);
  background: rgba(212,255,0,0.03);
  box-shadow: 0 0 0 3px rgba(212,255,0,0.07);
}

/* === Chrome Webkit Auto-fill Fix === 
   Overrides default background and fixes text turning black on autofill */
#contact .contact-input:-webkit-autofill,
#contact .contact-input:-webkit-autofill:hover, 
#contact .contact-input:-webkit-autofill:focus, 
#contact .contact-textarea:-webkit-autofill,
#contact .contact-textarea:-webkit-autofill:hover,
#contact .contact-textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0px 1000px #0a0a0a inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

#contact .contact-submit {
  background: #d4ff00; color: #050505;
  font-family: 'Cinzel', serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 1.05rem; border-radius: 0.625rem;
  font-size: 0.8125rem; margin-top: 0.5rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  width: 100%; cursor: pointer; border: none;
  box-shadow: 0 8px 30px rgba(212,255,0,0.2);
}
#contact .contact-submit:hover {
  background: #c8f000;
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(212,255,0,0.3);
}
#contact .contact-submit:active { transform: translateY(0); }

#contact #successMessage {
  display: none; color: #d4ff00;
  margin-top: 0.75rem; font-size: 0.875rem;
  font-family: 'Lato', sans-serif; text-align: center;
}

/* ============================================================
   FOOTER
============================================================ */
#contact .contact-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  #contact .contact-footer {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
  }
}

/* — Quick links (horizontal pill nav) — */
#contact .footer-links-col { flex: 1; }

#contact .footer-col-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: #ffffff;
  margin-bottom: 1rem;
}

#contact .quick-links-nav {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  list-style: none;
}
#contact .quick-links-nav li a {
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #ffffff;
  text-decoration: none;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  display: block;
}
#contact .quick-links-nav li a:hover {
  color: #050505;
  background: #d4ff00;
  border-color: #d4ff00;
}

/* — Footer center (brand) — */
#contact .footer-brand-col {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; flex-shrink: 0;
}
#contact .footer-brand-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #ffffff; margin-bottom: 0.35rem;
}
#contact .footer-brand-tag {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem; color: #ffffff;
  letter-spacing: 0.05em;
}
#contact .footer-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #d4ff00; margin: 0.75rem auto;
  opacity: 0.7;
}

/* — Footer right (address) — */
#contact .footer-right-col {
  flex: 1; text-align: left;
}
@media (min-width: 768px) { #contact .footer-right-col { text-align: right; } }

#contact .footer-col-text {
  font-family: 'Lato', sans-serif;
  color: #ffffff; font-size: 0.8125rem; line-height: 1.75;
}

/* — Bottom credit bar — */
#contact .s8-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0 0;
  text-align: center;
}
#contact .s8-bottom .row { width: 100%; }
#contact .ftex {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  color: #ffffff;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
#contact .ftex a {
  color: #d4ff00;
  text-decoration: none;
  transition: opacity 0.2s;
}
#contact .ftex a:hover { opacity: 0.75; text-decoration: underline; }

/* ============================================================
   MARQUEE
============================================================ */
#contact .contact-marquee-wrap {
  width: 100%; overflow: hidden;
  display: flex; margin-top: auto; z-index: 10;
  padding-bottom: 1.5rem; padding-top: 2.5rem;
}
#contact .contact-marquee-track {
  display: flex; white-space: nowrap;
  animation: ctc-marquee-lr 20s linear infinite;
}
@keyframes ctc-marquee-lr {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}
#contact .contact-marquee-text {
  font-family: 'Cinzel', serif;
  font-size: 14vw; font-weight: 900;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  letter-spacing: -0.04em;
  user-select: none; padding: 0 1.5rem; line-height: 1;
}


/* ============================================================
   INNER HERO SECTION — ISOLATED
   Scope: .inner-hero-section
============================================================ */
.inner-hero-section {
  position: relative;
  height: 85vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
}
.inner-hero-section .inner-hero-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.inner-hero-section .inner-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: 2;
}
.inner-hero-section .inner-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
}
.inner-hero-section .inner-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  color: white;
}


/* ============================================================
   GE-VENUE BLOCK — ISOLATED
   Scope: .ge-venue
============================================================ */

/* Extra space fix kiya hua code */
.ge-venue {
  background-color: #fff;
  padding: 24px 24px; /* Yahan apne hisab se bottom padding 64px set ki hai */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box; /* Height-padding manage karne ke best practice */
  margin-bottom: -120px;
}

@media (min-width: 768px)  { .ge-venue { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1024px) { .ge-venue { padding-left: 96px; padding-right: 96px; } }

/* ---------- Niche ka Baaki Saara Code Same Rahega ---------- */

.ge-venue .ge-venue__header {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.ge-venue .ge-venue__title {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  line-height: 40px;
  color: #0A0A0F;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .ge-venue .ge-venue__title { font-size: 48px; line-height: 1; }
}
.ge-venue .ge-venue__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin-bottom: 24px;
}
.ge-venue .ge-venue__divider-dot {
  width: 8px; height: 8px;
  background-color: #1B4FD8;
  border-radius: 50%;
}
.ge-venue .ge-venue__divider-line {
  height: 1.5px;
  background-color: #1B4FD8;
  flex-grow: 1;
}
.ge-venue .ge-venue__subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: #0A0A0F;
}
@media (min-width: 768px) {
  .ge-venue .ge-venue__subtitle { line-height: 32px; }
}
.ge-venue .ge-venue__content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .ge-venue .ge-venue__content { grid-template-columns: 1fr 1fr 1fr; gap: 64px; }
}
.ge-venue .ge-venue__left-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  order: 2;
}
@media (min-width: 1024px) {
  .ge-venue .ge-venue__left-column { align-items: flex-end; text-align: right; order: 1; }
}
.ge-venue .ge-venue__left-text {
  font-family: 'Cinzel', serif;
  font-size: 30px;
  line-height: 1.4;
  color: #0A0A0F;
  font-style: italic;
  font-weight: 600;
}
@media (min-width: 768px)  { .ge-venue .ge-venue__left-text { font-size: 36px; } }
@media (min-width: 1024px) { .ge-venue .ge-venue__left-text { font-size: 2.2rem; } }

.ge-venue .ge-venue__center-column {
  width: 100%;
  max-width: 448px;
  margin-left: auto;
  margin-right: auto;
  order: 1;
}
@media (min-width: 1024px) {
  .ge-venue .ge-venue__center-column { order: 2; }
}
.ge-venue .ge-venue__image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 3px solid #1B4FD8;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}
.ge-venue .ge-venue__image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.ge-venue .ge-venue__right-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  order: 3;
}
@media (min-width: 1024px) {
  .ge-venue .ge-venue__right-column { align-items: flex-start; text-align: left; }
}
.ge-venue .ge-venue__right-text {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 1.625;
  color: #374151;
  font-style: italic;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .ge-venue .ge-venue__right-text { font-size: 20px; line-height: 1.75; }
}
.ge-venue .ge-venue__cta-button {
  background-color: #1B4FD8;
  color: #fff;
  padding: 10px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border: 1px solid #000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.ge-venue .ge-venue__cta-button:hover { background-color: #0F30A0; }


/* ============================================================
   CONSULTING SECTION — ISOLATED
   Scope: .consulting-section
============================================================ */
.consulting-section {
  
    padding: 2rem 0;
}
.consulting-section .consulting-header {
  text-align: center;
  margin-bottom: 4rem;
}
.consulting-section .consulting-label {
  display: inline-block;
  color: #1B4FD8;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid #1B4FD8;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
}
.consulting-section .consulting-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #0A0A0F;
}
.consulting-section .consulting-title span { color: #1B4FD8; font-style: italic; }
.consulting-section .consulting-intro {
  font-family: 'Lato', sans-serif;
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
  color: #374151;
}
.consulting-section .consulting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.consulting-section .consulting-founder-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.consulting-section .consulting-founder-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: #1B4FD8;
}
.consulting-section .consulting-founder-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.consulting-section .consulting-avatar {
  width: 80px; height: 80px;
  background: #1B4FD8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  flex-shrink: 0;
}
.consulting-section .consulting-founder-info h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: #0A0A0F;
}
.consulting-section .consulting-founder-info p {
  font-family: 'Lato', sans-serif;
  color: #1B4FD8;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}
.consulting-section .consulting-credentials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.consulting-section .consulting-badge {
  font-family: 'Lato', sans-serif;
  background: #EEF3FD;
  color: #1B4FD8;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}
.consulting-section .consulting-approach {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.consulting-section .consulting-approach-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #1B4FD8;
  transition: all 0.3s ease;
}
.consulting-section .consulting-approach-item:hover {
  border-left-color: #0F30A0;
  border-color: #0F30A0;
  transform: translateX(10px);
}
.consulting-section .consulting-icon {
  color: #1B4FD8;
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 968px) {
  .consulting-section .consulting-grid   { grid-template-columns: 1fr; }
  .consulting-section .consulting-title  { font-size: 2.2rem; }
}
@media (max-width: 640px) {
  .consulting-section .consulting-founder-header { flex-direction: column; text-align: center; }
  .consulting-section .consulting-credentials    { justify-content: center; }
}


/* ============================================================
   STATS SECTION — ISOLATED
   Scope: .stats-section
   NOTE: .stats-section .stat-card is completely isolated from
         #hero .stat-card — no bleeding possible.
============================================================ */
.stats-section {
  background-color: #ffffff;
  padding: 6rem 0;
}
.stats-section .stats-header {
  text-align: center;
  margin-bottom: 5rem;
}
.stats-section .stats-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #0A0A0F;
}
.stats-section .stats-header .line-2 { color: #1B4FD8; }
.stats-section .stats-header .line-3 {
  font-family: 'Lato', sans-serif;
  color: #7f8c8d;
  font-size: 2rem;
  margin-top: 0.5rem;
  text-transform: none;
}
.stats-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ── STATS STAT-CARD — isolated from #hero .stat-card ── */
.stats-section .stat-card {
  background-color: #f8f9fa;
  padding: 2.5rem 2rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0;
  border-bottom: 4px solid #1B4FD8;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.stats-section .stat-card-number {
  font-family: 'Cinzel', serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: #0A0A0F;
  line-height: 1;
  transition: color 0.3s ease;
}
.stats-section .stat-card-label {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #34495e;
  margin-top: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.stats-section .stat-card:hover {
  background-color: #1B4FD8;
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(27,79,216,0.25);
  border-color: #0F30A0;
}
.stats-section .stat-card:hover .stat-card-number,
.stats-section .stat-card:hover .stat-card-label { color: #ffffff; }

@media (max-width: 968px) {
  .stats-section .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .stats-section .stats-header h2   { font-size: 2.2rem; }
}
@media (max-width: 640px) {
  .stats-section .stats-grid        { grid-template-columns: 1fr; }
  .stats-section .stat-card         { min-height: 200px; }
}


/* ============================================================
   INNER SERVICE SECTION — ISOLATED
   Scope: .inner-service-section
============================================================ */
.inner-service-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2rem 2rem 0rem;
  background: #ffffff;
  border-radius: 0;
  color: #0A0A0F;
  position: relative;
  z-index: 1;
  box-shadow: none;
}
.inner-service-section .fs-hero-intro {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.inner-service-section .fs-badge {
  display: inline-block;
  background: #EEF3FD;
  border-radius: 40px;
  padding: 0.3rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #1B4FD8;
  margin-bottom: 1.2rem;
  border: 1px solid #DDE3F5;
}
.inner-service-section .fs-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #0A0A0F;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.inner-service-section .fs-hero-title span {
  background: linear-gradient(135deg, #1B4FD8, #4169E8);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.inner-service-section .fs-hero-sub {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto;
  color: #475569;
  line-height: 1.5;
  font-weight: 400;
}
.inner-service-section .fs-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin: 3rem auto;
  max-width: 1400px;
}
.inner-service-section .fs-card {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  padding: 1.6rem 1.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.03);
}
.inner-service-section .fs-card:hover {
  border-color: rgba(27,79,216,0.4);
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  background: #fefefe;
}
.inner-service-section .fs-card-icon { font-size: 2.2rem; color: #1B4FD8; margin-bottom: 1rem; }
.inner-service-section .fs-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0A0A0F;
}
.inner-service-section .fs-card p {
  font-family: 'Lato', sans-serif;
  color: black;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  line-height: 1.45;
}
.inner-service-section .fs-feature-list { list-style: none; margin-top: 0.5rem; }
.inner-service-section .fs-feature-list li {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #334155;
}
.inner-service-section .fs-feature-list li i { color: #1B4FD8; font-size: 0.8rem; width: 1.2rem; }

.inner-service-section .fs-metrics-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2rem auto 2.5rem;
  max-width: 1400px;
}
.inner-service-section .fs-metric-card {
  flex: 1;
  min-width: 150px;
  background: #f8fafc;
  border-radius: 1.25rem;
  padding: 1.2rem 0.5rem;
  text-align: center;
  border: 1px solid #DDE3F5;
  transition: all 0.2s;
}
.inner-service-section .fs-metric-card:hover {
  background: #ffffff;
  border-color: rgba(27,79,216,0.4);
  box-shadow: 0 6px 14px rgba(0,0,0,0.03);
}
.inner-service-section .fs-metric-number {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #1B4FD8;
  line-height: 1.2;
}
.inner-service-section .fs-metric-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 0.5rem;
  color: #4b5563;
}
.inner-service-section .fs-benefits-wrap {
  background: #f9fbfe;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  border: 1px solid #EEF3FD;
  max-width: 1400px;
  width: 100%;
}
.inner-service-section .fs-section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.8rem;
  color: #0A0A0F;
}
.inner-service-section .fs-section-title i { color: #1B4FD8; margin-right: 8px; }
.inner-service-section .fs-benefit-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.inner-service-section .fs-benefit-pill {
  background: #ffffff;
  border-radius: 60px;
  padding: 0.55rem 1.4rem;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #0A0A0F;
  border: 1px solid #DDE3F5;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.inner-service-section .fs-benefit-pill i { color: #1B4FD8; font-size: 0.8rem; }
.inner-service-section .fs-benefit-pill:hover {
  background: #EEF3FD;
  border-color: rgba(27,79,216,0.5);
  transform: translateY(-1px);
}
.inner-service-section .fs-tech-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  color: #6c727f;
  border-top: 1px solid #EEF3FD;
  padding-top: 1.5rem;
}
.inner-service-section .fs-tech-footer i { color: #1B4FD8; margin-right: 4px; }
.inner-service-section a,
.inner-service-section button { cursor: pointer; }

@media (max-width: 760px) {
  .inner-service-section                      { padding: 1.5rem 1rem 2.5rem; }
  .inner-service-section .fs-card h3          { font-size: 1.3rem; }
  .inner-service-section .fs-section-title    { font-size: 1.5rem; }
  .inner-service-section .fs-metric-number    { font-size: 1.5rem; }
  .inner-service-section .fs-benefits-wrap    { padding: 1.5rem 1rem; }
}
@media (min-width: 1600px) {
  .inner-service-section .fs-service-grid,
  .inner-service-section .fs-metrics-row,
  .inner-service-section .fs-benefits-wrap,
  .inner-service-section .fs-hero-intro       { max-width: 1500px; }
}


/* ============================================================
   CONTACT SECTION (INNER PAGES) — ISOLATED
   Scope: .contact-section
   This is completely separate from #contact (main page)
============================================================ */
.contact-section {
  width: 100%;
  background: #ffffff;
  font-family: 'Lato', sans-serif;
  color: #0A0A0F;
  padding: 0px 40px 100px;
  box-sizing: border-box;
}
.contact-section *,
.contact-section *::before,
.contact-section *::after { box-sizing: border-box; }

.contact-section .contact-container { max-width: 1400px; margin: 0 auto; }

.contact-section .contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  opacity: 0;
  animation: cs-fadeUp 0.7s ease 0.1s forwards;
}
.contact-section .contact-eyebrow-line {
  display: block;
  width: 48px; height: 2px;
  background: #1B4FD8;
  flex-shrink: 0;
}
.contact-section .contact-eyebrow-text {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #1B4FD8;
}

.contact-section .contact-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
  opacity: 0;
  animation: cs-fadeUp 0.8s ease 0.2s forwards;
  flex-wrap: wrap;
}
.contact-section .contact-heading-row h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 600;
  line-height: 1.0;
  color: #0A0A0F;
  letter-spacing: -0.02em;
  margin: 0; padding: 0;
  border: none; background: none;
}
.contact-section .contact-heading-row h1 em { font-style: italic; color: #1B4FD8; }
.contact-section .contact-heading-desc {
  max-width: 360px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #6B6B80;
  line-height: 1.75;
  padding-bottom: 6px;
}

.contact-section .contact-main-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  border: 1.5px solid #DDE3F5;
  opacity: 0;
  animation: cs-fadeUp 0.9s ease 0.35s forwards;
}

/* Profile card (left side) */
.contact-section .contact-profile-card {
  background: #091E6A;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.contact-section .contact-profile-card::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.contact-section .contact-profile-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(27,79,216,0.35);
  pointer-events: none;
}

.contact-section .contact-corner-tl {
  position: absolute;
  top: 28px; left: 28px;
  width: 28px; height: 28px;
  border-top: 1.5px solid rgba(255,255,255,0.2);
  border-left: 1.5px solid rgba(255,255,255,0.2);
}
.contact-section .contact-corner-br {
  position: absolute;
  bottom: 28px; right: 28px;
  width: 28px; height: 28px;
  border-bottom: 1.5px solid rgba(255,255,255,0.2);
  border-right: 1.5px solid rgba(255,255,255,0.2);
  z-index: 2;
}

.contact-section .contact-profile-top { position: relative; z-index: 1; }

.contact-section .contact-avatar-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.contact-section .contact-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: #1B4FD8;
  border: 2px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  position: relative;
}
.contact-section .contact-avatar-status {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #22C55E;
  border: 2px solid #091E6A;
  animation: cs-statusPulse 2.5s ease-in-out infinite;
}

@keyframes cs-statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.contact-section .contact-available-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22C55E;
  background: rgba(34,197,94,0.12);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.contact-section .contact-available-badge::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22C55E;
}
.contact-section .contact-avatar-location {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: white;
  letter-spacing: 0.03em;
}

.contact-section .contact-profile-name {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.contact-section .contact-profile-role {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4ff00;
  margin-bottom: 32px;
}
.contact-section .contact-profile-divider {
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.contact-section .contact-profile-desc {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin-bottom: 36px;
}

.contact-section .contact-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-section .contact-tag {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  transition: all 0.25s;
  cursor: default;
}
.contact-section .contact-tag:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
}

.contact-section .contact-profile-footer {
  position: relative;
  z-index: 2;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
}
.contact-section .contact-profile-footer-label {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 14px;
}
.contact-section .contact-profile-footer-text {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* Right panel */
.contact-section .contact-right-panel {
  background: #ffffff;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  border-left: 1.5px solid #DDE3F5;
}
.contact-section .contact-panel-header { margin-bottom: 44px; }
.contact-section .contact-panel-label {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1B4FD8;
  margin-bottom: 10px;
}
.contact-section .contact-panel-title {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 600;
  color: #0A0A0F;
  letter-spacing: -0.01em;
}

/* Contact rows */
.contact-section .contact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}
.contact-section .contact-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid #DDE3F5;
  text-decoration: none;
  cursor: pointer;
  transition: padding 0.3s ease;
  position: relative;
}
.contact-section .contact-row:first-child { border-top: 1px solid #DDE3F5; }
.contact-section .contact-row::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 2px;
  background: #1B4FD8;
  transition: width 0.35s ease;
}
.contact-section .contact-row:hover::after { width: 100%; }
.contact-section .contact-row:hover { padding-left: 6px; }

.contact-section .contact-row-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: #EEF3FD;
  border: 1.5px solid rgba(27,79,216,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.contact-section .contact-row:hover .contact-row-icon { background: #1B4FD8; border-color: #1B4FD8; }
.contact-section .contact-row-icon svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: #1B4FD8;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}
.contact-section .contact-row:hover .contact-row-icon svg { stroke: #ffffff; }

.contact-section .contact-row-body { flex: 1; min-width: 0; }
.contact-section .contact-row-label {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B0B0C4;
  margin-bottom: 3px;
  transition: color 0.3s;
}
.contact-section .contact-row:hover .contact-row-label { color: #1B4FD8; }
.contact-section .contact-row-value {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1E1E2C;
  letter-spacing: 0.01em;
  transition: color 0.3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-section .contact-row:hover .contact-row-value { color: #0A0A0F; }
.contact-section .contact-row-arrow {
  font-size: 20px;
  color: #1B4FD8;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}
.contact-section .contact-row:hover .contact-row-arrow { opacity: 1; transform: translateX(0); }

/* CTA Buttons */
.contact-section .contact-cta-area {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
}
.contact-section .contact-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #1B4FD8;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
  position: relative;
  overflow: hidden;
}
.contact-section .contact-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #0F30A0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.contact-section .contact-btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.contact-section .contact-btn-primary:active { transform: scale(0.98); }
.contact-section .contact-btn-primary span { position: relative; z-index: 1; }

.contact-section .contact-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: transparent;
  color: #1E1E2C;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid #DDE3F5;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.contact-section .contact-btn-secondary:hover {
  border-color: #1B4FD8;
  color: #1B4FD8;
  background: #EEF3FD;
}

/* Trust bar */
.contact-section .contact-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #DDE3F5;
  background: #F8F9FE;
}
.contact-section .contact-trust-item {
  padding: 20px 24px;
  border-right: 1px solid #DDE3F5;
  text-align: center;
}
.contact-section .contact-trust-item:last-child { border-right: none; }
.contact-section .contact-trust-num {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 700;
  color: #1B4FD8;
  line-height: 1;
  margin-bottom: 4px;
}
.contact-section .contact-trust-label {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6B80;
}

/* Bottom strip */
.contact-section .contact-bottom-strip {
  grid-column: 1 / -1;
  background: #0A0A0F;
  padding: 20px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: cs-fadeUp 0.9s ease 0.55s forwards;
}
.contact-section .contact-strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.contact-section .contact-strip-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: cs-statusPulse 2.5s ease-in-out infinite;
}
.contact-section .contact-strip-left strong { color: rgba(255,255,255,0.75); font-weight: 500; }
.contact-section .contact-strip-right { display: flex; gap: 24px; }
.contact-section .contact-strip-link {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-section .contact-strip-link:hover { color: #d4ff00; }

/* Toast */
.contact-section .contact-toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #0A0A0F;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-left: 3px solid #1B4FD8;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}
.contact-section .contact-toast.contact-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Keyframes for .contact-section — prefixed to avoid collision */
@keyframes cs-fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive for .contact-section */
@media (max-width: 960px) {
  .contact-section .contact-main-grid    { grid-template-columns: 1fr; }
  .contact-section .contact-right-panel  { border-left: none; border-top: 1.5px solid #DDE3F5; padding: 44px 40px; }
  .contact-section .contact-profile-card { padding: 44px 40px; }
  .contact-section .contact-bottom-strip { padding: 20px 40px; }
}
@media (max-width: 640px) {
  .contact-section                             { padding: 48px 20px 64px; }
  .contact-section .contact-profile-card       { padding: 40px 28px; }
  .contact-section .contact-right-panel        { padding: 40px 28px; }
  .contact-section .contact-bottom-strip       { padding: 18px 28px; }
  .contact-section .contact-trust-row          { grid-template-columns: 1fr; }
  .contact-section .contact-trust-item         { border-right: none; border-bottom: 1px solid #DDE3F5; }
  .contact-section .contact-trust-item:last-child { border-bottom: none; }
  .contact-section .contact-heading-row        { flex-direction: column; align-items: flex-start; }
  .contact-section .contact-strip-right        { display: none; }
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1B4FD8; /* Dark blue from color palette */
    color: #d4ff00; /* Yellow from color palette */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s, transform 0.3s;
}

.back-to-top:hover {
    background-color: #1B4FD8; /* Light blue on hover */
    transform: translateY(-5px); /* Lift effect on hover */
}

.back-to-top i {
    color: #d4ff00; /* Yellow icon */
}

.back-to-top.visible {
    visibility: visible;
    opacity: 1;
}


/* Container button ko properly center me laane ke liye */
        .center-container {
            display: flex;
            justify-content: center;  /* Horizontally center */
            align-items: center;      /* Vertically center */
            margin: 0;
            padding-top: 30px;
        }

        /* Styling for the actual button */
        .call-button {
            background-color: #d4ff00;   /* Neon background */
            color: #1B4FD8;              /* Base new Blue color text */
            text-decoration: none;       /* Link ki line hatane ke liye */
            font-family: Arial, sans-serif;
            font-size: 18px;
            font-weight: bold;
            padding: 15px 30px;          /* Button ka size */
            border-radius: 8px;          /* Corners ko thoda round karne ke liye */
            box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
            transition: all 0.3s ease;   
        }

        /* Hover karne pe naye dark blue aur neon ke aapas mein inverts ho jayenge */
        .call-button:hover {
            background-color: #1B4FD8;   
            color: #d4ff00;              
            box-shadow: 0 6px 12px rgba(27, 79, 216, 0.3); /* Naye blue color ki shadow */
        }

/* === Unique Class Scope (.retirement-planning- ) to prevent conflicts === */

.retirement-planning-wrapper {
    color: #334155;
    padding: 20px 20px;
    box-sizing: border-box;
    line-height: 1.6;
}

.retirement-planning-container {
    max-width: 1100px;
    margin: 0 auto;
}

.retirement-planning-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px auto;
}

.retirement-planning-intro-title {
    color: #1B4FD8; /* Updated title color */
    margin: 0 0 15px 0;
    font-weight: 800;
}

.retirement-planning-intro-text {
    color: #475569;
    margin: 0;
}

.retirement-planning-highlight {
    background-color: #d4ff00; 
    color: #1B4FD8;            
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

/* 2-Column Flex Box */
.retirement-planning-row {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* --- Left Column: Services Box --- */
.retirement-planning-services {
    flex: 1;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 20px rgba(27, 79, 216, 0.05); /* Soft blue shadow */
    box-sizing: border-box;
}

.retirement-planning-box-title {
    color: #1B4FD8;
    margin: 0 0 25px 0;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
    font-weight: 700;
}

.retirement-planning-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.retirement-planning-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: #334155;
    font-weight: 500;
}

.retirement-planning-check-icon {
    width: 24px;
    height: 24px;
    color: #d4ff00;             
    background-color: #1B4FD8;  /* Set your dark blue background here */
    border-radius: 50%;
    padding: 4px;
    margin-right: 15px;
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* --- Right Column: Why Choose Us Box --- */
.retirement-planning-why-us {
    flex: 1;
    background: #1B4FD8;  /* Replacing deep slate/navy with the newly requested vibrant dark blue */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(27, 79, 216, 0.2); 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.retirement-planning-why-title {
    color: #d4ff00;  
    margin: 0 0 20px 0;
    font-weight: 700;
}

.retirement-planning-why-text {
    color: #ffffff; /* Improved text over vibrant blue */
    opacity: 0.9;
    margin: 0 0 30px 0;
}

/* --- Call To Action (Button Section) --- */
.retirement-planning-cta-container {
    margin-top: auto;
}

.retirement-planning-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #d4ff00;
    color: #1B4FD8;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.retirement-planning-call-btn:hover {
    background-color: #ffffff;
    color: #1B4FD8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.retirement-planning-phone-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

@media (max-width: 850px) {
    .retirement-planning-row {
        flex-direction: column;
    }
    .retirement-planning-intro, 
    .retirement-planning-wrapper {
        padding: 40px 15px;
    }
    .retirement-planning-services, 
    .retirement-planning-why-us {
        padding: 30px 20px;
    }
}


/* --- Services Section Container --- */
.investment-planning-section {
    max-width: 1200px;
    margin: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(27, 79, 216, 0.08); /* New shadow matching your new blue tint */
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* --- Left Column: Content Info --- */
.investment-planning-info {
    flex-basis: 50%;
    /* Gave the requested blue a premium touch with an ever-so-subtle gradient depth */
    background: linear-gradient(135deg, #1B4FD8, #11369b);
    color: white;
    padding: 60px;
    box-sizing: border-box;
}

.investment-planning-info .investment-brand {
    font-weight: 700;
    color: #d4ff00; 
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.investment-planning-info h1 {
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.investment-planning-info .investment-intro-text {
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 500px;
    color: #f1f5f9;
}

.investment-planning-info .why-us-feature-box {
    background: rgba(255, 255, 255, 0.1); /* Transparent layered block looks awesome against 1B4FD8 */
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #d4ff00; 
}

.investment-planning-info .why-us-feature-box h3 {
    margin-top: 0;
    color: #FFFFFF;
}

.investment-planning-info .why-us-feature-box p {
    margin-bottom: 0;
    line-height: 1.6;
    color: #f8fafc;
}

/* --- Right Column: Services List --- */
.investment-services-list {
    flex-basis: 50%;
    padding: 60px;
    box-sizing: border-box;
}

.investment-services-list h2 {
    color: #1B4FD8; /* Base color adapted  */
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 700;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.service-list-item .item-icon {
    color: #d4ff00;
    background-color: #1B4FD8; /* Using requested Base dark Blue for bounding boxes */
    border-radius: 8px; 
    padding: 10px;
    margin-right: 20px;
    min-width: 45px; 
    min-height: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.service-list-item .item-text-content h3 {
    margin: 0 0 5px 0;
    font-weight: 700;
    color: #2c3e50; /* A darker tone mapping good contrast on pure white layout */
}

.service-list-item .item-text-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .investment-planning-section {
        flex-direction: column;
    }
    
    .investment-planning-info,
    .investment-services-list {
        flex-basis: 100%;
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .investment-planning-info,
    .investment-services-list {
        padding: 30px 20px;
    }
    .service-list-item {
        align-items: center;
    }
}

/* Tax Planning Services  */
.tax-planning-services {
    padding: 50px 20px;
    text-align: center;
}

.tax-planning-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tax-planning-services h2 {
    margin-bottom: 20px;
    color: #1B4FD8; /* Your base Blue updated */
    font-weight: 800;
}

.tax-planning-intro-text {
    margin-bottom: 40px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.tax-planning-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.tax-planning-service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(27, 79, 216, 0.08); /* Colored shadow adaptation */
    transition: transform 0.3s, box-shadow 0.3s, border-bottom 0.3s;
    border-bottom: 4px solid transparent; 
}

.tax-planning-service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(27, 79, 216, 0.15); /* Dynamic vibrant blue hue under hovering block */
    border-bottom: 4px solid #d4ff00; /* Yellow strike! */
}

.tax-planning-service-item h3 {
    margin-bottom: 15px;
    color: #1B4FD8; /* Base color updated! */
}

.tax-planning-service-item p {
    line-height: 1.6;
    color: #555;
}

/* Why Choose Us Section */
.tax-planning-why-choose-us {
    background-color: #1B4FD8; /* Replaced */
    color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(27, 79, 216, 0.2); 
}

.tax-planning-why-choose-us h3 {
    margin-bottom: 15px;
    border-bottom: 2px solid #d4ff00; 
    color: #d4ff00;                   
    padding-bottom: 10px;
    font-weight: 700;
}

.tax-planning-why-choose-us p {
    line-height: 1.7;
    color: #ffffff; /* Cleans read mode above rich new blue! */
}

@media (min-width: 768px) {
    .tax-planning-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .tax-planning-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ====== MAIN WRAPPER ====== */
.trust-plaining-wrapper {
    background-color: #ffffff;
    padding: 80px 20px;
    color: #334155;
    box-sizing: border-box;
    overflow: hidden;
}

.trust-plaining-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.trust-plaining-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-plaining-tagline {
    display: inline-block;
    background-color: #d4ff00;  
    color: #1B4FD8;            /* Accent tagline combo update */
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.trust-plaining-title {
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.trust-plaining-title span {
    color: #1B4FD8;  /* Replaced title bold elements into Your requested royal dark tone  */
    background-color: #d4ff00;  
    padding: 0 8px; 
    border-radius: 4px;
}

.trust-plaining-desc {
    color: #475569;
    line-height: 1.6;
    margin: 10px 0 20px 0;
}

.trust-plaining-why-us-box {
    background-color: #1B4FD8; /* Fully Replaced dark core Background! */
    color: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(27, 79, 216, 0.25); 
    position: relative;
}

.trust-plaining-why-us-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 8px; height: 100%;
    background-color: #d4ff00; 
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.trust-plaining-why-us-title {
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff;
}

.trust-plaining-why-us-text {
    line-height: 1.7;
    color: #f8fafc;
    margin: 0;
}

.trust-plaining-right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.trust-plaining-card {
    background-color: #ffffff;
    border: 1.5px solid #E2E8F0;
    padding: 30px 25px;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.trust-plaining-card:hover {
    border-color: #d4ff00; 
    background-color: #FAFAFA;
    box-shadow: 0 15px 30px rgba(27, 79, 216, 0.1); 
    transform: translateY(-5px);
}

.trust-plaining-icon-box {
    width: 50px;
    height: 50px;
    background-color: #d4ff00; /* Tint based matching #1B4FD8  */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #1B4FD8; /* New color Icon state */
    transition: background 0.3s, color 0.3s;
}

.trust-plaining-card:hover .trust-plaining-icon-box {
    background-color: #d4ff00;  
    color: #1B4FD8; 
}

.trust-plaining-card svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-plaining-service-name {
    font-weight: 700;
    color: #1B4FD8; /* Base color update on internal text options */
    line-height: 1.4;
    margin: 0;
}

.trust-plaining-card::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 20%;
    width: 60%; height: 4px;
    background-color: #1B4FD8; /* Slide blue bar at base, replaces standard design elements directly   */
    opacity: 0;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.trust-plaining-card:hover::after {
    opacity: 1;
    bottom: 0;
}

@media (max-width: 992px) {
    .trust-plaining-container {
        grid-template-columns: 1fr;
    }
    .trust-plaining-right-grid {
        margin-top: 20px;
    }
}
@media (max-width: 576px) {
    .trust-plaining-right-grid {
        grid-template-columns: 1fr;
    }
    .trust-plaining-why-us-box {
        padding: 25px;
    }
}


/* ====== BUSINESS ADVISORY WRAPPER ====== */
.business-advisory-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.business-advisory-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 500px; 
    padding: 0 50px;
}

.business-advisory-track::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e6ebfb; /* Tint mapped correctly to support timeline tracks */
    transform: translateY(-50%);
    z-index: 1;
}

.business-advisory-step {
    position: relative;
    width: 250px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.business-advisory-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(27, 79, 216, 0.05); /* Colored dynamic block */
    width: 100%;
    border-bottom: 6px solid #d4ff00; 
    position: relative;
    transition: all 0.3s ease;
}

.business-advisory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 79, 216, 0.12); /* New Vibrant hover logic integration  */
}

.business-advisory-number {
    display: inline-block;
    background: #1B4FD8;    /* Directly substituted Base Blue inside pill shapes */
    color: #d4ff00;         
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.business-advisory-card h4 {
    font-weight: 800;
    color: #1B4FD8;  /* Made main sub heading tags base brand */
    margin-bottom: 10px;
    line-height: 1.4;
}

.business-advisory-card p {
    color: black;
    line-height: 1.6;
}

.business-advisory-dot {
    width: 22px;
    height: 22px;
    background: #fff;
    border: 5px solid #d4ff00; 
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px #e6ebfb; /* Outer dot track tint matched back cleanly! */
}

/* UPWARD Posititon Match*/
.business-advisory-up { align-self: flex-start; }
.business-advisory-up .business-advisory-card { margin-top: 20px; }

.business-advisory-up::after {
    content: '';
    position: absolute;
    bottom: -88px;
    width: 3px;     
    height: 70px;
    background: #1B4FD8; /* Link pole maps core */
    left: 50%;
}
.business-advisory-up .business-advisory-dot { bottom: -100px; top: auto; }

/* DOWNWARD Position */
.business-advisory-down { align-self: flex-end; }
.business-advisory-down .business-advisory-card { border-bottom-color: #d4ff00; }

.business-advisory-down .business-advisory-number { 
    color: #d4ff00; 
    background: #1B4FD8; /* Substituted correctly out downwards track too  */
}

.business-advisory-down::before {
    content: '';
    position: absolute;
    top: -88px;
    width: 3px;     
    height: 70px;
    background: #1B4FD8; /* Pole Match */
    left: 50%;
}
.business-advisory-down .business-advisory-dot { top: -100px; border-color: #d4ff00; }

@media (max-width: 900px) {
    .business-advisory-track {
        flex-direction: column;
        height: auto;
        gap: 50px;
        padding: 40px 0;
    }
    .business-advisory-track::before {
        width: 4px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        background: #1B4FD8; /* Fallback connection rod mapped logic.  */
    }
    .business-advisory-up, .business-advisory-down { align-self: center; }
    .business-advisory-up::after, .business-advisory-down::before { display: none; }
    .business-advisory-card { width: 300px; text-align: center; border-left: 6px solid #d4ff00; border-bottom: 1px solid #e2e8f0; }
    .business-advisory-down .business-advisory-card { border-left-color: #d4ff00; }
    .business-advisory-dot { display: none; }
}