﻿:root {
    --primary-blue: #0e2a47;
    --secondary-blue: #1a4a75;
    --light-blue: #e6f0ff;
    --white: #ffffff;
    --window-frame-color: #b0c4de;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hesam {
    background: linear-gradient(135deg, #113c76, #728cae);
    color:whitesmoke;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: 'Vazir', sans-serif; /* هماهنگ با فونت احتمالی منو */
    font-size: 16px;
}

    .hesam::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 200%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .hesam:hover::before {
        left: 100%;
    }

    .hesam:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(255, 107, 107, 0.6);
    }
html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
}

.scroll-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.section {
    width: 100vw;
    height: 100vh;
    position: relative;
    scroll-snap-align: start;
}

/* منوی چسبان */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 50;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .navbar.visible {
        opacity: 1;
    }

.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

    .navbar-menu a {
        text-decoration: none;
        color: var(--primary-blue);
        font-size: 1rem;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .navbar-menu a:hover {
            color: var(--secondary-blue);
        }

/* Hero Section Styles */
.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/c260eef66960471c12703ce82dc927e1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: filter 1s ease-in-out;
    z-index: 1;
}

    .background-layer.blurred {
        filter: blur(5px) brightness(0.7);
    }

.airplane-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.01);
    animation: airplane-zoom 2.5s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: transform 1.2s ease;
    z-index: 5;
}

.airplane-img {
    width: auto;
    height: auto;
}

@keyframes airplane-zoom {
    0% {
        transform: translate(-50%, -50%) scale(0.01);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    filter: blur(5px);
    transition: opacity 1s ease, filter 1s ease;
    z-index: 10;
}

    .content.visible {
        opacity: 1;
        filter: blur(0);
    }

.left-content {
    left: 10%;
    text-align: right;
}

.right-content {
    right: 10%;
    text-align: left;
}

h1 {
    font-size: 1.9rem;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

p {
    font-size: 1.2rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    }

.left-content .btn {
    background-color: var(--white);
    color: var(--primary-blue);
}

    .left-content .btn:hover {
        background-color: var(--light-blue);
    }

.right-content .btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

    .right-content .btn:hover {
        background-color: var(--white);
        color: var(--primary-blue);
    }

.map-point {
    position: absolute;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 5;
    cursor: pointer;
}

    .map-point.visible {
        opacity: 1;
    }

    .map-point i {
        font-size: 1.5rem;
        transition: transform 0.3s ease, color 0.3s ease;
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    }

    .map-point .point-info {
        position: absolute;
        bottom: 150%;
        right: 50%;
        transform: translateX(50%);
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px) saturate(180%);
        -webkit-backdrop-filter: blur(8px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: var(--white);
        padding: 8px 15px;
        border-radius: 12px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    }

        .map-point .point-info.show {
            opacity: 1;
            visibility: visible;
            transform: translateX(50%) translateY(-10px);
        }

.cloud {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 4;
}

    .cloud.visible {
        opacity: 1;
    }

.cloud-img {
    width: 250px;
    height: auto;
}

    .cloud-img.large {
        width: 350px;
    }

@keyframes cloud-move-1 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes cloud-move-2 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.cloud-1.visible {
    animation: cloud-move-1 5s infinite ease-in-out;
}

.cloud-2.visible {
    animation: cloud-move-2 6s infinite ease-in-out;
}

.bottom-image {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

    .bottom-image.visible {
        opacity: 1;
    }

.services-section {
    background-color: var(--light-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 350px 0;
    gap: 0px;
}

.services-header-text {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-90deg) translateX(50%);
    transform-origin: top right;
    padding: 10px;
    font-size: 2rem;
    color: var(--primary-blue);
    white-space: nowrap;
}

.services-section h2, .services-section .para_service {
    display: none;
}

.services-side-image {
    position: absolute;
    top: 42%;
    right: 0;
    width: 412px;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: all 1s ease-out;
    z-index: 5;
}

    .services-side-image.visible {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

@keyframes float-side-image {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.services-side-image.visible {
    animation: float-side-image 4s ease-in-out infinite;
}

.service-windows {
    display: flex;
    gap: 80px;
    margin-top: 92px;
}

.window-container {
    width: 260px;
    height: 380px;
    position: relative;
    border-radius: 50% / 35%;
    background-color: #5d6776;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6), inset 0 0 0 6px #b0c4de, inset 0 0 0 10px rgba(255, 255, 255, 0.2), 0 8px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: transform 0.5s ease;
}

    .window-container:hover {
        transform: translateY(-12px);
    }

    .window-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50% / 35%;
        transition: transform 0.5s ease;
    }

    .window-container:hover img {
        transform: scale(1.07);
    }

.window-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    z-index: 2;
}

    .window-info h3 {
        color: var(--white);
        font-size: 24px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
        margin-bottom: 30px;
    }

    .window-info p {
        font-size: 1rem;
        color: var(--white);
        margin-top: 10px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease;
    }

.window-container:hover .window-info p {
    opacity: 1;
    visibility: visible;
}

.window-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 1;
    border-radius: 50% / 35%;
}

.window-container:hover .window-cover {
    transform: translateY(0);
}

/* New Tour Carousel Section */
/* استایل برای بخش کروسل جدید */
.tour-carousel-section {
    padding: 100px 20px;
    direction: rtl;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    transition: background-color 0.8s ease-in-out; /* اضافه شده برای انتقال رنگ نرم */
}

.carousel-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 30px;
    max-width: 1300px;
    width: 100%;
}

.carousel-card-main {
    flex-grow: 1;
    display: flex;
    height: 550px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    overflow: hidden;
    position: relative;
    color: var(--white);
    transition: all 0.5s ease-in-out;
}

.card-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: brightness(0.9);
}

    .card-img.active {
        opacity: 1;
    }

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
}

