/* الألوان الأساسية ... (باقي الكود كما هو) */
:root {
    --zea-dark-blue: #001f3f;
    --zea-gold: #FFD700;
    --white: #ffffff;
    --light-gray: #f8f8f8;
}

/* Reset default browser settings ... (باقي الكود كما هو) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--light-gray);
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrolling on body */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

/* Top Navbar - Contact Information (لا يوجد تغيير هنا) */
.top-navbar {
    background-color: var(--white);
    color: var(--zea-dark-blue);
    padding: 10px 0;
    font-size: 0.9em;
    border-bottom: 1px solid #eee;
}

.top-navbar .container {
    display: flex;
    flex-wrap: nowrap; /* يمنع العناصر من النزول لسطر جديد */
    justify-content: flex-end; /* يبدأ العناصر من اليمين (لأن الـ dir: ltr) */
    align-items: center;
    gap: 20px; /* مسافة بين العناصر */
    overflow-x: auto; /* يسمح بالتمرير الأفقي */
    -webkit-overflow-scrolling: touch; /* لتحسين التمرير على iOS */
    padding-bottom: 5px; /* لإعطاء مساحة للتمرير إذا ظهر شريط التمرير */
}

.top-navbar .contact-info {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    flex-grow: 1;
    justify-content: flex-end;
}

.top-navbar .contact-item {
    color: var(--zea-dark-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.top-navbar .contact-item:hover {
    color: var(--zea-gold);
}

/* Main Navbar - Logo and Sections (لا يوجد تغيير هنا) */
.main-navbar {
    background-color: var(--white);
    padding: 15px 0;
    position: relative; /* أضف هذا السطر */
}

.main-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
    color: var(--zea-dark-blue);
}

.main-navbar .logo img {
    height: 50px;
    margin-left: 10px;
}

.main-navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-navbar .nav-links li a {
    color: var(--zea-dark-blue);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-navbar .nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--zea-gold);
    transition: width 0.3s ease;
}

.main-navbar .nav-links li a:hover,
.main-navbar .nav-links li a.active {
    color: var(--zea-gold);
}

.main-navbar .nav-links li a:hover::after,
.main-navbar .nav-links li a.active::after {
    width: 100%;
}

/* ... باقي الكود السابق للـ :root, *, body, .container, .header, .top-navbar, .main-navbar, .logo, .nav-links li a ... */

/* --- Mobile Menu Toggle Button (Hamburger Menu) --- */
.menu-toggle {
    display: none; /* مخفي بشكل افتراضي على الشاشات الكبيرة */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* تأكد أن الزر يظهر فوق كل شيء */
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--zea-dark-blue);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    /* ... Top Navbar responsive styles (لا يوجد تغيير هنا) ... */

    /* ** قواعد الـ CSS للـ Nav Links على الموبايل ** */
    .main-navbar .nav-links {
        display: none; /* **مهم جداً: اخفاء القائمة افتراضياً** */
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        position: absolute; /* يجعلها تظهر تحت النافبار مباشرة */
        top: 100%; /* تأكد إنها بتظهر تحت النافبار */
        left: 0;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
        padding: 10px 0;
        z-index: 999; /* أقل من زر الهامبرجر */
        text-align: center;
    }

    /* ** هذه القاعدة هي التي تظهر القائمة عند إضافة كلاس 'active' ** */
    .main-navbar .nav-links.active {
        display: flex; /* **مهم جداً: إظهار القائمة كـ flex container** */
    }

    .main-navbar .nav-links li {
        width: 100%;
        padding: 10px 0;
    }

    .main-navbar .nav-links li a {
        font-size: 1.2em;
    }

    /* ** زر الهامبرجر: يظهر فقط على الموبايل ** */
    .menu-toggle {
        display: flex; /* **مهم جداً: إظهار زر الهامبرجر على الموبايل** */
    }

    .main-navbar .logo img {
        height: 40px;
    }

    /* تأثير الـ X لزر الهامبرجر (لو مش عايزه ممكن تمسحه) */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    overflow: hidden;
}

.slider-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
}

.slide-content {
    position: relative; /* To bring content above the overlay */
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.slide-content h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--zea-gold);
    color: var(--zea-dark-blue);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e6c200; /* A darker gold on hover */
    transform: translateY(-3px);
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2; /* Ensure dots are above slides */
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--zea-gold);
    transform: scale(1.2);
}

