/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Full-width Banner */
.banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #39cfca 0%, #2ba8a4 100%);
    padding: 20px 0;
    text-align: center;
    color: white;
    position: relative;
    height: 60vh;
    padding-top: 4vw;
}

.banner h1 {
    margin: 0;
    font-size: 32px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Main Content Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 4vw auto;
    padding: 0;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(500px, auto);
    width: 100%;
}

/* Map Section */
.map-container {
    grid-column: 1;
    height: 100%;
    width: 100%;
    background-color: #f9f9f9;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Content Section */
.content-container {
    grid-column: 2;
    padding: 30px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 26px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #333;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #39cfca;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 15px;
}

.info-label {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 5px;
    color: #39cfca;
}

.info-label i {
    margin-right: 10px;
    font-size: 18px;
}

.info-text {
    color: #555;
    padding-left: 28px;
}

/* Contact Form */
.contact-form {
    flex-grow: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #39cfca;
    box-shadow: 0 0 0 3px rgba(57, 207, 202, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Button Styles */
.btn-submit,
.popup-close {
    background: linear-gradient(135deg, #39cfca 0%, #2ba8a4 100%);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-submit {
    padding: 12px 30px;
    display: inline-block;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(57, 207, 202, 0.2);
}

/* Form Status */
.form-status {
    margin-top: 15px;
    font-weight: bold;
}

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.popup-title {
    font-size: 24px;
    color: #39cfca;
    margin-bottom: 15px;
}

.popup-message {
    margin-bottom: 20px;
    color: #555;
}

.popup-close {
    padding: 10px 25px;
}

.popup-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(57, 207, 202, 0.2);
}

/* Dropdown Scrollbar */
.jbh-subdropdown {
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(223, 231, 230) rgba(57, 207, 202, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .map-container, 
    .content-container {
        grid-column: 1;
    }
    
    .map-placeholder {
        min-height: 400px;
    }
    
    .content-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .banner h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .map-placeholder {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .content-container {
        padding: 15px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .btn-submit {
        width: 100%;
    }
}