/* Google Fonts - For a modern, clean look */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Poppins:wght@600;700&display=swap');

/* --- Root Variables from Aitmad Travels Logo --- */
:root {
    --primary-maroon: #9a2a3e; /* Main color from the 'A' and wing */
    --secondary-green: #4b8c4c; /* Green from the 'T' and globe */
    --accent-blue: #005f9e;     /* Blue from the compass and swoosh */
    --dark-text: #333333;       /* A neutral dark color for readability */
    --accent-grey: #808080;
    --light-grey: #f8f9fa;
    --white: #ffffff;
    --header-font: 'Poppins', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --container-padding: 40px;
    --header-height: 128px; /* Approximate height of top-bar + main-nav */
}

/* --- General & Reset Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    background-color: var(--white);
    color: var(--dark-text);
    overflow-x: hidden;
}

.container {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* --- Reusable Button Styles --- */
.btn {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 2px solid transparent;
    text-align: center;
}

.btn-login {
    color: var(--dark-text);
    border-color: #d1d1d1;
}

.btn-login:hover {
    background-color: var(--dark-text);
    border-color: var(--dark-text);
    color: var(--white);
}

.btn-signup {
    background-color: var(--primary-maroon);
    color: var(--white);
    border-color: var(--primary-maroon);
    margin-left: 10px;
}

.btn-signup:hover {
    background-color: #7c2232; /* Darker maroon on hover */
    border-color: #7c2232;
}


/* --- Header & Navigation --- */
.header {
    background-color: var(--white);
    position: relative;
    z-index: 100;
}

/* Top Bar */
.top-bar {
    background-color: var(--light-grey);
    padding: 10px 0;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #e9ecef;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-media a:hover, .top-contact a:hover {
    color: var(--primary-maroon);
}

.social-media a, .top-contact a {
    margin: 0 12px;
}

/* Main Navigation */
.main-nav {
    padding: 15px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-right: 35px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-maroon);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
}

/* --- Enhanced Sidebar --- */
.sidebar {
    position: fixed; top: 0; right: -100%;
    width: 320px; height: 100vh;
    background: var(--white); z-index: 1001;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex; flex-direction: column;
}
.sidebar.active { right: 0; }
.sidebar-header {
    padding: 20px; display: flex;
    justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--light-grey);
}
.sidebar-logo { height: 45px; }
.close-btn { font-size: 2.5rem; font-weight: 300; cursor: pointer; }
.sidebar-links { padding: 20px; flex-grow: 1; }
.sidebar-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 8px;
}
.sidebar-links li a:hover { background-color: var(--light-grey); color: var(--primary-maroon); }
.sidebar-buttons { padding: 20px; text-align: center; }
.sidebar-buttons .btn { display: block; margin: 10px 0; color: var(--white); }
.btn-login-sidebar { background-color: var(--dark-text); }
.btn-signup-sidebar { background-color: var(--primary-maroon); }

/* --- Page Overlay --- */
.page-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1000; opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s linear;
}
.page-overlay.active { opacity: 1; visibility: visible; transition: opacity 0.4s ease; }

/* --- Banner Section --- */
.banner {
    height: calc(100vh - var(--header-height));
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* NEW: Slideshow styles */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeAnimation 35s infinite; /* 7 images * 5 seconds = 35s */
}

/* Stagger the animation for each slide */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
.slide:nth-child(5) { animation-delay: 20s; }
.slide:nth-child(6) { animation-delay: 25s; }
.slide:nth-child(7) { animation-delay: 30s; }

@keyframes fadeAnimation {
    0% { opacity: 0; }
    7% { opacity: 1; } /* Fade in over ~0.5s */
    14% { opacity: 1; } /* Hold for ~4s */
    21% { opacity: 0; } /* Fade out over ~0.5s */
    100% { opacity: 0; }
}


.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: -1;
}

.banner > .container {
    display: flex;
    justify-content: flex-start;
}

.banner-content {
    max-width: 50%;
    text-align: left;
}

