body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, var(--primary-color-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--primary-color) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, var(--primary-color-light) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.contact-section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color-light);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-header p {
    font-size: 1.125rem;
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Container */
.contact-container {
    background: var(--background-color-light);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 1;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsPSIjODA4MDgwIiBmaWxsLW9wYWNpdHk9IjAuMDUiPjxwYXRoIGQ9Ik0wIDBoNDB2NDBIMHptMjAgMjBhMTAgMTAgMCAxIDAgMCAxIDEwIDEwIDAgMCAwIDAtMXoiLz48L2c+PC9zdmc+');
    opacity: 0.2;
    z-index: -1;
    border-radius: 24px;
}

.contact-form {
    position: relative;
    z-index: 1;
}

/* Form Styles */
.contact-section .form-group {
    margin-bottom: 1.5rem;
}

.contact-section .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color-dark);
    font-size: 0.875rem;
}

.contact-section .form-label .required {
    color: var(--danger-color, #ef4444);
    margin-left: 2px;
}

.contact-section .form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--text-color-dark);
    background-color: var(--background-color-light);
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.contact-section .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact-section .form-control::placeholder {
    color: var(--text-color-medium);
    opacity: 0.6;
}

.contact-section textarea.form-control {
    min-height: 150px;
    resize: vertical;
    font-family: 'Outfit', sans-serif;
}

.contact-section .input-icon-wrapper {
    position: relative;
}

.contact-section .input-icon {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    color: var(--border-color);
    font-size: 1rem;
}

.contact-section .input-with-icon {
    padding-left: 3rem;
}

.contact-section .btn-submit {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: var(--text-color-light);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
    margin-top: 0.5rem;
}

.contact-section .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

.contact-section .btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.contact-section .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Contact Info */
.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.contact-info p {
    color: var(--text-color-medium);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--primary-color-dark);
}

/* Animations */
@keyframes contactFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.contact-header {
    animation: contactFadeInDown 0.8s ease-out;
}

.contact-container {
    animation: contactFadeInUp 0.8s ease-out 0.2s both;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-section {
        margin: 3rem auto;
        padding: 1.5rem;
    }

    .contact-header {
        margin-bottom: 2.5rem;
    }

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

    .contact-header p {
        font-size: 1.0625rem;
    }

    .contact-container {
        padding: 2.5rem;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        margin: 2rem auto;
        padding: 1rem;
    }

    .contact-header {
        margin-bottom: 2rem;
    }

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

    .contact-header p {
        font-size: 1rem;
    }

    .contact-container {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .contact-section .form-group {
        margin-bottom: 1.25rem;
    }

    .contact-section .form-control {
        padding: 0.8125rem 1.125rem;
    }

    .contact-section textarea.form-control {
        min-height: 130px;
    }

    .contact-section .btn-submit {
        padding: 0.8125rem;
        font-size: 0.8125rem;
    }

    .contact-info {
        margin-top: 2.5rem;
        padding-top: 1.5rem;
    }

    .contact-info p {
        font-size: 0.8125rem;
    }
}

@media (max-width: 640px) {
    .contact-section {
        margin: 1.5rem auto;
        padding: 0.75rem;
    }

    .contact-header {
        margin-bottom: 1.5rem;
    }

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

    .contact-header p {
        font-size: 0.9375rem;
    }

    .contact-container {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }

    .contact-section .form-group {
        margin-bottom: 1rem;
    }

    .contact-section .form-label {
        font-size: 0.8125rem;
    }

    .contact-section .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }

    .contact-section .input-icon {
        left: 1rem;
        font-size: 0.9375rem;
    }

    .contact-section .input-with-icon {
        padding-left: 2.5rem;
    }

    .contact-section textarea.form-control {
        min-height: 120px;
    }

    .contact-section .btn-submit {
        padding: 0.75rem;
        font-size: 0.8125rem;
    }

    .contact-info {
        margin-top: 2rem;
        padding-top: 1.25rem;
    }

    .contact-info p {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        margin: 1.25rem auto;
        padding: 0.5rem;
    }

    .contact-header {
        margin-bottom: 1.25rem;
    }

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

    .contact-header p {
        font-size: 0.875rem;
    }

    .contact-container {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }

    .contact-section .form-group {
        margin-bottom: 0.875rem;
    }

    .contact-section .form-label {
        font-size: 0.75rem;
    }

    .contact-section .form-control {
        padding: 0.6875rem 0.875rem;
        font-size: 0.8125rem;
        border-radius: 10px;
    }

    .contact-section .input-icon {
        left: 0.875rem;
        font-size: 0.875rem;
    }

    .contact-section .input-with-icon {
        padding-left: 2.25rem;
    }

    .contact-section textarea.form-control {
        min-height: 100px;
    }

    .contact-section .btn-submit {
        padding: 0.8125rem;
        font-size: 0.8125rem;
        min-height: 44px;
        border-radius: 10px;
    }

    .contact-info {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .contact-info p {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .contact-section {
        margin: 1rem auto;
        padding: 0.5rem;
    }

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

    .contact-header p {
        font-size: 0.8125rem;
    }

    .contact-container {
        padding: 1rem 0.75rem;
        border-radius: 10px;
    }

    .contact-section .form-control {
        padding: 0.625rem 0.75rem;
    }

    .contact-section .btn-submit {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
}
