/* ===========================
   SHAVIN SCHOOL THEME
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    direction:rtl;
    font-family:Tahoma,sans-serif;
    background:#f6f7fb;
    color:#333;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

.container{
    width:92%;
    max-width:1250px;
    margin:auto;
}

/* ===========================
   HEADER
=========================== */

.site-header{

    background:#ffffff;

    box-shadow:0 5px 25px rgba(0,0,0,.06);

    position:sticky;

    top:0;

    z-index:999;

}

.header-container{

    height:90px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:64px;

    height:64px;

    border-radius:18px;

}

.logo-text h2{

    font-size:24px;

    color:#6A1B9A;

}

.logo-text span{

    color:#777;

    font-size:14px;

}

.main-menu ul{

    display:flex;

    gap:30px;

    list-style:none;

}

.main-menu a{

    color:#444;

    font-size:16px;

    font-weight:bold;

    transition:.3s;

}

.main-menu a:hover{

    color:#e91e63;

}

.login-btn{

    background:#e91e63;

    color:#fff;

    padding:12px 28px;

    border-radius:12px;

    font-weight:bold;

    transition:.3s;

}

.login-btn:hover{

    background:#6A1B9A;

}

/* ===========================
   HERO
=========================== */

.hero{

    padding:100px 0;

    text-align:center;

}

.hero h1{

    font-size:52px;

    color:#6A1B9A;

    margin-bottom:20px;

}

.hero p{

    font-size:22px;

    color:#666;

}
/* ===================================
   HERO
=================================== */

.hero{

    padding:80px 0;

    background:linear-gradient(135deg,#fff5fb,#f5f0ff);

}

.hero-content{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

}

.hero-text{

    flex:1;

}

.hero-badge{

    display:inline-block;

    background:#ffe4f1;

    color:#c2185b;

    padding:10px 20px;

    border-radius:30px;

    margin-bottom:20px;

    font-weight:bold;

}

.hero-text h1{

    font-size:52px;

    color:#6A1B9A;

    margin-bottom:25px;

    line-height:1.3;

}

.hero-text p{

    font-size:20px;

    color:#666;

    margin-bottom:35px;

    line-height:2;

}

.hero-buttons{

    display:flex;

    gap:15px;

}

.btn-primary{

    background:#e91e63;

    color:#fff;

    padding:15px 35px;

    border-radius:14px;

    font-weight:bold;

    transition:.3s;

}

.btn-primary:hover{

    background:#6A1B9A;

}

.btn-secondary{

    background:#fff;

    color:#6A1B9A;

    border:2px solid #6A1B9A;

    padding:15px 35px;

    border-radius:14px;

    font-weight:bold;

    transition:.3s;

}

.btn-secondary:hover{

    background:#6A1B9A;

    color:#fff;

}

.hero-image{

    flex:1;

    text-align:center;

}

.hero-image img{

    width:100%;

    max-width:520px;

    border-radius:25px;

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

/* ===========================
   Responsive
=========================== */

@media(max-width:900px){

.hero-content{

    flex-direction:column-reverse;

    text-align:center;

}

.hero-buttons{

    justify-content:center;

}

.hero-text h1{

    font-size:38px;

}

}
/* ==========================
   FEATURES
========================== */

.features{

    padding:80px 0;

    background:#fff;

}

.section-title{

    text-align:center;

    font-size:36px;

    color:#6A1B9A;

    margin-bottom:50px;

}

.features-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:25px;

}

.feature-card{

    background:#fff;

    border-radius:18px;

    padding:35px 25px;

    text-align:center;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

    color:#333;

}

.feature-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(106,27,154,.15);

}

.feature-card .icon{

    font-size:52px;

    margin-bottom:18px;

}

.feature-card h3{

    color:#6A1B9A;

    margin-bottom:10px;

}

.feature-card p{

    color:#666;

    font-size:15px;

}
/* HERO */

.hero{
    padding:70px 0;
    background:#faf7ff;
}

.hero-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.hero-text{
    flex:1;
}

.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:500px;
}

.hero-badge{
    display:inline-block;
    background:#fde7f3;
    color:#c2185b;
    padding:10px 18px;
    border-radius:30px;
    margin-bottom:20px;
    font-weight:bold;
}

.hero h1{
    font-size:48px;
    color:#6A1B9A;
    margin-bottom:25px;
    line-height:1.4;
}

.hero p{
    color:#666;
    font-size:18px;
    line-height:2;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:15px;
}

.btn-primary,
.btn-secondary{
    padding:14px 30px;
    border-radius:12px;
    font-weight:bold;
}

.btn-primary{
    background:#e91e63;
    color:#fff;
}

