/* ==========================================
   Dental Clinic Responsive Style
   Version 1.0
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --green:#008c7a;
    --green2:#00a98f;
    --dark:#0f3f3a;
    --gold:#d4af37;
    --white:#ffffff;
    --light:#f6f9f8;
    --shadow:0 15px 40px rgba(0,0,0,.12);
    --radius:22px;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Vazirmatn',sans-serif;
    direction:rtl;
    background:#f2f5f4;
    color:#333;
    line-height:1.9;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    color:inherit;

}

.page{

    width:min(1450px,95%);
    margin:auto;
    padding:35px 0;

}

/* ================= HERO ================= */

.hero{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:35px;

    align-items:center;

    background:#fff;

    border-radius:30px;

    overflow:hidden;

    box-shadow:var(--shadow);

    padding:35px;

}

.hero-image{

    overflow:hidden;

    border-radius:24px;

}

.hero-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.hero-image:hover img{

    transform:scale(1.04);

}

.hero-content{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

}

.logo{

    width:145px;

    margin-bottom:18px;

}

.clinic-title{

    color:var(--green);

    font-size:28px;

    font-weight:700;

}

.main-title{

    color:var(--gold);

    font-size:62px;

    margin-top:8px;

    font-weight:900;

}

.sub-title{

    color:var(--green);

    margin-top:10px;

    font-size:34px;

    font-weight:800;

}

.slogan{

    margin-top:25px;

    background:linear-gradient(90deg,var(--green),var(--green2));

    color:white;

    padding:12px 28px;

    border-radius:40px;

    font-weight:700;

}

.intro{

    margin-top:25px;

    font-size:18px;

    color:#555;

    max-width:520px;

}

/* ================= SERVICES ================= */

.services{

    margin-top:40px;

}

.section-title{

    text-align:center;

    color:var(--green);

    font-size:42px;

    margin-bottom:30px;

    font-weight:900;

}

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:22px;

}

.card{

    background:white;

    border-radius:22px;

    padding:28px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

    border:2px solid transparent;

}

.card:hover{

    transform:translateY(-8px);

    border-color:var(--green);

}

.card img{

    width:72px;

    margin:auto;

    margin-bottom:18px;

}

.card h3{

    color:var(--green);

    margin-bottom:10px;

    font-size:24px;

}

.card p{

    color:#666;

    font-size:15px;

}
/* ================= CHANNEL ================= */

.channel{

    margin-top:45px;

    background:#ffffff;

    border-radius:28px;

    box-shadow:var(--shadow);

    padding:35px;

    display:grid;

    grid-template-columns:320px 1fr;

    gap:35px;

    align-items:center;

}

.qr-box{

    display:flex;

    justify-content:center;

    align-items:center;

}

.qr-box a{

    display:block;

    transition:.35s;

}

.qr-box a:hover{

    transform:scale(1.05);

}

#qrImage{

    width:260px;

    background:#fff;

    padding:14px;

    border-radius:20px;

    border:4px solid var(--green);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.channel-info h2{

    color:var(--green);

    font-size:28px;

    margin-bottom:10px;

}

.channel-info h1{

    color:var(--gold);

    font-size:46px;

    margin-bottom:18px;

    font-weight:900;

}

.channel-info p{

    color:#555;

    font-size:18px;

    line-height:2;

    max-width:700px;

}

/* ================= FOOTER ================= */

footer{

    margin-top:40px;

    background:linear-gradient(90deg,var(--green),var(--green2));

    color:white;

    border-radius:24px;

    padding:25px 35px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}

.footer-item{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:18px;

    font-weight:600;

}

.footer-item .icon{

    width:46px;

    height:46px;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

}

/* ================= Animation ================= */

.hero,
.card,
.channel,
footer{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.card,
.hero-image img,
#qrImage{

    transition:all .35s ease;

}

#qrImage:hover{

    transform:rotate(-2deg) scale(1.04);

}/* ================= Responsive ================= */

@media (max-width:1200px){

.hero{

grid-template-columns:1fr;

text-align:center;

}

.hero-content{

order:1;

}

.hero-image{

order:2;

}

.channel{

grid-template-columns:1fr;

text-align:center;

}

.cards{

grid-template-columns:repeat(2,1fr);

}

#qrImage{

width:220px;

}

.main-title{

font-size:52px;

}

.sub-title{

font-size:28px;

}

}


@media (max-width:768px){

.page{

width:94%;

padding:18px 0;

}

.hero{

padding:20px;

gap:20px;

border-radius:20px;

}

.logo{

width:100px;

}

.clinic-title{

font-size:22px;

}

.main-title{

font-size:38px;

}

.sub-title{

font-size:22px;

}

.slogan{

font-size:15px;

padding:10px 20px;

}

.intro{

font-size:15px;

}

.section-title{

font-size:30px;

margin-bottom:20px;

}

.cards{

grid-template-columns:1fr;

gap:16px;

}

.card{

padding:22px;

}

.card img{

width:60px;

}

.card h3{

font-size:20px;

}

.card p{

font-size:14px;

}

.channel{

padding:22px;

gap:20px;

}

.channel-info h1{

font-size:32px;

}

.channel-info h2{

font-size:22px;

}

.channel-info p{

font-size:15px;

}

#qrImage{

width:190px;

padding:10px;

}

footer{

flex-direction:column;

text-align:center;

padding:20px;

}

.footer-item{

justify-content:center;

font-size:15px;

}

}


@media (max-width:480px){

.main-title{

font-size:30px;

}

.sub-title{

font-size:18px;

}

.clinic-title{

font-size:18px;

}

.logo{

width:80px;

}

.section-title{

font-size:24px;

}

.card{

padding:18px;

border-radius:18px;

}

.channel{

border-radius:18px;

}

.hero{

border-radius:18px;

}

footer{

border-radius:18px;

}

#qrImage{

width:170px;

}

}


/* ================= Large Screens ================= */

@media (min-width:1700px){

.page{

max-width:1700px;

}

.main-title{

font-size:78px;

}

.sub-title{

font-size:40px;

}

.cards{

gap:30px;

}

.card{

padding:35px;

}

.card img{

width:90px;

}

}


/* ================= Print ================= */

@media print{

body{

background:white;

}

.page{

width:100%;

}

.hero,
.channel,
.card,
footer{

box-shadow:none;

}

}
