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

header{
    height: 90px;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: .3s;
}

header.scrolled{
    background: #fff;
    backdrop-filter: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

body {
    font-family:"vazirmatn", sans-serif;
    padding-top: 0px;
    background-color:#e9f1f8;
}
nav {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: linear-gradient(to bottom, #0d2d6c 0%, #6f8fb3 35%, #e9f1f8 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px) ;
}

.logo h2 {
    font-size: 1.8rem;
}

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

.nav-links li{
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
}

header.scrolled.nav-links a {
    color: var(--dark);
}

.nav-links a:hover {
    color: #0077cc;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 80px 50px;
}

.about-section{
    max-width: 1100px;
    margin: 0 auto;
    padding: 130px 50px 60px;
}

.hero-categories{
    padding-bottom: 20px;
}

.hero-categories-inner{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 40px;
    padding: 60px 50px;
}

.hero-box{
    flex: 2 1 400px;
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-image: url("images/shop.png");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 45px 30px;
}

.hero-box::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
}

.hero-content{
    position: relative;
    z-index: 2;
    max-width: 85%;
    text-align: center;
}

.hero-call{
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1{
    font-size: 26px;
    color: #fff;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

.hero-content p{
    color: #fff;
    font-size: 16px;
    line-height: 1.9;
}

.hero-call-text{
    color: #fff;
    font-size: 15px;
    margin-bottom: 14px;
}

.hero-call-buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-call-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 220px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: .25s;
    background: rgba(255,255,255,.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-call-btn:hover{
    transform: translateY(-3px);
    background: rgba(255,255,255,.3);
}

.categories-box{
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.categories-box .categories{
    flex-direction: column;
}

.categories-box .category-card{
    aspect-ratio: 2 / 1;
    height: auto;
}

footer {
    background-color: #1f1f1f;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-bottom{
    text-align:center;

    padding:7px;

    border-top:1px solid #444;
}

#product-categories{
    padding:80px 40px;
    text-align:center;
}

#product-categories h2{
    text-align:center;
    margin-bottom:40px;
}

.categories{
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
}

.category-card{ 
    width:330px;
    height: 200px;
    background:#fff;
    border-radius:20px;
    overflow: hidden;
    position: relative;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    transition: .3s;
}
.category-card:hover{
    transform:translateY(-5px);

    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.category-card p{
    margin-top:15px;

    color:#666;

    line-height:1.8;
}

.dropdown{
    position: relative;
}

.dropdown-menu{
    position: absolute;

    top: 100%;
    right: 0;

    list-style: none;

    background: white;

    min-width: 180px;

    display: none;

    border: 1px solid #ddd;
}

.dropdown-menu li{
    padding: 12px;
}

.dropdown:hover .dropdown-menu{
    display: block;
}

:root{
    --primary:#0d2d6c;
    --secondary:#e31e2f;
    --dark:#1f1f1f;
    --light:#f8f9fa;
    --border:#e5e5e5;
}
section h2{
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}
footer{
    background:#0d2d6c;
    color:white;
    border-radius: 28px 28px 0 0;
    margin: 0 15px;
    overflow: hidden;
}

.footer-container{
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.6fr;
    gap: 35px;
    padding: 45px 60px;
    align-items: center;
}

.footer-addresses{
    display: flex;
    gap: 20px;
}

.branch{
    flex: 1;
}

.branch-map{
    width: 100%;
    height: 190px;
    border: none;
    border-radius: 10px;
    margin-bottom: 8px;
    display: block;
}

.branch p{
    line-height: 1.7;
    font-size: 13px;
}

.footer-company,
.footer-links,
.footer-addresses{
    flex:1;
}

.footer-company img{
    width: auto;
    height: 116px;
    margin-bottom:20px;
}

.footer-company p{
    line-height:2;
}

.footer-links h3,
.branch h3{
    margin-bottom:15px;
}

.footer-links ul{
    display:block;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:white;
}



.footer-bottom{
    text-align:center;
    padding:10px;
    border-top:1px solid rgba(255,255,255,.2);
}

#backToTop{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border:none;
    border-radius:50%;
    background: white;
    color: #0d2d6c;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: opacity .3s, visibility .3s;
    opacity: 0;
    visibility: hidden;
   
}

#backToTop:hover{
    background: #0d2d6c;
    color: white;
    transform: translateY(-3px);
}
.logo{
    height: 140%;
    display: flex;
    align-items: center;
}
.logo img{
    height: 100%;
    max-height: 60px;
    width: auto;
}

.nav-phone{
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 16px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
    transition: .25s;
    position: relative;
}

.nav-phone::before{
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,.5);
    animation: navPhonePulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes navPhonePulse{
    0%{
        transform: scale(1);
        opacity: .7;
    }
    100%{
        transform: scale(1.18);
        opacity: 0;
    }
}

.nav-phone svg{
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.nav-phone:hover{
    transform: translateY(-2px);
    background: rgba(255,255,255,.3);
    box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.logo span{
    font-size: 1.4rem;
    font-weight: 700;
    color:#0d2d6c
}
.features{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}
.feature{
    width: 250px;
    height: 250px;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature::before{
    content:"";
    position: absolute;
    inset:0;
    background: rgba(0, 0, 0,.15);
}
.feature h3{
    position:absolute;
    top:20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    width: 90%;
    text-align: center;
    font-size: 24px;
    z-index:2;
}

.feature p{
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    text-align: center;
    color: #fff;
    line-height: 1.8;
    z-index:2;
}
.price{
    background-image:url(images/price.png);
}

.standard{
    background-image:url(images/standard.png);
}

.shipping{
    background-image:url(images/fast-delivery.png);
}

.warehouse{
    background-image:url(images/store.png);
}

#why-us{
    padding: 80px 40px;
    text-align: center;
     padding-top: 20px;
}

#why-us h2{
    font-size: 38px;
    color: #0D2D6C;
    margin-bottom: 50px;
    font-weight: 700;
}


.category-card:hover{
    transform:translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0,.18);
}

.category-card h3{
    color:#0D2D6C;
    font-size:28px;
    margin-bottom:15px;
}

.category-card p{
    color:#666;
    line-height:1.8;
}


#product-categories h2{
    font-size:38px;
    color:#0D2D6C;
    margin-bottom:20px;
}

.category-card::before{

    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.35);

}

