/* ============================================
   Reset & Base Styles
   ============================================ */

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

:root {
    /* Christmas Colors */
    --christmas-red: #064477;
    --christmas-red-dark: #064477;
    --christmas-green: #064477;
    --christmas-green-dark: #064477;
    --christmas-gold: #064477;
    --christmas-gold-light: #064477;
    --snow-white: #FFFFFF;
    --snow-gray: #F5F5F5;
    
    /* Medical Theme Colors */
    --primary-blue: #064477;
    --primary-blue-dark: #064477;
    --primary-blue-light: #064477;
    --secondary-gray: #6C757D;
    --text-dark: #212529;
    --text-light: #6C757D;
    --bg-light: #F8F9FA;
    --bg-dark: #1A1A1A;
    
    /* Typography - Premium Persian Fonts */
    --font-family-heading: 'Estedad', 'Vazirmatn', 'Samim', sans-serif; /* فونت‌های جذاب برای عناوین */
    --font-family-body: 'Vazirmatn', 'Samim', 'Tahoma', sans-serif; /* فونت پایه برای متن */
    --font-family-display: 'Estedad', 'Vazirmatn', sans-serif; /* فونت برجسته برای نمایش */
    --font-family-buttons: 'Vazirmatn', 'Estedad', sans-serif; /* فونت دکمه‌ها */
    --font-family-price: 'Estedad', 'Vazirmatn', sans-serif; /* فونت اعداد و قیمت‌ها */
    --font-family-special: 'Lalezar', 'Estedad', sans-serif; /* فونت ویژه برای تخفیف‌ها و پیشنهادهای خاص ⭐ */
    --font-family: var(--font-family-body);
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-body);
    font-weight: var(--font-weight-normal);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--snow-white);
    overflow-x: hidden;
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}

/* Banner & Hero Titles */
.banner-title,
.hero-title,
.section-title,
.cta-title {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-extrabold);
}

.banner-subtitle,
.hero-subtitle,
.section-subtitle,
.cta-subtitle {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-medium);
}

/* Buttons */
.btn {
    font-family: var(--font-family-buttons);
    font-weight: var(--font-weight-semibold);
}

/* Prices & Numbers */
.price-new,
.price-old,
.discount-text,
.timer-number,
.discount-percent {
    font-family: var(--font-family-price);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.5px; /* بهبود خوانایی اعداد فارسی */
}

/* Logo & Brand */
.logo-text,
.footer-logo-text {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-extrabold);
}

/* Navigation */
.nav-link {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-medium);
}

/* Package Names */
.package-name,
.service-title,
.why-choose-title,
.team-name,
.portfolio-title {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}

/* Testimonials */
.testimonial-name {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}

.testimonial-text {
    font-family: var(--font-family-body);
    font-weight: var(--font-weight-normal);
}

/* Footer */
.footer-title {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    overflow: visible;
}

section {
    overflow: visible;
}

/* ============================================
   Header / Navbar
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--snow-white) 0%, var(--snow-gray) 100%);
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid #064477;
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
}

.logo-image {
    height: 60px;
    width: auto;
    min-width: 120px;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.logo-image[src=""],
.logo-image:not([src]) {
    display: none;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: #064477;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.logo-text i {
    color: #064477;
    font-size: 2rem;
}

.logo i {
    color: #064477;
    font-size: 2rem;
}

.christmas-badge {
    display: none;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #064477 0%, #064477 100%);
    color: var(--snow-white);
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    animation: pulse 2s infinite;
}

.christmas-badge i {
    animation: rotate 3s linear infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #064477;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #064477, #064477);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #064477 0%, #064477 100%);
    color: var(--snow-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: #064477;
    color: var(--snow-white);
}

.btn-secondary:hover {
    background: #064477;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #064477;
    color: #064477;
}

.btn-outline:hover {
    background: #064477;
    color: var(--snow-white);
    border-color: #064477;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-package-default {
    background: var(--snow-white);
    color: #064477;
    border: 2px solid #064477;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.3px;
    padding: 14px 24px;
    transition: all 0.3s ease;
}

.btn-package-default:hover {
    background: #064477;
    color: var(--snow-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-christmas {
    background: linear-gradient(135deg, #064477 0%, #064477 100%);
    color: var(--snow-white);
    font-weight: var(--font-weight-bold);
    font-size: 1.2rem;
    padding: 18px 40px;
    box-shadow: var(--shadow-xl);
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), var(--shadow-xl);
}

.btn-christmas:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(6, 68, 119, 0.5);
    border-color: rgba(255, 255, 255, 1);
}

/* ============================================
   Christmas Banner
   ============================================ */

