/*=========================================================
Platform Refer
Professional Education Platform
Version : 1.0
Author  : ChatGPT
File    : assets/css/style.css
Part    : 1A
=========================================================*/


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

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


/*=========================================================
ROOT VARIABLES
=========================================================*/

:root{

    --primary:#2563eb;
    --secondary:#7c3aed;
    --success:#10b981;
    --danger:#ef4444;
    --warning:#f59e0b;

    --dark:#0f172a;
    --dark2:#1e293b;

    --light:#ffffff;
    --body:#f5f7fb;

    --text:#64748b;
    --heading:#111827;

    --radius:18px;

    --shadow:0 15px 45px rgba(0,0,0,.08);

    --transition:.35s;

}


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

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

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    background:var(--body);
    color:var(--text);
    overflow-x:hidden;

}

a{

    text-decoration:none;

}

img{

    max-width:100%;

}

ul{

    list-style:none;
    padding:0;
    margin:0;

}

section{

    padding:35px 0;

}


/*=========================================================
SCROLL BAR
=========================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);
    border-radius:30px;

}

::-webkit-scrollbar-track{

    background:#ececec;

}


/*=========================================================
LOADER
=========================================================*/

#loader{

    position:fixed;

    inset:0;

    background:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.loader-circle{

    width:70px;

    height:70px;

    border-radius:50%;

    border:7px solid #ddd;

    border-top:7px solid var(--primary);

    animation:spin 1s linear infinite;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}


/*=========================================================
COMMON BUTTON
=========================================================*/

.btn{

    border-radius:50px;

    padding:12px 28px;

    font-weight:600;

    transition:.4s;

}

.btn-primary{

    background:var(--primary);

    border-color:var(--primary);

}

.btn-primary:hover{

    background:#1d4ed8;

    border-color:#1d4ed8;

    transform:translateY(-3px);

    box-shadow:0 10px 30px rgba(37,99,235,.35);

}

.btn-light{

    color:var(--heading);

    font-weight:600;

}

.btn-light:hover{

    transform:translateY(-3px);

}


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

.header-area{

    background:#fff;

    box-shadow:0 10px 35px rgba(0,0,0,.05);

    transition:.4s;

}

.navbar{

    padding:18px 0;

}

.logo-box{

    display:flex;

    align-items:center;

    gap:12px;

}

.logo-icon{

    width:55px;

    height:55px;

    background:linear-gradient(45deg,var(--primary),var(--secondary));

    border-radius:15px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:23px;

}

.logo-box h3{

    font-size:22px;

    margin:0;

    color:var(--heading);

    font-weight:700;

}

.logo-box small{

    color:var(--text);

}

.navbar-nav .nav-link{

    color:#333;

    font-weight:500;

    margin:0 8px;

    position:relative;

}

.navbar-nav .nav-link::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    background:var(--primary);

    transition:.35s;

    border-radius:50px;

}

.navbar-nav .nav-link:hover::after,

.navbar-nav .nav-link.active::after{

    width:100%;

}

.navbar-toggler{

    border:none;

    box-shadow:none;

}

.navbar-toggler i{

    font-size:24px;

    color:var(--primary);

}


/*=========================================================
HERO SECTION
=========================================================*/

