/* =========================
   DR. NAEIMEH KHAKZAD
   PREMIUM PSYCHOLOGY WEBSITE
========================= */

:root{
    --primary:#0f172a;
    --secondary:#1e293b;
    --gold:#d4af37;
    --light:#f8fafc;
    --white:#ffffff;
    --text:#334155;
    --shadow:0 20px 50px rgba(0,0,0,.12);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Vazirmatn',sans-serif;
    background:var(--light);
    color:var(--text);
    overflow-x:hidden;
}

/* ===== LOADER ===== */

#loader{
    position:fixed;
    inset:0;
    background:var(--primary);
    z-index:99999;
    display:flex;
    justify-content:center;
    align-items:center;
}

.loader-content{
    text-align:center;
    color:white;
}

.ring{
    width:80px;
    height:80px;
    border:5px solid rgba(255,255,255,.15);
    border-top:5px solid var(--gold);
    border-radius:50%;
    margin:auto;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

.loader-content h3{
    margin-top:20px;
    font-weight:500;
}

/* ===== NAVBAR ===== */

.navbar{
    position:fixed;
    top:0;
    right:0;
    width:100%;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;

    backdrop-filter:blur(15px);

    background:rgba(15,23,42,.75);
}

.logo{
    color:white;
    font-size:24px;
    font-weight:800;
}

.nav-links{
    display:flex;
    gap:30px;
    list-style:none;
}

.nav-links a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.nav-links a:hover{
    color:var(--gold);
}

/* ===== HERO ===== */

.hero{
    height:100vh;

    background:
    linear-gradient(
    rgba(15,23,42,.75),
    rgba(15,23,42,.75)),
    url("../images/hero.jpg");

    background-size:cover;
    background-position:center;
    background-attachment:fixed;

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

    text-align:center;

    position:relative;
}

.hero-content{
    max-width:850px;
    color:white;
    padding:20px;
}

.badge{
    display:inline-block;
    background:rgba(212,175,55,.15);
    border:1px solid rgba(212,175,55,.4);
    padding:10px 25px;
    border-radius:50px;
    margin-bottom:25px;
    color:#f5d87a;
}

.hero h1{
    font-size:65px;
    line-height:1.3;
    margin-bottom:25px;
}

.hero p{
    font-size:22px;
    opacity:.9;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    justify-content:center;
    flex-wrap:wrap;
}

/* ===== BUTTONS ===== */

.btn{
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    transition:.4s;
    font-weight:700;
}

.primary{
    background:var(--gold);
    color:white;
}

.primary:hover{
    transform:translateY(-4px);
}

.secondary{
    border:1px solid rgba(255,255,255,.4);
    color:white;
}

.secondary:hover{
    background:white;
    color:black;
}

/* ===== GENERAL ===== */

section{
    padding:100px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:42px;
    color:var(--primary);
}

/* ===== ABOUT ===== */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:30px;
    box-shadow:var(--shadow);
}

.about-text h3{
    font-size:35px;
    margin-bottom:20px;
}

.about-text p{
    margin-bottom:20px;
    line-height:2;
}

.about-text ul{
    list-style:none;
}

.about-text li{
    margin-bottom:10px;
}

/* ===== STATS ===== */

.stats{
    background:var(--primary);

    display:grid;
    grid-template-columns:repeat(3,1fr);

    gap:30px;

    text-align:center;
}

.stat-box{
    color:white;
}

.stat-box h3{
    font-size:55px;
    color:var(--gold);
}

.stat-box p{
    margin-top:10px;
}

/* ===== SERVICES ===== */

.services-grid{
    display:grid;

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

    gap:25px;
}

.service-card{

    background:
    rgba(255,255,255,.65);

    backdrop-filter:blur(15px);

    border-radius:25px;

    padding:40px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.4s;
}

.service-card:hover{
    transform:translateY(-12px);
}

.service-card i{
    font-size:45px;
    color:var(--gold);
    margin-bottom:20px;
}

.service-card h3{
    color:var(--primary);
}

/* ===== REVIEWS ===== */

.reviews{
    background:#eef2f7;
}

.review-card{
    max-width:800px;

    margin:auto;

    background:white;

    padding:40px;

    border-radius:25px;

    box-shadow:var(--shadow);

    text-align:center;
}

.review-card p{
    font-size:20px;
    line-height:2;
}

.review-card h4{
    margin-top:20px;
    color:var(--gold);
}

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

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

.faq-question{

    width:100%;

    padding:20px;

    border:none;

    background:var(--primary);

    color:white;

    cursor:pointer;

    font-size:18px;

    border-radius:12px;
}

.faq-answer{

    display:none;

    background:white;

    padding:20px;

    border-radius:0 0 12px 12px;
}

/* ===== CONTACT ===== */

.contact{
    background:
    linear-gradient(
    135deg,
    #0f172a,
    #1e293b);
}

.contact .section-title h2{
    color:white;
}

.contact form{

    max-width:700px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:15px;
}

.contact input,
.contact textarea{

    padding:18px;

    border:none;

    border-radius:15px;

    font-size:16px;
}

.contact textarea{
    min-height:150px;
}

.contact button{

    background:var(--gold);

    color:white;

    border:none;

    padding:18px;

    border-radius:15px;

    cursor:pointer;

    font-size:18px;
}

/* ===== FOOTER ===== */

footer{

    background:#020617;

    color:white;

    text-align:center;

    padding:40px;
}

footer h3{
    color:var(--gold);
}

/* ===== WHATSAPP ===== */

.whatsapp{

    position:fixed;

    left:25px;

    bottom:25px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:30px;

    text-decoration:none;

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

    z-index:999;
}

/* ===== RESPONSIVE ===== */

@media(max-width:992px){

.about-grid{
    grid-template-columns:1fr;
}

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

.stats{
    grid-template-columns:1fr;
}

.nav-links{
    display:none;
}

.section-title h2{
    font-size:32px;
}

}

@media(max-width:600px){

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

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

.btn{
    width:100%;
}

}
@media(max-width:768px){

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

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

.hero-buttons{
flex-direction:column;
}

.about-grid{
grid-template-columns:1fr;
}

.stats{
grid-template-columns:1fr;
}

.services-grid{
grid-template-columns:1fr;
}

.btn{
width:100%;
}

.nav-links{
display:none;
}

}

.site-credit{
position:fixed;
bottom:15px;
left:15px;
font-size:12px;
color:rgba(255,255,255,.6);
text-decoration:none;
padding:6px 12px;
border-radius:10px;
background:rgba(0,0,0,.25);
backdrop-filter:blur(10px);
transition:.3s;
z-index:9999;
}

.site-credit:hover{
color:#d4af37;
background:rgba(0,0,0,.5);
}

