/* ===========================
   SIMINARAB
   STYLE.CSS
===========================*/

:root{

--dark:#181C14;
--dark2:#3C3D37;
--green:#697565;
--cream:#ECDFCC;
--white:#ffffff;
--shadow:0 20px 60px rgba(0,0,0,.25);
--radius:22px;
--transition:.35s;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{

scroll-behavior:smooth;

}

body{

font-family:"Vazirmatn",sans-serif;

background:var(--dark);

color:var(--cream);

overflow-x:hidden;

line-height:1.9;

}

img{

width:100%;

display:block;

}

a{

text-decoration:none;

}

ul{

list-style:none;

}

.container{

width:min(92%,1280px);

margin:auto;

}

/*============================*/

#loader{

position:fixed;

inset:0;

background:#181C14;

display:flex;

justify-content:center;

align-items:center;

z-index:99999;

}

.loader-logo{

font-family:"Cormorant Garamond",serif;

font-size:70px;

letter-spacing:10px;

animation:pulse 2s infinite;

}

@keyframes pulse{

0%{

opacity:.3;
transform:scale(.95);

}

50%{

opacity:1;
transform:scale(1);

}

100%{

opacity:.3;
transform:scale(.95);

}

}

/*============================*/

header{

position:fixed;

top:0;

left:0;

right:0;

padding:24px 0;

z-index:999;

transition:.35s;

background:rgba(24,28,20,.55);

backdrop-filter:blur(20px);

}

header.scrolled{

padding:16px 0;

background:#181C14;

box-shadow:0 10px 40px rgba(0,0,0,.4);

}

nav{

display:flex;

justify-content:space-between;

align-items:center;

}

.logo{

font-family:"Cormorant Garamond",serif;

font-size:40px;

letter-spacing:8px;

font-weight:700;

color:#ECDFCC;

}

.menu{

display:flex;

gap:34px;

}

.menu a{

color:#ECDFCC;

font-size:15px;

position:relative;

transition:.3s;

}

.menu a::after{

content:"";

position:absolute;

bottom:-8px;

right:0;

width:0;

height:2px;

background:#ECDFCC;

transition:.3s;

}

.menu a:hover::after{

width:100%;

}

.hamburger{

display:none;

flex-direction:column;

gap:6px;

cursor:pointer;

}

.hamburger span{

width:28px;

height:2px;

background:#ECDFCC;

transition:.3s;

}

/*============================*/

#hero{

height:100vh;

position:relative;

background:url("../images/hero/hero.jpg") center/cover;

display:flex;

align-items:center;

overflow:hidden;

}

.hero-overlay{

position:absolute;

inset:0;

background:linear-gradient(to left,rgba(24,28,20,.92),rgba(24,28,20,.55));

}

.hero-content{

position:relative;

z-index:5;

max-width:760px;

}

.hero-subtitle{

display:inline-block;

padding:10px 20px;

border:1px solid rgba(255,255,255,.2);

border-radius:40px;

margin-bottom:24px;

font-size:14px;

letter-spacing:2px;

}

.hero-content h1{

font-size:72px;

line-height:1.35;

margin-bottom:25px;

}

.hero-content p{

font-size:19px;

color:#ddd;

margin-bottom:40px;

max-width:650px;

}

.hero-buttons{

display:flex;

gap:18px;

flex-wrap:wrap;

}

.btn{

padding:18px 42px;

background:#ECDFCC;

color:#181C14;

border-radius:50px;

font-weight:700;

transition:.35s;

display:inline-flex;

justify-content:center;

align-items:center;

}

.btn:hover{

transform:translateY(-5px);

box-shadow:0 20px 40px rgba(236,223,204,.25);

}

.btn-outline{

padding:18px 42px;

border:1px solid #ECDFCC;

border-radius:50px;

color:#ECDFCC;

transition:.35s;

}

.btn-outline:hover{

background:#ECDFCC;

color:#181C14;

}

/*============================*/

.stats{

background:#ECDFCC;

color:#181C14;

padding:90px 0;

}

