/*==================================================
        SANITARY CARE FACTORY
        Modern UI 2026
===================================================*/

:root{

    --primary:#8E3A8C;
    --secondary:#EC5FA8;
    --accent:#FFD5E9;

    --dark:#1C1C1C;
    --text:#555;
    --light:#FAFBFF;
    --white:#ffffff;

    --glass:rgba(255,255,255,.55);

    --shadow:
    0 15px 40px rgba(0,0,0,.08);

    --radius:22px;

    --transition:.35s ease;

}

/*==============================*/

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Vazirmatn',sans-serif;

background:var(--light);

color:var(--dark);

overflow-x:hidden;

line-height:1.9;

}

/*==============================*/

img{

max-width:100%;
display:block;

}

a{

text-decoration:none;

color:inherit;

}

ul{

list-style:none;

}

.container{

width:min(92%,1350px);

margin:auto;

}

/*==============================*/
/* Background */
/*==============================*/

.bg-gradient{

position:fixed;

inset:0;

background:
radial-gradient(circle at top left,#ffd7eb 0%,transparent 35%),

radial-gradient(circle at bottom right,#ffd2ff 0%,transparent 40%),

linear-gradient(135deg,#ffffff,#fafbff);

z-index:-10;

}

.blur-circle{

position:fixed;

border-radius:50%;

filter:blur(90px);

opacity:.35;

z-index:-5;

animation:float 12s infinite ease-in-out;

}

.one{

width:300px;
height:300px;

background:#ff99d6;

top:-80px;
right:-80px;

}

.two{

width:260px;
height:260px;

background:#b992ff;

left:-90px;
bottom:10%;

}

.three{

width:220px;
height:220px;

background:#ffd6eb;

right:30%;
bottom:-100px;

}

/*==============================*/
/* Header */
/*==============================*/

header{

position:fixed;

top:0;

width:100%;

z-index:999;

padding:18px 0;

transition:.4s;

}

header.scrolled{

background:rgba(255,255,255,.82);

backdrop-filter:blur(18px);

box-shadow:0 10px 40px rgba(0,0,0,.08);

}

nav{

display:flex;

justify-content:space-between;

align-items:center;

padding:14px 25px;

background:rgba(255,255,255,.45);

backdrop-filter:blur(16px);

border:1px solid rgba(255,255,255,.35);

border-radius:100px;

box-shadow:var(--shadow);

}

/*==============================*/

.logo{

display:flex;

align-items:center;

gap:15px;

}

.logo-icon{

width:58px;

height:58px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

font-size:28px;

background:linear-gradient(135deg,

var(--primary),

var(--secondary));

color:#fff;

box-shadow:

0 15px 30px rgba(236,95,168,.4);

}

.logo h2{

font-size:22px;

font-weight:800;

}

.logo p{

font-size:13px;

color:#888;

margin-top:-5px;

}

/*==============================*/

nav ul{

display:flex;

gap:38px;

}

nav li a{

font-weight:600;

transition:var(--transition);

position:relative;

}

nav li a:hover,

nav li a.active{

color:var(--primary);

}

nav li a::after{

content:"";

position:absolute;

bottom:-8px;

right:0;

width:0;

height:3px;

background:var(--secondary);

transition:.3s;

border-radius:30px;

}

nav li a:hover::after,

nav li a.active::after{

width:100%;

}

/*==============================*/

.btn-header{

padding:13px 28px;

border-radius:50px;

background:linear-gradient(135deg,

var(--primary),

var(--secondary));

color:white;

font-weight:700;

transition:.35s;

box-shadow:

0 15px 35px rgba(236,95,168,.35);

}

.btn-header:hover{

transform:translateY(-5px);

box-shadow:

0 25px 45px rgba(236,95,168,.45);

}

/*==============================*/
/* Hero */
/*==============================*/

.hero{

padding-top:170px;

padding-bottom:90px;

}

.hero-grid{

display:grid;

grid-template-columns:1fr 1fr;

align-items:center;

gap:70px;

}

.hero-badge{

display:inline-block;

padding:10px 18px;

background:rgba(255,255,255,.75);

backdrop-filter:blur(12px);

border-radius:40px;

font-size:14px;

font-weight:700;

color:var(--primary);

margin-bottom:22px;

}

.hero h1{

font-size:68px;

font-weight:900;

line-height:1.2;

margin-bottom:30px;

}

.hero h1 span{

background:linear-gradient(135deg,

var(--primary),

var(--secondary));

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

}

.hero p{

font-size:18px;

color:#666;

max-width:620px;

margin-bottom:40px;

}

/*==============================*/

.hero-buttons{

display:flex;

gap:18px;

flex-wrap:wrap;

margin-bottom:45px;

}

.btn-primary{

padding:17px 36px;

border-radius:60px;

background:linear-gradient(135deg,

var(--primary),

var(--secondary));

color:white;

font-weight:700;

transition:.35s;

box-shadow:

0 18px 40px rgba(236,95,168,.35);

}

.btn-primary:hover{

transform:translateY(-6px);

}

.btn-secondary{

padding:17px 36px;

border-radius:60px;

border:2px solid var(--primary);

color:var(--primary);

font-weight:700;

transition:.35s;

background:white;

}

.btn-secondary:hover{

background:var(--primary);

color:white;

}

/*==============================*/

.hero-stats{

display:flex;

gap:28px;

flex-wrap:wrap;

}

.hero-stats div{

padding:22px 30px;

background:rgba(255,255,255,.65);

backdrop-filter:blur(15px);

border-radius:22px;

box-shadow:var(--shadow);

min-width:150px;

transition:.35s;

}

.hero-stats div:hover{

transform:translateY(-8px);

}

.hero-stats h3{

font-size:34px;

color:var(--primary);

margin-bottom:5px;

}

.hero-stats span{

font-size:15px;

color:#666;

}

/*==============================*/

.hero-image{

position:relative;

display:flex;

justify-content:center;

align-items:center;

}

.hero-circle{

position:absolute;

width:520px;

height:520px;

border-radius:50%;

background:

radial-gradient(circle,

rgba(236,95,168,.25),

transparent 70%);

animation:rotate 30s linear infinite;

}

.hero-image img{

position:relative;

width:480px;

z-index:2;

filter:

drop-shadow(0 35px 45px rgba(0,0,0,.18));

animation:floating 5s ease-in-out infinite;

}
/*==================================================
            PREMIUM SLIDER
==================================================*/

.slider-section{

    padding:120px 0;

    position:relative;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    display:inline-block;

    color:var(--primary);

    font-weight:700;

    margin-bottom:12px;

    letter-spacing:1px;

}

.section-title h2{

    font-size:46px;

    font-weight:900;

}

.section-title strong{

    color:var(--secondary);

}

/*==============================*/

.slider{

    position:relative;

    overflow:hidden;

    padding:40px 90px;

}

.slides{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:35px;

}

/*==============================*/

.slide{

    width:240px;

    height:240px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:35px;

    background:rgba(255,255,255,.45);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.5);

    box-shadow:var(--shadow);

    opacity:.35;

    transform:scale(.78);

    transition:.6s ease;

}

.slide img{

    max-width:82%;

    transition:.5s;

    filter:drop-shadow(0 25px 30px rgba(0,0,0,.15));

}

.slide.active{

    opacity:1;

    transform:scale(1.15);

    background:white;

}

.slide.active img{

    transform:translateY(-10px);

}

/*==============================*/

.prev,
.next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:62px;

    height:62px;

    border:none;

    cursor:pointer;

    border-radius:50%;

    background:white;

    box-shadow:var(--shadow);

    font-size:22px;

    transition:.3s;

    z-index:5;

}

.prev{

    left:0;

}

.next{

    right:0;

}

.prev:hover,
.next:hover{

    background:var(--primary);

    color:white;

    transform:translateY(-50%) scale(1.12);

}

/*==============================*/

.slider-dots{

    display:flex;

    justify-content:center;

    gap:12px;

    margin-top:45px;

}

.dot{

    width:14px;

    height:14px;

    border-radius:50%;

    background:#d8d8d8;

    cursor:pointer;

    transition:.35s;

}

.dot.active{

    width:42px;

    border-radius:30px;

    background:linear-gradient(135deg,

    var(--primary),

    var(--secondary));

}

/*==================================================
                FEATURES
==================================================*/

.features{

    padding:120px 0;

}

.feature-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.feature-card{

    background:rgba(255,255,255,.65);

    backdrop-filter:blur(18px);

    border-radius:28px;

    padding:40px;

    text-align:center;

    transition:.45s;

    box-shadow:var(--shadow);

    position:relative;

    overflow:hidden;

}

.feature-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(135deg,

    rgba(236,95,168,.06),

    transparent);

    opacity:0;

    transition:.4s;

}

