/* صفحه تماس با ما */

.contact-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, 
        rgba(0, 184, 148, 0.1) 0%, 
        rgba(9, 132, 227, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-hero-content {
    animation: fadeInLeft 1s ease-out;
}

.contact-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, 
        rgba(0, 184, 148, 0.1), 
        rgba(9, 132, 227, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.contact-hero-3d {
    animation: fadeInRight 1s ease-out;
}

.three-model {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, 
        rgba(0, 184, 148, 0.1), 
        rgba(9, 132, 227, 0.1));
}

.contact-wave {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 120px;
    color: var(--bg-primary);
}

.contact-wave svg {
    width: 100%;
    height: 100%;
}

/* اطلاعات تماس */
.contact-info-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(223, 230, 233, 0.5);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to left, 
        var(--primary-color), 
        var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-card:hover::before {
    opacity: 1;
}

.phone-card:hover {
    border-color: var(--primary-color);
}

.email-card:hover {
    border-color: var(--secondary-color);
}

.address-card:hover {
    border-color: #fdcb6e;
}

.social-card:hover {
    border-color: #00b894;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, 
        rgba(0, 184, 148, 0.1), 
        rgba(9, 132, 227, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon {
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color));
    transform: scale(1.1);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon svg {
    fill: white;
}

.card-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
}

.contact-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(223, 230, 233, 0.3);
}

.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    min-width: 100px;
    flex-shrink: 0;
}

.detail-value {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

.detail-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.detail-value a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.card-action {
    margin-top: auto;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.call-action {
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color));
    color: white;
}

.call-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.email-action {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.email-action:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.map-action {
    background: #fdcb6e;
    color: #2d3436;
}

.map-action:hover {
    background: #f9c855;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-action {
    background: #00b894;
    color: white;
}

.social-action:hover {
    background: #00a085;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-action svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* لینک‌های شبکه‌های اجتماعی */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.social-link.telegram {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, 0.2);
}

.social-link.telegram:hover {
    background: #0088cc;
    color: white;
    transform: translateY(-2px);
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    border: 1px solid rgba(225, 48, 108, 0.2);
}

.social-link.instagram:hover {
    background: #e1306c;
    color: white;
    transform: translateY(-2px);
}

.social-link.linkedin {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
    border: 1px solid rgba(0, 119, 181, 0.2);
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-2px);
}

.social-link.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.social-link.whatsapp:hover {
    background: #25d366;
    color: white;
    transform: translateY(-2px);
}

/* فرم تماس */
.contact-form-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        rgba(0, 184, 148, 0.03) 0%, 
        rgba(9, 132, 227, 0.03) 100%);
}

.contact-form-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.form-intro {
    animation: fadeInLeft 0.8s ease-out;
}

.form-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.form-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.form-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
    flex-shrink: 0;
}

.contact-form {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeInRight 0.8s ease-out;
}

.form-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, 
        rgba(0, 184, 148, 0.05), 
        rgba(9, 132, 227, 0.05));
    border-bottom: 1px solid rgba(223, 230, 233, 0.5);
}

.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color));
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 1rem;
    position: relative;
    top: -20px;
}

.form-steps {
    padding: 0;
}

.form-step {
    display: none;
    padding: 2rem;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.step-content {
    margin-bottom: 2rem;
}

.step-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    font-family: 'IRANSans', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23636e72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.5rem center;
    background-size: 1rem;
    padding-left: 2rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    right: 0;
    font-size: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group select:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--primary-color);
}

.form-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to left, 
        var(--primary-color), 
        var(--secondary-color));
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

/* آپلود فایل */
.upload-label {
    display: block;
    cursor: pointer;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(0, 184, 148, 0.05);
}

.upload-area svg {
    width: 48px;
    height: 48px;
    fill: var(--text-light);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.upload-area:hover svg {
    fill: var(--primary-color);
}

.upload-area span {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.upload-area small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.file-preview {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
}

.file-name {
    font-size: 0.9rem;
    color: var(--text-primary);
    flex: 1;
    margin-left: 0.75rem;
}

.file-size {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: 1rem;
}

.file-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.file-remove:hover {
    background: rgba(231, 76, 60, 0.1);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.checkbox input {
    width: auto;
    margin-top: 0.25rem;
}

.terms-link,
.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover,
.privacy-link:hover {
    text-decoration: underline;
}

/* خلاصه بررسی */
.review-summary {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(223, 230, 233, 0.5);
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.summary-value {
    color: var(--text-secondary);
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* مرحله موفقیت */
.success-step {
    padding: 3rem 2rem;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.success-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.success-details {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.success-details p {
    margin-bottom: 0.5rem;
}

#message-id {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.new-message-btn,
.home-btn {
    min-width: 150px;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(223, 230, 233, 0.5);
}

.step-actions button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.next-step svg {
    transform: rotate(180deg);
}

.prev-step svg {
    transform: rotate(0);
}

.submit-btn {
    position: relative;
    min-width: 150px;
}

.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;
}

/* نقشه */
.map-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.map-container {
    margin-top: 3rem;
}

.map-wrapper {
    position: relative;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 184, 148, 0.1), 
        rgba(9, 132, 227, 0.1));
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.map-info {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.map-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.map-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.map-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
}

.map-features .feature svg {
    fill: white;
}

.get-directions {
    background: white;
    color: var(--primary-color);
    border: none;
}

.get-directions:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.transportation-info {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.transportation-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.transport-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.transport-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.transport-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.transport-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.transport-icon.metro {
    background: #ef5777;
}

.transport-icon.bus {
    background: #4bcffa;
}

.transport-icon.parking {
    background: #fdcb6e;
    color: #2d3436;
}

.transport-content h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.transport-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

/* سوالات متداول */
.contact-faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        rgba(0, 184, 148, 0.03) 0%, 
        rgba(9, 132, 227, 0.03) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(223, 230, 233, 0.5);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 184, 148, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* انیمیشن‌ها */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* رسپانسیو */
@media (max-width: 1200px) {
    .contact-hero .container {
        gap: 3rem;
    }
    
    .contact-title {
        font-size: 3rem;
    }
    
    .contact-form-container {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-hero-content {
        text-align: center;
        animation: fadeInUp 0.8s ease-out;
    }
    
    .contact-stats {
        justify-content: center;
    }
    
    .contact-hero-3d {
        order: -1;
        animation: fadeInUp 0.8s ease-out;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-intro {
        text-align: center;
    }
    
    .form-features {
        align-items: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .transport-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 60px;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-subtitle {
        font-size: 1.3rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-progress {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-line {
        width: 2px;
        height: 20px;
        margin: 0.5rem 0;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-actions button {
        width: 100%;
        justify-content: center;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .detail-label {
        min-width: auto;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .map-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}