.christmas-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(6, 68, 119, 0.22) 0%, rgba(6, 68, 119, 0.22) 50%, rgba(6, 68, 119, 0.22) 100%),
                url('../images/task_01k8z03dj9frpt1b0njkm9xsmn_1761976962_img_0.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Override default background if inline style is provided */
.christmas-banner[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    color: var(--snow-white);
    font-size: 1.5rem;
    animation: snowfall linear infinite;
    opacity: 0.7;
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 9s;
    animation-delay: 0.5s;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 11s;
    animation-delay: 1.5s;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 8s;
    animation-delay: 0.8s;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 10s;
    animation-delay: 2.5s;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 9s;
    animation-delay: 1.2s;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(600px) rotate(360deg);
        opacity: 0;
    }
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--snow-white);
}

.banner-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-title i {
    color: #064477;
    animation: pulse 2s infinite;
}

.banner-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-medium);
}

.discount-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.discount-text {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
}

.discount-text strong {
    color: #FFD700;
    font-size: 2.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.timer-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    min-width: 100px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timer-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    color: #064477;
    text-shadow: none;
}

.timer-label {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
    color: #1A1A1A;
    opacity: 0.8;
    font-weight: var(--font-weight-medium);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--snow-white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: var(--font-weight-black);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-dark);
}

.feature-item i {
    color: #064477;
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.hero-image {
    text-align: center;
}

.hero-image .hero-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: #000;
}

.hero-video-wrapper .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg);
}

.hero-image video.hero-video {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

.image-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 2px dashed var(--secondary-gray);
    color: var(--secondary-gray);
}

