/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins', sans-serif;
    background:#f8fafc;
    color:#0f172a;
    line-height:1.6;
}

/* CONTAINER */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* TOP BAR */

.top-bar{
    background:#0f172a;
    color:#fff;
    padding:10px 0;
    font-size:14px;
}

.top-bar-flex{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

/* HEADER */

.main-header{
    background:#ffffff;
    padding:18px 0;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.header-flex{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* LOGO */

.logo a{
    text-decoration:none;
    font-size:30px;
    font-weight:700;
    color:#0f172a;
}

.logo span{
    color:#2563eb;
}

/* MENU */

.navbar ul{
    display:flex;
    list-style:none;
    gap:25px;
}
.navbar ul ul{
    display:none;        /* submenu hidden by default */
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    min-width:220px;
    flex-direction:column;
    z-index:9999;
}

.navbar ul li{
    position:relative;
}

.navbar ul li:hover > ul{
    display:block;       /* hover वर open */
}

.navbar ul ul li{
    display:block;
    width:100%;
}
.navbar a{
    text-decoration:none;
    color:#0f172a;
    font-weight:500;
    transition:0.3s;
}

.navbar a:hover{
    color:#2563eb;
}

/* HERO SECTION */

.hero h1{
    font-size: 32px;
    line-height: 1.3;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.hero-badge{
    display:inline-block;
    background:#dbeafe;
    color:#2563eb;
    padding:10px 18px;
    border-radius:50px;
    margin-bottom:20px;
    font-size:14px;
    font-weight:600;
}

.hero-content h1{
    font-size:52px;
    line-height:1.2;
    margin-bottom:25px;
}

.hero-content h1 span{
    color:#2563eb;
}

.hero-content p{
    font-size:18px;
    color:#475569;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:30px;
}

.btn-primary{
    background:#2563eb;
    color:#fff;
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn-primary:hover{
    background:#1d4ed8;
}

.btn-secondary{
    background:#ffffff;
    color:#0f172a;
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    border:1px solid #cbd5e1;
}

.hero-features{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    color:#334155;
    font-size:15px;
}

.hero-image img{
    width:100%;
}

/* ADS */

.ads-section{
    padding:30px 0;
}

.ads-box{
    background:#e2e8f0;
    padding:35px;
    text-align:center;
    border-radius:12px;
    font-weight:600;
    color:#475569;
}

/* SECTION TITLE */

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:38px;
    margin-bottom:10px;
}

.section-title p{
    color:#64748b;
}

/* QUICK TOOLS */

.quick-tools{
    padding:80px 0;
}

.tools-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.tool-card{
    padding:30px;
    border-radius:18px;
    color:#fff;
    transition:0.3s;
}

.tool-card:hover{
    transform:translateY(-5px);
}

.tool-card h3{
    font-size:24px;
    margin-bottom:12px;
}

/* CARD COLORS */

.card-blue{
    background:#2563eb;
}

.card-orange{
    background:#f59e0b;
}

.card-green{
    background:#16a34a;
}

.card-red{
    background:#dc2626;
}

.card-purple{
    background:#7c3aed;
}

.card-dark{
    background:#0f172a;
}

/* CATEGORIES */

.categories-section{
    padding:80px 0;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.category-card{
    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
    transition:0.3s;
}

.category-card:hover{
    transform:translateY(-5px);
}

.category-icon{
    font-size:42px;
    margin-bottom:20px;
}

.category-card h3{
    margin-bottom:15px;
    font-size:22px;
}

/* PRESET */

.preset-section{
    padding:80px 0;
}

.preset-box{
    background:#0f172a;
    color:#fff;
    padding:60px;
    border-radius:25px;
}

.preset-box h2{
    font-size:40px;
    margin-bottom:15px;
}

.preset-box p{
    margin-bottom:40px;
    color:#cbd5e1;
}

.preset-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.preset-item{
    background:rgba(255,255,255,0.08);
    padding:30px;
    border-radius:15px;
}

.preset-item h3{
    margin-bottom:10px;
}

/* ABOUT */

.about-section{
    padding:80px 0;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.about-section h2{
    font-size:40px;
    margin-bottom:20px;
}

.about-section p{
    margin-bottom:20px;
    color:#475569;
}

.about-section ul{
    list-style:none;
}

.about-section ul li{
    margin-bottom:12px;
}

.about-box{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

/* FOOTER */

.footer{
    background:#0f172a;
    color:#fff;
    margin-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
    padding:70px 0;
}

.footer h3{
    margin-bottom:20px;
}

.footer p{
    color:#cbd5e1;
}

.footer ul{
    list-style:none;
}

.footer ul li{
    margin-bottom:12px;
}

.footer a{
    color:#cbd5e1;
    text-decoration:none;
}

.footer a:hover{
    color:#fff;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.1);
    padding:20px;
    text-align:center;
    color:#cbd5e1;
}

/* MOBILE */

@media(max-width:992px){

    .hero-grid,
    .about-grid{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:40px;
    }

    .navbar ul{
        gap:15px;
    }

}

@media(max-width:768px){

    .header-flex{
        flex-direction:column;
        gap:20px;
    }

    .navbar ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-content h1{
        font-size:34px;
    }

    .section-title h2{
        font-size:30px;
    }

    .preset-box{
        padding:35px;
    }

    .preset-box h2{
        font-size:30px;
    }

}
/* MOBILE MENU */

.mobile-menu-btn{
    display:none;
    font-size:30px;
    cursor:pointer;
}

/* MOBILE NAVBAR */

@media(max-width:768px){

    .mobile-menu-btn{
        display:block;
    }

    .navbar{
        display:none;
        width:100%;
        margin-top:20px;
    }

    .navbar.active{
        display:block;
    }

    .navbar ul{
        flex-direction:column;
        background:#fff;
        padding:20px;
        border-radius:15px;
        box-shadow:0 5px 15px rgba(0,0,0,0.05);
    }

    .navbar ul li{
        width:100%;
    }

    .navbar ul li a{
        display:block;
        padding:12px 0;
    }

}
/* INNER PAGE */

.inner-page{
    padding:80px 0;
}

.page-title{
    text-align:center;
    margin-bottom:50px;
}

.page-title h1{
    font-size:42px;
    margin-bottom:15px;
}

.page-title p{
    color:#64748b;
}

/* EXAM GRID */

.exam-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

/* EXAM CARD */

.exam-card{
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
    transition:0.3s;
}

.exam-card:hover{
    transform:translateY(-5px);
}

.exam-card h3{
    margin-bottom:20px;
    font-size:24px;
}

.exam-card ul{
    list-style:none;
    margin-bottom:25px;
}

.exam-card ul li{
    margin-bottom:10px;
    color:#475569;
}

/* BUTTONS */

.exam-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.exam-buttons a{
    text-decoration:none;
    background:#2563eb;
    color:#fff;
    padding:10px 16px;
    border-radius:10px;
    font-size:14px;
    transition:0.3s;
}

.exam-buttons a:hover{
    background:#1d4ed8;
}
.category-link{
    text-decoration:none;
    color:inherit;
}
/* CONTACT PAGE */

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-box{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.contact-box h2{
    margin-bottom:25px;
}

.contact-box p{
    margin-bottom:18px;
    color:#475569;
}

/* FORM */

.contact-box form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-box input,
.contact-box textarea{
    width:100%;
    padding:15px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    font-family:'Poppins', sans-serif;
    outline:none;
}

.contact-box button{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:15px;
    border-radius:12px;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}

.contact-box button:hover{
    background:#1d4ed8;
}

/* MOBILE */

@media(max-width:768px){

    .contact-grid{
        grid-template-columns:1fr;
    }

}
/* ABOUT PAGE */

.about-page-box{
    background:#fff;
    padding:50px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.about-page-box h2{
    margin-top:30px;
    margin-bottom:15px;
    font-size:28px;
}

.about-page-box p{
    margin-bottom:20px;
    color:#475569;
}

.about-page-box ul{
    padding-left:20px;
    margin-bottom:20px;
}

.about-page-box ul li{
    margin-bottom:12px;
    color:#475569;
}
/* SEARCH SECTION */

.search-section{
    padding:20px 0 70px;
}

.search-box{
    background:#ffffff;
    padding:50px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.search-box h2{
    font-size:38px;
    margin-bottom:15px;
}

.search-box p{
    color:#64748b;
    margin-bottom:30px;
}

.search-box form{
    display:flex;
    gap:15px;
    max-width:700px;
    margin:auto;
}

.search-box input{
    flex:1;
    padding:18px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    outline:none;
    font-size:16px;
}

.search-box button{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:18px 30px;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
}

/* MOBILE */

@media(max-width:768px){

    .search-box{
        padding:35px 20px;
    }

    .search-box h2{
        font-size:28px;
    }

    .search-box form{
        flex-direction:column;
    }

}
/* STATS SECTION */

.stats-section{
    padding:20px 0 80px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.stats-card{
    background:#fff;
    padding:40px;
    text-align:center;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.stats-card h2{
    font-size:42px;
    color:#2563eb;
    margin-bottom:10px;
}

.stats-card p{
    color:#64748b;
    font-size:18px;
}
/* MOBILE BOTTOM MENU */

.mobile-bottom-menu{
    display:none;
}

@media(max-width:768px){

    .mobile-bottom-menu{
        position:fixed;
        bottom:0;
        left:0;
        width:100%;
        background:#ffffff;
        display:flex;
        justify-content:space-around;
        padding:15px 10px;
        box-shadow:0 -2px 10px rgba(0,0,0,0.08);
        z-index:999;
    }

    .mobile-bottom-menu a{
        text-decoration:none;
        color:#0f172a;
        font-size:14px;
        font-weight:600;
    }

    body{
        padding-bottom:80px;
    }

}
/* HEADER */

.main-header{
    background:#ffffff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.header-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo img{
    height:55px;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:30px;
}

.navbar ul li a{
    text-decoration:none;
    color:#0f172a;
    font-weight:600;
    transition:0.3s;
}

.navbar ul li a:hover{
    color:#2563eb;
}

.mobile-menu-btn{
    display:none;
    font-size:28px;
    cursor:pointer;
}

/* MOBILE MENU */

@media(max-width:768px){

    .mobile-menu-btn{
        display:block;
    }

    .navbar{
        position:absolute;
        top:85px;
        left:0;
        width:100%;
        background:#ffffff;
        padding:20px;
        display:none;
        box-shadow:0 5px 10px rgba(0,0,0,0.05);
    }

    .navbar.active{
        display:block;
    }

    .navbar ul{
        flex-direction:column;
        gap:20px;
    }

}
/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
    background:#f8fafc;
    color:#0f172a;
}

/* CONTAINER */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* HEADER */

.main-header{
    background:#ffffff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.header-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo img{
    height:55px;
}

/* NAVBAR */

.navbar ul{
    display:flex;
    list-style:none;
    gap:25px;
}

.navbar ul li a{
    text-decoration:none;
    color:#0f172a;
    font-weight:600;
    transition:0.3s;
}

.navbar ul li a:hover{
    color:#2563eb;
}

/* MOBILE */

.mobile-menu-btn{
    display:none;
    font-size:28px;
    cursor:pointer;
}

/* PAGE */

.inner-page{
    padding:60px 0;
}

.page-title{
    text-align:center;
    margin-bottom:40px;
}

.page-title h1{
    font-size:38px;
    margin-bottom:15px;
}

.page-title p{
    color:#64748b;
}

/* CATEGORY GRID */

.categories-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

/* CATEGORY CARD */

.category-link{
    text-decoration:none;
}

.category-card{
    background:#ffffff;
    border-radius:16px;
    padding:30px 20px;
    text-align:center;
    transition:0.3s;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
    height:100%;
}

.category-card:hover{
    transform:translateY(-5px);
}

.category-icon{
    font-size:42px;
    margin-bottom:20px;
}

.category-card h3{
    color:#0f172a;
    margin-bottom:10px;
    font-size:22px;
}

.category-card p{
    color:#64748b;
    line-height:1.6;
}

/* FOOTER */

.main-footer{
    background:#0f172a;
    color:#ffffff;
    padding:60px 0 20px;
    margin-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer-box h3{
    margin-bottom:20px;
}

.footer-box p,
.footer-box a{
    color:#cbd5e1;
    text-decoration:none;
    line-height:1.8;
}

.footer-box ul{
    list-style:none;
}

.copyright{
    text-align:center;
    margin-top:40px;
    border-top:1px solid rgba(255,255,255,0.1);
    padding-top:20px;
    color:#cbd5e1;
}

/* MOBILE */

@media(max-width:768px){

    .mobile-menu-btn{
        display:block;
    }

    .navbar{
        display:none;
        position:absolute;
        top:85px;
        left:0;
        width:100%;
        background:#ffffff;
        padding:20px;
    }

    .navbar.active{
        display:block;
    }

    .navbar ul{
        flex-direction:column;
    }

}

/* DROPDOWN FIX (CLEAN SAFE VERSION) */

.dropdown{
    position: relative;
}

.dropdown-menu{
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 9999;
}

.dropdown:hover .dropdown-menu{
    display: block;
}

.dropdown-menu li{
    display: block;
}

.dropdown-menu li a{
    display: block;
    padding: 10px 15px;
}
@media(max-width:768px){

.hero{
    padding: 30px 15px;
}

.hero h1{
    font-size: 24px;
}

}
.logo img{
height:55px;
width:auto;
display:block;
}

.navbar{
display:flex;
align-items:center;
justify-content:space-between;
}