.feature-card:hover::before{

    opacity:1;

}

.feature-card:hover{

    transform:

    translateY(-14px);

}

.feature-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:36px;

    color:white;

    background:

    linear-gradient(135deg,

    var(--primary),

    var(--secondary));

    margin-bottom:28px;

    box-shadow:

    0 18px 35px rgba(236,95,168,.35);

}

.feature-card h3{

    margin-bottom:18px;

    font-size:24px;

    font-weight:800;

}

.feature-card p{

    color:#666;

    font-size:15px;

}

/*==================================================
            ABOUT PREVIEW
==================================================*/

.about-preview{

    padding:120px 0;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-image{

    position:relative;

}

.about-image img{

    border-radius:35px;

    box-shadow:

    0 35px 60px rgba(0,0,0,.15);

    transition:.5s;

}

.about-image img:hover{

    transform:scale(1.03);

}

.section-badge{

    display:inline-block;

    background:#fff;

    color:var(--primary);

    padding:10px 18px;

    border-radius:30px;

    margin-bottom:22px;

    font-weight:700;

    box-shadow:var(--shadow);

}

.about-content h2{

    font-size:46px;

    margin-bottom:25px;

    line-height:1.4;

}

.about-content p{

    color:#666;

    margin-bottom:35px;

}

.about-list{

    margin-bottom:40px;

}

.about-list li{

    margin-bottom:18px;

    padding-right:34px;

    position:relative;

    font-weight:600;

}

.about-list li::before{

    content:"✔";

    position:absolute;

    right:0;

    color:var(--secondary);

    font-weight:bold;

}

/*==================================================
                STATISTICS
==================================================*/

.statistics{

    padding:120px 0;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.stat-box{

    padding:45px;

    text-align:center;

    border-radius:30px;

    background:linear-gradient(135deg,#fff,#fff8fd);

    box-shadow:var(--shadow);

    transition:.4s;

}

.stat-box:hover{

    transform:translateY(-12px);

}

.stat-box h2{

    font-size:52px;

    color:var(--primary);

    margin-bottom:12px;

}

.stat-box span{

    color:#666;

    font-weight:600;

}

/*==================================================
                CTA SECTION
==================================================*/

.cta{

    padding:140px 0;

}

.cta-box{

    position:relative;

    overflow:hidden;

    border-radius:40px;

    padding:80px;

    text-align:center;

    color:#fff;

    background:
    linear-gradient(135deg,
    var(--primary),
    var(--secondary));

    box-shadow:
    0 40px 80px rgba(142,58,140,.25);

}

.cta-box::before{

    content:"";

    position:absolute;

    width:500px;
    height:500px;

    border-radius:50%;

    background:
    rgba(255,255,255,.08);

    left:-120px;
    top:-180px;

}

.cta-box::after{

    content:"";

    position:absolute;

    width:350px;
    height:350px;

    border-radius:50%;

    background:
    rgba(255,255,255,.06);

    right:-100px;
    bottom:-120px;

}

.cta-box>*{

    position:relative;

    z-index:2;

}

.cta-box span{

    font-size:15px;

    opacity:.9;

}

.cta-box h2{

    font-size:52px;

    margin:25px 0;

    font-weight:900;

}

.cta-box p{

    max-width:760px;

    margin:auto;

    opacity:.95;

    line-height:2;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-top:45px;

}

.cta .btn-primary{

    background:#fff;

    color:var(--primary);

}

.cta .btn-primary:hover{

    background:#fafafa;

}

.cta .btn-secondary{

    background:transparent;

    color:white;

    border:2px solid rgba(255,255,255,.6);

}

.cta .btn-secondary:hover{

    background:white;

    color:var(--primary);

}

/*==================================================
                CONTACT
==================================================*/

.contact{

    padding:120px 0;

}

.contact-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.contact-card{

    text-align:center;

    background:white;

    border-radius:30px;

    padding:45px;

    transition:.4s;

    box-shadow:var(--shadow);

}

.contact-card:hover{

    transform:
    translateY(-10px);

}

.contact-icon{

    width:85px;

    height:85px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    background:
    linear-gradient(135deg,
    var(--primary),
    var(--secondary));

    color:white;

    font-size:34px;

}

.contact-card h3{

    margin-bottom:15px;

    font-size:24px;

}

.contact-card p{

    color:#666;

}

/*==================================================
                    FOOTER
==================================================*/

footer{

    margin-top:120px;

    background:#181818;

    color:white;

    padding-top:90px;

}

.footer-grid{

    display:grid;

    grid-template-columns:
    2fr 1fr 1fr 1fr;

    gap:60px;

}

.footer-logo{

    margin-bottom:25px;

}

.footer-text{

    color:#c7c7c7;

    line-height:2.1;

}

footer h3{

    margin-bottom:25px;

    font-size:22px;

}

footer ul li{

    margin-bottom:16px;

}

footer ul li a{

    color:#d4d4d4;

    transition:.3s;

}

footer ul li a:hover{

    color:#fff;

    padding-right:6px;

}

.socials{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.socials a{

    display:inline-flex;

    transition:.3s;

    color:#ddd;

}

.socials a:hover{

    color:var(--secondary);

    transform:translateX(-5px);

}

.footer-bottom{

    border-top:
    1px solid rgba(255,255,255,.08);

    margin-top:70px;

    padding:30px 0;

    text-align:center;

    color:#aaa;

}

/*==================================================
                BACK TO TOP
==================================================*/

#toTop{

    position:fixed;

    left:30px;

    bottom:30px;

    width:58px;

    height:58px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    color:white;

    font-size:22px;

    background:
    linear-gradient(135deg,
    var(--primary),
    var(--secondary));

    box-shadow:
    0 20px 35px rgba(236,95,168,.35);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

}

#toTop.show{

    opacity:1;

    visibility:visible;

}

#toTop:hover{

    transform:
    translateY(-6px);

}

/*==================================================
                SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f4f4f4;

}

::-webkit-scrollbar-thumb{

    border-radius:30px;

    background:
    linear-gradient(
    var(--primary),
    var(--secondary));

}

::selection{

    background:var(--secondary);

    color:white;

}
/*==================================================
                ANIMATIONS
==================================================*/

@keyframes floating{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-35px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes rotate{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero-content,
.hero-image,
.feature-card,
.about-image,
.about-content,
.stat-box,
.contact-card,
.cta-box{

    animation:fadeUp .9s ease;

}

/*==================================================
                HOVER EFFECTS
==================================================*/

.feature-card,
.stat-box,
.contact-card,
.slide,
.about-image img{

    will-change:transform;

}

.feature-card:hover,
.contact-card:hover,
.stat-box:hover{

    box-shadow:
    0 30px 60px rgba(0,0,0,.12);

}

.slide:hover{

    transform:scale(1.08);

}

.btn-primary,
.btn-secondary,
.btn-header{

    position:relative;

    overflow:hidden;

}

.btn-primary::before,
.btn-header::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:60%;

    height:100%;

    background:
    linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.45),
    transparent);

    transition:.7s;

}