.banner-content h1 {
    font-family: var(--header-font);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.txt-type > .wrap {
    border-right: 0.1em solid var(--white);
}

.btn-cta {
    font-family: var(--header-font);
    background: var(--primary-maroon);
    color: var(--white);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(154, 42, 62, 0.4);
}

.btn-cta:hover {
    background: #7c2232;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(154, 42, 62, 0.5);
}

/* --- Responsive Design --- */
.hamburger { display: none; cursor: pointer; font-size: 1.8rem; }

@media (max-width: 1200px) {
    .nav-right { gap: 20px; }
    .nav-menu { gap: 20px; margin-right: 0; }
    .banner-content { max-width: 60%; }
    .banner-content h1 { font-size: 3.8rem; }
    .banner-content p { font-size: 1.5rem; }
}

@media (max-width: 992px) {
    :root { --container-padding: 20px; }
    .nav-right { display: none; }
    .hamburger { display: block; }
    .banner { height: 75vh; }
    .banner > .container {
        justify-content: center;
    }
    .banner-content {
        max-width: 100%; /* Allow full width on mobile */
        text-align: left; /* Center text for mobile */
    }
    .banner::before { background: rgba(0,0,0,0.6); }
}

@media (max-width: 768px) {
    .social-media { display: none; }
    .top-bar .container { justify-content: flex-end; }
}

@media (max-width: 480px) {
    .logo { height: 50px; }
    .banner-content h1 { font-size: 2.5rem; }
    .banner-content p { font-size: 1.2rem; }
    .btn-cta { padding: 15px 30px; font-size: 1rem; }
}











/* ================================================================ */
/*     ENHANCEMENTS FOR LOGGED-IN USERS & SIDEBAR                 */
/* ================================================================ */

/* --- 1. User Dropdown (Desktop Header) --- */
.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--body-font);
    font-size: 0.95rem;
    color: var(--dark-text);
    padding: 10px;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.user-dropdown-toggle:hover {
    background-color: var(--light-grey);
    color: var(--primary-maroon);
}

.user-dropdown-toggle .fa-user-circle {
    font-size: 1.5rem;
    color: var(--primary-maroon);
}

.user-dropdown-toggle .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Rotate chevron when dropdown is open */
.user-dropdown:hover .user-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    min-width: 240px;
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    overflow: hidden; /* Ensures border-radius applies to children */
}

/* Show dropdown on hover/focus */
.user-dropdown:hover .user-dropdown-menu,
.user-dropdown-toggle:focus + .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 0.95rem;
    color: var(--dark-text);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.user-dropdown-menu a i {
    width: 20px; /* Aligns text even with different icon widths */
    text-align: center;
    color: var(--accent-grey);
    transition: color 0.2s ease;
}

.user-dropdown-menu a:hover {
    background-color: var(--light-grey);
    color: var(--primary-maroon);
}

.user-dropdown-menu a:hover i {
    color: var(--primary-maroon);
}

/* Add a separator for the logout button */
.user-dropdown-menu a[href="logout.php"] {
    border-top: 1px solid #e9ecef;
    color: var(--primary-maroon);
}
.user-dropdown-menu a[href="logout.php"] i {
    color: var(--primary-maroon);
}


/* --- 2. Sidebar Logged-in State & Contacts --- */

/* Container for welcome message and buttons */
.sidebar-user-info {
    padding: 20px;
    text-align: center;
}

.sidebar-user-info span {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--accent-grey);
}

/* General button styles for My Account and Logout */
.btn-my-account,
.btn-logout {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    color: var(--white);
    transition: filter 0.2s ease;
}

.btn-my-account {
    background-color: var(--accent-blue); /* Use a distinct brand color */
}

.btn-logout {
    background-color: var(--dark-text); /* Neutral color for logout */
}

.btn-my-account:hover,
.btn-logout:hover {
    filter: brightness(115%);
}

/* Improved styling for sidebar contact info */
.sidebar-bottom-content {
    border-top: 1px solid #e9ecef;
    padding-top: 10px;
}

.sidebar-contact-info {
    padding: 15px 20px;
}

.sidebar-contact-info p {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.sidebar-contact-info a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--accent-grey);
    font-weight: 500;
}

.sidebar-contact-info a:hover {
    color: var(--primary-maroon);
}

.sidebar-contact-info a i {
    font-size: 1.2rem;
    width: 25px; /* Aligns the text */
    text-align: center;
}

/* Style for the separator line */
.sidebar-bottom-content hr {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 0 20px;
}


















/* ================================================================ */
/*       AITMAD TRAVELS - AIRLINE PARTNERS SECTION CSS V1.0       */
/* ================================================================ */