/* Responsive adjustments for slider */
@media (max-width: 1024px) {
    .hero-slider {
        height: 500px;
    }
    .slide-content h2 {
        font-size: 2.8em;
    }
    .slide-content p {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    .slide-content h2 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .slide-content p {
        font-size: 1.1em;
        margin-bottom: 20px;
    }
    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 300px;
    }
    .slide-content h2 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    .slide-content p {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}


/* Destination Cards Section Styles */
.destination-cards-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    color: var(--zea-dark-blue);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--zea-gold);
    border-radius: 2px;
}

.destination-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.destination-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(33.333% - 20px);
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* If you uncommented this in the previous step, keep it commented out or remove it */
/* .destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
} */

.destination-card .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.destination-card h3 {
    font-size: 1.8em;
    color: var(--zea-dark-blue);
    margin-bottom: 10px;
}

.destination-card p {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.destination-card .card-link {
    display: inline-block;
    color: var(--zea-gold);
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.destination-card .card-link:hover {
    color: var(--zea-dark-blue);
}

/* Responsive styles for Destination Cards */
@media (max-width: 992px) {
    .destination-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .destination-cards-section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .destination-card {
        width: 100%;
        max-width: 400px;
    }
    .destination-cards-grid {
        gap: 20px;
    }
}

/* Advantages Section Styles */
.advantages-section {
    padding: 60px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.advantage-item .icon-large {
    font-size: 3em;
    color: var(--zea-gold);
    margin-bottom: 20px;
}

.advantage-item h4 {
    font-size: 1.4em;
    color: var(--zea-dark-blue);
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

/* Responsive adjustments for Advantages Section */
@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium-large screens */
    }
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
    .advantage-item .icon-large {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    .advantage-item h4 {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 40px 0;
    }
    .advantages-grid {
        margin-top: 30px;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr); /* Changed to 2 columns on small screens/mobile */
        gap: 15px; /* Adjust gap to allow for 2 columns */
    }
    .advantage-item {
        padding: 15px 10px; /* Reduce padding to fit content */
    }
    .advantage-item .icon-large {
        font-size: 2em; /* Smaller icons */
        margin-bottom: 10px;
    }
    .advantage-item h4 {
        font-size: 1em; /* Smaller title font */
    }
    .advantage-item p {
        font-size: 0.8em; /* Smaller paragraph font */
    }
}

/* Tours Section Styles */
.tours-section {
    padding: 60px 0;
    background-color: var(--white); /* White background for contrast */
    text-align: center;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid for tours */
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.tour-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Makes all cards in a row the same height */
    overflow: hidden; /* Prevents content from spilling out */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tour-card img {
     width: 100%;
    height: 200px; /* Adjust this value to your preferred fixed height */
    object-fit: cover; /* This is the key: it makes the image cover the container without distortion */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.tour-card .card-content {
    flex-grow: 1; /* Makes the content section fill the remaining space */
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.tour-card h3 {
    font-size: 1.6em;
    color: var(--zea-dark-blue);
  
    min-height: 50px; /* Adjust this value to accommodate your longest title */
    margin-top: 0;
}

.tour-card p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1; /* Allows paragraph to take available space */

    min-height: 70px;
}

.tour-card .tour-price {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--zea-dark-blue);
    margin-bottom: 20px;
}

.tour-card .tour-price .currency {
    font-size: 0.7em;
    font-weight: normal;
    color: #888;
}

/* Button for "View All Tours" */
.btn-secondary {
    background-color: var(--zea-dark-blue);
    color: var(--white);
    margin-top: 40px;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: #003366; /* Darker blue on hover */
    transform: translateY(-3px);
}

/* Responsive styles for Tours Section */
@media (max-width: 992px) {
    .tours-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust minwidth for tablets */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tours-section {
        padding: 40px 0;
    }
    .tours-grid {
        margin-top: 30px;
         display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    }
    .tour-card h3 {
        font-size: 1.4em;
    }
    .tour-card .tour-price {
        font-size: 1.2em;
    }
    .btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .tours-grid {
        grid-template-columns: 1fr; /* Single column on very small phones */
    }
    .tour-card {
        max-width: 350px; /* Constrain width for single column */
        margin: 0 auto; /* Center single column cards */
    }
    .tour-card img {
        height: 180px;
    }
    .tour-card h3 {
        font-size: 1.3em;
    }
    .tour-card p {
        font-size: 0.9em;
    }
    .tour-card .tour-price {
        font-size: 1.1em;
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.testimonials-content {
    display: flex;
    align-items: center;
    gap: 40px; /* Space between text and slider */
}

.testimonials-text {
    flex: 1; /* Takes equal space on large screens */
    text-align: left;
    min-width: 300px; /* Ensure text block doesn't get too small */
}

/* Specific styling for section-title in this context */
.testimonials-text .section-title-left {
    font-size: 2.5em;
    color: var(--zea-dark-blue);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    text-align: left; /* Ensure title is left-aligned */
}

.testimonials-text .section-title-left::after {
    content: '';
    position: absolute;
    left: 0; /* Align underline to the left */
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--zea-gold);
    border-radius: 2px;
}

.testimonials-text p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.7;
}

.testimonials-slider-container {
    flex: 1; /* Takes equal space on large screens */
    position: relative;
    overflow: hidden; /* Hide overflowing cards */
    /* REMOVED: padding: 0 40px; This was causing overflow on small screens */
    padding-left: 40px; /* Keep padding for left arrow */
    padding-right: 40px; /* Keep padding for right arrow */
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* To display multiple cards at once, adjust min-width of card */
}

.testimonial-card {
    /* REMOVED: flex: 0 0 100%; default. We'll set this in media queries. */
    min-width: 100%; /* Default to one card per view */
    box-sizing: border-box;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0 15px; /* Add horizontal margin for spacing between cards when multiple are visible */
}

.testimonial-card .stars {
    color: var(--zea-gold);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.testimonial-card .stars .fa-star,
.testimonial-card .stars .fa-star-half-alt {
    margin: 0 2px;
}

.testimonial-card .review-text {
    font-size: 1.05em;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .reviewer-name {
    font-size: 0.95em;
    color: var(--zea-dark-blue);
    font-weight: bold;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--zea-dark-blue);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
    background-color: var(--zea-gold);
    color: var(--zea-dark-blue);
}

.slider-arrow.left-arrow {
    left: 0;
}

.slider-arrow.right-arrow {
    right: 0;
}

/* Responsive styles for Testimonials Section */
@media (max-width: 992px) {
    .testimonials-content {
        flex-direction: column; /* Stack content vertically on smaller screens */
        text-align: center;
        gap: 30px;
    }
    .testimonials-text {
        text-align: center;
    }
    .testimonials-text .section-title-left {
        text-align: center; /* Center title when stacked */
    }
    .testimonials-text .section-title-left::after {
        left: 50%; /* Center underline when stacked */
        transform: translateX(-50%);
    }
    .testimonials-slider-container {
        /* On smaller screens, remove the fixed padding that might cause overflow */
        padding: 0 20px; /* Adjusted padding for arrows */
        width: 100%; /* Ensure it takes full available width */
    }
    .slider-arrow {
        padding: 10px;
        font-size: 1em;
    }
    .testimonial-card {
        flex: 0 0 100%; /* Ensure one card per view on smaller screens */
        margin: 0; /* Remove horizontal margin to prevent overflow */
    }
    /* Re-add specific margin for between cards if you want it *between* them, not on the edges */
    .testimonials-slider .testimonial-card + .testimonial-card {
        margin-left: 20px; /* Example: add margin only between cards, not on the first/last */
    }
    /* To handle the last card's margin, you might need to adjust showTestimonial function */
}


/* Additional media query for smaller mobiles */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    .testimonials-text .section-title-left {
        font-size: 2em;
    }
    .testimonials-text p {
        font-size: 1em;
    }
    .testimonial-card {
        padding: 25px;
    }
    .testimonial-card .stars {
        font-size: 1.2em;
    }
    .testimonial-card .review-text {
        font-size: 1em;
    }
    /* Ensure the slider container accounts for arrow space, or remove arrow padding */
    .testimonials-slider-container {
        padding: 0 10px; /* Reduce padding for arrows further on very small screens */
    }
    .slider-arrow.left-arrow {
        left: -10px; /* Adjust arrow position to be slightly outside padding */
    }
    .slider-arrow.right-arrow {
        right: -10px; /* Adjust arrow position to be slightly outside padding */
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 40px 0;
    }
    .testimonials-slider-container {
        padding: 0 10px; /* Smaller padding for arrows on very small screens */
    }
    .slider-arrow {
        padding: 8px;
        font-size: 0.9em;
    }
    .testimonial-card {
        margin: 0; /* No margin on very small screens */
    }
    .testimonials-slider .testimonial-card + .testimonial-card {
        margin-left: 10px; /* Smaller gap between cards */
    }
}


/* Footer Styles */
.footer {
    background-color: var(--zea-dark-blue);
    color: var(--white);
    padding: 60px 0 20px; /* Padding top for content, bottom for copyright */
    font-size: 0.95em;
}

.footer .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px; /* Space between columns */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin-bottom: 40px;
}

.footer-section {
    flex: 1; /* Each section takes equal space */
    min-width: 250px; /* Minimum width before wrapping */
}

.footer-about {
    flex: 1.2; /* Give more space to the about section */
}

.footer-logo img {
    height: 70px; /* Adjust logo size in footer */
    margin-bottom: 15px;
}

.footer-about .slogan {
    margin-bottom: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons a {
    color: var(--white);
    font-size: 1.6em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--zea-gold); /* Gold on hover */
}

.footer-section h3 {
    color: var(--zea-gold);
    font-size: 1.4em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex; /* Allow icon beside text if added */
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: var(--zea-gold);
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    flex-direction: column; /* Stack input and button vertically */
    gap: 10px;
}

.newsletter-form input[type="email"] {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1em;
    width: 100%;
    box-sizing: border-box; /* Include padding in width */
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background-color: var(--zea-gold);
    color: var(--zea-dark-blue);
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-weight: bold;
}

.newsletter-form button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85em;
}

/* Responsive Footer Styles */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column; /* Stack sections vertically */
        text-align: center;
        align-items: center; /* Center items when stacked */
    }

    .footer-section {
        margin-bottom: 40px; /* Space between stacked sections */
        max-width: 400px; /* Limit width of stacked sections */
        width: 100%; /* Take full width within max-width */
    }

    .footer-section:last-child {
        margin-bottom: 0; /* No bottom margin for the last section */
    }

    .footer-section h3::after {
        left: 50%; /* Center underline when stacked */
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center; /* Center social icons */
        display: flex;
    }
    .footer-links ul {
        padding-left: 0; /* Remove default list padding */
    }
    .footer-links ul li {
        text-align: center; /* Center nav links */
    }
    .newsletter-form {
        align-items: center; /* Center form elements */
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 15px;
    }
    .footer-section {
        margin-bottom: 30px;
    }
    .footer-logo img {
        height: 60px;
    }
    .footer-section h3 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    .social-icons a {
        font-size: 1.4em;
        margin-right: 10px;
    }
    .newsletter-form input[type="email"],
    .newsletter-form button {
        font-size: 0.9em;
        padding: 10px;
    }
}

