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

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#222;
    line-height:1.6;
}

/* Header */

header{
    position:relative;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 8%;

    background:#ffffff;

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

.logo{

    font-size:30px;
    font-weight:700;

    color:#4f46e5;

}

nav{

    display:flex;
    gap:25px;

}

nav a{

    text-decoration:none;
    color:#333;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:#4f46e5;

}

/* Hero */

.hero{

    text-align:center;

    padding:90px 20px;

    background:linear-gradient(
    135deg,
    #4f46e5,
    #6366f1);

    color:white;

}

.hero h1{

    font-size:50px;

    margin-bottom:20px;

}

.hero p{

    font-size:20px;

    max-width:700px;

    margin:auto;

}

#search{

    margin-top:40px;

    width:100%;
    max-width:600px;

    padding:16px;

    border:none;

    border-radius:50px;

    outline:none;

    font-size:18px;

}

/* Section */

section{

    padding:70px 8%;

}

section h2{

    font-size:35px;

    margin-bottom:30px;

}

/* Tool Cards */

.tools-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(240px,1fr));

    gap:25px;

}

.card{

    background:white;

    text-decoration:none;

    color:#222;

    padding:30px;

    border-radius:15px;

    text-align:center;

    font-size:18px;

    font-weight:600;

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

    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

    background:#4f46e5;

    color:white;

}

/* Footer */

footer{

    background:#111827;

    color:white;

    text-align:center;

    padding:30px;

    margin-top:60px;

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

.btn{
    display:inline-block;
    background:#4f46e5;
    color:#fff;
    padding:14px 30px;
    border-radius:8px;
    text-decoration:none;
    transition:.3s;
    font-weight:600;
}

.btn:hover{
    background:#3730a3;
}

/* ===========================
   Stats Section
=========================== */

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:25px;
    margin-top:40px;
}

.stat-card{
    background:#fff;
    padding:30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.stat-card h3{
    font-size:38px;
    color:#4f46e5;
}

.stat-card p{
    margin-top:10px;
    color:#666;
}

/* ===========================
   About Section
=========================== */

.about{
    background:#fff;
    border-radius:15px;
    padding:40px;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.about h2{
    margin-bottom:20px;
}

.about p{
    color:#666;
    line-height:1.8;
}

/* ===========================
   Contact Section
=========================== */

.contact{
    text-align:center;
}

.contact p{
    margin:15px 0;
}

.contact a{
    color:#4f46e5;
    text-decoration:none;
}

.contact a:hover{
    text-decoration:underline;
}

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

.faq-item{
    background:#fff;
    padding:20px;
    border-radius:10px;
    margin-bottom:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.faq-item h3{
    margin-bottom:10px;
}

.faq-item p{
    color:#666;
}

/* ===========================
   Simple Animation
=========================== */

.card,
.stat-card{
    animation:fadeUp .6s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

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

@media(max-width:768px){

header{

    flex-direction:column;
    gap:15px;

}

nav{

    flex-wrap:wrap;
    justify-content:center;

}

.hero{

    padding:60px 20px;

}

.hero h1{

    font-size:34px;

}

.hero p{

    font-size:16px;

}

section h2{

    font-size:28px;

}

.tools-grid{

    grid-template-columns:1fr;

}

}

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

.dark{

    background:#000000;
    color:#f3f4f6;

}

.dark header{

    background:#1f2937;

}

.dark .testimonial-card p,
.dark .testimonial-card,
.dark .card,
.dark .stat-card,
.dark .about,
.dark .faq-item{

    background:#1f2937;
    color:white;

}

.dark nav a{

    color:white;

}

.dark footer{

    background:#000;

}

#themeBtn{

    padding:10px 18px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-size:18px;

    background:#4f46e5;

    color:white;

}

#webstudy{

    padding:10px 18px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-size:18px;

    background:#4f46e5;

    color:white;

}
/* ===========================
   Premium Hero
=========================== */

.hero{
    background:linear-gradient(135deg,#4f46e5,#7c3aed);
    color:#fff;
    text-align:center;
    padding:100px 20px;
}

.hero-content{
    max-width:900px;
    margin:auto;
}

.hero h1{
    font-size:56px;
    font-weight:700;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    opacity:.95;
    line-height:1.8;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:40px;
}

.btn{
    padding:15px 30px;
    border-radius:50px;
    background:#fff;
    color:#4f46e5;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.btn-outline{
    background:transparent;
    border:2px solid #fff;
    color:#fff;
}

.btn-outline:hover{
    background:#fff;
    color:#4f46e5;
}

.search-box{
    max-width:600px;
    margin:0 auto;
}

.search-box input{
    width:100%;
    padding:18px 24px;
    border:none;
    border-radius:50px;
    font-size:18px;
    outline:none;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* ===========================
   Featured Section
=========================== */

/*.featured{
    padding:80px 8%;
    background:#f8fafc;
}

.featured h2{
    text-align:center;
    font-size:38px;
    margin-bottom:40px;
}

.featured .card{
    border-radius:18px;
    transition:.3s;
}

.featured .card:hover{
    transform:translateY(-8px) scale(1.03);
}*/

/* ===========================
   Mobile
=========================== */

@media(max-width:768px){

.hero{
    padding:70px 20px;
}

.hero h1{
    font-size:36px;
}

.hero p{
    font-size:17px;
}

.hero-buttons{
    flex-direction:column;
    align-items:center;
}

.btn{
    width:100%;
    max-width:300px;
}

}


/* ===========================
   Testimonials
=========================== */

/*.testimonials{
    padding:80px 8%;
    background:#ffffff;
}*/

.testimonials h2{
    text-align:center;
    margin-bottom:40px;
    font-size:36px;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
  
}

/*.testimonial-card{
    background:#f8fafc;
    padding:30px;
    border-radius:16px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}*/

.testimonial-card:hover{
    transform:translateY(-8px);
}

.testimonial-card h3{
    margin-bottom:15px;
}

/*.testimonial-card p{
    color:;
    margin-bottom:20px;
    line-height:1.7;
}*/

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

/*.faq{
    padding:80px 8%;
    background:#f8fafc;
}
*/
.faq h2{
    text-align:center;
    margin-bottom:40px;
    font-size:36px;
}

.faq-container{
    max-width:900px;
    margin:auto;
}

/*.faq-item{
    background:#fff;
    border-radius:12px;
    margin-bottom:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}*/

.faq-question{
    width:100%;
    padding:20px;
    border:none;
    background:#4f46e5;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
}

.faq-answer p{
    padding:0 20px 20px;
    color:#4f46e5;
}