.image-placeholder i {
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #064477, #064477);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

/* ============================================
   Campaign Offers
   ============================================ */

.campaign-offers {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.package-card {
    background: var(--snow-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 3px #064477;
    border-color: #064477;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.package-card:hover::before {
    left: 100%;
}

.package-popular {
    border: 3px solid #064477;
    transform: scale(1.05);
}

.package-popular::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #064477;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #064477, #064477);
    color: var(--snow-white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-header {
    margin-bottom: var(--spacing-md);
}

.package-name {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.package-badge {
    display: inline-block;
    background: #064477;
    color: var(--snow-white);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
}

.package-price {
    margin-bottom: var(--spacing-md);
}

.price-old {
    display: block;
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
    text-decoration-thickness: 2.5px; /* ضخامت خط - واضح و جذاب */
    text-decoration-color: #999; /* رنگ خط خاکستری */
    text-decoration-style: solid; /* نوع خط */
    opacity: 0.65; /* شفافیت برای نشان دادن عدم اعتبار */
    margin-bottom: var(--spacing-xs);
    white-space: nowrap;
    position: relative;
}

.price-new {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-black);
    color: #064477;
    margin-bottom: var(--spacing-xs);
    white-space: nowrap;
}

/* استایل زیبا برای نمایش واحد پول (تومان) - در سمت چپ عدد */
.price-currency {
    font-family: 'Vazirmatn', 'Estedad', sans-serif;
    font-size: 0.7em; /* 70% از اندازه عدد */
    font-weight: var(--font-weight-semibold);
    color: #064477;
    opacity: 0.85;
    letter-spacing: 0.3px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px; /* فاصله از سمت چپ (در RTL) */
    transition: all 0.3s ease;
    position: relative;
    top: -2px; /* کمی بالاتر از عدد */
}

.price-amount {
    font-family: 'Estedad', 'Vazirmatn', sans-serif;
    font-weight: var(--font-weight-black);
    display: inline-block;
    letter-spacing: -0.5px;
}

/* افکت hover برای تومان */
.package-card:hover .price-currency,
.price-new:hover .price-currency {
    opacity: 1;
    transform: translateY(-1px);
    color: #064477;
}

/* استایل برای قیمت قدیمی - خط روی تومان هم کشیده می‌شود */
.price-old .price-currency {
    opacity: 0.6;
    color: var(--text-light);
    font-size: 0.75em;
    top: -1px;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    text-decoration-color: #999;
}

/* استایل برای عدد در قیمت قدیمی */
.price-old .price-amount {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: #999;
}

.discount-percent {
    display: inline-block;
    background: #064477;
    color: var(--snow-white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
}

.package-features {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.package-features li {
    padding: var(--spacing-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.package-features i {
    color: #064477;
}

/* ============================================
   Patient Videos Section
   ============================================ */

.patient-videos {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.patient-videos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.3" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
}

/* Videos Carousel Wrapper */
.videos-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    z-index: 1;
    padding: 20px 0; /* فضا برای سایه‌ها */
}

.videos-carousel {
    flex: 1;
    overflow: hidden; /* برای مخفی کردن ویدیوهای بیرون از view */
    position: relative;
    margin: 0 -20px; /* فضای منفی برای جبران padding */
    padding: 0 20px; /* فضا برای سایه‌ها */
}

.videos-track {
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Video Cards - Fixed 3 columns per slide */
.video-card {
    flex: 0 0 calc(33.333% - (var(--spacing-lg) * 2 / 3));
    min-width: 0;
    background: var(--snow-white);
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    margin: 20px 0; /* فضا برای سایه هاور */
}

.video-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 
                0 0 0 4px rgba(6, 68, 119, 0.15);
    z-index: 10;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
}

.video-thumbnail .thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .thumbnail-img {
    transform: scale(1.1);
}

.video-thumbnail .thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    opacity: 0.6;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(6, 68, 119, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 68, 119, 0.4);
}

.play-button i {
    font-size: 1.8rem;
    color: var(--snow-white);
    margin-right: 5px;
}

.video-card:hover .play-button {
    transform: scale(1.15);
    background: #064477;
}

@media (max-width: 1024px) {
    .videos-carousel-wrapper {
        padding: var(--spacing-md) 0;
    }

    .videos-carousel {
        margin: 0;
        padding: 0 12px;
    }

    .video-card {
        flex: 0 0 calc(50% - var(--spacing-md));
        min-width: calc(50% - var(--spacing-md));
    }
}

@media (max-width: 768px) {
    .videos-carousel-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
        padding: var(--spacing-md) 0;
    }

    .videos-carousel {
        padding: 0;
        width: 100%;
    }

    .videos-track {
        gap: 0;
    }

    .video-card {
        flex: 0 0 100%;
        min-width: 100%;
        margin: 0 auto;
    }
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--snow-white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
}

/* Navigation Buttons */
.videos-nav {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--snow-white);
    border: 2px solid rgba(6, 68, 119, 0.2);
    border-radius: 50%;
    color: var(--snow-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(6, 68, 119, 0.3);
    z-index: 2;
    color: #064477;
    box-shadow: 0 4px 15px rgba(6, 68, 119, 0.12);
}

.videos-nav i {
    margin: 0;
    color: currentColor;
    transition: color 0.3s ease;
}

.videos-nav:hover:not(:disabled) {
    background: #064477;
    color: var(--snow-white);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(6, 68, 119, 0.35);
}

.videos-nav:active:not(:disabled) {
    transform: scale(0.95);
}

.videos-nav:focus {
    outline: none;
}

.videos-nav:focus-visible {
    box-shadow: 0 0 0 3px rgba(6, 68, 119, 0.35);
}

.videos-nav:disabled {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

@media (max-width: 1024px) {
    .videos-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .videos-nav.videos-prev {
        right: 12px;
    }

    .videos-nav.videos-next {
        left: 12px;
    }
}

@media (max-width: 768px) {
    .videos-nav {
        width: 42px;
        height: 42px;
    }
}

/* Indicators */
.videos-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--spacing-lg);
}

.video-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.video-indicator.active {
    background: #064477;
    width: 30px;
    border-radius: 6px;
}

.video-indicator:hover:not(.active) {
    background: rgba(6, 68, 119, 0.5);
}

.no-videos {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 10000;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: -50px;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--snow-white);
    color: var(--snow-white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    z-index: 10001;
}

.video-modal-close:hover {
    background: #064477;
    border-color: #064477;
    transform: rotate(90deg);
}

.video-modal-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-player iframe,
.video-modal-player video {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: var(--spacing-xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--snow-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, #064477, #064477);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(6, 68, 119, 0.3);
}

.service-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   Portfolio Section
   ============================================ */

.portfolio {
    padding: var(--spacing-xl) 0;
    background: var(--snow-white);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.portfolio-filters .filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--secondary-gray);
    background: var(--snow-white);
    color: var(--text-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.portfolio-filters .filter-btn:hover,
.portfolio-filters .filter-btn.active {
    background: linear-gradient(135deg, #064477, #064477);
    color: var(--snow-white);
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--snow-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: var(--bg-light);
}

.portfolio-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-light);
}

.portfolio-placeholder i {
    color: var(--text-light);
    opacity: 0.5;
    margin-bottom: var(--spacing-sm);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 68, 119, 0.95), rgba(6, 68, 119, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: var(--spacing-lg);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: var(--snow-white);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    color: var(--snow-white);
}

.portfolio-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* No items message */
.portfolio-grid .no-items {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ============================================
   Why Choose Us
   ============================================ */

.why-choose-us {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.why-choose-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--snow-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #064477, #064477);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(6, 68, 119, 0.2);
    border-color: #064477;
}

.why-choose-card:hover::before {
    transform: scaleX(1);
}

.why-choose-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, #064477, #064477);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    font-size: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.why-choose-card:hover .why-choose-icon {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 10px 30px rgba(6, 68, 119, 0.4);
}

.why-choose-icon i {
    color: var(--snow-white);
}

.why-choose-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.why-choose-title {
    font-size: 1.4rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    transition: color 0.3s ease;
}

.why-choose-card:hover .why-choose-title {
    color: #064477;
}

.why-choose-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Legacy support for old customizer-based features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--snow-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--snow-white), var(--bg-light));
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, #064477, #064477);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 8px 20px rgba(6, 68, 119, 0.3);
}

.feature-number {
    font-size: 2rem;
    font-weight: var(--font-weight-black);
    color: #064477;
    margin-bottom: var(--spacing-xs);
}

.feature-text {
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
}

/* ============================================
   Gallery
   ============================================ */

.gallery {
    padding: var(--spacing-xl) 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--secondary-gray);
    background: var(--snow-white);
    color: var(--text-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #064477, #064477);
    color: var(--snow-white);
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 68, 119, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--snow-white);
    font-size: 2rem;
}

/* ============================================
   Before/After Slider
   ============================================ */

.before-after-slider {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.slider-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.before-after-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--snow-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.before-after-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.before-after-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before-image {
    z-index: 1;
}

.after-image {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.1s ease-out;
}

.before-image .image-placeholder,
.after-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light), var(--snow-gray));
    color: var(--secondary-gray);
}

