﻿/* ==============================
   Google Font & Variables
   ============================== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

:root {
    --gold: #d4af37;
    --dark: #1b1b1b;
    --light: #ffffff;
    --gray: #f8f8f8;
    --transition: all 0.3s ease;
}

/* ==============================
   Global
   ============================== */
body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

    a:hover {
        color: var(--gold);
    }

/* ==============================
   TOP INFO BAR
   ============================== */
.topbar {
    background: var(--light);
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 0.9rem;
}

.topbar-container {
    max-width: 1200px;
    margin: auto;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.gold {
    color: var(--gold);
    margin-right: 0.25rem;
}

.brand {
    font-weight: 600;
    color: var(--dark);
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
    background: var(--dark);
    color: var(--light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .nav-logo i {
        color: var(--gold);
    }

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--light);
    font-weight: 500;
    position: relative;
}

    .nav-link::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: width 0.3s;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

/* Navbar adjustments for RTL */
body[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

body[dir="rtl"] .nav-menu {
    flex-direction: column;
    text-align: right;
}

body[dir="rtl"] .nav-link {
    text-align: right;
}

body[dir="rtl"] .nav-logo {
    flex-direction: row-reverse;
}

body[dir="rtl"] .language-switcher {
    text-align: left; /* English/Arabic switcher on opposite side */
    margin-left: 1rem;
}

body[dir="rtl"] .nav-toggle {
    flex-direction: column-reverse;
}


/* ==============================
   NAV TOGGLE (Mobile)
   ============================== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .nav-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--light);
    }

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        display: none;
    }

        .nav-menu.active {
            display: flex;
        }

    .nav-toggle {
        display: flex;
    }
}

/* ==============================
   HERO SECTION
   ============================== */

/* Hero section */
.hero {
    background: url('/images/Hero.png') center/cover no-repeat;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center; /* vertically center everything */
    justify-content: center; /* horizontally center everything */
    text-align: center;
    color: var(--light);
}

    .hero .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
    }

    .hero .container {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column; /* stack title, paragraph, and button vertically */
        align-items: center; /* horizontally center them */
        justify-content: center; /* vertically center them inside hero */
        text-align: center;
        gap: 1rem; /* spacing between text and button */
    }

    .hero h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .hero::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 600px;
        z-index: 1;
    }

.btn-gold {
    background-color: var(--gold);
    color: var(--light);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

    .btn-gold:hover {
        background-color: #b9952b;
    }
/* ==============================
   PACKAGES SECTION
   ============================== */
.packages-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.package-card {
    position: relative;
    height: 420px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: transform 0.4s ease;
    cursor: pointer;
}

    .package-card:hover {
        transform: translateY(-8px);
    }

.package-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.1));
}

.package-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 1.5rem;
    text-align: right;
}

    .package-content h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

.price-label {
    font-size: 1rem;
    opacity: 0.9;
}

.room-type {
    font-size: 0.95rem;
    opacity: 0.8;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffe56b;
    margin-top: 0.5rem;
}

.validity {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.btn-book {
    display: inline-block;
    background: #00c7b7;
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    font-weight: 600;
    transition: background 0.3s ease;
}

    .btn-book:hover {
        background: #009f95;
    }

.center-btn {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically if container has height */
    width: 100%; /* take full screen width */
    margin-top: 2rem; /* spacing above */
}

/* ==============================
   MAIN CONTENT
   ============================== */
.main-content {
    min-height: 70vh;
    padding: 2rem 1rem;
    text-align: center;
}

/* ==============================
   FOOTER
   ============================== */
.luxury-footer {
    background: var(--dark);
    color: var(--light);
    padding: 3rem 1rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}
    

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

        .footer-section ul li i {
            color: var(--gold);
            margin-right: 0.5rem;
        }


.newsletter {
    display: flex;
    margin-top: 1rem;
}

    .newsletter input {
        flex: 1;
        padding: 0.6rem;
        border: none;
        outline: none;
        border-radius: 2rem 0 0 2rem;
    }

    .newsletter button {
        padding: 0.6rem 1.2rem;
        background: var(--gold);
        color: var(--dark);
        border: none;
        border-radius: 0 2rem 2rem 0;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
    }

        .newsletter button:hover {
            background: #e0c25c;
        }

.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #aaa;
}
.nav-logo-img {
    height: 35px;
    width: auto;
    margin-right: 8px;
    border-radius: 6px;
    object-fit: contain;
}
/* ==============================
   ABOUT PAGE CARDS DESIGN
   ============================== */
.about-hero {
    background: url('/images/Hero.png');
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light);
}

    .about-hero .overlay {
        position: absolute;
        inset: 0;
    }

    .about-hero .container {
        position: relative;
        z-index: 2;
    }

    .about-hero h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .about-hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

.about-cards-section {
    background-color: #fff;
}

.about-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem;
    transition: all 0.4s ease;
    border-top: 4px solid var(--gold);
    overflow: hidden;
    cursor: pointer;
    width: 800px;   /* set card width */
    margin: 0 auto; /* center each card */
}

    .about-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .about-card h4 {
        color: var(--dark);
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .about-card p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.7;
    }

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--light);
    font-size: 1.6rem;
    box-shadow: 0 4px 10px rgba(212,175,55,0.3);
}

/* ==============================
   SERVICES PAGE
   ============================== */
