/* --- CSS Variables --- */
:root {
    --primary: #0265DC;
    --primary-light: #4A90E2;
    --secondary: #0A192F;
    --accent: #00D1B2;
    --bg-main: #FAFCFF;
    --bg-light: #F0F4F8;
    --text-main: #334155;
    --text-muted: #64748B;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    
    --shadow-soft: 0 15px 35px -10px rgba(2, 101, 220, 0.08);
    --shadow-hover: 0 25px 45px -10px rgba(2, 101, 220, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'dana', sans-serif, Tahoma;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 320px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-family: 'dana', sans-serif, Tahoma;
    color: var(--secondary);
    line-height: 1.2;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1440px; 
    margin: 0 auto;
    padding: 0 5%;
}

.container-fluid {
    width: 100%;
    margin: 0 auto;
}

.section-padding {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

.text-white { color: #fff !important; }
.text-white-50 { color: rgba(255,255,255,0.7) !important; }

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

/* --- Typography & Badges --- */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(2, 101, 220, 0.08);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(2, 101, 220, 0.15);
}

/* --- Buttons with Shine Effect --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: inherit;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(2, 101, 220, 0.25);
}

.btn-primary:hover {
    background: #0250b3;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(2, 101, 220, 0.35);
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid #E2E8F0;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--bg-light);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* --- Navbar --- */
.glass-nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(2, 101, 220, 0.16);
    background: white;
    padding: 4px;
}

.logo-text h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin: 0;
}

.logo-text span {
    color: var(--primary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: rgba(2, 101, 220, 0.08);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
    display: block;
    padding: 8px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
    width: 100%;
}
.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -150px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(2, 101, 220, 0.06) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 550px;
}

.image-card {
    position: absolute;
    background: white;
    padding: 12px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.5);
}

.main-img {
    width: 100%;
    height: 450px;
    top: 0;
    right: 0;
    z-index: 1;
}

.float-img {
    width: 280px;
    height: 220px;
    bottom: 30px;
    left: -60px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.placeholder-img i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- Stats Section --- */
.stats {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.6);
}

.stat-box {
    text-align: center;
    flex: 1;
    border-right: 1px solid #E2E8F0;
}
.stat-box:last-child { border: none; }

.stat-box h3 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- Animated Brands Marquee --- */
.bg-light { background-color: var(--bg-light); }

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 30px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 100px;
    padding-right: 100px;
    animation: marqueeScroll 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    opacity: 0.7;
    transition: var(--transition);
    cursor: default;
}

.brand-logo img {
    max-height: 70px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(60%);
    opacity: 0.8;
    transition: var(--transition);
}

.brand-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.03);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Ultra Modern Categories Section --- */
.section-header {
    margin-bottom: 60px;
}
.section-header h2 { font-size: 2.8rem; margin-bottom: 15px; }

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* استایل باکس‌های اصلی - کوچک‌تر و ظریف‌تر */
.cat-card-img {
    flex: 0 1 230px; /* عرض ثابت و کوچک‌تر برای باکس‌ها */
    background: #ffffff;
    border-radius: 28px; /* گوشه‌های بسیار نرم و گرد برای باکس */
    padding: 35px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center; /* وسط‌چین کردن تمام محتوا */
    text-decoration: none;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* افکت شناور شدن کل باکس */
.cat-card-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(2, 101, 220, 0.12);
    border-color: var(--primary-light);
}

/* استایل تصاویر - کاملا گرد و لوکس */
.cat-img-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* این کد عکس را کاملا دایره‌ای می‌کند */
    background: var(--bg-light);
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* سایه ملایم برای خود عکس */
    border: 4px solid #ffffff; /* یک حاشیه سفید تمیز دور عکس */
    transition: all 0.4s ease;
    overflow: hidden; /* جلوگیری از بیرون زدن عکس */
    z-index: 2;
}

.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* افکت‌ها در حالت هاور */
.cat-card-img:hover .cat-img-wrap {
    box-shadow: 0 12px 25px rgba(2, 101, 220, 0.25); /* سایه آبی‌رنگ جذاب دور عکس */
}

.cat-card-img:hover .cat-img-wrap img {
    transform: scale(1.15); /* زوم ملایم عکس */
}

/* استایل عنوان دسته‌بندی */
.cat-card-img h4 {
    margin: 0;
    text-align: center;
    font-size: 1.15rem; /* سایز فونت ظریف‌تر */
    color: var(--secondary);
    font-weight: 700;
    transition: color 0.3s ease;
    z-index: 2;
}

.cat-card-img:hover h4 {
    color: var(--primary);
}