.partners-section {
    padding: 5rem 0;
    /* UPDATED: Using a consistent light background from your theme */
    background-color: var(--light-grey, #f8f9fa); 
}

.partners-section .container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- The Main Layout Block (Text on left, Logos on right) --- */
.partner-block {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 3rem;
    align-items: center;
}

/* --- Text Styling --- */
.partner-info h2 {
    font-size: 2rem;
    font-weight: 700;
    /* UPDATED: Using your established dark text color */
    color: var(--dark-text, #333333);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.partner-info p {
    font-size: 1rem;
    /* UPDATED: Using your established accent grey for subtitles */
    color: var(--accent-grey, #808080);
    line-height: 1.6;
}

/* --- The Grid of Logos --- */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* --- Individual Logo Card & Hover Effect --- */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    padding: 1rem;
    background-color: var(--white, #ffffff); /* White background for a cleaner look */
    border-radius: 12px;
    border: 1px solid #e9ecef; /* A subtle border */
    transition: all 0.3s ease;
}

.partner-logo img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    /* Logos are full color by default as requested */
}

.partner-logo:hover {
    transform: translateY(-5px);
    /* UPDATED: Hover effect now uses your brand's primary maroon color */
    border-color: var(--primary-maroon, #9a2a3e);
    background-color: #fff;
    box-shadow: 0 10px 25px -10px rgba(154, 42, 62, 0.2); /* Shadow color matches maroon */
}


/* --- RESPONSIVE ADJUSTMENTS --- */

/* For Tablets and smaller devices */
@media (max-width: 992px) {
    .partner-block {
        grid-template-columns: 1fr;
        gap: 2.5rem; /* Increased gap for better spacing when stacked */
        text-align: center;
    }
    .logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* For Mobile Phones */
@media (max-width: 576px) {
    .partners-section {
        padding: 3rem 0; /* Reduced padding on mobile */
    }
    .logo-grid {
        /* UPDATED: Changed to 3 columns for a better fit on most mobile screens */
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .partner-info h2 {
        font-size: 1.8rem;
    }
}
























/* ==================================================================== */
/* === FINAL & CORRECT UMRAH PACKAGES STYLING (v8.0 - Button Update) === */
/* ==================================================================== */

/* --- 1. Main Section & Header --- */
.umrah-listings-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
    max-width: 1700px;
    margin: 0 auto;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}
.listings-header-text .listings-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 5px; color: var(--text-dark); }
.listings-header-text .listings-subtitle { font-size: 1.1rem; color: var(--text-light); margin: 0; }
.btn-view-more { background-color: var(--white); color: var(--text-dark); padding: 12px 25px; border: 1px solid var(--border-color); border-radius: 30px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.btn-view-more:hover { background-color: var(--primary-maroon); color: var(--white); border-color: var(--primary-maroon); }


/* --- 2. The Packages Grid (Static 3-Column Layout) --- */
.umrah-grid {
    display: grid;
    /* This creates three explicit, non-stretching columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}


/* --- 3. The Individual Umrah Card (Flyer Only) --- */
.umrah-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.umrah-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* --- Flyer Image Wrapper --- */
.umrah-card-flyer-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.umrah-flyer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.umrah-card:hover .umrah-flyer-image {
    transform: scale(1.05);
}

/* --- Card Actions Section --- */
.umrah-card-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.umrah-package-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
}

/* --- Action Buttons --- */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-view-flyer,
.btn-inquire {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-flyer {
    background-color: var(--primary-maroon);
    color: var(--white);
}

.btn-view-flyer:hover {
    background-color: #7c2232;
    transform: translateY(-2px);
}

.btn-inquire {
    background-color: #25D366;
    color: var(--white);
}

.btn-inquire:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
}


/* --- 4. REMOVED: Old Button Styling (No longer needed with flyer-only design) --- */

/* --- 5. Flyer Modal Styles --- */
.flyer-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.flyer-modal-content {
    position: relative;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

#flyerModalImage {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.flyer-modal-close {
    color: #999;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.flyer-modal-close:hover {
    color: #000;
}

.flyer-modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#downloadFlyerBtn {
    background-color: var(--primary-maroon);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

#downloadFlyerBtn:hover {
    background-color: #7c2232;
}


/* --- 6. Mobile Styling (PADDING CORRECTED) --- */
@media (max-width: 992px) {

    /* ADDED: Proper horizontal padding to the main section container */
    .umrah-listings-section {
        padding: 3rem 1.5rem; /* Reduced vertical padding and added horizontal padding */
        overflow-x: hidden; /* Prevents any accidental horizontal scroll on the whole section */
    }

    /* ADDED: Center the header content on mobile for a cleaner look */
    .listings-header {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }
    .listings-header-text .listings-title {
        font-size: 2rem;
    }

    .umrah-grid {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 1rem;
        /* UPDATED: Negative margin now matches the section's new padding */
        margin: 0 -1.5rem;
        /* UPDATED: Padding inside now matches the section's padding for correct alignment */
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .umrah-grid::-webkit-scrollbar {
        display: none;
    }

    .umrah-card {
        flex: 0 0 85%;
        max-width: 340px;
        scroll-snap-align: start;
    }

    /* Mobile button adjustments */
    .action-buttons {
        grid-template-columns: 1fr;
    }

    .btn-view-flyer,
    .btn-inquire {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}





























































/*
========================================
--- FINAL: Hotel Listings Section Styles ---
========================================
*/
.hotel-listings-section {
    padding: 4rem 0 4rem 0; 
}

.listings-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* NEW: Header layout for Title + Button */
.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}


.listings-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.listings-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}

/* Desktop "View More" button */
.btn-view-more {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--primary-maroon);
    color: var(--primary-maroon);
    text-decoration: none;
    padding: 0.6rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap; /* Prevent breaking on smaller desktop screens */
}

.btn-view-more:hover {
    background-color: var(--primary-maroon);
    color: var(--white);
}

/* This card is hidden by default (on desktop) */
.view-more-card {
    display: none;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    /* === THIS IS THE FIX: Prevents stretching of items in the last row === */
    justify-content: start; 
}

.hotel-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hotel-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.hotel-card-content {
    padding: 1.5rem;
}

.hotel-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hotel-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hotel-rating {
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.hotel-price {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hotel-price span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.btn-view-deal {
    display: block;
    width: 100%;
    background-color: var(--primary-maroon);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-view-deal:hover {
    background-color: #000;
}


/* --- Responsive Styles for Hotel Section (PADDING CORRECTED) --- */
@media (max-width: 768px) {
    
    /* ADDED: Proper horizontal padding to the main section wrapper */
    .hotel-listings-section {
        padding: 3rem 1.5rem; /* Consistent with the Umrah section */
        overflow-x: hidden; /* Prevents accidental scroll on the whole section */
    }
    
    /* REMOVED: No longer need to remove padding here */
    .listings-container {
        padding: 0; 
    }

    /* UPDATED: Simplified and centered for a better mobile layout */
    .listings-header {
        flex-direction: column;
        align-items: center;
        text-align: left;
        margin-bottom: 2rem;
        padding: 0; /* Padding is now handled by the section wrapper */
        gap: 10px;
    }

    /* Hide the desktop button on mobile */
    .btn-view-more {
        display: none;
    }

    .listings-title {
        font-size: 2rem;
    }

    .listings-subtitle {
        font-size: 1rem;
    }

    /* Logic for horizontal scroll on mobile */
    .hotel-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        /* UPDATED: Negative margin and padding now match the section's padding */
        margin: 0 -1.5rem;
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .hotel-grid::-webkit-scrollbar {
        display: none;
    }

    .hotel-card {
        flex: 0 0 85%; 
        max-width: 320px;
        scroll-snap-align: start;
    }

    /* Reveal and style the mobile "View More" card */
    .view-more-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex: 0 0 85%;
        max-width: 320px;
        min-height: 200px;
        background: var(--primary-maroon); /* Using your branding color */
        color: var(--white);
        text-decoration: none;
        border-radius: 12px;
        font-size: 1.2rem;
        font-weight: 600;
        scroll-snap-align: start;
        transition: background-color 0.2s ease;
    }

    .view-more-card i {
        font-size: 2rem;
    }

    .view-more-card:hover {
        background: #7c2232; /* Darker maroon */
    }
}



































/*
======================================================
--- Visa Services Section Styles ---
======================================================
*/
.visa-services-section {
    padding: 4rem 0;
}

/* 
   The following classes are generic and reused from previous sections:
   - .listings-container, .listings-header, .listings-title, .listings-subtitle
   - .btn-view-more, .btn-view-deal
   - The .view-more-card style for mobile
*/

.visa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.visa-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.visa-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.visa-card-content {
    padding: 1.5rem;
}

.visa-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.visa-type {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.visa-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.visa-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.visa-price {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.visa-price span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}


/* --- Responsive Styles for Visa Services Section (PADDING CORRECTED) --- */
@media (max-width: 768px) {

    /* ADDED: Proper horizontal padding to the main section wrapper */
    .visa-services-section {
        padding: 3rem 1.5rem; /* Consistent padding */
        overflow-x: hidden;  /* Prevents accidental scroll */
    }
    
    /* Since .listings-header is reused, the generic mobile styles 
       from the previous sections (centering it) will apply here too. */

    /* Logic for horizontal scroll on mobile */
    .visa-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        /* UPDATED: Negative margin and padding now match the section's padding */
        margin: 0 -1.5rem;
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .visa-grid::-webkit-scrollbar {
        display: none;
    }

    .visa-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: start;
    }

    /* This targets the view-more-card specifically within the visa-grid.
       Make sure you have the generic .view-more-card styles defined elsewhere. */
    .visa-grid .view-more-card {
        display: flex; /* Ensures it's visible inside the flex container */
        background-color: var(--primary-maroon); /* Consistent branding */
    }

    .visa-grid .view-more-card:hover {
        background: #7c2232; /* Darker maroon */
    }
}







































































































/* --- START: Site Footer Section --- */
.site-footer {
    position: relative;
    padding: 80px 0 0 0;
    color: var(--light-grey);
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-bg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 41, 0.9); /* Dark blue overlay */
    z-index: 1;
}
.footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
   
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr; /* 4 columns, with first and last slightly wider */
    gap: 40px;
    padding-bottom: 60px;
}

.footer-column h4 {
    font-family: var(--header-font);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
     /* --- THIS IS THE MAGIC LINE --- */
    /* It first removes color, then inverts black-to-white, then maximizes brightness */
    filter: grayscale(100%) invert(100%) brightness(100);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 30px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.footer-social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--light-grey);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--white);
    padding-left: 5px;
}

