﻿/* ============================================
   فونت و تنظیمات پایه
   ============================================ */
:root {
    --primary-color: #0a1628;
    --secondary-color: #1a3a6b;
    --accent-color: #0d6efd;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-glass: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Vazirmatn', 'IRANSans', 'Tahoma', sans-serif;
    background: #f0f2f5;
    color: #1a1a2e;
    line-height: 1.8;
    min-height: 100vh;
}

/* ============================================
   هدر با افکت شیشه‌ای
   ============================================ */
.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    padding: 6px 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: var(--transition-smooth);
}

    .main-header.scrolled {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }

/* --- لوگو --- */
.navbar-brand {
    padding: 0;
    margin: 0;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-smooth);
}

    .brand-wrapper:hover {
        transform: scale(1.02);
    }

.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0a1628, #1a3a6b);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
    transition: var(--transition-smooth);
}

.brand-wrapper:hover .brand-icon {
    transform: rotate(-10deg) scale(1.05);
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #0a1628;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0a1628, #0d6efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-sub {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.6rem;
    color: #6c757d;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* --- آیتم‌های منو --- */
.navbar-nav {
    gap: 2px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #4a4a4a;
    padding: 10px 18px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    text-decoration: none;
}

    .nav-link i {
        font-size: 0.95rem;
        opacity: 0.6;
        transition: var(--transition-smooth);
    }

    .nav-link span {
        position: relative;
    }

    /* خط زیر آیتم منو با افکت */
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 4px;
        right: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #0d6efd, #0a1628);
        transition: var(--transition-smooth);
        transform: translateX(50%);
        border-radius: 2px;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 60%;
    }

    .nav-link:hover {
        color: #0d6efd;
        background: rgba(13, 110, 253, 0.06);
        transform: translateY(-2px);
    }

        .nav-link:hover i {
            opacity: 1;
            transform: scale(1.1);
        }

    .nav-link.active {
        color: #0d6efd;
        background: rgba(13, 110, 253, 0.08);
        font-weight: 600;
    }

        .nav-link.active i {
            opacity: 1;
        }

/* --- دکمه ورود --- */
.nav-login {
    color: #0d6efd;
    font-weight: 600;
    background: rgba(13, 110, 253, 0.08);
    border-radius: 50px !important;
    padding: 8px 24px !important;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

    .nav-login:hover {
        background: #0d6efd !important;
        color: #ffffff !important;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 35px rgba(13, 110, 253, 0.3);
    }

        .nav-login:hover i {
            opacity: 1 !important;
            transform: scale(1.1) !important;
        }

    .nav-login::after {
        display: none !important;
    }

/* --- دکمه پنل مدیریت --- */
.nav-admin {
    color: #198754;
    font-weight: 600;
    background: rgba(25, 135, 84, 0.08);
    border-radius: 50px !important;
    padding: 8px 24px !important;
    border: 1px solid rgba(25, 135, 84, 0.1);
}

    .nav-admin:hover {
        background: #198754 !important;
        color: #ffffff !important;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 35px rgba(25, 135, 84, 0.3);
    }

        .nav-admin:hover i {
            opacity: 1 !important;
            transform: scale(1.1) !important;
        }

    .nav-admin::after {
        display: none !important;
    }

/* --- دکمه خروج --- */
.nav-logout {
    color: #dc3545 !important;
    font-weight: 500;
    padding: 8px 18px !important;
    border-radius: 12px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
}

    .nav-logout:hover {
        background: rgba(220, 53, 69, 0.08) !important;
        color: #dc3545 !important;
        transform: translateY(-2px);
    }

    .nav-logout::after {
        display: none !important;
    }

/* --- منوی کشویی --- */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 220px;
    animation: dropdownFade 0.3s ease-out;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #4a4a4a;
    padding: 10px 22px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
}

    .dropdown-item i {
        width: 24px;
        color: #0d6efd;
        font-size: 0.9rem;
        opacity: 0.5;
        transition: var(--transition-smooth);
    }

    .dropdown-item:hover {
        background: rgba(13, 110, 253, 0.06);
        color: #0d6efd;
        transform: translateX(-6px);
    }

        .dropdown-item:hover i {
            opacity: 1;
            transform: scale(1.1);
        }

