@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700;900&display=swap');

/* =========================================
   RESET
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
}

/* =========================================
   BODY
========================================= */

body{
    font-family:'Lato',sans-serif;
    background:#f8fafc;
    color:#334155;
    overflow-x:hidden;
    line-height:1.7;
    scroll-behavior:smooth;
}

/* =========================================
   GLOBAL
========================================= */

img{
    padding-top: 10px;
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    transition:.3s ease;
}

#wrapper{
    width:100%;
    min-height:100vh;
}

#container{
    width:100%;
}

#main{
    width:100%;
}

.inside{
    width:100%;
}

/* =========================================
   HEADER
========================================= */

.header{
    width:100%;

    position:fixed;
    top:0;
    left:0;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:20px 30px;

    background:rgba(255,255,255,.88);

    backdrop-filter:blur(14px);

    z-index:1000;

    border-bottom:
    1px solid rgba(255,255,255,.25);

    box-shadow:
        0 4px 20px rgba(0,0,0,.04);
}

/* =========================================
   CONTENT IMAGE
========================================= */

.content-image{
    width:auto !important;
    max-width:none !important;
    flex:none !important;
}

.content-image figure{
    margin:0;
    width:auto;
}

.content-image img{
    width:auto;
    max-width:100%;
    height:auto;
}

/* =========================================
   LOGO
========================================= */

.header .content-image img{
    width:190px;
}

/* =========================================
   SIDEBAR
========================================= */

.sidebar{
    position:fixed;

    top:0;
    right:-320px;

    width:320px;
    height:100vh;

    background:white;

    padding:110px 30px 30px;

    transition:.35s ease;

    z-index:999;

    overflow-y:auto;

    box-shadow:
        -10px 0 40px rgba(15,23,42,.08);
}

.sidebar.active{
    right:0;
}

/* =========================================
   SIDEBAR CONTENT
========================================= */

.sidebar .rte{
    width:100%;
}

.sidebar p{
    display:block;
    width:100%;
}

/* =========================================
   SIDEBAR LINKS
========================================= */

.sidebar p a{
    display:block;

    width:100%;

    padding:16px 18px;

    margin-bottom:14px;

    background:#f8fafc;

    border-radius:18px;

    color:#475569;

    font-size:16px;
    font-weight:700;

    transition:.3s ease;
}

.sidebar p a:hover{
    background:#eff6ff;

    color:#2563eb;

    transform:translateX(-5px);
}

/* =========================================
   NAVICON
========================================= */

.navicon{
    width:58px;
    height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    position:fixed;
    top:20px;
    right:20px;

    background:
        linear-gradient(
            135deg,
            #60a5fa,
            #2563eb
        );

    border-radius:18px;

    cursor:pointer;

    z-index:1001;

    transition:.3s ease;

    box-shadow:
        0 12px 25px rgba(96,165,250,.25);
}

.navicon:hover{
    transform:translateY(-2px);
}

.navicon span{
    position:absolute;

    width:24px;
    height:3px;

    background:white;

    border-radius:30px;

    transition:.3s ease;
}

.navicon span:nth-child(1){
    transform:translateY(-8px);
}

.navicon span:nth-child(2){
    opacity:1;
}

.navicon span:nth-child(3){
    transform:translateY(8px);
}

.navicon.active span:nth-child(1){
    transform:rotate(45deg);
}

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

.navicon.active span:nth-child(3){
    transform:rotate(-45deg);
}

/* =========================================
   SLIDER
========================================= */

#slider{
    width:100%;
    height:100vh;

    position:relative;

    overflow:hidden;
}

.slider-inner{
    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    opacity:0;

    animation:slider 24s infinite;
}

.slider-inner:nth-child(1){
    animation-delay:0s;
}

.slider-inner:nth-child(2){
    animation-delay:6s;
}

.slider-inner:nth-child(3){
    animation-delay:12s;
}

.slider-inner:nth-child(4){
    animation-delay:18s;
}

#slider .content-image,
#slider .content-image figure,
#slider .content-image img{
    width:100% !important;
    height:100% !important;
}

.slider-inner img{
    object-fit:cover;

    width:100%;
    height:100%;

    transform:scale(1.05);
}

.slider-inner::before{
    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to bottom,
            rgba(15,23,42,.3),
            rgba(15,23,42,.6)
        );

    z-index:1;
}

/* =========================================
   PAGE TEXT
========================================= */

#page-text{
    width:100%;
    max-width:1300px;
    margin:auto;
    padding:100px 30px;
    display:block;
}

/* =========================================
   CONTENT TEXT
========================================= */

.content-text{
    margin-bottom:40px;
}

#page-text .content-text .rte{
    background:white;

    padding:40px;

    border-radius:30px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.05);
}

/* =========================================
   TYPOGRAPHY
========================================= */

.content-text h1{
    font-size:52px;
    font-weight:900;

    color:#0f172a;

    margin-bottom:20px;
}

.content-text h2{
    font-size:38px;
    font-weight:800;

    color:#0f172a;

    margin-bottom:18px;
}