.footer-subscribe p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    color: var(--white);
    border-radius: 8px 0 0 8px;
    outline: none;
    transition: background-color 0.3s ease;
}

.newsletter-form input:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #0088d1; /* Lighter blue */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.powered-by a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.cb-logo-footer {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
}


/* --- Responsive for Footer Section --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        text-align: center;
    }
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-social-links {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    .footer-bottom p {
        margin: 0;
    }
}
/* --- END: Site Footer Section --- */
































/* --- Root Variables from Aitmad Travels Logo --- */
:root {
   
    /* Testimonial specific variables, derived from main palette */
    --testimonials-bg: var(--light-grey);
    --review-card-bg: var(--white);
    --review-border-color: #e0e0e0;
    --review-text-dark: var(--dark-text);
    --review-text-light: var(--accent-grey);
    --review-primary-color: var(--primary-maroon); /* Using maroon for stars/accents */
    --review-secondary-color: var(--accent-blue); /* Using blue for verified tick */
    --review-avatar-placeholder-bg: #fbe0e3; /* Light tint of primary maroon */
    --review-avatar-placeholder-color: var(--primary-maroon);
    --carousel-pagination-bullet-inactive: #ccc;
    --carousel-pagination-bullet-active: var(--primary-maroon);
    --carousel-button-color: var(--accent-blue);
    --carousel-button-hover-bg: var(--primary-maroon);
    --carousel-button-hover-color: var(--white);

    --carousel-gap: 30px; /* Gap between slides */
}

