/*==================================================
 SOLANKI SIR DIGITAL ACADEMY
 VERSION 2.0
==================================================*/

/*=========================
RESET
=========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Segoe UI",Arial,sans-serif;
    background:#f5f8fc;
    color:#333;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    transition:.3s;
}

.container{
    width:92%;
    max-width:1280px;
    margin:auto;
}

/*=========================
HEADER
=========================*/

header{
    position:sticky;
    top:0;
    z-index:999;
    background:#004aad;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:82px;
    padding:12px 0;
    gap:20px;
}

.logo-area{
    display:flex;
    align-items:center;
    gap:15px;
    flex:1;
}

.logo{
    width:60px;
    height:60px;
    border-radius:50%;
}

.site-info{
    display:flex;
    flex-direction:column;
}

.site-title{
    color:#fff;
    font-size:30px;
    font-weight:700;
    line-height:1.2;
}

.site-tag{
    color:#dce9ff;
    font-size:14px;
}

nav{
    display:flex;
    gap:10px;
    flex-wrap:nowrap;
}

nav a{
    color:#fff;
    padding:12px 18px;
    border-radius:8px;
    font-weight:600;
    white-space:nowrap;
}

nav a:hover{
    background:rgba(255,255,255,.15);
}
nav a{

    color:#fff;

    padding:12px 18px;

    border-radius:10px;

    font-weight:600;

}

nav a:hover{

    background:rgba(255,255,255,.15);

}

/*=========================
HERO
=========================*/

.hero{

    background:
        radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 35%),
        radial-gradient(circle at bottom left, rgba(255,255,255,.10), transparent 40%),
        linear-gradient(135deg,#004aad,#0d74ff);

    color:#fff;

    padding:90px 0;

    overflow:hidden;

    position:relative;

}

.hero-overlay{

    width:100%;

}

.hero-flex{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:70px;

}

.hero-left{

    flex:1;

}

.hero-right{

    flex:1;

    text-align:center;

}

.hero-tag{

    display:inline-block;

    background:rgba(255,255,255,.15);

    padding:10px 18px;

    border-radius:40px;

    margin-bottom:20px;

    font-size:15px;

}

.hero-left h1{

    font-size:60px;

    line-height:1.15;

    margin-bottom:18px;

    font-weight:800;

}

.hero-left p{

    font-size:22px;

    margin-bottom:10px;

}

.hero-desc{

    font-size:18px !important;

    line-height:1.8;

    opacity:.95;

}

/*=========================
SEARCH
=========================*/

.hero-search{

    display:flex;

    width:100%;

    max-width:650px;

    background:#fff;

    border-radius:60px;

    overflow:hidden;

    margin:35px 0;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

}

.hero-search input{

    flex:1;

    border:none;

    outline:none;

    padding:20px;

    font-size:17px;

}

.hero-search button{

    border:none;

    background:#ff9800;

    color:#fff;

    padding:20px 35px;

    cursor:pointer;

    font-weight:bold;

}

.hero-search button:hover{

    background:#f57c00;

}

/*=========================
BUTTONS
=========================*/

.hero-buttons{

    margin-top:20px;

}

.btn{

    display:inline-block;

    padding:15px 30px;

    border-radius:10px;

    font-weight:bold;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-4px);

}

.btn-warning{

    background:#ff9800;

    color:#fff;

}

.btn-success{

    background:#28a745;

    color:#fff;

}

/*=========================
IMAGE
=========================*/

.hero-image{

  width:470px;

    margin:auto;

    border-radius:30px;

    border:8px solid rgba(255,255,255,.18);

    box-shadow:0 25px 60px rgba(0,0,0,.35);

    transition:.4s;

}

.hero-image:hover{

    transform:translateY(-8px) scale(1.03);

}
.menu-toggle{
    display:none;
}
/*=========================
MOBILE
=========================*/