.dropdown-divider {
    margin: 8px 16px;
    border-color: rgba(0, 0, 0, 0.05);
}

/* --- دکمه تماس تلفنی --- */
.header-phone {
    margin-right: 12px;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0a1628, #1a3a6b);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(10, 22, 40, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .phone-btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 16px 45px rgba(10, 22, 40, 0.35);
        color: #ffffff;
    }

    .phone-btn i {
        font-size: 1.1rem;
        animation: phoneRing 2.5s ease-in-out infinite;
    }

@keyframes phoneRing {
    0%, 100% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(5deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    70%, 100% {
        transform: rotate(0deg);
    }
}

/* --- فوتر --- */
.main-footer {
    background: #0a1628;
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 30px;
    margin-top: 60px;
}

    .main-footer h5 {
        font-family: 'Vazirmatn', sans-serif;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 20px;
        font-size: 1.1rem;
    }

.footer-text {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.9;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

    .footer-links a {
        font-family: 'Vazirmatn', sans-serif;
        color: rgba(255, 255, 255, 0.4);
        text-decoration: none;
        transition: var(--transition-smooth);
        font-size: 0.9rem;
    }

        .footer-links a:hover {
            color: #ffffff;
            padding-right: 8px;
        }

.main-footer hr {
    border-color: rgba(255, 255, 255, 0.04);
    margin: 25px 0;
}

.copyright {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .navbar-nav {
        gap: 2px;
        padding: 10px 0;
    }

    .nav-link {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .header-phone {
        margin: 10px 0 0 0;
        width: 100%;
    }

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

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-sub {
        font-size: 0.55rem;
    }

    .nav-login,
    .nav-admin {
        border-radius: 12px !important;
        padding: 8px 14px !important;
        justify-content: center;
    }

    .dropdown-menu {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.04);
    }

    .dropdown-item:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-sub {
        font-size: 0.5rem;
    }

    .phone-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

        .phone-btn span {
            font-size: 0.75rem;
        }

    .nav-link {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
/* ============================================
   هیرو (Hero Section) - جدید
   ============================================ */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 40%, #2d5aa0 100%);
    padding: 80px 0 60px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* پس‌زمینه متحرک */
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternFloat 20s linear infinite;
}

@keyframes patternFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* حباب‌های پس‌زمینه */
.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: blobFloat 15s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #0d6efd;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #f9d423;
    bottom: -100px;
    left: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: #ff4e50;
    top: 50%;
    left: 40%;
    animation-delay: -10s;
    opacity: 0.1;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Wave Divider */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

    .hero-wave svg {
        width: 100%;
        height: 100%;
        display: block;
    }

/* --- محتوای هیرو --- */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 22px;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: fadeInUp 0.8s ease-out;
}

    .hero-badge i {
        color: #f9d423;
        margin-left: 8px;
    }

.hero-title {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

    .hero-title .text-highlight {
        background: linear-gradient(135deg, #f9d423, #ff4e50);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-text {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    margin-bottom: 28px;
    line-height: 1.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

    .hero-features span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: 'Vazirmatn', sans-serif;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-features i {
        color: #4ade80;
        font-size: 1.1rem;
    }

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: #ffffff;
    color: #0a1628;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

    .btn-hero-primary:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 16px 45px rgba(255, 255, 255, 0.2);
        color: #0a1628;
    }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: transparent;
    color: #ffffff;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .btn-hero-secondary:hover {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.1);
        border-color: #ffffff;
        color: #ffffff;
    }

/* --- تصویر هیرو --- */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 20px 80px rgba(13, 110, 253, 0.2);
    }
}

/* کارت‌های شناور */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 14px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: floatCard 6s ease-in-out infinite;
}

    .floating-card i {
        margin-left: 8px;
        color: #f9d423;
    }

