/* ==========================
   IQRA LEARN WEBSITE
   Premium Green Theme
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#F8F7F2;
    color:#444;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

:root{

    --primary:#1F6B4F;
    --primary-dark:#123524;
    --secondary:#2F855A;
    --gold:#C9A227;

    --white:#ffffff;
    --light:#F8F7F2;
    --text:#444444;

    --shadow:0 15px 35px rgba(0,0,0,.08);

}

/* NAVBAR */

.navbar{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    padding:18px 8%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    background:rgba(255,255,255,.96);
    backdrop-filter:blur(10px);

    box-shadow:0 5px 20px rgba(0,0,0,.05);

    z-index:999;
}

.logo-box{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo-box img{

    width:70px;
    border-radius:50%;
}

.logo-box h1{

    color:var(--primary-dark);
    font-size:23px;
    font-weight:700;
}

.logo-box p{

    color:var(--gold);
    letter-spacing:6px;
    font-size:12px;
}

.nav-links{

    display:flex;
    gap:35px;
    list-style:none;

}

.nav-links a{

    color:var(--primary-dark);
    text-decoration:none;
    font-weight:600;
    transition:.3s;

}

.nav-links a:hover{

    color:var(--gold);

}

/* HERO */

.hero-section{

    min-height:100vh;

    background:
    linear-gradient(
    135deg,
    #123524,
    #1F6B4F,
    #2F855A);

    color:white;

    padding:150px 8% 90px;

}

.hero-content{

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:70px;
    flex-wrap:wrap;

}

.hero-text{

    flex:1;

}

.arabic-box{

    margin-bottom:40px;

}

.arabic-box h2{

    font-family:'Amiri',serif;
    font-size:42px;
    margin-bottom:20px;
}

.quote-arabic{

    font-family:'Amiri',serif;
    font-size:30px;
    margin-bottom:10px;
}

.quote-english{

    color:#E8F5EC;
    margin-bottom:30px;

}

.hero-text h3{

    font-size:58px;
    line-height:1.2;
    margin-bottom:25px;

}

.hero-text p{

    font-size:17px;
    margin-bottom:35px;

}

.hero-buttons{

    display:flex;
    gap:20px;

}

.btn-primary{

    display:inline-block;

    background:var(--gold);
    color:white;

    text-decoration:none;

    padding:16px 40px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;
}

.btn-primary:hover{

    background:#A8841F;
    transform:translateY(-3px);

}

.hero-image{

    flex:1;
    display:flex;
    justify-content:center;

}

.hero-image img{

    width:420px;

    border-radius:30px;

    background:white;
    padding:20px;

    box-shadow:0 25px 45px rgba(0,0,0,.25);

}
/* ==========================
   FEATURES
========================== */

.features{

    padding:100px 8%;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

    background:var(--light);

}

.feature-card{

    background:var(--white);

    padding:45px 35px;

    border-radius:20px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

    border-top:5px solid var(--gold);

}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(31,107,79,.18);

}

.feature-card h3{

    color:var(--primary-dark);

    font-size:24px;

    margin-bottom:15px;

}

.feature-card p{

    color:#666;

    font-size:16px;

}


/* ==========================
   SECTION TITLE
========================== */

.section-heading{

    text-align:center;

    margin-bottom:60px;

}

.section-heading h2{

    font-size:46px;

    color:var(--primary-dark);

    position:relative;

    display:inline-block;

}

.section-heading h2::after{

    content:"";

    width:70px;

    height:4px;

    background:var(--gold);

    display:block;

    margin:12px auto 0;

    border-radius:50px;

}


/* ==========================
   COURSES
========================== */

.courses{

    padding:110px 8%;

    background:white;

}

.course-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.course-card{

    background:white;

    border-radius:22px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

}

.course-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 45px rgba(31,107,79,.18);

}

.course-card img{

    width:100%;

    height:250px;

    object-fit:cover;

    transition:.5s;

}

.course-card:hover img{

    transform:scale(1.05);

}

.course-content{

    padding:30px;

}

.course-content h3{

    color:var(--primary);

    margin-bottom:15px;

    font-size:24px;

}

.course-content p{

    margin-bottom:20px;

    color:#555;

}

.course-content ul{

    list-style:none;

}

.course-content li{

    margin-bottom:10px;

    color:#444;

}