.content-text p{
    font-size:18px;

    color:#64748b;

    margin-bottom:18px;

    line-height:1.9;
}

/* =========================================
   SLOGAN
========================================= */

.slogan{
    display:inline-block;

    padding:10px 18px;

    background:#eff6ff;

    color:#2563eb;

    border-radius:30px;

    font-size:14px;
    font-weight:700;

    margin-bottom:20px;
}

/* =========================================
   ALERT BOX
========================================= */

.content-text .rte div[style]{
    background:white !important;

    border:4px solid #dc2626 !important;

    border-radius:24px;

    padding:30px !important;

    margin:30px 0 !important;

    box-shadow:
        0 10px 25px rgba(220,38,38,.08);
}

/* =========================================
   MEDIA / DOCTOR CARDS
========================================= */

.media{
    display:block;

    overflow:hidden;
    clear:both;

    background:white;

    padding:35px;

    margin-bottom:40px;

    border-radius:32px;

    box-shadow:
        0 12px 35px rgba(15,23,42,.06);

    border:
        1px solid rgba(226,232,240,.8);

    transition:.35s ease;

    min-height:340px;
}

.media:hover{
    transform:translateY(-6px);

    box-shadow:
        0 20px 45px rgba(15,23,42,.08);
}

/* =========================================
   FLOAT IMAGE RIGHT
========================================= */

.media figure{
    float:right;

    width:260px;

    margin-left:35px;
    margin-bottom:15px;

    overflow:hidden;

    border-radius:24px;

    position:relative;

    background:#f1f5f9;
}

.media figure img{
    width:100%;
    height:auto;

    display:block;

    object-fit:cover;

    transition:.4s ease;
}

.media:hover figure img{
    transform:scale(1.04);
}

/* =========================================
   FIGCAPTION
========================================= */

.media figcaption{
    position:absolute;

    left:0;
    bottom:0;

    width:100%;

    padding:14px 18px;

    background:
        linear-gradient(
            to top,
            rgba(15,23,42,.82),
            rgba(15,23,42,0)
        );

    color:white;

    font-size:15px;
    font-weight:700;
}

/* =========================================
   MEDIA CONTENT
========================================= */

.media .rte{
    width:100%;
}

.media h2{
    font-size:34px;
    font-weight:900;

    color:#0f172a;

    margin-bottom:20px;

    line-height:1.2;
}

.media p{
    font-size:17px;

    color:#475569;

    margin-bottom:14px;

    line-height:1.8;
}

/* =========================================
   SPRECHBOX
========================================= */

.sprechbox{
    margin-top:20px;

    padding:28px;

    border-radius:24px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #dbeafe
        );

    border:
        1px solid #bfdbfe;
}

.sprechbox p{
    color:#1e3a8a;

    font-weight:700;
}

.col-md-7{
    width:100%;
}

/* =========================================
   FOOTER
========================================= */

.footer{
    width:100%;

    padding:40px 30px;

    background:white;

    text-align:center;

    border-top:1px solid #e2e8f0;
}

.footer p{
    color:#64748b;
}

/* =========================================
   ANIMATION
========================================= */

@keyframes slider{

    0%{
        opacity:0;
        transform:scale(1);
    }

    8%{
        opacity:1;
    }

    25%{
        opacity:1;
        transform:scale(1.05);
    }

    33%{
        opacity:0;
    }

    100%{
        opacity:0;
        transform:scale(1);
    }

}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:992px){

    .content-text h1{
        font-size:42px;
    }

    .content-text h2{
        font-size:32px;
    }

}

@media(max-width:768px){

    .header{
        padding:20px;
    }

    .header .content-image img{
        width:150px;
    }

    .sidebar{
        width:280px;
        right:-280px;
    }

    #slider{
        height:85vh;
    }

    #page-text{
        padding:70px 20px;
    }

    #page-text .content-text .rte{
        padding:28px;
    }

    .content-text h1{
        font-size:34px;
    }

    .content-text h2{
        font-size:28px;
    }

    .content-text p{
        font-size:16px;
    }

    .media{
        min-height:auto;
        padding:25px;
    }

    .media figure{
        float:none;

        width:100%;

        margin-left:0;
        margin-bottom:25px;

        max-height:420px;
    }

    .media h2{
        font-size:28px;
    }

    .navicon{
        top:15px;
        right:15px;
    }

}

@media(max-width:480px){

    .header{
        padding:16px;
    }

    .header .content-image img{
        width:130px;
    }

    .navicon{
        width:52px;
        height:52px;
    }

    #page-text{
        padding:60px 15px;
    }

    #page-text .content-text .rte{
        padding:22px;
        border-radius:22px;
    }

    .content-text h1{
        font-size:28px;
    }

    .content-text h2{
        font-size:24px;
    }

    .media{
        padding:20px;
        border-radius:24px;
    }

    .media p{
        font-size:15px;
    }

    .sprechbox{
        padding:22px;
    }

    .sidebar{
        width:100%;
        right:-100%;
    }

}