.card-content-wrapper {
    z-index: 10;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 70%;
}

.card-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    transition: opacity 0.5s ease;
}

.card-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    transition: opacity 0.5s ease;
}

.card-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    transition: opacity 0.5s ease;
}

.stat-item {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    white-space: pre-line;
}

.buy-now-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    width: fit-content;
}

    .buy-now-btn:hover {
        background: rgba(255, 255, 255, 0.4);
        transform: translateY(-3px);
    }

.carousel-navigation {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-item {
    cursor: pointer;
    position: relative;
    width: 180px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.nav-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.5s ease-in-out;
}

.nav-item.active .nav-overlay {
    background: rgba(0, 0, 0, 0);
}

.nav-title {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: var(--white);
    font-size: 1rem;
    z-index: 5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.5s ease-in-out;
    opacity: 1;
}

.nav-item.active .nav-title {
    opacity: 0;
}

.nav-item:hover {
    transform: scale(1.05);
}

.nav-item:not(.active) .nav-img-wrapper img {
    filter: grayscale(100%) brightness(0.6);
}

.nav-item:not(.active):hover .nav-img-wrapper img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}
/* Style based on the user's second example */

/* --- Main Section Styles --- */
.articles-section {
    background-color: var(--light-blue);
    background-size: cover;
    background-position: center;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    transition: background-image 0.5s ease;
}

    .articles-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0);
        transition: background-color 0.5s ease;
        z-index: 1;
    }

    .articles-section.image-active::before {
        background-color: rgba(0, 0, 0, 0.4);
    }

    .articles-section h2, .articles-container {
        z-index: 2;
    }

    .articles-section h2 {
        font-size: 1.5rem;
        color: var(--primary-blue);
        margin-bottom: 20px;
        text-align: right;
        width: 100%;
        max-width: 1200px;
        padding-top: 30px;
    }

/* --- Articles Container --- */
.articles-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    height: 500px;
}

