/* ============================================================
   FONTS
============================================================ */
@font-face {
    font-family: 'Vazir';
    src: url('../webfonts/Vazir.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazir';
    src: url('../webfonts/Vazir-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('../webfonts/fa-solid-900.woff2') format('woff2'),
         url('../webfonts/fa-solid-900.ttf') format('truetype');
}

/* ============================================================
   VARIABLES
============================================================ */
:root {
    --primary: #0b2b36;
    --secondary: #128b7e;
    --gold: #f3b41b;
    --gold-light: #fde047;
    --text: #1e293b;
    --bg: #f5f7fa;
    --white: #ffffff;
}

/* ============================================================
   RESET & BASE
============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Vazir', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    background: rgba(11, 43, 54, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    max-width: 1400px;
    margin: 0 auto;
}
.logo h2 {
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo p {
    color: #fbbf24;
    font-size: 0.8rem;
    margin-top: 4px;
}
.nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
}
.nav-menu a {
    color: #e0e7ea;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.nav-menu a:hover {
    color: #fbbf24;
    border-bottom-color: #fbbf24;
}
.nav-menu .separator {
    color: #fbbf24;
    margin: 0 10px;
    user-select: none;
    pointer-events: none;
    font-weight: 700;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* ============================================================
   HERO
============================================================ */
#home {
    background: linear-gradient(160deg, #0b2b36 0%, #0d3d3a 50%, #0a2a33 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 150px 0 80px;
}
#home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.bubble-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(0,150,255,0.5));
    box-shadow: 0 0 25px rgba(0,150,255,0.6);
    animation: floatBubble 8s infinite ease-in-out alternate;
    opacity: 0.7;
    filter: blur(0px);
}
.bubble:nth-child(1) { width: 55px; height: 55px; top: 5%; left: 5%; animation-duration: 9s; }
.bubble:nth-child(2) { width: 40px; height: 40px; top: 12%; left: 20%; animation-duration: 7.5s; animation-delay: -1s; }
.bubble:nth-child(3) { width: 65px; height: 65px; top: 8%; right: 10%; animation-duration: 10s; }
.bubble:nth-child(4) { width: 35px; height: 35px; top: 25%; left: 8%; animation-duration: 6s; animation-delay: -2s; }
.bubble:nth-child(5) { width: 50px; height: 50px; bottom: 15%; left: 5%; animation-duration: 11s; }
.bubble:nth-child(6) { width: 45px; height: 45px; top: 20%; right: 25%; animation-duration: 8.5s; animation-delay: -3s; }
.bubble:nth-child(7) { width: 70px; height: 70px; bottom: 10%; right: 5%; animation-duration: 13s; }
.bubble:nth-child(8) { width: 30px; height: 30px; top: 50%; left: 30%; animation-duration: 7s; animation-delay: -4s; }
.bubble:nth-child(9) { width: 60px; height: 60px; top: 40%; right: 8%; animation-duration: 9.5s; }
.bubble:nth-child(10){ width: 38px; height: 38px; bottom: 20%; left: 45%; animation-duration: 7s; animation-delay: -1.5s; }
.bubble:nth-child(11){ width: 55px; height: 55px; top: 70%; left: 10%; animation-duration: 12s; }
.bubble:nth-child(12){ width: 42px; height: 42px; top: 15%; right: 45%; animation-duration: 8s; animation-delay: -2.8s; }
.bubble:nth-child(13){ width: 48px; height: 48px; bottom: 30%; right: 18%; animation-duration: 9s; }
.bubble:nth-child(14){ width: 33px; height: 33px; top: 60%; left: 65%; animation-duration: 6.5s; animation-delay: -0.5s; }
.bubble:nth-child(15){ width: 62px; height: 62px; top: 35%; left: 55%; animation-duration: 10.5s; }
.bubble:nth-child(16){ width: 44px; height: 44px; bottom: 5%; left: 80%; animation-duration: 7.8s; animation-delay: -3.5s; }
.bubble:nth-child(17){ width: 68px; height: 68px; top: 48%; right: 38%; animation-duration: 11.5s; }
.bubble:nth-child(18){ width: 36px; height: 36px; bottom: 45%; left: 22%; animation-duration: 6.2s; animation-delay: -1.2s; }
.bubble:nth-child(19){ width: 52px; height: 52px; top: 80%; left: 42%; animation-duration: 9.8s; }
.bubble:nth-child(20){ width: 40px; height: 40px; top: 5%; left: 75%; animation-duration: 7.2s; animation-delay: -2.2s; }
@keyframes floatBubble {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    50%{ transform: translateY(-30px) scale(1.2); opacity: 0.9; }
    100%{ transform: translateY(0) scale(1); opacity: 0.7; }
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero-title span { color: #fbbf24; }
.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.btn-primary {
    background: #fbbf24;
    color: #0a2a33;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}
.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-3px);
}
.btn-primary i { color: white; }
.hero-image {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(8px);
}
.hero-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 18px;
}

/* ============================================================
   SECTIONS GENERAL
============================================================ */
.section {
    padding: 90px 0;
}
.section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: #0b2b36;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.section-subtitle {
    text-align: center;
    color: #475569;
    max-width: 750px;
    margin: 0 auto 55px;
    font-size: 1.1rem;
    line-height: 2;
}

