/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(360deg, #193B7B 0%, #202020 100%); /* Updated Background */
    color: #fff;
    text-align: center;
}

/* Reset Box Model for this section to prevent layout breakage */
.contact-section * {
    box-sizing: border-box;
}

.contact-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.contact-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    /* Updated Title Color */
    background: linear-gradient(180deg, #FFFFFF 5.65%, #C8DBFF 92.34%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #fff; /* Fallback */
}

.contact-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #F6F6F6; /* Updated Desc Color */
    max-width: 600px;
    margin: 0 auto;
}

/* Form Wrapper (Glassmorphism) */
.contact-form-wrapper {
    /* Updated Card Background */
    background: linear-gradient(151.09deg, rgba(255, 255, 255, 0.16) 17.79%, rgba(153, 153, 153, 0.16) 98.41%);
    backdrop-filter: blur(8px); /* Updated Blur */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 35px 50px; /* Reduced top/bottom, balanced left/right */
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
    align-items: stretch;
    width: 100%; /* Ensure full width */
}

.contact-form-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto; 
    gap: 20px; /* Reduced vertical gap */
}

.contact-form-right {
    display: flex;
    flex-direction: column;
}

/* Inputs */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

.contact-section .form-group label {
    font-size: 16px; /* Larger */
    font-weight: 800; /* Bolder */
    color: #fff;
}

.contact-section .form-group input,
.contact-section .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #D0D0D033;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.contact-section .form-group input::placeholder,
.contact-section .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.form-group-textarea,
.contact-section .form-group textarea {
    height: 100%;
}

.contact-section .form-group textarea {
    resize: none;
    min-height: 150px;
}

/* Footer (Button) */
.contact-form-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper Button to make both clickable */
.contact-submit-wrapper {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.contact-submit-btn {
    background: #FFFD00;
    border: none;
    border-radius: 50px; /* Full rounded */
    height: 50px;
    padding: 0 100px; /* Significantly increased length */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Text Styles */
    color: #131B2C;
    font-weight: 400;
    font-size: 16px;
    
    transition: all 0.3s ease;
}

.contact-arrow-circle {
    width: 50px;
    height: 50px;
    background: #FFFD00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    margin-left: 0;
}

/* Hover Effects */
.contact-submit-wrapper:hover .contact-arrow-circle {
    transform: rotate(-45deg); /* Only rotate arrow */
}

@media (hover: none), (pointer: coarse) {
    .contact-submit-wrapper:hover .contact-arrow-circle {
        transform: none;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        padding: 32px 32px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 32px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0; /* Consistent with other sections */
    }

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

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-submit-wrapper {
        width: 100%;
        justify-content: center;
    }

    .contact-submit-btn {
        padding: 0 clamp(32px, 10vw, 72px);
    }

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