/* ===== Main Contact Section ===== */
.contact-section {
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
}

#contactus {
    position: relative;
    z-index: 1;
    background: white;
    padding: 40px 0;
}

.after-parallax {
    position: relative;
    z-index: 2;
    background: #f6f6f6;
    padding: 10px 0;
}

/* ===== Section Title with Single Underline ===== */
.section-title h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block; /* Makes the underline only as wide as the text */
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%; /* Will now only span the text width */
    height: 3px;
    background: #007bff;
    border-radius: 3px; /* Optional: makes the line slightly rounded */
}

/* ===== Map Styling ===== */
.map-container {
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-box iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 14px;
}

/* ===== Form Styling ===== */
.form-control::placeholder {
    color: #999;
    opacity: 1;
    font-size: 13px;
}

.form-control {
    font-size: 14px;
    background-color: white;
}

/* ===== Country/Phone Select Styling ===== */
.choices__inner {
    min-height: 36px !important;
    max-height: 36px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 10px !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
}

.choices[data-type*='select-one']::after {
    top: 18px !important;
    right: 10px;
}

.choices__list--dropdown {
    z-index: 1055 !important;
}

/* Compact select styles */
.choices__inner--compact {
    min-height: 32px;
    padding: 2px 8px;
    font-size: 12px;
}

.choices__list--compact .choices__item {
    padding: 4px 8px;
    font-size: 12px;
}

/* Prefix select specific styles */
.choices__inner--prefix {
    min-height: 34px;
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 4px;
    background-color: white;
}

.choices__list--dropdown-prefix {
    font-size: 13px;
    border-radius: 4px;
}

.choices__list--dropdown-prefix .choices__item {
    padding: 6px 12px;
}

/* Country selector label */
label[for="countryname"] {
    margin-bottom: 1px !important;
    font-size: 12px !important;
}

/* ===== Cart Badge ===== */
.cart-menu-item {
    display: flex;
    align-items: center;
    padding: 5px;
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-icon-wrapper .fa-shopping-cart {
    font-size: 1.4rem !important;
    color: #000;
}

.cart-count-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: bold;
    z-index: 999;
}

/* ===== Animations ===== */
@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    60% {
        opacity: 1;
        transform: translateY(-10%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 992px) {
    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 20px;
    }

    .choices__inner {
        min-height: 32px;
    }

    .choices__item img {
        width: 14px;
        height: 10px;
    }
}