/* ================================================================ */
/*             CUSTOM TESTIMONIALS CAROUSEL CSS                   */
/* ================================================================ */

.testimonials-section {
    padding: 4rem 0;
    background-color: var(--testimonials-bg);
    font-family: var(--body-font);
}
.testimonials-section .container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative; /* For positioning nav buttons */
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { 
    font-family: var(--header-font);
    font-size: 2.5rem; 
    font-weight: 700; 
    color: var(--review-text-dark); 
    margin-bottom: 0.5rem; 
}
.section-header p { 
    font-size: 1.1rem; 
    color: var(--review-text-light); 
    max-width: 600px; 
    margin: 0 auto; 
}

/* --- Review Card Styling (Remains largely the same) --- */
.review-card {
    background-color: var(--review-card-bg);
    border: 1px solid var(--review-border-color);
    border-radius: 16px; 
    padding: 2rem;
    height: auto; 
    min-height: 250px; /* Ensure cards have a minimum height for visual consistency */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.review-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.review-avatar { 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    overflow: hidden; 
    flex-shrink: 0; 
    border: 2px solid var(--review-primary-color); 
}
.review-avatar-logo { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    background-color: var(--light-grey); 
}
.review-avatar-placeholder { 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background-color: var(--review-avatar-placeholder-bg); 
    color: var(--review-avatar-placeholder-color); 
    font-size: 1.5rem; 
}
.review-author .author-name { 
    font-weight: 600; 
    color: var(--review-text-dark); 
    display: flex; 
    align-items: center; 
    gap: 0.3rem; 
}
.review-author .author-title { 
    font-size: 0.85rem; 
    color: var(--review-text-light); 
}
.verified-tick { 
    color: var(--review-secondary-color); 
    font-size: 0.9rem; 
}
.review-card-rating { 
    display: flex; 
    gap: 2px; 
    font-size: 1rem; 
    color: var(--review-primary-color); 
    margin-bottom: 1rem; 
}
.review-card-rating .fa-star.empty { color: var(--review-border-color); }
.review-card-body { flex-grow: 1; margin-bottom: 1rem; }
.review-card-body h3 { 
    font-family: var(--header-font);
    font-size: 1.25rem; 
    font-weight: 600; 
    color: var(--review-text-dark);
    margin: 0 0 0.75rem 0; 
}
.review-card-body p { 
    font-size: 0.95rem; 
    line-height: 1.7; 
    color: var(--review-text-light); 
    margin: 0; 
    word-break: break-word; 
}
.review-card-footer { 
    margin-top: auto; 
    font-size: 0.8rem; 
    color: var(--review-text-light); 
    text-align: right; 
    border-top: 1px solid var(--review-border-color); 
    padding-top: 1rem; 
    opacity: 0.8;
}

/* --- Custom Carousel Specific Styles --- */
.custom-carousel-container {
    position: relative;
    overflow: hidden; /* Hide overflowing slides */
    padding-bottom: 4rem; /* Space for pagination dots */
}

.carousel-track {
    display: flex; /* Makes slides horizontal */
    transition: transform 0.5s ease-in-out; /* Smooth sliding animation */
    padding-bottom: 10px; /* Prevents shadow clipping at the bottom if any */
}

.carousel-slide {
    flex: 0 0 auto; /* Prevent slides from shrinking or growing */
    width: 100%; /* Default: One slide per view for mobile */
    margin-right: var(--carousel-gap); /* Gap between slides */
    box-sizing: border-box; /* Include padding and border in the element's total width */
}

/* Carousel Navigation Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-70%); /* Adjust vertical position */
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    color: var(--carousel-button-color);
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1rem; /* Icon size */
}