/* ============================================================
   ICON COLORS
============================================================ */
.section i { color: inherit; }
.feature-icon { color: white !important; }
.spec-card h3 i { color: #fbbf24; }
.capacity-card h3 i { color: var(--secondary); }
#compare i { color: #0b2b36; }
.compare-results i { color: #0b2b36; }
#videos i { color: #fbbf24; }
#gallery i { color: #fbbf24; }
.download-header i { color: var(--secondary); }
.product-name i { color: #0a5c36; }
.invoice-btn i { color: white; }
.faq-num { color: white; }
#faq i { color: var(--secondary); }
#contact i { color: #fbbf24; }
.footer i { color: #fbbf24; }

/* ============================================================
   SWIPER GLOBAL OVERRIDES
============================================================ */
.swiper-pagination-bullet-active { background: var(--secondary); }
.swiper-button-next, .swiper-button-prev { color: var(--secondary); }

/* ============================================================
   FEATURES (Swiper)
============================================================ */
#features {
    background: #ffffff;
}
#features .section-title,
#features .section-subtitle {
    color: #0b2b36;
}
.featuresSwiper {
    padding-bottom: 50px;
    position: relative;  
}
.featuresSwiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}
.feature-item {
    background: #0b2b36;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 24px;
    padding: 22px 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: right;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.feature-item:hover {
    background: #0d3d3a;
    border-color: #fbbf24;
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.2);
    transform: translateY(-5px);
}
.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}
.feature-text {
    color: white;
    font-weight: 500;
    line-height: 1.9;
    flex: 1;
}

/* ============================================================
   SPECS (grid)
============================================================ */
#specs {
    background: radial-gradient(circle at 20% 30%, #ff7b00 0%, #e65c00 50%, #cc4400 100%);
    color: #000;
    position: relative;
    overflow: hidden;
}
#specs .container { position: relative; z-index: 1; }
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 1;
}
.spec-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    padding: 35px 28px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}
.spec-card:hover { transform: translateY(-8px); }
.spec-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #fbbf24, #ffea00);
}
.spec-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.spec-card h3 i { font-size: 2.4rem; }

/* ============================================================
   CAPACITY (grid)
============================================================ */
#capacity {
    background: linear-gradient(180deg, #d0e8ff 0%, #ecf5ff 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.capacity-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.capacity-card {
    background: white;
    border-radius: 30px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(18, 139, 126, 0.25);
    transition: all 0.3s;
}
.capacity-card:hover {
    border-color: #128b7e;
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(18, 139, 126, 0.15);
}
.capacity-card h3 i {
    font-size: 2.2rem;
    vertical-align: middle;
    margin-left: 8px;
}
.capacity-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: #128b7e;
    margin: 18px 0;
}

