* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #e8f3db; /* soft sea mist */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* NAV BAR AS BOXES */
.navbar {
    /* was #fff */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: saturate(120%) blur(8px);
    padding: 0 0 16px 0;
    box-shadow: 0 2px 8px rgba(27,56,64,0.05);
}
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.nav-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 20px 0 0 0;
}
.nav-box-link {
    display: inline-block;
    padding: 12px 28px;
    background: #818C78;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(27,56,64,0.10);
    font-size: 1.12em;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border-left: 5px solid #818C78;
}
.nav-box-link.active, .nav-box-link:hover {
    background: #818C78;
    color: #F0F1C5;
    box-shadow: 0 6px 24px rgba(254,127,84,0.09);
    font-weight: 600;
    border-left: 5px solid #818C78;
}

@media (max-width: 700px) {
    .nav-boxes {
        flex-direction: column;
        gap: 10px;
        padding-top: 12px;
    }
    .nav-box-link { width: 100%; }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: #164a63;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.45);
}
  
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    opacity: 0.85; /* slightly higher so overlay does more of the softening */
    filter: blur(3px) !important;
}

.hero-overlay-logo {
    position: absolute;
    top: -14%;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(160px, 26vw, 420px);
    z-index: 2;   /* was 1; keep above overlay */
    opacity: 0.9;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;   /* was 2; keep above overlay */
    width: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
.hero-content h1 {
    font-size: 3.2em;
    font-weight: 700;
    margin: 0 0 22px 0;
    color: #fff;
    letter-spacing: 1.2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
  
.hero-quote {
    font-size: 1.4em;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
    margin: 0;
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2em; }
    .hero-quote { font-size: 1em; }
    .hero { min-height: 48vh; height: 54vh; }
}

.btn-primary {
    padding: 12px 30px;
    background: #818C78;
    color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s, transform 0.3s;
    margin: 10px auto;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(254,127,84,0.10);
}
.btn-primary:hover {
    background: #818C78;
    transform: scale(1.045);
}

/* Boxed Sections: let body tint show through */
.about-section,
.features-section,
.gallery-section,
.contact-section,
.quote-section,
.treatments-bg {
    background: transparent; /* was #fff */
}

.about-section h2, .features-section h2, .gallery-section h2, .contact-section h2 {
    font-size: 2em;
    margin-bottom: 24px;
    font-weight: 600;
}

/* Cards remain white so they pop */
.about-box, .gallery-box {
    background-color: #fff;
    padding: 32px 30px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 18px rgba(27,56,64,0.10);
    border-radius: 15px;
    margin-top: 20px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.about-box p, .gallery-box p {
    font-size: 1.09em;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Treatments List */
.treatments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
}
.treatment {
    background: #fff; /* keep card surface */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(27,56,64,0.08);
    padding: 24px 18px 20px 18px;
    min-width: 220px;
    max-width: 270px;
    flex: 1 1 220px;
    text-align: center;
    margin-bottom: 8px;
}
.treatment h3 {
    font-size: 1.25em;
    margin-bottom: 10px;
    color: #1b3840;
}
.treatment p {
    font-size: 1em;
    margin-bottom: 12px;
}
.treatment span {
    font-size: 0.95em;
    color: #7c8487;
}
.btn-book {
    background: #818C78;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 22px;
    font-size: 1em;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}
.btn-book:hover {
    background: #818C78;
    transform: scale(1.045);
}

/* Features Grid (Navigation Boxes) */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 25px;
}
.feature-item {
    max-width: 330px;
    min-width: 220px;
    flex: 1 1 240px;
    padding: 26px 22px;
    background: #fff; /* keep card surface */
    border-radius: 13px;
    box-shadow: 0 2px 12px rgba(27,56,64,0.09);
    border-left: 6px solid #748873;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition: box-shadow 0.3s, transform 0.3s;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature-item h3 {
    margin-bottom: 8px;
    font-size: 1.25em;
    font-weight: 600;
}
.feature-item p {
    margin-bottom: 0;
}
.feature-item:hover {
    box-shadow: 0 8px 32px rgba(27,56,64,0.12);
    transform: translateY(-4px) scale(1.025);
    background: #f6fbfd;
}

/* TESTIMONIALS CAROUSEL */
.testimonials-section {
    padding: 60px 5px;
    background: #e8f3db;
  }
  
  .testimonials-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
  }
  
  .testimonial-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .testimonial-slide {
    display: none;
    text-align: center;
    padding: 25px 30px;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 2px 12px rgba(27,56,64,0.09);
    line-height: 1.7;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  .testimonial-slide.active {
    display: block;
    opacity: 1;
  }
  
  .testimonial-slide p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  
  .testimonial-slide h4 {
    color: #748873;
    font-weight: 600;
  }
  
  /* CAROUSEL DOTS */
  .carousel-dots {
    margin-top: 20px;
    text-align: center;
  }
  
  .carousel-dots .dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    display: inline-block;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .carousel-dots .dot.active {
    background-color: #4a5f47; /* green accent */
  }
  
  
/* Gallery */
.gallery-box {
    margin-top: 10px;
}
.gallery-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 12px;
    margin: 0 auto;
    max-width: 100%;
    margin-top: 22px;
    scroll-snap-type: x mandatory;
}

.gallery-grid img {
    flex: 0 0 auto;
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(27,56,64,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    scroll-snap-align: start;
}
.gallery-grid img:hover {
    transform: scale(1.045);
    box-shadow: 0 8px 26px rgba(27,56,64,0.15);
}

/* Quote Section */
.quote-section {
    /* now transparent to show body tint */
    padding: 30px 0 0 0;
    text-align: center;
}
.quote-section blockquote {
    font-size: 1.4em;
    font-weight: 400;
    color: #1b3840;
    max-width: 660px;
    margin: 0 auto 0 auto;
    font-style: italic;
    background: #f6fbfd;
    padding: 24px 35px 18px 35px;
    border-radius: 13px;
    box-shadow: 0 2px 14px rgba(27,56,64,0.07);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    max-width: 600px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    background: #fafcff;
}
.contact-form button {
    padding: 12px 25px;
    background: #818C78;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s, transform 0.3s;
    text-align: center;
    display: block;
}
.contact-form button:hover {
    background: #818C78;
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 20px 10px 16px 10px;
    text-align: center;
    background: #748873;
    color: #fff;
    font-size: 1.05em;
}

/* Treatments background wrapper */
.treatments-bg {
    position: relative;
    background-color: transparent; /* was #fff */
}
.treatments-bg::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.13;
    background-image: url('Images/image1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.2em; }
    .hero-content p { font-size: 1.05em; }
    .gallery-grid img { width: 150px; height: 200px; }
    .about-box, .gallery-box { padding: 18px 6vw; }
    .feature-item { padding: 18px 10px; }
}
@media (max-width: 768px) {
    .hero { height: auto; padding: 50px 0 40px 0; }
    .features-grid { flex-direction: column; gap: 16px; }
    .gallery-grid { flex-wrap: nowrap; overflow-x: auto; gap: 12px; }
    .gallery-grid img { flex: 0 0 auto; width: 150px; height: 120px; }
    .about-box, .gallery-box { padding: 10px 3vw; }
}