.page-header {
    background: none; /* removes any background image or color */
    backdrop-filter: none; /* removes blur effect */
    text-align: center;
    padding: 3rem 1rem;
}

    .page-header h1 {
        font-size: 3rem;
        font-weight: 700;
        color: var(--gold);
        margin-bottom: 1rem;
        letter-spacing: 0.5px;
    }

    .page-header p {
        font-size: 1.2rem;
        color: #fff; /* white text for subtext */
        max-width: 600px;
        margin: auto;
        opacity: 0.9; /* soft contrast on bright backgrounds */
    }

/* --- Services Content --- */
.services-content {
    position: relative;
    background-attachment: fixed; /* gives elegant stationary logo effect */
    background-color: #f9f9f9; /* fallback background color */
    padding: 5rem 1rem;
    isolation: isolate; /* ensures overlay layering works cleanly */
}

    .services-content::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.85); /* brightens & softens logo visibility */
        z-index: 0;
        backdrop-filter: brightness(0.95);
    }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.service-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 4rem;
    background-size: 100% 100%; /* stretch horizontally & vertically */
    background-repeat: no-repeat;
    background-position: center;
}

    .service-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4); /* dark overlay */
        z-index: 1;
    }

    .service-card h3,
    .service-card p {
        position: relative;
        z-index: 2;
        margin: 0;
        color: #fff;
        margin-bottom: 3rem;
    }

    .service-card h3 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #fff;
        margin-bottom: 3rem;
    }

    .service-card p {
        font-size: 1rem;
        margin-top: 0.5rem;
        opacity: 0.9;
    }

.service-icon {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background-color: #00c8c8;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .service-icon img {
        width: 32px;
        height: 32px;
    }

.service-card:hover .service-icon {
    background: var(--gold);
    color: #fff;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 1500;
    margin-bottom: 0.75rem;
    color: white;
    margin-bottom: 2rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .service-card ul li {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 0.5rem;
        position: relative;
        padding-left: 20px;
    }

        .service-card ul li::before {
            content: "✔";
            color: var(--gold);
            position: absolute;
            left: 0;
            top: 0;
            font-size: 0.9rem;
        }

/* --- Process Section --- */
.process-section {
    backdrop-filter: blur(1px);
    padding: 4rem 1rem;
    border-radius: 20px;
    margin-top: 5rem;
}

    .process-section h2 {
        font-size: 2rem;
        color: var(--dark);
        font-weight: 700;
        margin-bottom: 2rem;
    }

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: auto;
}

.step {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .step:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    }

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: #555;
}

/* ==============================
   CONTACT PAGE
   ============================== */

.contact-hero {
    background: linear-gradient(rgba(20, 0, 40, 0.7), rgba(20, 0, 40, 0.8)), url('/images/contact-hero.jpg') center/cover no-repeat;
    height: 60vh;
    position: relative;
}

    .contact-hero .hero-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.3);
    }

.contact-content {
    position: relative;
    background-attachment: fixed; /* gives elegant stationary logo effect */
    background-color: #f9f9f9; /* fallback background color */
    padding: 5rem 1rem;
    isolation: isolate; /* ensures overlay layering works cleanly */
}


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: auto;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   CONTACT PAGE
   ============================================ */

/* --- Header Section --- */
.contact-header {
    color: var(--light);
    text-align: center;
    padding: 6rem 1rem 5rem;
}

    .contact-header h1 {
        font-size: 3rem;
        font-weight: 700;
        color: var(--gold);
        margin-bottom: 1rem;
        letter-spacing: 1px;
    }

    .contact-header p {
        font-size: 1.2rem;
        color: var(--gold);
        max-width: 600px;
        margin: auto;
    }

/* --- Contact Cards --- */
.contact-details {
    position: relative;
    background-attachment: fixed; /* gives elegant stationary logo effect */
    background-color: #f9f9f9; /* fallback background color */
    padding: 5rem 1rem;
    isolation: isolate; /* ensures overlay layering works cleanly */
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.contact-card {
    background: var(--light);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    flex: 1 1 280px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--gold);
}

    .contact-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

    .contact-card i {
        font-size: 2.2rem;
        color: var(--gold);
        margin-bottom: 1rem;
    }

    .contact-card h3 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

    .contact-card p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.6;
    }



/* --- Divider --- */
.contact-divider {
    max-width: 1200px;
    margin: 2rem auto;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}
/* ==============================
   Contact Form — Luxury Style
   ============================== */
/* ==============================
   CONTACT FORM — Elegant Gold & White Design
   ============================== */
.contact-form {
    background: #fff;
    border-radius: 18px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    max-width: 750px;
    margin: 3rem auto;
    border-top: 5px solid var(--gold);
    position: relative;
    overflow: hidden;
}

    .contact-form::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(218,165,32,0.05), rgba(255,255,255,0.2));
        z-index: 0;
    }

    .contact-form h2 {
        position: relative;
        z-index: 1;
        text-align: center;
        color: var(--gold);
        font-weight: 700;
        margin-bottom: 2.5rem;
        letter-spacing: 0.5px;
        font-size: 1.8rem;
    }

select {
    position: relative;
    z-index: 1000;
}

/* Form Groups */
.form-group {
    position: relative;
    margin-bottom: 1.7rem;
    z-index: 1;
}

    .form-group label {
        display: block;
        font-weight: 600;
        color: #222;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.9rem 1.2rem;
        border-radius: 10px;
        border: 1px solid #ddd;
        background: #fafafa;
        font-size: 1rem;
        color: #333;
        transition: all 0.3s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
        position: relative;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--gold);
            background: #fff;
            box-shadow: 0 4px 12px rgba(218, 165, 32, 0.1);
            outline: none;
            position: relative;
        }

