
/* ================= Responsive Enhancements ================= */

/* Medium devices (tablets) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }
    .search-form-container {
        margin-top: 1rem;
        padding: 1.5rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        gap: 15px;
    }
    .trip-gallery {
        flex-direction: column;
        gap: 15px;
    }
    .testimonial-slider {
        flex-direction: column;
        gap: 20px;
    }
    .service_details-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Small devices (phones) */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
        text-align: center;
    }
    .hero-content p.hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    .search-form-container {
        padding: 1rem;
        margin-top: 1rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-item img {
        height: 150px;
    }
    .trip-gallery {
        gap: 10px;
    }
    .main-image,
    .thumb-grid {
        flex: 1 1 100%;
        height: auto;
    }
    .testimonial-card {
        flex: 0 0 100%;
    }
    .service-card {
        max-width: 100%;
    }
    .about-photos {
        width: 100%;
        height: auto;
    }
    .about-photos .img-main,
    .about-photos .img-circle,
    .about-photos .img-half-top {
        position: static;
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin-bottom: 10px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
    .btn,
    .btn-primary,
    .btn-gold {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .search-form .form-control,
    .search-form .form-select {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}


@media (max-width: 768px) {
    .highlights-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }
    .highlights-row > div {
        flex: 0 0 50%;
        min-width: 220px;
        scroll-snap-align: start;
    }
    .highlights-row::-webkit-scrollbar {
        display: none;
    }
    .about-photos{
        display: none;
    }

    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
        padding-left: calc(var(--bs-gutter-x) * .8);
        padding-right: calc(var(--bs-gutter-x) * .8);
    }
}


.swiper {
    width: 100%;
    padding: 20px 0;
}
.mySwiper .swiper-wrapper {
    display: flex;
    justify-content: center; /* تمركز العناصر */
}
.swiper-slide {
    text-align: center;
    flex-shrink: 0;
}
.swiper-slide img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}


@media (max-width: 767.98px) {
    .d-flex.align-items-center.mb-3 {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 5px; /* مسافة بين الأزرار */
    }

    .badge.bg-gold {
        display: inline-block;
        text-align: center;
        margin-bottom: 5px;
    }

    .needhelp {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        position: static !important;
    }
    .gallery-section{
        padding-bottom: 5px;
    }
    .swiper-wrapper{
        max-height: 360px;
    }
    .service_details-image-right{
        max-width: 100%;
    }
    .country-slider-wrapper{
        overflow: hidden;
    }
}

.gallery-slider .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