/* ... باقي الكود لـ .content-section ... */
.content-section {
    padding: 50px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .top-navbar .container {
        justify-content: flex-start; /* ابدأ من اليسار، والتمرير هيكون لليمين */
        gap: 10px; /* قلل المسافة بين العناصر */
        padding: 0 10px 5px; /* قلل الـ padding الأفقي للمساحة المتاحة */
    }

    .top-navbar .contact-info {
        gap: 10px; /* قلل المسافة بين عناصر الاتصال أيضًا */
        justify-content: flex-start; /* تأكد أن عناصر الاتصال تبدأ من اليسار داخل الـ contact-info */
    }

    .top-navbar .contact-item {
        font-size: 0.8em; /* صغر حجم الخط لتوفير مساحة */
        /* يمكنك أيضًا إخفاء النص لبعض العناصر إذا أردت إظهار الأيقونات فقط */
        /* مثال: لو عايز الأيقونة بس للواتساب والتليفون */
        /* & .fa-whatsapp, & .fa-phone-alt {
            span { display: none; }
        } */
    }

    /* إذا كان لديك نص بجانب الأيقونة، يمكنك التفكير في إخفاء النص على الشاشات الصغيرة جدًا */
    .top-navbar .contact-item span { /* لو النص داخل سبان */
        display: none;
    }
    .top-navbar .contact-item i {
        margin: 0; /* تأكد أن الأيقونة ليس بها هوامش إضافية */
    }

    /* لإظهار الأيقونات فقط على الموبايل، يمكنك إخفاء النص */
    /* قم بتحديد الروابط بشكل أدق إذا كان هناك نص ظاهر بجانب الأيقونات */
    .top-navbar .contact-item:not(.contact-item:has(span)) { /* لا ينطبق على الأيقونات التي ليس لها نص */
        /* هذا الكود يعتمد على وجود الـ span للنص، تأكد من بنية الـ HTML */
    }
    .top-navbar .contact-item i { /* استهدف الأيقونات مباشرة */
        font-size: 1.1em; /* أو حجم مناسب */
    }
}

