body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

.hero-section {
    height: 60vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-image: url('../image/contactBanner.png');
    background-size: cover;
    background-position: center;
    color: white;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.hero-content h1 { font-size: 4rem; margin: 0; font-weight: 600; }
.hero-content p { font-size: 1.25rem; margin-top: 0.5rem; font-weight: 300; max-width: 600px; }

.contact-section {
    padding: 2rem 2rem;
    background: #f9f9f9;
}
.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.interactive-map-section {
    margin-bottom: 4rem;
    margin-top: 4rem;
}
.interactive-map-section h2 {
    font-size: 2rem;
    color: rgb(5, 44, 0);
    margin-bottom: 2rem;
    text-align: center;
}
.map-and-details-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.map-container-leaflet {
    flex: 1.5;
    height: 550px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
#map {
    width: 100%;
    height: 110%;
    border-radius: 10px;
}
.details-container {
    flex: 1;
}
.location-details-card {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}
.location-details-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.card-content { padding: 1.5rem; }
.card-content h3 {
    font-size: 1.5rem;
    color: rgb(5, 44, 0);
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.card-content .detail-item { margin-bottom: 1rem; display: flex; }
.card-content .detail-item strong { flex-basis: 140px; color: #333; }
.card-content .detail-item span { flex: 1; color: #555; }
.contact-button {
    display: inline-block;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    background-color: rgb(5, 44, 0);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}
.contact-button:hover { background-color: rgb(14, 117, 0); }

.contact-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}
.contact-form-container { flex: 1; }
.contact-form-container h2 {
    font-size: 2rem;
    color: rgb(5, 44, 0);
    margin-bottom: 1rem;
}
.contact-form-container p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    height: 48px;
    box-sizing: border-box;
}
.contact-form .full-width { grid-column: 1 / -1; }
.contact-form textarea {
    resize: vertical;
    min-height: 110px;
}
.contact-form button {
    background-color: rgb(5, 44, 0);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    grid-column: 1 / -1;
    justify-self: start;
}
.contact-form button:hover { background-color: rgb(14, 117, 0); }
.map-container { flex: 1; }
.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .map-and-details-container { flex-direction: column; }
    .contact-container { flex-direction: column; }
    .map-container-leaflet { height: 400px; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    .contact-section { padding: 2rem 1rem; }
    .contact-form { grid-template-columns: 1fr; }
    .map-container { 
        height: 200px;
        width: 100%;
    }
    .interactive-map-section {
        display: block;
        margin-top: 1.5rem;
    }
    .map-and-details-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .map-container-leaflet {
        width: 100%;
        height: auto;
        min-height: 320px !important;
        position: relative;
        z-index: 2;
        overflow: hidden;
    }
    #map {
        height: 320px !important;
        min-height: 320px !important;
    }
    .details-container {
        width: 100%;
        position: relative;
        z-index: 1;
        margin-top: 0.5rem;
    }
    .location-details-card img {
        height: 200px;
    }
}