.carousel-button:hover {
    background-color: var(--carousel-button-hover-bg);
    color: var(--carousel-button-hover-color);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.carousel-button.prev { left: -15px; }
.carousel-button.next { right: -15px; }

/* Pagination Dots */
.carousel-pagination {
    position: absolute;
    bottom: 0px; 
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px; /* Space between dots */
    margin-top: 20px;
}

.pagination-dot {
    width: 10px; 
    height: 10px;
    background-color: var(--carousel-pagination-bullet-inactive);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    width: 30px; 
    border-radius: 5px; /* Pill shape */
    background-color: var(--carousel-pagination-bullet-active);
}

/* --- Responsive Adjustments --- */

/* Hide arrows on mobile */
@media (max-width: 992px) {
    .carousel-button {
        display: none;
    }
    .testimonials-section .container {
        padding: 0 1rem; 
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .section-header p {
        font-size: 1rem;
    }
    .review-card {
        padding: 1.5rem;
    }
    .review-card-body h3 {
        font-size: 1.15rem;
    }
    .review-card-body p {
        font-size: 0.9rem;
    }
}

/* Two slides per view for tablets */
@media (min-width: 768px) {
    .carousel-slide {
        width: calc(50% - (var(--carousel-gap) / 2)); /* Two slides with gap */
    }
}

/* Three slides per view for desktops */
@media (min-width: 1200px) {
    .carousel-slide {
        width: calc(33.333% - (2 * var(--carousel-gap) / 3)); /* Three slides with gaps */
    }
}

/* Adjust button positioning for larger screens */
@media (min-width: 1500px) {
    .carousel-button.prev { left: -40px; }
    .carousel-button.next { right: -40px; }
}






























































/* ==================================================================== */
/* === FINAL & COMPLETE SINGLE TOUR/PACKAGE DETAIL PAGE STYLES === */
/* ==================================================================== */

/* --- 1. Main Page Wrapper & Container --- */
.tour-detail-page { padding: 40px 0; background-color: #fff; }
.container { max-width: 1700px; margin: 0 auto; padding: 0 2rem; }

/* --- 2. Main Two-Column Layout --- */
.tour-layout-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 50px; align-items: flex-start; }

/* --- 3. Left Column: Main Content --- */
.tour-header { margin-bottom: 30px; }
.tour-header h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.tour-meta-info { display: flex; align-items: center; gap: 20px; color: var(--text-light); }
.tour-rating { display: flex; align-items: center; gap: 5px; }
.tour-rating i { color: var(--primary-gold); }

/* --- 4. Image Gallery --- */
.image-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.gallery-main-image { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.gallery-main-image img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbnails { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }
.gallery-thumbnails img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }

/* --- 5. Informational & Content Sections --- */
.guide-info-card { display: flex; align-items: center; gap: 20px; background: var(--light-bg); padding: 25px; border-radius: 12px; margin: 40px 0; }
.guide-avatar i { color: var(--primary-maroon); }
.guide-details { flex-grow: 1; }
.guide-details span { color: var(--text-light); }
.guide-details h3 { font-size: 1.3rem; margin: 5px 0; color: var(--text-dark); }
.btn-message { background: #e7f0f7; color: var(--primary-maroon); border: none; padding: 12px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-message i { margin-right: 8px; }
.tour-section { padding: 30px 0; border-bottom: 1px solid var(--border-color); }
.tour-section:last-of-type { border-bottom: none; }
.tour-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; color: var(--text-dark); }
.tour-section p, .tour-section ul li { line-height: 1.7; color: var(--text-light); }
.tour-section ul { list-style-type: disc; padding-left: 20px; }
.customize-tour-banner { padding: 40px; margin: 30px 0; border-radius: 12px; text-align: center; color: var(--white); background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://tse1.mm.bing.net/th/id/OIP.8A52PMGIMf9vQEX_M0fAAQHaE8?rs=1&pid=ImgDetMain&o=7&rm=3') center/cover; }
.customize-tour-banner h3 { font-size: 1.8rem; }
.btn-secondary { background: var(--primary-maroon); color: white; padding: 10px 15px; border-radius: 8px; border: none; cursor: pointer; font-size: 1rem; transition: background-color 0.2s; }
.btn-secondary:hover { background-color: #000; }

/* --- 6. Right Column: Booking Sidebar --- */
.tour-booking-sidebar { position: sticky; top: 100px; }
.booking-card { border: 1px solid var(--border-color); border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); overflow: hidden; }
.booking-card .booking-form { padding: 25px; }
.booking-price { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 20px; margin-top: 20px; color: var(--text-dark); }
.booking-form .form-group { margin-bottom: 15px; }
.booking-form label { font-weight: 600; display: block; margin-bottom: 8px; color: var(--text-dark); }
.booking-input { width: 100%; height: 44px; border: 1px solid var(--border-color); padding: 0 15px; border-radius: 8px; }
.party-size-selector { display: flex; }
.party-size-selector input { flex-grow: 1; text-align: center; border: 1px solid var(--border-color); border-left: none; border-right: none; height: 44px; }
.party-btn { width: 44px; height: 44px; border: 1px solid var(--border-color); background: var(--light-bg); cursor: pointer; }
.party-btn.minus { border-radius: 8px 0 0 8px; }
.party-btn.plus { border-radius: 0 8px 8px 0; }
.btn-booking { width: 100%; background: var(--primary-gold); color: var(--white); border: none; padding: 15px; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: filter 0.3s; }
.btn-booking:hover { filter: brightness(110%); }
.booking-card .price-grid-header { padding: 25px; text-align: center; border-bottom: 1px solid var(--border-color); }
.umrah-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background-color: var(--border-color); }
.price-cell { background-color: var(--white); padding: 15px; text-align: center; }
.price-cell label { font-size: 0.8rem; text-transform: uppercase; color: var(--text-light); display: block; margin-bottom: 5px; }
.price-cell strong { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); }

  
   .details-grid { display: grid; gap: 15px; }
   .tag { display: inline-block; background: #f39c12; padding: 5px 12px; border-radius: 20px; font-size: 0.9rem; color: white; }
   .activity-level { display: inline-block; width: 15px; height: 15px; border-radius: 50%; vertical-align: middle; margin-left: 5px; }
   .activity-level.minimal { background: #28a745; }

/* --- 7. Flyer Modal Styles --- */
.notice { padding: 15px 20px; margin-bottom: 20px; border-radius: 8px; border: 1px solid transparent; }
.notice.success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.notice.error { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
#flyerModal { display: none; position: fixed; z-index: 1001; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); align-items: center; justify-content: center; }
.modal-content { position: relative; background-color: var(--primary-maroon, #2a2a2a); color: #fff; padding: 2rem; border-radius: 12px; width: 90%; max-width: 800px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
#flyerModalImage { width: 100%; max-height: 70vh; object-fit: contain; display: block; border-radius: 8px; margin-bottom: 1.5rem; }
.modal-title { font-size: 1.2rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); margin-bottom: 0.5rem; }
.close-btn { color: #fff; position: absolute; top: 15px; right: 15px; font-size: 28px; font-weight: bold; cursor: pointer; line-height: 1; opacity: 0.7; transition: opacity 0.2s; }
.close-btn:hover { opacity: 1; }
#downloadFlyerBtn { background-color: #007bff; color: white; padding: 12px 30px; text-decoration: none; border-radius: 8px; display: inline-flex; align-items: center; font-weight: 600; font-size: 1rem; transition: background-color 0.2s; border: none; cursor: pointer; }
#downloadFlyerBtn:hover { background-color: #0056b3; }
#downloadFlyerBtn i { margin-right: 8px; }

/* --- 8. Responsive Styles --- */
@media (max-width: 992px) {
    .tour-layout-grid { grid-template-columns: 1fr; }
    .tour-booking-sidebar { position: static; margin-top: 40px; }
}
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .tour-header h1 { font-size: 2rem; }
    .image-gallery { grid-template-columns: 1fr; }
    .gallery-thumbnails { grid-template-columns: 1fr 1fr 1fr; }
    .guide-info-card { flex-direction: column; text-align: center; }
    .mobile-form { display: block !important; }
    .desktop-form { display: none !important; }
    .hide-mobile { display: none !important; }
}
























































/* =======================================================
   CSS for About Us Page (Aitmad Travels Rebrand)
   ======================================================= */

/* --- Hero Section --- */
.about-hero-section {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('../img/bg_3.jpg') no-repeat center center/cover; /* Using one of your banner images */
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: var(--header-font);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 400;
}

/* --- Main Page Wrapper & Sections --- */
.about-page-wrapper {
    padding: 4rem 0;
    background-color: var(--white);
}

.about-section {
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    font-family: var(--header-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-maroon);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--accent-grey);
}

/* --- Mission & Vision Grid --- */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background-color: var(--light-grey);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.info-card i {
    font-size: 3rem;
    color: var(--primary-maroon);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: var(--header-font);
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--accent-grey);
    line-height: 1.6;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
    background-color: var(--light-grey);
    padding: 4rem 0;
    margin-bottom: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-maroon);
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    color: #7c2232; /* Darker maroon */
}

.feature-item h4 {
    font-family: var(--header-font);
    font-size: 1.25rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--accent-grey);
    line-height: 1.6;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .info-card {
        padding: 1.5rem;
    }
}












































/* =======================================================
   CSS for Contact Us Page (Aitmad Travels Rebrand)
   ======================================================= */

/* --- Hero Section --- */
.contact-hero-section {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('../img/bg_5.jpg') no-repeat center center/cover;
}
.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.hero-content h1 {
    font-family: var(--header-font);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.2rem;
}

/* --- Main Page Wrapper --- */
.contact-page-wrapper {
    padding: 4rem 0;
    background-color: var(--light-grey);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Left column is smaller, right is larger */
    gap: 2rem;
    align-items: flex-start;
}

/* --- Contact Details Card (Left Column) --- */
.contact-details-card {
    background-color: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}
.contact-details-card h3 {
    font-family: var(--header-font);
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    color: var(--dark-text);
}
.contact-details-card p {
    color: var(--accent-grey);
    margin-bottom: 2rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-maroon);
    margin-top: 5px;
}
.contact-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}
.contact-item span,
.contact-item a {
    color: var(--accent-grey);
    text-decoration: none;
    display: block;
}
.contact-item a:hover {
    color: var(--primary-maroon);
}
.social-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-grey);
    color: var(--accent-grey);
    transition: all 0.3s ease;
}
.social-links a:hover {
    background-color: var(--primary-maroon);
    color: var(--white);
}