.float-1 {
    top: 0;
    right: -10px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 10%;
    right: -20px;
    animation-delay: 2s;
}

.float-3 {
    top: 40%;
    left: -30px;
    animation-delay: 4s;
}

.float-4 {
    bottom: 30%;
    left: -10px;
    animation-delay: 1s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- انیمیشن fadeInUp --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-icon-circle {
        width: 140px;
        height: 140px;
        font-size: 3.5rem;
    }

    .floating-card {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .hero-features {
        gap: 10px;
    }

        .hero-features span {
            font-size: 0.8rem;
        }

    .hero-icon-circle {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: #ffffff;
    color: #0a1628;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

    .btn-hero-primary:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 16px 45px rgba(255, 255, 255, 0.2);
        color: #0a1628;
    }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: transparent;
    color: #ffffff;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

    .btn-hero-secondary:hover {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.1);
        border-color: #ffffff;
        color: #ffffff;
    }
/* ============================================
   رفع همپوشانی دکمه‌های هیرو
   ============================================ */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
    position: relative;
    z-index: 20 !important; /* مهم: بالاتر از همه عناصر */
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px !important;
    border-radius: 50px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: none !important;
    min-width: 180px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 25 !important; /* بالاتر از wave و floating cards */
}

.btn-hero-primary {
    background: #ffffff !important;
    color: #0a1628 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

    .btn-hero-primary:hover {
        transform: translateY(-4px) scale(1.02) !important;
        box-shadow: 0 16px 45px rgba(255, 255, 255, 0.2) !important;
        color: #0a1628 !important;
    }

.btn-hero-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

    .btn-hero-secondary:hover {
        transform: translateY(-4px) !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: #ffffff !important;
        color: #ffffff !important;
    }

/* ============================================
   اصلاح wave (موج پایین هیرو)
   ============================================ */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 5 !important; /* پایین‌تر از دکمه‌ها */
    pointer-events: none; /* جلوگیری از کلیک روی wave */
}

    .hero-wave svg {
        width: 100%;
        height: 100%;
        display: block;
        pointer-events: none;
    }

/* ============================================
   اصلاح floating cards
   ============================================ */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 14px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: floatCard 6s ease-in-out infinite;
    z-index: 2 !important;
    pointer-events: none; /* جلوگیری از کلیک روی کارت‌ها */
}

    .floating-card i {
        margin-left: 8px;
        color: #f9d423;
    }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100% !important;
        justify-content: center !important;
        min-width: unset !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* ============================================
   دکمه‌های پیام‌رسان
   ============================================ */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
    border: none;
}

    .social-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }

    /* رنگ‌های هر پیام‌رسان */
    .social-btn.eitaa {
        background: #1e88e5;
    }

    .social-btn.ble {
        background: #673ab7;
    }

    .social-btn.telegram {
        background: #0088cc;
    }

    .social-btn.instagram {
        background: #e4405f;
    }

    .social-btn.whatsapp {
        background: #25d366;
    }

/* ============================================
   دکمه‌های پیام‌رسان در فوتر
   ============================================ */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
    border: none;
    cursor: pointer;
}

    .social-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        color: #fff;
    }

    .social-btn.eitaa {
        background: #1e88e5;
    }

    .social-btn.ble {
        background: #673ab7;
    }

    .social-btn.telegram {
        background: #0088cc;
    }

    .social-btn.instagram {
        background: #e4405f;
    }

    .social-btn.whatsapp {
        background: #25d366;
    }

/* ============================================
   دکمه‌های پیام‌رسان در هیرو
   ============================================ */
