.contact-section {
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem; /* Уменьшен gap с 6rem до 4rem */
    align-items: start;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    min-height: 500px; /* Уменьшена минимальная высота */
    justify-content: center; /* Изменено с space-between на center */ /* Увеличен padding */
}

.contact-left {
    opacity: 1;
    transform: translateX(0);
    flex: 1;
    max-width: 600px; /* Ограничена максимальная ширина */
}

.section-header {
    margin-bottom: 3rem;
}

.contact-section .main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px;
    min-height: 120px; /* Фиксированная высота для стабильности */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight {
    background: linear-gradient(135deg, red, green);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, red, green);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.contact-section .description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 2rem;
    min-height: 50px; /* Фиксированная высота для стабильности */
    display: flex;
    align-items: center;
}

.contact-info {
    margin-top: 2rem;
    display: flex;
    gap: 20px;
}

/* MOBILE FIX: Contact info responsive layout */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-info {
        gap: 1rem;
        margin-top: 1.5rem;
    }
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    min-height: 70px; /* Фиксированная высота для стабильности */
}

/* MOBILE FIX: Info item layout for mobile */
@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .info-item {
        margin-bottom: 1rem;
    }
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, red, green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

/* MOBILE FIX: Info icon responsive sizing */
@media (max-width: 768px) {
    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .info-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
    }
}

.info-content h3 {
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.info-content p {
    color: #ccc;
    font-size: 0.9rem;
}

.contact-right {
    opacity: 1;
    transform: translateX(0);
    flex: 1;
    max-width: 500px; /* Ограничена максимальная ширина */
}

.form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(0, 255, 200, 0.1);
}

/* MOBILE FIX: Form container responsive padding */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.2rem;
        margin: 0 -0.5rem;
        border-radius: 12px;
    }
}

.form-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.form-subtitle {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* MOBILE FIX: Form inputs responsive sizing */
@media (max-width: 480px) {
    .form-input,
    .form-textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .form-textarea {
        min-height: 100px;
    }
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #01B95F;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(1, 185, 95, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #666;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, red, green);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(1, 185, 95, 0.4);
}

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

.success-message {
    display: none;
    background: linear-gradient(45deg, red, green);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
}

/* Responsive Design */