.before-image .image-placeholder {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.after-image .image-placeholder {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.label {
    position: absolute;
    top: 15px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--snow-white);
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    z-index: 10;
    backdrop-filter: blur(5px);
}

.before-label {
    right: 15px;
    background: rgba(6, 68, 119, 0.8);
}

.after-label {
    left: 15px;
    background: rgba(34, 139, 34, 0.9);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #064477;
    z-index: 3;
    transform: translateX(-50%);
    cursor: col-resize;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--snow-white);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #064477;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--snow-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.slider-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Touch support */
.before-after-wrapper.touching .after-image {
    transition: none;
}

.gallery-item-title {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
}

.gallery-item-title h4 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin: 0;
}

/* ============================================
   Payment Methods Section
   ============================================ */

.payment-methods {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.payment-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23F70000" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
}

.payment-methods .container {
    position: relative;
    z-index: 1;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.payment-method-card {
    background: var(--snow-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.payment-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #064477, #064477);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.payment-method-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(6, 68, 119, 0.15);
    border-color: rgba(6, 68, 119, 0.2);
}

.payment-method-card:hover::before {
    transform: scaleX(1);
}

.payment-method-featured {
    border: 2px solid #064477;
    transform: scale(1.03);
}

.payment-method-featured::before {
    transform: scaleX(1);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #064477, #064477);
    color: var(--snow-white);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(6, 68, 119, 0.3);
    animation: pulse 2s infinite;
}

.payment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, #064477 0%, #064477 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(6, 68, 119, 0.2);
}

.payment-method-card:hover .payment-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 30px rgba(6, 68, 119, 0.4);
}