.btn-primary:hover::before,
.btn-header:hover::before{

    left:140%;

}

/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:1200px){

.hero h1{

font-size:56px;

}

.feature-grid{

grid-template-columns:repeat(2,1fr);

}

.stats-grid{

grid-template-columns:repeat(2,1fr);

}

.footer-grid{

grid-template-columns:repeat(2,1fr);

}

.contact-grid{

grid-template-columns:repeat(2,1fr);

}

}

/*==============================*/

@media(max-width:992px){

.hero-grid{

grid-template-columns:1fr;

text-align:center;

}

.hero-content p{

margin:auto auto 40px;

}

.hero-buttons{

justify-content:center;

}

.hero-stats{

justify-content:center;

}

.about-grid{

grid-template-columns:1fr;

}

.about-content{

text-align:center;

}

.about-list{

text-align:right;

display:inline-block;

}

.hero-image{

margin-top:40px;

}

.hero-image img{

width:360px;

}

.slider{

padding:30px;

}

nav{

flex-wrap:wrap;

gap:20px;

border-radius:30px;

}

nav ul{

width:100%;

justify-content:center;

flex-wrap:wrap;

gap:22px;

}

}

/*==============================*/

@media(max-width:768px){

.hero{

padding-top:140px;

}

.hero h1{

font-size:42px;

}

.section-title h2{

font-size:34px;

}

.about-content h2{

font-size:34px;

}

.cta-box{

padding:45px 30px;

}

.cta-box h2{

font-size:36px;

}

.feature-grid{

grid-template-columns:1fr;

}

.stats-grid{

grid-template-columns:1fr;

}

.contact-grid{

grid-template-columns:1fr;

}

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

.hero-stats{

flex-direction:column;

align-items:center;

}

.slide{

width:180px;

height:180px;

}

.prev,
.next{

width:50px;

height:50px;

font-size:18px;

}

.hero-circle{

width:340px;

height:340px;

}

.hero-image img{

width:280px;

}

}