/* --- Map Card (Right Column) --- */
.map-card {
    background-color: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}
.map-card h3 {
    font-family: var(--header-font);
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    color: var(--dark-text);
}
.map-embed {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    border-radius: 8px;
}
.map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .contact-details-card,
    .map-card {
        padding: 1.5rem;
    }
}
















































/* =======================================================
   CSS for FAQ Page (Aitmad Travels Rebrand)
   ======================================================= */

/* --- Hero Section --- */
.faq-hero-section {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('../img/bg_6.jpg') no-repeat center center/cover;
}
.faq-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.hero-content h1 {
    font-family: var(--header-font);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
}

/* --- Main Page Layout --- */
.faq-page-wrapper {
    padding: 4rem 0;
    background-color: var(--white);
}
.faq-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: flex-start;
}

/* --- Sidebar (Left) --- */
.faq-sidebar {
    position: sticky;
    top: 120px; /* Adjust based on your sticky header height */
}
.faq-sidebar h3 {
    font-family: var(--header-font);
    font-size: 1.5rem;
    color: var(--dark-text);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color, #e9ecef);
    margin: 0 0 1rem 0;
}
.faq-topic-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--accent-grey);
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}
.faq-topic-link i {
    width: 20px;
    text-align: center;
}
.faq-topic-link:hover {
    background-color: var(--light-grey);
    color: var(--dark-text);
}
.faq-topic-link.active {
    background-color: var(--primary-maroon);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(154, 42, 62, 0.3);
}