.payment-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(6, 68, 119, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-method-card:hover .payment-icon::after {
    opacity: 1;
    animation: ripple 1.5s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.payment-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.payment-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--spacing-md);
    min-height: 80px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.payment-note {
    background: rgba(6, 68, 119, 0.05);
    border-right: 4px solid #064477;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: var(--spacing-md);
    overflow: hidden;
    word-wrap: break-word;
}

.payment-note i {
    color: #064477;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.payment-note span {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: var(--font-weight-medium);
    flex: 1;
    word-break: break-word;
    overflow-wrap: break-word;
}

.payment-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px dashed rgba(6, 68, 119, 0.2);
}

.payment-cta .btn {
    font-size: 1.1rem;
    padding: 16px 40px;
    box-shadow: 0 8px 20px rgba(6, 68, 119, 0.25);
}

.payment-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(6, 68, 119, 0.35);
}

/* ============================================
   Vision Timeline Section - Steps to Clear Vision
   ============================================ */

.vision-timeline {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.vision-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23F70000" fill-opacity="0.02" d="M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,154.7C672,149,768,171,864,181.3C960,192,1056,192,1152,176C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
}

.vision-timeline .container {
    position: relative;
    z-index: 1;
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: var(--spacing-xl) 0;
    position: relative;
}

.timeline-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.timeline-step:nth-child(1) { animation-delay: 0.1s; }
.timeline-step:nth-child(2) { animation-delay: 0.2s; }
.timeline-step:nth-child(3) { animation-delay: 0.3s; }
.timeline-step:nth-child(4) { animation-delay: 0.4s; }
.timeline-step:nth-child(5) { animation-delay: 0.5s; }

.timeline-step:hover {
    transform: translateY(-15px);
}

.step-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #064477 0%, #064477 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 8px 25px rgba(6, 68, 119, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid rgba(6, 68, 119, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-step:hover .step-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(6, 68, 119, 0.4);
}

.timeline-step:hover .step-icon::before {
    opacity: 1;
    animation: rippleEffect 1.5s infinite;
}

@keyframes rippleEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.step-number {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--snow-white);
    border: 3px solid #064477;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: var(--font-weight-black);
    color: #064477;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 3;
    transition: all 0.4s ease;
}

.timeline-step:hover .step-number {
    transform: translateX(-50%) scale(1.2);
    background: #064477;
    color: var(--snow-white);
    box-shadow: 0 6px 20px rgba(6, 68, 119, 0.4);
}

.step-content {
    margin-top: var(--spacing-sm);
}