.btn-secondary{
    border:2px solid #6A1B9A;
    color:#6A1B9A;
    background:#fff;
}
/* NEWS */

.news{

    padding:80px 0;

    background:#f7f8fc;

}

.news-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.news-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.news-card:hover{

    transform:translateY(-8px);

}

.news-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.news-content{

    padding:25px;

}

.news-content h3{

    margin-bottom:15px;

}

.news-content h3 a{

    color:#6A1B9A;

}

.news-content p{

    color:#666;

    line-height:2;

}

.read-more{

    display:inline-block;

    margin-top:15px;

    color:#e91e63;

    font-weight:bold;

}
/* ==========================
   PRINCIPAL
========================== */

.principal{

    padding:80px 0;

    background:#fff;

}

.principal-box{

    display:flex;

    align-items:center;

    gap:50px;

}

.principal-image{

    flex:1;

    text-align:center;

}

.principal-image img{

    max-width:280px;

    border-radius:20px;

}

.principal-text{

    flex:2;

}

.principal-text p{

    line-height:2.3;

    color:#555;

    font-size:18px;

}
/* ==========================
   GALLERY
========================== */

.gallery{

    padding:80px 0;

    background:#f7f8fc;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

}

.gallery-item{

    overflow:hidden;

    border-radius:18px;

}

.gallery-item img{

    width:100%;

    height:230px;

    object-fit:cover;

    transition:.4s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}
/* ==========================
   FOOTER
========================== */

.site-footer{

    background:#6A1B9A;

    color:#fff;

    padding:60px 0;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:40px;

}

.site-footer h3{

    margin-bottom:20px;

}

.site-footer ul{

    list-style:none;

}

.site-footer li{

    margin-bottom:12px;

}

.site-footer a{

    color:#fff;

}
/* ==========================
   PAGE HEADER
========================== */

.page-header{

    background:#6A1B9A;

    color:#fff;

    text-align:center;

    padding:80px 0;

}

.page-header h1{

    font-size:42px;

    margin-bottom:15px;

}

.page-header p{

    font-size:18px;

}

.coming-soon{

    margin:80px auto;

    background:#fff;

    padding:60px;

    border-radius:18px;

    text-align:center;

    font-size:24px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}
/* ==========================
   LOGIN
========================== */

.login-page{

    padding:100px 0;

}

.login-box{

    max-width:450px;

    margin:auto;

    background:#fff;

    padding:40px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.login-box h1{

    text-align:center;

    margin-bottom:30px;

    color:#6A1B9A;

}

.login-box input{

    width:100%;

    padding:14px;

    margin-bottom:18px;

    border:1px solid #ddd;

    border-radius:10px;

}

.login-box input[type=submit]{

    background:#e91e63;

    color:#fff;

    border:none;

    cursor:pointer;

}
/* ==========================
   DASHBOARD
========================== */

.dashboard{

    padding:80px 0;

}

.dashboard h1{

    text-align:center;

    color:#6A1B9A;

    margin-bottom:15px;

}

.dashboard p{

    text-align:center;

    margin-bottom:40px;

    color:#666;

}

.dashboard-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}

.dashboard-card{

    background:#fff;

    border-radius:18px;

    padding:35px;

    text-align:center;

    font-size:22px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

    color:#333;

}

.dashboard-card:hover{

    transform:translateY(-8px);

}

.dashboard-card h3{

    margin-top:15px;

    color:#6A1B9A;

}
/* ==========================
   HOMEWORK
========================== */

.page-header{

    background:#6A1B9A;

    color:#fff;

    text-align:center;

    padding:70px 0;

}

.homeworks{

    padding:70px 0;

}

.homework-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

}

.homework-card{

    background:#fff;

    padding:30px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.homework-card h2{

    margin-bottom:15px;

}

.homework-card a{

    color:#6A1B9A;

}

.more-btn{

    display:inline-block;

    margin-top:20px;

    background:#e91e63;

    color:#fff !important;

    padding:10px 22px;

    border-radius:10px;

}
/* ==========================
   SINGLE HOMEWORK
========================== */

.single-homework{

    padding:70px 0;

}

.single-homework h1{

    color:#6A1B9A;

    margin-bottom:25px;

}

.homework-info{

    background:#fff;

    padding:18px 22px;

    border-radius:12px;

    margin-bottom:20px;

    box-shadow:0 4px 15px rgba(0,0,0,.06);

}

.homework-content{

    background:#fff;

    padding:35px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    line-height:2;

}

.back-btn{

    display:inline-block;

    margin-top:30px;

    background:#6A1B9A;

    color:#fff;

    padding:12px 25px;

    border-radius:10px;

}