/* ================= Sidebar Container ================= */
#sidebar {
    position: fixed;
    top: 0;
    right: -350px;            /* hidden by default */
    width: 350px;
    height: 100vh;
    background: rgba(0, 0, 0, 1);
    z-index: 99;
    transition: right 0.35s ease;
    overflow-y: auto;
    padding-top: 60px;
    direction: rtl;
}

/* Open state */
#sidebar.active {
    right: 0;
}

/* Close button */
#sidebar .close-btn {
    position: absolute;
    top: 15px;
    left: 10px;        /* ✅ FIX (was left) */
    z-index: 10001;     /* ✅ FIX click issue */
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

/* Sidebar links */
#sidebar a {
    color: #fff;
    text-decoration: none;
    width: 100%;
    border-radius: 6px;
    transition: background 0.3s ease;
}

#sidebar a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Icons */
#sidebar img {
}

/* Button (hamburger) */
.sidebtn {
    background: transparent;
    border: none;
}

/* Optional overlay */
#sidebarOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;     /* lower than sidebar */
    display: none;
}


#sidebarOverlay.active {
    display: block;
}

/* Mobile tweaks */
@media (max-width: 576px) {
    #sidebar {
        width: 85%;
    }
}



#sidebar {
    z-index: 9999;
}
/* Loader background */
/* ===== Loader Container ===== */
/* ===== Global ===== */


/* ===== Loader Container ===== */
/* ===== Global ===== */


/* ===== Loader Container ===== */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0f0f0f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    direction: rtl;
    transition: opacity 0.3s ease; /* faster */
}

/* ===== Kaaba Style Spinner ===== */
.kaaba-spinner {
    width: 65px;
    height: 65px;
    background: #0b0b0b;
    border: 4px solid #ca9f44;
    animation: kaabaSpin 4s ease-in-out infinite;
    margin-bottom: 22px;
    position: relative;
}

/* Gold band (Kiswah hint) */
.kaaba-spinner::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 6px;
    background: #ca9f44;
}

/* ===== Website Name Animation ===== */
.site-name {
    color: #d82026;
    font-size: 28px;
    margin: 5px 0;
    animation:
        fadeSlide 3s ease-in-out infinite,
        glow 3s ease-in-out infinite;
}

/* ===== Loader Text ===== */
.loader-text {
    color: #fff;
    font-size: 16px;
    margin-top: 4px;
}
.logo-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #e30613; /* logo red */
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
}
/* ===== Animations ===== */
@keyframes kaabaSpin {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeSlide {
    0% {
        opacity: 0.4;
        transform: translateY(6px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0.4;
        transform: translateY(6px);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    }
    50% {
        text-shadow: 0 0 18px rgba(212, 175, 55, 0.9);
    }
    100% {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    }
}

/* 1. Main Hero Container */
.th-hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Handles mobile browser bars */
    overflow: hidden;
    background-color: #000;
}

/* 2. Full Screen Video Background */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* 3. Responsive Iframe (Ensures 16:9 fills vertical screens) */
.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh; 
    transform: translate(-50%, -50%);
    border: none;
}

/* 4. Diamond Overlay (80% Black Coverage) */
.video-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 5 !important;
    pointer-events: none;
    
    /* Diamond cutout shape */
    clip-path: polygon(
        0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 
        50% 35%, 80% 50%, 50% 65%, 20% 50%, 50% 35%
    );
}

/* 5. Text Content */
.hero-content {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10 !important;
    color: #ffffff;
    text-align: center;
    padding: 0 20px;
}

/* 6. Mobile Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem !important;
    }
    /* Widens the diamond slightly for narrow phone screens */
    .video-overlay-layer {
        clip-path: polygon(
            0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 
            50% 38%, 90% 50%, 50% 62%, 10% 50%, 50% 38%
        );
    }
}

/* The Solid Black Gradient Frame */
.video-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Creates a deep black bar at top and bottom */
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(0, 0, 0, 0) 50%, 
        rgba(0, 0, 0, 0) 50%, 
        rgba(0, 0, 0, 1) 100%
    ) !important;
    z-index: 5 !important;
    pointer-events: none;
}

/* This allows your mouse clicks to pass through the black diamond layer */
.video-overlay-layer {
    pointer-events: none !important;
}

/* This ensures the button itself IS clickable */
.hero-content, .btn-whatsapp {
    pointer-events: auto !important;
    position: relative;
    z-index: 10 !important;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    border: none;
    padding: 14.5px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.package-form .nice-select.open .list {
    
    z-index: 1000 !important;
}