.stats-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

}

.stat{

text-align:center;

}

.stat h2{

font-size:60px;

font-family:"Cormorant Garamond",serif;

margin-bottom:10px;

}

.stat p{

font-size:18px;

color:#555;

}

/*============================*/

section{

padding:120px 0;

}

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title span{

color:#697565;

text-transform:uppercase;

letter-spacing:3px;

font-size:13px;

}

.section-title h2{

font-size:48px;

margin-top:15px;

margin-bottom:18px;

}

.section-title p{

max-width:700px;

margin:auto;

color:#bcbcbc;

}





/*==========================================
            SERVICES
==========================================*/

.services-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

}

.service-card{

background:#23261f;

padding:40px 30px;

border-radius:22px;

text-align:center;

transition:.35s;

border:1px solid rgba(255,255,255,.05);

}

.service-card:hover{

transform:translateY(-10px);

background:#2b2f27;

box-shadow:0 25px 60px rgba(0,0,0,.25);

}

.service-card img{

width:70px;

height:70px;

margin:auto;

margin-bottom:25px;

object-fit:contain;

}

.service-card h3{

font-size:24px;

margin-bottom:15px;

}

.service-card p{

color:#bdbdbd;

font-size:15px;

line-height:2;

}

/*==========================================
            ABOUT
==========================================*/

.about-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:80px;

align-items:center;

}

.about-image{

overflow:hidden;

border-radius:30px;

}

.about-image img{

height:700px;

object-fit:cover;

transition:.6s;

}

.about-image:hover img{

transform:scale(1.05);

}

.about-content span{

color:var(--green);

letter-spacing:2px;

}

.about-content h2{

font-size:58px;

margin:20px 0;

}

.about-content p{

font-size:18px;

color:#cfcfcf;

margin-bottom:40px;

}

.about-info{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:20px;

}

.about-info div{

background:#23261f;

padding:25px;

border-radius:20px;

text-align:center;

}

.about-info h3{

font-size:42px;

font-family:"Cormorant Garamond",serif;

margin-bottom:8px;

}

/*==========================================
        CERTIFICATES
==========================================*/

.certificate-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

}

.certificate-card{

overflow:hidden;

border-radius:25px;

background:#23261f;

transition:.35s;

}

.certificate-card:hover{

transform:translateY(-10px);

}

.certificate-card img{

height:340px;

object-fit:cover;

}

.certificate-card h3{

padding:25px;

text-align:center;

}

/*==========================================
        PORTFOLIO
==========================================*/

.portfolio-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:22px;

}

.portfolio-item{

position:relative;

overflow:hidden;

border-radius:24px;

cursor:pointer;

}

.portfolio-item img{

height:420px;

object-fit:cover;

transition:.6s;

}

.portfolio-item::before{

content:"";

position:absolute;

inset:0;

background:linear-gradient(transparent,rgba(0,0,0,.65));

opacity:0;

transition:.35s;

z-index:2;

}

.portfolio-item::after{

content:"مشاهده";

position:absolute;

left:50%;

top:50%;

transform:translate(-50%,-50%);

padding:12px 30px;

background:#ECDFCC;

color:#181C14;

border-radius:40px;

opacity:0;

transition:.35s;

z-index:3;

font-weight:bold;

}

.portfolio-item:hover img{

transform:scale(1.08);

}

.portfolio-item:hover::before,

.portfolio-item:hover::after{

opacity:1;

}

/*==========================================
        COURSES
==========================================*/

.course-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

}

.course-card{

background:#23261f;

border-radius:25px;

overflow:hidden;

transition:.35s;

}

.course-card:hover{

transform:translateY(-12px);

box-shadow:0 30px 70px rgba(0,0,0,.25);

}

.course-card img{

height:260px;

object-fit:cover;

}

.course-card h3{

padding:25px 25px 10px;

font-size:24px;

}

.course-card p{

padding:0 25px 25px;

color:#bfbfbf;

}

.course-card .btn{

margin:0 25px 25px;

}