textarea {
    resize: none;
}

/* Phone Input with Country Code */
.phone-group {
    display: flex;
    align-items: center;
    position: relative;
}

.country-code {
    position: absolute;
    left: 15px;
    background: transparent;
    border: none;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
    pointer-events: none;
}

.phone-input {
    padding-left: 60px !important; /* Space for country code */
}
/* ==============================
   CHECKBOX GROUP STYLING
   ============================== */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem 1.5rem;
    margin-top: 0.5rem;
}

    .checkbox-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 500;
        color: #333;
        background: #fafafa;
        padding: 0.6rem 1rem;
        border-radius: 10px;
        border: 1px solid #ddd;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .checkbox-group input[type="checkbox"] {
        accent-color: var(--gold);
        width: 18px;
        height: 18px;
    }

    .checkbox-group label:hover {
        border-color: var(--gold);
        box-shadow: 0 4px 10px rgba(218, 165, 32, 0.1);
        background: #fff;
    }


/* Submit Button */
.submit-btn {
    display: block;
    width: 100%;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(218, 165, 32, 0.25);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

    .submit-btn:hover {
        background: #d4af37;
        box-shadow: 0 8px 22px rgba(218, 165, 32, 0.3);
        transform: translateY(-2px);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .country-code {
        left: 10px;
    }

    .phone-input {
        padding-left: 50px !important;
    }
}
/*
/* --- Map Section --- 
.map-section {
    padding: 5rem 1rem;
    text-align: center;
}

    .map-section h2 {
        font-size: 2rem;
        color: var(--dark);
        font-weight: 700;
        margin-bottom: 2rem;
    }

.map-container {
    max-width: 900px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .map-container img {
        width: 100%;
        display: block;
        object-fit: cover;
    }
*/
/* --- Responsive --- */
@media (max-width: 768px) {
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
}
/* ==============================
   GLOBAL PAGE BACKGROUND
   ============================== */
.page-section,
body main,
section:not(.hero):not(.page-header),
.contact-content,
.services-content,
.about-cards-section,
.packages-section {
    background: url('/images/Logo.jpg') center/cover no-repeat fixed;
    background-size: 60%;
    position: relative;
    isolation: isolate;
}

    /* Add overlay only to non-hero sections */
    .page-section::before,
    body main::before,
    section:not(.hero):not(.page-header)::before,
    .contact-content::before,
    .services-content::before,
    .about-cards-section::before,
    .packages-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.90); /* light overlay for readability */
        z-index: 0;
        backdrop-filter: brightness(0.98);
    }

    /* Ensure content appears above overlay */
    .page-section > *,
    section:not(.hero):not(.page-header) > *,
    .contact-content > *,
    .services-content > *,
    .about-cards-section > *,
    .packages-section > * {
        position: relative;
        z-index: 2;
    }

/* ==============================
   International Phone Input Styling
   ============================== */
.iti {
    width: 250px;
    max-width: 100%;
    position: relative;
}

.iti__flag-container {
    border-radius: 10px 0 0 10px;
}

.iti__selected-flag {
    background-color: #fff !important;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 10px 0 0 10px;
    transition: all 0.3s ease;
}

    .iti__selected-flag:hover {
        background-color: #f9f9f9 !important;
    }

.phone-input {
    border-radius: 0 10px 10px 0 !important;
    border-left: none !important;
}

.iti__country-list {
    z-index: 10000;
    border-radius: 10px;
}
.contact-form,
.form-group {
    overflow: visible !important;
}
/* Force the intl-tel-input country list to open upward */
.iti__country-list {
    top: auto !important;
    bottom: 100% !important;
    margin-bottom: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    z-index: 99999 !important;
    transform-origin: bottom center !important;
    animation: slideUp 0.25s ease;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.social-links {
    display: flex;
    justify-content: center; /* centered for balanced layout */
    gap: 1.2rem;
    margin-top: 1.5rem;
}

    .social-links a {
        background: transparent;
        border: 2px solid var(--gold);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: var(--gold);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        box-shadow: 0 0 10px rgba(218, 165, 32, 0.25);
    }

        .social-links a:hover {
            background: var(--gold);
            color: var(--dark);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
        }


.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--gold);
        background: #fff;
        box-shadow: 0 4px 12px rgba(218, 165, 32, 0.1);
        outline: none;
    }

/* Keep form centered even in RTL */
body[dir="rtl"] .contact-form {
    text-align: center;
}

.about-values p {
    margin: 0;
    padding: 0;
}


/* ==============================
   MOBILE RESPONSIVE STYLES
   ============================== */
