



.lang-fa {
    /*font-family: IRANYekan, 'Tahoma', sans-serif; /* استفاده از فونت ایران‌یکان */
    direction: rtl;
    text-align: right;
}

/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #eaeaea;
    color: #333;
}
/* Header Styling */
header {
    background-color: #002d5b;
    padding: 4em 0 1em; /* افزایش پدینگ بالایی */
    color: white;
    position: relative; /* Required for absolute positioning of logo and Google Translate */
    height: 120px; /* تعیین ارتفاع هدر */
}

header .logo {
    position: absolute; /* تغییر موقعیت به absolute */
    top: 10px; /* فاصله از بالا */
    left: 20px; /* فاصله از چپ */
    font-size: 13px;
    font-weight: bold;
}

#google_translate_element {
    position: absolute; /* تنظیم موقعیت به صورت مطلق */
    top: 10px; /* فاصله از بالای صفحه */
    right: 10px; /* فاصله از سمت راست */
    z-index: 1000; /* اطمینان از اینکه در بالای سایر عناصر قرار گیرد */
}

nav {
    display: inline-block;
    float: right; /* Change to right for proper alignment */
}

nav ul {
    list-style: none;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

nav ul li {
    display: inline-block;
    margin-left: 100px; /* Adjust spacing between menu items */
    position: relative; /* Required for dropdown positioning */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

/* Dropdown styles */
.dropdown {
    display: none; /* Hide dropdowns by default */
    position: absolute; /* Position relative to parent */
    background: #003366; /* Darker blue background for dropdown */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Shadow for dropdown */
    z-index: 1000; /* Ensure it stays on top */
    min-width: 200px; /* Set a smaller minimum width for dropdown */
    max-height: 800px; /* Set maximum height for dropdown */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 2px 0; /* Add some padding for better spacing */
    font-family: 'Roboto', sans-serif; /* Specify the font for the dropdown */
    color: white; /* Text color for dropdown items */
    font-size: 14px; /* Set font size for dropdown items */
    top: 100%; /* Position dropdown below the parent menu item */
    left: 0; /* Align dropdown to the left */
}

/* Show dropdown on hover */
nav ul li:hover .dropdown {
    display: block; /* Show dropdown on hover */
}

/* Dropdown item styles */
.dropdown li {
    display: block; /* Stack dropdown items vertically */
    margin: 0; /* Remove margin for dropdown items */
    padding: 5px 0; /* Add padding to dropdown items for spacing */
}

/* Style dropdown item links */
.dropdown li a {
    color: white; /* Text color for dropdown items */
    text-decoration: none; /* Remove underline from links */
    display: block; /* Ensure they take full width */
    font-family: 'Roboto', sans-serif; /* Specify the font for dropdown items */
    font-size: 14px; /* Set font size for dropdown item links */
}

/* Add hover effect for dropdown items */
.dropdown li a:hover {
    background-color: #005580; /* Background color on hover for dropdown items */
    font-weight: bold; /* Make font bold on hover */
}


/* Hero Section */
.hero {
    background-image: url('background.webp');
    background-size: cover;
    background-position: center;
    height: 120vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: moveBackground 30s linear infinite; /* Background movement */
}

/* Adding a semi-transparent layer on top of the background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black layer */
    z-index: 1;
}

/* Ensuring the content is above the background overlay */
.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes moveBackground {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); /* Adding text shadow */
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); /* Adding text shadow */
}

.cta-button {
    background-color: #ff6600;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2; /* Make sure the button is above the overlay */
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Us Section */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
}

.about-image {
    flex-basis: 40%;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-text-box {
    flex-basis: 55%;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text-box h4 {
    margin-top: 20px;
}

.about-text-box p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 50px 0;
    background-color: white;
    text-align: center;
}

.services h3 {
    margin-bottom: 30px;
    font-size: 36px;
}

.service-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service {
    flex-basis: 30%;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.3s ease;
    margin-bottom: 20px; /* Add margin for spacing */
}

.service h4 {
    margin-bottom: 15px;
    font-size: 24px;
}

.service p {
    font-size: 18px;
}

.service img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: scale(1.05); /* 5% increase in size */
}

.service:hover h4,
.service:hover p {
    transform: scale(1.05); /* 5% increase in text size */
}

