.contact-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.contact-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?q=80&w=2000&auto=format&fit=crop') center/cover;
    background-attachment: fixed;
    z-index: 0;
}

.contact-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(15,15,15,0.75) 100%);
    z-index: 1;
}

.contact-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-header h1 {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form-col {
    order: 1;
}


.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
    order: 2;
}

.info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.info-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.info-icon i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.info-box:hover .info-icon {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.1) rotate(5deg);
}

.info-box h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
}

.info-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

.info-box strong {
    color: var(--primary-color);
    font-weight: 600;
}

.glass-form {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--text-light);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.form-input:focus {
    border-bottom-color: var(--primary-color);
}

.form-input.error {
    border-bottom-color: #ff4444;
}


.form-label {
    position: absolute;
    top: 14px;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-input:valid ~ .form-label {
    top: -8px;
    font-size: 0.75rem;
    color: var(--primary-color);
}

.form-input.error ~ .form-label {
    color: #ff4444;
}


.form-error {
    display: block;
    color: #ff4444;
    font-size: 0.75rem;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.input-group.error .form-error {
    opacity: 1;
    transform: translateY(0);
}


select.form-input {
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

select.form-input:valid,
select.form-input:focus {
    color: var(--text-light);
}

select.form-input option {
    background: #1a1a1a;
    color: #fff;
}


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


.form-submit-btn {
    width: 100%;
    padding: 16px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit-btn:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-submit-btn:disabled {
    background: rgba(37, 211, 102, 0.5);
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-text i {
    font-size: 1.2rem;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}


.form-success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.form-success i {
    color: #4CAF50;
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}


.char-counter {
    text-align: right;
    color: var(--text-gray);
    font-size: 0.75rem;
    margin-top: 5px;
}

.map-section {
    width: 100%;
    background: #0a0a0a;
}

.map-container {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(80%) invert(92%) contrast(90%);
    transition: filter 0.5s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) invert(0%) contrast(100%);
}

@media (min-width: 768px) {
    .contact-header {
        min-height: 60vh;
        padding: 160px 0 100px;
    }

    .contact-header h1 {
        font-size: 4rem;
    }

    .contact-subtitle {
        font-size: 1.2rem;
    }

    .contact-section {
        padding: 80px 0;
    }

    .contact-wrapper {
        flex-direction: row;
        gap: 50px;
        align-items: flex-start;
    }

    
    .contact-info-col {
        order: 1;
        flex: 1;
        min-width: 300px;
    }

    .contact-form-col {
        order: 2;
        flex: 1.3;
        min-width: 350px;
    }

    .glass-form {
        padding: 45px 40px;
    }

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

    .map-container {
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .contact-header h1 {
        font-size: 5rem;
    }

    .contact-section {
        padding: 100px 0;
    }

    .contact-wrapper {
        gap: 60px;
    }

    .info-box {
        padding: 30px;
    }

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

    .info-icon i {
        font-size: 1.5rem;
    }

    .info-box h3 {
        font-size: 1.4rem;
    }

    .glass-form {
        padding: 50px 45px;
    }

    .map-container {
        height: 500px;
    }
}

@media (min-width: 1440px) {
    .contact-header h1 {
        font-size: 6rem;
    }

    .contact-wrapper {
        gap: 80px;
    }

    .glass-form {
        padding: 60px 50px;
    }
}

@media (max-width: 767px) {
    .contact-header {
        min-height: 45vh;
        padding: 120px 0 60px;
    }

    .contact-header h1 {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-wrapper {
        gap: 30px;
    }

    .info-box {
        padding: 20px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
    }

    .info-icon i {
        font-size: 1.1rem;
    }

    .info-box h3 {
        font-size: 1.2rem;
    }

    .info-box p {
        font-size: 0.9rem;
    }

    .glass-form {
        padding: 30px 20px;
    }

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

    .form-subtitle {
        font-size: 0.85rem;
    }

    .input-group {
        margin-bottom: 25px;
    }

    .form-input {
        padding: 12px 0;
        font-size: 0.95rem;
    }

    .form-submit-btn {
        padding: 14px;
        font-size: 0.95rem;
    }

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

@media (prefers-reduced-motion: reduce) {
    .info-box,
    .form-input,
    .form-submit-btn {
        transition: none;
        animation: none;
    }
}


.form-input:focus-visible,
.form-submit-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}


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

.btn-loader i {
    animation: spin 1s linear infinite;
}


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