@media (max-width: 768px) {

    /* --- Topbar --- */
    .topbar-container {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
        padding: 0.5rem;
    }

    /* --- Navbar --- */
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }

    .nav-menu {
        position: static;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        display: none;
    }

        .nav-menu.active {
            display: flex;
        }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }

    /* --- Hero Section --- */
    .hero {
        height: 40vh;
        text-align: center;
        padding: 1rem;
    }

        .hero h1 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 1rem;
        }

    .btn-gold {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* --- Packages Section --- */
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .package-card {
        height: 350px;
        border-radius: 16px;
    }

    .package-content {
        text-align: center;
        padding: 1rem;
    }

    /* --- Services Section --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    /* --- Process Section --- */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step {
        padding: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* --- About Section --- */
    .about-card {
        width: 100%;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .about-hero {
        height: 35vh;
        text-align: center;
        padding: 0.5rem;
    }

        .about-hero h1 {
            font-size: 2rem;
        }

        .about-hero p {
            font-size: 1rem;
        }

    /* --- Contact Section --- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        flex: 1 1 100%;
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem 1rem;
        max-width: 100%;
    }

    .country-code {
        left: 10px;
    }

    .phone-input {
        padding-left: 50px !important;
    }

    /* --- Footer --- */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .newsletter {
        flex-direction: column;
        gap: 0.5rem;
    }

        .newsletter input, .newsletter button {
            width: 100%;
        }

    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }

    /* --- Global Page Background Overlay --- */
    .page-section::before,
    body main::before,
    section:not(.hero):not(.page-header)::before,
    .contact-content::before,
    .services-content::before,
    .about-cards-section::before,
    .packages-section::before {
        background: rgba(255, 255, 255, 0.95); /* slightly stronger overlay for small screens */
    }
}



.container {
    padding: 2rem;
}

.title {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.visa-card {
    width: 250px;
    height: 200px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    background: #fff;
    transition: transform 0.3s ease;
}

    .visa-card:hover {
        transform: translateY(-5px);
    }

.bg-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.flag-circle {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

    .flag-circle img {
        width: 200%;
        height: 100%;
    }

.caption {
    margin-top: 0.5rem;
    font-weight: bold;
    font-size: 1rem;
}
.swiper {
    width: 100%;
    padding-bottom: 2rem;
    position: relative;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.swiper-button-prev,
.swiper-button-next {
    color: #000;
}

.visa-card {
    width: 250px;
    height: 200px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    background: #fff;
    transition: transform 0.3s ease;
}

    .visa-card:hover {
        transform: translateY(-5px);
    }

.package-details {
    background: #fff;
    padding: 3rem 0;
    color: #1b1b1b;
    font-family: 'Tajawal', sans-serif;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.image-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}

.info-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

    .info-card:hover {
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }

.section-label {
    background-color: #d4af37;
    color: white;
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hotels-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

    .hotels-table th, .hotels-table td {
        border-bottom: 1px solid #eee;
        padding: 0.75rem;
        text-align: center;
    }

    .hotels-table th {
        background: #f9f9f9;
        color: #d4af37;
    }

@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}
.package-details {
    background: #fff;
    padding: 3rem 0;
    color: #1b1b1b;
    font-family: 'Tajawal', sans-serif;
}

.details-grid {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 2rem;
}

.image-carousel {
    position: sticky;
    top: 100px;
    height: 80vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

    .carousel-slide.active {
        opacity: 1;
    }

    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
    transition: background 0.3s;
}

    .carousel-btn:hover {
        background: #d4af37;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

.info-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

    .info-card:hover {
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }

.section-label {
    background-color: #d4af37;
    color: white;
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .image-carousel {
        position: relative;
        height: 50vh;
    }
}


/* ==== Tourist Visas (LTR) – fixes & final look ==== */


/* proper width for the section */
.visas-wrap {
    
    margin: 0 auto;
    padding: 0 16px;
}

/* heading */
.title-with-sub {
    text-align: center;
    color: var(--dark);
    font-weight: 800;
    letter-spacing: .3px;
    margin-bottom: 2rem;
}

    .title-with-sub::after {
        content: "";
        display: block;
        width: 120px;
        height: 6px;
        margin: .75rem auto 0;
        border-radius: 6px;
        background: linear-gradient(to right, transparent, var(--gold), transparent);
        opacity: .7;
    }

/* swiper */
.visa-swiper {
    padding: .5rem 0 2.5rem;
    overflow: visible;
}

    .visa-swiper .swiper-slide {
        display: flex;
        justify-content: center;
        transition: transform .3s ease, opacity .3s ease, filter .3s ease;
    }

    .visa-swiper .swiper-slide-active {
        opacity: 1;
        transform: translateY(-2px);
    }

    .visa-swiper .swiper-slide-prev,
    .visa-swiper .swiper-slide-next {
        opacity: .85;
    }

    .visa-swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
        opacity: .45;
    }

    /* arrows – white circles with gold chevrons */
    .visa-swiper .swiper-button-prev,
    .visa-swiper .swiper-button-next {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 6px 18px rgba(0,0,0,.08);
        color: var(--gold) !important;
        top: calc(50% - 10px);
    }

        .visa-swiper .swiper-button-prev:after,
        .visa-swiper .swiper-button-next:after {
            font-size: 18px;
            font-weight: 700;
            color: var(--gold);
        }

/* card */
.visa-card {
    width: 320px;
    height: 250px;
    position: relative;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform .25s ease, box-shadow .25s ease;
    text-decoration: none;
}

    .visa-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(0,0,0,.12);
    }

.visa-card-top {
    height: 160px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.visa-card .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* flag overlaps the seam */
.flag-circle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 128px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    display: grid;
    place-items: center;
}

    .flag-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.visa-card-bottom {
    flex: 1;
    display: grid;
    place-items: end center;
    padding-bottom: 16px;
}

.caption {
    font-weight: 800;
    font-size: 1rem;
    color: #333;
    text-align: center;
}

/* small screens */
@media (max-width: 480px) {
    .visa-card {
        width: 280px;
        height: 230px;
    }

    .visa-swiper .swiper-button-prev, .visa-swiper .swiper-button-next {
        display: none;
    }
}


/* ==== International Driving Licence – LTR Accordion ==== */
.idl-accordion {
    max-width: 1100px;
    margin: 1rem auto 3rem;
}

.idl-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    border: 1px solid #eee;
}

.idl-head {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #00c8c8;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.05rem;
}

.idl-title {
    display: flex;
    align-items: center;
    gap: .6rem;
}

    .idl-title i {
        font-size: 1rem;
    }

.idl-caret {
    width: 18px;
    height: 18px;
    position: relative;
    margin-inline: .25rem;
}

    .idl-caret::before {
        content: "";
        position: absolute;
        inset: 0;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        display: inline-block;
        transform: rotate(45deg); /* down arrow */
        margin: 2px 0 0 0;
    }

.idl-item.open .idl-caret::before {
    transform: rotate(-135deg);
}
/* up arrow */

.idl-body {
    background: #fff;
    color: #333;
    padding: 0 1.25rem;
    max-height: 0;
    transition: max-height .35s ease;
}

.idl-list {
    list-style: none;
    padding: 1rem 0 1.25rem;
    margin: 0;
}

    .idl-list li {
        position: relative;
        padding: .5rem 0 .5rem 1.75rem;
        line-height: 1.8;
        color: #444;
        border-bottom: 1px solid #f2f2f2;
    }

        .idl-list li:last-child {
            border-bottom: none;
        }

        .idl-list li::before {
            content: "✔";
            position: absolute;
            left: .5rem;
            top: .55rem;
            color: var(--gold);
            font-weight: 700;
        }

/* remove the global logo background for this page section */
.no-bg, .no-bg::before {
    background: none !important;
}

    .no-bg::before {
        display: none !important;
    }
/* ===== CLEAN LTR CONTACT FORM (vertical layout) ===== */
.contact-card.ltr {
    direction: ltr;
    max-width: 900px;
    margin: 0 auto 3rem;
    background: linear-gradient(180deg, #3f3f3f, #474747);
    color: #fff;
    border-radius: 16px;
    padding: 2rem;
    border-top: 6px solid var(--gold);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

/* Header */
.contact-card__header {
    margin-bottom: 1.5rem;
}

    .contact-card__header h2 {
        color: var(--gold);
        font-weight: 800;
        margin-bottom: 0.4rem;
    }

    .contact-card__header p {
        color: #ddd;
        margin: 0;
        font-size: 0.96rem;
    }

/* Vertical layout */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Field group */
.fg {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

    .fg label {
        font-weight: 700;
        color: #f7f7f7;
    }

        .fg label span {
            color: #ffb3b3;
        }

/* Inputs */
.input {
    width: 100%;
    background: #fff;
    color: #000; /* Black text */
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

    .input:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
    }

.textarea {
    resize: vertical;
    min-height: 140px;
}

/* intl-tel-input styling */
.contact-card .iti {
    width: 100%;
}

.contact-card .iti__selected-flag {
    background: #fff !important;
    border: 1px solid #e5e5e5;
    border-right: none;
    border-radius: 12px 0 0 12px;
}

.contact-card .phone-input {
    background: #fff;
    color: #000; /* black text */
    border-left: none !important;
    border-radius: 0 12px 12px 0 !important;
}

.contact-card .iti input {
    color: #000 !important;
    background: #fff !important;
}

/* Custom file input */
.file {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 0.5rem 0.6rem;
}

.file__input {
    display: none;
}

.file__button {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    white-space: nowrap;
}

.file__label {
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Validation */
.val-summary {
    color: #ffd5d5;
    font-weight: 600;
    margin: 0.3rem 0;
}

.val-msg {
    color: #ffd5d5;
    font-size: 0.9rem;
}

/* Actions */
.actions {
    display: flex;
    justify-content: flex-end;
}

.btn-submit {
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.4rem;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
    transition: transform 0.06s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

    .btn-submit:hover {
        filter: brightness(1.03);
        box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
    }

    .btn-submit:active {
        transform: translateY(1px);
    }

/* Responsive */
@media (max-width: 600px) {
    .contact-card {
        padding: 1.25rem;
    }

    .actions {
        justify-content: stretch;
    }

    .btn-submit {
        width: 100%;
    }
}

/* ===== intl-tel-input: force black text in dropdown ===== */
.contact-card .iti__country-list {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
    z-index: 99999; /* ensure it pops above cards */
}

.contact-card .iti__country {
    color: #000 !important;
}

.contact-card .iti__country-name,
.contact-card .iti__dial-code {
    color: #000 !important;
    opacity: 1 !important; /* undo any library dimming */
}

.contact-card .iti__country.iti__highlight {
    background: #f5f5f5 !important; /* hover/active row */
}

.contact-card .iti__dial-code {
    margin-left: .35rem; /* small spacing after name */
}

/* input itself stays black too */
.contact-card .iti input,
.contact-card .phone-input {
    color: #000 !important;
}


/* ===== FORM LABEL WIDTH FIX ===== */
.contact-card .fg {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* make child elements (label + input) same width */
    width: 100%;
}

    .contact-card .fg label {
        display: block;
        width: 100%; /* ensure full width */
        text-align: left;
        font-weight: 700;
        color: #f7f7f7;
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

.contact-card .input,
.contact-card .textarea,
.contact-card .file,
.contact-card .phone-input {
    width: 100%;
    box-sizing: border-box;
}

/* Optional: uniform alignment for label text */
.contact-card .fg label span {
    color: #ffb3b3;
}

/* Make sure everything looks clean on mobile */
@media (max-width: 600px) {
    .contact-card .fg label {
        font-size: 1rem;
    }
}

/* ===== Make country code inside phone input black ===== */
.contact-card .iti__selected-dial-code {
    color: #000 !important; /* make the dial code black */
    font-weight: 500 !important; /* slightly bold for readability */
}

/* Make dropdown and number field consistent */
.contact-card .iti__selected-flag,
.contact-card .iti__arrow {
    color: #000 !important; /* make dropdown arrow dark */
}

.contact-card .phone-input {
    color: #000 !important; /* input text */
    background: #fff !important;
}

/* Optional: ensure entire input feels seamless */
.contact-card .iti__selected-flag {
    background: #fff !important;
    border: 1px solid #e5e5e5;
    border-right: none;
    border-radius: 12px 0 0 12px;
}

/* ===== FILE INPUT CONSISTENT STYLE ===== */
.contact-card .file {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 0.5rem 0.6rem;
    width: 100%;
}

/* Hide the native input */
.contact-card .file__input {
    display: none;
}

/* Style the "Choose File" button */
.contact-card .file__button {
    display: inline-block;
    background: var(--gold);
    color: #fff; /* white text to match theme */
    font-weight: 700;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, filter 0.2s ease;
}

    .contact-card .file__button:hover {
        filter: brightness(1.08);
    }

/* Style the "No file chosen" label */
.contact-card .file__label {
    color: #000; /* black like other inputs */
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8; /* soft tone */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* On hover or focus */
.contact-card .file:hover,
.contact-card .file:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212,175,55,.15);
}


/* ---------- INTL-TEL-INPUT: make ALL text black ---------- */
/* Selected country area inside the input */
.contact-card .iti__selected-dial-code,
.contact-form .iti__selected-dial-code,
.iti__selected-dial-code {
    color: #000 !important;
    font-weight: 500 !important;
}

/* Dropdown panel + items */
.contact-card .iti__country-list,
.contact-form .iti__country-list,
.iti__country-list {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
    z-index: 99999 !important;
}

.contact-card .iti__country,
.contact-form .iti__country,
.iti__country {
    color: #000 !important;
}

.contact-card .iti__country-name,
.contact-form .iti__country-name,
.iti__country-name {
    color: #000 !important;
}

.contact-card .iti__dial-code,
.contact-form .iti__dial-code,
.iti__dial-code {
    color: #000 !important;
}

/* Input text + placeholder */
.contact-card .phone-input,
.contact-form .phone-input,
.phone-input {
    color: #000 !important;
    background: #fff !important;
}

    .contact-card .phone-input::placeholder,
    .contact-form .phone-input::placeholder,
    .phone-input::placeholder {
        color: #000 !important;
        opacity: .5 !important;
    }

/* Flag area so it blends with input */
.contact-card .iti__selected-flag,
.contact-form .iti__selected-flag,
.iti__selected-flag {
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-right: none !important;
    border-radius: 12px 0 0 12px !important;
}

/* ---------- FILE INPUT: make label text like other inputs ---------- */
.contact-card .file__label,
.contact-form .file__label,
.file__label {
    color: #000 !important;
    opacity: .85 !important;
    font-weight: 500 !important;
}

/* Keep the custom wrapper full width */
.contact-card .file,
.contact-form .file,
.file {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: .5rem .6rem;
    width: 100%;
}

/* ---- Make the flag area clickable again and above the input ---- */
.iti--allow-dropdown .iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 52px; /* keep the same width you reserved */
    z-index: 5; /* above the input so it gets the click */
    pointer-events: auto !important; /* <-- re-enable clicks */
    cursor: pointer;
}

/* keep input text clear of the flag/caret (works with nationalMode:false) */
.iti input[type="tel"],
.iti input[type="text"],
#phone {
    padding-left: 64px !important; /* 52 + inner spacing */
}

/* (optional) make the little caret visible */
.iti__arrow {
    border-top-color: #000 !important;
    opacity: 0.9;
}

/* if you use dropdownContainer: body, make sure the menu is on top */
.iti--container,
.iti--container .iti__country-list {
    z-index: 100000 !important;
}

* ---------- WHY BOOK WITH US ---------- */
.why-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-item {
    flex: 1 1 250px;
    max-width: 320px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

    .why-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    }

    .why-item i {
        font-size: 2.2rem;
        color: #00b7b7;
        margin-bottom: 1rem;
    }

    .why-item p {
        font-weight: 500;
        color: #333;
        margin: 0;
        line-height: 1.6;
    }
/* ====== Rating Compact ====== */
.rating-compact {
    width: 25%;
    min-width: 180px;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding: 0.5rem 0;
}

/* ====== Stars Tight Design ====== */
.stars-container {
    display: inline-flex;
    flex-direction: row-reverse; /* stars fill left to right */
    justify-content: flex-start;
    align-items: center;
    font-size: 0; /* removes inline gaps */
    line-height: 1;
    gap: 0; /* ensure absolutely no gap */
}

    .stars-container input[type="radio"] {
        display: none;
    }

    /* Star style */
    .stars-container label {
        font-size: 2.2rem;
        color: #fff; /* white by default */
        cursor: pointer;
        transition: color 0.25s ease, transform 0.1s ease;
        margin: 0; /* no spacing at all */
        padding: 0;
    }

        /* Hover (fill to left) */
        .stars-container label:hover,
        .stars-container label:hover ~ label {
            color: #ffca28;
            transform: scale(1.1);
        }

    /* Selected */
    .stars-container input[type="radio"]:checked ~ label {
        color: #ffc107;
    }

/* Legend */
.rating-legend {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
    text-align: left;
}

/* RTL support */
body[dir="rtl"] .rating-compact {
    text-align: right;
}

body[dir="rtl"] .stars-container {
    flex-direction: row;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .rating-compact {
        width: 100%;
        display: block;
        text-align: center;
    }
}


/* ---- Reset fieldset/legend ---- */
.hb-rating {
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
    min-width: 180px; 
}

.hb-rating__legend {
    margin: 0 0 .4rem;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff; /* أبيض */
    line-height: 1.2;
}

/* ---- Stars row (no gaps) ---- */
.hb-stars {
    display: inline-flex;
    flex-direction: row-reverse; /* تعبئة من اليسار لليمين في LTR (والعكس في RTL بالأسفل) */
    align-items: center;
    justify-content: flex-start;
    gap: 0; /* صفر فجوة */
    font-size: 0; /* يقتل المسافات البيضاء بين الليبلز */
    line-height: 1;
    user-select: none;
}

    /* أخفي الراديوهات */
    .hb-stars input[type="radio"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    /* النجمة */
    .hb-stars label {
        display: inline-block;
        margin: 0;
        padding: 0;
        font-size: 28px; /* حجم النجمة */
        color: #fff; /* غير المختارة */
        cursor: pointer;
        transition: color .2s ease, transform .05s ease;
        letter-spacing: 0;
        word-spacing: 0;
    }

        /* Hover يملأ كل اللي على يساره (لأننا row-reverse) */
        .hb-stars label:hover,
        .hb-stars label:hover ~ label {
            color: #ffca28;
            transform: scale(1.06);
        }

    /* المختارة + اللي على يسارها */
    .hb-stars input[type="radio"]:checked ~ label {
        color: #ffc107;
    }

/* RTL: نجعل الاتجاه طبيعي (ملء من اليمين لليسار) */
[dir="rtl"] .hb-stars {
    flex-direction: row;
    justify-content: flex-end;
}

/* ضمان عدم تسرّب أي ستايل قديم */
.rating-group, .rating-option, .rating-list {
    all: unset;
}


/* === Align rating to start of a form row === */
.form-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem; /* small spacing if you add other fields later */
}

/* Make the rating take only a quarter of form width */
.hb-rating {
    width: 25%;
    min-width: 200px;
    border: 0;
    margin: 0;
    padding: 0;
    align-self: flex-start;
}

/* Legend styling */
.hb-rating__legend {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    text-align: left;
}

/* Stars inline — no gaps */
.hb-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    font-size: 0;
    gap: 0;
}

    /* Hide radio buttons */
    .hb-stars input[type="radio"] {
        display: none;
    }

    /* Star look */
    .hb-stars label {
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        transition: color 0.2s ease, transform 0.1s ease;
    }

        /* Hover and selected states */
        .hb-stars label:hover,
        .hb-stars label:hover ~ label {
            color: #ffca28;
            transform: scale(1.1);
        }

    .hb-stars input[type="radio"]:checked ~ label {
        color: #ffc107;
    }

/* RTL support */
body[dir="rtl"] .hb-stars {
    flex-direction: row;
}

body[dir="rtl"] .hb-rating__legend {
    text-align: right;
}
/* ---------- Package details: visual polish ---------- */

/* Page container (you already have .container) */
.package-details .container {
    max-width: 1200px;
    margin: 28px auto;
    padding: 0 18px;
    font-family: "Tajawal", "Segoe UI", Roboto, Arial, sans-serif;
    color: #222;
}

/* layout grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 520px; /* left images (fluid) + right fixed column */
    gap: 30px;
    align-items: start;
}

/* Make it stack on small screens */
@media (max-width: 980px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

/* -------- Left carousel: subtle card look (keeps your markup) -------- */
.image-carousel .carousel-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
    background: #fff;
}

/* Prev/Next arrow style (keeps on image edge) */
.carousel-btn {
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .carousel-btn:hover {
        background: rgba(0,0,0,0.6);
    }

/* small circle arrow inside left image */
.carousel-wrapper .carousel-btn.prev {
    left: 22px;
}

.carousel-wrapper .carousel-btn.next {
    right: 22px;
}

/* thumbnails row (if you keep them) */
.carousel-wrapper .thumbs {
    display: flex;
    gap: 10px;
    padding: 12px;
    justify-content: center;
    background: transparent;
}

.carousel-wrapper .thumb {
    width: 66px;
    height: 46px;
    border-radius: 8px;
    border: 2px solid transparent;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

    .carousel-wrapper .thumb.active {
        border-color: #06b6a4;
    }

/* ---------- Right column : stacked cards ---------- */
.info-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Generic card baseline */
.card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 18px;
    box-shadow: 0 12px 28px rgba(15,15,15,0.06);
    overflow: visible;
}

/* header card special */
.package-header-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

    /* Title */
    .package-header-card .package-title {
        margin: 0;
        font-size: 1.6rem;
        font-weight: 700;
        color: #111;
    }

    /* meta rows */
    .package-header-card .meta-row {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        align-items: center;
    }

.meta-item {
    min-width: 140px;
    color: #444;
}

.meta-label {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-bottom: 6px;
}

.meta-value {
    font-weight: 600;
    color: #222;
}

/* Price block */
.price-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
}

    .price .currency {
        font-size: 0.9rem;
        color: #666;
        margin-left: 6px;
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 26px;
    text-decoration: none;
    font-weight: 700;
}

    .btn-primary, .btn.btn-primary, .btn.primary {
        background: #06b6a4;
        color: #fff;
        border: 0;
    }

    .btn-secondary, .btn.btn-secondary {
        background: #f3f3f3;
        color: #222;
        border: 0;
    }

.package-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Section labels (badges) */
.section-label {
    display: inline-block;
    background: #fde68a;
    color: #92400e;
    padding: 6px 12px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Description / program text */
.desc-card .section-body,
.program-card .section-body,
.package-notes-card .section-body {
    color: #333;
    line-height: 1.7;
    white-space: pre-wrap;
}

/* features list */
.features-list {
    margin: 0;
    padding-left: 18px;
    color: #333;
}

    .features-list li {
        margin-bottom: 8px;
    }

/* small helper for RTL: invert flex ordering & align right */
[dir="rtl"] .details-grid {
    direction: rtl;
}

[dir="rtl"] .package-header-card, [dir="rtl"] .package-actions {
    text-align: right;
}

[dir="rtl"] .meta-row {
    justify-content: flex-end;
}
/* ---------- Theme variables (tweak if needed) ---------- */
:root {
    --gold: #d4af37;
    --bg: #0f0f0f; /* form panel background */
    --panel-radius: 12px;
    --input-radius: 12px;
    --transition: 180ms;
}

/* Booking panel (dark card) */
.booking-panel {
    background: var(--bg);
    color: #f7f7f7;
    border-radius: var(--panel-radius);
    padding: 20px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.55);
    max-width: 420px;
    width: 100%;
    font-family: "Tajawal", "Segoe UI", Roboto, Arial, sans-serif;
}

/* Title */
.booking-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: #fff;
    text-align: center;
}

/* Form grid inside card (use similar names to your contact-card) */
.booking-panel .contact-grid,
.booking-panel .contact-grid .fg {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* Field group */
.fg {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

    /* Labels */
    .fg label,
    .form-label {
        font-weight: 800;
        color: #f7f7f7;
        display: block;
    }

        .fg label span,
        .form-label .required {
            color: #ffb3b3;
        }

/* Inputs / select / textarea (white rounded blocks) */
.form-input,
.form-textarea,
.booking-panel select,
.input, .textarea, .contact-card select {
    width: 100%;
    background: #fff;
    color: #000;
    border: 1px solid #e5e5e5;
    border-radius: var(--input-radius);
    padding: .85rem 1rem;
    font-size: 1rem;
    transition: box-shadow var(--transition), border-color var(--transition);
    box-sizing: border-box;
}

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: #999;
    }

    /* Focus state (gold ring) */
    .form-input:focus,
    .form-textarea:focus,
    .booking-panel select:focus,
    .input:focus, .textarea:focus, .contact-card select:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 6px rgba(212,175,55,0.12);
        outline: 0;
    }

/* Textarea specifics */
.form-textarea,
.textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Validation message color */
.val-msg,
.text-danger {
    color: #ffd5d5;
    font-size: .92rem;
    margin-top: 4px;
}

/* Actions container (buttons) */
.actions,
.booking-panel .actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

/* Primary submit button (gold pill) */
.btn-submit,
.btn.btn-primary,
.btn-primary {
    background: var(--gold);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: .9rem 1.4rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(212,175,55,0.35);
    transition: transform .06s ease, box-shadow var(--transition), filter var(--transition);
    cursor: pointer;
}

    /* Hover/active states */
    .btn-submit:hover,
    .btn.btn-primary:hover,
    .btn-primary:hover {
        filter: brightness(1.05);
        box-shadow: 0 12px 28px rgba(212,175,55,0.45);
    }

    .btn-submit:active,
    .btn.btn-primary:active,
    .btn-primary:active {
        transform: translateY(1px);
    }

/* Secondary (light) button */
.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: #f7f7f7;
    border: 1px solid rgba(255,255,255,0.06);
    padding: .6rem 1rem;
    border-radius: 10px;
}

/* Slider (range) styling */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    outline: none;
    margin-top: 6px;
}

    .range-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #06b6a4;
        box-shadow: 0 4px 12px rgba(3,105,92,0.3);
        cursor: pointer;
        border: 3px solid white;
    }

    .range-slider::-moz-range-thumb {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #06b6a4;
        border: 3px solid white;
        cursor: pointer;
    }

/* Range value label */
.range-value {
    color: #ddd;
    font-size: .95rem;
    margin-top: 6px;
}

/* Success message */
.success {
    color: #b8f0df;
    margin-left: 12px;
    font-weight: 700;
}

/* Validation summary */
.validation-summary {
    color: #ffd5d5;
    margin-bottom: 8px;
}

/* Small responsiveness */
@media (max-width: 600px) {
    .booking-panel {
        padding: 16px;
        max-width: 100%;
    }

    .booking-title {
        font-size: 1.25rem;
    }

    .actions {
        justify-content: center;
    }
}

/* RTL support */
[dir="rtl"] .booking-panel {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .actions {
    justify-content: flex-start;
}