/* --- Main Article Card --- */
.article-card-main {
    flex-grow: 2;
    max-width: 700px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .article-card-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.card-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: #000000d9;
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: right;
}

    .card-content-overlay h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .card-content-overlay p {
        font-size: 0.9rem;
        opacity: 0.8;
    }

/* --- Thumbnail Cards --- */
.article-card {
    width: 100px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

    .article-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: all 0.5s ease;
    }

.article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    text-align: right;
    color: var(--white);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .article-content h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .article-content p {
        font-size: 0.8rem;
        line-height: 1.5;
        opacity: 0.8;
    }

/* Hover effect on thumbnail cards */
.article-card:hover {
    width: 250px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

    .article-card:hover .article-content {
        opacity: 1;
        visibility: visible;
    }

@media (max-width: 768px) {
    .articles-container {
        flex-direction: column;
        align-items: center;
    }

    .article-card {
        width: 100%;
        max-width: 400px;
    }
}
/* --- Contact Section Styles --- */
.contact-section {
    background-color: var(--light-blue);
    padding: 100px 20px 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 100px;
}

.contact-form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

    .contact-form-container h2 {
        font-size: 2.5rem;
        color: var(--primary-blue);
        margin-bottom: 20px;
    }

    .contact-form-container p {
        font-size: 1rem;
        color: var(--secondary-blue);
        line-height: 1.6;
        margin-bottom: 30px;
    }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
    width: 100%;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
        border: 2px solid #ddd;
        border-radius: 10px;
        background-color: #f9f9f9;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 4px rgba(14, 42, 71, 0.1);
        }

    .form-group label {
        position: absolute;
        top: 15px;
        right: 20px;
        color: #999;
        pointer-events: none;
        transition: all 0.3s ease;
        background-color: #f9f9f9;
        padding: 0 5px;
    }

    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:focus + label,
    .form-group textarea:not(:placeholder-shown) + label {
        top: -10px;
        right: 15px;
        font-size: 0.8rem;
        color: var(--primary-blue);
    }

.submit-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--white);
    background-color: var(--primary-blue);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(229, 76, 60, 0.2);
}

    .submit-btn:hover {
        background-color: #d64436;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(229, 76, 60, 0.3);
    }

.contact-info-container {
    flex: 1;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .contact-info-container::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 150px;
        height: 150px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        animation: pulse 4s infinite ease-in-out;
    }

    .contact-info-container::after {
        content: '';
        position: absolute;
        bottom: -30px;
        left: -30px;
        width: 100px;
        height: 100px;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        animation: pulse 4s infinite ease-in-out reverse;
    }

    .contact-info-container h3 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.5;
}

    .contact-info-item i {
        font-size: 1.5rem;
        color: var(--yellow-btn);
    }

/* --- Footer Styles --- */
.footer-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-nav a {
        color: var(--white);
        text-decoration: none;
        font-size: 1rem;
        opacity: 0.8;
        transition: opacity 0.3s ease, color 0.3s ease;
    }

        .footer-nav a:hover {
            opacity: 1;
            color: var(--yellow-btn);
        }

.social-icons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    color: var(--white);
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .social-icon:hover {
        color: var(--yellow-btn);
        transform: scale(1.2);
    }

.footer-text {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- Keyframes Animations --- */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info-container {
        margin-top: 30px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
}

.new-boxes-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
    width: 100%;
}

.side-by-side-box {
    width: 450px; /* Adjust width as needed */
    height: 180px; /* Adjust height as needed */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease;
    display: flex; /* Makes content side-by-side */
    align-items: center; /* Centers items vertically */
    padding: 15px;
    direction: rtl; /* Ensures content flows from right to left */
}

    .side-by-side-box:hover {
        transform: translateY(-10px);
    }

.image-container {
    width: 40%;
    height: 80%;
    border-radius: 15px;
    overflow: hidden;
    margin-left: 20px;
}

    .image-container img {
        width: 80%;
        height: 100%;
        border-radius: 15px;
        overflow: hidden;
        margin-left: 20px;
        padding: 5px;
    }

