        @font-face {
            font-family: 'IRANSans';
            src: url('fonts/IRANSansWeb.woff2') format('woff2'),
                url('fonts/IRANSansWeb.woff') format('woff'),
                url('fonts/IRANSansWeb.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'IRANSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
        }

        :root {
            --primary: #0A3A60;
            --primary-light: #1E6F9F;
            --primary-dark: #072B48;
            --secondary: #2F4858;
            --accent: #D97706;
            --success: #0F9665;
            --warning: #D97706;
            --error: #E63946;

            --text-primary: #1F2937;
            --text-secondary: #4B5563;
            --text-muted: #9CA3AF;
            --text-light: #F3F4F6;

            --bg-primary: #FFFFFF;
            --bg-secondary: #F0F4F8;
            --bg-tertiary: #E5E7EB;

            --border: #E5E7EB;
            --border-light: #F3F4F6;

            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

            --radius-sm: 6px;
            --radius-md: 8px;
            --radius-lg: 12px;
            --radius-xl: 16px;
            --radius-2xl: 20px;
            --radius-full: 9999px;
        }

        body {
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-darker) 100%);
            padding: 8rem 2rem 6rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            min-height: 50vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 50%, rgba(13, 148, 136, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .hero-title {
            font-size: clamp(2.5rem, 6vw, 3.5rem);
            font-weight: 800;
            color: white;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            animation: fadeInUp 1s ease-out;
        }

        .hero-subtitle {
            font-size: clamp(1rem, 2vw, 1.2rem);
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2rem;
            line-height: 1.7;
            animation: fadeInUp 1s ease-out 0.3s both;
            max-width: 650px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-highlight {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Contact Info Section */
        .contact-info-section {
            background: var(--bg-secondary);
            padding: 6rem 0;
            position: relative;
        }

        .contact-info-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3.5rem;
        }

        .section-title {
            font-size: clamp(1.8rem, 3.5vw, 2.5rem);
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: var(--radius-full);
        }

        .contact-info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-bottom: 4rem;
        }

        /* Contact Cards */
        .contact-cards {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .contact-card {
            background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
            border-radius: var(--radius-xl);
            padding: 2.5rem;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .contact-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(to bottom, var(--primary), var(--primary-light));
            border-radius: var(--radius-full);
        }

        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .contact-card-header {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .contact-card-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: var(--shadow-md);
            font-size: 1.5rem;
        }

        .contact-card-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
        }

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

        .contact-info-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding: 0.75rem;
            border-radius: var(--radius-lg);
            transition: all 0.3s ease;
        }

        .contact-info-item:hover {
            background: var(--bg-secondary);
        }

        .contact-info-item:last-child {
            margin-bottom: 0;
        }

        .contact-info-icon {
            width: 22px;
            height: 22px;
            color: var(--primary);
            margin-top: 0.1rem;
            flex-shrink: 0;
            font-size: 1.2rem;
        }

        .contact-info-content {
            flex: 1;
        }

        .contact-info-label {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .contact-info-value {
            color: var(--text-secondary);
            direction: ltr;
            text-align: right;
            font-size: 1rem;
            line-height: 1.8;
        }

        .contact-info-value a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-info-value a:hover {
            color: var(--primary);
        }

        /* Map Section */
        .map-container {
            background: var(--bg-primary);
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border);
            position: relative;
            height: 100%;
            min-height: 450px;
            transition: all 0.4s ease;
        }

        .map-container:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .map-placeholder {
            height: 100%;
            background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            position: relative;
            overflow: hidden;
        }

        .map-placeholder::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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23D1D5DB" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
            opacity: 0.5;
        }

        .map-icon {
            width: 80px;
            height: 80px;
            color: var(--primary);
            margin-bottom: 2rem;
            z-index: 1;
            position: relative;
        }

        .map-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
            z-index: 1;
            position: relative;
        }

        .map-address {
            color: var(--text-secondary);
            text-align: center;
            line-height: 1.8;
            max-width: 280px;
            z-index: 1;
            position: relative;
            font-size: 1.1rem;
        }

        .map-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
            padding: 3rem 2rem 2rem;
            text-align: center;
        }

        .directions-btn {
            background: var(--primary);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: var(--radius-lg);
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
        }

        .directions-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* Working Hours */
        .working-hours {
            background: var(--primary);
            color: white;
            border-radius: var(--radius-xl);
            padding: 2.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .working-hours::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
        }

        .working-hours-content {
            position: relative;
            z-index: 1;
        }

        .working-hours h3 {
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
        }

        .working-hours-list {
            list-style: none;
            max-width: 280px;
            margin: 0 auto;
        }

        .working-hours-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .working-hours-item:last-child {
            border-bottom: none;
        }

        .working-hours-day {
            font-weight: 600;
        }

        .working-hours-time {
            opacity: 0.9;
            direction: ltr;
        }

        /* Contact Form Section */
        .contact-form-section {
            padding: 6rem 0;
            background: var(--bg-primary);
        }

        .contact-form-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .contact-form-wrapper {
            background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
            border-radius: var(--radius-xl);
            padding: 3rem;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-light);
            position: relative;
            overflow: hidden;
        }

        .contact-form-wrapper::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 50%);
        }

        .form-header {
            text-align: center;
            margin-bottom: 2.5rem;
            position: relative;
            z-index: 1;
        }

        .form-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
        }

        .form-subtitle {
            color: var(--text-secondary);
            font-size: 1rem;
            line-height: 1.7;
            max-width: 650px;
            margin: 0 auto;
        }

        .contact-form {
            position: relative;
            z-index: 1;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .form-label {
            display: block;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .form-label .required {
            color: var(--error);
            margin-right: 0.25rem;
        }

        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            background: white;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 0.9rem 1rem;
            font-size: 0.95rem;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
            transform: translateY(-1px);
        }

        .form-textarea {
            resize: vertical;
            min-height: 150px;
        }

        .form-select {
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%236B7280"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/></svg>');
            background-repeat: no-repeat;
            background-position: left 1rem center;
            background-size: 1.25rem;
            padding-left: 3rem;
            appearance: none;
        }

        .form-checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .form-checkbox {
            width: 20px;
            height: 20px;
            border: 2px solid var(--border);
            border-radius: var(--radius-sm);
            background: white;
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
        }

        .form-checkbox:checked {
            background: var(--primary);
            border-color: var(--primary);
        }

        .form-checkbox:checked::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .form-checkbox-label {
            color: var(--text-secondary);
            line-height: 1.6;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .form-checkbox-label a {
            color: var(--primary);
            text-decoration: none;
        }

        .form-checkbox-label a:hover {
            text-decoration: underline;
        }

.form-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;

    /* === تغییرات برای وسط‌چین کردن === */
    display: flex; /* تغییر از inline-flex به flex (یا block اگر محتوای داخلی آن نیاز به flex ندارد) */
    align-items: center; /* این برای چینش عمودی محتوای داخلی دکمه است (اگر آیکون و متن دارد) */
    justify-content: center; /* این برای چینش افقی محتوای داخلی دکمه است (اگر لازم باشد) */
    gap: 0.75rem; /* فاصله بین آیکون و متن داخل دکمه */

    margin-left: auto;   /* برای وسط‌چین کردن خود دکمه */
    margin-right: auto;  /* برای وسط‌چین کردن خود دکمه */
    width: fit-content;  /* عرض دکمه بر اساس محتوای آن تنظیم می‌شود */
    /* اگر عرض ثابت می‌خواهید: width: 200px; (مثال) */
    /* === پایان تغییرات === */

    position: relative; /* این و خط بعدی از کد شما بودند */
    overflow: hidden;
}

        .form-submit::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.6s ease;
        }

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

        .form-submit:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-xl);
        }

        .form-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .loading-spinner {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: none;
        }

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

        /* Success Message */
        .success-message {
            background: linear-gradient(135deg, var(--success), #0EA5E9);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: var(--radius-lg);
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            display: none;
            font-size: 0.95rem;
        }

        .success-message.show {
            display: flex;
            animation: fadeInUp 0.5s ease-out;
        }

        /* Error Message */
        .error-message {
            background: linear-gradient(135deg, var(--error), #F97316);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: var(--radius-lg);
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            display: none;
            font-size: 0.95rem;
        }

        .error-message.show {
            display: flex;
            animation: fadeInUp 0.5s ease-out;
        }

        /* Department Cards */
        .departments-section {
            background: var(--bg-tertiary);
            padding: 5rem 0;
        }

        .departments-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .departments-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .department-card {
            background: var(--bg-primary);
            border-radius: var(--radius-xl);
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .department-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 40px;
            background: linear-gradient(to bottom, var(--primary), var(--primary-light));
            border-radius: 0 0 var(--radius-full) var(--radius-full);
        }

        .department-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .department-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            margin: 0 auto 1.5rem;
            box-shadow: var(--shadow-md);
        }

        .department-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
        }

        .department-description {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

        .department-contact {
            background: var(--bg-secondary);
            border-radius: var(--radius-lg);
            padding: 1.25rem;
            margin-top: 1.5rem;
        }

        .department-contact-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-secondary);
            font-size: 0.85rem;
        }

        .department-contact-item:last-child {
            margin-bottom: 0;
        }

        .department-contact-item svg {
            width: 16px;
            height: 16px;
            color: var(--primary);
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

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

        /* Responsive */
        @media (max-width: 1024px) {
            .contact-info-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .departments-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .hero {
                padding: 7rem 1rem 5rem;
            }

            .contact-form-wrapper {
                padding: 2.5rem 1.5rem;
            }

            .form-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .departments-section,
            .contact-info-section,
            .contact-form-section {
                padding: 4rem 0;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .form-title {
                font-size: 1.8rem;
            }

            .contact-card {
                padding: 1.5rem;
            }

            .department-card {
                padding: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .hero {
                padding: 6rem 1rem 4rem;
                min-height: 40vh;
            }

            .nav-container {
                padding: 0.75rem 1rem;
            }

            .contact-form-wrapper {
                padding: 1.5rem;
            }

            .contact-card {
                padding: 1.25rem;
            }

            .working-hours {
                padding: 1.5rem;
            }

            .departments-section,
            .contact-info-section,
            .contact-form-section {
                padding: 3rem 0;
            }

            .contact-info-container,
            .contact-form-container,
            .departments-container {
                padding: 0 1rem;
            }

            .section-title {
                font-size: 1.6rem;
            }

            .form-title {
                font-size: 1.6rem;
            }
        }

        /* Contact Section */
        .contact-section {
            padding: 6rem 0;
            background: var(--bg-secondary);
            position: relative;
        }

        .contact-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        /* Contact Info */
        .contact-info-wrapper {
            display: flex;
            flex-direction: column;
        }

        .contact-card {
            background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
            border-radius: var(--radius-xl);
            padding: 2.5rem;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            height: 100%;
        }

        .contact-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(to bottom, var(--primary), var(--primary-light));
            border-radius: var(--radius-full);
        }

        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        /* Contact Form */
        .contact-form-wrapper {
            background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
            border-radius: var(--radius-xl);
            padding: 2.5rem;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-light);
            position: relative;
            overflow: hidden;
            height: 100%;
        }

        .contact-form-wrapper::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 50%);
        }

        /* Full Width Map */
        .map-container-full {
            background: var(--bg-primary);
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border);
            position: relative;
            height: 400px;
            margin-top: 2rem;
            margin-bottom: 2rem;
            transition: all 0.4s ease;
        }

        .map-container-full:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .map-placeholder {
            height: 100%;
            background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            position: relative;
            overflow: hidden;
        }

        .map-placeholder::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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23D1D5DB" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
            opacity: 0.5;
        }

        .map-icon {
            width: 80px;
            height: 80px;
            color: var(--primary);
            margin-bottom: 1.5rem;
            z-index: 1;
            position: relative;
        }

        .map-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
            z-index: 1;
            position: relative;
        }

        .map-address {
            color: var(--text-secondary);
            text-align: center;
            line-height: 1.8;
            max-width: 280px;
            z-index: 1;
            position: relative;
            font-size: 1.1rem;
        }

        .map-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
            padding: 3rem 2rem 2rem;
            text-align: center;
        }

        .directions-btn {
            background: var(--primary);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: var(--radius-lg);
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
        }

        .directions-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        @media (max-width: 1024px) {
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .contact-section {
                padding: 4rem 0;
            }

            .contact-container {
                padding: 0 1.5rem;
            }

            .contact-card,
            .contact-form-wrapper {
                padding: 2rem;
            }

            .map-container-full {
                height: 350px;
            }

            .map-icon {
                width: 60px;
                height: 60px;
            }

            .map-title {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .contact-section {
                padding: 3rem 0;
            }

            .contact-container {
                padding: 0 1rem;
            }

            .contact-card,
            .contact-form-wrapper {
                padding: 1.5rem;
            }

            .map-container-full {
                height: 300px;
            }
        }


        /* static/core/css/contact_styles.css */


/* بخش اصلی اطلاعات تماس و فرم */
.contact-section .contact-container {
    text-align: right; /* یک تنظیم کلی برای این بخش */
}

/* کارت اطلاعات دفتر مرکزی */
.contact-section .contact-card .contact-card-header,
.contact-section .contact-card .contact-card-title {
    text-align: right;
}

.contact-section .contact-info-list .contact-info-item {
    text-align: right;
}

.contact-section .contact-info-list .contact-info-label {
    text-align: right;
    font-weight: bold; /* برای برجسته کردن لیبل‌ها مانند "نشانی:" */
}

.contact-section .contact-info-list .contact-info-value,
.contact-section .contact-info-list .contact-info-value a {
    text-align: right;
    direction: rtl; /* برای اطمینان از نمایش صحیح اعداد و متن ترکیبی */
}

/* بخش فرم تماس */
.contact-section .contact-form-wrapper .form-header .form-subtitle {
    text-align: right; /* متن "لطفا فرم زیر را تکمیل نمایید..." */
}

.contact-section .contact-form .form-group {
    text-align: right;
}

.contact-section .contact-form .form-label,
.contact-section .contact-form label { /* برای پوشش label هایی که با form.field.label_tag ساخته می‌شوند */
    text-align: right;
    display: block; /* اطمینان از اینکه لیبل تمام عرض موجود را می‌گیرد و متن در آن راست‌چین می‌شود */
    margin-bottom: 0.5rem; /* فاصله از فیلد ورودی */
}

/* فیلدهای ورودی، انتخاب و متنی */
.contact-section .contact-form .form-input,
.contact-section .contact-form .form-select,
.contact-section .contact-form .form-textarea {
    text-align: right; /* برای متن داخل فیلدها و placeholder */
    direction: rtl;
}

/* گزینه‌های داخل دراپ‌داون "موضوع پیام" */
.contact-section .contact-form .form-select option {
    direction: rtl;
    text-align: right;
}

/* متن مربوط به شرایط و قوانین (این مورد در HTML شما استایل inline دارد، اما برای اطمینان) */
.contact-section .contact-form p[style*="text-align: right"] {
    text-align: right !important; /* برای اولویت بر استایل inline اگر نیاز باشد */
}

/* دکمه ارسال پیام */
.contact-section .contact-form .form-submit {
    /* متن داخل دکمه معمولا با توجه به direction کلی صفحه درست نمایش داده می‌شود. */
    /* اگر نیاز به تنظیم خاصی بود: */
    /* text-align: right; */ /* اگر آیکون در سمت چپ متن باشد و بخواهید متن به راست بچسبد */
}

/* اگر از کلاس‌های عمومی‌تری برای عناوین بخش استفاده می‌کنید */
.section-header .section-title {
    text-align: center; /* یا right، بسته به طراحی کلی */
}



/* =================================
   اصلاح تداخل استایل نقشه صفحه تماس با ما و فوتر
   ================================= */

/* استایل‌های اختصاصی نقشه صفحه تماس با ما */
.contact-section .map-container-full {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin-top: 3rem;
    position: relative;
}

.contact-section .map-container-full iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-section .map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    position: relative;
}

