/* Contact Hero Section */
.contact-hero {
    position: relative;
    width: 100%;
    /* Maintain aspect ratio similar to image */
    padding: 180px 0 140px; 
    background: url('assets/Contactbanner.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(72, 118, 255, 0.85); /* Proper blue tint */
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1416px;
    margin: 0 auto;
    padding: 0 100px;
    width: 100%;
}

.contact-hero-content .section-badge.light {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.contact-hero-content .hero-title.white {
    color: #FFF;
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.1;
    text-transform: uppercase;
}

.contact-hero-content .hero-title-light {
    color: rgba(255, 255, 255, 0.7); /* Slightly muted for second line */
}

.contact-hero-content .breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    gap: 8px;
    align-items: center;
}

.contact-hero-content .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: 0.3s;
}

.contact-hero-content .breadcrumb a:hover {
    color: #FFFFFF;
}

/* Contact Info Cards */
.contact-info-boxes {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: -50px auto 60px; /* Pull up to overlap slightly if desired, or simply margin-top */
    display: flex;
    justify-content: center;
    gap: 2px; /* Slight gap between modules */
    padding: 0 20px;
}

/* Let's keep it below hero cleanly */
.contact-info-container {
    max-width: 1416px;
    margin: 50px auto 80px;
    padding: 0 100px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px; /* Minimal gap as seen in image */
    background: #FFFFFF;
}

.contact-card {
    background: #F4F7FB; /* Very light blue */
    padding: 40px 30px;
    display: flex;
    align-items: center; /* Center horizontally in card */
    gap: 20px;
}

.contact-card .icon-circle {
    width: 60px;
    height: 60px;
    background-color: #3554D1; /* Primary blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card .icon-circle img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); /* Make internal icon white */
}

.contact-card .card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card .card-text p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}


/* Contact Form Section */
.contact-main {
    padding: 80px 0 100px;
    background-color: #F4F7FB;
}

.contact-grid {
    max-width: 1416px;
    margin: 0 auto;
    padding: 0 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-container .section-badge {
    color: #666;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-form-container .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 20px;
    text-transform: none; /* Keep in touch */
}

.contact-form-container .accent-underline {
    width: 60px;
    height: 4px;
    background-color: #4C892E; /* Green from the brand */
    margin-bottom: 40px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    background: #FFF;
    outline: none;
    transition: 0.3s;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4C892E;
}

.contact-form textarea {
    height: 160px;
    resize: vertical;
    margin-bottom: 20px;
}

.contact-form .btn-submit {
    background-color: #4C892E; /* Dark Green */
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form .btn-submit:hover {
    background-color: #3d6e24; /* Darker Green */
}

.contact-map-container {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Slight shadow */
    min-height: 500px;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid, .contact-info-container {
        padding: 0 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-map-container {
        height: 400px;
        min-height: unset;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 130px 0 80px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-hero-content .hero-title.white {
        font-size: 36px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero-content {
        padding: 0 24px;
    }

    .contact-info-container {
        padding: 0 24px;
        margin: 30px auto 50px;
    }

    .contact-grid {
        padding: 0 24px;
    }

    .contact-main {
        padding: 50px 0 60px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 110px 0 60px;
    }

    .contact-hero-content .hero-title.white {
        font-size: 28px;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 14px 16px;
        font-size: 14px;
    }

    .contact-form .btn-submit {
        width: 100%;
        padding: 16px;
    }
}
