body {
    margin: 0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    width: 100%;
}

      /* reset & base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            background: #d9e2e6;
            min-height: 200vh; /* provides scroll to demonstrate behavior */
        }

        /* ----- AUTO-HIDE STICKY NAVBAR (JS enhanced) ----- */
        .sticky-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 40px;
            background-color: rgba(127, 166, 184, 0.8); /* adjust 0.5 to your desired opacity */
            position: sticky;
            top: 0;
            z-index: 1000;
            width: 100%;
            transition: transform 0.3s ease;
        }

        /* hidden state – slide up out of view */
        .sticky-nav.nav-hidden {
            transform: translateY(-100%);
        }

        .logo img {
            height: 70px;
            display: block;
        }

        .nav-btn {
            background-color: #1f3c4d;
            color: white;
            padding: 10px 20px;
            border-radius: 12px;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            transition: background 0.2s;
        }
        .nav-btn:hover {
            background-color: #14303e;
        }

        /* ----- HERO SECTION ----- */
        .hero {
            background-color: #7fa6b8;
            min-height: 20vh;
            position: relative;
            overflow: hidden;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        /* Hero content */
        .hero-content {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            padding: 15% 60px 0 60px; /* increased to match logo vertical position */
            padding-bottom: 15px;
            flex: 1;
            width: 100%;
            position: relative;
            z-index: 5;
        }

        .hero-text {
            max-width: 500px;
            align-self: flex-start; /* ensure text stays at top regardless of zoom */
            margin-top: 0; /* remove any default margin */
            padding-bottom: 10px; /* add some breathing room below text */
        }

        .hero-text h1 {
            font-size: 70px;
            color: #1f3c4d;
            margin-bottom: 50px;
            line-height: 1.1;
        }

        .hero-text p {
            font-size: 18px;
            line-height: 1.6;
            color: #173544;
        }

        .main-btn {
            display: inline-block;
            margin-top: 40px;
            background-color: #e9dfd4;
            color: #1f3c4d;
            padding: 15px 35px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: bold;
            transition: background 0.2s;
            margin-bottom: 10px;
        }
        .main-btn:hover {
            background-color: #ddd1c2;
        }

        /* ----- QUARTER CIRCLE at BOTTOM-RIGHT ----- */
        .hero-quarter {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 500px;
            height: 500px;
            z-index: 2;
            pointer-events: none;
        }

        .hero-quarter .quarter-bg {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.25);
            border-top-left-radius: 100%;
        }

        .hero-quarter .quarter-logo {
            position: absolute;
            top: 20%;
            left: 25%;
            transform: translate(-15%, -15%);
            width: 30vw; /* responsive to viewport width, scales with zoom */
            max-width: 400px; /* cap at original size */
            height: auto;
            z-index: 3;
            pointer-events: none;
        }

        /* hide original .hero-image */
        .hero-image {
            display: none;
        }

        /* responsive adjustments */
        @media (max-width: 1100px) {
            .hero-quarter {
                width: 400px;
                height: 400px;
            }
            .hero-quarter .quarter-logo {
                width: 100px;
                top: 28%;
                left: 28%;
                transform: translate(-10%, -10%);
            }
            .sticky-nav {
                padding: 20px 40px;
            }
        }

        @media (max-width: 800px) {
            .hero-content {
                flex-direction: column;
                padding: 0 30px;
                justify-content: center;
            }
            .hero-quarter {
                width: 300px;
                height: 300px;
            }
            .hero-quarter .quarter-logo {
                width: 80px;
                top: 30%;
                left: 30%;
            }
            .hero-text h1 {
                font-size: 50px;
            }
            .sticky-nav {
                padding: 15px 30px;
            }
        }

        @media (max-width: 500px) {
            .sticky-nav {
                padding: 8px 16px;
            }
            .sticky-nav .logo img {
                height: 50px; /* smaller logo */
            }
            .nav-btn {
                padding: 6px 12px;
                font-size: 14px;
            }
            .hero-content {
                padding: 0 20px;
            }
            .hero-text h1 {
                font-size: 40px;
            }
            .services-content,
            .bedding-content {
                flex-direction: column;
                gap: 30px;
            }
            /* hide service and bedding images on mobile */
            .services-image,
            .bedding-image {
                display: none !important;
            }
            /* hide all pricing grid images */
            .pricing-grid {
                display: none !important;
            }
        }

        @media (max-width: 700px) {
            .hero-quarter {
                opacity: 0.6;
            }
        }

/* ===== SERVICES SECTION ===== */

.services {
    background-color: #1f4a5a;
    padding: 100px 60px;
    color: white;
}

.services-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 40px;
    font-weight: 500;
}

.services-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.services-text {
    max-width: 500px;
}

.services-text h3 {
    font-size: 26px;
    margin-bottom: 40px;
}

.services-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #d9e6ec;
}

.services-image img {
    width: 500px;
    border-top-left-radius: 200px;
    border-bottom-right-radius: 200px;
}

.services-line {
    margin-top: 80px;
    height: 1px;
    background-color: rgba(255,255,255,0.4);
}

