    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: 'Montserrat', sans-serif;
      background: #ffffff;
      overflow-x: hidden;
    }
html, body {
  height: 100%;

  margin: 0;
  background-color: white;
}



    /* 🔹 NAVBAR */
.navbar {
  width: 100%;
  height: 90px;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
   transition: transform 0.4s ease, background 0.3s ease;
}
.navbar:hover,
.navbar.open {
  background:#53709f; /* adjust opacity as needed */
}
.navbar.hidden {
  transform: translateY(-100%);
}

.navbar.scrolled-up {
  transform: translateY(0);
}

.navbar.at-top {
  background: rgba(10, 80, 21, 0); /* fully transparent */
}

.navbar.at-top.hovered {
  background: rgba(83, 112, 159, 1); /* visible on hover */
}

.navbar.navbar-bg {
  background: rgba(83, 112, 159, 1); /* Your faded background */
}
.navbar nav {
  display: flex;
  gap: 2rem;
  position: relative;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 00;
  transition: opacity 0.3s;
  padding-right: 2rem;
}

.navbar nav a:hover {
  opacity: 0.7;
}

.nav-item {
  position: relative;
}

.dropdown {
  position: fixed;
  top: 90px;
  left: 0;
  width: 100vw;
  height: 300px;
  background: #53709f;
  display: flex;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease;
  z-index: 9;
}
.dropdown-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 26vw;
  padding-top: 1rem; /* optional: to match image alignment */
  padding-left: 4rem;
}

.dropdown-images {
  display: flex;
  gap: 0;
  height: 100%;
  margin-left: auto;       /* 👈 pushes images to far right */
  padding-right: 0;        /* remove if you added padding before */
}
.dropdown-connect {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background: transparent;
  width: 70vw;   /* Optional: limit max width */
  margin: 0 auto;      /* Center horizontally */
}

.connect-column {
  flex: 1; /* Equal width columns */
  min-width: 0; /* Prevent overflow */
  background-color: #6986b5;
  border-radius: 8px;
  padding: 2rem;
  color: white;
}
.connect-text h4 {
  margin-bottom: 0.5rem;
}

.connect-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.dropbtn {
  background: white;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.25rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dropbtn:hover {
  background: transparent
}
.dropbtn-submit {
  background: #53709F;
  color: #f0f0f0;
  border: none;
  padding: 0.55rem 1.05rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 0.5rem;
}

.dropbtn-submit:hover {
  background: white;
  color: #53709F;
}

.email-form {
  font-family: 'Montserrat', sans-serif;
  max-width: 500px;
  margin: 0;         /* remove default margin */
  padding: 0;        /* remove padding if needed */
  text-align: left;
  color: rgb(255, 255, 255);
  margin-top: 0.5rem;
}

.email-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.email-input-group {
  display: flex;
  align-items: center;
  background: rgb(255, 255, 255);
  border-radius: 6px;
  overflow: hidden;
}

.email-input-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: none;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  background-color:#53709F;
}

.email-input-group input::placeholder {
  color: #e7e7e7;
}


.image-box {
  position: relative;
  width: 23vw;
  height: 300px;
  overflow: hidden;
  /*border-radius: 6px;*/
}
.image-box2 {
  position: relative;
  width: 35vw;
  height: 100%;
  overflow: hidden;
  /*border-radius: 6px;*/
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}
.image-box img,
.image-box2 img {
  opacity: 0.8; /* adjust as needed */
  transition: opacity 0.3s ease;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* semi-transparent black */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  /*border-radius: 6px;*/
}
/* 🔹 Show overlay on hover */
.image-box:hover .overlay {
  opacity: 1;
}
.image-box2:hover .overlay {
  opacity: 1;
}

