body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.contact-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 60px 40px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    width: 100%;
}

.contact-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-wrapper {
    max-width: 500px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.contact-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.contact-header {
    text-align: center;
    margin-bottom: 25px;
}

.contact-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 8px;
}

.contact-icon-animation {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.contact-icon-animation svg {
    width: 100% !important;
    height: 100% !important;
}

.contact-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.contact-note {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
    font-style: italic;
}

.contact-form {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

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

.form-submit {
    width: 100%;
    padding: 12px;
    background: var(--accent-purple);
    border: 2px solid var(--accent-purple);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.form-submit:hover {
    background: var(--accent-purple-dark);
    border-color: var(--accent-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

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

.form-submit i {
    font-size: 16px;
}

/* Success Message */
.form-success {
    background: rgba(39, 201, 63, 0.1);
    border: 2px solid #27c93f;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    color: #27c93f;
    text-align: center;
    display: none;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

/* Error Message */
.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    color: #ef4444;
    text-align: center;
    display: none;
}

.form-error.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

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

/* Checkbox Group */
.form-checkbox-group {
    margin-bottom: 18px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-checkbox {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    accent-color: var(--accent-purple);
    flex-shrink: 0;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: var(--accent-purple-light);
    text-decoration: underline;
}

/* Lottie Animation Container */
.lottie-container {
    width: 100%;
    max-width: 600px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.lottie-container svg {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
        padding: 100px 40px 40px;
    }

    .contact-left {
        width: 100%;
    }

    .contact-wrapper {
        max-width: 100%;
    }

    .contact-right {
        min-height: 400px;
        width: 100%;
    }

    .lottie-container {
        max-width: 500px;
        height: 400px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 90px 30px 30px;
        gap: 35px;
    }

    .contact-header {
        margin-bottom: 20px;
    }

    .contact-title-wrapper {
        gap: 12px;
    }

    .contact-icon-animation {
        width: 45px;
        height: 45px;
    }

    .contact-title {
        font-size: 36px;
        line-height: 1.2;
    }

    .contact-subtitle {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .contact-note {
        font-size: 11px;
    }

    .contact-form {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-label {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .form-input,
    .form-textarea {
        padding: 11px 13px;
        font-size: 14px;
        border-radius: 8px;
    }

    .form-textarea {
        min-height: 100px;
        max-height: 130px;
    }

    .form-submit {
        padding: 13px;
        font-size: 15px;
        margin-top: 6px;
    }

    .contact-right {
        min-height: 320px;
    }

    .lottie-container {
        max-width: 100%;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 80px 20px 25px;
        gap: 30px;
    }

    .contact-header {
        margin-bottom: 18px;
        text-align: center;
    }

    .contact-title-wrapper {
        gap: 10px;
    }

    .contact-icon-animation {
        width: 40px;
        height: 40px;
    }

    .contact-title {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 0;
    }

    .contact-subtitle {
        font-size: 15px;
        margin-bottom: 3px;
    }

    .contact-note {
        font-size: 10px;
    }

    .contact-form {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .form-input,
    .form-textarea {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

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

    .form-submit {
        padding: 12px;
        font-size: 14px;
        margin-top: 4px;
        width: 100%;
        touch-action: manipulation;
    }

    .form-submit i {
        font-size: 14px;
    }

    .contact-right {
        min-height: 250px;
    }

    .lottie-container {
        max-width: 100%;
        height: 250px;
    }

    .form-success {
        padding: 12px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .contact-title-wrapper {
        gap: 8px;
    }

    .contact-icon-animation {
        width: 35px;
        height: 35px;
    }

    .contact-title {
        font-size: 24px;
    }

    .contact-subtitle {
        font-size: 14px;
    }

    .contact-form {
        padding: 18px 14px;
    }

    .form-input,
    .form-textarea {
        font-size: 13px;
        padding: 9px 11px;
    }

    .form-submit {
        font-size: 13px;
        padding: 11px;
    }

    .lottie-container {
        height: 220px;
    }
}