.side-by-side-box:hover .image-container img {
    transform: scale(1.05);
}

.content-container {
    width: 60%;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

    .content-container h3 {
        font-size: 1.5rem;
        color: var(--primary-blue);
        margin-bottom: 5px;
    }

    .content-container p {
        font-size: 0.9rem;
        color: var(--secondary-blue);
        line-height: 1.5;
        margin-bottom: 10px;
    }

.btn-box {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    align-self: flex-end; /* Align the button to the right */
}

    .btn-box:hover {
        background-color: var(--secondary-blue);
    }

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .new-boxes-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .side-by-side-box {
        width: 90vw;
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    .image-container {
        width: 100%;
        height: 150px;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .content-container {
        width: 100%;
        text-align: center;
    }

    .btn-box {
        align-self: center;
    }
}

.box-content {
    padding: 20px;
    text-align: center;
    color: var(--primary-blue);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 40%;
}

    .box-content h3 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .box-content p {
        font-size: 1.1rem;
        color: var(--secondary-blue);
        line-height: 1.5;
        margin-bottom: 20px;
    }

.btn-box {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .btn-box:hover {
        background-color: var(--secondary-blue);
    }

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .new-boxes-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .new-box {
        width: 80vw;
        height: 100vw;
    }
}

@media (max-width: 1024px) {
    .navbar {
        width: 90%;
    }

    .carousel-content {
        flex-direction: column;
        text-align: center;
    }

    .carousel-image-container, .carousel-text-container {
        width: 90%;
    }

    .carousel-image-container {
        height: 300px;
    }

    .hot-air-balloons {
        background-size: contain;
        width: 90%;
    }

    .articles-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 90%;
        padding: 10px 15px;
    }

    .navbar-menu {
        display: none;
    }

    .navigation {
        display: none;
    }

    .content {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .left-content, .right-content {
        left: 50%;
        right: auto;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .services-section .para_service {
        margin: -25px 20px 0px 20px;
    }

    .services-side-image {
        display: none;
    }

    .service-windows {
        flex-direction: column;
        gap: 30px;
    }

    .window-container {
        width: 80vw;
        height: 120vw;
    }

    .bottom-image {
        width: 100%;
    }

    .hot-air-balloons {
        background-size: contain;
        width: 90%;
    }

    .footer-logo {
        font-size: 1.5rem;
    }
}
/* ---------------------------------------------- */
/* --- کدهای جامع ریسپانسیوسازی برای موبایل --- */
/* ========================================================================== */
/* ---  کد نهایی و کامل ریسپانسیوسازی برای موبایل (با تمام اصلاحات جدید)  --- */
/* ========================================================================== */

@media (max-width: 768px) {

    /* --- ۱. تنظیمات عمومی و کلی --- */
    /* حل مشکل اسکرول افقی */
    body, html, .scroll-container {
        overflow-x: hidden;
    }

    .scroll-container {
        scroll-snap-type: none; /* غیرفعال کردن اسکرول مرحله‌ای */
    }

    .section {
        height: auto;
        min-height: 100vh;
        padding: 80px 15px 50px 15px;
    }

    /* --- ۲. منوی ناوبری (Navbar) --- */
    .navbar {
        width: 90%;
        padding: 10px 20px;
        top: 15px;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-logo {
        font-size: 1.2rem;
    }

    /* --- ۳. بخش اول (Hero Section) --- */
    .hero-section {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 15vh;
        padding-bottom: 0;
        height: auto;
        min-height: 100vh;
    }

    .background-layer {
        background-attachment: fixed;
    }

    .content {
        position: static;
        transform: none;
        width: 95%;
        text-align: center;
        opacity: 1;
        filter: none;
        margin-bottom: auto; /* متن را به بالا هل می‌دهد و فضا برای تصاویر باز می‌کند */
        z-index: 10;
    }

    .left-content {
        display: none;
    }

    .right-content {
        display: flex;
        gap: 5px;
    }

    /* فونت کمی کوچکتر برای خوانایی بهتر */
    .hero-section h1 {
        font-size: 1.9rem;
        line-height: 1.4;
    }

    .hero-section p {
        font-size: 1rem;
    }

    /* موقعیت‌دهی جدید ابرها (پایین‌تر) و فعال‌سازی انیمیشن */
    .cloud, .map-point {
        display: block;
        opacity: 1;
        z-index: 5;
    }

    .cloud-1 {
        top: 40%;
        left: 5%;
        transform: scale(0.7);
    }

    .cloud-2 {
        top: 70%;
        right: 5%;
        transform: scale(0.9);
    }

    .cloud-1.visible {
        animation: cloud-move-1 5s infinite ease-in-out;
    }

    .cloud-2.visible {
        animation: cloud-move-2 6s infinite ease-in-out;
    }

    .map-point {
        display: none;
    }
    /* نقاط نقشه برای خلوت شدن صفحه مخفی شد */

    /* موقعیت‌دهی و انیمیشن هواپیما و بناها */
    .airplane-container {
        position: relative; /* در جریان عادی صفحه قرار می‌گیرد */
        order: 2; /* بعد از متن نمایش داده می‌شود */
        width: 100%;
        height: 45vh; /* ارتفاع مشخص برای بخش بصری */
        top: auto;
        left: auto;
        transform: none;
        z-index: 8;
        animation: none; /* انیمیشن اصلی غیرفعال */
    }

    .airplane-img {
        width: 100%;
        max-width: 400px; /* جلوگیری از بزرگ شدن بیش از حد */
        position: absolute;
        bottom: 15vh; /* فاصله از پایین */
        left: 50%;
        transform: translateX(-50%);
        animation: mobile-fade-in-up 2s forwards ease-out; /* انیمیشن جدید برای موبایل */
    }

    .bottom-image {
        position: relative;
        order: 3; /* در انتهای صفحه */
        width: 100%;
        margin-top: -30vh; /* ایجاد همپوشانی زیبا با هواپیما */
        transform: none;
        left: 0;
        bottom: 0;
        opacity: 0; /* برای انیمیشن ورود */
        z-index: 6;
        animation: mobile-fade-in-up 2s 0.5s forwards ease-out; /* انیمیشن با تاخیر */
    }

    /* تعریف کی‌فریم جدید مخصوص موبایل */
    @keyframes mobile-fade-in-up {
        from {
            opacity: 0;
            transform: translate(-50%, 40px);
        }

        to {
            opacity: 1;
            transform: translate(-50%, 0);
        }
    }
    /* کی‌فریم برای بناها که transform متفاوتی دارد */
    @keyframes mobile-fade-in-up {
        from {
            opacity: 0;
            transform: translateY(40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    /* --- ۴. بخش خدمات (Services Section) --- */
    .services-section {
        gap: 30px;
    }

    .services-header-text, .services-side-image {
        display: none;
    }

    .services-section h2, .services-section .para_service {
        display: block;
        text-align: center;
        color: var(--primary-blue);
        width: 90%;
        margin: 0 auto 20px auto;
    }

    .services-section h2 {
        font-size: 1.8rem;
    }

    .services-section .para_service {
        font-size: 1rem;
        color: var(--secondary-blue);
    }

    .service-windows {
        flex-direction: column;
        gap: 30px; /* کاهش فاصله بین پنجره‌ها */
        margin-top: 20px;
    }

    /* ۱. کاهش ارتفاع پنجره‌های بیضی شکل */
    .window-container {
        width: 70vw; /* کمی باریک‌تر برای تناسب بهتر */
        height: 85vw; /* کاهش ارتفاع قابل توجه */
        max-width: 280px;
        max-height: 340px;
    }

    .new-boxes-container {
        flex-direction: column;
        gap: 25px;
        align-items: center;
        margin-top: 40px;
    }

    /* ۲. زیباسازی دو باکس پایینی (مشاوره و بررسی اصالت) */
    .side-by-side-box {
        width: 90vw;
        max-width: 400px;
        height: auto;
        flex-direction: column;
        padding: 30px 25px; /* پدینگ بیشتر برای فضای داخلی بهتر */
        text-align: center;
        gap: 15px; /* ایجاد فاصله بین آیکن، متن و دکمه */
        border-radius: 25px; /* گردی بیشتر لبه‌ها */
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* سایه واضح‌تر و زیباتر */
        background: rgba(255, 255, 255, 0.5); /* کمی شفاف‌تر کردن پس‌زمینه برای جلوه بهتر */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.2); /* حاشیه شیشه‌ای */
    }

    .image-container {
        width: 100%;
        height: 70px; /* کاهش ارتفاع جایگاه آیکن */
        margin-bottom: 10px;
    }

        .image-container img {
            height: 100%; /* ارتفاع آیکن به اندازه کانتینر */
            width: auto; /* عرض خودکار برای حفظ نسبت */
        }

    .content-container h3 {
        font-size: 1.5rem; /* بهینه‌سازی اندازه عنوان */
        color: var(--primary-blue);
        margin-bottom: 8px;
    }

    .content-container p {
        font-size: 0.9rem; /* بهینه‌سازی اندازه متن توضیحات */
        color: var(--secondary-blue);
        line-height: 1.6;
    }

    .btn-box {
        align-self: stretch; /* دکمه تمام عرض باکس را پر کند */
        padding: 14px 20px; /* پدینگ داخلی دکمه برای بزرگتر شدن */
        font-size: 1rem;
        font-weight: 700;
        margin-top: 15px; /* فاصله بیشتر از بالا */
        box-shadow: 0 4px 15px rgba(14, 42, 71, 0.2);
        transition: all 0.3s ease;
    }

        .btn-box:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(14, 42, 71, 0.3);
        }



    /* --- ۵. بخش کروسل ویزا (Tour Carousel Section) --- */
    .tour-carousel-section {
        padding: 60px 10px;
    }

    .carousel-container {
        flex-direction: column;
        gap: 20px;
    }

    .carousel-card-main {
        height: auto;
        min-height: 480px;
        width: 100%;
    }

    .card-content-wrapper {
        padding: 25px;
        width: 100%;
        justify-content: flex-end;
    }

    .card-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    }

    .card-title {
        font-size: 2.2rem;
    }

    .card-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .card-stats {
        gap: 20px;
        margin-bottom: 25px;
    }

    .carousel-navigation {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-item {
        width: 100px;
        height: 70px;
    }

    .nav-title {
        font-size: 0.8rem;
        right: 10px;
        bottom: 5px;
    }


    /* --- ۶. بخش مقالات (Articles Section) --- */
    .articles-section h2 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .articles-container {
        flex-direction: column;
        height: auto;
        gap: 20px;
        width: 100%;
    }

    .article-card-main {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }

    .article-card {
        width: 100%;
        max-width: 400px;
        height: 250px;
        border-radius: 20px;
        cursor: default;
    }
        /* --- استایل کارت کوچک در حالت باز شده (با کلیک) --- */
        .article-card.expanded {
            width: 250px;
            border-radius: 20px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            transform: translateY(-5px);
        }

            .article-card.expanded .article-content {
                opacity: 1;
                visibility: visible;
            }

    .article-content {
        opacity: 1;
        visibility: visible;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    }


    /* --- ۷. بخش تماس با ما (Contact Section) --- */
    .contact-container {
        flex-direction: column;
        padding: 20px;
        margin-top: 0;
    }

    .contact-form-container h2 {
        font-size: 2rem;
        text-align: center;
    }

    .contact-form-container p {
        text-align: center;
    }

    .contact-info-container {
        margin-top: 30px;
        text-align: center;
    }

    .contact-info-item {
        text-align: right;
    }


    /* --- ۸. فوتر (Footer) --- */
    .footer-section {
        padding: 40px 20px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}