/* ============================================================
   PRODUCTS (grid)
============================================================ */
.product-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 90px 16px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 30px 0;
}
.product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 2px solid #e8ecef;
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}
.product-card.featured { border: 3px solid #0a5c36; }
.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f0a500;
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    z-index: 2;
}
.product-image {
    width: 100%;
    height: 240px;
    background: #f0f5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #e8ecef;
    overflow: hidden;
}
.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-details {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-name {
    font-size: 18px;
    font-weight: bold;
    color: #0a5c36;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.product-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
}
.specs-table {
    width: 100%;
    font-size: 13px;
    margin-bottom: 15px;
    border-collapse: collapse;
}
.specs-table td {
    padding: 5px 4px;
    border-bottom: 1px dashed #e0e4e8;
    vertical-align: top;
}
.specs-table td:first-child {
    font-weight: bold;
    color: #555;
    width: 40%;
}
.capabilities {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 13px;
}
.capabilities span { color: #0a5c36; }
.price-box {
    background: #f0f5fa;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    margin-top: auto;
}
.price-value {
    font-size: 22px;
    font-weight: bold;
    color: #0a5c36;
    margin: 8px 0;
}
.invoice-btn {
    display: inline-block;
    background: #0a5c36;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.2s;
    text-align: center;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}
.invoice-btn:hover {
    background: #0d7a47;
    box-shadow: 0 4px 12px rgba(10,92,54,0.3);
}

/* ============================================================
   VIDEOS (Swiper)
============================================================ */
#videos {
    background: linear-gradient(160deg, #0e1e28 0%, #162a34 100%);
    color: white;
}
.videosSwiper {
    position: relative;
    padding-bottom: 50px;
    
}
.videosSwiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}
.video-card {
    width: 100%;
    height: auto;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(251,191,36,0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}
.video-card:hover {
    border-color: #fbbf24;
    transform: translateY(-5px);
}
.video-item {
    position: relative;
    padding-bottom: 56.25%;
    background: #0a3741;
}
.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-caption {
    padding: 15px 15px 5px;
    font-weight: 700;
    color: #fbbf24;
    text-align: center;
}
.video-desc {
    padding: 0 15px 20px;
    font-size: 0.9rem;
    color: #a0aec0;
    text-align: center;
    line-height: 1.7;
}

/* ============================================================
   GALLERY + DOWNLOAD
============================================================ */
#gallery {
    background: radial-gradient(circle at 20% 30%, #1a4a5a 0%, #0d3d4a 50%, #0b2b36 100%);
    position: relative;
    overflow: hidden;
}
#gallery .container { position: relative; z-index: 1; }
.gallery-row {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.gallery-img {
    display: block;
    width: 280px;
    height: 210px;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(18, 139, 126, 0.2);
    transition: 0.5s;
    cursor: pointer;
}
.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-img:hover {
    border-color: #fbbf24;
    transform: scale(1.07);
}
.download-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}
.download-card {
    background: white;
    border-radius: 28px;
    padding: 25px 20px;
    text-align: center;
    width: 220px;
    border-top: 5px solid #128b7e;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.download-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.download-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}
.download-header i {
    font-size: 1.8rem;
    transition: transform 0.4s ease;
}
.download-card:hover .download-header i {
    transform: scale(1.15) rotate(-5deg);
}
.download-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #0b2b36;
}
.btn-download {
    background: #0b2b36;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
}
.btn-download:hover {
    background: #128b7e;
    box-shadow: 0 8px 25px rgba(18,139,126,0.35);
    transform: translateY(-2px);
}

/* ============================================================
   COMPARISON
============================================================ */
#compare {
    background: linear-gradient(180deg, #e9f5f2 0%, #ffffff 100%);
}
.compare-card {
    max-width: 960px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    border: 1px solid rgba(18,139,126,0.2);
    overflow: hidden;
}
.compare-table-wrapper { overflow-x: auto; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}
.comparison-table th, .comparison-table td {
    padding: 18px 16px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}
.comparison-table th {
    background: #0b2b36;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}
.comparison-table .highlight {
    background: #128b7e;
    color: white;
}
.bad { color: #dc2626; font-weight: 600; }
.good { color: #059669; font-weight: 700; }
.compare-results {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 28px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 35px;
    color: #0b2b36;
}
.compare-results div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
}

/* ============================================================
   FAQ
============================================================ */
#faq {
    background-color: #fafcfd;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Ctext x='50' y='110' font-size='75' fill='rgba(18,139,126,0.08)' text-anchor='middle' font-family='serif' font-weight='900' transform='rotate(-8,50,110)'%3E?%3C/text%3E%3Ctext x='190' y='90' font-size='65' fill='rgba(18,139,126,0.07)' text-anchor='middle' font-family='serif' font-weight='900' transform='rotate(12,190,90)'%3E?%3C/text%3E%3Ctext x='120' y='230' font-size='72' fill='rgba(18,139,126,0.09)' text-anchor='middle' font-family='serif' font-weight='900' transform='rotate(-5,120,230)'%3E?%3C/text%3E%3Ctext x='260' y='200' font-size='56' fill='rgba(18,139,126,0.06)' text-anchor='middle' font-family='serif' font-weight='900' transform='rotate(18,260,200)'%3E?%3C/text%3E%3Ctext x='20' y='250' font-size='60' fill='rgba(18,139,126,0.07)' text-anchor='middle' font-family='serif' font-weight='900' transform='rotate(-15,20,250)'%3E?%3C/text%3E%3C/svg%3E");
    background-size: 280px 280px;
    background-repeat: repeat;
    position: relative;
}
#faq .container { position: relative; z-index: 1; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
details.faq-item {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04), 0 2px 6px rgba(18,139,126,0.06);
    transition: all 0.45s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(18,139,126,0.1);
    list-style: none;
}
details.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 7px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--secondary));
    border-radius: 0 24px 24px 0;
    z-index: 2;
    transition: width 0.4s;
}
details.faq-item[open]::before {
    width: 10px;
    box-shadow: 0 0 20px rgba(251,191,36,0.5);
}
details.faq-item[open] {
    border-color: rgba(251,191,36,0.4);
    box-shadow: 0 18px 40px rgba(0,0,0,0.1), 0 4px 15px rgba(251,191,36,0.2);
}
details.faq-item>summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 24px 22px 50px;
    position: relative;
    user-select: none;
}
details.faq-item>summary::-webkit-details-marker { display: none; }
.faq-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #128b7e, #0b2b36);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(18,139,126,0.3);
}
.faq-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b2b36;
    flex: 1;
}
.faq-toggle {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(18,139,126,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    pointer-events: none;
}
.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    background: #128b7e;
    border-radius: 2px;
    transition: all 0.4s;
}
.faq-toggle::before { width: 12px; height: 2px; }
.faq-toggle::after { width: 2px; height: 12px; }
details.faq-item[open] .faq-toggle {
    background: rgba(251,191,36,0.2);
    transform: translateY(-50%) rotate(180deg);
}
details.faq-item[open] .faq-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}
.faq-answer-wrapper {
    overflow: hidden;
    padding: 0 24px 0 60px;
    max-height: 0;
    transition: max-height 0.5s ease, padding 0.5s;
}
details.faq-item[open] .faq-answer-wrapper {
    max-height: 600px;
    padding: 0 24px 22px 60px;
}
.faq-answer {
    color: #334155;
    line-height: 2.1;
    font-size: 0.98rem;
    opacity: 0;
    transition: opacity 0.4s;
}
details.faq-item[open] .faq-answer { opacity: 1; }

