/*
 Theme Name: Astra Child
 Theme URI:  https://example.com/astra-child
 Description: Child theme for Astra — مدرسان طب
 Author: Your Name
 Author URI: https://example.com
 Template: astra
 Version: 1.0.0
 Text Domain: astra-child
*/



/* FONT + RESET */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;600;700&display=swap');
*{margin:0;padding:0;box-sizing:border-box;}
body{
font-family:'Vazirmatn',sans-serif;
background:#f7f8fa;
color:#222;
line-height:1.9;
}

/* COLOR SYSTEM */
:root{
--green:#0c6b3f;
--green-light:#dff3e8;
--orange:#f7961e;
--white:#ffffff;
}

/* HEADER – GLASS */
header{
position:fixed;top:0;width:100%;z-index:999;
backdrop-filter:blur(12px);
background:rgba(255,255,255,0.75);
box-shadow:0 4px 14px rgba(0,0,0,0.05);
}
nav{
max-width:1250px;margin:auto;
display:flex;align-items:center;justify-content:space-between;
padding:12px 20px;
}
nav img{height:62px;}
nav ul{display:flex;gap:30px;list-style:none;}
nav a{
font-weight:600;font-size:1rem;color:var(--green);
transition:0.3s;
}
nav a:hover{color:var(--orange);}

/* HERO – MODERN GRADIENT */
.hero{
margin-top:95px;
position:relative;
background:url('https://images.unsplash.com/photo-1604335399105-a0e8b3b1c03a?auto=format&fit=crop&w=1500&q=60') center/cover no-repeat;
padding:160px 20px;
text-align:center;
}
.hero::after{
content:'';position:absolute;top:0;left:0;width:100%;height:100%;
background:linear-gradient(120deg,rgba(12,107,63,0.55),rgba(247,150,30,0.25));
z-index:1;
}
.hero-content{
position:relative;z-index:2;color:#fff;
}
.hero h1{
font-size:2.8rem;font-weight:700;margin-bottom:10px;
}
.hero p{
max-width:650px;margin:auto;font-size:1.2rem;
opacity:0.95;
}
.hero-btn{
margin-top:25px;padding:13px 38px;
border:none;border-radius:14px;
background:var(--orange);color:white;
font-size:1.1rem;cursor:pointer;
box-shadow:0 6px 18px rgba(247,150,30,0.35);
transition:0.3s;
}
.hero-btn:hover{transform:translateY(-3px);}

/* SEMINAR — CARD STYLE */
.seminar{
padding:90px 20px;
background:#fefcf7;
}
.seminar-box{
max-width:880px !important;margin:auto;text-align:center;
background:#fff;
padding:55px;border-radius:28px;
box-shadow:0 10px 38px rgba(0,0,0,0.07);
border:1px solid #eee;
}
.seminar-box h2{
color:var(--green);font-size:2rem;margin-bottom:5px;
}
.seminar-box h3{
color:var(--orange);margin-bottom:18px;font-size:1.4rem;
}
.countdown{
background:var(--green-light);
padding:15px;border-radius:14px;
font-weight:700;margin:20px auto;
display:inline-block;
color:var(--green);
font-size:1.2rem;
}
.seminar-btn{
background:var(--green);color:white;
padding:13px 32px;border-radius:14px;border:none;
font-size:1.1rem;cursor:pointer;
transition:0.3s;
}
.seminar-btn:hover{background:#0ea95a;}

/* COURSES — MODERN CARDS */
.courses{
max-width:1250px !important;margin:auto;padding:90px 20px;
}
.courses-grid{
display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
gap:30px;
}
.course{
background:white;border-radius:25px;overflow:hidden;
box-shadow:0 6px 20px rgba(0,0,0,0.06);
transition:0.3s;
}
.course:hover{transform:translateY(-6px);}
.course img{width:100%;height:230px;object-fit:cover;}
.course h3{
color:var(--green);margin:18px;font-size:1.3rem;
}
.course p{
margin:0 18px 25px;color:#444;font-size:1rem;
}
.course button{
margin:0 18px 25px;background:var(--orange);
border:none;border-radius:12px;padding:12px 24px;color:white;
font-size:1rem;cursor:pointer;
transition:0.2s;
}
.course button:hover{background:#ffb24c;}

/* ABOUT */
.about{
padding:90px 20px;background:#eef7f1;
}
.about-content{
max-width:1250px !important;margin:auto;
display:grid;grid-template-columns:1fr 1fr;gap:45px;
align-items:center;
}
.about img{
border-radius:22px;width:100%;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}
.about-text h2{margin-bottom:10px;color:var(--green);}
.about-text h3{color:var(--orange);margin-bottom:15px;font-size:1.3rem;}

/* TESTIMONIALS — SLIDER STYLE */
.testimonials{
padding:90px 20px;text-align:center;background:white;
}
.testimonial-box{
max-width:1000px!important;margin:auto;
display:flex;gap:25px;overflow-x:auto;
scroll-snap-type:x mandatory;
padding-bottom:10px;
}
.testimony{
min-width:47%;scroll-snap-align:start;
background:#fefaf6;padding:25px;border-radius:20px;
box-shadow:0 4px 14px rgba(0,0,0,0.05);
font-size:1rem;
}

/* GALLERY — MASONRY */
.gallery{
padding:90px 20px;
max-width:1250px!important;margin:auto;
}
.gallery-grid{
columns:4 200px;column-gap:15px;
}
.gallery-grid img{
width:100%;margin-bottom:15px;border-radius:14px;
transition:0.3s;break-inside:avoid;
}
.gallery-grid img:hover{transform:scale(1.03);}

/* JOIN TEAM */
.join-team{
padding:90px 20px;background:#eef7f1;text-align:center;
}
.join-team button{
background:var(--green);color:white;
padding:13px 35px;border:none;border-radius:14px;
font-size:1.1rem;cursor:pointer;
}
.join-team button:hover{background:#0ea95a;}

/* BLOG */
.blog{
max-width:1250px!important;margin:auto;padding:90px 20px;
}
.blog-grid{
display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:30px;
}
.blog-item{
background:white;border-radius:22px;overflow:hidden;
box-shadow:0 6px 20px rgba(0,0,0,0.06);
transition:0.3s;
}
.blog-item:hover{transform:translateY(-6px);}
.blog-item img{
width:100%;height:220px;object-fit:cover;
}
.blog-item h4{
margin:18px;font-size:1.25rem;color:var(--green);
}
.blog-item p{
margin:0 18px 20px;color:#666;
}
.blog-item a{
margin:0 18px 18px;color:var(--orange);
display:inline-block;font-weight:600;
}

/* CONTACT */
.contact{
padding:90px 20px;text-align:center;
}
form{
max-width:550px !important;margin:auto;
display:flex;flex-direction:column;gap:18px;
}
input,textarea{
padding:14px;border-radius:14px;border:1px solid #ccc;
font-family:'Vazirmatn';
background:white;
}
.submit{
background:var(--orange);color:white;
padding:14px;border:none;border-radius:14px;
cursor:pointer;font-size:1.1rem;
}
.submit:hover{background:#ffb24c;}

/* FOOTER */
footer{
background:var(--green);color:white;
text-align:center;padding:30px;margin-top:40px;
}

/* RESPONSIVE */
@media(max-width:900px){
.about-content{grid-template-columns:1fr;}
.testimonial-box{flex-direction:column;}
}
