html {
    scroll-behavior: smooth;
}

/* ===== Activity Details Specific Styles ===== */

/* Activity Hero Styling */
.activity-hero {
    background: linear-gradient(135deg, #1b4965 0%, #62b6cb 100%);
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

.activity-hero .hero-overlay-modern {
    background: linear-gradient(135deg, rgba(27, 73, 101, 0.88) 0%, rgba(98, 182, 203, 0.85) 100%);
}

.activity-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15)) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: white !important;
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Activity Pricing Card */
.pricing-card-modern.activity-pricing {
    border: 2px solid rgba(98, 182, 203, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 1) 100%);
    box-shadow: 0 10px 40px rgba(27, 73, 101, 0.12);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.pricing-card-modern.activity-pricing:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(27, 73, 101, 0.18);
}

.pricing-card-modern.activity-pricing .pricing-header {
    background: linear-gradient(135deg, #1b4965, #62b6cb);
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.pricing-card-modern.activity-pricing .pricing-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

.pricing-card-modern.activity-pricing .price-amount-modern .current-price {
    color: #1b4965;
    font-weight: 800;
    font-size: 2.5rem;
}

/* Activity Book Button */
.btn-book-trip-modern.activity-book-btn {
    background: linear-gradient(135deg, #1b4965, #62b6cb);
    box-shadow: 0 8px 25px rgba(27, 73, 101, 0.3);
    border: none;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-book-trip-modern.activity-book-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-book-trip-modern.activity-book-btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-book-trip-modern.activity-book-btn:hover {
    background: linear-gradient(135deg, #0d2f3f, #4a9bb5);
    box-shadow: 0 12px 35px rgba(27, 73, 101, 0.45);
    transform: translateY(-3px);
}

/* Booking Notice */
.booking-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(98, 182, 203, 0.08), rgba(27, 73, 101, 0.05));
    border: 2px solid rgba(98, 182, 203, 0.3);
    border-radius: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #1b4965;
    box-shadow: 0 4px 15px rgba(98, 182, 203, 0.1);
}

.booking-notice i {
    font-size: 1.4rem;
    color: #62b6cb;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Activity Type Badge Section */
.activity-type-badge-section {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(98, 182, 203, 0.08), rgba(27, 73, 101, 0.03));
    border-radius: 20px;
    border: 2px solid rgba(98, 182, 203, 0.2);
    position: relative;
    overflow: hidden;
}

.activity-type-badge-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(98, 182, 203, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.activity-type-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #1b4965, #62b6cb);
    border-radius: 50px;
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(27, 73, 101, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.activity-type-display:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(27, 73, 101, 0.4);
}

.activity-type-display i {
    font-size: 1.6rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Activity Highlights */
.trip-highlights-modern .highlight-item-modern i {
    color: #62b6cb;
    background: linear-gradient(135deg, rgba(98, 182, 203, 0.1), rgba(27, 73, 101, 0.05));
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trip-highlights-modern .highlight-item-modern:hover i {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(98, 182, 203, 0.2), rgba(27, 73, 101, 0.1));
}

/* Activity Info Card Accent */
.trip-info-card-modern .info-icon-modern {
    background: linear-gradient(135deg, rgba(98, 182, 203, 0.12), rgba(27, 73, 101, 0.08));
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s ease;
}

.trip-info-card-modern:hover .info-icon-modern {
    background: linear-gradient(135deg, rgba(98, 182, 203, 0.2), rgba(27, 73, 101, 0.12));
    transform: scale(1.05);
}

.trip-info-card-modern .info-icon-modern i {
    color: #1b4965;
    font-size: 1.8rem;
}

/* Section Titles */
.trip-overview-modern .section-title-modern i,
.trip-highlights-modern .section-title-modern i {
    color: #62b6cb;
    margin-left: 10px;
    font-size: 1.3rem;
}

.section-title-modern {
    position: relative;
    padding-bottom: 15px;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #62b6cb, transparent);
    border-radius: 3px;
}

/* Pricing Items */
.pricing-card-modern.activity-pricing .pricing-item-modern .item-icon {
    background: linear-gradient(135deg, rgba(98, 182, 203, 0.12), rgba(27, 73, 101, 0.08));
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s ease;
}

.pricing-card-modern.activity-pricing .pricing-item-modern:hover .item-icon {
    background: linear-gradient(135deg, rgba(98, 182, 203, 0.2), rgba(27, 73, 101, 0.12));
    transform: rotate(5deg);
}

.pricing-card-modern.activity-pricing .pricing-item-modern .item-icon i {
    color: #1b4965;
}

/* Contact Card */
.contact-card-modern .contact-btn-modern.whatsapp:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}



/* ===== Video Section ===== */

.trip-video-section {

    margin-bottom: 2rem;

}



.video-container-modern {

    background: white;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 10px 40px rgba(27, 73, 101, 0.1);

    transition: all 0.3s ease;

}



.video-container-modern:hover {

    box-shadow: 0 15px 50px rgba(27, 73, 101, 0.15);

    transform: translateY(-2px);

}



.video-container-modern video {

    display: block;

    width: 100%;

    background: #000;

}



.video-container-modern .ratio {

    background: #000;

}



.video-container-modern iframe {

    border: none;

    width: 100%;

    height: 100%;

}



/* ========================================

   RESPONSIVE MEDIA QUERIES - ACTIVITY DETAILS

   ======================================== */



/* Nest Hub Max (1280x800) */

@media (min-width: 1200px) and (max-width: 1366px) and (max-height: 850px) {

    .activity-type-badge-section {

        padding: 18px;

        margin-top: 20px;

    }



    .activity-type-display {

        font-size: 0.95rem;

        padding: 12px 25px;

        gap: 12px;

    }



    .activity-type-display i {

        font-size: 1.3rem;

    }



    .booking-notice {

        padding: 10px 12px;

        font-size: 0.85rem;

        margin-bottom: 15px;

    }



    .booking-notice i {

        font-size: 1.1rem;

    }



    .video-container-modern video {

        max-height: 350px !important;

    }

}



/* Large Tablets (992px - 1199px) */

@media (max-width: 1199px) {

    .activity-type-display {

        font-size: 1.05rem;

    }

}



/* iPad Pro & Tablets (768px - 991px) */

@media (max-width: 991px) {

    .activity-type-badge-section {

        padding: 20px;

    }



    .activity-type-display {

        font-size: 1rem;

        padding: 12px 25px;

    }

    

    .activity-type-display i {

        font-size: 1.2rem;

    }

    

    .booking-notice {

        font-size: 0.9rem;

    }

}



/* Nest Hub & Landscape Tablets (768px - 1024px, height ≤ 900px) */

@media (min-width: 768px) and (max-width: 1024px) and (max-height: 900px) {

    .activity-type-badge-section {

        padding: 18px;

        margin-top: 20px;

    }



    .activity-type-display {

        font-size: 0.9rem;

        padding: 10px 22px;

        gap: 12px;

    }



    .activity-type-display i {

        font-size: 1.1rem;

    }



    .booking-notice {

        padding: 9px 12px;

        font-size: 0.8rem;

    }



    .video-container-modern video {

        max-height: 280px !important;

    }

}



/* Nest Hub (1024x600) */

@media (min-width: 1000px) and (max-width: 1100px) and (max-height: 650px) {

    .activity-type-badge-section {

        padding: 15px;

        margin-top: 18px;

    }



    .activity-type-display {

        font-size: 0.85rem;

        padding: 9px 20px;

        gap: 10px;

    }



    .activity-type-display i {

        font-size: 1rem;

    }



    .booking-notice {

        padding: 8px 10px;

        font-size: 0.75rem;

        margin-bottom: 12px;

    }



    .booking-notice i {

        font-size: 1rem;

    }



    .video-container-modern video {

        max-height: 250px !important;

    }

}



/* Mobile & Small Tablets (576px - 767px) */

@media (max-width: 767px) {

    .activity-type-display {

        font-size: 1rem;

        padding: 12px 25px;

    }

    

    .activity-type-display i {

        font-size: 1.2rem;

    }

    

    .booking-notice {

        font-size: 0.9rem;

    }



    .video-container-modern video {

        max-height: 300px !important;

    }

}



/* Mobile Phones (< 576px) */

@media (max-width: 575px) {

    .activity-type-badge-section {

        padding: 15px;

    }

    

    .activity-type-display {

        font-size: 0.95rem;

        padding: 10px 20px;

        gap: 10px;

    }



    .activity-type-display i {

        font-size: 1.1rem;

    }



    .booking-notice {

        font-size: 0.85rem;

        padding: 10px 12px;

    }



    .video-container-modern video {

        max-height: 250px !important;

    }

}



/* Extra Small Phones (< 400px) */

@media (max-width: 399px) {

    .activity-type-display {

        font-size: 0.9rem;

        padding: 9px 18px;

        gap: 8px;

    }



    .activity-type-display i {

        font-size: 1rem;

    }



    .booking-notice {

        font-size: 0.8rem;

    }

}





/* PUSHED NAVBAR TOGGLER GLOBALLY TO FIX ALL PAGES */

.navbar-toggler {

    border: 2px solid var(--accent-sky) !important;

    padding: 8px 12px !important;

    border-radius: 8px !important;

    transition: all 0.3s ease !important;

    background-color: transparent !important;

}



.navbar-toggler:hover {

    background-color: rgba(98, 182, 203, 0.1) !important;

    border-color: var(--accent-orange) !important;

}



.navbar-toggler:focus {

    box-shadow: 0 0 0 0.2rem rgba(98, 182, 203, 0.25) !important;

    outline: none !important;

}



.navbar-toggler-icon {

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    background-image: none !important;

}



.navbar-toggler-icon i {

    color: var(--accent-sky) !important;

    font-size: 1.3rem !important;

    transition: all 0.3s ease !important;

    display: inline-block !important;

}



.navbar-toggler:hover .navbar-toggler-icon i {

    color: var(--accent-orange) !important;

    transform: rotate(90deg) !important;

}





/* ===== شريط الأذكار المتحرك ===== */

.adhkar-ticker {

    background: linear-gradient(135deg, #0d1b2a 0%, #1b4965 50%, #0d1b2a 100%);

    overflow: hidden;

    white-space: nowrap;

    position: relative;

    z-index: 1050;

    padding: 8px 0;

    border-bottom: 2px solid rgba(98, 182, 203, 0.3);

}



.adhkar-ticker::before,

.adhkar-ticker::after {

    content: '';

    position: absolute;

    top: 0;

    width: 60px;

    height: 100%;

    z-index: 2;

    pointer-events: none;

}



.adhkar-ticker::before {

    left: 0;

    background: linear-gradient(to right, #0d1b2a, transparent);

}



.adhkar-ticker::after {

    right: 0;

    background: linear-gradient(to left, #0d1b2a, transparent);

}



.adhkar-ticker-content {

    display: inline-flex;

    align-items: center;

    animation: adhkar-scroll 60s linear infinite;

    gap: 0;

}



[dir="rtl"] .adhkar-ticker-content {

    animation: adhkar-scroll-rtl 60s linear infinite;

}



.adhkar-item {

    color: rgba(255, 255, 255, 0.95);

    font-size: 0.88rem;

    font-weight: 500;

    padding: 0 25px;

    font-family: 'Cairo', 'Amiri', sans-serif;

    letter-spacing: 0.3px;

}



.adhkar-item i {

    color: var(--accent-orange);

    margin-inline-end: 8px;

    font-size: 0.75rem;

    opacity: 0.9;

}



.adhkar-separator {

    color: var(--accent-sky);

    font-size: 0.7rem;

    opacity: 0.6;

    padding: 0 5px;

}



@keyframes adhkar-scroll {

    0% { transform: translateX(0); }

    100% { transform: translateX(-50%); }

}



@keyframes adhkar-scroll-rtl {

    0% { transform: translateX(0); }

    100% { transform: translateX(50%); }

}



.adhkar-ticker:hover .adhkar-ticker-content {

    animation-play-state: paused;

}



/* موبايل */

@media (max-width: 768px) {

    .adhkar-ticker {

        padding: 6px 0;

    }

    .adhkar-item {

        font-size: 0.8rem;

        padding: 0 20px;

    }

    .adhkar-ticker-content {

        animation-duration: 45s;

    }

    [dir="rtl"] .adhkar-ticker-content {

        animation-duration: 45s;

    }

}



/* ==========================================================================

   ROMAR TRAVEL - SLEEK & RESPONSIVE NAVBAR OVERRIDES (GLOBAL SITE FIX)

   ========================================================================== */



/* 1. Desktop Layout (Sleeker sizing, reduced paddings & font sizes) */

.navbar-brand {

    padding: 5px 0 !important;

}

.navbar-logo {

    height: 75px !important;

}

.navbar.scrolled .navbar-logo {

    height: 50px !important;

}

.navbar-nav .nav-link {

    font-size: 0.82rem !important;

    padding: 18px 12px !important;

}

.navbar.scrolled .navbar-nav .nav-link {

    padding: 10px 12px !important;

}

.navbar-nav .nav-link .nav-icon {

    font-size: 0.85rem !important;

}

.navbar-nav .nav-link span {

    font-size: 0.78rem !important;

}



/* 2. Large Screens Specific (1400px+) */

@media (min-width: 1400px) {

    .navbar-nav .nav-link {

        padding: 18px 15px !important;

        font-size: 0.85rem !important;

    }

    .navbar.scrolled .navbar-nav .nav-link {

        padding: 10px 15px !important;

    }

    .navbar-nav .nav-link span {

        font-size: 0.8rem !important;

    }

    .nav-action-btn {

        padding: 8px 14px !important;

        font-size: 0.85rem !important;

    }

    .nav-action-btn span {

        font-size: 0.8rem !important;

    }

}



/* 3. Large Screens Specific (1200px - 1399px) */

@media (min-width: 1200px) and (max-width: 1399px) {

    .navbar-nav .nav-link {

        padding: 18px 12px !important;

    }

    .navbar.scrolled .navbar-nav .nav-link {

        padding: 10px 12px !important;

    }

}



/* 4. Medium Screens / Tablet-Desktop Transition (992px - 1280px) */

@media (min-width: 992px) and (max-width: 1280px) {

    .navbar .container-fluid {

        padding-left: 1rem !important;

        padding-right: 1rem !important;

    }

    .navbar-logo {

        height: 52px !important;

    }

    .navbar.scrolled .navbar-logo {

        height: 42px !important;

    }

    .navbar-nav {

        gap: 2px !important;

    }

    .navbar-nav .nav-link {

        padding: 12px 6px !important;

        font-size: 0.78rem !important;

        gap: 4px !important;

    }

    .navbar-nav .nav-link span {

        font-size: 0.72rem !important;

    }

    .navbar-nav .nav-link .nav-icon {

        font-size: 0.78rem !important;

    }

    .navbar-actions {

        gap: 6px !important;

    }

    .nav-action-btn {

        padding: 6px 10px !important;

        font-size: 0.78rem !important;

        gap: 4px !important;

    }

    .nav-action-btn span {

        font-size: 0.72rem !important;

    }

    .language-dropdown .lang-name {

        display: inline-block !important;

        font-size: 0.72rem !important;

        margin: 0 4px !important;

    }

    .language-dropdown .dropdown-toggle {

        padding: 6px 8px !important;

    }

    .admin-btn span {

        display: none !important;

    }

    .admin-btn {

        padding: 6px 10px !important;

    }

}



/* 5. Mobile & Tablet Collapsed Screens (max-width: 991px) */

@media (max-width: 991px) {

    .navbar .container-fluid {

        padding-left: 1rem !important;

        padding-right: 1rem !important;

    }

    .navbar-logo {

        height: 55px !important;

    }

    .navbar.scrolled .navbar-logo {

        height: 45px !important;

    }

    .navbar-collapse {

        background: rgba(255, 255, 255, 0.98) !important;

        border-radius: 16px !important;

        padding: 20px !important;

        margin-top: 10px !important;

        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;

        border: 1px solid rgba(98, 182, 203, 0.15) !important;

    }

    .navbar-nav {

        align-items: stretch !important;

        gap: 6px !important;

        margin-bottom: 15px !important;

    }

    .navbar-nav .nav-link {

        padding: 10px 15px !important;

        font-size: 0.85rem !important;

        border-radius: 8px !important;

        background: transparent !important;

        width: 100% !important;

    }

    .navbar-nav .nav-link::before {

        display: none !important;

    }

    .navbar-nav .nav-link:hover,

    .navbar-nav .nav-link.active {

        background: linear-gradient(90deg, rgba(98, 182, 203, 0.15) 0%, transparent 100%) !important;

    }

    .navbar-actions {

        width: 100% !important;

        flex-direction: column !important;

        align-items: stretch !important;

        gap: 10px !important;

    }

    .navbar-actions .dropdown,

    .navbar-actions .nav-action-btn {

        width: 100% !important;

        text-align: center !important;

        justify-content: center !important;

    }

    .language-dropdown .dropdown-menu {

        width: 100% !important;

        box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important;

    }

    .user-dropdown .dropdown-menu {

        width: 100% !important;

    }

}



/* 6. Mobile Small Screens (max-width: 576px) */

@media (max-width: 576px) {

    .navbar-logo {

        height: 48px !important;

    }

    .navbar.scrolled .navbar-logo {

        height: 42px !important;

    }

    .navbar-toggler {

        padding: 6px 10px !important;

    }

    .navbar-toggler-icon i {

        font-size: 1.1rem !important;

    }

}

/* ============================================
   Loyalty Badge Mini (Header)
   ============================================ */

.loyalty-badge-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    margin-left: 8px;
    margin-right: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: help;
    transition: all 0.3s ease;
    position: relative;
}

.loyalty-badge-mini::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    filter: blur(4px);
    z-index: -1;
}

.loyalty-badge-mini:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .loyalty-badge-mini {
    margin-left: 8px;
    margin-right: 8px;
}

/* Tooltip styling for Bootstrap */
.tooltip-inner {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 8px 12px;
    font-size: 0.875rem;
    border-radius: 6px;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: rgba(0, 0, 0, 0.9);
}

/* ===== Premium SweetAlert2 Styling ===== */
div.swal2-popup {
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
    padding: 2em !important;
    border: 1px solid rgba(255,255,255,0.8) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
}

div.swal2-title {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
    color: var(--primary-dark) !important;
    font-size: 1.6rem !important;
}

div.swal2-html-container {
    font-family: 'Cairo', sans-serif !important;
    color: #4a5568 !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
}

div.swal2-icon {
    border-width: 3px !important;
}

button.swal2-confirm, button.swal2-cancel {
    border-radius: 12px !important;
    padding: 12px 28px !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

button.swal2-confirm {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-sky)) !important;
    border: none !important;
    color: white !important;
}

button.swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(98, 182, 203, 0.4) !important;
}

button.swal2-cancel {
    background: transparent !important;
    border: 2px solid #e2e8f0 !important;
    color: #4a5568 !important;
}

button.swal2-cancel:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: var(--primary-dark) !important;
}