/* ممكن تضيف media query أصغر للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .top-navbar .contact-item {
        font-size: 0.75em; /* صغر الخط أكتر لو لسه فيه مشكلة */
    }
    .top-navbar .contact-item span {
        /* لو لسه النص بيعمل مشكلة، ممكن تخفيه تماماً وتعتمد على الأيقونة بس */
        display: none;
    }
}



/* Language Switcher Styles */
.language-switcher {
    position: fixed; /* يجعل العنصر ثابتًا بالنسبة لنافذة المتصفح */
    bottom: 20px;    /* 20 بكسل من أسفل الصفحة */
    left: 20px;      /* 20 بكسل من يسار الصفحة */
    z-index: 1000;   /* تأكد من ظهوره فوق باقي المحتوى */
    background-color: var(--zea-dark-blue); /* لون خلفية للزر */
    border-radius: 50px; /* جعل الحواف مستديرة (شكل حبوب الدواء) */
    display: flex;   /* لترتيب الأزرار الداخلية جنبًا إلى جنب */
    padding: 5px;    /* مسافة داخلية */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* ظل للزر */
}

.language-switcher .lang-btn {
    background-color: transparent; /* خلفية شفافة افتراضيًا */
    color: var(--white); /* لون النص أبيض */
    border: none;        /* بدون حدود */
    padding: 10px 15px;  /* مسافة داخلية للزر */
    margin: 0 2px;       /* مسافة بسيطة بين الزرين */
    border-radius: 50px; /* حواف مستديرة للأزرار الداخلية */
    cursor: pointer;     /* مؤشر اليد عند المرور فوقه */
    font-size: 0.9em;    /* حجم الخط */
    font-weight: bold;   /* خط سميك */
    transition: background-color 0.3s ease, color 0.3s ease; /* تأثيرات انتقالية */
    min-width: 50px; /* ضمان عرض أدنى للأزرار */
    text-align: center;
}

