/* ===========================
   Reset & Base
=========================== */

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


html {
    scroll-behavior: smooth;
}


body {

    font-family: 'Poppins', sans-serif;

    background: #f4f4f4;

    color: #222;

    min-height: 100vh;

    transition: background .4s ease, color .4s ease;

}



/* ===========================
   Navbar
=========================== */


.navbar {

    position: fixed;

    top: 20px;

    left: 5%;

    right: 5%;

    height: 65px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0 25px;

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

    backdrop-filter: blur(15px);

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,.08);

    z-index: 999;

}



.nav-home {

    text-decoration: none;

    color: #222;

    font-size: 20px;

    font-weight: 600;

    transition: .3s;

}



.nav-home:hover {

    color: #0aa8b0;

}




/* ===========================
   Theme Button
=========================== */


.theme-btn {

    width: 45px;

    height: 45px;

    border: none;

    border-radius: 50%;

    background: #222;

    color: white;

    cursor: pointer;

    font-size: 18px;

    transition: .3s;

}



.theme-btn:hover {

    transform: rotate(360deg) scale(1.1);

}





/* ===========================
   Hero
=========================== */


.hero {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 30px;

}



.profile {

    width: 180px;

    height: 180px;

    object-fit: cover;

    border-radius: 50%;

    border: 6px solid white;

    box-shadow: 0 15px 40px rgba(0,0,0,.15);

    margin-bottom: 30px;

    animation: float 4s ease-in-out infinite;

}



@keyframes float {

    0% {

        transform: translateY(0);

    }


    50% {

        transform: translateY(-12px);

    }


    100% {

        transform: translateY(0);

    }

}



.hero h1 {

    font-size: 48px;

    font-weight: 700;

}



.hero h3 {

    margin-top: 12px;

    color: #666;

    font-weight: 400;

}



.hero p {

    margin-top: 25px;

    max-width: 650px;

    line-height: 1.8;

    color: #555;

}





/* ===========================
   Page Layout
=========================== */


.page {

    padding-top: 140px;

    padding-bottom: 140px;

    width: 90%;

    max-width: 1000px;

    margin: auto;

}



.page h1 {

    text-align: center;

    font-size: 42px;

    margin-bottom: 40px;

}



.card {

    background: white;

    border-radius: 20px;

    padding: 35px;

    margin-bottom: 30px;

    box-shadow: 0 10px 30px rgba(0,0,0,.08);

}



.card h2 {

    margin-bottom: 20px;

}



.card p {

    line-height: 1.9;

    color: #555;

}



.card ul {

    margin-left: 20px;

    line-height: 2;

}
/* ===========================
   Planino Theme
=========================== */


.planino-page {

    background: #dffefd;

}



.planino-page .card {

    border-top: 8px solid #11c5d9;

}





/* ===========================
   Buttons
=========================== */


.telegram-btn {

    display: inline-block;

    margin-top: 25px;

    background: #11c5d9;

    color: white;

    text-decoration: none;

    border: none;

    padding: 15px 30px;

    border-radius: 12px;

    cursor: pointer;

    font-family: 'Poppins', sans-serif;

    font-size: 16px;

    transition: .3s;

}



.telegram-btn:hover {

    background: #099cad;

    transform: translateY(-3px);

}




/* ===========================
   Konkur Exam Section
=========================== */


.exam-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;

}



.exam-buttons button {

    background: #4f46e5;

    color: white;

    border: none;

    padding: 10px 15px;

    border-radius: 8px;

    cursor: pointer;

    font-family: 'Poppins', sans-serif;

    transition: .3s;

}



.exam-buttons button:hover {

    background: #3730a3;

}



.exam-image {

    margin-top: 25px;

    text-align: center;

}



.exam-image img {

    display: none;

    width: 100%;

    max-width: 700px;

    border-radius: 10px;

}





/* ===========================
   Bottom Menu
=========================== */


.bottom-menu {

    position: fixed;

    bottom: 20px;

    left: 50%;

    transform: translateX(-50%);


    display: flex;

    gap: 15px;


    background: white;

    padding: 15px 22px;


    border-radius: 30px;


    box-shadow: 0 10px 30px rgba(0,0,0,.12);


    z-index: 999;

}



.bottom-menu a {

    text-decoration: none;

    color: #222;

    font-weight: 500;

    padding: 10px 16px;

    border-radius: 10px;

    transition: .3s;

}



.bottom-menu a:hover {

    background: #eeeeee;

}





/* ===========================
   Dark Mode
=========================== */


body.dark {

    background: #1f1f1f;

    color: white;

}



body.dark .navbar {

    background: rgba(40,40,40,.9);

}



body.dark .nav-home {

    color: white;

}



body.dark .hero h3 {

    color: #bbb;

}



body.dark .hero p {

    color: #ddd;

}



body.dark .card {

    background: #2f2f2f;

    color: white;

}



body.dark .card p {

    color: #ddd;

}



body.dark .bottom-menu {

    background: #222;

}



body.dark .bottom-menu a {

    color: white;

}



body.dark .bottom-menu a:hover {

    background: #444;

}



body.dark .theme-btn {

    background: white;

    color: #222;

}





/* ===========================
   Responsive
=========================== */


@media (max-width: 768px) {


    .hero h1 {

        font-size: 34px;

    }



    .hero h3 {

        font-size: 18px;

    }



    .profile {

        width: 150px;

        height: 150px;

    }



    .navbar {

        left: 3%;

        right: 3%;

    }



    .page {

        width: 95%;

    }



    .card {

        padding: 25px;

    }



    .bottom-menu {

        width: 95%;

        justify-content: space-around;

        gap: 5px;

        padding: 12px;

    }



    .bottom-menu a {

        font-size: 13px;

        padding: 8px;

    }



    .exam-buttons {

        flex-direction: column;

    }



    .exam-buttons button {

        width: 100%;

    }

}
.navbar div {
    display: flex;
    gap: 10px;
}

@font-face {
    font-family: "fafont";
    src: url("../fonts/fafont.ttf");
}

body {
    font-family: "fafont";
}