@media(max-width:900px){

.hero-flex{

    flex-direction:column-reverse;

    text-align:center;

}

.hero-left h1{

    font-size:40px;

}

.hero-search{

    margin:30px auto;

}

.hero-buttons .btn{

    display:block;

    margin:12px auto;

    max-width:260px;

}

.hero-image{

    width:300px;

}

}

/*==================================================
PART 2
SECTION • CARDS • CLASS CARDS • FEATURES
==================================================*/

/*=========================
SECTION
=========================*/

.section{
    padding:80px 0;
    background:#f5f8fc;
}

.section:nth-child(even){
    background:#ffffff;
}

.section-title{
    text-align:center;
    font-size:38px;
    color:#004aad;
    font-weight:700;
    margin-bottom:15px;
}

.section-sub{
    text-align:center;
    font-size:18px;
    color:#666;
    max-width:760px;
    margin:0 auto 50px;
    line-height:1.7;
}

/*=========================
GRID
=========================*/

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:28px;
}

/*=========================
CARD
=========================*/

.card{

    background:#ffffff;

    border-radius:18px;

    padding:30px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

    position:relative;

    overflow:hidden;

}

.card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:#004aad;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.card h3{

    color:#004aad;

    margin-bottom:12px;

    font-size:24px;

}

.card p{

    color:#666;

    line-height:1.8;

}

.card-icon{

    font-size:55px;

    margin-bottom:18px;

}

/*=========================
FEATURE CARD
=========================*/

.feature-card{

    text-align:center;

}

.feature-card .card-icon{

    font-size:60px;

}

/*=========================
BUTTON
=========================*/

.btn-primary{

    background:#004aad;

    color:#ffffff;

}

.btn-primary:hover{

    background:#00317a;

}

.btn-warning:hover{

    background:#e68a00;

}

.btn-success:hover{

    background:#1d8c3a;

}

/*=========================
CLASS CARD
=========================*/

.class-card{

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:120px;

    border-radius:18px;

    background:linear-gradient(135deg,#0056d6,#1d8fff);

    color:#ffffff;

    font-size:26px;

    font-weight:700;

    box-shadow:0 15px 35px rgba(0,74,173,.20);

    transition:.35s;

}

.class-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,74,173,.35);

}

/*=========================
PDF LINK
=========================*/

.pdf-link{

    display:flex;

    align-items:center;

    gap:15px;

    padding:18px;

    margin-bottom:15px;

    border-radius:12px;

    border:2px solid #004aad;

    color:#004aad;

    font-weight:600;

    background:#ffffff;

    transition:.3s;

}

.pdf-link:hover{

    background:#004aad;

    color:#ffffff;

}

/*=========================
MATERIAL GRID
=========================*/

.material-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

}

/*=========================
YOUTUBE CARD
=========================*/

.youtube-card{

    background:linear-gradient(135deg,#ff0000,#d60000);

    color:#ffffff;

}

.youtube-card h3{

    color:#ffffff;

}

.youtube-card p{

    color:#f3f3f3;

}

/*=========================
APP DOWNLOAD CARD
=========================*/

.app-card{

    background:linear-gradient(135deg,#004aad,#0084ff);

    color:#ffffff;

    text-align:center;

    border-radius:20px;

    padding:50px;

}

.app-card h2{

    font-size:36px;

    margin-bottom:20px;

}

.app-card p{

    color:#ffffff;

    font-size:18px;

}

/*=========================
MOBILE
=========================*/

@media(max-width:768px){

.topbar{

display:flex;

flex-direction:row;

align-items:center;

justify-content:space-between;

padding:12px;

}

.logo-area{

flex:1;

}

nav{

display:flex;

flex-wrap:nowrap;

overflow-x:auto;

white-space:nowrap;

gap:8px;

scrollbar-width:none;

}

nav::-webkit-scrollbar{

display:none;

}

nav a{

flex:0 0 auto;

padding:10px 12px;

font-size:14px;

}

}
/*==================================================
PART 3
STATISTICS • FOOTER • BACK TO TOP • RESPONSIVE
==================================================*/

/*=========================
STATISTICS
=========================*/

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:20px;
}

.stat-box{

    background:#ffffff;

    border-radius:18px;

    padding:35px 20px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s;

    position:relative;

}

.stat-box:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.stat-box h2{

    color:#004aad;

    font-size:44px;

    font-weight:700;

    margin-bottom:10px;

}

.stat-box p{

    color:#666;

    font-size:18px;

}

/*=========================
FOOTER
=========================*/

footer{

    background:#002b66;

    color:#ffffff;

    margin-top:70px;

}

.footer-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));

    gap:35px;

    padding:60px 0;

}

