/* ── Contact Hero ─────────────────────────────────────────────────────── */

.contact-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contact-content {
    color: white;
    font-family: "Inter-Regular";
}


/* ── Our Locations – Contact Us page ─────────────────────────────────── */

.contactus-locations-section {
    padding: 60px 0 40px;
    background: #fff;
}

.contactus-locations-title {
    font-size: 2rem;
    font-weight: 700;
    color: #352D74;
    margin-bottom: 10px;
}

.contactus-locations-line {
    width: 60px;
    height: 3px;
    background: #352D74;
    border-radius: 2px;
    margin: 0 auto 48px;
}

/* ── Show/hide helpers ───────────────────────────────────────────────── */

/* Desktop grid — visible above 767px */
.contactus-desktop-only {
    display: grid;
}

/* Mobile swiper — hidden above 767px */
.contactus-mobile-only {
    display: none;
}

@media (max-width: 767px) {
    .contactus-desktop-only {
        display: none;
    }

    .contactus-mobile-only {
        display: block;
    }
}

/* ── Grid layout (desktop only) ─────────────────────────────────────── */

.contactus-locations-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
}

.contactus-locations-grid-location {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
}

@media (max-width: 1024px) {
    .contactus-locations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .contactus-locations-grid-location {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── Card ────────────────────────────────────────────────────────────── */

.contactus-location-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(53, 45, 116, 0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.contactus-location-card:hover {
    box-shadow: 0 6px 28px rgba(53, 45, 116, 0.16);
}

/* ── Card Image ──────────────────────────────────────────────────────── */

.contactus-location-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #E5EBFD;
    flex-shrink: 0;
    /* Ensure image never bleeds outside card */
    position: relative;
}

.contactus-location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contactus-loc-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5EBFD;
    color: #352D74;
}

/* ── Card Body ───────────────────────────────────────────────────────── */

.contactus-location-body {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contactus-location-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'Inter-Bold', sans-serif;
    margin-bottom: 10px;
}

.contactus-location-address {
    display: flex;
    font-family: 'Inter-Regular', sans-serif;
    align-items: flex-start;
    gap: 8px;
    color: #352D74;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.contactus-loc-icon {
    color: #352D74;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Info blocks ─────────────────────────────────────────────────────── */

.contactus-info-block {
    margin-bottom: 14px;
}

.contactus-info-heading {
    font-size: 0.875rem;
    font-family: 'Inter-Bold', sans-serif;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.contactus-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #352D74;
    font-family: 'Inter-Regular', sans-serif;
    font-size: 0.875rem;
    margin-bottom: 6px;
}

.contactus-info-icon {
    color: #352D74;
    font-size: 16px;
    flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.contactus-location-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    flex-wrap: wrap;
}

.contactus-btn-directions,
.contactus-btn-appointment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.contactus-btn-directions {
    background: #352D74;
    color: #fff;
    border: 2px solid #352D74;
}

.contactus-btn-directions:hover {
    opacity: 0.88;
    color: #fff;
}

.contactus-btn-appointment {
    background: #fff;
    color: #352D74;
    border: 1px solid #352D74;
    flex: 1;
}

.contactus-btn-appointment:hover {
    background: #f5f3ff;
}

/* ── Swiper (mobile only) ────────────────────────────────────────────── */

.contactus-locations-swiper {
    padding-bottom: 40px !important;
}

.contactus-locations-swiper .swiper-pagination-bullet-active {
    background-color: #352D74 !important;
    opacity: 1 !important;
}

.contactus-locations-swiper .swiper-pagination-horizontal {
    bottom: 0px !important;
}

/* ── Mobile responsive ───────────────────────────────────────────────── */

@media (max-width: 767px) {
    .contactus-locations-section {
        padding: 40px 0 32px;
    }

    .contactus-location-name {
        font-size: 17px;
    }

    .contactus-location-actions {
        flex-direction: column;
    }

    .contactus-btn-directions,
    .contactus-btn-appointment {
        width: 100%;
    }

    .contactus-location-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .contactus-location-image {
        height: 180px;
    }

    .contactus-location-body {
        padding: 16px 16px 20px;
    }

    .contactus-locations-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .contactus-locations-grid-location {
        grid-template-columns: repeat(1, 1fr) !important;
        display: none !important;
    }

    .contactus-location-name {
        font-size: 16px;
    }
}