.sidebar-contact-card {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: var(--light-grey);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}
.sidebar-contact-card h4 {
    font-family: var(--header-font);
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}
.sidebar-contact-card p {
    font-size: 0.9rem;
    color: var(--accent-grey);
    margin-bottom: 1.5rem;
}
.btn-contact {
    display: inline-block;
    background-color: var(--dark-text);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.btn-contact:hover {
    background-color: #000;
}

/* --- FAQ Content (Right) --- */
.faq-section-title {
    font-family: var(--header-font);
    font-size: 2rem;
    color: var(--dark-text);
    margin: 0 0 1.5rem 0;
    padding-top: 1rem; /* Space for scrolling anchor */
}
.faq-section-title:first-of-type {
    padding-top: 0;
}
.faq-container {
    border-top: 2px solid var(--primary-maroon);
    margin-bottom: 3rem;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-maroon);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    padding-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--accent-grey);
}
.faq-item.active .faq-question i {
    transform: rotate(45deg);
}
.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust if answers are very long */
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .faq-sidebar {
        position: static;
        margin-bottom: 3rem;
    }
}
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}













































/* =======================================================
   CSS for Policy Pages (Aitmad Travels Rebrand)
   ======================================================= */

/* --- Hero Section --- */
.policy-hero-section {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('../img/bg_4.jpg') no-repeat center center/cover;
}
.policy-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.hero-content h1 {
    font-family: var(--header-font);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
}

/* --- Main Page Wrapper & Content Card --- */
.policy-page-wrapper {
    padding: 4rem 0;
    background-color: var(--light-grey);
}
.policy-content-card {
    max-width: 1700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}

/* --- Content Typography --- */
.last-updated {
    font-size: 0.9rem;
    color: var(--accent-grey);
    margin-bottom: 2rem;
    font-style: italic;
}
.policy-content-card h2 {
    font-family: var(--header-font);
    font-size: 1.8rem;
    color: var(--dark-text);
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-maroon);
}
.policy-content-card h2:first-of-type {
    margin-top: 0;
}
.policy-content-card p,
.policy-content-card li {
    line-height: 1.8;
    color: var(--accent-grey);
}
.policy-content-card ul {
    list-style-type: disc;
    padding-left: 25px;
    margin: 1rem 0;
}
.policy-content-card li {
    margin-bottom: 0.5rem;
}
.policy-content-card a {
    color: var(--primary-maroon);
    font-weight: 600;
    text-decoration: none;
}
.policy-content-card a:hover {
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .policy-content-card {
        padding: 2rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
@media (max-width: 576px) {
    .policy-content-card {
        padding: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}