body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header {
    background-color: #034baa;
    color: white;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Ensure it stays on top of other elements */
}

/* کلاس‌های پایه */
.w-100 {
    width: 100%;
}

.w-75 {
    width: 75%;
}

.w-50 {
    width: 50%;
}

.w-25 {
    width: 25%;
}

/* تنظیم عرض پیش‌فرض برای تمامی تصاویر */
img {
    width: 100%; /* یا هر عرض دلخواه دیگر */
    height: auto; /* برای حفظ نسبت تصویر */
    object-fit: cover; /* برای حفظ نسبت تصویر و پر کردن فضای والد */
}


/* برای سایزهای بزرگتر از 1200px */
@media (min-width: 1200px) {
    .w-lg-100 {
        width: 100%;
    }

    .w-lg-75 {
        width: 75%;
    }

    .w-lg-50 {
        width: 50%;
    }

    .w-lg-25 {
        width: 25%;
    }
}

/* برای سایزهای بین 992px تا 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .w-md-100 {
        width: 100%;
    }

    .w-md-75 {
        width: 75%;
    }

    .w-md-50 {
        width: 50%;
    }

    .w-md-25 {
        width: 25%;
    }
}

/* برای سایزهای بین 768px تا 991px */
@media (min-width: 768px) and (max-width: 991px) {
    .w-sm-100 {
        width: 100%;
    }

    .w-sm-75 {
        width: 75%;
    }

    .w-sm-50 {
        width: 50%;
    }

    .w-sm-25 {
        width: 25%;
    }
}

/* برای سایزهای کوچکتر از 768px */
@media (max-width: 767px) {
    .w-xs-100 {
        width: 100%;
    }

    .w-xs-75 {
        width: 75%;
    }

    .w-xs-50 {
        width: 50%;
    }

    .w-xs-25 {
        width: 25%;
    }
}

/* تنظیم ابعاد تصاویر */
.equal-dimension {
    width: 100%;
    height: 200px; /* ارتفاع دلخواه */
    object-fit: cover; /* برای حفظ نسبت تصویر */
}


.img-responsive {
    width: 100%;
    height: auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: lightgray;
        }

.quick-access a {
    color: white;
    margin-left: 15px;
    transition: color 0.3s;
}

    .quick-access a:hover {
        color: lightgray;
    }

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .offcanvas-nav a {
        color: white;
        text-decoration: none;
        transition: color 0.3s;
    }

        .offcanvas-nav a:hover {
            color: lightgray;
        }

.offcanvas {
    background-color: #034baa;
    color: white;
}

    .offcanvas button {
        background-color: transparent;
        color: white;
        border: none;
        font-size: 20px;
        cursor: pointer;
    }

@media (max-width: 992px) {

    .nav-links,
    .quick-access {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }
}

.swiper-slide img {
    width: 100% !important;
    height: 100%;
}


.swiper-slider {
    height: 80%;
}

.swiper-pagination span {
    background: rgb(0, 0, 0);
    border: 2px solid rgb(255, 255, 255);
}

.swiper-button-prev,
.swiper-button-next {
    color: black !important;
    padding: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s, background-color 0.3s;
}

.swiper-button-prev,
.swiper-button-next {
    width: 30px;
    height: 30px;
    background-size: 20px 20px;
}

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 20px;
    }

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        transform: scale(1.1);
        background-color: rgba(255, 255, 255, 0.8);
    }

@media (max-width: 768px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .swiper-slide img {
        height: 100vh;
        width: auto;
        object-fit: cover;
    }
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .swiper-slide .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
        color: white;
        padding: 100px;
    }