/* ============================================================
   CONTACT
============================================================ */
#contact {
    background: linear-gradient(160deg, #0b2b36 0%, #0d3d3a 50%, #0a2a33 100%);
    color: white;
    position: relative;
}
#contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(251,191,36,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.contact-header { text-align: center; margin-bottom: 45px; }
.contact-header .section-title { color: white; font-size: 2.8rem; margin-bottom: 12px; }
.contact-hero {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 45px;
}
.contact-divider {
    color: rgba(255,255,255,0.3);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 10px;
}
.phone-hero-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(251,191,36,0.35);
    border-radius: 28px;
    padding: 35px 25px 28px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}
.phone-hero-card:hover {
    transform: translateY(-8px);
    border-color: #fbbf24;
    box-shadow: 0 25px 50px rgba(251,191,36,0.15);
    background: rgba(255,255,255,0.12);
}
.phone-avatar { font-size: 3rem; margin-bottom: 12px; }
.hero-phone {
    display: block;
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    text-decoration: none;
    direction: ltr;
    letter-spacing: 2px;
    line-height: 1.3;
    margin-bottom: 6px;
}
.phone-owner { color: #fbbf24; font-weight: 600; font-size: 1rem; margin-bottom: 16px; }
.quick-channels {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.channel-btn {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}
.channel-btn.bale { background: #25D366; color: white; }
.channel-btn.rubika { background: #FFC107; color: #1a1a1a; }
.channel-btn:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.channel-note {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 600;
    width: 100%;
    margin-top: 8px;
}
.contact-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto 40px;
}
.secondary-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.secondary-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(251,191,36,0.4);
}
.guarantee-card { border-color: rgba(34,197,94,0.4); }
.guarantee-card:hover { border-color: #22c55e; }
.sec-icon { font-size: 2rem; }
.sec-label {
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 6px;
}
.sec-link {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: block;
    direction: ltr;
}
.sec-link:hover { color: #fbbf24; }
.sec-address {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    line-height: 1.7;
}
.sec-map-link {
    display: inline-block;
    margin-top: 8px;
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.sec-map-link:hover { text-decoration: underline; }
.sec-note {
    font-size: 0.8rem;
    color: #22c55e;
    font-weight: 500;
    display: block;
    margin-top: 4px;
}
.map-iframe-container {
    max-width: 900px;
    margin: 30px auto 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.15);
    background: #1e293b;
}
.map-iframe-container iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}
.extra-services {
    text-align: center;
    margin-top: 25px;
    color: #cbd5e1;
    line-height: 2;
}
.tasisat-link {
    display: inline-block;
    margin-top: 8px;
    direction: ltr;
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(251,191,36,0.5);
    border-radius: 30px;
    padding: 6px 25px;
    transition: 0.3s;
}
.tasisat-link:hover { background: #fbbf24; color: #0b2b36; }

/* ============================================================
   FOOTER
============================================================ */

/* ===== FOOTER REDESIGN (اصلاح‌شده) ===== */
.footer {
    background: #071f27;
    color: #cbd5e1;
    padding: 50px 0 30px;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}
.footer-col {
    text-align: center;                 /* همه چی وسط‌چین */
}
.footer-col h4 {
    color: var(--gold);
    margin-bottom: 18px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;            /* آیکون و عنوان وسط */
    gap: 8px;
}

/* ----- ستون برند ----- */
.footer-brand h4 {
    font-size: 1.3rem;                  /* کمی بزرگ‌تر */
}

/* ----- ستون ابزارها و آمار ----- */
.footer-tools .counter-box {
    background: rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;              /* بسته به محتوا */
    width: 100%;
    box-sizing: border-box;
}
.counter-number {
    display: block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0b2b36;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 12px;
    padding: 6px 12px;
    margin-bottom: 5px;
}
.counter-label {
    color: var(--gold);
    font-size: 0.8rem;
}
.tool-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.tool-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.3s;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
}
.tool-link i {
    color: var(--secondary);
    width: 20px;
}
.tool-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--gold);
}

/* ----- ستون زبان ----- */
.lang-switcher {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.lang-switcher a {
    width: 120px;
    padding: 8px 0;
    border: 1px solid rgba(251,191,36,0.6);
    border-radius: 30px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: 0.3s;
}
.lang-switcher a.active {
    background: var(--gold);
    color: #071f27;
    border-color: var(--gold);
    pointer-events: none;
}
.lang-switcher a:hover:not(.active) {
    background: var(--gold);
    color: #071f27;
}

/* ----- ستون اعتماد و شبکه‌ها ----- */
.certs-row img {
    height: 70px;
    width: auto;
    display: block;
    margin: 0 auto 15px;
}
.tech-badges {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 2.5rem;                 /* بزرگ‌تر */
    margin-bottom: 15px;
}
.tech-badges .fa-html5 { color: #E44D26; }
.tech-badges .fa-css3-alt { color: #264de4; }
.tech-badges .fa-js { color: #F7DF1E; }

.aparat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
}
.aparat-link i { color: var(--gold); }
.aparat-link:hover { opacity: 0.8; }

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.social-icon.bale { background: #25D366; }
.social-icon.rubika { background: #FFC107; color: #1a1a1a; }
.social-icon.whatsapp { background: #25D366; }
.social-icon.telegram { background: #0088cc; }
.social-icon.instagram { background: #E1306C; }
.social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ----- ریسپانسیو ----- */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
    .footer-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0a2a33;
        flex-direction: column;
        padding: 25px;
        gap: 18px;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.1);
        align-items: center;
    }
    .nav-menu.active { display: flex; }
    .nav-menu .separator { display: none; }
    .mobile-menu-btn { display: block; }

    .features-grid, .specs-grid, .capacity-cards, .products-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero { grid-template-columns: 1fr; gap: 12px; }
    .contact-secondary { grid-template-columns: 1fr; }
    .hero-phone { font-size: 1.8rem; }
    .contact-header .section-title { font-size: 2rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-row { gap: 18px; }
    .gallery-img { width: 220px; height: 165px; }
    .download-row { gap: 20px; }
    .download-card { width: 100%; max-width: 300px; }

    details.faq-item>summary { padding: 20px 20px 20px 50px; }
    .faq-answer-wrapper { padding: 0 20px 0 50px; }
    details.faq-item[open] .faq-answer-wrapper { padding: 0 20px 20px 50px; }
}

@media (max-width: 600px) {
    .section-title { font-size: 1.8rem; }
    .hero-title { font-size: 2rem; }
    .compare-results { flex-direction: column; text-align: center; }
    .gallery-img { width: 100%; height: 200px; }
    .map-iframe-container iframe { height: 220px; }
     .hero-image img {
        max-width: 100%;
        height: auto;
        display: block;
    }
        .gallery-img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;   /* یا هر نسبت دلخواه */
    }
    .gallery-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
        .product-image {
        height: auto;
        aspect-ratio: 1 / 1;   /* مربع */
    }

    .features-grid, .products-grid { grid-template-columns: 1fr; }
    .product-image { height: 220px; }
    .product-name { font-size: 17px; }
    .price-value { font-size: 20px; }

    details.faq-item>summary { padding: 16px 16px 16px 44px; gap: 10px; }
    .faq-num { min-width: 36px; height: 36px; font-size: 0.9rem; }
    .faq-text { font-size: 1rem; }
    .faq-toggle { left: 14px; width: 26px; height: 26px; }
    .faq-answer-wrapper { padding: 0 16px 0 44px; }
    details.faq-item[open] .faq-answer-wrapper { padding: 0 16px 16px 44px; }
    .download-card { max-width: 100%; }
}

@media (max-width: 550px) {
    .footer-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   SWIPER FIX – جلوگیری از اسکرول افقی و ارتفاع اضافه
============================================================ */
.featuresSwiper,
.videosSwiper {
    position: relative;        /* الزامی برای ناوبری */
    overflow: hidden;          /* اسکرول افقی را قطع می‌کند */
    height: auto;              /* ارتفاع بر اساس محتوا */
    max-width: 100%;           /* از پهنای صفحه خارج نشود */
}

.featuresSwiper .swiper-wrapper,
.videosSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch;      /* اسلایدها هم‌ارتفاع شوند */
}

.featuresSwiper .swiper-slide,
.videosSwiper .swiper-slide {
    height: auto;              /* ارتفاع بر اساس محتوا – نه 100% */
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* برای ویدئوها: iframeها نباید فضای اضافی بگیرند */
.video-item {
    position: relative;
    padding-bottom: 56.25%;    /* نسبت 16:9 */
    height: 0;
    overflow: hidden;
}
.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* body: اسکرول افقی کلاً قطع شود */
body {
    overflow-x: hidden;
    overflow-y: auto;
}
/* ===== Swiper عمومی برای بخش‌های جدید ===== */
.specsSwiper, .capacitySwiper, .gallerySwiper, .productsSwiper, .faqSwiper {
    position: relative;
    overflow: hidden;
    height: auto;
    max-width: 100%;
    padding-bottom: 50px; /* فضای pagination */
}
.specsSwiper .swiper-slide,
.capacitySwiper .swiper-slide,
.gallerySwiper .swiper-slide,
.productsSwiper .swiper-slide,
.faqSwiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}
/* پهنای ۱۰۰٪ برای کارت‌های داخل اسلاید */
.specsSwiper .swiper-slide .spec-card,
.capacitySwiper .swiper-slide .capacity-card,
.productsSwiper .swiper-slide .product-card,
.faqSwiper .swiper-slide .faq-item {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
/* گالری: تصاویر */
.gallerySwiper .swiper-slide .gallery-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
}
.gallerySwiper .swiper-slide .gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* دکمه‌های ناوبری (رنگ‌بندی) */
.specsSwiper .swiper-button-next,
.specsSwiper .swiper-button-prev {
    color: #000; /* روی پس‌زمینه نارنجی مشکی بهتر دیده شود */
}
.capacitySwiper .swiper-button-next,
.capacitySwiper .swiper-button-prev {
    color: var(--secondary);
}
.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    color: #fbbf24;
}
.productsSwiper .swiper-button-next,
.productsSwiper .swiper-button-prev {
    color: var(--secondary);
}
.faqSwiper .swiper-button-next,
.faqSwiper .swiper-button-prev {
    color: var(--secondary);
}
/* ===== ثابت‌سازی ناوبری در FAQ و Products Swiper ===== */
.faqSwiper,
.productsSwiper {
    position: relative;      /* الزامی برای مهار فلش‌ها و نقطه‌ها داخل محدوده */
    padding-bottom: 45px;    /* فضای کافی برای pagination تا روی محتوا نیفتد */
    overflow: hidden;        /* جلوگیری از خروج عناصر */
}

/* در صورت نیاز، فاصلهٔ دکمه‌های ناوبری از لبه */
.faqSwiper .swiper-button-next,
.faqSwiper .swiper-button-prev,
.productsSwiper .swiper-button-next,
.productsSwiper .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
}
.faqSwiper, .productsSwiper {
    position: relative;
    padding-bottom: 55px;  /* فضای نقطه‌ها */
    overflow: hidden;
}
.faqSwiper .swiper-slide, .productsSwiper .swiper-slide {
    height: auto;
}
/* تثبیت نهایی ناوبری در Swiperهای FAQ و Products */
.faqSwiper,
.productsSwiper {
    position: relative !important;
    overflow: hidden !important;
    padding-bottom: 50px !important;
}

.faqSwiper .swiper-pagination,
.productsSwiper .swiper-pagination {
    bottom: 10px !important;
}

.faqSwiper .swiper-button-next,
.faqSwiper .swiper-button-prev,
.productsSwiper .swiper-button-next,
.productsSwiper .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
}
/* سفید کردن عنوان و زیرعنوان در بخش‌های با پس‌زمینه تیره */
#specs .section-title,
#specs .section-subtitle,
#gallery .section-title,
#gallery .section-subtitle,
#videos .section-title,
#videos .section-subtitle {
    color: white !important;
}
.gallerySwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;    /* نسبت تصویر */
    overflow: hidden;
    border-radius: 18px;
    border: 2px solid rgba(18, 139, 126, 0.2);
    transition: 0.5s;
    cursor: pointer;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-img:hover {
    border-color: #fbbf24;
    transform: scale(1.03);
}
/* سفید کردن آیکون‌های سکشن ویدیوها */
#videos i,
.video-caption i {
    color: white;
}

/* سفید کردن آیکون‌های سکشن گالری */
#gallery i {
    color: white;
}

.hero-image a {
    display: block;
    line-height: 0;
}
/* ===== رفع اسکرول افقی در همهٔ دستگاه‌ها ===== */
html, body {
    overflow-x: hidden;
    width: 100%;
}
.swiper {
    max-width: 100vw;
    overflow: hidden;
}
.videosSwiper {
    overflow: hidden !important;
    
    /* ===== FOOTER REDESIGN ===== */
.footer {
    background: #071f27;
    color: #cbd5e1;
    padding: 50px 0 30px;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}
.footer-col h4 {
    color: var(--gold);
    margin-bottom: 18px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ستون برند */
.footer-brand .footer-tagline {
    color: #fbbf24;
    font-weight: 500;
    margin-bottom: 10px;
}
.footer-copy {
    color: #a0aec0;
    font-size: 0.8rem;
}

/* ستون ابزارها و آمار */
.footer-tools .counter-box {
    background: rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}
.counter-number {
    display: block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0b2b36;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 12px;
    padding: 6px 12px;
    margin-bottom: 5px;
}
.counter-label {
    color: var(--gold);
    font-size: 0.8rem;
}
.tool-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tool-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.3s;
}
.tool-link i {
    color: var(--secondary);
    width: 20px;
}
.tool-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--gold);
}

