/* Contact Hero */

.contact-hero {
    background: url("/static/images/hero-banner-5.a1d4045029bd.png");
    background-size: cover;
    background-position: center;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin-bottom: 50px;
    position: relative;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 89, 134, 0.6); /* Adjust the opacity as needed */
    z-index: 1;
}

.contact-hero-text {
    position: relative;
    z-index: 2;
    display: flexbox;
    flex-direction: column;
    text-align: left;
    padding-left: 5px;
    padding-right: 50%;
    padding-top: 0;
    padding-bottom: 0;
    margin: 3px;
}

.contact-hero-text h1 {
    display: flex;
    flex-direction: column;
    font-size: 3rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 0.5rem;
    color: #223A66;
}

.contact-hero-text h3 {
    color: #1AB006;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}


/* Home appointment section */
.appointment-section {
    background-image: url("/static/images/doc2_appoint.e4b3fa4fd88e.png");
    background-size: cover;
    background-position: center;
    height: 573px;
    width: 100vw; /* Full viewport width */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    text-align: left;
    margin-left: calc(-50vw + 50%); /* Remove margins */
    margin-right: calc(-50vw + 50%); /* Remove margins */
    margin-bottom: 20px;
}

.appointment-section h3{
    color: #223A66;
    font-family:'Times New Roman', Times, serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    margin-top: 30px;
    padding: 15px;
}

.appointment-section p {
    color: #000;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding: 15px;
    margin: 10px;
    text-align: left;
    justify-content: center;
    align-items: center;
}
.appointment-form {
    background: rgba(255, 255, 255, 0.95); /* Slightly more opaque background */
    border-radius: 12px; /* More rounded corners */
    padding: 40px; /* Increased padding */
    max-width: 400px; /* Smaller form width for a better design */
    width: 100%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Larger shadow */
    text-align: center; /* Center text */
}

.appointment-form .form-group {
    border-bottom: 1px solid #ccc; /* Line separator */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.appointment-form .form-group label {
    font-weight: bold;
    color: #223A66;
    display: block;
    text-align: left;
}

.appointment-form .form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    height: 40px;
    padding-left: 10px;
}

.appointment-form .row .col-md-6 {
    padding-right: 10px;
    padding-left: 10px;
}

.appointment-form button {
    margin-top: 20px;
    border-radius: 8px;
    background-color: #36c919;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.appointment-form button:hover {
    background-color: #2ea310;
}

/* Center content vertically on both sides */
.appointment-section .d-flex {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

/* End of home appointment section */


.map-section {
    text-align: center;
    padding: 40px 20px;
}

.map-section h3 {
    color: #30DB19;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 30px;
}
.map-section h1 {
    color: #223A66;
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
}

.map-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}
.map-box {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.map-box h3 {
    margin-bottom: 10px;
    color: #333;
}
.map-box p {
    margin-bottom: 15px;
    color: #555;
}

.contact-section-title {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    z-index: 2;
}

.contact-section h1 {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
    text-align: center;
    z-index: 2;
}
.contact-card, .contact-card-2{
    background-color: #BFD2F8 !important; 
    min-width: 220px;
    max-width: 100%;
}
.contact-card i {
    color: #223A66;
}

.contact-card h5 {
    justify-content: left;
    align-items: center;
    text-align: left;
    color: #223A66;
}

.contact-card p {
    color: #223A66;
    text-align: left;
    justify-content: left;
    align-items: center;
}

.contact-card-2 {
    background-color: #223A66 !important; 
}
.contact-card-2 i {
    color: #BFD2F8;
}

.contact-card-2 h5 {
    justify-content: left;
    align-items: center;
    text-align: left;
    color: #BFD2F8;
}

.contact-card-2 p {
    color: #BFD2F8;
    text-align: left;
    justify-content: left;
    align-items: center;
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.card i {
    display: block;
    text-align: left;
}

.brief h3 {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.brief h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
}


/* --- Responsive Services Hero Section --- */
@media (max-width: 992px) {
    .contact-hero {
        height: 220px;
        margin-bottom: 24px;
        padding: 0 8px;
        background-position: center;
    }
    .contact-hero-text {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 1.5rem;
        text-align: center;
    }
    .contact-hero-text h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    .contact-hero-text h3 {
        font-size: 1rem;
    }

    .contact-section .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .contact-section .col-md-3 {
        width: 100%;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {

    .contact-hero {
        height: 160px;
        margin-bottom: 12px;
        padding: 0 4px;
    }
    .contact-hero-text {
        padding-left: 4px;
        padding-right: 4px;
        font-size: 1.1rem;
        text-align: center;
    }
    .contact-hero-text h1 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    .contact-hero-text h3 {
        font-size: 0.85rem;
    }
      .contact-section .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px; 
    }

    .contact-card, .contact-card-2{
        margin-bottom: 0;
        width: 100%;
    }

}

@media (max-width: 576px) {
    .contact-hero {
        height: 120px;
        margin-bottom: 8px;
        padding: 0 2px;
        background-position: center;
    }
    .contact-hero-text {
        padding-left: 2px;
        padding-right: 2px;
        font-size: 0.9rem;
        text-align: center;
    }
    .contact-hero-text h1 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }
    .contact-hero-text h3 {
        font-size: 0.7rem;
    }
    .contact-section .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px; 
    }

    .contact-card, .contact-card-2{
        width: 100%;
    }

}