/* General Body and Typography */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color, #333); /* Default text color for readability */
    background-color: var(--body-bg, #f8f9fa);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to AOS animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--heading-color, #212529); /* Default heading color */
    font-weight: 700;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }


/* Custom CSS Variables for Theming */
:root {
    /* Theme 1: Desert Oasis (Default) */
    --hero-bg-gradient-start-1: #FFD700; /* Gold */
    --hero-bg-gradient-end-1: #FFA500; /* Orange */
    --cta-color-1: #A52A2A; /* Brown */
    --primary-color-1: #A52A2A; /* Brown */
    --secondary-color-1: #FFD700; /* Gold */
    --text-color-1: #333;
    --heading-color-1: #212529;
    --body-bg-1: #f8f9fa;

    /* Theme 2: Arabian Night */
    --hero-bg-gradient-start-2: #2C3E50; /* Dark Blue */
    --hero-bg-gradient-end-2: #4A0000; /* Dark Red */
    --cta-color-2: #FFD700; /* Gold */
    --primary-color-2: #FFD700; /* Gold */
    --secondary-color-2: #187adc; /* Dark Blue */
    --text-color-2: #E0E0E0;
    --text-color-secondary-2: #212529;
    --heading-color-2: #FFFFFF;
    --body-bg-2: #212529;

    /* Theme 3: Golden Sunset */
    --hero-bg-gradient-start-3: #F05F57; /* Coral Red */
    --hero-bg-gradient-end-3: #360940; /* Dark Purple */
    --cta-color-3: #FFD700; /* Gold */
    --primary-color-3: #FFD700; /* Gold */
    --secondary-color-3: #F05F57; /* Coral Red */
    --text-color-3: #E0E0E0;
    --text-color-secondary-2: #212529;
    --heading-color-3: #FFFFFF;
    --body-bg-3: #1a1a1a;

    /* Active Theme Variables - will be set by JS */
    --hero-bg-gradient-start: var(--hero-bg-gradient-start-1);
    --hero-bg-gradient-end: var(--hero-bg-gradient-end-1);
    --cta-bg-color: var(--cta-color-1);
    --primary-color: var(--primary-color-1);
    --secondary-color: var(--secondary-color-1);
    --text-color: var(--text-color-1);
    --heading-color: var(--heading-color-1);
    --body-bg: var(--body-bg-1);
}

h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: var( --heading-color) !important;
}

/* Apply theme variables to specific elements */
.hero-section {
    background: linear-gradient(135deg, var(--hero-bg-gradient-start), var(--hero-bg-gradient-end));
    transition: background 0.8s ease-in-out;
}

.hero-section .btn {
    background-color: var(--cta-bg-color);
    border-color: var(--cta-bg-color);
    color: white;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.hero-section .btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.text-primary { color: var(--primary-color) !important; }
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.btn-primary:hover {
    /* For pure CSS, define specific hover colors or use opacity */
    opacity: 0.9;
}
.bg-light { background-color: var(--body-bg) !important; }


/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('static/uploads/A-A-City-City-Skyline-Background-With-The-In.jpg') no-repeat center center/cover;
    opacity: 0.3; /* Dark overlay effect */
    z-index: 0;
}
.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}
.hero-section h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.hero-section p.lead {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 3rem;
}
.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.theme-btn:hover {
    transform: scale(1.1);
}
.theme-btn.active {
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.5);
}
.theme-btn-1 { background: linear-gradient(45deg, var(--hero-bg-gradient-start-1), var(--hero-bg-gradient-end-1)); }
.theme-btn-2 { background: linear-gradient(45deg, var(--hero-bg-gradient-start-2), var(--hero-bg-gradient-end-2)); }
.theme-btn-3 { background: linear-gradient(45deg, var(--hero-bg-gradient-start-3), var(--hero-bg-gradient-end-3)); }

/* General Section Styling */
section {
    padding: 80px 0;
    position: relative;
}
section h2 {
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 10px;
}
section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* About Section */
.about-section img {
    max-height: 400px;
    object-fit: cover;
}
.about-section ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.about-section ul li .material-symbols-outlined {
    font-size: 1.5rem;
}

/* Services Section (Dubai Events) */
.services-section {
    background-color: var(--body-bg); /* Use theme body background */
}
.service-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;

    p {
        color: var(--text-color-secondary-2, #333);
    }
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.service-card .event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
@media (min-width: 768px) {
    .service-card .event-image {
        height: 100%; /* Adjust for larger screens */
    }
}


/* Features Section */
.feature-item {
    background-color: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.feature-item .material-symbols-outlined {
    font-size: 4rem;
    line-height: 1;
}

/* Team Section */
.team-section .founder-spotlight {
    background-color: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);

    p {
        color: var(--text-color-secondary-2);
    }
}
.team-member-card {
    background-color: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.08);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(45deg, #1A2980, #26D0CE); /* Fixed background for stats */
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('static/uploads/Desert-Ai-And-Generated-Skyline-Safari-Dubai-Illustration.jpg') no-repeat center center/cover;
    opacity: 0.2; /* Dark overlay effect */
    z-index: 0;
}
.stats-section .container {
    position: relative;
    z-index: 1;
}
.stat-item {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.stat-item:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}
.stat-item .material-symbols-outlined {
    font-size: 5rem;
    line-height: 1;
    color: var(--secondary-color); /* Use secondary color for icons */
}
.stat-item .stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--secondary-color);
}

