/* Base styles */
body {
    font-family: 'Yekan', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

/* Importing fonts */
@font-face {
    font-family: 'Homa';
    src: url('fonts/BHoma.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Yekan';
    src: url('fonts/BYekan.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Koodak';
    src: url('fonts/BKoodakO.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('fonts/icons/fontawesome-webfont.eot');
    src: url('fonts/icons/fontawesome-webfont.woff2') format('woff2'),
        url('fonts/icons/fontawesome-webfont.woff') format('woff'),
        url('fonts/icons/fontawesome-webfont.ttf') format('truetype'),
        url('fonts/icons/fontawesome-webfont.svg#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Define the specific FontAwesome icon classes */
.fa {
    font-family: 'FontAwesome' !important;
}

.fa-phone::before {
    content: "\f095";
}

.fa-mobile::before {
    content: "\f10b";
}

.fa-whatsapp::before {
    content: "\f232";
}

.fa-instagram::before {
    content: "\f16d";
}

.fa-youtube-square::before {
    content: "\f16a";
}

.fa-envelope-0::before {
    content: "\f003";
}

.fa-map-marker::before {
    content: "\f041";
}

html {
    scroll-behavior: smooth;
}


/* Header styles */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Container styles */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* Move the logo towards the left edge */
}

.logo img {
    height: 50px;
}

/* Agency name styles */
.agency-name {
    margin-right: 10px;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    font-family: 'Homa';
}

.agency-name .second-term {
    font-size: 0.8em;
    /* Adjust the size */
    font-weight: normal;
    /* Make it not bold */
}

/* Navbar styles */
.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    font-family: 'Yekan';
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.navbar ul li a:hover,
.contact-info a:hover {
    color: #007bff;
}

/* Contact info styles */
.contact-info {
    margin-right: auto;
    /* Move the contact info towards the right edge */
}

.contact-info a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-family: 'Yekan';
}

.contact-info a i {
    font-family: 'FontAwesome';
    color: #0787dc;
    font-weight: 900;
    margin-right: 5px;
    vertical-align: bottom;
}

/* Menu icon styles for small screens */
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 10px;
    font-family: 'FontAwesome';
    font-weight: normal;
    /* Adjust if necessary */
}

.menu-icon::before {
    content: "\f0c9";
    /* Unicode for the menu icon */
}

.menu-icon:hover::before {
    color: #007bff;
}

/* Responsive styles */
@media (min-width: 1101px) and (max-width: 1600px) {
    .navbar ul li {
        margin-left: calc(20px + (80 - 20) * ((100vw - 1100px) / (1600 - 1100)));
    }
}

@media (min-width: 1601px) {
    .navbar ul li {
        margin-left: 80px;
        /* For large screens */
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 2px;
    }

    .navbar {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .logo {
        margin-left: 0px;
    }

    .contact-info {
        margin-right: 0px;
        font-size: 0.8em;
    }

    .contact-info a i {
        margin-right: 1px;
    }

    .agency-name .second-term {
        display: none;
    }
}

/* Overlay styles */
.overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 30ch;
    /* Enough width to display 60 characters */
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.5s ease-in-out;
    z-index: 2000;
}

.overlay-content {
    padding: 20px;
    direction: rtl;
}

.overlay ul {
    list-style: none;
    padding: 0;
}

.overlay ul li {
    margin: 20px 0;
    position: relative;
}

.overlay ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: block;
    width: 100%;
    /* Ensure the link takes up the full width of the list item */
}

.overlay ul li:hover a {
    color: #007bff;
}

.overlay ul li a:hover {
    cursor: pointer;
    /* Change cursor to pointer */
}

/* Close button styles */
.close-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    font-family: 'FontAwesome';
    font-weight: normal;
    /* Adjust if necessary */
    color: #333;
}

.close-button::before {
    content: "\f00d";
    /* Unicode for the close icon */
}

.close-button:hover::before {
    color: #007bff;
}

/* Active overlay */
.overlay.active {
    right: 0;
}

#overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1500;
}

#overlay-bg.active {
    opacity: 1;
    visibility: visible;
}

/* Banner carousel styles */
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: calc(13 * 50px);
    /* Adjust 50px to the actual height of your header */
}

.banner-carousel .banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    /* object-fit: cover; */
    background-position: center;
    /* object-position: center; */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-carousel .banner.active {
    opacity: 1;
}

/* Responsive behavior for the image */
@media (max-width: 768px) {
    .banner-carousel {
        height: 300px;
    }
}

/* Footer styles */
footer {
    background-color: #ffffff;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 20px;
}

/* .footer-logo {
    display: flex;
    align-items: flex-start;
} */

.footer-logo img {
    width: 150px;
    /* margin-left: 10px; */
}