.image-btn {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: transparent;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.image-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-item.active .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown h4 {
  max-width: 400px;
  font-size: clamp(1rem, 2vw, 2rem);
  line-height: 1.5;
   margin: 0 0 0.5rem 0; /* remove default top margin and bring paragraph closer */
   color: white;
   font-weight: 200;
}

.dropdown p {
  font-size: clamp(0.8rem, 1vw, 1rem);
  line-height: 1.5;
 color: white;
  margin: 0;
}
.dropbtn {
  font-size: 1rem;
  line-height: 0.8;
 color: white;
  margin: 0;
  background: none;
  border: none;
  font-family: "Montserrat";
  padding: 0;
  margin-top: 1rem;
  cursor: pointer;
}

    /* 🔹 HERO SECTION */
 .hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: white;
  padding-top: 100px; /* space for navbar */
  background-color: #000;
}

    .bg-layer {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      transition: opacity 1s ease;
      z-index: 0;
      opacity: 0;
    }

    .bg-layer.visible {
      opacity: 0.7;
      z-index: 1;
    }

 .page-container {
  position: absolute;
  bottom: 8rem; /* same as nav-controls */
  left: 4rem;
  z-index: 2;
  max-width: 1600px;
  text-align: left;
}

    h1 {
      font-size: clamp(2rem, 6vw, 5rem);
      text-transform: uppercase;
      font-weight: 800;
      margin-bottom: 1rem;
      line-height: 1;
    }

    p {
      font-size: clamp(0.5rem, 3vw, 1.5rem);
      max-width: 800px;
      line-height: 1.6;
    }
.nav-controls {
  position: absolute;
  bottom: 4rem;
  left: 4rem;
  display: flex;
  gap: 2rem;
  z-index: 3;
}

.nav-controls button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid white;
  background-color: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  /* 🔹 Smooth animation */
  transition: transform 0.25s ease, background 0.3s ease;
}

/* 🔹 On hover: grow slightly */
.nav-controls button:hover {
  transform: scale(1.1);
}

/* 🔹 On press: shrink slightly */
.nav-controls button:active {
  transform: scale(0.95);
}

    .dots {
      position: absolute;
      right: 2rem;
      top: 50%;
      transform: translateY(-50%);
      z-index: 3;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      transition: background 0.3s;
      cursor: pointer;
    }

    .dot.active {
      background: #fff;
    }
    .line {
  display: block;
  overflow: hidden;
}
    
  


/*CAROUSEL CSS*/

 :root {
  --carousel-height: 28vh; /* change this to grow/shrink everything */
}
  .main-section {
      position: relative; /* ✅ REQUIRED */
  height: auto;
 background-color: transparent;
  display: flex;
  flex-direction: column;
  z-index:0;
}

.carousel-wrapper {
  height: calc(var(--carousel-height) + 4rem); /* item height + header space */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0rem;
    overflow: hidden;
  position: relative;
}
.carousel-wrapper2 {
  position: relative;
  height: calc(var(--carousel-height) + 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 0;
  z-index: 0; /* Ensure the overlay goes under content */
}
.main-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/bg3.png');
  background-repeat: repeat;
  background-size: 140px;
  opacity: 0.6; /* Adjust opacity here */
  z-index: -1; /* Push behind content */
}
.carousel-wrapper2::before {
  content: '';
  position: absolute;
  inset: 0;
 
  z-index: -1; /* Push behind content */
}
.carousel-wrapper3 {
  position: relative;
  height: calc(var(--carousel-height) + 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 0;
  z-index: 0; /* Ensure the overlay goes under content */
}


.carousel-wrapper3::before {
  content: '';
  position: absolute;
  inset: 0;
  
  z-index: -1; /* Push behind content */
}


.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem 0.2rem; /* reduce bottom padding */
  margin-bottom: -1rem;       /* just in case */
  margin-top: -1rem;
  color: #53709F;
}

.carousel-header h2 {
  font-size: clamp(1.3rem, 1.5vw, 1.5rem);
  font-weight: 800;
}

.carousel-header button  {
  background: transparent;
  color: #53709F;
  border: none;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-header button p {
  display: inline;
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0; /* just in case */
  font-family: "Montserrat";
}


.carousel-track {
    display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  will-change: transform;
  gap: 1rem;
  padding: 1rem 2rem;
  will-change: transform;
  margin-bottom: 0rem;
}

.carousel-item {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  border-radius: 1rem;
  overflow: hidden; /* 🔹 Crop overflowing image */
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--carousel-height);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔹 Crop + fill the box */
  display: block;
}

.carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔹 Crop + fill the box */
  display: block;
}

.short-box {
  width: 300px;
  background: #f0d9ff;
}

.long-box {
  width: 500px;
  background: #d0f0ff;
}


/*IMPACT TRACKER CSS*/


.tracker-wrapper {
  width: 100%;
  height: 42rem;
  background-color:transparent;
  padding: 0rem 0; /* Controls space above/below the whole section */
  margin: 0;
  border: none;
   margin-top: 9rem;
}
.tracker-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px; /* Adjust height of fade */
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
  pointer-events: none; /* Allow clicks to pass through */
  z-index: 2; /* Make sure it sits above tracker content */
}

.tracker-section {
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border: none;
   margin-bottom: 1rem;
}
.tracker-container {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2rem;
   align-items: flex-start;
   margin-top: 0rem;
   background-color: rgba(255, 255, 255, 0);
   padding: 2rem;
   border-radius: 1rem;
}

.tracker-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
  font-size: clamp(1rem, 1.2vw, 1.8rem);
  font-weight: 200;
  color: #000;
  margin-top: 0rem;
}

.value {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  color: #53709F;
  font-family: 'Montserrat', sans-serif;
  min-width: 6.4ch;
  text-align: center;
}
.tracker-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0rem;
    font-size: 4rem;
    color:#6E9D72;
    font-weight: 800;
}


    .hero-social-icons {
  position: absolute;
  bottom: 4rem;
  right: 4rem;
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.hero-social-icons .social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  
}

.hero-social-icons .social-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.hero-social-icons .social-icon:hover {
  background-color: #6E9D72;
  transform: scale(1.05);
}

.hero-social-icons .social-icon:hover img {
  filter: brightness(0) invert(1); /* makes dark icons white on hover */
}
     .hero-social-icons-2 {
  position: relative;
  display: flex;
  gap: 1rem;
  z-index: 3;
  margin-left: 2rem;
  margin-top: 0rem;
  margin-bottom: 2rem;
}

.hero-social-icons-2 .social-icon-2 {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-social-icons-2 .social-icon-2 img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.hero-social-icons-2 .social-icon-2:hover {
  background-color: #6E9D72;
  transform: scale(1.05);
}

.hero-social-icons-2 .social-icon-2:hover img {
  filter: brightness(0) invert(1);
}

.instagram-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 4rem;
  gap: 1rem;
  height: auto;
  background-color: white;
  padding-top: 0rem;
}
.instagram-feed-wrapper {
  width: 100%;
  height: auto;            /* Let it grow naturally */
  overflow: hidden;
}

.instagram-feed-wrapper iframe {
  display: block;
  width: 100%;
  height: 1000px;           /* ✅ Set your desired height */
  border: none;
}
.instagram-section h2 {
  font-size: 4rem;
  color:#6E9D72;
  font-weight: 800;
}
@media (max-width: 768px) {
  /* Let the root behave normally so the navbar JS works */
  html { overflow-x: visible; overscroll-behavior-x: auto; }

  /* Hide sideways scroll on the page content only */
  body { overflow-x: clip; /* fallback to hidden if needed */ touch-action: pan-y; }

  /* Clamp the usual overflow culprits */
  .hero-section,
  .carousel-wrapper,
  .carousel-wrapper2,
  .carousel-wrapper3,
  .tracker-wrapper,
  .instagram-section,
  .footer {
    overflow-x: clip;     /* fallback to hidden if your browser lacks clip */
    max-width: 100vw;
  }

  /* This pseudo-element often causes slight overflow on mobile; disable it */
  .link-with-arrow::after { display: none; }
}