/* How It Works Section (Accordion) */
.accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.accordion-button {
    background-color: #fff;
    color: var(--heading-color);
    font-size: 1.25rem;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
    transition: background-color 0.3s ease;
}
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--primary-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}
.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}
.accordion-body {
    padding: 1.5rem;
    background-color: #fefefe;
    border-top: 1px solid #eee;
}

/* Testimonials Section */
.testimonials-section {
    background: url('static/uploads/Lights-With-Light-Skyline-City-Rail-And-Dubai.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 0;
}
.testimonials-section .container {
    position: relative;
    z-index: 1;
    color: white; /* Ensure text is visible on dark overlay */
}
.testimonials-section h2 {
    color: white;
}
.testimonial-card {
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.testimonial-card img {
    border: 3px solid var(--primary-color);
}
.testimonial-card blockquote {
    font-size: 1.05rem;
    color: #555;
}

/* Footer Section */
.footer-section {
    background: linear-gradient(90deg, #1e3c72, #2a5298); /* Deep blue gradient */
    padding-top: 60px;
    padding-bottom: 30px;
}
.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-section a:hover {
    color: var(--secondary-color);
}
.footer-section .footer-logo {
}
.footer-section .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}
.footer-section .border-secondary {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1050; /* Above modals */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    animation: slideUp 0.5s ease-out forwards;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.cookie-banner a {
    font-weight: 500;
}
.cookie-banner .btn {
    min-width: 120px;
}
@media (max-width: 767.98px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner p {
        margin-bottom: 1rem !important;
    }
    .cookie-banner .d-flex {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner .btn {
        width: 100%;
        margin-bottom: 0.5rem !important;
        margin-right: 0 !important;
    }
}

/* Material Symbols Adjustments */
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
    vertical-align: middle;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-section {
        min-height: 80vh;
    }
    .about-section .col-md-6 {
        order: 2;
    }
    .about-section .col-md-6.order-md-1 {
        order: 1;
    }
    .about-section .col-md-6.order-md-2 {
        order: 2;
    }
}/* Styles for content within the .privacyNestZone container */
.privacyNestZone {
    /* Top and side padding for the content area */
    padding-top: 3rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    /* Max width to prevent content from stretching too wide on large screens */
    max-width: 960px;
    /* Center the content horizontally */
    margin-left: auto;
    margin-right: auto;
}

/* Heading 1 styles within privacyNestZone */
.privacyNestZone h1 {
    font-size: 2.2rem; /* Moderate font size for main heading */
    margin-bottom: 1.5rem; /* Space below the heading */
    line-height: 1.2; /* Line height for readability */
    font-weight: 700; /* Bold weight */
    color: var(--heading-color, #212529); /* Inherit from theme or default */
}

/* Heading 2 styles within privacyNestZone */
.privacyNestZone h2 {
    font-size: 1.8rem; /* Moderate font size for sub-headings */
    margin-bottom: 1.2rem; /* Space below the heading */
    line-height: 1.3; /* Line height for readability */
    font-weight: 600; /* Semi-bold weight */
    color: var(--heading-color, #212529);
}

/* Heading 3 styles within privacyNestZone */
.privacyNestZone h3 {
    font-size: 1.5rem; /* Smaller heading size */
    margin-bottom: 1rem; /* Space below the heading */
    line-height: 1.4; /* Line height for readability */
    font-weight: 600;
    color: var(--heading-color, #212529);
}

/* Heading 4 styles within privacyNestZone */
.privacyNestZone h4 {
    font-size: 1.3rem; /* Even smaller heading size */
    margin-bottom: 0.8rem; /* Space below the heading */
    line-height: 1.5; /* Line height for readability */
    font-weight: 500; /* Medium weight */
    color: var(--heading-color, #212529);
}

/* Heading 5 styles within privacyNestZone */
.privacyNestZone h5 {
    font-size: 1.1rem; /* Smallest heading size, close to body text */
    margin-bottom: 0.7rem; /* Space below the heading */
    line-height: 1.5; /* Line height for readability */
    font-weight: 500;
    color: var(--heading-color, #212529);
}

/* Paragraph styles within privacyNestZone */
.privacyNestZone p {
    font-size: 1rem; /* Standard body text size */
    margin-bottom: 1rem; /* Space between paragraphs */
    line-height: 1.7; /* Generous line height for readability */
    color: var(--text-color, #333); /* Inherit from theme or default */
}

/* Unordered list styles within privacyNestZone */
.privacyNestZone ul {
    list-style: disc; /* Default disc bullet points */
    margin-bottom: 1rem; /* Space below the list */
    padding-left: 1.5rem; /* Indentation for bullet points */
    color: var(--text-color, #333);
}

/* List item styles within privacyNestZone */
.privacyNestZone li {
    font-size: 1rem; /* Standard body text size for list items */
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.6; /* Line height for readability */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .privacyNestZone {
        padding-top: 2rem;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .privacyNestZone h1 {
        font-size: 1.8rem;
    }

    .privacyNestZone h2 {
        font-size: 1.5rem;
    }

    .privacyNestZone h3 {
        font-size: 1.3rem;
    }
}


.hidden {
    display: none !important;
}