.hero-section{

 
    padding-bottom:120px;

    background:linear-gradient(135deg,#eef5ff,#ffffff);

}

.hero-tag{

    display:inline-block;

    padding:8px 20px;

    background:#dbeafe;

    color:var(--primary);

    border-radius:50px;

    font-weight:600;

    margin-bottom:20px;

}

.hero-section h1{

    font-size:58px;

    font-weight:800;

    color:var(--heading);

    line-height:1.2;

    margin-bottom:25px;

}

.hero-section p{

    font-size:18px;

    line-height:32px;

    margin-bottom:35px;

}

.hero-search{

    background:#fff;

    padding:18px;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.hero-search .form-control{

    height:58px;

    border-radius:12px;

    border:1px solid #ddd;

}

.hero-buttons{

    display:flex;

    gap:15px;

}

.hero-counter{

    display:flex;

    justify-content:space-between;

    margin-top:60px;

}

.hero-counter h3{

    font-size:34px;

    color:var(--primary);

    font-weight:700;

}

.hero-counter p{

    margin:0;

}


/*=========================================================
HERO IMAGE
=========================================================*/

.hero-image{

    position:relative;

    text-align:center;

}

.hero-image img{

    width:90%;

}

.floating-card{

    position:absolute;

    background:#fff;

    border-radius:14px;

    padding:12px 20px;

    box-shadow:var(--shadow);

    font-weight:600;

}

.card1{

    top:15%;

    left:0;

}

.card2{

    right:0;

    top:45%;

}

.card3{

    bottom:30px;

    left:15%;

}

/*=========================
END PART 1A
=========================*/
/*=========================================================
STYLE.CSS
PART 1B
POPULAR SUBJECTS
FEATURED COURSES
TOP TEACHERS
=========================================================*/


/*=========================================================
COMMON SECTION TITLE
=========================================================*/

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title span{

    display:inline-block;

    background:#e0e7ff;

    color:var(--primary);

    padding:8px 22px;

    border-radius:50px;

    font-weight:600;

    margin-bottom:15px;

}

.section-title h2{

    color:var(--heading);

    font-size:42px;

    font-weight:700;

    margin-bottom:15px;

}

.section-title p{

    max-width:700px;

    margin:auto;

    font-size:17px;

    line-height:30px;

}



/*=========================================================
POPULAR SUBJECTS
=========================================================*/

.subject-section{

    background:#fff;

}

.subject-card{

    background:#fff;

    border-radius:22px;

    padding:35px 25px;

    text-align:center;

    transition:.35s;

    box-shadow:0 10px 35px rgba(0,0,0,.05);

    border:1px solid #eef1f7;

    height:100%;

}

.subject-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.subject-card i{

    width:85px;

    height:85px;

    line-height:85px;

    border-radius:50%;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    font-size:34px;

    margin-bottom:25px;

}

.subject-card h4{

    color:var(--heading);

    font-weight:700;

    margin-bottom:10px;

}

.subject-card p{

    margin:0;

}



/*=========================================================
FEATURED COURSES
=========================================================*/

.featured-courses{

    background:#f7f9fc;

}

.course-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 12px 35px rgba(0,0,0,.07);

    height:100%;

}

.course-card:hover{

    transform:translateY(-10px);

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

}

.course-image{

    position:relative;

    overflow:hidden;

}

.course-image img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:.5s;

}

.course-card:hover .course-image img{

    transform:scale(1.08);

}

.course-tag{

    position:absolute;

    top:15px;

    left:15px;

    background:var(--primary);

    color:#fff;

    padding:7px 16px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;

}

.course-content{

    padding:25px;

}

.course-rating{

    color:#f59e0b;

    margin-bottom:12px;

    font-size:15px;

}

.course-rating span{

    color:#666;

}

.course-content h4{

    color:var(--heading);

    font-size:23px;

    font-weight:700;

    margin-bottom:15px;

}

.course-content p{

    line-height:28px;

    margin-bottom:20px;

}



/*=========================================================
TEACHER BOX
=========================================================*/

.teacher-box{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:25px;

}

.teacher-box img{

    width:55px;

    height:55px;

    border-radius:50%;

    object-fit:cover;

}

.teacher-box h6{

    margin:0;

    color:var(--heading);

    font-weight:600;

}

.teacher-box small{

    color:#777;

}

.course-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-top:1px solid #eee;

    padding-top:18px;

}

.course-footer strong{

    color:var(--primary);

    font-size:25px;

}

.course-footer del{

    color:#999;

    margin-left:8px;

}



/*=========================================================
TOP TEACHERS
=========================================================*/

.teacher-section{

    background:#fff;

}

.teacher-card{

    background:#fff;

    text-align:center;

    border-radius:22px;

    padding:35px 25px;

    transition:.35s;

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

    border:1px solid #eef2f7;

    height:100%;

}

.teacher-card:hover{

    transform:translateY(-12px);

    box-shadow:0 22px 50px rgba(0,0,0,.12);

}

.teacher-card img{

    width:130px;

    height:130px;

    border-radius:50%;

    object-fit:cover;

    border:6px solid #edf3ff;

    margin-bottom:20px;

}

.teacher-card h4{

    color:var(--heading);

    font-weight:700;

    margin-bottom:8px;

}

