/*====================================
        GOOGLE FONT
====================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*====================================
            RESET
====================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f8ff;
    color:#222;
    overflow-x:hidden;
    transition:.4s;
}

/*====================================
            NAVBAR
====================================*/

nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 8%;

    background:rgba(255,255,255,.90);
    backdrop-filter:blur(15px);

    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.logo{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo img{
    width:65px;
    height:65px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #ff9800;
}

}

.logo img:hover{

    transform:rotate(360deg);

}

.logo h2{

    font-size:30px;

    font-weight:800;

    color:#0A2D6D;

    white-space:nowrap;

}

nav ul{

    display:flex;

    list-style:none;

    gap:35px;

}

nav ul li a{

    text-decoration:none;

    color:#222;

    font-weight:600;

    transition:.3s;

}

nav ul li a:hover,
nav ul li a.active{

    color:#ff9800;

}

.nav-right{

    display:flex;

    align-items:center;

    gap:15px;

}

/*====================================
        DARK MODE BUTTON
====================================*/

#theme-btn{

    width:45px;
    height:45px;

    border:none;
    border-radius:50%;

    cursor:pointer;

    background:#0A2D6D;

    color:#fff;

    font-size:18px;

    transition:.4s;

}

#theme-btn:hover{

    transform:rotate(180deg);

}

/*====================================
          JOIN BUTTON
====================================*/

.join-btn{

    text-decoration:none;

    color:#fff;

    font-weight:600;

    padding:12px 30px;

    border-radius:50px;

    background:linear-gradient(45deg,#ff9800,#ff5e00);

    box-shadow:0 10px 25px rgba(255,152,0,.35);

    transition:.4s;

}

.join-btn:hover{

    transform:translateY(-5px);

}

/*====================================
            HERO
====================================*/

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:60px;

    padding:150px 8% 80px;

    position:relative;

    overflow:hidden;

}

.hero::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    background:#ff9800;

    border-radius:50%;

    filter:blur(180px);

    opacity:.18;

    top:-180px;

    left:-120px;

}

.hero::after{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    background:#2563eb;

    border-radius:50%;

    filter:blur(180px);

    opacity:.18;

    right:-100px;

    bottom:-120px;

}

.hero-text{

    flex:1;

    z-index:2;

}

.tag{

    display:inline-block;

    padding:10px 22px;

    border-radius:50px;

    background:#fff3e0;

    color:#ff9800;

    font-weight:700;

    margin-bottom:25px;

}

.hero-text h1{

    font-size:65px;

    color:#0A2D6D;

    line-height:1.2;

    margin-bottom:25px;

}

.hero-text p{

    font-size:20px;

    color:#666;

    line-height:1.8;

    max-width:550px;

    margin-bottom:35px;

}

/*====================================
        HERO BUTTONS
====================================*/

.hero-btn{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.btn{

    padding:15px 38px;

    border-radius:50px;

    text-decoration:none;

    color:#fff;

    font-weight:700;

    background:linear-gradient(45deg,#ff9800,#ff5e00);

    transition:.4s;

}

.btn:hover{

    transform:translateY(-5px);

}

.btn2{

    padding:15px 38px;

    border-radius:50px;

    text-decoration:none;

    color:#0A2D6D;

    border:2px solid #0A2D6D;

    font-weight:700;

    transition:.4s;

}

.btn2:hover{

    background:#0A2D6D;

    color:#fff;

}

/*====================================
          FOUNDER IMAGE
====================================*/

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

    position:relative;

    z-index:2;

}

.hero-image img{

    width:420px;

    max-width:100%;

    border-radius:25px;

    box-shadow:0 25px 60px rgba(0,0,0,.25);

    animation:float 4s ease-in-out infinite;

}

.founder-card{

    position:absolute;

    bottom:-15px;

    background:#fff;

    padding:15px 30px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

}

.founder-card h3{

    color:#ff9800;

}

.founder-card p{

    color:#0A2D6D;

    font-weight:700;

}

@keyframes float{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-15px);

}

}
/*====================================
        PREMIUM COURSES
====================================*/

.courses{

    width:90%;

    margin:100px auto;

}

.title{

    text-align:center;

    margin-bottom:60px;

}

.title h2{

    font-size:46px;

    color:#0A2D6D;

    font-weight:800;

}

.title p{

    color:#666;

    margin-top:12px;

    font-size:18px;

}

.course-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(290px,1fr));

    gap:30px;

}

.course-card{

    background:#fff;

    border-radius:25px;

    padding:35px 28px;

    text-align:center;

    position:relative;

    overflow:hidden;

    transition:.45s;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    border:1px solid rgba(0,0,0,.05);

}