@media (max-width: 768px) {
    .swiper-slide .overlay {
        top: 50px;
    }
}
    .swiper-slide img {
        object-fit: cover;
        position: relative;
        z-index: 0;
    }

    section {
        margin-block: 50px;
    }

    a {
        text-decoration: none;
    }

    .top-section {
        margin-top: 70px;
    }

    footer {
        background-color: #1f1f1f;
        color: white;
        padding: 20px;
        text-align: center;
    }

        footer a {
            color: white;
            text-decoration: none;
            padding: 0 10px;
            transition: color 0.3s ease;
        }

            footer a:hover {
                color: lightgray;
            }

    /* تنظیم ستون‌ها در حالت معمولی */
    .footer-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px;
    }

    /* تنظیم ستون‌ها در حالت موبایل */
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            text-align: center;
        }

            .footer-container > div {
                margin-bottom: 20px;
            }

                .footer-container > div:last-child {
                    margin-bottom: 0;
                }
    }


    .video-background {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    #background-video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translate(-50%, -50%);
        filter: blur(5px);
    }

    .scale-card {
        transition: transform 0.3s ease;
    }

        .scale-card:hover {
            transform: scale(1.05);
        }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropbtn {
        color: black;
        font-size: 16px;
        border: none;
        cursor: pointer;
        text-decoration: none;
    }

    .dropdown-content {
        display: block;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        max-height: 0;
        overflow: hidden;
        border-radius: 20px;
        transition: max-height 0.7s ease;
    }

        .dropdown-content a {
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }

            .dropdown-content a:hover {
                color: #cccccc !important;
            }

    .dropdown:hover .dropdown-content {
        max-height: 500px; /* Adjust this value based on the content height */
    }


    /* صفحه لودینگ */
    .loading-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff; /* یا هر رنگ دلخواه پس‌زمینه */
        z-index: 9999; /* مطمئن شوید از همه لایه‌ها بالاتر باشد */
        overflow: hidden;
    }

    /* اسلایدها */
    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0;
        transform: translateY(0);
        transition: transform 1s ease; /* مدت زمان حرکت اسلایدها */
    }

    .slide-dark {
        background-color: #002244; /* آبی تیره */
        z-index: 2;
    }

    .slide-light {
        background-color: #00aaff; /* آبی آسمانی */
        z-index: 1;
    }

    /* لوگو در مرکز صفحه */
    .logo-container {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 200px; /* متناسب با SVG */
        height: 60px; /* متناسب با SVG */
        transform: translate(-50%, -50%);
    }

        /* هر path در SVG در ابتدا مخفی باشد */
        .logo-container svg path {
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.5s ease;
        }

    /* محتوای اصلی صفحه در ابتدا مخفی */
    main {
        opacity: 0;
        /* برای اینکه با اسکرول عجیب نشود، می‌توان موقتاً height: 0 یا display: none گذاشت */
        transition: opacity 1s ease;
    }

    .logo-container {
        position: relative;
        width: 80%; /* متناسب با viewBox یا اندازه دلخواه */
        max-width: 400px;
        height: fit-content;
        margin: 0 auto;
        /* اگر می‌خواهید لوگو وسط صفحه باشد */
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .loading-screen {
        position: fixed; /* یا absolute در صورت نیاز */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999; /* عدد بالا تا مطمئن شوید این سکشن از همه جلوتر است */
        overflow: hidden; /* اسکرول نداشته باشد */
    }

    .spaced-paragraph {
        margin-bottom: 30px; /* Adjust this value to increase or decrease the spacing */
    }

    /* اسلایدها */
    .loading-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: translateY(0);
        transition: transform 1s ease;
    }

    .loading-slide-dark {
        background-color: #002244; /* آبی تیره */
        z-index: 10;
    }

    .loading-slide-light {
        background-color: #00aaff; /* آبی آسمانی */
        z-index: 9;
    }

    /* SVG در مرکز صفحه و بالاترین لایه داخل .loading-screen */
    .logo-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999; /* بزرگ‌تر از اسلایدها تا روی آنها نمایش داده شود */
    }


    .nav-tabs .nav-link {
        margin-right: 10px; /* Adjust this value to increase spacing between tabs */
        color: black; /* Set text color to black */
    }

        .nav-tabs .nav-link.active {
            background-color: purple; /* Set background color to purple for active tab */
            color: white; /* Set text color to white for active tab */
        }

    .tab-content .tab-pane {
        color: black; /* Set text color to black for tab content */
    }

    .nav-link {
        padding-inline: 40px;
    }

    .Country-slider img {
        max-width: 200px;
        max-height: 200px;
        width: 100%;
        height: 100%;
    }