/* ستون زبان */
.lang-switcher {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lang-switcher a {
    width: 120px;
    padding: 8px 0;
    border: 1px solid rgba(251,191,36,0.6);
    border-radius: 30px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: 0.3s;
}
.lang-switcher a.active {
    background: var(--gold);
    color: #071f27;
    border-color: var(--gold);
    pointer-events: none;
}
.lang-switcher a:hover:not(.active) {
    background: var(--gold);
    color: #071f27;
}

/* ستون اعتماد و شبکه‌ها */
.certs-row img {
    height: 70px;
    width: auto;
    display: block;
    margin: 0 auto 15px;
}
.tech-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 2rem;
    margin-bottom: 15px;
}
.tech-badges .fa-html5 { color: #E44D26; }
.tech-badges .fa-css3-alt { color: #264de4; }
.tech-badges .fa-js { color: #F7DF1E; }

.aparat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
}
.aparat-link i { color: var(--gold); }
.aparat-link:hover { opacity: 0.8; }

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.social-icon.bale { background: #25D366; }
.social-icon.rubika { background: #FFC107; color: #1a1a1a; }
.social-icon.whatsapp { background: #25D366; }
.social-icon.telegram { background: #0088cc; }
.social-icon.instagram { background: #E1306C; }
.social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ریسپانسیو */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
    .footer-grid { grid-template-columns: 1fr; }
}
}