/* استایل فلش متحرک (به جای کنار، حالا در پایین ظاهر می‌شود) */
.cat-card-img .arrow {
    position: absolute;
    bottom: -20px; /* مخفی در حالت عادی */
    font-size: 1.2rem;
    color: var(--primary);
    opacity: 0;
    transition: all 0.4s ease;
}

.cat-card-img:hover .arrow {
    opacity: 1;
    bottom: 20px; /* حرکت به سمت بالا در حالت هاور */
}

/* پس‌زمینه محو آبی‌رنگ هنگام هاور برای زیبایی بیشتر */
.cat-card-img::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(2, 101, 220, 0.04), transparent);
    transition: height 0.4s ease;
    z-index: 1;
}

.cat-card-img:hover::before {
    height: 50%;
}

/* --- تنظیمات ریسپانسیو اختصاصی برای این بخش --- */
@media (max-width: 992px) {
    .cat-card-img {
        flex: 0 1 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .cat-card-img {
        flex: 0 1 calc(50% - 15px); /* در موبایل ۲ تا در هر ردیف نمایش می‌دهد */
        padding: 25px 15px !important;
    }
    .cat-img-wrap {
        width: 90px;
        height: 90px;
    }
    .cat-card-img h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cat-card-img {
        flex: 0 1 100%; /* در گوشی‌های خیلی کوچک ۱ دانه در هر ردیف */
    }
}

/* --- NEW: Bento Grid "Why Choose Us" --- */
.bento-section {
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    grid-auto-rows: minmax(300px, auto);
}

.bento-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.6);
    transition: var(--transition);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.bento-large {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-medium {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dark-card {
    background: linear-gradient(135deg, var(--secondary), #1A365D);
    color: white;
}

.bento-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.bento-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.bento-list {
    display: flex;
    gap: 20px;
}

.bento-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.bento-list i {
    color: var(--accent);
    font-size: 1.2rem;
}

.bento-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 12rem;
    color: var(--bg-light);
    opacity: 0.5;
    z-index: 0;
}

.bento-content {
    position: relative;
    z-index: 1;
}

.bento-icon-small {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.dark-card .bento-icon-small {
    background: rgba(255,255,255,0.1);
}

.bento-medium h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- NEW: Testimonials Section --- */
.testimonials-section {
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 4rem;
    color: var(--bg-light);
    opacity: 0.8;
}

.stars {
    color: #F59E0B;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.review-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-main);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bg-light), #E2E8F0);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.reviewer-info h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.reviewer-info span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Partner Section --- */
.partner-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

.partner-card {
    background: linear-gradient(135deg, rgba(2, 101, 220, 0.06), rgba(0, 209, 178, 0.08));
    border: 1px solid rgba(2, 101, 220, 0.14);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.partner-card h2 {
    font-size: 2.5rem;
    margin: 16px 0 20px;
}

.partner-card p {
    color: var(--text-muted);
    font-size: 1.08rem;
    max-width: 800px;
    margin: 0 auto 16px;
    line-height: 1.8;
}

.partner-card .btn {
    margin-top: 12px;
}

/* --- Contact Page --- */
.contact-page {
    padding-top: 140px;
    padding-bottom: 120px;
}

.contact-hero {
    background: linear-gradient(135deg, rgba(2, 101, 220, 0.08), rgba(0, 209, 178, 0.08));
    border: 1px solid rgba(2, 101, 220, 0.12);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.contact-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

.contact-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #E2E8F0;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-main);
    line-height: 1.7;
}

.contact-item i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--primary);
    font-weight: 600;
}

.contact-map {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-hover);
}

.contact-map h3 {
    color: white;
    margin-bottom: 14px;
}

.contact-map p {
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

/* --- Footer --- */
.footer {
    background: #050E1D;
    color: white;
    padding-top: 80px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer .logo-text h2 { color: white; }
.footer .logo-text span { color: var(--primary-light); }
.footer-brand p { margin: 20px 0; color: #94A3B8; }

.footer-contact h4 { margin-bottom: 25px; font-size: 1.3rem; color: white; }
.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94A3B8;
}
.footer-contact i { color: var(--primary-light); }

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748B;
    font-size: 0.9rem;
}

/* --- About Page --- */
.about-page {
    padding-top: 140px;
    padding-bottom: 120px;
}

.about-hero {
    background: linear-gradient(135deg, rgba(2, 101, 220, 0.08), rgba(0, 209, 178, 0.08));
    border: 1px solid rgba(2, 101, 220, 0.12);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 900px;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
}

.about-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #E2E8F0;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.about-card p,
.about-card li {
    color: var(--text-main);
    line-height: 1.8;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.about-list i {
    color: var(--primary);
    margin-top: 6px;
}

.about-quote {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
}

.about-quote h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.about-quote p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- About & Why Choose Us Section --- */
.about-why-section {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 60px;
    margin-bottom: 80px;
    border: 1px solid rgba(2, 101, 220, 0.1);
    position: relative;
    overflow: hidden;
}

.aw-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.aw-image .building-ph {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, var(--bg-light), #E2E8F0);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.03);
    border: 1px solid #E2E8F0;
}

.aw-image .building-ph i {
    font-size: 4rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.aw-heading {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.aw-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
    margin-bottom: 25px;
}

.aw-about p {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.8;
}

.mt-4 {
    margin-top: 1.5rem;
}

.aw-why {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 1rem;
}

.check-icon {
    min-width: 28px;
    height: 28px;
    background: rgba(2, 101, 220, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    border: 1px solid rgba(2, 101, 220, 0.2);
}

.map-bg-icon {
    position: absolute;
    right: -30px;
    bottom: -30px;
    font-size: 18rem;
    color: var(--bg-light);
    opacity: 0.6;
    z-index: -1;
    transform: rotate(-15deg);
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bento-large { grid-column: 1 / 3; }
    
    .aw-layout {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .aw-image {
        grid-column: 1 / 3;
    }
    .aw-image .building-ph {
        height: 300px;
    }
}

@media (max-width: 992px) {
    .container { max-width: 96%; }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-content p { max-width: 100%; }
    .hero-visual { height: 400px; margin-top: 40px; width: 100%; }
    .main-img { width: 100%; }
    .float-img { display: none; }
    
    .stats { flex-wrap: wrap; gap: 20px; }
    .stat-box { min-width: 40%; border: none; }
    
    .bento-list { flex-direction: column; gap: 10px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact p { justify-content: center; }
    
    /* Responsive Categories for Tablet */
    .cat-card-img {
        flex: 0 1 calc(50% - 15px);
        max-width: none;
    }
}

@media (max-width: 900px) {
    .nav-wrapper {
        flex-wrap: wrap;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 8px 0;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-soft);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: var(--transition);
        z-index: 1001;
        border: 1px solid rgba(226, 232, 240, 0.6);
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links li a {
        padding: 14px 24px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.4);
        font-size: 1rem;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-actions .btn-primary {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    /* Sub-menu styling for mobile */
    .nav-links .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(2, 101, 220, 0.03);
        padding: 5px 0;
        display: none;
        border-radius: 0;
    }
    
    .nav-links li:hover > .sub-menu,
    .nav-links li:focus-within > .sub-menu {
        display: none; 
    }
    
    .nav-links li.active-sub > .sub-menu {
        display: flex !important;
    }
    
    .nav-links li.active-sub > a::before {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .nav-links .sub-menu li a {
        padding: 12px 40px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.4);
    }
    
    .nav-links .sub-menu li:last-child a {
        border-bottom: none;
    }
    
    .nav-links li.menu-item-has-children > a::before {
        right: 24px !important; 
    }
}

@media (max-width: 768px) {
    .about-page {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .about-hero {
        padding: 32px 24px;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
    }

    .about-card,
    .about-quote {
        padding: 28px 24px;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        height: auto;
        min-height: 280px;
        margin-top: 30px;
    }
    
    .main-img {
        height: auto;
        min-height: 280px;
        position: relative;
    }
    
    .placeholder-img {
        padding: 40px 20px;
    }

    .stats {
        padding: 24px;
        gap: 16px;
        margin-top: -30px;
    }

    .stat-box {
        min-width: calc(50% - 8px);
    }

    .stat-box h3 {
        font-size: 2.2rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    /* Responsive Categories for Mobile */
    .cat-card-img {
        flex: 0 1 100%;
        height: auto;
    }
    .cat-img-wrap {
        height: 200px;
    }
    
    .category-grid {
        gap: 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bento-large {
        grid-column: auto;
    }

    .bento-card {
        padding: 28px;
    }

    .bento-content h3 {
        font-size: 1.6rem;
    }

    .testimonials-grid {
        gap: 24px;
    }

    .testimonial-card {
        padding: 28px;
    }

    .footer-grid {
        gap: 24px;
    }
    
    .contact-page {
        padding-top: 120px;
        padding-bottom: 80px;
    }
    
    .contact-hero {
        padding: 32px 24px;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card,
    .contact-map {
        padding: 28px 24px;
    }
    
    .product-single-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
    }
    
    .products-page .page-title {
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    
    .products-page .page-title h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .about-page {
        padding-top: 110px;
    }

    .about-hero {
        padding: 24px 18px;
    }

    .about-hero h1 {
        font-size: 1.9rem;
    }

    .about-card,
    .about-quote {
        padding: 22px 18px;
    }

    .container {
        padding: 0 4%;
    }

    .section-padding {
        padding: 80px 0;
    }

    .logo-text h2 {
        font-size: 1.1rem;
    }

    .site-logo {
        width: 40px;
        height: 40px;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
        line-height: 1.3;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .stats {
        padding: 18px;
        margin-top: -20px;
        gap: 12px;
    }

    .stat-box h3 {
        font-size: 1.8rem;
    }

    .stat-box p {
        font-size: 0.75rem;
    }

    .brand-logo {
        font-size: 1.2rem;
    }

    .marquee-track {
        gap: 45px;
        padding-right: 45px;
    }

    .bento-card {
        padding: 24px;
    }

    .about-why-section {
        padding: 28px 16px;
        margin-bottom: 60px;
    }

    .aw-layout {
        gap: 30px;
    }

    .aw-image .building-ph {
        height: 240px;
    }

    .aw-heading {
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 24px;
    }

    .partner-card {
        padding: 28px 20px;
    }

    .partner-card h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .testimonial-card .review-text {
        font-size: 1rem;
    }

    .footer {
        padding-top: 60px;
    }
    
    .contact-hero {
        padding: 24px 18px;
    }
    
    .contact-hero h1 {
        font-size: 1.9rem;
    }
    
    .contact-card,
    .contact-map {
        padding: 22px 18px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }
    
    .stat-box {
        min-width: 100%;
        border-bottom: 1px solid #E2E8F0;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    
    .stat-box:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .stats {
        flex-direction: column;
    }
}

/* --- تنظیمات اصلاح شده گرید محصولات --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 35px;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: .35s;
    box-shadow: 0 4px 15px rgba(0,0,0,.03);
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    border-color: rgba(2, 101, 220, 0.3);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f5f5f5;
    width: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-content h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--secondary);
}

.product-card .product-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3.2em;
    color: var(--text-muted);
    line-height: 1.6;
}

.product-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    margin-top: auto;
    transition: .3s;
}

.product-card:hover .product-button {
    color: #0250b3;
    gap: 12px;
}

/* Single Product Page Styles */
.single-product-page {
    margin-top: 40px;
    margin-bottom: 80px;
}

.product-breadcrumb {
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
}

.product-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-breadcrumb a:hover {
    color: #0f7cff;
}

.product-breadcrumb span {
    color: #222;
    font-weight: 600;
}

.product-single-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,.05);
    align-items: start;
}

.product-gallery .main-product-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 1/1;
    background: #f8f9fa;
}

.product-details h1 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.product-content p {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    margin-bottom: 35px;
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: #20b858;
    transform: translateY(-2px);
}

/* استایل هدر در صفحات داخلی */
.internal-nav {
    position: relative !important; 
    background: #ffffff; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); 
    margin-bottom: 40px; 
}

.internal-nav .nav-links a,
.internal-nav .logo-text h2 {
    color: #333333;
}

/* --- Product Page Enhancements (V3) --- */
.products-page .page-title {
    background: linear-gradient(135deg, rgba(2, 101, 220, 0.05), rgba(0, 209, 178, 0.05));
    border: 1px solid rgba(2, 101, 220, 0.1);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: var(--shadow-soft);
}

.products-page .page-title h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.products-page .page-title p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.product-category-section {
    margin-bottom: 70px;
}

.product-category-section .section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(2, 101, 220, 0.1);
}

.product-category-section .section-title h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin: 0;
}

.product-category-section .section-title::before {
    content: '';
    display: block;
    width: 8px;
    height: 35px;
    background: var(--primary);
    border-radius: 6px;
}

/* --- Sub-menu Dropdown Styles --- */
.nav-links li {
    position: relative;
}

.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.6);
    gap: 0;
}

.nav-links li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .sub-menu li {
    width: 100%;
}

.nav-links .sub-menu li a {
    padding: 10px 24px;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    border: none;
}

.nav-links .sub-menu li a::after {
    display: none;
}

.nav-links .sub-menu li a:hover, 
.nav-links .sub-menu li a.active {
    background: rgba(2, 101, 220, 0.06);
    color: var(--primary);
}

.nav-links li.menu-item-has-children > a {
    padding-right: 18px; 
}

.nav-links li.menu-item-has-children > a::before {
    content: '\f107'; 
    font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

@media (min-width: 901px) {
    .nav-links li.menu-item-has-children:hover > a::before {
        transform: translateY(-50%) rotate(180deg);
    }
}