  /* General Styles */
  body {
    margin: 0;
    font-family: Vazirmatn, sans-serif;
    background-color: #eaeaec;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ================= DESKTOP VERSION (DEFAULT) ================= */
/* Navigation Bar */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    transition: background-color 0.3s, box-shadow 0.3s;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav.scrolled ul li a {
    color: white;
}

nav .logo {
    display: flex;
    font-size: 24px;
    font-weight: bold;
    color: #e76410;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li a {
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: #e76410;
    color: white;
}

/* Center the navigation items */
.navbar-nav.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Right Buttons */
nav ul.right-buttons {
    gap: 10px;
}

nav ul.right-buttons li a {
    background-color: #e76410;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
}

nav ul.right-buttons li a:hover {
    background-color: #e76410;
}

/* Top Image */
.top-image {
    width: 100%;
    height: 930px;
   
    background-position: center;
    background-size: 100% 100%;
    margin-top: 65px;
    position: relative;
}

/* Description Box on Top Image */
.description-box {
    position: relative;
    top: 220px;
    left: -1035px;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    max-width: 740px;
    text-align: right;
    width: 740px;
    height: 310px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.description-box.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.description-box h2 {
    font-size: 35px;
    color: #e76410;
    margin-bottom: 10px;
}

.description-box p {
    font-size: 20px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Second Description Box on Top Right */
.description-box-right {
    position: absolute;
    top: 35px;
    right: 50px;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    text-align: right;
    width: 400px;
    height: 200px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.description-box-right.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.description-box-right h2 {
    font-size: 35px;
    color: #e76410;
    margin-bottom: 10px;
}

.description-box-right p {
    font-size: 20px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.circle-logo {
    position: absolute;
    top: 142px;
    left: 50px;
    z-index: 3;
    width: 150px;
    height: 150px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.circle-logo.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.circle-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

/* Swiper Slider */
.swiper-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
    background-color: #333333;
    overflow: hidden;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 266px !important;
    height: 290px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    box-sizing: border-box;
}

.swiper-slide .card {
    text-align: center;
    padding: 20px;
    width: 100%;
}

.swiper-slide h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.swiper-slide p {
    font-size: 14px;
    color: #666;
}

.swiper-slide a {
    display: inline-block;
    margin-top: 10px;
    color: #007BFF;
    text-decoration: none;
}

/* Rating Stars */
.rating {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.rating .star {
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
    margin: 0 2px;
}

.rating .star::before {
    content: '★';
}

.rating[data-rating] .star {
    color: #ffcc00;
}

.rating[data-rating="20"] .star:nth-child(n+2) {
    color: #ccc;
}

.rating[data-rating="40"] .star:nth-child(n+3) {
    color: #ccc;
}

.rating[data-rating="60"] .star:nth-child(n+4) {
    color: #ccc;
}

.rating[data-rating="80"] .star:nth-child(n+5) {
    color: #ccc;
}

/* Custom Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

/* Three Boxes at Bottom */
.three-boxes {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    background-color: #333;
    color: white;
    padding: 20px 0;
}

.box {
    flex: 1;
    margin: 0 10px;
    padding: 20px;
    background-color: #444;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.box h3 {
    margin: 10px 0 5px;
}

.box p {
    margin: 5px 0;
    color: #ddd;
}

.box.icons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box.icons .icon {
    margin: 10px 0;
}

.box.icons .icon img {
    width: 50px;
    height: 50px;
}

.box.contact {
    text-align: right;
}

.box.contact .social-media {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.box.contact .social-media img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

/* License */
.license {
    text-align: center;
    margin: 0px 0;
    color: #555;
    background-color: #2e2e2e;
    padding: 20px;
}

.image-description-box {
    position: relative;
    width: 100%;
    height: 638px;
    overflow: hidden;
    margin: 20px 0;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    max-width: 400px;
    text-align: right;
}

.text-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.text-container p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Box Under Slider */
.company-info-box {
    width: 100%;
    background-color: #eaeaec;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.company-info-box h2 {
    font-size: 28px;
    color: #e76410;
    margin-bottom: 15px;
}

.company-info-box p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ================= MID-RANGE VERSION (991px - 1823px) ================= */
@media (min-width: 991px) and (max-width: 1823px) {
    /* Navigation Bar */
    nav {
        padding: 10px 20px;
    }
    
    nav .logo {
        font-size: 20px;
    }
    
    nav ul li a {
        padding: 8px 15px;
        font-size: 15px;
    }
    
    /* Top Image */
    .top-image {
        height: 600px;
    }
    
    /* Circle Logo */
    .circle-logo {
        top: 100px;
        left: 30px;
        width: 120px;
        height: 120px;
    }
    
    .circle-logo img {
        width: 80px;
        height: 80px;
    }
    
    /* Swiper Slider */
    .swiper-container {
        padding: 40px 0;
    }
    
    .swiper-slide {
        width: 220px !important;
        height: 260px;
    }
    
    /* Three Boxes */
    .three-boxes {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .box {
        flex: 1 1 30%;
        min-width: 300px;
        margin: 10px;
    }
    
    /* Description Boxes - Show in mid-range */
    .description-box, 
    .description-box-right {
        display: block;
        position: absolute;
        max-width: 500px;
        width: auto;
        padding: 15px;
    }
    
    .description-box {
        top: 150px;
        left: 30px;
        width: 500px;
        height: auto;
    }
    
    .description-box-right {
        top: 30px;
        right: 30px;
        width: 350px;
        height: auto;
    }
    
    .description-box h2,
    .description-box-right h2 {
        font-size: 28px;
    }
    
    .description-box p,
    .description-box-right p {
        font-size: 16px;
    }
    
    /* Company Info Box */
    .company-info-box {
        padding: 25px;
    }
    
    .company-info-box h2 {
        font-size: 24px;
    }
    
    .company-info-box p {
        font-size: 16px;
    }
}

/* ================= MOBILE VERSION ================= */
@media (max-width: 990px) {
    /* Navigation Bar */
    nav, .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.9);
        transition: background-color 0.3s, box-shadow 0.3s;
    }

    nav {
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    nav.scrolled, nav.scrolled .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    nav.scrolled ul li a {
        color: white !important;
    }

    nav .logo {
        display: flex;
        font-size: 18px;
        font-weight: bold;
        color: #e76410;
        align-items: center;
    }

    nav .logo img {
        width: 30px;
        margin-left: 5px;
    }

    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }

    nav ul li a {
        color: black;
        text-decoration: none;
        padding: 8px 12px;
        display: block;
        transition: color 0.3s, background-color 0.3s;
        border-radius: 5px;
        font-size: 14px;
    }

    nav ul li a:hover {
        background-color: #e76410;
        color: white;
    }

    /* Right Buttons */
    nav ul.right-buttons {
        gap: 5px;
    }

    nav ul.right-buttons li a {
        background-color: #e76410;
        color: white;
        border-radius: 5px;
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Top Image */
    .top-image {
        width: 100%;
        height: 300px;
        background-image: url(image.png);
        background-position: center;
        background-size: cover;
        margin-top: 60px;
        position: relative;
    }

    /* Hide desktop description boxes */
    .description-box, .description-box-right {
        display: none;
    }

    /* Circle Logo */
    .circle-logo {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 3;
        width: 80px;
        height: 80px;
        background-color: rgb(255, 255, 255);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 1s ease, transform 1s ease;
    }

    .circle-logo.fade-in {
        opacity: 1;
        transform: translateY(0);
    }

    .circle-logo img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    /* Improved Swiper Slider */
    .swiper-container {
        width: 100%;
        padding: 30px 0;
        background-color: #333333;
        overflow: hidden;
    }

    .swiper-wrapper {
        padding: 20px 0;
        align-items: center;
    }

    .swiper-slide {
        background: white;
        border-radius: 10px;
        padding: 15px;
        text-align: center;
        height: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, opacity 0.3s ease;
        width: 80% !important;
        max-width: 300px;
        margin: 0 10px;
    }

    .swiper-slide-active {
        transform: scale(1.05);
        z-index: 10;
        opacity: 1;
    }

    .swiper-slide h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .swiper-slide p {
        font-size: 12px;
        color: #666;
    }

    .swiper-slide a {
        display: inline-block;
        margin-top: 10px;
        padding: 5px 10px;
        background-color: #e76410;
        color: white;
        border-radius: 4px;
        text-decoration: none;
        font-size: 12px;
        transition: background-color 0.3s;
    }

    .swiper-slide a:hover {
        background-color: #c6530d;
    }

    /* Rating Stars - Show in mobile */
    .rating {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .rating .star {
        font-size: 16px;
        color: #ccc;
        margin: 0 1px;
    }

    .rating[data-rating] .star {
        color: #ffcc00;
    }

    /* Hide navigation arrows */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    /* Image Description Box */
    .image-description-box {
        position: relative;
        width: 100%;
        height: 250px;
        overflow: hidden;
        margin: 15px 0;
    }

    .background-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .text-container {
        position: absolute;
        bottom: 10px;
        right: 10px;
        z-index: 2;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 10px;
        border-radius: 8px;
        max-width: 90%;
        text-align: right;
    }

    .text-container h2 {
        font-size: 16px;
        margin-bottom: 5px;
        color: #333;
    }

    .text-container p {
        font-size: 12px;
        color: #666;
        line-height: 1.4;
        margin: 0;
    }

    /* Company Info Box */
    .company-info-box {
        width: 100%;
        background-color: #eaeaec;
        padding: 20px 15px;
        text-align: center;
        margin: 15px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .company-info-box h2 {
        font-size: 18px;
        color: #e76410;
        margin-bottom: 10px;
    }

    .company-info-box p {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
    }

    /* Three Boxes at Bottom */
    .three-boxes {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: auto;
        background-color: #333;
        color: white;
        padding: 15px 0;
    }

    .box {
        margin: 10px;
        padding: 15px;
        background-color: #444;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .box h3 {
        font-size: 16px;
        margin: 8px 0 5px;
    }

    .box p {
        font-size: 12px;
        color: #ddd;
        margin: 5px 0;
    }

    .box.icons {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 10px;
    }

    .box.icons .icon {
        margin: 5px;
    }

    .box.icons .icon img {
        width: 30px;
        height: 30px;
    }

    .box.contact {
        text-align: center;
    }

    .box iframe {
        height: 200px;
    }

    .box.contact .social-media {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 8px 0;
    }

    .box.contact .social-media img {
        width: 16px;
        height: 16px;
        margin-left: 8px;
    }

    /* License */
    .license {
        text-align: center;
        margin: 0;
        color: #555;
        background-color: #2e2e2e;
        padding: 15px;
        font-size: 12px;
    }

    /* Mobile Menu */
    .navbar-collapse {
        padding: 15px;
        border-radius: 5px;
        margin-top: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;
    }

    .right-buttons {
        flex-direction: row !important;
        justify-content: center;
        margin-top: 10px;
    }
}