/*==========================================
                BLOG
==========================================*/

.blog-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

}

.blog-card{

background:#23261f;

border-radius:25px;

overflow:hidden;

transition:.35s;

}

.blog-card:hover{

transform:translateY(-10px);

box-shadow:0 30px 70px rgba(0,0,0,.25);

}

.blog-card img{

height:240px;

object-fit:cover;

}

.blog-content{

padding:25px;

}

.blog-content span{

color:var(--green);

font-size:14px;

}

.blog-content h3{

margin:15px 0;

font-size:24px;

line-height:1.7;

}

.blog-content p{

color:#bfbfbf;

margin-bottom:20px;

}

.blog-content a{

color:var(--cream);

font-weight:700;

}

/*==========================================
                VIDEOS
==========================================*/

.video-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}

.video-card{

position:relative;

overflow:hidden;

border-radius:25px;

cursor:pointer;

}

.video-card img{

height:320px;

object-fit:cover;

transition:.5s;

}

.video-card:hover img{

transform:scale(1.08);

}

.play-btn{

position:absolute;

left:50%;

top:50%;

transform:translate(-50%,-50%);

width:80px;

height:80px;

border-radius:50%;

background:rgba(236,223,204,.95);

display:flex;

align-items:center;

justify-content:center;

font-size:28px;

color:#181C14;

transition:.35s;

}

.video-card:hover .play-btn{

transform:translate(-50%,-50%) scale(1.15);

}

/*==========================================
            TESTIMONIALS
==========================================*/

.testimonial-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}

.testimonial-card{

background:#23261f;

padding:35px;

border-radius:25px;

transition:.35s;

}

.testimonial-card:hover{

transform:translateY(-10px);

}

.testimonial-card h3{

font-size:30px;

color:#FFD700;

margin-bottom:20px;

}

.testimonial-card p{

color:#d0d0d0;

line-height:2;

margin-bottom:20px;

}

.testimonial-card strong{

color:#ECDFCC;

}

/*==========================================
                CONTACT
==========================================*/

.contact-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

}

.contact-info h2{

font-size:52px;

margin:20px 0;

}

.contact-info p{

color:#cfcfcf;

margin-bottom:30px;

}

.contact-info ul{

display:flex;

flex-direction:column;

gap:15px;

margin-bottom:30px;

}

.social-links{

display:flex;

gap:15px;

flex-wrap:wrap;

}

.social-links a{

padding:12px 22px;

background:#23261f;

border-radius:30px;

color:#ECDFCC;

transition:.35s;

}

.social-links a:hover{

background:#ECDFCC;

color:#181C14;

}

.contact-form{

background:#23261f;

padding:40px;

border-radius:25px;

}

.contact-form form{

display:flex;

flex-direction:column;

gap:20px;

}

.contact-form input,
.contact-form textarea,
.contact-form select{

padding:18px;

border:none;

border-radius:14px;

background:#2e322a;

color:#fff;

font-family:inherit;

font-size:15px;

outline:none;

}

.contact-form textarea{

height:180px;

resize:none;

}

.contact-form button{

border:none;

cursor:pointer;

}

/*==========================================
                FOOTER
==========================================*/

footer{

background:#11140f;

padding:80px 0 30px;

margin-top:120px;

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr;

gap:50px;

}

.footer-grid h4{

margin-bottom:20px;

}

.footer-grid ul{

display:flex;

flex-direction:column;

gap:12px;

}

.footer-grid a{

color:#bfbfbf;

transition:.3s;

}

.footer-grid a:hover{

color:#ECDFCC;

padding-right:6px;

}

.copyright{

margin-top:60px;

padding-top:25px;

border-top:1px solid rgba(255,255,255,.08);

text-align:center;

color:#999;

}

/*==========================================
            MOBILE BOOK
==========================================*/

.mobile-book{

display:none;

position:fixed;

bottom:20px;

left:20px;

right:20px;

background:#ECDFCC;

color:#181C14;

padding:18px;

border-radius:50px;

text-align:center;

font-weight:700;

z-index:900;

box-shadow:0 20px 50px rgba(0,0,0,.35);

}

