/* =========================================================
   MEDVIA GLOBAL CONFERENCES
   COMMON HEADER + FOOTER
   ========================================================= */


/* =========================================================
   GLOBAL RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: #1e293b;
}


/* =========================================================
   HEADER
   ========================================================= */

.medvia-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(15, 118, 110, 0.08);

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease;

}


.medvia-header.scrolled {

    background: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.10);

}


/* =========================================================
   NAVIGATION
   ========================================================= */

.medvia-nav {

    width: 100%;

    max-width: 1500px;

    margin: auto;

    min-height: 82px;

    padding: 8px 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   BRAND
   ========================================================= */

.medvia-brand {

    display: inline-flex;

    align-items: center;

    gap: 13px;

    text-decoration: none;

    flex-shrink: 0;

}


.medvia-brand-logo {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #e8f8f5,
            #fff4e8
        );

    box-shadow:
        0 8px 25px rgba(15, 118, 110, 0.10);

    overflow: hidden;

}


.medvia-brand-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 5px;

    transition: transform 0.35s ease;

}


.medvia-brand:hover
.medvia-brand-logo img {

    transform: scale(1.08);

}


/* =========================================================
   BRAND TEXT
   ========================================================= */

.medvia-brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1;

}


.medvia-brand-name {

    font-size: 25px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #0f766e;

}


.medvia-brand-subtitle {

    margin-top: 6px;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2.5px;

    color: #64748b;

}


/* =========================================================
   NAVIGATION MENU
   ========================================================= */

.medvia-menu {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 7px;

    margin: 0;

    padding: 0;

    list-style: none;

}


.medvia-menu li {

    margin: 0;

    padding: 0;

}


.medvia-menu li a {

    position: relative;

    display: inline-flex;

    align-items: center;

    padding: 10px 13px;

    color: #334155;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    border-radius: 10px;

    transition:
        color 0.3s ease,
        background 0.3s ease;

}


.medvia-menu li a::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: 4px;

    width: 0;

    height: 2px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #0f766e,
            #f97316
        );

    transform: translateX(-50%);

    transition: width 0.3s ease;

}


.medvia-menu li a:hover {

    color: #0f766e;

    background: #f0fdfa;

}


.medvia-menu li a:hover::after {

    width: 55%;

}


/* =========================================================
   MAIN
   ========================================================= */

.medvia-main {

    width: 100%;

    min-height: 300px;

}


/* =========================================================
   FOOTER
   ========================================================= */

.medvia-footer {

    position: relative;

    background:
        linear-gradient(
            135deg,
            #082f49 0%,
            #0f3d56 45%,
            #064e3b 100%
        );

    color: #cbd5e1;

    overflow: hidden;

}


.medvia-footer::before {

    content: "";

    position: absolute;

    top: -150px;

    right: -150px;

    width: 400px;

    height: 400px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(249, 115, 22, 0.18),
            transparent 70%
        );

    pointer-events: none;

}


.medvia-footer::after {

    content: "";

    position: absolute;

    bottom: -180px;

    left: -180px;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(20, 184, 166, 0.16),
            transparent 70%
        );

    pointer-events: none;

}


/* =========================================================
   FOOTER CONTAINER
   ========================================================= */

.medvia-footer-container {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1500px;

    margin: auto;

    padding: 75px 40px 55px;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.3fr;

    gap: 55px;

}


/* =========================================================
   FOOTER COLUMN
   ========================================================= */

.medvia-footer-column {

    min-width: 0;

}


.medvia-footer-column h4 {

    margin: 0 0 22px;

    color: #ffffff;

    font-size: 16px;

    font-weight: 700;

}


.medvia-footer-column p {

    margin: 0 0 14px;

    color: #cbd5e1;

    font-size: 13px;

    line-height: 1.8;

}


.medvia-footer-column p i {

    width: 22px;

    color: #fb923c;

}


/* =========================================================
   FOOTER BRAND
   ========================================================= */

.medvia-footer-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

}


.medvia-footer-brand img {

    width: 55px;

    height: 55px;

    object-fit: contain;

    padding: 5px;

    background: rgba(255,255,255,0.95);

    border-radius: 13px;

}


.medvia-footer-brand div {

    display: flex;

    flex-direction: column;

}


.medvia-footer-brand strong {

    color: #ffffff;

    font-size: 22px;

    letter-spacing: 2px;

}


.medvia-footer-brand span {

    margin-top: 4px;

    color: #94a3b8;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2px;

}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

.medvia-social {

    display: flex;

    gap: 10px;

    margin-top: 22px;

}


.medvia-social a {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    text-decoration: none;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 12px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;

}


.medvia-social a:hover {

    transform: translateY(-5px);

    background: #f97316;

}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.medvia-footer-column > a {

    display: block;

    width: fit-content;

    margin-bottom: 12px;

    color: #cbd5e1;

    font-size: 13px;

    text-decoration: none;

    transition:
        color 0.3s ease,
        padding-left 0.3s ease;

}


.medvia-footer-column > a:hover {

    color: #fb923c;

    padding-left: 6px;

}


/* =========================================================
   MAP
   ========================================================= */

.medvia-map {

    width: 100%;

    height: 190px;

    overflow: hidden;

    border-radius: 15px;

    border: 1px solid rgba(255,255,255,0.10);

}


.medvia-map iframe {

    display: block;

    width: 100%;

    height: 100%;

    border: 0;

}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.medvia-footer-bottom {

    position: relative;

    z-index: 2;

    max-width: 1500px;

    margin: auto;

    padding: 20px 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255,255,255,0.10);

    color: #94a3b8;

    font-size: 11px;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .medvia-nav {

        padding-left: 25px;
        padding-right: 25px;

    }

    .medvia-menu {

        gap: 2px;

    }

    .medvia-menu li a {

        padding-left: 9px;
        padding-right: 9px;

        font-size: 12px;

    }

}


@media (max-width: 1000px) {

    .medvia-nav {

        flex-direction: column;

        padding-top: 15px;

        padding-bottom: 15px;

    }

    .medvia-menu {

        flex-wrap: wrap;

        justify-content: center;

    }

    .medvia-main {

        padding-top: 120px;

    }

    .medvia-footer-container {

        grid-template-columns: repeat(2, 1fr);

    }

}


@media (max-width: 600px) {

    .medvia-nav {

        min-height: auto;

    }

    .medvia-brand-name {

        font-size: 21px;

    }

    .medvia-menu {

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        width: 100%;

    }

    .medvia-menu li a {

        width: 100%;

        justify-content: center;

    }

    .medvia-footer-container {

        grid-template-columns: 1fr;

        padding: 50px 25px;

    }

    .medvia-footer-bottom {

        flex-direction: column;

        text-align: center;

        padding-left: 25px;

        padding-right: 25px;

    }

}