
:root {
    --dark: #123e47;
    --darkest: #0b2d34;
    --mint: #58c7a4;
    --mint-light: #e2f5ed;
    --text-muted: #60787c;
    --background-soft: #f1f7f5;
    --white: #ffffff;
}

/* GLOBAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: 4px;
}

button, input, textarea, select {
    font: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
}

/* SKIP LINK */

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 16px;
    border-radius: 8px;
    background: white;
    color: var(--dark);
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

/* SCROLL PROGRESS */

.progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--mint);
    z-index: 9999;
}

/* HEADER */

.top-header {
    width: 100%;
    min-height: 110px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(18,62,71,0.08);
}

.header-inner {
    width: 100%;
    max-width: 1400px;
    padding: 15px 30px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex-shrink: 0;
}

.logo {
    width: 145px;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.06);
}

/* HEADER SEARCH BAR */

.header-search {
    display: flex;
    align-items: center;
    width: 245px;
    max-width: 100%;
    flex-shrink: 1;
    border: 1px solid #dcebe6;
    border-radius: 30px;
    background: #f5faf8;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(88,199,164,0.13);
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 11px 8px 11px 16px;
    color: var(--dark);
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
}

.header-search input::placeholder {
    color: #829693;
}

.header-search input:focus-visible {
    outline: none;
}

.header-search button {
    flex-shrink: 0;
    border: 0;
    background: var(--dark);
    color: white;
    padding: 11px 15px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    transition: background 0.2s ease;
}

.header-search button:hover {
    background: #238b70;
}

