/* style.css */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #eef4ff;
    --bg: #f7f9fd;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(37, 99, 235, 0.05), 0 4px 6px -2px rgba(37, 99, 235, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --glass: rgba(255, 255, 255, 0.75);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Configuration */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--secondary);
}

/* Typography elements */
h1, h2, h3, h4 {
    font-weight: 800;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Loader Screen */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--secondary);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--secondary);
}
.btn-secondary:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

/* Header Section */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}
.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary);
}
.nav-menu {
    display: flex;
    gap: 24px;
}
.nav-link {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--primary);
    margin: 8px auto 0;
    border-radius: 2px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Hero Section Styling */
.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}
.hero-title {
    font-size: 3.2rem;
    line-height: 1.4;
    margin-bottom: 24px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-align: justify;
}
.hero-buttons {
    display: flex;
    gap: 16px;
}
.hero-image-wrapper {
    position: relative;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}
.hero-image-fallback {
    width: 100%;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    border: 4px solid var(--white);
    background: var(--white);
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* About Section CSS */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: justify;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.02);
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}
.stat-label {
    color: var(--text-muted);
    font-weight: 700;
}

/* Features Cards Styling */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background-color: var(--white);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.01);
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.1);
}
.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Gallery Section Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
.gallery-fallback {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #eef4ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

/* Business Categories CSS */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.business-card {
    background-color: var(--white);
    padding: 24px;
    text-align: center;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.01);
    transition: var(--transition);
}
.business-card:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Pricing Grid and Badges */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.pricing-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    position: relative;
    transition: var(--transition);
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.03);
}
.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.03);
}
.popular-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
}
.pricing-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.pricing-storage {
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 30px;
}
.pricing-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 36px;
}
.pricing-price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}
.pricing-btn {
    width: 100%;
}

/* FAQ Accordion UI */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.accordion-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.accordion-header {
    padding: 24px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}
.accordion-header:hover {
    background-color: var(--secondary);
}
.accordion-header svg {
    transition: var(--transition);
}
.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content p {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    text-align: justify;
}

/* Consulting Call to Actions */
.consulting-card {
    background: linear-gradient(135deg, #1e3a8a, #1e293b);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.consulting-card h2 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 16px;
}
.consulting-card p {
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 40px;
}
.consulting-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-consulting {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}
.btn-whatsapp { background-color: #25d366; color: white; }
.btn-phone { background-color: var(--primary); color: white; }
.btn-sms { background-color: #f59e0b; color: white; }
.btn-consulting:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Blog Layout Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.blog-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 700;
}
.blog-body {
    padding: 24px;
}
.blog-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.blog-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: justify;
}
.blog-link {
    color: var(--primary);
    font-weight: 700;
}

/* Order Container Box */
.order-box {
    background-color: var(--white);
    max-width: 850px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.order-header {
    background-color: var(--secondary);
    padding: 30px;
    text-align: center;
}
.order-body {
    padding: 40px;
}
.order-instruction {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.order-steps {
    margin-right: 20px;
    margin-bottom: 24px;
    font-weight: 600;
}
.card-info-box {
    background-color: var(--bg);
    border: 2px dashed var(--primary);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: 30px;
}
.card-number {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 10px;
}
.card-name {
    font-weight: 700;
    color: var(--text-dark);
}
.order-instruction-next {
    font-weight: 600;
    margin-bottom: 30px;
}
.order-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.order-btn-large {
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.order-btn-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Footer Section */
.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-grid h3 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.2rem;
}
.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a:hover {
    color: var(--white);
    padding-right: 5px;
}
.footer-contact p {
    margin-bottom: 12px;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Lightbox UI */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    max-width: 85%;
    max-height: 85%;
}
.lightbox-fallback-view {
    width: 700px;
    height: 450px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
}

/* Back To Top Action Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Core Animations - Scroll Reveal */
.reveal-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Grid Overrides */
@media (max-width: 1024px) {
    .hero-container, .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-content {
        text-align: center;
    }
    .hero-subtitle {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .gallery-grid, .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.active {
        right: 0;
    }
    .header-cta {
        display: block;
        padding: 12px 12px;
    }
    .gallery-grid, .blog-grid, .order-actions {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}