/* Optional button if you add one later */

.course-content button{

    margin-top:20px;

    background:var(--gold);

    color:white;

    border:none;

    padding:14px 28px;

    border-radius:40px;

    cursor:pointer;

    transition:.3s;

}

.course-content button:hover{

    background:#A8841F;

}
/* ==========================
   ABOUT
========================== */

.about{

    padding:110px 8%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:70px;

    flex-wrap:wrap;

    background:var(--light);

}

.about-image,
.about-text{

    flex:1;

}

.about-image img{

    width:100%;

    border-radius:25px;

    box-shadow:var(--shadow);

}

.about-text span{

    color:var(--gold);

    letter-spacing:4px;

    font-weight:600;

}

.about-text h2{

    font-size:46px;

    color:var(--primary-dark);

    margin:18px 0 25px;

    line-height:1.2;

}

.about-text p{

    color:#555;

    margin-bottom:25px;

}

.about-text ul{

    list-style:none;

    margin-bottom:35px;

}

.about-text li{

    margin-bottom:14px;

}


/* ==========================
   FOOTER
========================== */

footer{

    background:var(--primary-dark);

    color:white;

    padding:80px 8% 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:40px;

}

.footer-grid h3{

    margin-bottom:18px;

    color:white;

}

.footer-grid p{

    color:#d7e8de;

    margin-bottom:10px;

}

.copyright{

    margin-top:50px;

    border-top:1px solid rgba(255,255,255,.1);

    padding-top:20px;

    text-align:center;

    color:#d7e8de;

}


/* ==========================
   WHATSAPP
========================== */

.whatsapp-wrapper{

    position:fixed;

    right:25px;

    bottom:25px;

    z-index:999;

}

.whatsapp-float{

    width:65px;

    height:65px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#25D366;

    box-shadow:0 12px 25px rgba(0,0,0,.25);

    transition:.3s;

}

.whatsapp-float:hover{

    transform:scale(1.1);

}

.whatsapp-float img{

    width:36px;

}

.whatsapp-popup{

    position:absolute;

    right:80px;

    bottom:15px;

    background:white;

    color:#333;

    padding:12px 15px;

    border-radius:10px;

    white-space:nowrap;

    box-shadow:0 10px 20px rgba(0,0,0,.15);

}


/* ==========================
   GLOBAL ANIMATIONS
========================== */

.feature-card,
.course-card,
.btn-primary,
.nav-links a,
.about-image img{

    transition:.35s;

}

::selection{

    background:var(--gold);

    color:white;

}

h1,h2,h3{

    font-weight:700;

}

section{

    overflow:hidden;

}


/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

    .hero-content,
    .about{

        flex-direction:column;

        text-align:center;

    }

    .hero-text h3{

        font-size:42px;

    }

    .hero-image img{

        width:320px;

    }

    .course-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .navbar{

        flex-direction:column;

        gap:20px;

        padding:20px;

    }

    .nav-links{

        flex-wrap:wrap;

        justify-content:center;

        gap:20px;

    }

    .hero-section{

        padding-top:180px;

    }

    .hero-text h3{

        font-size:36px;

    }

    .arabic-box h2{

        font-size:34px;

    }

    .quote-arabic{

        font-size:24px;

    }

}

@media(max-width:600px){

    .course-grid{

        grid-template-columns:1fr;

    }

    .hero-image img{

        width:260px;

    }

    .section-heading h2{

        font-size:34px;

    }

    .about-text h2{

        font-size:34px;

    }

}

.student-form {

max-width:800px;
margin:120px auto 50px;

padding:40px;

background:white;

border-radius:20px;

box-shadow:0 10px 30px rgba(0,0,0,0.1);

}


.student-form h1,
.student-form h2 {

color:var(--primary-dark);

}



.student-form input,
.student-form select,
.student-form textarea {

width:100%;

padding:12px;

margin:10px 0 20px;

border-radius:8px;

border:1px solid #ddd;

}



.days {

display:flex;

gap:20px;

flex-wrap:wrap;

}



.days input {

width:auto;

}



.student-form button {

background:var(--primary-dark);

color:white;

padding:15px;

border:none;

border-radius:10px;

width:100%;

font-size:18px;

cursor:pointer;

}


.student-form button:hover {

background:#5c1794;

}

