﻿.contact-hero {
    background: var(--gradient-main);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .contact-hero::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.3;
    }

    .contact-hero::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotate 20s linear infinite;
    }

/*@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}*/

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-stat {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
    transition: transform 0.3s ease;
}

    .contact-stat:hover {
        transform: translateY(-5px) scale(1.05);
    }

.contact-stat-number {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
    background: var(--surface-color);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

    [data-theme="dark"] .form-group input:focus,
    [data-theme="dark"] .form-group textarea:focus,
    [data-theme="dark"] .form-group select:focus {
        background: var(--surface-color);
        color: var(--text-color);
    }

/* Contact Info */
.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

    .contact-info::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: var(--gradient-main);
    }

    .contact-info h2 {
        font-size: 2.2rem;
        font-weight: 800;
        margin-bottom: 1rem;
        color: var(--text-color);
    }

    .contact-info p {
        color: var(--text-light);
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 400px;
    overflow: visible;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    background: var(--surface-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    min-height: 80px;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

    .contact-method:hover {
        background: var(--white);
        border-color: var(--primary-color);
        transform: translateX(8px);
        box-shadow: var(--shadow-lg);
    }

.contact-method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-method-info h3 {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-method-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

.contact-method-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

    .contact-method-info a:hover {
        text-decoration: underline;
    }

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    position: relative;
    min-height: 700px;
}

    .contact-form h2 {
        font-size: 2.2rem;
        font-weight: 800;
        margin-bottom: 1rem;
        color: var(--text-color);
    }

    .contact-form p {
        color: var(--text-light);
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

.form-group {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-color);
}

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(41, 61, 129, 0.1);
        transform: translateY(-2px);
    }

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    margin-top: 2rem;
}

.submit-btn {
    padding: 18px 40px;
    border-radius: 60px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
}

    .submit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s;
    }

    .submit-btn:hover::before {
        left: 100%;
    }

    .submit-btn.primary {
        background: var(--gradient-main);
        color: white;
    }

        .submit-btn.primary:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 15px 40px rgba(41, 61, 129, 0.4);
        }

    .submit-btn.secondary {
        background: var(--white);
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

        .submit-btn.secondary:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-4px) scale(1.02);
        }

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--surface-color);
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-badge {
    display: inline-block;
    background: rgba(41, 61, 129, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.faq-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .faq-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
    }

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.faq-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-question h3 {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.6;
}

/* Dark Theme Support */
[data-theme="dark"] .contact-info,
[data-theme="dark"] .contact-form {
    background: var(--surface-color);
}

[data-theme="dark"] .contact-method {
    background: var(--gray-800);
}

    [data-theme="dark"] .contact-method:hover {
        background: var(--surface-color);
    }

[data-theme="dark"] .faq-item {
    background: var(--surface-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-stats {
        flex-direction: column;
        align-items: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .form-submit {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .faq-item {
        padding: 1.5rem;
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

    .consent-checkbox input[type="checkbox"] {
        width: 24px;
        height: 24px;
        margin: 0;
        opacity: 1;
        position: relative;
        z-index: 1;
        transform: scale(1.2);
    }

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--white);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}

    .checkmark::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        color: white;
        font-weight: bold;
        font-size: 12px;
        transition: transform 0.2s ease;
    }

.consent-checkbox input[type="checkbox"]:checked + .consent-label .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

    .consent-checkbox input[type="checkbox"]:checked + .consent-label .checkmark::after {
        transform: translate(-50%, -50%) scale(1);
    }

.consent-text {
    color: var(--text-light);
    line-height: 1.5;
}

    .consent-text strong {
        color: var(--text-color);
    }

    .consent-text a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
    }

        .consent-text a:hover {
            text-decoration: underline;
        }

[data-theme="dark"] .checkmark {
    background: var(--surface-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .consent-checkbox input[type="checkbox"]:checked + .consent-label .checkmark {
    background: var(--primary-color);
}

.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

    .contact-modal-overlay.show {
        display: flex;
        animation: fadeIn 0.25s ease-out forwards;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.contact-modal {
    max-width: 540px;
    width: 90%;
}

.modal-content {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

    .modal-icon.success {
        color: #28a745;
    }

    .modal-icon.error {
        color: #dc3545;
    }

    .modal-icon.warning {
        color: #ffc107;
    }

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.modal-message {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.modal-close-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .modal-close-btn:hover {
        background: var(--primary-light);
        transform: translateY(-2px);
    }