.step-title {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.timeline-step:hover .step-title {
    color: #064477;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-connector {
    position: absolute;
    top: 60px;
    right: 50%;
    width: calc(100% - 85px);
    height: 5px;
    background: linear-gradient(270deg, 
        rgba(6, 68, 119, 0.4) 0%, 
        rgba(6, 68, 119, 1) 50%, 
        rgba(6, 68, 119, 0.4) 100%
    );
    z-index: 1;
    transform-origin: right;
    animation: lineGrow 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
    box-shadow: 0 2px 4px rgba(6, 68, 119, 0.3);
    border-radius: 3px 0 0 3px;
}

@keyframes lineGrow {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

.timeline-step:last-child .step-connector {
    display: none;
}

.step-connector::before,
.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
}

.step-connector::after {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 14px 18px 14px 0;
    border-color: transparent #064477 transparent transparent;
    animation: arrowSlide 1s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    z-index: 5;
    display: block;
}

@keyframes arrowSlide {
    0% {
        transform: translateY(-50%) translateX(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

.timeline-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
}

.timeline-cta .btn {
    font-size: 1.15rem;
    padding: 18px 45px;
    box-shadow: 0 10px 30px rgba(6, 68, 119, 0.25);
    animation: pulse 2s infinite;
}

.timeline-cta .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(6, 68, 119, 0.4);
}

/* Responsive Design for Timeline */
@media (max-width: 1024px) {
    .timeline-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .step-connector {
        display: none;
    }
    
    .timeline-step {
        margin-bottom: var(--spacing-lg);
    }
    
    .step-icon {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .vision-timeline {
        padding: var(--spacing-lg) 0;
    }
    
    .timeline-steps {
        grid-template-columns: 1fr;
        gap: 0;
        margin: var(--spacing-md) 0;
        position: relative;
    }
    
    /* خط عمودی اتصال در موبایل */
    .timeline-steps::before {
        content: '';
        position: absolute;
        right: 50px;
        top: 60px;
        bottom: 60px;
        width: 4px;
        background: linear-gradient(180deg, 
            rgba(6, 68, 119, 0.2) 0%, 
            rgba(6, 68, 119, 0.8) 20%, 
            rgba(6, 68, 119, 1) 50%, 
            rgba(6, 68, 119, 0.8) 80%, 
            rgba(6, 68, 119, 0.2) 100%
        );
        border-radius: 2px;
        z-index: 1;
        animation: verticalLineGrow 1.5s ease-out forwards;
    }
    
    @keyframes verticalLineGrow {
        0% {
            transform: scaleY(0);
            transform-origin: top;
            opacity: 0;
        }
        100% {
            transform: scaleY(1);
            opacity: 1;
        }
    }
    
    .timeline-step {
        display: grid;
        grid-template-columns: 100px 1fr;
        grid-template-rows: auto auto;
        gap: 0;
        align-items: start;
        text-align: right;
        padding: var(--spacing-md) 0;
        margin-bottom: 0;
        position: relative;
    }
    
    .timeline-step:hover {
        transform: none;
    }
    
    /* آیکون در سمت راست */
    .step-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 85px;
        height: 85px;
        font-size: 2rem;
        margin: 0;
        align-self: start;
        box-shadow: 0 6px 20px rgba(6, 68, 119, 0.3);
    }
    
    .step-icon::before {
        border: 2px solid rgba(6, 68, 119, 0.2);
    }
    
    .timeline-step:hover .step-icon {
        transform: scale(1.08);
        box-shadow: 0 10px 30px rgba(6, 68, 119, 0.4);
    }
    
    /* شماره در گوشه بالای آیکون */
    .step-number {
        position: absolute;
        top: var(--spacing-md);
        right: 75px;
        transform: none;
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        border-width: 2px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        z-index: 3;
    }
    
    .timeline-step:hover .step-number {
        transform: scale(1.15);
    }
    
    /* محتوا در سمت چپ */
    .step-content {
        grid-column: 2;
        grid-row: 1 / 3;
        margin: 0;
        padding-right: var(--spacing-md);
        text-align: right;
    }
    
    .step-title {
        font-size: 1.15rem;
        min-height: auto;
        justify-content: flex-start;
        text-align: right;
        margin-bottom: 8px;
        line-height: 1.5;
    }
    
    .step-description {
        font-size: 0.95rem;
        min-height: auto;
        justify-content: flex-start;
        text-align: right;
        line-height: 1.7;
        color: var(--secondary-gray);
    }
    
    /* مخفی کردن کانکتور افقی */
    .step-connector {
        display: none;
    }
    
    /* نقطه اتصال به خط عمودی */
    .timeline-step::after {
        content: '';
        position: absolute;
        right: 43px;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        background: #064477;
        border: 3px solid #ffffff;
        border-radius: 50%;
        z-index: 2;
        box-shadow: 0 0 0 3px rgba(6, 68, 119, 0.2);
        transition: all 0.3s ease;
    }
    
    .timeline-step:hover::after {
        transform: translateY(-50%) scale(1.3);
        box-shadow: 0 0 0 6px rgba(6, 68, 119, 0.3);
        background: #064477;
    }
    
    /* حذف خط برای آخرین مورد */
    .timeline-step:last-child::before {
        display: none;
    }
    
    /* انیمیشن تاخیری برای موبایل */
    .timeline-step {
        animation: fadeInRight 0.6s ease-out forwards;
        opacity: 0;
    }
    
    .timeline-step:nth-child(1) { animation-delay: 0.2s; }
    .timeline-step:nth-child(2) { animation-delay: 0.3s; }
    .timeline-step:nth-child(3) { animation-delay: 0.4s; }
    .timeline-step:nth-child(4) { animation-delay: 0.5s; }
    .timeline-step:nth-child(5) { animation-delay: 0.6s; }
    
    @keyframes fadeInRight {
        0% {
            opacity: 0;
            transform: translateX(-30px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* دکمه CTA */
    .timeline-cta {
        margin-top: var(--spacing-lg);
        padding-top: var(--spacing-md);
    }
    
    .timeline-cta .btn {
        width: 100%;
        font-size: 1.05rem;
        padding: 16px 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    
    .timeline-cta .btn i {
        order: 2;
        margin-right: 0;
        margin-left: 8px;
    }
}

/* موبایل کوچک (زیر 480px) */
@media (max-width: 480px) {
    .timeline-step {
        grid-template-columns: 80px 1fr;
        padding: var(--spacing-sm) 0;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
    
    .step-number {
        right: 62px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .step-title {
        font-size: 1.05rem;
    }
    
    .step-description {
        font-size: 0.88rem;
    }
    
    .timeline-step::after {
        right: 36px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-steps::before {
        right: 40px;
        width: 3px;
    }
    
    .step-content {
        padding-right: var(--spacing-sm);
    }
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
    overflow: hidden; /* جلوگیری از scroll افقی در صفحه */
}

.testimonials .container {
    overflow: visible; /* اجازه نمایش سایه */
}

.testimonials-wrapper {
    position: relative;
    max-width: 1600px; /* افزایش از 1400px به 1600px */
    margin: 0 auto;
    padding: 60px 80px; /* padding بالا/پایین بیشتر برای سایه */
    overflow: visible; /* حذف hidden */
}

.testimonials-slider {
    position: relative;
    clip-path: inset(-50px -50px -50px -50px); /* اجازه نمایش سایه بدون بریدگی */
    margin: -50px;
    padding: 50px;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform; /* بهینه‌سازی performance */
    align-items: stretch; /* تضمین ارتفاع یکسان */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    background: var(--snow-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-top: 4px solid #064477;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0; /* حذف margin برای جلوگیری از مشکل در موبایل */
    position: relative;
    will-change: transform, box-shadow; /* بهینه‌سازی performance */
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    border-top-color: #064477;
    z-index: 10;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(6, 68, 119, 0.3);
}

.testimonial-avatar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #064477, #064477);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    font-size: 1.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

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

.testimonial-name {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 5px;
}

.testimonial-rating {
    color: #064477;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.testimonial-date {
    font-size: 0.9rem;
    color: var(--secondary-gray);
}

/* Testimonials Navigation Buttons */
.testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--snow-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #064477;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonials-nav:hover {
    background: #064477;
    color: var(--snow-white);
    box-shadow: 0 6px 20px rgba(6, 68, 119, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.testimonials-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonials-nav.prev {
    left: 0;
}

.testimonials-nav.next {
    right: 0;
}

.testimonials-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--snow-gray);
}

.testimonials-nav:disabled:hover {
    background: var(--snow-gray);
    color: var(--secondary-gray);
    transform: translateY(-50%) scale(1);
}

/* Testimonials Indicators */
.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--spacing-lg);
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-indicator:hover {
    background: #064477;
    transform: scale(1.2);
}

.testimonial-indicator.active {
    background: #064477;
    width: 30px;
    border-radius: 6px;
}


/* ============================================
   Team Section
   ============================================ */

.team {
    padding: var(--spacing-xl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.team-card {
    text-align: center;
    background: var(--snow-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(6, 68, 119, 0.4);
    border-color: #064477;
}

.team-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    background: linear-gradient(135deg, #064477, #064477);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    border: 5px solid #064477;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-name {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xs);
}

.team-specialty {
    color: #064477;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-xs);
}

.team-experience {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.team-credentials {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.team-credentials span {
    font-size: 0.9rem;
    color: var(--secondary-gray);
    padding: 5px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--snow-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
}

.faq-question i {
    color: #064477;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Contact Form Section
   ============================================ */

.contact-form-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: visible;
    position: relative;
    z-index: 5;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--snow-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: visible;
    position: relative;
    z-index: 6;
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow: visible;
}

.contact-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form label i {
    color: #064477;
    font-size: 1.1rem;
}

.contact-form label .required {
    color: #064477;
    margin-right: 4px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #064477;
    box-shadow: 0 0 0 3px rgba(6, 68, 119, 0.1);
}

.contact-form .form-help {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact-form .btn-submit {
    margin-top: var(--spacing-md);
    width: 100%;
    padding: 14px 24px;
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form .form-message {
    margin-top: var(--spacing-md);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: var(--font-weight-medium);
}

.contact-form .form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.contact-form .form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Phone Input with Country Code Selector */
.phone-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    flex-direction: row;
}

.country-code-selector {
    position: relative;
    flex-shrink: 0;
    z-index: 10;
}

.country-code-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px;
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    min-width: 120px;
    flex-shrink: 0;
}

.selected-country {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px;
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    min-width: 120px;
}

.selected-country:hover {
    background: #e9ecef;
    border-color: #064477;
}

.selected-country.active {
    border-color: #064477;
    box-shadow: 0 0 0 3px rgba(6, 68, 119, 0.1);
}

.country-flag {
    font-size: 1.5rem;
    line-height: 1;
}

.country-code {
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.selected-country i {
    margin-right: auto;
    color: var(--text-light);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.selected-country.active i {
    transform: rotate(180deg);
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 280px;
    max-height: 320px;
    background: var(--snow-white);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    z-index: 9999; /* افزایش z-index */
    overflow: hidden;
}

.country-dropdown.active {
    display: flex;
}

.country-search {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8f9fa;
}

.country-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.country-search input:focus {
    outline: none;
    border-color: #064477;
    box-shadow: 0 0 0 2px rgba(6, 68, 119, 0.1);
}

.country-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    max-height: 260px;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.country-item:hover {
    background: #f8f9fa;
}

.country-item.selected {
    background: rgba(6, 68, 119, 0.1);
    font-weight: var(--font-weight-medium);
}

.country-name {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-dark);
    order: 2;
    text-align: right;
}

.country-item .country-code {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: var(--font-family-body);
    direction: ltr;
    order: 1;
}

.country-item.hidden {
    display: none;
}

.phone-input-wrapper input[type="tel"] {
    flex: 1;
}

/* ============================================
   Final CTA Section
   ============================================ */

.final-cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #064477 0%, #064477 100%);
    color: var(--snow-white);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    margin-bottom: var(--spacing-sm);
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* دکمه‌های سفارشی برای بخش CTA */
.final-cta .btn-primary {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F0F0 100%);
    color: #064477;
    border: 3px solid #FFFFFF;
    font-weight: var(--font-weight-bold);
}

.final-cta .btn-primary:hover {
    background: #FFFFFF;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

.final-cta .btn-secondary {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    border: 3px solid #25D366;
    font-weight: var(--font-weight-bold);
}

.final-cta .btn-secondary:hover {
    background: #25D366;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.final-cta .btn-outline {
    background: transparent;
    border: 3px solid #FFD700;
    color: #FFD700;
    font-weight: var(--font-weight-bold);
}

.final-cta .btn-outline:hover {
    background: #FFD700;
    color: #064477;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-dark);
    color: var(--snow-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-logo-image {
    height: 50px;
    width: auto;
    min-width: 100px;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: opacity 0.3s ease;
    display: block;
}

.footer-logo-image[src=""],
.footer-logo-image:not([src]) {
    display: none;
}

.footer-logo-image:hover {
    opacity: 0.8;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: #064477;
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
}

.footer-logo-text i {
    color: #064477;
    font-size: 1.8rem;
}

.footer-logo i {
    color: #064477;
    font-size: 2rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: #064477;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #064477;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: #064477;
    margin-top: 5px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #064477;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #064477;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #064477;
}

/* ============================================
   Floating Elements
   ============================================ */

.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #064477, #064477);
    color: var(--snow-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(6, 68, 119, 0.5);
}

.whatsapp-btn {
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: pulse 2s infinite;
}

.whatsapp-btn.whatsapp-btn-bottom {
    bottom: 20px;
}

.phone-btn {
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.scroll-top {
    bottom: 20px;
    left: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    background: #6C757D;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.btn-tooltip {
    position: absolute;
    right: 75px;
    background: var(--bg-dark);
    color: var(--snow-white);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: var(--shadow-md);
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid var(--bg-dark);
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
}

/* ============================================
   Utilities
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