/* Optional fallback if clip isn't supported */
@supports not (overflow: clip) {
  @media (max-width: 768px) {
    body,
    .hero-section,
    .carousel-wrapper,
    .carousel-wrapper2,
    .carousel-wrapper3,
    .tracker-wrapper,
    .instagram-section,
    .footer { overflow-x: hidden; }
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0;
    margin: 0;
  }
  .nav-item {
    display: none !important;
  }

  .logo {
    margin-left: -2rem;
  }
  .logo img {
   width: 8rem;
  }
.page-container {
  left: 2rem;
  padding-right: 0.5rem;
}
.nav-controls {
  left: 0.5rem;
}


  :root{
    --ctrl: 42px;                                 /* circle size */
    --ctrl-gap: 12px;                             /* space between circles */
    --ctrl-edge: max(40px, env(safe-area-inset-bottom) + 10px); /* safe bottom */
    --ctrl-side: 32px;                            /* side padding */
  }

  /* same bottom & gap for both clusters */
  .nav-controls,
  .hero-social-icons{
    bottom: var(--ctrl-edge) !important;
    gap: var(--ctrl-gap) !important;
    z-index: 3;
  }

  .nav-controls{ left: var(--ctrl-side) !important; right:auto !important; }
  .hero-social-icons{ right: var(--ctrl-side) !important; left:auto !important; position:absolute; }

  /* lock each to perfect circles and center their glyphs */
  .nav-controls button,
  .hero-social-icons .social-icon{
    aspect-ratio: 1 / 1;
    width: var(--ctrl);
    height: auto;                 /* aspect-ratio controls height */
    flex: 0 0 auto;
    border-radius: 9999px;
    display: grid;
    place-items: center;          /* centers icon inside */
    padding: 0;
    line-height: 1;
  }

  /* keep their visual styles but ensure consistency */
  .nav-controls button{
    border-width: 3px;
    transform: none;              /* avoid odd scaling on touch */
  }

  .hero-social-icons .social-icon{
    background: #fff;
    border: 0;
  }
  .hero-social-icons .social-icon img{
    width: 100%;
    height: 60%;
    object-fit: contain;
  }



 :root {
  --carousel-height: 28vh; /* change this to grow/shrink everything */
}
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: white;
  padding-top: 100px; /* space for navbar */
  background-color: #000;
}
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem 0.2rem; /* reduce bottom padding */
  margin-bottom: -1rem;       /* just in case */
  margin-top: -1rem;
  color: #53709F;
}



.carousel-header button  {
  background: transparent;
  color: #53709F;
  border: none;
  padding: 0rem 0rem 0.5rem 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-header button p {
 
  font-weight: 800;
  font-size: clamp(1rem, 1vw, 1.3rem);
  margin: 0; /* just in case */
  font-family: "Montserrat";
}

.tracker-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0rem;
    font-size: 2.5rem;
    color:#6E9D72;
    font-weight: 800;
}
.tracker-wrapper {
  width: 100%;
  height: 45rem;
  background-color:transparent;
  padding: 0rem 0; /* Controls space above/below the whole section */
  margin: 0;
  border: none;
   margin-top: 3rem;
}

.tracker-section {
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border: none;
   margin-bottom: 1rem;
}
.tracker-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
   align-items: flex-start;
   margin-top: 0rem;
   background-color: rgba(255, 255, 255, 0);
   padding: 2rem;
   border-radius: 1rem;
}

.tracker-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.header {
  font-size: 1rem;
  font-weight: 200;
  color: #000;
  margin-top: 0rem;
  margin-bottom: 1rem;
}

.value {
  font-size: 2rem;
  font-weight: 800;
  color: #53709F;
  font-family: 'Montserrat', sans-serif;
  min-width: 6.4ch;
  text-align: center;
}

  .hero-social-icons-2 {
  position: relative;
  display: flex;
  gap: 1rem;
  z-index: 3;
  margin-left: 0rem;
  margin-top: 0rem;
  margin-bottom: 2rem;

}