footer h3{

    margin-bottom:20px;

    font-size:22px;

}

footer p{

    color:#d9d9d9;

    line-height:1.8;

}

footer a{

    display:block;

    color:#d9d9d9;

    margin-bottom:10px;

    transition:.3s;

}

footer a:hover{

    color:#ffffff;

    padding-left:6px;

}

.copyright{

    text-align:center;

    padding:20px;

    background:#001d47;

    font-size:15px;

    border-top:1px solid rgba(255,255,255,.08);

}

/*=========================
BACK TO TOP
=========================*/

#topBtn{

    position:fixed;

    right:25px;

    bottom:25px;

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:#004aad;

    color:#ffffff;

    font-size:22px;

    cursor:pointer;

    display:none;

    z-index:999;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    transition:.3s;

}

#topBtn:hover{

    background:#ff9800;

    transform:translateY(-5px);

}

/*=========================
SMOOTH HOVER
=========================*/

.card,
.class-card,
.stat-box,
.btn{

    transition:.35s ease;

}

.btn:hover{

    transform:translateY(-4px);

}

.card:hover{

    transform:translateY(-8px);

}

.class-card:hover{

    transform:translateY(-8px);

}

.stat-box:hover{

    transform:translateY(-8px);

}

/*=========================
RESPONSIVE
=========================*/

@media(max-width:992px){

.stats{

grid-template-columns:repeat(2,1fr);

}

.footer-container{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.topbar{

flex-direction:column;

gap:18px;

padding:18px 0;

}

nav{

flex-wrap:wrap;

justify-content:center;

}

nav a{

padding:10px 14px;

}

.stats{

grid-template-columns:1fr;

}

.footer-container{

grid-template-columns:1fr;

text-align:center;

}

footer a:hover{

padding-left:0;

}

#topBtn{

width:46px;

height:46px;

font-size:18px;

}

}

@media(max-width:480px){

.hero{

padding:70px 0;

}

.hero-left h1{

font-size:30px;

}

.hero-left p{

font-size:17px;

}

.hero-desc{

font-size:15px !important;

}

.hero-search{

flex-direction:column;

border-radius:15px;

}

.hero-search input{

width:100%;

padding:16px;

}

.hero-search button{

width:100%;

padding:16px;

}

.btn{

display:block;

margin:10px auto;

text-align:center;

}

.section-title{

font-size:28px;

}

.section-sub{

font-size:15px;

}

.class-card{

font-size:20px;

min-height:85px;

}

.card{

padding:20px;

}

}
/*=========================
HERO WAVE
=========================*/

.hero-wave{

    position:absolute;

    bottom:-2px;

    left:0;

    width:100%;

    line-height:0;

}

.hero-wave svg{

    display:block;

    width:100%;

    height:90px;

}
/*=========================
HERO STATS
=========================*/



.stat-box{

    flex:1;

    text-align:center;

    color:#fff;

}

.stat-box h3{

    font-size:24px;

    margin:8px 0 4px;

}

.stat-box p{

    font-size:14px;

    opacity:.9;

}
@media (max-width:768px){

.stats{
    display:none;
}

}