.teacher-card p{

    color:var(--primary);

    font-weight:600;

    margin-bottom:12px;

}

.teacher-rating{

    color:#f59e0b;

    font-size:18px;

    margin-bottom:15px;

}

.teacher-info{

    padding:15px 0;

    border-top:1px solid #eee;

    border-bottom:1px solid #eee;

    color:#666;

}

.teacher-info i{

    color:var(--primary);

    margin-right:8px;

}

.teacher-card .btn{

    margin-top:20px;

}



/*=========================================================
HOVER EFFECTS
=========================================================*/

.course-card,
.teacher-card,
.subject-card{

    cursor:pointer;

}

.course-card:hover h4,

.teacher-card:hover h4,

.subject-card:hover h4{

    color:var(--primary);

    transition:.35s;

}

/*=========================
END PART 1B
=========================*/
/*=========================================================
STYLE.CSS
PART 1C

WHY CHOOSE
COUNTERS
TESTIMONIALS
DOWNLOAD APP
=========================================================*/


/*=========================================================
WHY CHOOSE US
=========================================================*/

.why-choose{

    background:#ffffff;

}

.section-badge{

    display:inline-block;

    padding:10px 22px;

    background:#dbeafe;

    color:var(--primary);

    border-radius:50px;

    font-weight:600;

    letter-spacing:.5px;

}

.section-title{

    color:var(--heading);

    font-size:44px;

    font-weight:700;

    margin-bottom:20px;

}

.section-desc{

    line-height:32px;

    font-size:17px;

    margin-bottom:35px;

}

.feature-box{

    background:#fff;

    padding:25px;

    border-radius:20px;

    transition:.35s;

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

    height:100%;

}

.feature-box:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 45px rgba(0,0,0,.12);

}

.feature-icon{

    width:70px;

    height:70px;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    margin-bottom:20px;

}

.feature-box h5{

    color:var(--heading);

    font-weight:700;

    margin-bottom:12px;

}

.feature-box p{

    margin:0;

    line-height:28px;

}



/*=========================================================
COUNTERS
=========================================================*/

.counter-section{

    background:linear-gradient(135deg,#2563eb,#4f46e5);

    color:#fff;

}

.counter-box{

    padding:35px 15px;

}

.counter-box h2{

    font-size:52px;

    font-weight:700;

    margin-bottom:10px;

}

.counter-box p{

    font-size:18px;

    margin:0;

}



/*=========================================================
TESTIMONIALS
=========================================================*/

.testimonial-section{

    background:#f7f9fc;

}

.testimonial-card{

    background:#fff;

    border-radius:22px;

    padding:30px;

    transition:.35s;

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

    height:100%;

}

.testimonial-card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 45px rgba(0,0,0,.12);

}

.testimonial-top{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:25px;

}

.testimonial-top img{

    width:70px;

    height:70px;

    border-radius:50%;

    object-fit:cover;

}

.testimonial-top h5{

    color:var(--heading);

    margin-bottom:4px;

    font-weight:700;

}

.testimonial-top span{

    color:#777;

    font-size:14px;

}

.testimonial-card p{

    line-height:30px;

    margin-bottom:20px;

}

.stars{

    color:#f59e0b;

    letter-spacing:2px;

    font-size:18px;

}



/*=========================================================
DOWNLOAD APP
=========================================================*/

.download-app{

    background:#fff;

}