.hero-social-icons-2 .social-icon-2 {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-social-icons-2 .social-icon-2 img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.hero-social-icons-2 .social-icon-2:hover {
  background-color: #6E9D72;
  transform: scale(1.05);
}

.hero-social-icons-2 .social-icon-2:hover img {
  filter: brightness(0) invert(1);
}


.instagram-feed-wrapper {
  width: 100%;
  height: auto;            /* Let it grow naturally */
  overflow: hidden;
}

.instagram-feed-wrapper iframe {
  display: block;
  width: 100%;
  height: 00px; /* smaller height for mobile */
  border: none;
}
.instagram-section h2 {
  font-size: 4rem;
  color:#6E9D72;
  margin-left: -1rem;
}
}

/* ============================
   NO H-SCROLL (navbar-safe)
   ============================ */

/* Keep html free so your navbar/hover logic behaves normally */
html {
  overflow-x: visible;                /* let root behave as before */
  max-width: 100dvw;                  /* avoid UI-chrome width weirdness */
}

/* Hide horizontal scroll on the scrolling surface only */
body {
  overflow-x: hidden !important;      /* hard clamp, but body-only */
  max-width: 100dvw;
}

/* Make sure navbar/dropdown always sit above new stacking contexts */
.navbar { z-index: 1000 !important; }
.dropdown--mega { width: 100dvw; }

/* Clip likely offenders (do NOT include navbar) */
.hero-section,
.carousel-wrapper,
.carousel-wrapper2,
.carousel-wrapper3,
.tracker-wrapper,
.instagram-section,
.footer {
  max-width: 100dvw !important;
  overflow-x: hidden !important;
}

/* Carousel safety (no stacking-context tricks that could affect navbar) */
.carousel-track {
  white-space: nowrap;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}
.carousel-wrapper,
.carousel-wrapper2,
.carousel-wrapper3 {
  position: relative;
  overflow: hidden !important;   /* visual clip so clones never show */
  /* removed contain: content to avoid extra stacking contexts */
}

/* Landscape phones: tighten only carousel spacing; leave navbar alone */
@media (orientation: landscape) and (max-height: 500px) {
  body { overflow-x: hidden !important; }   /* reiterate clamp */

  .carousel-header { padding-inline: 1rem !important; }
  .carousel-track  { padding-inline: 0.75rem !important; gap: 0.5rem !important; }

  .carousel-wrapper,
  .carousel-wrapper2,
  .carousel-wrapper3 {
    max-width: 100dvw !important;
    overflow-x: hidden !important;
  }

  .carousel-item { max-width: 90dvw; }     /* belt-and-suspenders */
   :root {
  --carousel-height: 55vh; /* change this to grow/shrink everything */
}

  
}

/* Fallback for older browsers without overflow: clip */
@supports not (overflow: clip) {
  body { overflow-x: hidden !important; }
}







/* === Full-height first section on mobile (navbar-safe) === */
:root { --nav-h: 90px; } /* your fixed header height */

/* target your first section(s) */
.hero-section,
.section-ourstory {
  /* fallback for older browsers */
  min-height: calc(100vh - var(--nav-h));
}

/* modern dynamic viewport (prevents iOS/Chrome UI-bar gaps) */
@supports (height: 100dvh) {
  .hero-section,
  .section-ourstory {
    min-height: calc(100dvh - var(--nav-h)) !important;
  }
}

/* optional: keep content vertically centered on small screens */
@media (max-width: 768px) {
  .hero-section,
  .section-ourstory {
    display: flex;
    align-items: center;
    /* ensure the section isn’t “shortened” by earlier rules */
    height: auto !important;
    padding-top: var(--nav-h); /* so content isn't hidden under the fixed navbar */
  }
}

/* phone-in-landscape (short heights): still fill screen minus navbar */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section,
  .section-ourstory {
    min-height: calc(100dvh - var(--nav-h)) !important;
  }
}


@media (max-width: 768px) {
  .hero-section .page-container {
    bottom: 6rem;             /* was 8rem */
    left: 2rem;              /* optional: pull in a bit */
    right: 1.5rem;             /* optional if you want wrapping space */
  }
  h1 {
    font-size: 1.8rem;
  }
  
    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      transition: background 0.3s;
      cursor: pointer;
    }

}