/* ===========================
GOOGLE FONT
=========================== */

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

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f4f7fc;
}

/* ===========================
   MAIN CONTAINER
=========================== */

.container{
    display:flex;
    min-height:100vh;
}

/* ===========================
   LEFT PANEL
=========================== */

.left-panel{
    width:38%;
    background:linear-gradient(180deg,#2F4F8F 0%,#2E7D76 55%,#35B66A 100%);
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:60px;
}

.left-content{
    width:100%;
}

.left-content h1{
    font-size:70px;
    font-weight:700;
    line-height:1.1;
    margin-bottom:35px;
}

.left-content p{
    font-size:22px;
    line-height:1.8;
    margin-bottom:50px;
}

/* ===========================
   FEATURES
=========================== */

.features{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.feature{
    display:flex;
    align-items:center;
    gap:18px;
    font-size:22px;
}

.feature i{
    color:white;
    font-size:26px;
}

/* ===========================
   RIGHT PANEL
=========================== */

.right-panel{
    width:62%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:60px;
}

.welcome-box{
    width:100%;
    max-width:900px;
}

.welcome-box h4{
    color:#35B66A;
    letter-spacing:3px;
    margin-bottom:10px;
}

.welcome-box h1{
    font-size:48px;
    color:#223B63;
    margin-bottom:20px;
}

.welcome-box p{
    color:#666;
    line-height:1.8;
    font-size:18px;
    margin-bottom:40px;
}

/* ===========================
CARDS
=========================== */

.cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.card{
    background:white;
    border-radius:18px;
    padding:35px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card i{
    font-size:42px;
    color:#35B66A;
    margin-bottom:20px;
}

.card h3{
    color:#223B63;
    margin-bottom:12px;
}

.card p{
    font-size:15px;
    margin:0;
}

/* ===========================
   BUTTONS
=========================== */

.buttons{
    margin-top:45px;
    display:flex;
    gap:20px;
}

.login-btn,
.appointment-btn,
.cancel-btn{
    text-decoration:none;
    padding:15px 35px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.login-btn{
    background:#35B66A;
    color:white;
}

.login-btn:hover{
    background:#289658;
}

.appointment-btn{
    background: #35B66A;
    color:white;
}

.appointment-btn:hover{
    background:#35B66A;
}

.cancel-btn{
    text-decoration: none;
    background:#35B66A;
    color:white;
}

.cancel-btn:hover{
    text-decoration: none;
    background:#35B66A;
}
/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px){

    .container{
        flex-direction:column;
    }

    .left-panel,
    .right-panel{
        width:100%;
    }

    .left-content h1{
        font-size:50px;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .buttons{
        flex-direction:column;
    }
}

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

.footer{

    background:#223B63;

    color:white;

    padding:40px 20px;

    text-align:center;

    margin-top:60px;

}

.footer h3{

    margin-bottom:10px;

    font-size:28px;

}

.footer p{

    color:#d9d9d9;

    margin:10px 0;

}

.footer-links{

    margin:25px 0;

}

.footer-links a{

    color:white;

    text-decoration:none;

    margin:0 15px;

    transition:.3s;

}

.footer-links a:hover{

    color:#35B66A;

}

.footer hr{

    border:none;

    height:1px;

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

    margin:25px 0;

}

.copyright{

    font-size:14px;

    color:#cfcfcf;

}

.feature{

    transition:.3s;

}

.feature:hover{

    transform:translateX(10px);

}

.welcome-box{

    animation:fadeUp 1s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ===========================
   LOGIN PAGE
=========================== */

.login-box{

    width:100%;
    max-width:500px;
    background:#ffffff;
    padding:45px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.login-box h2{

    font-size:34px;
    color:#223B63;
    text-align:center;
    margin-bottom:10px;

}

.login-box p{

    text-align:center;
    color:#666;
    margin-bottom:35px;
    line-height:1.6;

}

/* INPUT GROUP */

.input-group{

    margin-bottom:22px;

}

.input-group label{

    display:block;
    margin-bottom:10px;
    color:#223B63;
    font-weight:600;
    font-size:15px;

}

.input-group label i{

    color:#35B66A;
    margin-right:8px;

}

.input-group input,
.input-group select{

    width:100%;
    padding:14px 16px;
    border:1px solid #d8dde6;
    border-radius:10px;
    outline:none;
    font-size:16px;
    transition:.3s;
    background:#fff;

}

.input-group input:focus,
.input-group select:focus{

    border-color:#35B66A;
    box-shadow:0 0 8px rgba(53,182,106,.25);

}

/* LOGIN BUTTON */

.login-button{

    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    background:#35B66A;
    color:white;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;

}

.login-button:hover{

    background:#2a9d5d;
    transform:translateY(-2px);

}

.login-button i{

    margin-right:8px;

}

/* BACK BUTTON */

.back-home{

    text-align:center;
    margin-top:25px;

}

.back-home a{

    text-decoration:none;
    color:#223B63;
    font-weight:600;
    transition:.3s;

}

.back-home a:hover{

    color:#35B66A;

}

.back-home i{

    margin-right:6px;

}