.contact-section .map-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-section .map-title {
    font-family: 'IRANSans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-section .map-address {
    color: var(--text-secondary);
    text-align: center;
    font-size: 1rem;
    max-width: 300px;
}

.contact-section .map-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

.contact-section .directions-btn {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.contact-section .directions-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* استایل‌های نقشه فوتر - جداسازی از نقشه صفحه تماس */
.footer .map-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    height: 300px; /* ارتفاع ثابت برای فوتر */
    position: relative;
    width: 100%; /* عرض 100% از ستون فوتر */
}

.footer .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius-xl);
}

.footer .map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    position: relative;
    overflow: hidden;
}

.footer .map-placeholder::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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23D1D5DB" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.footer .map-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
}

.footer .map-title {
    font-family: 'IRANSans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    z-index: 1;
    position: relative;
}

/* ریسپانسیو برای نقشه صفحه تماس */
@media (max-width: 992px) {
    .contact-section .map-container-full {
        height: 350px;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section .map-container-full {
        height: 300px;
        border-radius: var(--radius-xl);
        margin-top: 1.5rem;
    }

    .contact-section .map-overlay {
        bottom: 1rem;
        right: 1rem;
    }

    .contact-section .directions-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .contact-section .map-icon {
        font-size: 3rem;
    }

    .contact-section .map-title {
        font-size: 1.2rem;
    }

    .contact-section .map-address {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-section .map-container-full {
        height: 250px;
        border-radius: var(--radius-lg);
    }

    .contact-section .directions-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ریسپانسیو برای نقشه فوتر */
@media (max-width: 768px) {
    .footer .map-container {
        height: 250px;
        margin-top: 1rem;
    }

    .footer .map-icon {
        width: 50px;
        height: 50px;
    }

    .footer .map-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer .map-container {
        height: 200px;
    }
}

/* اطمینان از عدم تداخل استایل‌ها */
.contact-section .map-container {
    /* این کلاس در صفحه تماس استفاده نمی‌شود */
    display: none !important;
}

/* جلوگیری از اعمال استایل‌های عمومی map روی نقشه‌های خاص */
.map-container:not(.footer .map-container):not(.contact-section .map-container-full) {
    /* استایل‌های پیش‌فرض برای سایر نقشه‌ها */
}

/* اصلاح grid فوتر در موبایل */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section:has(.map-container) {
        order: 4; /* نقشه در آخر نمایش داده شود */
        width: 100%;
        padding: 0 1rem;
    }
}