/*
Theme Name: Medexa
Main Theme Stylesheet
*/

/* =========================================
   Global
========================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


a.btn.medexa-appointment-btn {
    background: #0e7c86;
    padding: 0 33px !important;
    height: 50px !important;
    color: #fff;
    margin-top: 12px !important;
}

/* =========================================
   Medexa Sticky Header
========================================= */


#site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    background: #fff;
}

#site-header .top-bar {
    max-height: 50px;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.25s ease, opacity 0.2s ease;
}

#site-header.is-scrolled .top-bar {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Main Navigation */
#site-header .navbar {
    background: #ffffff;
    padding: 18px 0;
    transition: box-shadow 0.25s ease;
}

/* Shadow on Scroll */
#site-header.is-scrolled .navbar {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}


/* Main Navigation */

#site-header .navbar {
    background: #ffffff;
    transition: box-shadow 0.3s ease;
}


/* Shadow after scrolling */

#site-header.is-scrolled .navbar {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
     
}
#site-header {
    background: #ffffff;
    width: 100%;
}

#site-header .navbar {
    padding: 18px 0;
}

#site-header .container {
    display: flex;
    align-items: center;
}

#site-header .site-branding {
    flex-shrink: 0;
}

#site-header .custom-logo {
    max-height: 55px;
    width: auto;
}

#site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

#site-header .site-title {
    font-size: 24px;
    font-weight: 700;
    color: #1c2b36;
}

#site-header .navbar-nav {
    gap:28px;
}

#site-header .navbar-nav .nav-link {
    padding: 0;
    font-size:px;
    font-weight: 500;
    color: #1c2b36;
    transition: color 0.2s ease;
}

#site-header .navbar-nav .nav-link:hover {
    color: #0e7c86;
}

#site-header .header-action .btn {
    padding: 11px 20px;
    font-size: 15px;
    font-weight: 600;
    border: 0;
    border-radius:6px;
    
}
/* =========================================
   VLneSS Footer
========================================= */

#site-footer {
    color: #ffffff;
}


/* =========================================
   Footer CTA
========================================= */

#site-footer .footer-cta {
    background: linear-gradient(
        110deg,
        #0f2b46 0%,
        #0e7c86 100%
    );
    padding: 75px 0 80px;
    text-align: center;
}

#site-footer .footer-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

#site-footer .footer-cta h2 {
    margin: 0 0 25px;
    color: #ffffff;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
}

#site-footer .footer-cta p {
    margin: 0 auto 35px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
}

#site-footer .footer-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

#site-footer .footer-cta-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    padding: 0 34px;
    border-radius: 40px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

#site-footer .footer-cta-primary {
    background: #ffffff;
    color: #0f2b46;
}

#site-footer .footer-cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}


/* =========================================
   Main Footer
========================================= */

#site-footer .footer-main {
    background: #0f2b46;
    padding: 70px 0 0;
}

#site-footer .footer-clinic h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
}

#site-footer .footer-clinic p {
    margin: 0 0 8px;
    color: #dbe7ea;
    font-size: 18px;
}

#site-footer .footer-clinic > a {
    display: block;
    margin-top: 18px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}


/* =========================================
   Footer Columns
========================================= */

#site-footer .footer-column h4 {
    margin: 0 0 22px;
    color: #5dd6df;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#site-footer .footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#site-footer .footer-column li {
    margin-bottom: 12px;
}

#site-footer .footer-column a {
    color: #dbe7ea;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s ease;
}

#site-footer .footer-column a:hover {
    color: #ffffff;
}

#site-footer .footer-clinic-links {
    margin-top: 35px;
}


/* =========================================
   Footer Bottom
========================================= */

#site-footer .footer-bottom {
    margin-top: 50px;
    padding: 28px 0 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

#site-footer .footer-bottom p {
    margin: 0;
    color: #9fb2bc;
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================
   Mega Menu
========================================= */



.medexa-main-navigation .medexa-menu-list {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.medexa-main-navigation .medexa-menu-list > li {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    margin: 0;
    padding: 0;
}

.medexa-main-navigation .medexa-menu-list > li > a {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 0;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
}

/* WordPress submenu / mega-menu */
.medexa-main-navigation .sub-menu {
    margin: 0;
    padding: 20px;
    list-style: none;
}

.medexa-main-navigation .sub-menu li {
    min-height: 0;
    margin: 0;
    padding: 0;
}

.medexa-main-navigation .sub-menu li > a {
    display: block;
    height: auto;
    min-height: 64px;
    padding: 14px 0;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}





/* VLNESS Services Mega Menu */

@media (min-width: 992px) {

    .medexa-mega-item {
        position: static !important;
    }

    .medexa-mega-panel {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);

        width: min(1100px, calc(100vw - 40px));
        max-height: 75vh;
        overflow-y: auto;

        background: #fff;
        border: 1px solid #dce7eb;
        border-radius: 18px;
        box-shadow: 0 15px 40px rgba(15, 43, 70, 0.12);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1100;

        transition: opacity 0.2s ease,
                    visibility 0.2s ease;
    }

    .medexa-mega-item.is-open > .medexa-mega-panel,
    .medexa-mega-item:focus-within > .medexa-mega-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .medexa-mega-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .medexa-mega-column {
        min-width: 0;
        padding: 28px 32px;
    }

    .medexa-mega-column + .medexa-mega-column {
        border-left: 1px solid #e1e9ed;
    }
}

.medexa-mega-heading {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8eef1;
}

.medexa-mega-doctor {
    display: block;
    margin-bottom: 8px;
    color: #0e7c86;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.medexa-mega-heading h3 {
    margin: 0;
    color: #102e49;
    font-size: 20px;
    line-height: 1.4;
}

.medexa-mega-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.medexa-mega-list li {
    margin: 0;
    padding: 0;
}

.medexa-mega-list a {
    display: block;
    height: auto;
    min-height: 0;
    padding: 10px 0;

    color: #1767df;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.medexa-mega-list a:hover {
    color: #0e7c86;
}

/* Mobile and tablet */
@media (max-width: 991.98px) {

    .medexa-mega-panel {
        display: none;
        width: 100%;
        background: #f8fbfc;
        border: 1px solid #e1e9ed;
        border-radius: 12px;
    }

    .medexa-mega-item.is-open > .medexa-mega-panel {
        display: block;
    }

    .medexa-mega-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .medexa-mega-column {
        padding: 22px 18px;
        min-width: 0;
    }

    .medexa-mega-column + .medexa-mega-column {
        border-top: 1px solid #e1e9ed;
    }
}



