/* MAIN NAVIGATION */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.main-navigation a {
    color: var(--dark);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: #238b70;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* HERO */

.hero {
    min-height: calc(100vh - 110px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 110px 25px;
    color: var(--white);

    background-image:
        linear-gradient(
            rgba(8,44,51,0.70),
            rgba(8,44,51,0.82)
        ),
        url("https://madapril.com/health-matters.webp");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    width: 100%;
    max-width: 950px;
    animation: heroAppear 1s ease forwards;
}

.hero-label {
    display: inline-block;
    padding: 9px 19px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
}

.hero h1 {
    max-width: 1000px;
    margin: 0 auto 25px;
    font-size: clamp(52px,9vw,105px);
    line-height: 0.98;
    letter-spacing: -5px;
    font-weight: 800;
}

.hero h1 span {
    color: #67d6b1;
}

.hero-description {
    max-width: 720px;
    margin: auto;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
    padding: 15px 27px;
    border-radius: 50px;
    background: var(--mint);
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.hero-button span {
    font-size: 18px;
}

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 27px;
    animation: scrollBounce 1.8s infinite;
}

/* SHARED SECTIONS */

.intro, .healthcare, .wellness {
    padding: 110px 5%;
}

.intro {
    background: var(--white);
}

.intro-inner {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.section-label {
    color: #238b70;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.intro h2 {
    margin: 12px 0 22px;
    font-size: clamp(35px,5vw,60px);
    line-height: 1.12;
    letter-spacing: -2.5px;
}

.intro p {
    max-width: 760px;
    margin: auto;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.85;
}

.healthcare {
    background: var(--background-soft);
}

.healthcare-inner, .wellness-inner {
    max-width: 1200px;
    margin: auto;
}

.section-top {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-top h2 {
    margin-top: 12px;
    font-size: clamp(35px,5vw,55px);
    line-height: 1.12;
    letter-spacing: -2.5px;
}

.section-top p {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* HEALTH CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 32px;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid rgba(18,62,71,0.06);
    box-shadow: 0 12px 35px rgba(18,62,71,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 55px rgba(18,62,71,0.12);
}

.card-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 18px;
    background: var(--mint-light);
    font-size: 28px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.4;
}

.card p {
    color: #61777b;
    font-size: 14px;
    line-height: 1.8;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    color: #1f735d;
    font-size: 13px;
    font-weight: 700;
}

.card-link:hover {
    color: var(--dark);
    text-decoration: underline;
}

/* FEATURE */

.feature {
    padding: 120px 5%;
    background: var(--dark);
    color: var(--white);
}

.feature-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.feature-image {
    overflow: hidden;
    border-radius: 28px;
}

.feature-image img {
    width: 100%;
    border-radius: 28px;
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.025);
}

.feature-content .section-label {
    color: #67d6b1;
}

.feature-content h2 {
    margin: 12px 0 22px;
    font-size: clamp(35px,5vw,58px);
    line-height: 1.12;
    letter-spacing: -2.5px;
}

.feature-content p {
    margin-bottom: 18px;
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    line-height: 1.85;
}

.feature-list {
    display: grid;
    gap: 13px;
    margin-top: 30px;
}

.feature-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.check {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--dark);
    font-weight: 700;
}

/* WELLNESS */

.wellness {
    background: var(--white);
}

.wellness-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
}

.wellness-item {
    padding: 35px;
    border-radius: 22px;
    background: #f5f9f8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wellness-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(18,62,71,0.07);
}

.wellness-number {
    color: #238b70;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.wellness-item h3 {
    margin: 12px 0 10px;
    font-size: 20px;
}

.wellness-item p {
    color: #61777b;
    font-size: 14px;
    line-height: 1.8;
}

/* FINAL SECTION */

.final {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
    text-align: center;
    color: var(--white);

    background-image:
        linear-gradient(
            rgba(8,44,51,0.75),
            rgba(8,44,51,0.84)
        ),
        url("https://madapril.com/divas-maukas.jpg");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.final-content {
    max-width: 850px;
}

.final h2 {
    margin: 12px auto 25px;
    font-size: clamp(40px,7vw,75px);
    line-height: 1.08;
    letter-spacing: -3px;
}

.final p {
    max-width: 680px;
    margin: auto;
    color: rgba(255,255,255,0.84);
    font-size: 16px;
    line-height: 1.8;
}

/* DISCLAIMER */

.disclaimer {
    padding: 28px 5%;
    background: #e9f1ef;
    text-align: center;
}

.disclaimer p {
    max-width: 950px;
    margin: auto;
    color: #526c70;
    font-size: 12px;
    line-height: 1.8;
}

/* FOOTER */

footer {
    padding: 45px 5%;
    background: var(--darkest);
    text-align: center;
    color: var(--white);
}

footer img {
    width: 115px;
    margin: 0 auto 15px;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin: 25px auto;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--mint);
    text-decoration: underline;
}

footer p {
    color: rgba(255,255,255,0.65);
    font-size: 11px;
}

/* REVEAL ANIMATIONS */

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
}

.js-enabled .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* KEYFRAMES */

@keyframes heroAppear {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* TABLET */

@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-navigation {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }

    .header-search {
        width: min(420px, 100%);
    }

    .main-navigation {
        justify-content: center;
        gap: 12px 18px;
    }

    .cards, .wellness-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .feature-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .top-header {
        min-height: 105px;
    }

    .header-inner {
        padding: 12px 15px;
    }

    .logo {
        width: 130px;
    }

    .header-search {
        width: 100%;
        max-width: 400px;
    }

    .main-navigation {
        gap: 10px 14px;
    }

    .main-navigation a {
        font-size: 11px;
    }

    .hero {
        min-height: calc(100svh - 105px);
        padding: 80px 20px;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 51px;
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .intro, .healthcare, .wellness {
        padding: 80px 5%;
    }

    .cards, .wellness-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        padding: 80px 5%;
    }

    .feature-content h2 {
        letter-spacing: -1.5px;
    }

    .final {
        min-height: 560px;
        padding: 80px 20px;
        background-attachment: scroll;
    }

    .final h2 {
        letter-spacing: -2px;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .card {
        padding: 30px 25px;
    }

    .final h2 {
        font-size: 38px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js-enabled .reveal {
        opacity: 1;
        transform: none;
    }
}