.language-switcher .lang-btn.active {
    background-color: var(--zea-gold); /* لون خلفية ذهبي للزر النشط */
    color: var(--zea-dark-blue); /* لون نص أزرق داكن للزر النشط */
}

.language-switcher .lang-btn:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.2); /* لون خفيف عند المرور فوق الزر غير النشط */
}

/* General Contact Page Styling */
.contact-page-content {
    padding: 40px 0;
}

/* Hero Section */
.contact-hero {
    background-color: #f8f8f8; /* Light background for hero */
    padding: 80px 0;
    text-align: center;
    background-image: url('img/contact-hero-bg.jpg'); /* Optional: Add a background image */
    background-size: cover;
    background-position: center;
    color: #fff; /* Text color for hero if using dark background image */
}

.contact-hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: var(--zea-gold, #007bff); /* Use your theme's primary color */
}

.contact-hero p {
    font-size: 1.2em;
    color: var(--text-color, #666);
}

/* Contact Info Section */
.contact-info-section {
    padding: 60px 0;
    background-color: #fff;
}

.contact-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-item-box {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    flex: 1 1 300px; /* Allows items to grow and shrink, min-width 300px */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-item-box:hover {
    transform: translateY(-5px);
}

.contact-item-box i {
    font-size: 2.5em;
    color: var(--zea-gold); /* استخدام متغير اللون الأصفر */
    margin-bottom: 15px;
}

.contact-item-box h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--zea-gold, #333);
}

.contact-item-box p {
    font-size: 1.1em;
    color: var(--text-color, #555);
}

.contact-item-box p a {
    color: var(--primary-color, #007bff);
    text-decoration: none;
}

.contact-item-box p a:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: var(--zea-gold, #333);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color, #444);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px); /* Account for padding */
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color, #007bff);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

.contact-form .btn-primary {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--zea-gold, #007bff);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: var(--primary-dark-color, #0056b3);
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: var(--heading-color, #333);
}

.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #e0e0e0; /* Placeholder background */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5em;
    }

    .contact-hero p {
        font-size: 1em;
    }

    .contact-info-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-item-box {
        flex: 1 1 90%;
        max-width: 400px;
    }

    .contact-form {
        padding: 20px;
    }
}








/* Tour Program Section */
.tour-program-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.tour-program-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #004d40;
}

.program-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.program-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

.program-content p strong {
    color: #004d40;
    font-size: 1.1em;
}

.inclusions-exclusions {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.included-items,
.excluded-items {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.included-items h3,
.excluded-items h3 {
    color: #004d40;
    margin-bottom: 20px;
    font-size: 1.6em;
}

.included-items ul,
.excluded-items ul {
    list-style: none;
    padding: 0;
}

.included-items ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%2328a745"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
}

.excluded-items ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%23dc3545"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
}


/* Tour Booking Section */
.tour-booking-section {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.tour-booking-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tour-booking-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #004d40;
}

.booking-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    margin-bottom: 40px;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="date"],
.booking-form input[type="number"],
.booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Ensures padding doesn't increase width */
}

