/* Our locations */
/* Base Styles */
.contact-container {
    padding: 20px 0;
}

.contact-info-container {
    background-color: white;
}

/* Contact Details Specific Styles */
.contact-details {
    width: 100%;
    hyphens: auto;
    padding: 0.5rem;
}

.contact-details a:hover {
    color: #DD9B02 !important; /* Use your secondary color */
    text-decoration: underline !important;
}

.contact-details .fw-bold {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.contact-icon {
    color: #DD9B02;
    font-size: 1rem;
    min-width: 20px;
    margin-top: 0.15rem;
}

.contact-text {
    margin: 0;
    line-height: 1.4;
    color: #555;
}

/* Title Styles */
.contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.contact-subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    color: #333;
}

.map-container {
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
}

.video-container {
    background-color: white;
    /* aspect-ratio: 16 / 9; */
}

/* Navigation Pills - Enhanced Styles */
.nav-pills-location {
    display: flex;
    justify-content: center;
    margin: 0 -5px;
    padding-bottom: 8px;
}

.nav-item-location {
    padding: 0 5px;
}

.nav-link-location {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 10px;
    background-color: #f5f5f5;
    color: #333;
    border: none;
    transition: all 0.3s ease;
}

.nav-link-location.active {
    background-color: #DD9B02;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-link-location:hover:not(.active) {
    background-color: #e9e9e9;
}

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .contact-title {
        font-size: 1.2rem;
    }
    .contact-subtitle {
        font-size: 1.1rem;
    }
    .contact-text {
        font-size: 1rem;
    }
    .contact-icon {
        font-size: 1.1rem;
    }
      .nav-pills-location {
        justify-content: space-between !important;
      }
}

/* iPad (768px-991px) */
@media (min-width: 768px) and (max-width: 1025px) {

    .map-container {
        width: 55%;
        margin-bottom: 0;
    }

    .contact-details {
        width: 45%;
        font-size: 0.9rem;
        padding-left: 0.5rem;
    }

    .contact-details p {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .contact-details .fw-bold {
        font-size: 1rem;
    }

    .contact-icon {
        font-size: 0.9rem;
        min-width: 18px;
    }

    .d-flex.align-items-center {
        align-items: flex-start !important;
    }

    .d-flex.align-items-center p {
        flex: 1;
        min-width: 0;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    .nav-pills-location {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-link-location {
        padding: 0.6rem 1.5rem;
    }

    .map-container {
        width: 65%;
        margin-bottom: 0;
    }

    .contact-details {
        width: 35%;
        margin-left: 0px;
    }
}

/* Phone (up to 767px) */
@media (max-width: 767px) {

    /* All pills - base style */
    .nav-item-location {
        flex: 0 0 33.333%; /* 3 items per row accounting for gap */
        box-sizing: border-box;
    }

    .nav-link-location {
        width: 100%;
        font-size: 0.5rem;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .map-container {
        height: 250px;
    }

    .contact-info-container {
        padding: 15px !important;
    }

    .contact-details {
        margin-top: 1rem;
        padding-left: 0;
    }

    .contact-details p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .contact-details .fw-bold {
        font-size: 0.9rem;
    }

    .contact-icon {
        font-size: 0.8rem;
        min-width: 16px;
        margin-top: 0.15rem;
    }
    .tab-content2 {
    padding: 15px !important;
    }
    .tab-content {
        padding: 15px !important;
        }
    .video-container {
        padding: 0px !important; /* Reduce padding from all sides */
        margin-top: 0px !important; /* Reduce top margin if needed */
        margin-bottom: 0px !important; /* Reduce bottom margin if needed */
    }
}

/* Small Phones (up to 480px) */
@media (max-width: 480px) {

    .nav-link-location {
        font-size: 0.75rem;
    }

    .contact-details {
        font-size: 0.8rem;
    }

    .map-container {
        height: 200px;
    }
}