:root {
  --color-blue: #3c465a;
  --color-gold: #c19b5f;
  --color-green: #006c35;
  --color-light: #f0f0f0;
  --color-white: #ffffff;
  --color-text: #333333;
  --gold-gradient: linear-gradient(135deg,
      #cca75d 0%,
      #cca75d 59%,
      #ffdc96 100%);
  --font-heading: "Maven Pro", sans-serif;
  --font-body: "Roboto", sans-serif;
  --container-width: 1280px;
  --section-padding: 80px;
  --border-radius-15: 15px;
  --color-gray: #f2f2f2;
  --color-dark-gray: #a5a5a5;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Firefox Scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) #aa8850;
}

/* --- Custom Scrollbar (WebKit) --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #aa8850;
  /* Darker version of gold */
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 5px;
  border: 2px solid #aa8850;
  /* Matches track */
}

::-webkit-scrollbar-thumb:hover {
  background: #97733c;
  /* Darker gold */
}

/* --- Utility Classes --- */
.color-gold {
  color: var(--color-gold) !important;
}

.color-navy {
  color: var(--color-blue) !important;
}

.color-white {
  color: var(--color-white) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* --- Unified Headings --- */
.unified-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.unified-heading.color-gold {
  color: var(--color-gold);
}

.unified-heading.color-navy {
  color: var(--color-blue);
}

.unified-heading.color-white {
  color: var(--color-white);
}

p {
  margin-bottom: 0.5rem;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.text-bold {
  font-weight: 700;
}

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

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

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

.text-dark-gray {
  color: var(--color-dark-gray);
}

.bg-light {
  background-color: var(--color-light);
}

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

.bg-blue {
  background-color: var(--color-blue);
}

.bg-green {
  background-color: var(--color-green);
}

.bg-gold {
  background-color: var(--color-gold);
}

.section {
  padding: var(--section-padding) 0;
}

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

.section-pattern {
  background-image: url("../img/pattern.png");
  background-repeat: repeat;
}

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

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

.section-dark-blue {
  background-image: url("../img/about-title.avif");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: #0c1a30;
  background-size: 100% auto;
  color: var(--color-white);
  padding-bottom: 250px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.section .sub-head {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section h2 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.section p {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.btn-gold {
  background-color: var(--color-gold);
  color: #fff;
  border: 1px solid var(--color-gold);
}

.btn-gold:hover {
  background-color: #97733c;
  color: #fff;
  border: 1px solid #97733c;
}

.btn-blue {
  background-color: var(--color-blue);
  color: #fff;
  border: 1px solid var(--color-blue);
}

.btn-blue:hover {
  background-color: #192c50;
  color: #fff;
  border: 1px solid #192c50;
}

.btn-outline-white {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-outline-white:hover {
  background: white;
  border: 1px solid #fff;
  color: var(--color-blue);
}

.btn-header {
  padding: 10px 25px;
  border-radius: 50px;
  /* Capsule */
  transition: 0.4s;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 25px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  top: 0;
}

.header-container {
  background: rgba(255, 255, 255, 0.98);
  padding: 12px 40px;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* max-width: 1100px; Removed to align with main container */
  margin: 0 auto;
  transition: 0.4s;
}

.site-header.scrolled .header-container {
  /* Stabilized: No changes to max-width, border-radius or padding on scroll */
  background: rgba(255, 255, 255, 0.98);
}

.header-logo {
  height: 60px;
  /* Increased from 45px */
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 15px 0 !important;
}

.main-nav a {
  color: #444;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--color-gold);
}

/* Button stays as pill/capsule on scroll */
/* Removing .site-header.scrolled .btn-header border-radius override */

/* --- Hero Slider --- */
.hero-slider {
  height: 95vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: transparent !important;
  /* Ensure background video is visible */
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.video-background iframe {
  width: 100vw;
  height: 56.25vw;
  /* 16:9 Aspect Ratio */
  min-height: 100vh;
  min-width: 177.77vh;
  /* 16:9 Aspect Ratio */
  position: absolute;
  top: 50%;
  left: 50%;
  /* Scale by 1.15x to hide YouTube branding/controls at edges */
  transform: translate(-50%, -50%) scale(1.1);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(48, 59, 78, 0.6), rgba(48, 59, 78, 0.6));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  /* Moved above overlay and video */
  /* Keeping text shadow for maximum pop */
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.hero-title-main {
  font-size: 4rem;
  color: var(--color-gold);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-main {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.hero-desc {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1rem;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-actions-main {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  background: var(--color-gold);
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  transform: scale(0.6);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-indicator-text {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 5px;
}

.scroll-mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--color-gold);
  border-radius: 15px;
  position: relative;
  box-shadow: 0 0 20px rgba(193, 155, 95, 0.3);
}

.scroll-mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}

.scroll-arrow {
  color: var(--color-gold);
  font-size: 1.5rem;
  animation: bounce-arrow 2s infinite;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

@keyframes bounce-arrow {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* --- Bannreplica-lightr Gold --- */
/* .banner-gold {
    background-color: var(--color-gold);
    padding: 40px 0;
    color: #fff;
}

.banner-gold h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
} */

/* --- Section Titles --- */
.section-title-alt {
  font-size: 1.75rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle-alt {
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 0.9375rem;
  color: #666;
}

/* --- Who We Work With (Replica) --- */
.who-section {
  background-color: #f7f9fb;
  background-image: url("../img/pattern.png");
  background-repeat: repeat;
  padding: 100px 0;
}

.section-title-replica {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-blue);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.section-subtitle-replica {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  color: #888;
  font-size: 1rem;
  line-height: 1.5;
}

.grid-replica {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 30px auto;
  position: relative;
  z-index: 10;
  margin-bottom: -120px;
  /* Pull the next section up */
}

.card-replica {
  background: #fff;
  padding: 30px 40px;
  border-radius: var(--border-radius-15);
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: 0.3s;
}

.card-replica:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex: 0 0 60px;
}

.icon-wrap img {
  width: 60px;
  height: auto;
  display: block;
}

.content-wrap h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #555;
  line-height: 1.4;
  margin: 0;
}

/* --- About Saudi Property Expo (Replica) --- */
/* .about-replica {
    background-image: url('../img/about-title.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    background-color: #0c1a30;
    padding: 220px 0 250px;
    position: relative;
    color: #fff;
    text-align: center;
    z-index: 1;
} */

@media (max-width: 768px) {
  .about-replica {
    background-color: #0c1a30;
    /* Darker navy to match the image sky */
    background-image: url("../img/about-title.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    /* Fit width, auto height to keep buildings at bottom */
    padding: 60px 0 160px;
    /* Text space + space for image at bottom */
  }
}

.about-title-main {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.about-content-wrap {
  max-width: 850px;
  margin: 0 auto;
}

.about-content-wrap p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 25px;
  opacity: 0.95;
  font-weight: 400;
}

/* --- Core Product Replicas --- */
/* .replica-white {
    background: #fff;
}

.replica-light {
    background: var(--color-light);
    border-top: 1px solid #efefef;
}

.replica-label {
    display: block;
    font-size: 0.8125rem;
    letter-spacing: 2px;
    color: #999;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.replica-title-navy {
    color: var(--color-blue);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 30px;
} */

/* .replica-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
} */

.pill-outline {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 20px 30px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(0);
  transition: 0.3s ease-in-out;
  /* margin: 0 15px; Removed to prevent overflow in grid */
  text-align: center;
  /* Ensure text is centered */
}

.pill-outline:hover {
  transform: translateY(-5px);
}

/* --- Support Boxes --- */
.replica-boxes {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.box-gold,
.box-green {
  flex: 1;
  padding: 40px;
  border-radius: 8px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-gold {
  background-color: var(--color-gold);
}

.box-green {
  background-color: var(--color-green);
}

.replica-support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.support-card-mini {
  background: #fff;
  padding: 25px;
  border: 1px solid #efefef;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #666;
  line-height: 1.4;
  text-align: center;
}

/* --- Tagline Replica --- */
.replica-tagline {
  background: var(--gold-gradient);
  padding: 50px 0;
  color: var(--color-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.replica-tagline h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Why Replica --- */
.replica-navy {
  background:
    linear-gradient(rgba(48, 59, 78, 0.92), rgba(48, 59, 78, 0.92)),
    url("../img/skyline-saudi.webp") center bottom/cover no-repeat;
  padding: 120px 0;
  position: relative;
  z-index: 1;
  color: #fff;
}

.replica-title-navy,
.replica-title-gold {
  letter-spacing: 2px;
  font-weight: 900;
}

.replica-title-gold {
  color: var(--color-gold);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 60px;
}

.replica-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.why-card-gold {
  background: var(--gold-gradient);
  padding: 45px 25px;
  border-radius: var(--border-radius-15);
  color: #fff;
  text-align: center;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.why-icon-white {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  color: #fff;
}

.why-icon-white svg {
  width: 100%;
  height: 100%;
}

.why-card-gold p {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.why-card-gold:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* --- Marketing Grid --- */
.marketing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.marketing-item {
  background: #fff;
  padding: 50px 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-15);
  transition: 0.4s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.marketing-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: 0.3s;
}

.marketing-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.marketing-item:hover::after {
  opacity: 1;
}

.marketing-icon-img {
  width: 65px;
  height: 65px;
  margin: 0 auto 25px;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.marketing-item p {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-blue);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- CTA --- */
.cta-green {
  background-color: var(--color-green);
  padding: 60px 0;
  color: #fff;
}

.cta-green h2 {
  font-size: 1.75rem;
  letter-spacing: 1px;
}

/* --- Footer --- */
.site-footer-final {
  background-color: #232b3a;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 30px;
  font-weight: 600;
  font-size: 0.875rem;
}

.footer-logo {
  height: 75px;
  /* Increased from 45px */
  width: auto;
  margin-bottom: 25px;
  display: block;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  margin-bottom: 25px;
  font-size: 0.875rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #ccc;
  font-size: 0.875rem;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: var(--color-gold);
}

/* Organizer Logos */
.footer-organizers {
  text-align: center;
}

.organizer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.org-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.social-links-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-links-footer h4 {
  margin-bottom: 0 !important;
  font-size: 0.8125rem !important;
  color: #999;
}

.footer-social-icons {
  display: flex;
  gap: 15px;
}

.footer-social-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s;
}

.footer-social-icons a:hover {
  color: var(--color-gold);
}

@media (max-width: 992px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col.footer-about {
    grid-column: span 2;
  }

  .footer-col.footer-organizers {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-col.footer-about,
  .footer-col.footer-organizers {
    grid-column: span 1;
  }
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: #666;
}

/* --- MODALS --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: #fff;
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  max-height: 90vh;
  /* Ensure it fits on screen */
  overflow-y: auto;
  /* Scrollable if too tall */
}

/* Gold Theme Custom Modal */
.modal-gold-theme {
  background: #c19b5f !important;
  /* Gold Background */
  max-width: 600px;
  /* Slightly wider for the 2-column layout */
  border-radius: 12px;
}

.modal-header-custom {
  padding: 30px 40px 10px;
}

.modal-title-navy {
  color: #3c465a;
  /* Navy */
  font-weight: 900;
  font-size: 1.75rem;
  text-transform: uppercase;
  margin-bottom: 5px;
  line-height: 1.2;
}

.modal-subtitle-white {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0;
}

.modal-body-custom {
  padding: 20px 40px 40px;
}

.form-control-custom {
  display: block;
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: none;
  /* No border as per design */
  border-radius: 6px;
  transition: box-shadow 0.15s ease-in-out;
}

.form-control-custom:focus {
  color: #495057;
  background-color: #fff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}

.form-select-custom {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  appearance: none;
}

textarea.form-control-custom {
  resize: none;
}

.btn-navy-solid {
  background-color: #3c465a;
  color: #fff;
  font-weight: 600;
  padding: 12px 40px;
  border-radius: 6px;
  border: none;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-navy-solid:hover {
  background-color: #2c3444;
  color: #fff;
  transform: translateY(-2px);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  opacity: 0.8;
}

.close-modal:hover {
  opacity: 1;
}

/* Original Modal Styles (kept for Buyer Modal compatibility) */
.close-modal.text-dark {
  color: #000;
}

.modal-header {
  background: var(--color-blue);
  padding: 30px;
  color: #fff;
  text-align: center;
}

.modal-body {
  padding: 40px;
}

/* Old developer modal style - kept just in case but likely unused now */
/* Navy Theme Custom Modal (Buyer) */
.modal-navy-theme {
  background: #3c465a !important;
  /* Navy Background */
  border: 2px solid #2196f3;
  /* Light Blue inner border as per image */
  box-shadow: 0 0 0 4px #3c465a;
  /* Outer shadow to create spacing for border if needed */
  max-width: 600px;
  border-radius: 6px;
  padding: 10px;
  /* Space for the inner border design */
}

/* Specific inner container to hold the border if needed, or apply directly */
/* Based on image, it looks like a simple border around the dark box */

.modal-title-gold {
  color: #c19b5f;
  /* Gold */
  font-weight: 900;
  font-size: 1.75rem;
  text-transform: uppercase;
  margin-bottom: 5px;
  line-height: 1.2;
}

.btn-gold-solid {
  background-color: #c19b5f;
  color: #fff;
  font-weight: 600;
  padding: 12px 40px;
  border-radius: 6px;
  border: none;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-gold-solid:hover {
  background-color: #a3824a;
  color: #fff;
  transform: translateY(-2px);
}

#developer-modal .modal-header {
  background: var(--color-gold);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* --- ABOUT PAGE HEADER & INTRO --- */
.about-header-bg {
  background-color: #303b4e;
  height: 70px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  /* Behind everything */
}

.intro {
  padding: 180px 0 80px;
  background-color: transparent;
  /* Show navy bar behind */
  position: relative;
}

.about-intro h1.replica-title-navy {
  color: #c19b5f !important;
  font-size: 3.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.about-subtitle {
  font-size: 1.5rem;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
}

/* --- Gold Banner --- */
.about-gold-banner {
  background:
    url("../img/pattern.png") repeat,
    #c19b5f;
  /* padding: 20px 0; */
  color: #fff;
  position: relative;
  overflow: visible;
  /* CRITICAL */
  min-height: 400px;
  display: flex;
  align-items: center;
}

.about-building-img {
  position: absolute;
  right: 0;
  bottom: 0;
  /* Overhang effect */
  height: 550px;
  width: auto;
  z-index: 10;
  pointer-events: none;
}

.gold-banner-content {
  max-width: 650px;
  position: relative;
  z-index: 5;
}

.gold-banner-content p {
  font-size: 0.9375rem;
  margin-bottom: 12px;
  font-weight: 400;
  line-height: 1.6;
}

/* --- Ecosystem --- */
.ecosystem-section {
  padding: 150px 0;
  background-color: #fff;
}

.ecosystem-img {
  position: relative;
  z-index: 1;
}

.ecosystem-card {
  background: #fff url("../img/pattern.png") repeat !important;
  padding: 60px;
  border-radius: 2px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  margin-left: -150px;
}

.ecosystem-card h3 {
  color: var(--color-blue);
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 30px;
}

.ecosystem-card ul {
  list-style: none;
  padding: 0;
}

.ecosystem-card ul li {
  padding: 18px 0 18px 30px;
  border-bottom: 1px solid #eee;
  color: #444;
  font-weight: 500;
  position: relative;
  line-height: 1.4;
}

.ecosystem-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 900;
}

.ecosystem-card ul li:last-child {
  border-bottom: none;
}

/* --- Operational Mandate --- */
.mandate-section {
  padding: 80px 0;
}

.mandate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 100px;
  margin: 20px 0;
  text-align: left;
}

.mandate-item {
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
  color: #fff !important;
  /* Force white text */
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
}

.mandate-footer {
  margin: 1.2rem 0 1.5rem 0;
  font-size: 1.125rem;
  color: var(--color-gold) !important;
  font-weight: 400;
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.stat-card {
  text-align: center;
}

.stat-num {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.stat-label {
  font-size: 0.8125rem;
  color: #777;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.4;
}

/* --- Framework --- */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.framework-card {
  background: #fff;
  padding: 50px 40px;
  border-radius: var(--border-radius-15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  text-align: left;
  border: 1px solid #f0f0f0;
  transition: 0.4s;
  position: relative;
}

.framework-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
  border-color: var(--color-gold);
}

.fw-num {
  font-size: 3.75rem;
  font-weight: 900;
  color: #f7f7f7;
  position: absolute;
  top: 20px;
  right: 30px;
  line-height: 1;
}

.framework-card h4 {
  color: var(--color-blue);
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.framework-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Defines Section --- */
.defines-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.define-card {
  background: var(--color-blue);
  padding: 35px 25px;
  border-bottom: 4px solid var(--color-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: 0.4s;
  line-height: 1.4;
  border-radius: var(--border-radius-15);
}

.define-card:hover {
  border-top-color: var(--color-gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* --- Principles Section --- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.principle-box {
  background: #fff;
  padding: 30px 20px;
  border: 1px solid #f0f0f0;
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--color-blue);
  border-bottom: 3px solid #f0f0f0;
  transition: 0.3s;
  border-radius: var(--border-radius-15);
}

.light-text,
.light-text div,
.light-text p {
  color: #fff !important;
}

.principle-box:hover {
  border-bottom-color: var(--color-gold);
}

/* --- Positioning Section --- */
.positioning-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.pos-card {
  background: var(--color-light);
  padding: 40px 30px;
  border-left: 1px solid #f0f0f0;
  position: relative;
  transition: 0.4s;
  border-radius: var(--border-radius-15);
}

.pos-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--gold-gradient);
  transition: 0.4s;
}

.pos-card:hover {
  background: #fafafa;
}

.pos-card:hover::before {
  height: 100%;
}

.pos-card h4 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-blue);
  text-transform: uppercase;
  line-height: 1.4;
}

/* --- Authority Tagline --- */
.authority-tagline {
  background: var(--color-light);
  padding: 40px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.authority-tagline h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-blue);
  letter-spacing: 1px;
  line-height: 1.3;
}

.replica-gray-pattern {
  background: var(--color-gray) url(../img/pattern.png) repeat !important;
}

/* Responsive for About */
@media (max-width: 992px) {

  .defines-grid,
  .principles-grid,
  .positioning-grid,
  .grid-5-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .defines-grid,
  .principles-grid,
  .positioning-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .defines-grid,
  .principles-grid,
  .positioning-grid,
  .grid-5-cols,
  .grid-4-cols {
    grid-template-columns: 1fr !important;
  }
}

/* Responsive for About */
@media (max-width: 992px) {
  .ecosystem-layout {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .framework-grid {
    grid-template-columns: 1fr;
  }

  .stat-num {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .grid-replica {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: -100px;
  }

  .replica-support-grid,
  .marketing-grid,
  .replica-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .replica-title-navy,
  .about-title-main,
  .replica-title-gold {
    font-size: 1.875rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 0;
  }

  .header-container {
    /* Removed border-radius: 0 to keep pill shape on mobile */
    padding: 12px 20px;
  }

  .hero-title-main {
    font-size: 2.25rem;
  }

  .hero-subtitle-main {
    font-size: 1.125rem;
  }

  .hero-desc {
    font-size: 0.875rem;

    br {
      display: none;
    }
  }

  .grid-replica {
    grid-template-columns: 1fr;
    margin-bottom: 0px;
    /* Disable overlap on mobile */
  }

  .about-title-main {
    font-size: 1.75rem;
    /* Reduced from 2.25rem to fit better */
  }

  .about-content-wrap p {
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Ensure readability against image */
  }

  .replica-boxes {
    flex-direction: column;
  }

  .replica-support-grid,
  .marketing-grid,
  .replica-why-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Fix CTA buttons stacking on mobile */
  .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 0 20px;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-logo {
    margin: 0 auto 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .header-logo {
    height: 55px;
    /* Further enlarged from 50px */
  }

  .main-nav ul {
    gap: 15px;
  }

  .main-nav a {
    font-size: 0.6875rem;
  }

  .btn-header {
    padding: 8px 15px;
  }
}

.section-subtitle-white {
  color: #fff !important;
}

.gov-navy-body {
  background: #3c465a;
  background: url(../img/globe-blue.png) no-repeat center center;
  background-size: contain;
  background-position: right;
  /* Using the specific blue from variables or screenshot if darker */
  background-color: var(--color-blue);
  color: #fff;
}

.gov-navy-body .container {
  padding: 0;
}

.gov-navy-body .col-lg-6 {
  padding: 40px 0;
}

.gov-navy-body p,
.gov-navy-body li {
  color: #fff;
}

.gov-navy-body ul {
  padding: 0;
}

.gov-navy-body ul li {
  padding: 0.5rem 0;
}

@media (max-width: 992px) {
  .gov-navy-img {
    padding-left: 0;
    margin-top: 30px;
  }
}

.gov-gold-header {
  background-color: var(--color-gold);
  color: var(--color-blue);
  padding: 50px 0;
}

.gov-gold-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-blue);
  letter-spacing: 1px;
  line-height: 1.3;
}

/* --- Utilities --- */
.center-grid {
  justify-content: center;
}

.replica-why-grid.center-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.replica-why-grid.center-grid>* {
  flex: 0 0 calc(20% - 15px);
  /* 5 items per row handling */
  max-width: calc(20% - 15px);
}

@media (max-width: 992px) {
  .replica-why-grid.center-grid>* {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  /* Ecosystem Card Reset */
  .ecosystem-card {
    margin-left: 0;
    margin-top: 30px;
  }

  /* Governance Body Mobile Updates */
  .gov-navy-body {
    background-position: center bottom;
    background-size: 50%;
    padding-bottom: 200px;
  }

  .gov-navy-body .container {
    padding: 0 20px;
  }

  .gov-navy-body .col-lg-6 {
    padding: 20px 0;
  }
}

@media (max-width: 600px) {
  .replica-why-grid.center-grid>* {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .ecosystem-card {
    padding: 30px;
    margin-top: 20px;
  }

  .gov-navy-body {
    background-image: none;
    padding-bottom: 50px;
  }
}

/* --- Scale & Selectivity Section --- */
.scale-content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.scale-section {
  padding-bottom: 100px !important;
  position: relative;
  z-index: 1;
}

.scale-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  /* transform: translateY(200px); */
  position: relative;
  z-index: 100;
}

@media (max-width: 992px) {
  .scale-grid {
    grid-template-columns: 1fr;
    transform: translateY(120px);
  }

  .scale-section {
    padding-bottom: 15px !important;
  }

  .cities-grid {
    grid-template-columns: 1fr;
    transform: translateY(-100px);
    margin-bottom: 0;
  }

  .cities-section-green {
    padding-top: 50px;
  }
}

.scale-box {
  background-color: var(--color-blue);
  /* Navy */
  padding: 45px 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 180px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.scale-box:hover {
  transform: translateY(-5px);
}

.scale-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.scale-label {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.3;
}

/* --- City Cards Section --- */
.cities-section-green {
  background-color: var(--color-green);
  padding: 60px 0 60px;
  /* Reduced bottom padding to bring heading up */
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: -220px;
  /* Pulls the grid up to overlap the previous section */
  margin-bottom: 10px;
  /* Reduced gap to move heading closer to cities */
  position: relative;
  z-index: 100;
  margin-bottom: 60px;
}

.city-card {
  height: 320px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.city-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: transform 0.5s ease;
}

.city-card:hover .city-bg {
  transform: scale(1.05);
}

.city-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 40px;
  text-align: center;
  z-index: 2;
}

.city-card .city-name,
.city-card .city-desc {
  transition:
    transform 0.3s ease,
    text-shadow 0.3s ease,
    opacity 0.3s ease;
}

.city-card:hover .city-name {
  transform: translateY(-2px);
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.city-card:hover .city-desc {
  opacity: 1;
  color: #fff;
  transform: translateY(-2px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.city-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.city-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.4;
  max-width: 90%;
}

/* --- Developer Options Section --- */
.dev-options-section {
  background-color: transparent;
  padding: 0 0 60px;
  margin-top: -35px;
  /* Pulls pills up so they sit on the transition line */
  position: relative;
  z-index: 110;
}

.dev-options-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dev-pill {
  background-color: #f7f9fa;
  padding: 20px 40px;
  border-radius: 12px;
  color: #4a5a6a;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  min-width: 250px;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: 1px solid #eee;
}

.dev-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  color: var(--color-blue);
  border-color: var(--color-gold);
}

.dev-footer-text {
  text-align: center;
  color: #888;
  font-weight: 600;
  margin-top: 40px;
  font-size: 0.95rem;
}

/* --- Additional Mobile Responsiveness --- */
@media (max-width: 768px) {
  .dev-pill {
    min-width: 200px;
    padding: 15px 30px;
    font-size: 0.95rem;
  }

  .dev-options-section {
    margin-top: -20px;
    padding-bottom: 40px;
  }

  .city-card {
    height: 250px;
  }

  .city-name {
    font-size: 2rem;
  }

  .city-desc {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .unified-heading {
    font-size: 1.8rem;
  }

  .scale-box {
    padding: 30px 20px;
    min-height: 150px;
  }

  .scale-number {
    font-size: 2.5rem;
  }

  .scale-label {
    font-size: 1rem;
  }

  .city-card {
    height: 200px;
  }

  .city-name {
    font-size: 1.5rem;
  }

  .dev-pill {
    width: 100%;
    max-width: 300px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* --- Hamburger Menu --- */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-blue);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

body.menu-open {
  overflow: hidden;
}

/* --- Mobile Navigation Styles --- */
@media (max-width: 992px) {
  .hamburger-menu {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 20px;
  }

  .main-nav ul li {
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }

  .main-nav ul li:last-child {
    border-bottom: none;
  }

  .main-nav ul li a {
    color: var(--color-blue);
    font-size: 1.1rem;
  }

  .btn-header {
    display: inline-block;
    margin-top: 10px;
  }
}

/* --- Fix Hamburger Menu Position and Visibility --- */
@media (max-width: 992px) {
  .header-container {
    padding: 12px 20px;
  }

  .hamburger-menu {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 1001;
    padding-top: 100px;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 0;
    margin: 0 !important;
  }

  .main-nav ul li {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .main-nav ul li a {
    display: block;
    padding: 15px 10px;
    color: var(--color-blue);
    font-size: 1rem;
    border-bottom: 1px solid #eee;
  }

  .main-nav ul li:last-child a {
    border-bottom: none;
  }

  .btn-header {
    margin-top: 10px;
    text-align: center;
  }
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

body.menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* --- Ensure Hamburger is Visible on Mobile --- */
@media (max-width: 768px) {
  .site-header {
    top: 0;
  }

  .header-container {
    /* Removed border-radius: 0 to keep pill shape on mobile */
    padding: 15px 20px;
  }

  .header-logo {
    height: 55px;
    /* Further enlarged from 50px */
  }
}

/* --- Updated Hamburger Menu with Font Awesome Icons --- */
.hamburger-menu {
  display: none;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.hamburger-menu i {
  font-size: 24px;
  color: var(--color-blue);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.hamburger-icon {
  opacity: 1;
}

.close-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.hamburger-menu.active .hamburger-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.hamburger-menu.active .close-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

/* --- Comprehensive Mobile Improvements --- */
@media (max-width: 576px) {
  .unified-heading {
    font-size: 1.5rem;
    line-height: 1.3;
    padding: 0 10px;
  }

  .section {
    padding: 50px 20px;
  }

  .intro {
    padding: 120px 20px 50px 20px;
  }

  .container {
    padding: 0 15px;
  }

  .scale-box {
    min-height: 120px;
    padding: 20px 15px;
  }

  .scale-number {
    font-size: 2rem;
  }

  .scale-label {
    font-size: 0.85rem;
  }

  .city-card {
    height: 180px;
  }

  .city-name {
    font-size: 1.3rem;
  }

  .city-desc {
    font-size: 0.85rem;
    padding: 0 10px;
  }

  .dev-pill {
    font-size: 0.85rem;
    padding: 12px 25px;
  }

  .participation-card h3,
  .join-card h3 {
    font-size: 1.1rem;
  }

  .participation-card p,
  .join-card p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.75rem;
  }
}

/* --- WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #fff;
  transform: scale(1.1);
}

.my-float {
  margin-top: 0;
}

/* --- Participation Options --- */
.participation-section {
  padding: 80px 0;
}

.participation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.participation-card {
  background: #fff;
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.participation-card:hover {
  transform: translateY(-5px);
}

.participation-card h3 {
  color: var(--color-blue);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.participation-card p {
  color: #6a7682;
  font-size: 1rem;
  margin-bottom: 0;
}

.participation-footer {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 50px;
}

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

/* --- Join Grid (Why Developers Should Join) --- */
.join-section {
  padding: 80px 0;
  position: relative;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.join-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
  border: 1px solid #f9f9f9;
}

.join-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.join-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1;
  color: #111;
}

.join-card h3 {
  font-size: 1.1rem;
  color: #444;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: capitalize;
}

.join-card p {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 0;
}

.footer-gold-bar {
  height: 20px;
  background: #c19b5f;
  width: 100%;
}

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

/* --- Platform Statement --- */
.platform-statement {
  padding: 40px 0;
}

/* --- Buyers Section --- */
.buyers-section {
  padding: 80px 0;
}

.buyers-pills {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.buyer-pill {
  background: var(--color-blue);
  color: #fff;
  padding: 20px 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  min-width: 200px;
  text-align: center;
}

.buyers-footer {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Buyer Experience Timeline --- */
.buyer-experience-section {
  background: #f5f5f5;
  padding: 80px 0;
}

.timeline {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.timeline-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #c19b5f;
  border: 4px solid #c19b5f;
  position: relative;
  z-index: 2;
}

.timeline-connector {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 100%;
  height: 4px;
  background: #c19b5f;
  z-index: 1;
}

.timeline-item:last-child .timeline-connector {
  display: none;
}

.timeline-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-top: 20px;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1rem;
  color: var(--color-blue);
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

/* --- Sponsorship Section --- */
.sponsorship-section {
  padding: 60px 0;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .buyers-pills {
    flex-direction: column;
    align-items: center;
  }

  .buyer-pill {
    width: 100%;
    max-width: 400px;
  }

  /* Vertical Timeline for Mobile */
  .timeline {
    flex-direction: column;
    gap: 0;
    padding-left: 20px;
    /* Space for the line */
  }

  .timeline-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 40px;
    position: relative;
  }

  /* Vertical Line */
  .timeline-item::before {
    content: "";
    position: absolute;
    left: 30px;
    /* Center of the 60px circle */
    top: 0;
    bottom: 0;
    width: 4px;
    background: #c19b5f;
    z-index: 0;
    transform: translateX(-50%);
  }

  /* Remove line from last item */
  .timeline-item:last-child::before {
    display: none;
  }

  /* Hide horizontal connector */
  .timeline-connector {
    display: none;
  }

  /* Circle Styling */
  .timeline-circle {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    z-index: 1;
    background: #fff;
    /* Ensure line doesn't show through */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 4px #c19b5f;
    /* Simulate border to cover line */
    border: none;
    margin-right: 25px;
  }

  /* Number inside circle */
  .timeline-number {
    font-size: 1.5rem;
    margin: 0;
    color: var(--color-blue);
    z-index: 2;
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Content styling */
  .timeline-content {
    padding-top: 10px;
  }

  .timeline-content h3 {
    text-align: left;
    font-size: 1.125rem;
  }
}

/* --- Sponsorship Pills --- */
.sponsorship-pills {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.sponsorship-pill {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-blue);
  color: #fff;
  padding: 20px 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  min-width: 180px;
  text-align: center;
  line-height: 1.4;
}

.sponsorship-footer {
  color: #666;
  font-size: 0.95rem;
  margin-top: 20px;
}

/* --- Registration Section --- */
.registration-section {
  padding: 80px 0;
}

.registration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.registration-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.registration-card h3 {
  color: var(--color-blue);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.registration-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.registration-card li {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.registration-card li:last-child {
  border-bottom: none;
}

/* --- Additional Responsive Rules --- */
@media (max-width: 768px) {
  .registration-grid {
    grid-template-columns: 1fr;
  }

  .sponsorship-pills {
    flex-direction: column;
    align-items: center;
  }

  .sponsorship-pill {
    width: 100%;
    max-width: 350px;
  }
}

/* --- Comprehensive Mobile Responsiveness --- */
@media (max-width: 576px) {

  .participation-section,
  .join-section,
  .buyers-section,
  .buyer-experience-section,
  .registration-section {
    padding: 50px 20px;
  }

  .participation-card,
  .join-card {
    padding: 30px 20px;
  }

  .join-number {
    font-size: 2.5rem;
  }

  .registration-card {
    padding: 30px 20px;
  }

  .registration-card h3 {
    font-size: 1.3rem;
  }

  .buyer-pill,
  .sponsorship-pill {
    padding: 15px 30px;
    font-size: 0.95rem;
  }
}

/* --- Enhanced Mobile Typography and Spacing --- */
@media (max-width: 576px) {
  .platform-statement {
    padding: 30px 0;
  }

  .platform-statement .unified-heading {
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .buyers-section,
  .buyer-experience-section,
  .registration-section,
  .sponsorship-section {
    padding: 50px 20px;
  }

  .buyer-pill,
  .sponsorship-pill {
    padding: 15px 25px;
    font-size: 0.9rem;
    min-width: auto;
  }

  .buyers-footer,
  .sponsorship-footer {
    font-size: 0.85rem;
    padding: 0 10px;
  }

  .registration-card {
    padding: 25px 15px;
  }

  .registration-card h3 {
    font-size: 1.2rem;
  }

  .registration-card li {
    font-size: 0.85rem;
    padding: 6px 0;
  }

  .join-number {
    font-size: 2.5rem;
  }

  .join-card {
    padding: 30px 20px;
  }
}

/* ========================================
   HAMBURGER MENU - MOBILE NAVIGATION
   ======================================== */

/* Hamburger Button Base Styles */
.hamburger-menu {
  display: none;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

/* Font Awesome Icons */
.hamburger-menu i {
  font-size: 26px;
  color: var(--color-blue);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.hamburger-icon {
  opacity: 1;
}

.close-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.hamburger-menu.active .hamburger-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.hamburger-menu.active .close-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

body.menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* Mobile Menu Header (Logo Area) */
.mobile-nav-header {
  display: none;
  padding: 20px;
  border-bottom: 2px solid #f0f0f0;
  background: #fff;
  text-align: center;
}

.mobile-nav-logo {
  height: 40px;
  width: auto;
}

/* Mobile Menu Footer (Contact & Social) */
.mobile-nav-footer {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f8f9fa;
  padding: 20px;
  border-top: 2px solid #e9ecef;
}

.mobile-contact {
  margin-bottom: 20px;
  text-align: center;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-email:hover {
  color: var(--color-gold);
}

.contact-email i {
  font-size: 14px;
}

.mobile-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-gold);
  transform: translateY(-3px);
}

.social-link i {
  font-size: 16px;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablets and Below (≤992px) */
@media (max-width: 992px) {
  .hamburger-menu {
    display: flex;
  }

  .header-container {
    padding: 12px 20px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 1001;
    padding-top: 0;
    padding-bottom: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 0;
    margin: 0 !important;
    flex-grow: 1;
  }

  .main-nav ul li {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .header-logo {
    height: 55px;
  }

  .main-nav ul li a {
    display: block;
    padding: 22px 20px;
    /* Increased padding */
    color: var(--color-blue);
    font-size: 1.25rem;
    /* Increased font size */
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
    font-weight: 600;
  }

  .main-nav ul li a:hover {
    background: #f8f9fa;
  }

  .main-nav ul li:last-child a {
    border-bottom: none;
  }

  .btn-header {
    margin-top: 10px;
    text-align: center;
    width: 100%;
  }

  .mobile-nav-header {
    display: block;
  }

  .mobile-nav-footer {
    display: block;
  }
}

/* Mobile Phones (≤768px) */
@media (max-width: 768px) {
  .site-header {
    top: 0;
  }

  .header-container {
    border-radius: 0;
    padding: 12px 15px;
  }

  .header-logo {
    height: 55px;
  }

  .hamburger-menu i {
    font-size: 24px;
  }
}

/* Small Mobile (≤576px) */
@media (max-width: 576px) {
  .main-nav {
    width: 100%;
    max-width: 300px;
  }

  .header-container {
    padding: 10px 15px;
  }

  .header-logo {
    height: 50px;
  }
}

/* --- Scale & Selectivity Section --- */
.scale-content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.scale-section {
  padding-bottom: 0 !important;
  position: relative;
  z-index: 5;
}

.scale-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: -190px;
  margin-bottom: -130px;
  /* Pulls cards down to overlap bottom section */
  position: relative;
  z-index: 10;
}

.scale-box {
  background-color: var(--color-blue);
  /* Navy */
  padding: 45px 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 180px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.scale-box:hover {
  transform: translateY(-5px);
}

.scale-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.scale-label {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.3;
}

/* --- City Cards Section --- */
.cities-section-green {
  background-color: var(--color-green);
  padding: 100px 0 60px;
  /* Padding top for cities, bottom space before title */
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 80px;
  /* Space between cities and the 'Who Should Participate' title below */
}

.city-card {
  height: 320px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  /* Individual bg images will be set inline or via utility classes */
}

.city-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 40px;
  text-align: center;
  transition: background 0.3s;
}

.city-card:hover .city-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.2) 100%);
}

.city-name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.city-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.4;
  max-width: 90%;
}

/* --- Developer Options Section --- */
.dev-options-section {
  background-color: #fff;
  padding: 60px 0 100px;
}

.dev-options-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dev-pill {
  background-color: #f7f9fa;
  padding: 20px 40px;
  border-radius: 5px;
  /* Slight rounded as per image - wait image looks like soft rounded rect not full pill */
  border-radius: 12px;
  color: #4a5a6a;
  /* Dark gray */
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  min-width: 250px;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.dev-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  color: var(--color-blue);
}

.dev-footer-text {
  text-align: center;
  color: #888;
  font-weight: 600;
  margin-top: 40px;
  font-size: 0.95rem;
}

/* ========================================
   ROADSHOW PAGE - MOBILE OPTIMIZATIONS
   ======================================== */

@media (max-width: 768px) {

  /* --- Hero Section --- */
  .hero-actions-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
  }

  .hero-actions-main .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 !important;
    padding: 25px 20px;
  }

  /* --- Why India Grid --- */
  .replica-why-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-top: 30px;
  }

  .why-card-gold {
    padding: 30px 20px;
    min-height: auto;
    width: 100%;
  }

  /* --- Developer Options (Pills) --- */
  .dev-options-row {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .dev-pill {
    width: 100%;
    max-width: 350px;
    margin: 0 !important;
    min-width: unset;
  }

  /* --- Scale Grid (Overrides) --- */
  .scale-grid {
    grid-template-columns: 1fr !important;
    margin-top: -50px !important;
    transform: none !important;
    gap: 20px;
  }

  .scale-section {
    padding-top: 100px !important;
  }

  .scale-box {
    min-height: auto;
    padding: 30px;
  }

  /* --- Cities Grid (Overrides) --- */
  .cities-grid {
    grid-template-columns: 1fr !important;
    transform: none !important;
    margin-top: 50px !important;
    margin-bottom: 40px !important;
    gap: 20px;
  }

  .cities-section-green {
    padding-top: 50px !important;
  }

  /* --- Mandate Grid --- */
  .mandate-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* --- Participation Grid --- */
  .participation-grid {
    grid-template-columns: 1fr !important;
  }

  /* --- Join Grid --- */
  .join-grid {
    grid-template-columns: 1fr !important;
  }

  .join-card {
    margin-bottom: 20px;
  }

  /* --- Global Type Adjustments --- */
  .unified-heading {
    font-size: 2rem !important;
  }
}

/* Mobile Phones (≤576px) */
@media (max-width: 576px) {

  /* About Intro Section Alignment */
  .about-intro {
    padding: 120px 0 30px;
    margin-top: 0;
  }

  .unified-heading {
    font-size: 1.8rem !important;
    line-height: 1.2;
  }
}

/* ========================================
   ABOUT PAGE - MOBILE OPTIMIZATIONS
   ======================================== */

/* Mobile Phones (≤576px) */
@media (max-width: 576px) {

  /* About Intro Section */
  /* About Intro Section */
  .about-intro {
    padding: 120px 0 30px;
    /* Increased from 40px to clear fixed header */
    margin-top: 0;
  }

  .replica-title-navy {
    font-size: 1.8rem;
    line-height: 1.2;
    padding: 0 15px;
  }

  .about-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 15px;
  }

  /* Gold Banner Section */
  .about-gold-banner {
    padding: 40px 0 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    /* Ensure flex behavior */
    flex-direction: column;
    /* Stack children vertically */
  }

  .gold-banner-content {
    padding: 0 20px;
  }

  .gold-banner-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .about-building-img {
    position: static;
    /* Reset absolute positioning */
    max-width: 100%;
    height: auto;
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /* Ecosystem Section */
  .ecosystem-section {
    padding: 40px 0;
  }

  .ecosystem-card {
    margin-top: 30px;
    padding: 25px 20px;
  }

  .ecosystem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .ecosystem-card p,
  .ecosystem-card li {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .ecosystem-card ul {
    padding-left: 20px;
  }

  /* Operational Mandate Section */
  .mandate-section {
    padding: 40px 0;
  }

  .replica-title-gold {
    font-size: 1.6rem;
    line-height: 1.2;
    padding: 0 15px;
  }

  .section-subtitle-white {
    font-size: 0.9rem;
    padding: 0 15px;
  }

  .mandate-grid {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .mandate-item {
    font-size: 0.85rem;
    padding: 15px;
  }

  .mandate-footer {
    font-size: 0.9rem;
    padding: 0 15px;
    margin-top: 30px;
  }

  /* Why Section */
  .why-about-section {
    padding: 40px 0;
  }

  .replica-why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px !important;
  }

  .why-card-gold {
    padding: 25px 20px;
  }

  .why-card-gold p {
    font-size: 0.9rem;
  }

  /* Stats Section */
  .stats-section {
    padding: 40px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-card {
    padding: 25px 20px;
  }

  .stat-num {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  /* Framework Section */
  .framework-section {
    padding: 40px 0;
  }

  .framework-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .framework-card {
    padding: 25px 20px;
  }

  .fw-num {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .framework-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .framework-card p {
    font-size: 0.85rem;
  }

  /* Tagline Sections */
  .replica-tagline {
    padding: 40px 0;
  }

  .replica-tagline h2 {
    font-size: 1.4rem;
    line-height: 1.3;
    padding: 0 20px;
  }

  /* Defines Section */
  .defines-section {
    padding: 40px 0;
  }

  .defines-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .define-card {
    font-size: 0.9rem;
    padding: 20px 15px;
  }

  /* Principles Section */
  .principles-section {
    padding: 40px 0;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .principle-box {
    font-size: 0.9rem;
    padding: 20px 15px;
  }

  /* Positioning Section */
  .positioning-section {
    padding: 40px 0;
  }

  .positioning-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .pos-card {
    padding: 25px 20px;
  }

  .pos-card h4 {
    font-size: 1rem;
  }

  /* Credibility Section */
  .credibility-section {
    padding: 40px 0;
  }

  .grid-4-cols {
    grid-template-columns: 1fr;
  }

  /* Governance Section */
  .governance-new {
    margin-top: 0;
  }

  .gov-gold-header {
    padding: 40px 0;
  }

  .gov-gold-header h2 {
    font-size: 1.6rem;
    padding: 0 15px;
  }

  .gov-header-content p {
    font-size: 0.9rem;
    padding: 0 15px;
  }

  .gov-navy-body {
    padding: 40px 0;
  }

  .gov-navy-content p,
  .gov-navy-list li {
    font-size: 0.9rem;
  }

  /* Authority Tagline */
  .authority-tagline {
    padding: 40px 0;
  }

  .authority-tagline h2 {
    font-size: 1.4rem;
    line-height: 1.3;
    padding: 0 20px;
  }

  /* General Utilities */
  .mt-40 {
    margin-top: 25px !important;
  }

  .mt-30 {
    margin-top: 20px !important;
  }

  .text-small {
    font-size: 0.85rem;
  }
}

/* Tablets (≤768px) */
@media (max-width: 768px) {

  .replica-title-navy,
  .replica-title-gold {
    font-size: 2rem;
  }

  .replica-why-grid.grid-5-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .framework-grid {
    grid-template-columns: 1fr;
  }

  .defines-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .positioning-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Tablets (≤992px) */
@media (max-width: 992px) {
  .replica-why-grid.grid-5-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-intro {
  padding: 180px 0 40px;
  background-color: transparent;
  /* Show navy bar behind */
  position: relative;
}

h1.text-gold {
  color: var(--color-gold);
}

/* --- Office Grid & Cards --- */
.office-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin: 20px 0 50px;
}

.office-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  border-bottom: none;
  /* Removed bottom line as requested */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  grid-column: span 2;
}

/* Centering the bottom two cards in the 6-column grid */
.office-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.office-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.office-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(193, 155, 95, 0.15);
  border-color: var(--color-gold);
}

.office-flag {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.office-card h3 {
  color: var(--color-blue);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.office-details {
  width: 100%;
  margin-top: auto;
}

.office-details p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.office-details p i {
  color: var(--color-gold);
  margin-top: 3px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.office-details a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.office-details a:hover {
  color: var(--color-gold);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .office-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .office-card {
    padding: 30px 20px;
    grid-column: span 1 !important;
  }

  /* Scroll Indicator Mobile Adjustments */
  .scroll-indicator {
    bottom: 30px;
    transform: translateX(-50%) scale(0.9);
  }

  .scroll-indicator-text {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
  }

  .scroll-mouse {
    width: 25px;
    height: 42px;
  }

  .scroll-arrow {
    font-size: 1.2rem;
  }
}

/* --- Governance Section & Check Marks --- */
.governance-new {
  margin-top: 50px;
}

.gov-navy-body {
  background-color: var(--color-blue);
  color: #fff;
  padding: 80px 0;
  text-align: left;
}

.gov-navy-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.gov-navy-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.gov-navy-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  /* margin-bottom: 15px; */
  padding-left: 35px;
  position: relative;
}

@media (max-width: 768px) {
  .gov-navy-body {
    padding: 50px 0;
  }

  .gov-navy-content p,
  .gov-navy-list li {
    font-size: 1rem;
  }
}

/* home overlay section */

.overlay-section {
  /* Setup dimensions and background */
  min-height: 450px;
  background-color: var(--color-blue);
  position: relative;
  overflow: hidden;
  /* center the content */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-light);
}

.overlay-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  height: auto;
  z-index: 1;
}

.overlay-section .content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.overlay-section .icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.overlay-section .icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.overlay-section .icon-wrap img {
  max-width: 100%;
  height: auto;
}

/* about - stats */
/* Desktop Base Styles */
.stat-card {
  border: 1px solid #c5a059;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-top {
  padding: 30px 10px;
  font-size: 2rem;
  font-weight: 800;
  color: #000;
  background: #fff;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-bottom {
  padding: 20px 15px;
  /* Gold Gradient based on the image */
  background: linear-gradient(180deg, #c5a059 0%, #ecd091 100%);
  color: #fff;
  font-size: 0.9rem;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tablet Overrides */
@media (max-width: 992px) {
  .stat-top {
    font-size: 1.75rem;
  }

  .stat-bottom {
    min-height: 100px;
    font-size: 0.85rem;
  }
}

/* Mobile Overrides */
@media (max-width: 768px) {
  .stat-card {
    max-width: 350px;
    margin: 0 auto;
    /* Center cards when stacked */
  }
}

/* about - commercial positioning */

/* Base Desktop Styles */
.position-card {
  position: relative;
  background-color: var(--color-light);
  /* Light grey base */
  border-radius: 12px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
  overflow: hidden;
  /* Keeps the animation inside the rounded corners */
  border: none;
}

/* The Gold Line / Background Layer */
.position-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 5px;
  /* Initial golden line width */
  /* background: linear-gradient(180deg, #c5a059 0%, #ecd091 100%); */
  background: var(--gold-gradient);
  transition: width 0.4s ease-in-out;
  z-index: 1;
}

/* Hover Effect: Complete the div */
.position-card:hover::before {
  width: 100%;
}

/* Text Styling */
.card-text {
  position: relative;
  z-index: 2;
  /* Sits above the golden background */
  font-weight: 800;
  font-size: 0.9rem;
  color: #2c3e50;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.position-card:hover .card-text {
  color: #ffffff;
  /* Text turns white when background is gold */
}

/* --- Breakpoints --- */

/* Tablet (Max-width: 1024px) */
@media (max-width: 1024px) {
  .position-card {
    min-height: 140px;
  }
}

/* Mobile (Max-width: 768px) */
@media (max-width: 768px) {
  .position-card {
    min-height: 120px;
    max-width: 400px;
    margin: 0 auto;
  }

  .card-text {
    font-size: 0.85rem;
  }
}

/* saudi flag section */
.saudi-flag-section {
  background-color: var(--color-green);
  /* Saudi Green */
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
}

.saudi-map-absolute {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  object-fit: cover;
  z-index: 1;

  /* The feathered/blurred edge from the design */
  mask-image: linear-gradient(to left,
      rgba(0, 0, 0, 1) 75%,
      rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to left,
      rgba(0, 0, 0, 1) 75%,
      rgba(0, 0, 0, 0) 100%);
}

/* Ensure z-index works correctly for text readability */
.saudi-flag-section .container {
  z-index: 2;
}

.date-col {
  margin: 0 auto;
}

.date-grid .city {
  font-size: 1.2rem;
}

.date-grid .date {
  font-size: 1rem;
}

.text-bg-gold {
  color: #fff !important;
  background-color: var(--color-gold) !important;
}

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

.saudi-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.saudi-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-gold);
  font-weight: bold;
}

.scale_selectivity-heading-wrapper {
  padding-bottom: 220px;
}


/* Mobile styling for artwork/stats card */
@media (max-width: 576px) {
  .stat-card {
    border-radius: 25px;
    max-width: 100%;
    margin-bottom: 20px;
    padding: 0;
  }

  .stat-top {
    font-size: 3.5rem;
    /* Significantly larger numbers */
    padding: 20px 0 10px 0;
    font-weight: 900;
  }

  .stat-bottom {
    font-size: 1.2rem;
    padding: 30px 20px;
    min-height: auto;
    /* Allow natural height */
    align-items: flex-start;
    /* Align text to top */
  }

  .gov-navy-body {
    background-image: url("../img/pattern.png");
    background-repeat: repeat;
  }

  .gov-navy-content {
    padding: 0 20px;

  }

  .scale-grid {
    grid-template-columns: 1fr !important;
    margin: 0;
    margin-top: -190px !important;
    transform: none !important;
    gap: 20px;
    width: 100% !important;
  }

  .scale-box {
    width: 100%;
  }

  .cities-section-green {
    margin-top: -50px!important;
  }

}