/*==============================*/

@media(max-width:576px){

.container{

width:94%;

}

.logo h2{

font-size:18px;

}

.logo-icon{

width:48px;

height:48px;

font-size:22px;

}

nav{

padding:18px;

}

.btn-header{

display:none;

}

.hero h1{

font-size:34px;

line-height:1.45;

}

.hero p{

font-size:15px;

}

.btn-primary,
.btn-secondary{

width:100%;

text-align:center;

}

.hero-buttons{

flex-direction:column;

}

.section-title h2{

font-size:28px;

}

.about-content h2{

font-size:28px;

}

.cta-box h2{

font-size:28px;

}

.cta-buttons{

flex-direction:column;

}

.cta-buttons a{

width:100%;

text-align:center;

}

.slider{

padding:15px;

}

.slide{

width:150px;

height:150px;

}

.contact-card,
.feature-card{

padding:30px;

}

#toTop{

left:15px;

bottom:15px;

width:50px;

height:50px;

}

}

/*==================================================
            EXTRA POLISH
==================================================*/

section{

position:relative;

}

.feature-card,
.contact-card,
.stat-box,
.slide{

cursor:default;

}

.hero-image img{

user-select:none;

pointer-events:none;

}

body{

text-rendering:optimizeLegibility;

-webkit-font-smoothing:antialiased;

-moz-osx-font-smoothing:grayscale;

}

button{

font-family:inherit;

}

input,
textarea{

font-family:inherit;

}

footer a{

transition:.3s ease;

}

section{

overflow:hidden;

}