.footer-agency-name {
    margin-right: 20px;
    font-family: 'Homa';
    color: #333;
}

.footer-agency-name .agency-name-complete {
    font-size: 1.5em;
    font-weight: bold;
}

.footer-address-link {
    text-decoration: none;
    color: black;
}

.footer-address-text {
    color: black;
    text-decoration: none;
    font-family: 'Homa', sans-serif;
    /* Ensure this font is loaded properly */
}

.footer-address-link:hover .address-text {
    color: #007bff;
    /* Optional: change color on hover */
    text-decoration: none;
    /* Optional: underline on hover */
}

.footer-contact {
    text-align: left;
    font-family: 'Yekan';
    font-weight: normal;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-contact i {
    font-family: 'FontAwesome';
    margin-left: 5px;
    margin-right: 5px;
}

.footer-contact a {
    text-decoration: none;
    color: #333;
    font-weight: normal;
    /* font-family: 'Calibri'; */
}


.footer-contact a:hover {
    color: #007bff;
}

/* Footer styles for screens less than 768px */
@media (max-width: 768px) {
    footer {
        align-items: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 0;
        align-items: center;
    }

    .footer-agency-name {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .footer-address {
        margin-bottom: 0px;
    }

    .footer-contact {
        margin-bottom: 20px;
    }

    .footer-contact p,
    .footer-contact a {
        align-items: center;
        text-align: center;
    }
}

/* Add this to your CSS file */



.tour-packages .container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.tour-package {
    width: calc(7cm);
    height: calc(9.5cm);
    margin: 4mm;
    border: 1px solid #086cae;
    border-radius: 10px;
    background-color: #faf6f680;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* padding: 20px 0; */
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    font-family: 'Yekan', sans-serif;
}

.tours-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
    /* Adjust spacing between the title and the packages */
    text-align: right;
    margin-right: 50px;
    /* Center the title */
}


.tour-package img {
    width: 100%;
    height: 66%;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.tour-details {
    padding: 1px;
    text-align: right;
    width: 100%;
    margin-right: 10px;
}

.tour-title {
    font-size: 1.1em;
    margin-bottom: 0px;
    line-height: 1.15;
    color: #333;
    white-space: nowrap;
    /* Prevent text from wrapping */
    overflow: hidden;
    /* Hide overflow text */
    text-overflow: ellipsis;
    /* Add ellipsis to truncated text */
}

.tour-duration {
    font-size: 0.9em;
    margin-bottom: 0px;
    line-height: 0.6;
    color: #0452a0c7;
}

.tour-date {
    float: left;
    font-size: 0.9em;
    margin-left: 20px;
    line-height: 0.5;
    color: #0452a0c7;
}

.tour-price {
    font-size: 1em;
    margin-bottom: 0px;
    line-height: 0.5;
}

.tour-location {
    font-size: 1em;
    line-height: 1.2;
    line-height: 0.5;
    color: #333333db;
}

.tour-specialstate {
    float: left;
    font-size: 1em;
    margin-left: 10px;
    line-height: 0.5;
    color: #e90a3ec7;
    font-family: 'Homa';
}




/* Tour packages section */


/* Responsive styles for screens less than 768px */
/* @media (max-width: 768px) { */
.tour-packages .container {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Enables smooth scrolling on touch devices */
}

.tour-package {
    flex: 0 0 auto;
    margin-right: 3.5mm;
}

.tour-package:last-child {
    margin-right: 0;
}

/* } */


/* About Us page styles */
.about-us .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.video-placeholder img {
    max-height: 100%;
    width: auto;
    display: block;
}

.video-section video {
    max-height: 500px;
    width: auto;
    /* display: none; */
    /* Initially hidden until loaded */
}

.video-section {
    flex: 1;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    /* Horizontally centers the content inside .video-section */
    align-items: center;
    /* Vertically centers the content inside .video-section */
}

.text-section {
    flex: 2;
    max-width: 700px;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .about-us .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .video-section,
    .text-section {
        margin: 0;
        width: 100%;
    }

    .video-section {
        margin-bottom: 20px;
    }
}


/* Visa Services page styles */
.visa-sevices .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.media-section {
    flex: 1;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    /* Horizontally centers the content inside .video-section */
    align-items: center;
    /* Vertically centers the content inside .video-section */
}

.media-section img {
    max-width: 100%;
    /* Ensures the image doesn't exceed the container width */
    height: auto;
    /* Maintains the aspect ratio */
    border-radius: 20px;

}

.text-section {
    flex: 2;
    max-width: 700px;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .visa-services .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .media-section,
    .text-section {
        margin: 0;
        width: 90%;
    }

    .media-section {
        margin-bottom: 20px;
    }


}