.download-box{

    background:linear-gradient(135deg,#1d4ed8,#7c3aed);

    border-radius:30px;

    padding:70px 60px;

    color:#fff;

    overflow:hidden;

    position:relative;

}

.download-box::before{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

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

    border-radius:50%;

    top:-120px;

    right:-120px;

}

.download-box h2{

    font-size:46px;

    font-weight:700;

    margin-bottom:20px;

}

.download-box p{

    font-size:18px;

    line-height:32px;

    margin-bottom:25px;

    max-width:520px;

}

.download-box .btn{

    padding:14px 30px;

    font-weight:600;

    border-radius:50px;

}

.download-box img{

    max-height:520px;

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

}

@keyframes floatPhone{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}



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

.hero-image img,

.download-box img{

    user-select:none;

    pointer-events:none;

}

/*=========================
END PART 1C
=========================*/
/*=========================================================
STYLE.CSS
PART 1D

FAQ
CTA
FOOTER
MOBILE MENU
ANIMATIONS
=========================================================*/


/*=========================================================
FAQ
=========================================================*/

.faq-section{

    background:#ffffff;

}

.accordion-item{

    border:none;

    margin-bottom:20px;

    border-radius:18px !important;

    overflow:hidden;

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

}

.accordion-button{

    padding:22px 25px;

    font-weight:600;

    font-size:17px;

    color:var(--heading);

    background:#fff;

    box-shadow:none !important;

}

.accordion-button:not(.collapsed){

    background:var(--primary);

    color:#fff;

}

.accordion-body{

    padding:25px;

    line-height:30px;

    color:#666;

}



/*=========================================================
CTA SECTION
=========================================================*/

.cta-section{

    background:linear-gradient(135deg,#2563eb,#7c3aed);

    color:#fff;

}

.cta-box{

    padding:70px 40px;

}

.cta-box h2{

    font-size:52px;

    font-weight:700;

    margin-bottom:20px;

}

.cta-box p{

    font-size:18px;

    max-width:700px;

    margin:auto;

    line-height:32px;

}

.cta-box .btn{

    margin-top:20px;

}



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

.footer-area{

    background:#0f172a;

    color:#cbd5e1;

    padding:90px 0 25px;

}

.footer-logo{

    color:#fff;

    font-weight:700;

    margin-bottom:20px;

}

.footer-area p{

    line-height:30px;

}

.footer-area h5{

    color:#fff;

    margin-bottom:25px;

    font-weight:600;

}

.footer-links li{

    margin-bottom:14px;

}

.footer-links li a{

    color:#cbd5e1;

    transition:.35s;

}

.footer-links li a:hover{

    color:#fff;

    padding-left:8px;

}

.social-icons{

    display:flex;

    gap:12px;

    margin-top:25px;

}

.social-icons a{

    width:45px;

    height:45px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#1e293b;

    color:#fff;

    transition:.35s;

}

.social-icons a:hover{

    background:var(--primary);

    transform:translateY(-6px);

}

.newsletter-form .form-control{

    height:56px;

    border:none;

    border-radius:50px 0 0 50px;

}

.newsletter-form .btn{

    border-radius:0 50px 50px 0;

}

.footer-area hr{

    border-color:rgba(255,255,255,.08);

    margin:45px 0 25px;

}



/*=========================================================
MOBILE BOTTOM MENU
=========================================================*/

.mobile-menu{

    position:fixed;

    left:0;

    right:0;

    bottom:0;

    background:#fff;

    display:flex;

    justify-content:space-around;

    align-items:center;

    padding:12px 0;

    box-shadow:0 -5px 20px rgba(0,0,0,.08);

    z-index:999;

}

.mobile-menu a{

    color:#64748b;

    text-align:center;

    font-size:13px;

    display:flex;

    flex-direction:column;

    gap:5px;

    transition:.3s;

}

.mobile-menu a i{

    font-size:20px;

}

.mobile-menu a.active,

.mobile-menu a:hover{

    color:var(--primary);

}



/*=========================================================
BACK TO TOP
=========================================================*/

.back-top{

    position:fixed;

    right:25px;

    bottom:90px;

    width:52px;

    height:52px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    box-shadow:0 12px 25px rgba(0,0,0,.18);

    transition:.35s;

    opacity:0;

    visibility:hidden;

}

.back-top.show{

    opacity:1;

    visibility:visible;

}

.back-top:hover{

    transform:translateY(-6px);

}



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

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero-section,

.subject-card,

.course-card,

.teacher-card,

.feature-box,

.testimonial-card,

.counter-box,

.download-box,

.cta-box{

    animation:fadeUp .8s ease;

}



/*=========================================================
UTILITY CLASSES
=========================================================*/

.text-gradient{

    background:linear-gradient(135deg,#2563eb,#7c3aed);

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.shadow-lg-custom{

    box-shadow:0 18px 45px rgba(0,0,0,.12);

}

.rounded-xl{

    border-radius:25px;

}



/*=========================================================
END OF STYLE.CSS
=========================================================*/