/* MOBILE RESPONSIVENESS */

/* Hamburger button — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background-color: #00989C;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease;
    z-index: 1001;
}

.hamburger:hover {
    background-color: #00B8BC;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* X state when active */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown menu panel */
.mobile-menu {
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 20px 24px;
}

.mobile-menu ul li {
    border-bottom: 1px solid #E5E5E5;
}

.mobile-menu ul li a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    color: #404345;
}

@media (max-width: 768px) {
    nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: fixed;
    width: 100%;
    height: 55px;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

nav .nav-links {
    display: none;
}

.nav-cta a {
    display: none;
}

nav .logo {
    width: fit-content;
    height: 55px;
    margin-top: 9px;
}

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        position: fixed;
        width: 100%;
        height: 55px;
        background-color: #FFFFFF;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    }

    nav .nav-links {
        display: none; /* replaced by .mobile-menu panel */
    }

    .nav-cta a {
        display: none;
    }

    nav .logo {
        width: fit-content;
        height: 55px;
        margin-top: 9px;
    }

    .hamburger {
        display: flex;
    }





/* HERO SECTION */

.hero {
    height: 80vh;
    width: 100%;
    background-image: url(../images/hero.jpg);
    background-size: fill;
    background-position: top !important;
    background-repeat: no-repeat;
}

.hero .bg-dark {
    background: linear-gradient( to right, #001d1edc, #66666600);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    gap: 16px;
    padding: 0px 0px 100px 16px;
}

.hero-text-container {
    margin: 0;
    gap: 11px;
    height: fit-content;
    width: auto;
}   

.hero-text-container > .main-text {
        font-size: 32px;
        line-height: 40px;
        font-weight: 590;
        width: 100%;      /* add this */
        max-width: 320px;  /* optional, matches your sub-text sizing */
}

.hero-text-container .sub-text {
    width: 299px;
    font-size: 12px;
    line-height: 17px;
    font-weight: 400;
}

.bg-dark .hero-cta a {
    background-color: #00989C;
    padding: 10px 12px;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    transition: background-color .2s ease-in;
}

.hero-cta:hover {
    background-color: #00B8BC;
}



/* Section 1 */

.result .result-main-text  {
    font-size: 24px;
    width: 260px;
    text-align: center;
    line-height: 33px;
}

.result .result-content {
    flex-direction: column;
}

.result-content .result-img {
    width: 100%;
    /* height: 410px; */
}

.result-content .result-sub-text {
    width: 358px;
    font-size: 12px;
    line-height: 20px;
}

.result .result-content {
    flex-direction: column;
    align-items: stretch;   /* let children take full width */
    width: 100%;
}

.result-content .result-img {
    width: 100%;
}



/* SECTION 2 */

.hero-services {
    padding: 100px 20px;
}

.hero-service-text {
    font-size: 24px !important;
}

.hero-service-content {
    flex-direction: column;
    width: 100%;
}

.hero-service-main-text {
    font-size: 18px !important;
    width: 100%;
}

.hero-service-sub-text {
    font-size: 12px !important;
}


.to-service-page > a {
    font-size: 12px;
}



/* Section 3 */

.why {
    padding: 60px 20px;
}

.why .why-text {
    font-size: 24px;
}

.why .why-cards-container  {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.why-cards-container .cards {
    width: 100%;
    justify-content: space-between;
}

.cards > .icon {
    width: 31.59724235534668px;
    height: 29.952035903930664px;
}

.why-main-text {
    font-size: 18px !important;
}

.why-sub-text {
    font-size: 12px !important;
    line-height: 20px !important;
}



/* Section 4 */


.health-container {
    padding: 10px;
}

.health  {
    width: 100%;
}

.health .bg-dark {
    background: linear-gradient(to right, #00979cc7,#00989C00);
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

.health-text  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: start;
    text-align: start;
    place-items: center;
    height: 100%;
    gap: 10px;
    margin-left: 0px;
    width: 100%;
}

.health-main-text {
    font-size: 32px;
    line-height: 38px;
    width: 284px!important;
}

.hero-text-container .health-sub-text {
    width: 290px;
    font-size: 12px;
    line-height: 17px;
}

.health-cta {
    width: 290px;
}

.footer {
    padding: 65px 27px 30px 27px;
}

.footer-container {
    flex-direction: column;
    width: 100%;
}

.footer-sub-text {
    font-size: 12px !important;
}



}