/* Contact Banner Styles */
.inner_banner_mb {
    margin-bottom: 60px;
}

.inner_banner_contact {
    margin-bottom: 0px;
    margin-top: 86px;
    position: relative;
}

.contact_banner {
    background-image: url(../images/aboutpage/about_banner.jpg); /* Update with your contact banner image */
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.banner_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(
        0,
        0,
        0,
        0.5
    ); /* Dark overlay for better text readability */
    z-index: 1;
}

.inner_banner_title {
    position: relative;
    z-index: 2;
}

.inner_banner_title ul li,
.inner_banner_title ul li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
}

.inner_banner_title ul li {
    display: inline-block;
}

.contact_banner .inner_banner_title {
    display: inline-block;
    padding: 160px 0px;
    text-align: left;
}

.inner_banner_title h1 {
    color: white;
    font-size: 60px;
    margin-top: 5px;
    font-weight: 700;
}

/* Contact Section */
.contact_section {
    background: linear-gradient(
        135deg,
        #f8f8f8 0%,
        #e8e8e8 100%
    ); /* Subtle gradient background */
    padding: 80px 0 0 0;
}

/* Contact Info */
.contact_info_wrapper {
    margin-bottom: 40px;
}

.contact_title {
    font-size: 40px;
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact_subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.contact_details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact_card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.contact_icon {
    font-size: 30px;
    color: #fe0002; /* Red to match the theme */
    margin-bottom: 15px;
}

.contact_text h4 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.contact_text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.contact_text a {
    font-size: 16px;
    color: #fe0002; /* Red to match the theme */
    text-decoration: none;
    font-weight: 600;
}

.contact_text a:hover {
    color: #e60000; /* Slightly darker red on hover */
}

/* Contact Form */
.contact_form_wrapper {
    margin-bottom: 40px;
}

.contact_form_card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-left: 5px solid #fe0002; /* Red accent border */
}

.contact_form_title {
    font-size: 32px;
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
}

.form-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #fe0002; /* Red border on focus */
    box-shadow: 0 0 8px rgba(254, 0, 2, 0.2);
    outline: none;
}

.btn-primary {
    background-color: #fe0002 !important; /* Red to match the theme, with !important to ensure it applies */
    border: none !important;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #e60000 !important; /* Slightly darker red on hover */
    transform: translateY(-2px);
}

/* Map Section */
.contact_map_wrapper {
    background: #fff;
    padding: 60px 0;
}

.contact_map_title {
    font-size: 40px;
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.contact_map {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact_map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact_section {
        padding: 50px 0;
    }

    .inner_banner_title h1 {
        font-size: 40px;
    }

    .contact_title,
    .contact_form_title,
    .contact_map_title {
        font-size: 28px;
    }

    .contact_subtitle {
        font-size: 16px;
    }

    .contact_card {
        padding: 20px;
    }

    .contact_form_card {
        padding: 20px;
    }

    .form-control {
        font-size: 14px;
        padding: 10px;
    }

    .btn-primary {
        font-size: 14px;
        padding: 12px 16px;
    }

    .contact_map iframe {
        height: 300px;
    }
}
