
.contact-hero {
    height: 60vh !important; /* Shorter than main landing hero */
}

.contact-main {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info Styling */
.contact-info h1 {
    color: #00346b;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fcfcfc;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-icon {
    font-size: 1.5rem;
}

.info-item h3 {
    margin: 0;
    color: #00346b;
    font-size: 1.1rem;
}

.info-item p {
    margin: 5px 0 0;
    color: #666;
}

/* Form Styling */
.contact-form-container {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.form-row {
    display: flex;
    flex-direction: column;
    width: 70%;
}

.main-contact-form label {
    display: block;
    font-weight: 600;
    color: #00346b;
    margin-bottom: 8px;
}

.main-contact-form input, 
.main-contact-form select, 
.main-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.main-contact-form input:focus, 
.main-contact-form textarea:focus {
    border-color: #00346b;
    outline: none;
}

.main-contact-form .hero-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1104px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-hero {
        height: 50vh !important;
    }
}

@media (max-width: 768px) {
    .contact-main {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        box-sizing: border-box;
    }

    .contact-grid {
        gap: 0; /* Removes the huge gap between contact info and the form */
    }

    /* Force the form container to fill the screen and remove rounded corners */
    .contact-form-container {
        padding: 2rem 1.5rem !important; /* Inner padding so text doesn't touch the screen edge */
        width: 100vw !important;
        box-sizing: border-box;
        border-radius: 0 !important;
        border: none;
        box-shadow: none;
    }

    /* Remove rounded corners from the info boxes and stack them seamlessly */
    .info-item {
        border-radius: 0 !important;
        margin-bottom: 0;
        border: none;
    }

    /* Remove rounded corners from all form elements, buttons, and captcha */
    .main-contact-form input, 
    .main-contact-form select, 
    .main-contact-form textarea {

        border-radius: 0 !important;
    }

    /* Force the form rows to use all available space instead of 70% */
    .form-row {
        width: 100% !important;
    }
    
    /* Ensure captcha scales perfectly inside the contact page */
    .captcha-container {
        width: 100% !important; 
    }
    
    /* Adjust checkbox layout for mobile so it fits nicely */
    .checkbox-group {
        flex-direction: row;
        align-items: center;
        margin-top: 0 !important;
    }
    
    .checkbox-group label {
        font-size: 0.95rem;
        min-width: auto;
    }
    h1 {
        font-size: 1.5rem!important;
    }
    .contact-main {
        padding-top: 2rem!important;
        margin-left: 1rem!important;
        justify-self: center;
        overflow-x: none;
    }
}