/* ===== BEDDING SECTION ===== */

.bedding {
    background-color: #7fa6b8;
    padding: 100px 60px;
    color: #1f3c4d;
}

.bedding-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.bedding-image img {
    width: 500px;
    border-top-right-radius: 200px;
    border-bottom-left-radius: 200px;
}

.bedding-text {
    max-width: 500px;
}

.bedding-text h3 {
    font-size: 28px;
    margin-bottom: 40px;
}

.bedding-text p {
    font-size: 16px;
    line-height: 1.7;
}

.bedding-line {
    margin-top: 80px;
    height: 1px;
    background-color: rgba(255,255,255,0.5);

}

/* location section css*/
.location-section {
  background: #1f4a5a;
  color: #ffffff;
  padding: 4rem 60px; /* flush text to page edges */
}

.location-inner {
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertically aligns the map */
  gap: 3rem;
}

.location-content {
  flex: 1;
  max-width: 480px;
  text-align: left; /* align text to left edge of its column */
}

.location-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.location-content p {
  font-size: 16px;
  line-height: 1.7;
}

/* Map box styled like the screenshot */
.location-map {
  width: 360px;
  height: 320px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .location-inner {
    flex-direction: column;
    text-align: center;
  }

  .location-map {
    width: 100%;
    max-width: 500px;
    height: 300px;
  }
}
/* pricing section */
.pricing-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  padding: 3rem 2rem;
  background: #7fa6b8;
  flex-wrap: wrap;
}


/* DARK BOX AROUND IMAGES */
.images-box {
  background: #1f4a5a; /* dark navy */
  padding: 1.5rem; /* more breathing room around images */
  border-radius: 10px;
  display: inline-block; /* makes the box hug the content */
}

/* UNEVEN GRID */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 180px); /* larger cells */
  grid-auto-rows: 180px;
  gap: 12px;
}

.pricing-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Make some images taller for uneven layout */
.pricing-grid img:nth-child(2),
.pricing-grid img:nth-child(5) {
  grid-row: span 2;
}
.pricing-grid img:nth-child(6) {
  grid-column: span 2;
}

/* LIGHT BOX FOR PRICING */
.pricing-box {
  padding: 2rem;
  border-radius: 10px;
  max-width: 420px;
}

.pricing-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pricing-box h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.pricing-box ul li {
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.payment-note {
  margin-top: 1rem;
  font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .pricing-section {
    flex-direction: column;
    align-items: center;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 120px);
  }
}

/* ===== FOOTER ===== */

.footer {
    background-color: #3f6c7f;
    padding: 100px 80px;
    color: #eaf4f8;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 100px;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 500;
}

.footer-col a {
    display: block;
    color: #eaf4f8;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-col p {
    font-size: 16px;
    margin-top: 10px;
}

.footer-logo {
    width: 80px;
    margin-bottom: 40px;
}

/* ========================================= */
/* ============ MOBILE CLEANUP ============= */
/* ========================================= */

@media (max-width: 768px) {

  /* ---------- HERO ---------- */
  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero-content {
    padding: 40px 20px;
  }

  .hero-text h1 {
    font-size: 38px;
    margin-bottom: 25px;
  }

  .hero-text p {
    font-size: 16px;
  }

  /* Hide decorative quarter circle + logo on mobile */
  .hero-quarter {
    display: none;
  }

  /* ---------- SERVICES ---------- */
  .services {
    padding: 60px 25px;
  }

  .services-content {
    flex-direction: column;
    gap: 30px;
  }

  /* Hide service image on mobile */
  .services-image {
    display: none;
  }

  .services-header {
    justify-content: flex-start;
    margin-bottom: 30px;
  }

  .services-header h2 {
    font-size: 30px;
  }

  /* ---------- BEDDING ---------- */
  .bedding {
    padding: 60px 25px;
  }

  .bedding-content {
    flex-direction: column;
    gap: 30px;
  }

  /* Hide bedding image on mobile */
  .bedding-image {
    display: none;
  }

  .bedding-text h3 {
    font-size: 22px;
  }

  /* ---------- LOCATION ---------- */
  .location-section {
    padding: 60px 25px;
  }

  .location-inner {
    flex-direction: column;
    gap: 30px;
  }

  .location-map {
    width: 100%;
    height: 250px;
  }

  .location-map iframe {
    width: 100%;
  }

  /* ---------- PRICING ---------- */
  .pricing-section {
    padding: 60px 25px;
    gap: 30px;
  }

  /* Completely hide image collage for clean mobile look */
  .images-box {
    display: none;
  }

  .pricing-box {
    max-width: 100%;
    padding: 0;
  }

  .pricing-box h2 {
    font-size: 28px;
  }

  /* ---------- GENERAL TEXT SPACING ---------- */
  p {
    font-size: 15px;
    line-height: 1.6;
  }

}@media (max-width: 900px) {

  .footer {
    padding: 60px 25px; /* reduce side padding */
  }

  .footer-container {
    grid-template-columns: 1fr; /* stack columns */
    gap: 40px;
  }

}