.service:hover img {
    transform: scale(1.05); /* 5% increase in image size */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

/* Products Section */
.products {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.products h3 {
    margin-bottom: 30px;
    font-size: 36px;
    color: #003366;
}

.products .service-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.products .service {
    flex-basis: 30%;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.products .service:hover {
    transform: scale(1.05); /* 5% increase in size */
}

.products .service img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.products .service h4 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #ff6600;
}

.products .service p {
    font-size: 16px;
    color: #333;
}

/* Footer Section */
footer {
    background-color: #002d5b;
    padding: 20px 0;
    color: white;
    text-align: center;
}

footer ul {
    list-style: none;
    margin-top: 10px;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

/* Additional Styling for Background Movement */
.parallax {
    background-image: url('background.webp');
    height: 100vh;
    background-attachment: fixed; /* This creates the parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* Container Styling */
.container {
    max-width: 1750px; /* Set a maximum width for the container */
    margin: 0 auto; /* Center the container horizontally */
    padding: 0 20px; /* Add padding to the left and right of the container */
}

/* Body Styling */
body {
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Adding a border around the entire site */
body::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 10px solid #002d5b; /* Change color and size as needed */
    box-sizing: border-box;
    pointer-events: none; /* Ensure the border does not interfere with interactions */
    z-index: -1; /* Place the border behind the content */
}
.short-text {
    display: inline;
}

.full-text {
    display: none;
}

.read-more {
    color: #0066cc;
    cursor: pointer;
    text-decoration: underline;
}

.read-more {
    color: #0066cc;
    cursor: pointer;
    text-decoration: underline;
}

.read-more:hover {
    text-decoration: none;
}

.more-text {
    display: none; /* مخفی کردن متن به صورت پیش‌فرض */
}



..contact-us {
    background-color: #f8f8f8;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.contact-us h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

.contact-info p {
    margin: 10px 0;
}

.contact-info strong {
    color: #333;
}

.contact-info a {
    color: #007BFF;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}


/* English Version Styles (Default) */
.lang-en {
    display: block; /* Display English content by default */
    direction: ltr;
    text-align: left;
}

/* Persian Version Styles */
.lang-fa {
    display: none; /* Hide Persian content by default */
    direction: rtl; /* Right-to-left alignment for Persian */
    text-align: right;
    font-family:  Tahoma;
	font-size: 15px; /* تغییر اندازه فونت به 18 پیکسل */
    line-height: 1.6; /* تنظیم فاصله خطوط برای خوانایی بهتر */
}

/* Styling the About Us Section */
.about-us {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-image img {
    max-width: 95%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.about-text-box {
    flex: 1;
    padding: 20px;
}

/* Title Styles */
h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Paragraph and List Styles */
p, ul {
    margin-bottom: 20px;
    line-height: 1.6;
	font-size: 14px;
}

/* Unordered List Styles for English */
.lang-en ul {
    list-style-type: disc;
    padding-left: 20px;
	
}

/* Unordered List Styles for Persian */
.lang-fa ul {
    list-style-type: disc;
    padding-right: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
}

.logo-img {
    max-width: 65px; /* حداکثر عرض لوگو */
    height: auto; /* حفظ نسبت ابعاد */
}

/* تنظیمات اندازه لوگو */
.logo-text-en {
    font-size: 20px; /* اندازه فونت برای لوگوی انگلیسی */
    font-weight: bold; /* ضخامت فونت */
}

.logo-text-fa {
    font-size: 15px; /* اندازه فونت برای لوگوی فارسی */
    font-weight: bold; /* ضخامت فونت */
    font-family: IRANSans, Tahoma, Arial, 'sans-serif'; /* تنظیم فونت دلخواه */
    direction: rtl; /* تنظیم جهت راست به چپ */
    text-align: center; /* وسط‌چین کردن متن */
}

/* Sectors Section Styling */
.sectors {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.sector-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.sector-box {
    width: 400px; /* Match the width with your existing image sizes */
    padding: 20px;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sector-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sector-icon {
    display: block;
    margin-bottom: 15px;
}

.sector-icon img {
    width: 100%; /* Adjust image size to match others on your site */
    height: auto;
}

.sector-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}





/* Header styles */
header {
    position: fixed; /* برای ثابت نگه داشتن هدر */
    top: 0; /* فاصله از بالا */
    left: 0; /* فاصله از چپ */
    right: 0; /* فاصله از راست */
    z-index: 1000; /* اطمینان از اینکه در بالای سایر عناصر قرار گیرد */
    transition: transform 0.5s ease; /* انتقال نرم برای مخفی کردن */
}

/* Hidden header styles */
.hidden {
    transform: translateY(-100%); /* هدر را از دید خارج می‌کند */
}


}


/* Contact Us Section Styles */
.contact-us {
    background: #0a0e27; /* Deep navy blue background */
    padding: 40px 0; /* Top and bottom padding */
    color: #e0e0e0; /* Light grey text color */
    width: 100%; /* Ensure full width */
}

.contact-us h3 {
    font-size: 28px; /* Larger font size */
    margin-bottom: 20px; /* Space below the title */
    color: #f9a825; /* Golden yellow for section title */
    font-family: 'Arial', sans-serif; /* Set font */
    text-align: center; /* Center-align the title */
}

.contact-info {
    background: rgba(255, 255, 255, 0.08); /* Subtle semi-transparent white background */
    padding: 20px; /* Padding around the contact info */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Full width for the contact info box */
    max-width: 1900px; /* Limit max width to ensure it looks good on larger screens */
    margin: 0 auto; /* Center the contact info box */
}

.contact-info:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.contact-info p {
    margin: 10px 0; /* Space between contact details */
    font-size: 16px; /* Set font size */
    line-height: 1.6; /* Line height for readability */
    display: flex; /* Flexbox for icon alignment */
    align-items: center; /* Align icons with text */
    color: #f0f0f0; /* Light grey text color for better contrast */
}

.contact-info i {
    margin-right: 10px; /* Space between icon and text */
    color: #f9a825; /* Golden yellow for icons */
    font-size: 18px; /* Set icon size */
}

.contact-info a {
    color: #ffdd57; /* Bright yellow link color */
    text-decoration: none; /* Remove underline */
}

.contact-info a:hover {
    text-decoration: underline; /* Underline on hover */
}

.contact-info strong {
    color: #ffdd57; /* Bright yellow color for labels */
}



/* WhatsApp Chat Section */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    text-align: center; /* Center align the text */
    z-index: 1000; /* Above other elements */
}

.chat-text {
    background-color: #25D366; /* WhatsApp color */
    color: white;
    padding: 10px 15px; /* Increased padding for a better look */
    border-radius: 25px; /* More rounded corners */
    margin-bottom: 10px; /* Space between text and button */
    font-weight: bold; /* Make text bold */
    font-size: 16px; /* Slightly larger font size */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Shadow for a raised effect */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* WhatsApp Button */
.whatsapp-button {
    background-color: #25D366; /* WhatsApp color */
    color: white;
    border: none;
    border-radius: 50%; /* Circular button */
    padding: 15px; /* Inner spacing of the button */
    font-size: 30px; /* Increased font size for better visibility */
    cursor: pointer;
    display: flex; /* Align icon in center */
    align-items: center; /* Vertical alignment */
    justify-content: center; /* Center horizontally */
    width: 60px; /* Fixed width */
    height: 60px; /* Fixed height */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Shadow for the button */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    text-decoration: none; /* Remove underline from the link */
}

/* Animation on focus */
@keyframes pulse {
    0% {
        transform: scale(1);
        background-color: #25D366; /* Original color */
    }
    50% {
        transform: scale(1.3);
        background-color: #1DAF4B; /* Darker green color */
    }
    100% {
        transform: scale(1);
        background-color: #25D366; /* Return to original color */
    }
}

/* Apply animation */
.animate {
    animation: pulse 0.5s ease forwards;
}
.chat-lady {
    width: 150px; /* سایز تصویر */
    height: auto; /* نگه داشتن تناسب */
    border-radius: 30%; /* برای گرد کردن تصویر */
    margin-right: 10px; /* فاصله با متن چت */
}


.clients {
    width: 100%; /* عرض کل */
    background-color: #f9f9f9; /* رنگ پس‌زمینه (اختیاری) */
    padding: 20px 0; /* padding بالا و پایین */
}

.client-logos {
    overflow: hidden; /* مخفی کردن عناصر خارج از محدوده */
    position: relative; /* موقعیت نسبی برای جا به جایی */
    height: 150px; /* ارتفاع نوار لوگو */
    width: 100%; /* عرض نوار را 100% تنظیم کنید */
}

.logos-wrapper {
    display: flex; /* نمایش به صورت افقی */
    animation: scroll 30s linear infinite; /* انیمیشن برای اسکرول */
    position: absolute; /* موقعیت مطلق برای قرارگیری */
    left: 0; /* شروع از سمت چپ */
}

.logos-inner {
    display: flex; /* نمایش لوگوها به صورت افقی */
}

.client-item {
    display: flex; /* نمایش به صورت افقی */
    flex-direction: column; /* جهت عمودی برای نام و لوگو */
    align-items: center; /* مرکز چیدن */
    margin: 0 15px; /* فاصله بین لوگوها */
}

.client-logo {
    height: 80px; /* ارتفاع لوگو */
}

.client-item p {
    margin-top: 10px; /* فاصله بین لوگو و نام */
    font-size: 20px; /* اندازه متن */
    text-align: center; /* مرکز چیدن متن */
}

@keyframes scroll {
    0% {
        transform: translateX(50%); /* ورود از سمت راست */
    }
    100% {
        transform: translateX(-100%); /* خروج از سمت چپ */
    }
}
.clients h3 {
    font-size: 2em; /* اندازه فونت را بزرگتر کنید */
    text-align: center; /* متن را در وسط صفحه قرار دهید */
    margin-bottom: 20px; /* فاصله زیر عنوان */
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    /* Flexbox adjustments for small screens */
    .service-columns, .products .service-columns {
        flex-direction: column;
        align-items: center;
    }

    .service, .products .service {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    nav ul li {
        margin-left: 0; /* Adjust spacing for menu items on smaller screens */
    }

    .about-image, .about-text-box {
        flex-basis: 100%;
    }

    header {
        height: auto;
        padding: 2em 0;
    }

    .hero {
        height: 100vh;
    }

    .cta-button {
        padding: 8px 16px;
    }

    .sector-box {
        width: 100%; /* Full width on smaller screens */
    }
}

/* Additional overflow hidden to prevent horizontal scrolling */
body {
    overflow-x: hidden;
}
/* تنظیمات اصلی CSS */

/* Media Queries برای موبایل */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* تغییر اندازه متن برای موبایل */
    }
    .header {
        text-align: center; /* وسط‌چین کردن هدر */
    }
    .your-class {
        display: block; /* نمایش عناصر در حالت بلوک */
        width: 100%; /* تنظیم عرض به 100% */
    }
    img {
        max-width: 100%; /* تصاویر را به عرض 100% محدود کن */
        height: auto; /* حفظ نسبت تصویر */
    }
}
@media (max-width: 768px) {
    header {
        height: 80px; /* کاهش ارتفاع هدر */
        padding: 2em 0 1em; /* کاهش پدینگ بالا و پایین */
    }

    header .logo {
        top: 5px;
        left: 10px;
        font-size: 9px; /* کاهش سایز فونت لوگو */
    }

    header img.logo-img {
        max-width: 40px; /* کوچک کردن لوگو */
    }

    nav ul li {
        margin-left: 50px; /* کاهش فاصله بین آیتم‌های منو */
    }

    nav ul li a {
        font-size: 10px; /* کوچک کردن فونت لینک‌های منو */
    }

    /* استایل‌های خاص برای دراپ‌دان در موبایل */
    nav ul li ul.dropdown {
        width: 150px; /* عرض دراپ‌دان */
        font-size: 9px; /* کاهش سایز فونت آیتم‌های دراپ‌دان */
        max-height: 400px; /* حداکثر ارتفاع برای دراپ‌دان */
        overflow-y: auto; /* اضافه کردن اسکرول عمودی در صورت نیاز */
    }

    nav ul li ul.dropdown li {
        padding: 5px 10px; /* کاهش پدینگ آیتم‌های دراپ‌دان */
    }

    nav ul li ul.dropdown li a {
        font-size: 9px; /* کاهش فونت لینک‌های دراپ‌دان */
    }
}


@media (max-width: 768px) {
    .about-image img {
        max-width: 100%; /* اطمینان از اینکه عکس به صورت واکنش‌گرا کوچکتر می‌شود */
        height: auto;
    }
}
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 80px;
        background-color: #002d5b;
        width: 100%;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 20px;
        color: white;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    nav ul.active {
        display: flex;
    }
}
/* برای موبایل منو به صورت کشویی */
@media (max-width: 768px) {
    nav ul {
        display: none; /* منو در حالت عادی مخفی است */
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 80px;
        background-color: #002d5b;
        width: 100%;
    }

@media (max-width: 768px) {
    .hero .lang-en h2 {
        font-size: 18px; /* کوچک کردن اندازه عنوان */
        margin-bottom: 10px; /* کاهش فاصله پایین عنوان */
    }

    .hero .lang-en p {
        font-size: 14px; /* کوچک کردن اندازه پاراگراف‌ها */
        line-height: 1.4; /* تنظیم ارتفاع خط برای خوانایی بهتر */
        margin-bottom: 10px; /* کاهش فاصله پایین پاراگراف‌ها */
    }

    .hero .lang-en a.cta-button {
        font-size: 12px; /* کوچک کردن اندازه دکمه */
        padding: 8px 16px; /* کاهش پدینگ داخل دکمه */
    }
}

    nav ul.active {
        display: flex; /* وقتی کلاس active اضافه می‌شود، منو نمایش داده می‌شود */
    }

    .menu-toggle {
        display: block; /* دکمه همبرگری نمایش داده می‌شود */
        cursor: pointer;
        font-size: 24px;
        color: white;
        position: absolute;
        top: 20px;
        right: 20px;
    }
}
/* تنظیم هدر برای موبایل */
@media (max-width: 768px) {
    header .container {
        display: flex;
        justify-content: space-between; /* لوگو و منو را در دو طرف قرار می‌دهد */
        align-items: center;
    }

    .logo {
        position: relative; /* موقعیت لوگو */
        left: 0; /* جلوگیری از تداخل با دکمه همبرگری */
    }

    .menu-toggle {
        display: block; /* نمایش دکمه همبرگری در موبایل */
        cursor: pointer;
        font-size: 24px;
        color: white;
        position: relative; /* موقعیت نسبی برای تنظیم دکمه */
    }

    nav ul {
        display: none; /* مخفی کردن منو به صورت پیش‌فرض در موبایل */
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 80px;
        background-color: #002d5b;
        width: 100%;
    }

    nav ul.active {
        display: flex; /* نمایش منو هنگام کلیک روی دکمه همبرگری */
    }
}
/* مخفی کردن دکمه همبرگری در حالت دسکتاپ */
.menu-toggle {
    display: none;
}

/* نمایش دکمه همبرگری در موبایل */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* نمایش دکمه همبرگری در موبایل */
        cursor: pointer;
        font-size: 24px;
        color: white;
        position: absolute;
        top: 50px;
        right: 20px;
    }

    nav ul {
        display: none; /* مخفی کردن منو به صورت پیش‌فرض در موبایل */
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 80px;
        background-color: #002d5b;
        width: 100%;
    }

    nav ul.active {
        display: flex; /* نمایش منو هنگام کلیک روی دکمه همبرگری */
    }
}


/* WhatsApp chat styling for mobile screens */
@media (max-width: 768px) {
    .whatsapp-chat {
        transform: scale(0.8); /* Scale the whole chat component */
        transform-origin: bottom right; /* Adjust origin to maintain position */
    }

    .whatsapp-chat img {
        width: 60px; /* Maintain smaller image size */
        height: auto;
    }

    .chat-text {
        font-size: 14px; /* Reduce font size for mobile */
    }

    .whatsapp-button {
        font-size: 20px; /* Adjust button size */
    }
}





/* استایل بخش ویدیوها */
.video-section {
    padding: 60px 0;
    background-color: #eef2f5;
}

/* استایل برای عنوان */
.video-section h3 {
    font-size: 36px;
    color: #003366;
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    font-weight: bold;
}

/* باکس ویدیو */
.video-box {
    flex-basis: 45%; /* عرض هر باکس */
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-box video {
    width: 100%; /* ویدیو به عرض کامل باکس */
    height: auto;
    margin-bottom: 15px;
}

.video-box h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.video-box p {
    font-size: 16px;
    color: #666;
    text-align: left;
}

.video-box ul {
    text-align: left;
    margin-bottom: 10px;
}

.video-box:hover {
    transform: scale(1.05);
}

/* چیدمان فلکس‌باکس برای ویدیوها */
.video-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* تنظیمات برای نمایش در صفحه‌های کوچک‌تر */
@media (max-width: 768px) {
    .video-columns {
        flex-direction: column;
    }
    .video-box {
        flex-basis: 100%; /* هر باکس به صورت تمام عرض در موبایل */
    }
}