.booking-form textarea {
    resize: vertical;
    min-height: 100px;
}

.booking-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #007bff; /* Primary blue from existing theme */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.booking-form .btn-primary:hover {
    background-color: #0056b3;
}

.whatsapp-inquiry {
    text-align: center;
}

.whatsapp-inquiry p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-whatsapp i {
    margin-right: 10px;
    font-size: 1.3em;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
}

/* Responsive adjustments for tour details page */
@media (max-width: 768px) {
    .tour-hero-section h1 {
        font-size: 2em;
    }

    .tour-hero-section p {
        font-size: 1em;
    }

    .tour-gallery-section .tour-slider {
        height: 350px;
    }

    .tour-slider-nav {
        flex-direction: column;
        gap: 15px;
    }

    .inclusions-exclusions {
        flex-direction: column;
        gap: 20px;
    }

    .included-items,
    .excluded-items {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tour-gallery-section .tour-slider {
        height: 250px;
    }

    .tour-slider-nav .tour-price-display {
        font-size: 1.3em;
    }

    .tour-slider-nav .slide-count {
        font-size: 0.9em;
    }

    .tour-gallery-section .tour-slider-arrow {
        padding: 10px 5px;
    }
}


/* New Section: Tour Details Header */
.tour-header-section {
    padding: 40px 0;
    background-color: var(--white);
}

.tour-header-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.tour-image-gallery {
    flex: 2;
    min-width: 300px;
    max-width: 100%;
}

.tour-image-gallery .main-image {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tour-image-gallery .main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.tour-image-gallery .gallery-thumbnails {
    display: flex;
    gap: 10px;
}

.tour-image-gallery .gallery-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.tour-image-gallery .gallery-thumbnails img:hover {
    border-color: var(--zea-gold);
}

.tour-info {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tour-info .tour-title {
    font-size: 2.5em;
    color: var(--zea-dark-blue);
    margin-bottom: 15px;
}

.tour-info .tour-price-display {
    font-size: 2em;
    font-weight: bold;
    color: var(--zea-dark-blue);
}

.tour-info .tour-price-display .currency {
    font-size: 0.6em;
    font-weight: normal;
    color: #666;
    margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tour-header-section .container {
        flex-direction: column;
    }
    
    .tour-info {
        order: -1; /* Move tour info above images on mobile */
        padding: 15px;
    }
    
    .tour-info .tour-title {
        font-size: 2em;
    }
    
    .tour-image-gallery .gallery-thumbnails img {
        width: 60px;
        height: 45px;
    }
}
/* Add a style for the active thumbnail */
.tour-image-gallery .gallery-thumbnails img.active {
    border-color: var(--zea-dark-blue); /* Or any color you prefer */
}

.booking-success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    text-align: center;
}


.gold-icon {
    color: #FFD700; /* لون ذهبي */
    font-size: 1.2em; /* حجم الأيقونة */
    margin-right: 5px; /* مسافة بين الأيقونة والسعر */
}