/*==========================================
            SCROLLBAR
==========================================*/

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#181C14;

}

::-webkit-scrollbar-thumb{

background:#697565;

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:#ECDFCC;

}








/*========================*/

#topBtn{

position:fixed;

left:30px;

bottom:30px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:#ECDFCC;

color:#181C14;

font-size:22px;

cursor:pointer;

display:none;

z-index:999;

transition:.35s;

box-shadow:0 15px 40px rgba(0,0,0,.25);

}

#topBtn:hover{

transform:translateY(-6px);

}

.showTop{

display:block !important;

}

/*========================*/

.fade-section{

opacity:0;

transform:translateY(80px);

}









/*=============================
      BEFORE AFTER
=============================*/

.compare{

position:relative;

max-width:1000px;

margin:auto;

overflow:hidden;

border-radius:25px;

}

.compare img{

display:block;

width:100%;

height:650px;

object-fit:cover;

}

.before{

position:absolute;

top:0;

left:0;

width:50%;

overflow:hidden;

}

#compareRange{

position:absolute;

left:0;

bottom:25px;

width:100%;

z-index:10;

accent-color:#ECDFCC;

cursor:pointer;

}










/*========================*/

.faq{

max-width:900px;

margin:auto;

}

.faq-item{

margin-bottom:20px;

background:#23261f;

border-radius:18px;

overflow:hidden;

}

.faq button{

width:100%;

padding:22px;

background:none;

border:none;

color:white;

text-align:right;

font-size:18px;

cursor:pointer;

font-family:inherit;

}

.answer{

display:none;

padding:0 22px 22px;

color:#bfbfbf;

line-height:2;

}

.answer.show{

display:block;

}









.page-hero{

padding:180px 0 120px;

text-align:center;

background:#181C14;

}

.page-hero h1{

font-size:64px;

margin-bottom:20px;

}

.page-hero p{

font-size:20px;

color:#bdbdbd;

max-width:700px;

margin:auto;

}








/*================ TIMELINE ================*/

.timeline{

position:relative;

max-width:950px;

margin:auto;

padding-right:40px;

}

.timeline::before{

content:"";

position:absolute;

right:18px;

top:0;

bottom:0;

width:2px;

background:#697565;

}

.timeline-item{

position:relative;

margin-bottom:60px;

}

.timeline-item::before{

content:"";

position:absolute;

right:-30px;

top:8px;

width:18px;

height:18px;

border-radius:50%;

background:#ECDFCC;

}

.timeline .year{

font-size:28px;

font-family:"Cormorant Garamond",serif;

color:#ECDFCC;

margin-bottom:10px;

}

.timeline .content{

background:#23261f;

padding:30px;

border-radius:20px;

transition:.35s;

}

.timeline .content:hover{

transform:translateY(-8px);

box-shadow:0 25px 60px rgba(0,0,0,.3);

}

.timeline .content h3{

margin-bottom:15px;

}

.timeline .content p{

color:#bfbfbf;

line-height:2;

}








/*================ BRANDS ================*/

.brands{

display:grid;

grid-template-columns:repeat(6,1fr);

gap:30px;

align-items:center;

}

.brands img{

background:#23261f;

padding:30px;

border-radius:20px;

opacity:.7;

transition:.35s;

}

.brands img:hover{

opacity:1;

transform:translateY(-8px);

}





.contact-form label{

display:block;

margin:5px 0 8px;

font-size:14px;

color:#ECDFCC;

}

.contact-form input,
.contact-form select,
.contact-form textarea{

width:100%;

padding:16px;

background:#2c3028;

border:1px solid rgba(255,255,255,.08);

border-radius:14px;

color:#fff;

margin-bottom:18px;

font-family:inherit;

transition:.3s;

}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{

border-color:#ECDFCC;

box-shadow:0 0 15px rgba(236,223,204,.2);

outline:none;

}

.contact-form input[type="date"]{

color:#ECDFCC;

}