.course-card::before{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    border-radius:50%;

    background:rgba(255,152,0,.12);

    top:-90px;

    right:-90px;

    transition:.5s;

}

.course-card:hover::before{

    transform:scale(2);

}

.course-card:hover{

    transform:translateY(-15px);

    box-shadow:0 25px 50px rgba(0,0,0,.15);

}

.course-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:42px;

    color:#fff;

    background:linear-gradient(135deg,#ff9800,#ff5e00);

    box-shadow:0 12px 30px rgba(255,152,0,.35);

    transition:.4s;

}

.course-card:hover .course-icon{

    transform:rotate(10deg) scale(1.12);

}

.course-card h3{

    margin-top:25px;

    font-size:24px;

    color:#0A2D6D;

}

.course-card p{

    margin:18px 0 28px;

    color:#666;

    line-height:1.7;

}

/*====================================
        PREMIUM BUTTON
====================================*/

.course-btn{

    display:inline-block;

    padding:14px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    color:#fff;

    background:linear-gradient(45deg,#0A2D6D,#2563eb);

    transition:.4s;

    position:relative;

    overflow:hidden;

}

.course-btn::after{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:rgba(255,255,255,.25);

    transform:skewX(-30deg);

    transition:.6s;

}

.course-btn:hover::after{

    left:120%;

}

.course-btn:hover{

    background:linear-gradient(45deg,#ff9800,#ff5e00);

    transform:scale(1.08);

    box-shadow:0 12px 30px rgba(255,152,0,.35);

}

/*====================================
          DARK MODE
====================================*/

body.dark .courses{

    color:#fff;

}

body.dark .title h2{

    color:#fff;

}

body.dark .title p{

    color:#cbd5e1;

}

body.dark .course-card{

    background:#1e293b;

    border:1px solid rgba(255,255,255,.08);

}

body.dark .course-card h3{

    color:#fff;

}

body.dark .course-card p{

    color:#cbd5e1;

}

/*====================================
        MOBILE
====================================*/

@media(max-width:768px){

.course-container{

grid-template-columns:1fr;

}

.title h2{

font-size:34px;

}

.title p{

font-size:16px;

}

.course-card{

padding:28px 20px;

}

.course-icon{

width:75px;

height:75px;

font-size:34px;

}

.course-card h3{

font-size:22px;

}

.course-btn{

padding:12px 28px;

}

}
/*====================================
            ABOUT SECTION
====================================*/

.about{

    width:90%;
    margin:100px auto;

}

.about-box{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    flex-wrap:wrap;

}

.about-image{

    flex:1;
    text-align:center;

}

.about-image img{

    width:380px;
    max-width:100%;
    border-radius:25px;
    box-shadow:0 20px 45px rgba(0,0,0,.20);
    transition:.4s;

}

.about-image img:hover{

    transform:scale(1.05);

}

.about-text{

    flex:1;

}

.about-text h3{

    color:#ff9800;
    font-size:22px;

}

.about-text h2{

    color:#0A2D6D;
    font-size:42px;
    margin:12px 0 20px;

}

.about-text p{

    color:#666;
    line-height:1.9;
    margin-bottom:20px;

}

.about-text ul{

    list-style:none;

}

.about-text li{

    margin:12px 0;
    font-size:18px;

}

/*====================================
            CONTACT
====================================*/

.contact{

    width:90%;
    margin:100px auto;

}

.contact-box{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;

}

.contact-card{

    background:#fff;
    padding:35px;
    border-radius:22px;
    text-align:center;

    transition:.4s;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.contact-card:hover{

    transform:translateY(-10px);

}

.contact-card h3{

    color:#0A2D6D;
    margin-bottom:15px;

}

.contact-card a{

    text-decoration:none;
    color:#2563eb;
    font-weight:700;

}

.contact-card a:hover{

    color:#ff9800;

}

/*====================================
            FOOTER
====================================*/

footer{

    background:#0A2D6D;
    color:#fff;

    text-align:center;

    padding:60px 20px;

    margin-top:80px;

}

footer img{

    width:90px;
    border-radius:50%;
    margin-bottom:18px;
    border:3px solid #ff9800;

}

footer h2{

    margin-bottom:15px;

}

footer p{

    margin:8px 0;

}

/*====================================
      WHATSAPP BUTTON
====================================*/

.whatsapp{

    position:fixed;

    right:22px;
    bottom:22px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    justify-content:center;
    align-items:center;

    text-decoration:none;

    font-size:32px;

    box-shadow:0 12px 30px rgba(0,0,0,.25);

    z-index:999;

    animation:whatsapp 2s infinite;

}

@keyframes whatsapp{

0%{

transform:scale(1);

}

50%{

transform:scale(1.1);

}

100%{

transform:scale(1);

}

}

/*====================================
      FACEBOOK BUTTON
====================================*/

.facebook{

    position:fixed;

    left:22px;
    bottom:22px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#1877F2;

    color:#fff;

    display:flex;

    justify-content:center;
    align-items:center;

    text-decoration:none;

    font-size:30px;

    box-shadow:0 12px 30px rgba(0,0,0,.25);

    z-index:999;

    transition:.3s;

}

.facebook:hover{

    transform:scale(1.1);

}

/*====================================
        DARK MODE
====================================*/

body.dark .about h2,
body.dark .contact h2,
body.dark .contact-card h3{

    color:#fff;

}

body.dark .about p,
body.dark .about li{

    color:#d1d5db;

}

body.dark .contact-card{

    background:#1e293b;

}

body.dark footer{

    background:#020617;

}

/*====================================
        MOBILE
====================================*/

@media(max-width:768px){

.about-box{

    flex-direction:column;
    text-align:center;

}

.about-image img{

    width:280px;

}

.about-text h2{

    font-size:30px;

}

.contact-card{

    padding:25px;

}

.whatsapp,
.facebook{

    width:55px;
    height:55px;
    font-size:26px;

}

}
/*====================================
      ACTIVE NAVBAR
====================================*/

nav ul li a.active{

    color:#ff9800;

    position:relative;

}

nav ul li a.active::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:100%;

    height:3px;

    border-radius:20px;

    background:#ff9800;

}

/*====================================
        SCROLL ANIMATION
====================================*/

.hero,
.course-card,
.about-box,
.contact-card,
footer{

    opacity:0;

    transform:translateY(60px);

    transition:all .8s ease;

}

.show{

    opacity:1 !important;

    transform:translateY(0) !important;

}

/*====================================
      NAVBAR SCROLL EFFECT
====================================*/

nav.scrolled{

    background:rgba(255,255,255,.97);

    box-shadow:0 10px 35px rgba(0,0,0,.12);

}

body.dark nav.scrolled{

    background:#0f172a;

}

/*====================================
        DARK MODE
====================================*/

body.dark{

    background:#0f172a;

    color:#fff;

}

body.dark nav{

    background:rgba(15,23,42,.95);

}

body.dark .logo h2{

    color:#ffffff;

}

body.dark nav ul li a{

    color:#fff;

}

body.dark .hero h1{

    color:#fff;

}

body.dark .hero p{

    color:#cbd5e1;

}

body.dark .tag{

    background:#1e293b;

    color:#ff9800;

}

body.dark .founder-card{

    background:#1e293b;

}

body.dark .founder-card p{

    color:#fff;

}

body.dark .btn2{

    color:#fff;

    border:2px solid #fff;

}

body.dark .btn2:hover{

    background:#fff;

    color:#0f172a;

}

/*====================================
      SMOOTH HOVER
====================================*/

img{

    transition:.4s;

}

img:hover{

    transform:scale(1.03);

}

.join-btn,
.btn,
.btn2,
.course-btn{

    transition:.35s ease;

}

.join-btn:hover,
.btn:hover,
.btn2:hover,
.course-btn:hover{

    transform:translateY(-5px);

}

/*====================================
      SCROLLBAR
====================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#e5e7eb;

}

::-webkit-scrollbar-thumb{

    background:#ff9800;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#ff6a00;

}

/*====================================
      MOBILE MENU FIX
====================================*/

@media(max-width:768px){

nav{

flex-direction:column;

padding:15px;

}

.logo{

flex-direction:column;

gap:8px;

}

.logo h2{

font-size:22px;

text-align:center;

}

nav ul{

flex-wrap:wrap;

justify-content:center;

gap:18px;

margin:15px 0;

}

.hero{

padding:120px 20px 60px;

flex-direction:column-reverse;

text-align:center;

}

.hero-text h1{

font-size:38px;

}

.hero-text p{

font-size:17px;

margin:auto auto 30px;

}

.hero-btn{

justify-content:center;

}

.hero-image img{

width:90%;

}

.founder-card{

position:static;

margin-top:20px;

}

.title h2{

font-size:32px;

}

.about-text h2{

font-size:30px;

}

footer h2{

font-size:26px;

}

}

/*====================================
        FINISH
====================================*/