.hero-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-social-label {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.hero-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

    .hero-social-btn:hover {
        transform: translateY(-3px) scale(1.1);
        color: #fff;
    }

    .hero-social-btn.eitaa {
        background: #1e88e5;
    }

    .hero-social-btn.ble {
        background: #673ab7;
    }

    .hero-social-btn.telegram {
        background: #0088cc;
    }

    .hero-social-btn.instagram {
        background: #e4405f;
    }

    .hero-social-btn.whatsapp {
        background: #25d366;
    }
.navbar {
    direction: rtl;
}

.navbar-brand {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* ============================================
   لوگوی سایت
   ============================================ */
.site-logo {
    height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: all 0.3s ease;
}

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

/* برای موبایل */
@media (max-width: 768px) {
    .site-logo {
        height: 55px;
        max-width: 180px;
    }
}

@media (max-width: 576px) {
    .site-logo {
        height: 45px;
        max-width: 150px;
    }
}


/* ============================================
   صفحه تماس با ما - ساده
   ============================================ */

/* هدر صفحه تماس */
.contact-header-simple {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.contact-header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #f9d423;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.contact-header-title {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.contact-header-text {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* کارت‌های اطلاعات تماس */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

    .contact-info-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        text-decoration: none;
    }

.contact-info-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: #fff;
}

.contact-info-phone .contact-info-icon {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

.contact-info-time .contact-info-icon {
    background: linear-gradient(135deg, #f57c00, #e65100);
}

.contact-info-location .contact-info-icon {
    background: linear-gradient(135deg, #198754, #146c43);
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-label {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.8rem;
    color: #6c757d;
}

.contact-info-value {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a1628;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-header-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }

    .contact-header-title {
        font-size: 1.7rem;
    }

    .contact-header-text {
        font-size: 0.9rem;
    }

    .contact-info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .contact-info-value {
        font-size: 0.95rem;
    }
}
/* ============================================
   فرم تماس زیبا
   ============================================ */
.pretty-contact-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    height: 100%;
}

    .pretty-contact-form::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 5px;
        background: linear-gradient(90deg, #0d6efd, #0a1628, #f9d423);
    }

.pretty-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e9ecef;
}

.pretty-form-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #0d6efd, #0a1628);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.25);
}

.pretty-form-title {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #0a1628;
    margin-bottom: 8px;
}

.pretty-form-subtitle {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.pretty-alert {
    background: #d1f4d9;
    color: #0f5132;
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .pretty-alert i {
        font-size: 1.1rem;
    }

.pretty-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pretty-form-group {
    margin-bottom: 18px;
}

.pretty-label {
    display: block;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #0a1628;
    margin-bottom: 8px;
}

    .pretty-label i {
        color: #0d6efd;
        margin-left: 6px;
        font-size: 0.85rem;
        width: 16px;
    }

.pretty-input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    color: #2d3436;
}

    .pretty-input:focus {
        outline: none;
        border-color: #0d6efd;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
        transform: translateY(-1px);
    }

    .pretty-input::placeholder {
        color: #adb5bd;
        font-size: 0.85rem;
    }

textarea.pretty-input {
    resize: vertical;
    min-height: 110px;
    line-height: 1.8;
}

.pretty-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0a1628, #1a3a6b);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

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

    .pretty-submit-btn:hover::before {
        left: 100%;
    }

    .pretty-submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(10, 22, 40, 0.3);
        background: linear-gradient(135deg, #1a3a6b, #2d5aa0);
    }

    .pretty-submit-btn i {
        font-size: 1rem;
        transition: transform 0.3s ease;
    }

    .pretty-submit-btn:hover i {
        transform: translateX(-5px) rotate(-10deg);
    }

/* Responsive */
@media (max-width: 768px) {
    .pretty-contact-form {
        padding: 25px 20px;
    }

    .pretty-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pretty-form-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .pretty-form-title {
        font-size: 1.1rem;
    }

    .pretty-input {
        padding: 11px 14px;
        font-size: 0.85rem;
    }

    .pretty-submit-btn {
        padding: 13px;
        font-size: 0.9rem;
    }
}