.overlay{

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    z-index: 2;

    color: white;

    text-align: center;

    padding: 20px;

}

.overlay h3{
    color: #fff;
    font-size: 32px;

    margin-bottom: 12px;

    font-weight: 700;

}

.overlay p{

    font-size: 16px;

    line-height: 1.8;
}

.wire{
    background-image: url("images/wire.jpg");
}

.cable{
    background-image: url("images/cable.jpeg");
}

.blog-post{
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 30px;
    padding-top: 130px;
}

.blog-post h1{
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

.blog-post .post-date{
    display: block;
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-bottom: 30px;
}

[data-theme="dark"] .blog-post .post-date{
    color: #7a7f8a;
}

.blog-post h2{
    font-size: 24px;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 15px;
}

.blog-post h3{
    font-size: 19px;
    color: var(--secondary);
    margin-top: 25px;
    margin-bottom: 10px;
}

.blog-post p{
    line-height: 2;
    color: #333;
    margin-bottom: 15px;
}

.blog-post ul{
    padding-right: 25px;
    margin-bottom: 20px;
}

.blog-post li{
    line-height: 2;
    margin-bottom: 8px;
}

.mega-dropdown{
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
    padding: 10px;
    gap: 6px;
    z-index: 1001;
}

.dropdown:hover .mega-dropdown{
    display: flex;
}

.dropdown.open .mega-dropdown{
    display: flex;
}

.mega-item{
    min-width: 140px;
    text-align: center;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    color: var(--primary);
    background: #F4F6FA;
    transition: .2s;
}

.mega-item:hover{
    background: var(--primary);
    color: #fff;
}

.blog-list-section{
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px;
    padding-top: 130px;
    text-align: center;
}

.blog-list-intro{
    color: #666;
    margin-bottom: 40px;
}

.blog-list{
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: right;
}

.blog-card{
    flex: 1 1 300px;
    max-width: 340px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    transition: .3s;
}

.blog-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.blog-card img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.blog-card-body{
    padding: 20px;
}

.blog-card-body h2{
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
    text-align: right;
}

.blog-card-body .post-date{
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

[data-theme="dark"] .blog-card-body .post-date{
    color: #7a7f8a;
}

.blog-card-body p{
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.read-more{
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
}

.blog-post-image{
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}

.blog-post hr{
    border: none;
    border-top: 1px solid var(--border);
    margin: 30px 0;
}

.back-to-blog{
    display: inline-block;
    margin-top: 30px;
    color: var(--secondary);
    font-weight: 600;
}
/* ===== ریسپانسیو - تبلت و موبایل بزرگ (تا 900px) ===== */
@media (max-width: 900px){
    nav{
        padding: 15px 25px;
    }

    .nav-links{
        gap: 18px;
        font-size: 14px;
    }

    section{
        padding: 50px 25px;
    }

    .hero-content h1{
        font-size: 22px;
    }

    .hero-box{
        min-height: 400px;
        padding: 35px 25px;
        gap: 22px;
    }

    .hero-content p{
        font-size: 14px;
    }

    .hero-call-text{
        font-size: 13px;
    }

    .hero-call-btn{
        font-size: 13px;
        padding: 8px 18px;
        width: 180px;
    }

    .footer-container{
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 35px;
        align-items: start;
    }

    .footer-addresses{
        flex-direction: column;
    }
}

/* ===== ریسپانسیو - موبایل (تا 600px) ===== */
@media (max-width: 600px){
    nav{
        padding: 12px 15px;
    }

    .logo img{
        max-width: 110px;
    }

    .nav-links{
        gap: 12px;
        font-size: 13px;
    }

    .nav-phone{
        padding: 8px;
        margin-right: 8px;
        border-radius: 50%;
    }

    .nav-phone::before{
        border-radius: 50%;
    }

    .nav-phone span{
        display: none;
    }

    body{
        padding-top: 70px;
    }

    header, nav{
        height: 65px;
    }

    .hero-categories-inner{
        padding: 30px 15px;
        gap: 20px;
    }

    .hero-box{
        min-height: 380px;
        padding: 30px 20px;
        gap: 20px;
    }

    .hero-content h1{
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .hero-content p{
        font-size: 13px;
        line-height: 1.7;
    }

    .hero-call-text{
        font-size: 12px;
        margin-bottom: 10px;
    }

    .hero-call-buttons{
        gap: 8px;
    }

    .hero-call-btn{
        font-size: 12px;
        padding: 7px 14px;
        width: 160px;
    }

    .categories-box .category-card{
        aspect-ratio: 3 / 1;
    }

    .overlay h3{
        font-size: 22px;
    }

    #why-us h2,
    #product-categories h2{
        font-size: 26px;
    }

    .features{
        gap: 15px;
    }

    .feature{
        width: 45%;
        height: 160px;
    }

    .feature h3{
        font-size: 16px;
    }

    .feature p{
        font-size: 12px;
    }

    .mega-dropdown{
        right: -20px;
    }

    .footer-container{
        padding: 30px 20px;
    }

    .footer-company img{
        height: 92px;
        width: auto;
    }

    #backToTop{
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }

    .blog-list,
    .contact-branches{
        gap: 20px;
    }
}

.price-section{
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 30px;
    padding-top: 120px;
}

div[id$="-container"]{
    columns: 3;
    column-gap: 20px;
}

.price-category{
    break-inside: avoid;
}

@media (max-width: 900px){
    div[id$="-container"]{
        columns: 2;
    }
}

@media (max-width: 600px){
    div[id$="-container"]{
        columns: 1;
    }
}

.price-section h1{
    text-align: center;
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 8px;
}

.last-updated{
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-bottom: 35px;
}

.price-category{
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0,0,0,.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.price-banner{
    width: 100%;
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, #1c1c1c, #2e2e2e);
    background-size: cover;
    background-position: center;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    position: relative;
}

.price-banner::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}

.price-banner-title,
.price-banner .price-category-icon{
    position: relative;
    z-index: 2;
}

/* ============  کد رو عوض کنید. */

#cable-container .price-category:nth-child(1) .price-banner{
    background-image: url('images/cable-2.jpeg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل افشان 2 رشته */
}
#cable-container .price-category:nth-child(2) .price-banner{
    background-image: url('images/cable-3.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل افشان 3 رشته */
}
#cable-container .price-category:nth-child(3) .price-banner{
    background-image: url('images/cable-4.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل افشان 4 رشته */
}
#cable-container .price-category:nth-child(4) .price-banner{
    background-image: url('images/cable-5.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل افشان 5 رشته */
}
#cable-container .price-category:nth-child(5) .price-banner{
    background-image: url('images/cable-6.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل افشان 6 رشته */
}
#cable-container .price-category:nth-child(6) .price-banner{
    background-image: url('images/cable-7.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل افشان 7 رشته */
}
#cable-container .price-category:nth-child(7) .price-banner{
    background-image: url('images/cable-shield.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل شیلددار */
}
#cable-container .price-category:nth-child(8) .price-banner{
    background-image: url('images/cable-mf.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل مفتول */
}
#cable-container .price-category:nth-child(9) .price-banner{
    background-image: url('images/cable-cooler.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل کولری */
}
#cable-container .price-category:nth-child(10) .price-banner{
    background-image: url('images/cable-air.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل مخابراتی هوایی */
}
#cable-container .price-category:nth-child(11) .price-banner{
    background-image: url('images/cable-gr.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل مخابراتی زمینی */
}
#cable-container .price-category:nth-child(12) .price-banner{
    background-image: url('images/cable-anten.jpg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* کابل آنتن */
}

/* ============ عکس بنر هر دسته - صفحه سیم ============ */

#wire-container .price-category:nth-child(1) .price-banner{
    background-image: url('images/sim-afshan.jpeg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* سیم افشان */
}
#wire-container .price-category:nth-child(2) .price-banner{
    background-image: url('images/sim-nayloni.jpeg'), linear-gradient(135deg, #1c1c1c, #2e2e2e); /* سیم نایلونی - بند تخت */
}

.price-banner-title{
    font-size: 17px;
    font-weight: 700;
}

.price-category-icon{
    transition: transform .3s;
    font-size: 20px;
}

.price-category.active .price-category-icon{
    transform: rotate(180deg);
}

.price-category-body{
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.price-category.active .price-category-body{
    max-height: 4000px;
}

.price-list{
    padding: 10px 20px;
}

.price-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5px;
    border-bottom: 1px solid var(--border);
}

.price-row:last-child{
    border-bottom: none;
}

.price-row-name{
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.price-row-value{
    color: var(--secondary);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.price-row-value small{
    font-weight: 400;
    color: #888;
    font-size: 12px;
}

.about-quote{
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.8;
    margin: 45px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(13,45,108,.06), rgba(227,30,47,.06));
    border-radius: 16px;
    position: relative;
}

.about-values{
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.value-card{
    flex: 1 1 200px;
    max-width: 240px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,.06);
    transition: .3s;
}

.value-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.partners-section{
    background: var(--primary, #0d2d6c);
    border-radius: 20px;
    padding: 45px 25px;
    margin-top: 50px;
    text-align: center;
}

.partners-section h2{
    color: #fff;
    font-size: 20px;
    margin-bottom: 30px;
}

.partners-grid{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.partner-logo{
    background: #fff;
    border-radius: 10px;
    padding: 18px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75px;
}

.partner-logo img{
    max-width: 100%;
    max-height: 38px;
    object-fit: contain;
}

@media (max-width: 900px){
    .partners-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px){
    .partners-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-icon{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 18px;
}

.value-card h3{
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 10px;
}

.value-card p{
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.footer-social{
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.social-icon{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: .25s;
}

.social-icon.instagram,
.social-icon.whatsapp,
.social-icon.telegram{
    background: var(--primary, #0d2d6c);
    border: none;
}

.social-icon svg{
    width: 20px;
    height: 20px;
}

.social-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.social-icon:hover{
    transform: translateY(-4px);
    filter: brightness(1.1);
}
.contact-section{
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px;
    padding-top: 120px;
    text-align: center;
}

.contact-intro{
    color: #666;
    margin-bottom: 35px;
    line-height: 2;
}

.contact-layout{
    display: flex;
    gap: 30px;
    text-align: right;
    align-items: flex-start;
}

.contact-info-col{
    flex: 1.3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-branch{
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
}

.contact-branch h2{
    background: var(--primary);
    color: #fff;
    padding: 12px 18px;
    font-size: 16px;
}

.contact-branch iframe{
    width: 100%;
    display: block;
}

.contact-info{
    padding: 14px 18px;
}

.contact-address{
    color: #444;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-phone{
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 800px){
    .contact-layout{
        flex-direction: column;
    }
}

.contact-form{
    flex: 1;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 3px 15px rgba(0,0,0,.06);
}

@media (max-width: 800px){
    .contact-form{
        max-width: 100%;
    }
}

.form-row{
    display: flex;
    gap: 15px;
}

.form-group{
    flex: 1;
    margin-bottom: 18px;
    text-align: right;
}

.form-group label{
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

.form-group input,
.form-group textarea{
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus{
    outline: none;
    border-color: var(--primary);
}

.form-submit{
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.form-submit:hover{
    background: #c5192a;
}

.form-alt-contact{
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #666;
}

.form-alt-contact a{
    color: var(--secondary);
    font-weight: 600;
}

@media (max-width: 600px){
    .form-row{
        flex-direction: column;
        gap: 0;
    }
}

/* ============ دکمه‌ی تغییر حالت ============ */
.theme-toggle{
    background: rgba(255,255,255,.2);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    padding: 0;
}

.theme-toggle svg{
    width: 17px;
    height: 17px;
}

.theme-toggle .icon-moon{
    color: #000;
    display: flex;
}

.theme-toggle .icon-sun{
    color: #fff;
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon{
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun{
    display: flex;
}

.theme-toggle:hover{
    background: rgba(255,255,255,.35);
}

header.scrolled .theme-toggle{
    background: rgba(0,0,0,.06);
}

header.scrolled .theme-toggle:hover{
    background: rgba(0,0,0,.12);
}

/* ============ حالت تاریک (Dark Mode) ============ */
[data-theme="dark"] body{
    background-color: #243866;
    color: #d8dadd;
}

[data-theme="dark"] nav{
    background: linear-gradient(to bottom, #000000 0%, #0f1a30 35%, #243866 100%);
}

[data-theme="dark"] header.scrolled nav{
    background: linear-gradient(to bottom, #000000 0%, #0f1a30 35%, #243866 100%);
}

[data-theme="dark"] .nav-links a,
[data-theme="dark"] header.scrolled .nav-links a{
    color: #e5e5e5;
}

[data-theme="dark"] .mega-dropdown{
    background: #1e2026;
    box-shadow: 0 15px 35px rgba(0,0,0,.5);
}

[data-theme="dark"] .mega-item{
    background: #262932;
    color: #cfd3da;
}

[data-theme="dark"] .mega-item:hover{
    background: var(--primary);
    color: #fff;
}

[data-theme="dark"] #why-us h2,
[data-theme="dark"] #product-categories h2,
[data-theme="dark"] .about-section h1,
[data-theme="dark"] .price-section h1,
[data-theme="dark"] .blog-list-section h1,
[data-theme="dark"] .contact-section h1,
[data-theme="dark"] .blog-post h1,
[data-theme="dark"] .blog-post h2,
[data-theme="dark"] .blog-card-body h2,
[data-theme="dark"] .value-card h3{
    color: #9db4e8;
}

[data-theme="dark"] .price-category,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .contact-branch,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .about-quote{
    background: #1e2026;
    box-shadow: 0 3px 12px rgba(0,0,0,.4);
}

[data-theme="dark"] .price-row{
    border-bottom-color: #33363d;
}

[data-theme="dark"] .price-row-name{
    color: #d8dadd;
}

[data-theme="dark"] .blog-card-body p,
[data-theme="dark"] .value-card p,
[data-theme="dark"] .about-section p,
[data-theme="dark"] .blog-post p,
[data-theme="dark"] .blog-list-intro,
[data-theme="dark"] .contact-intro,
[data-theme="dark"] .contact-address,
[data-theme="dark"] .last-updated{
    color: #aeb2ba;
}

[data-theme="dark"] .form-group label{
    color: #cfd3da;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea{
    background: #14161b;
    border-color: #33363d;
    color: #e5e5e5;
}

[data-theme="dark"] #backToTop{
    background: #1e2026;
    color: #fff;
}

/* ============ انیمیشن ظاهر شدن موقع اسکرول ============ */
.reveal{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.active{
    opacity: 1;
    transform: translateY(0);
}

/* ============ آیکون‌های اینلاین (جایگزین ایموجی) ============ */
.inline-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    margin-left: 6px;
}

.inline-icon svg{
    width: 100%;
    height: 100%;
}

/* ============ دکمه شناور واتساپ ============ */
#floatWhatsapp{
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 9999;
    transition: transform .3s;
}

#floatWhatsapp:hover{
    transform: translateY(-3px) scale(1.05);
}

#floatWhatsapp svg{
    width: 28px;
    height: 28px;
    fill: #fff;
}

@media (max-width:600px){
    #floatWhatsapp{
        width: 48px;
        height: 48px;
        bottom: 20px;
        left: 20px;
    }
    #floatWhatsapp svg{
        width: 24px;
        height: 24px;
    }
}

/* ============ بخش نظرات مشتریان ============ */
#testimonials{
    padding: 70px 8%;
    background: var(--light);
    text-align: center;
}

[data-theme="dark"] #testimonials{
    background: #14161b;
}

#testimonials h2{
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 40px;
}

[data-theme="dark"] #testimonials h2{
    color: #9db4e8;
}

.testimonial-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card{
    background: #fff;
    border-radius: 14px;
    padding: 30px 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,.06);
    text-align: right;
}

[data-theme="dark"] .testimonial-card{
    background: #1e2026;
    box-shadow: 0 3px 12px rgba(0,0,0,.4);
}

.testimonial-stars{
    color: #f5a623;
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-card p{
    color: #444;
    line-height: 1.9;
    margin-bottom: 18px;
}

[data-theme="dark"] .testimonial-card p{
    color: #aeb2ba;
}

.testimonial-author{
    font-weight: 700;
    color: var(--primary);
}

[data-theme="dark"] .testimonial-author{
    color: #9db4e8;
}

.testimonial-role{
    display: block;
    font-weight: 400;
    font-size: .85rem;
    color: #888;
    margin-top: 3px;
}

@media (max-width:900px){
    .testimonial-grid{
        grid-template-columns: 1fr;
    }
}

#partners-home{
    padding: 10px 50px 70px;
}

#partners-home .partners-section{
    margin-top: 0;
}

@media (max-width: 900px){
    #partners-home{
        padding: 10px 25px 50px;
    }
}
