/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    padding: 26px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 40px;
    min-height: 170px;
    display: flex;
    align-items: center;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay Gradients */
    background: 
        linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
        linear-gradient(180deg, rgba(29, 100, 233, 0.5) 0%, rgba(24, 90, 191, 0) 25%, rgba(22, 87, 180, 0) 75%, rgba(19, 81, 156, 0.5) 100%),
        linear-gradient(0deg, rgba(245, 249, 255, 0.12), rgba(245, 249, 255, 0.12));
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.contact-hero-title {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.2;
    /* Title Gradient */
    background: linear-gradient(180deg, #FFFFFF 5.65%, #C8DBFF 92.34%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #FFFFFF; /* Fallback */
}

.contact-hero-desc {
    font-size: 16px;
    max-width: 560px;
    line-height: 1.6;
    font-weight: 400;
    margin: 0 auto;
}

/* Main Content Section */
.contact-page-content {
    padding: 60px 0;
    background-color: #F5F9FF;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    /* Constrain width (1300px) */
    max-width: 1040px;
    margin: 0 auto;
}

/* Left Column: Info */
.contact-info-col {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.2;
    background: linear-gradient(180deg, #14284E 5.65%, #2E5CB4 92.34%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info-desc {
    font-size: 15px;
    color: #898989;
    font-weight: 300;
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 90%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 14px;
    color: #898989;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: #2D3748;
}

.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: #3182CE;
}

/* Right Column: Form */
.contact-form-col {
    background: rgba(255, 255, 255, 0.5); /* #FFFFFF80 */
    border-radius: 24px;
    /* Equal padding requested */
    padding: 32px; 
    
    /* Gradient Border Trick (preserves radius) */
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
    /* Note: To show gradient border with radius, we typically use ::before pseudo-element or complex background-origin.
       Simplest robust way for solid background + gradient border + radius: */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); Removed per request */
}

.contact-form-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1px; /* Border width */
    background: linear-gradient(180deg, rgba(207, 207, 207, 0.3) 0%, rgba(207, 207, 207, 0.1) 100%);
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.contact-form-title {
    font-size: 16px;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 22px;
    line-height: 1.5;
}

.contact-page-form .form-group {
    margin-bottom: 20px;
}

.contact-page-form,
.contact-page-form * {
    box-sizing: border-box;
}

.contact-page-form label {
    display: block;
    font-size: 14px;
    font-weight: 800; /* Updated from 700 */
    color: #2D3748;
    margin-bottom: 8px;
}

.contact-page-form input,
.contact-page-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-size: 15px;
    color: #2D3748;
    background: #FFFFFF;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
    outline: none;
    border-color: #3182CE;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

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

.contact-page-form input::placeholder,
.contact-page-form textarea::placeholder {
    color: #A0AEC0;
}

/* Form Footer / Button */
.contact-form-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.btn-submit {
    background-color: #13519C;
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-grow: 0; /* Changed from 1 to 0 (auto width) */
    text-align: center;
}

.btn-submit:hover {
    background-color: #0F3F7A;
}

.btn-circle-submit {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #13519C;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-circle-submit:hover {
    background-color: #0F3F7A;
    transform: rotate(-45deg); /* Arrow rotation effect */
}

/* Map Section */
.contact-map-section {
    width: 100%;
    height: 500px;
    background-color: #E2E8F0;
    position: relative;
    overflow: hidden;
}

.contact-map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-col {
        padding-right: 0;
    }
    
    .contact-hero-title {
        font-size: 48px;
    }
}

@media (max-width: 576px) {
    .contact-hero-title {
        font-size: 36px;
    }
    
    .contact-info-title {
        font-size: 32px;
    }
    
    .contact-form-col {
        padding: 24px;
    }
}
