/* تنظیمات کلی */
body {
    font-family: 'Vazir', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* هدر */
header {
    background: #333;
    color: #fff;
    padding: 20px 0;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}


.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero .btn {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* بخش خدمات */
.services {
    padding: 50px 0;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.service-list {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 30%;
}

.service-item i {
    font-size: 40px;
    margin-bottom: 20px;
    color: #007bff;
}


/* بخش نمونه کارها */
.portfolio {
    padding: 50px 0;
    text-align: center;
}

.portfolio h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.portfolio-item img {
    width: 100%;
    border-radius: 10px;
}

/* بخش تماس با ما */
.contact {
    padding: 50px 0;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.contact form input, .contact form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact form button {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* فوتر */
footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer .social-links {
    margin-top: 10px;
}

footer .social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
}

/* بخش معرفی */
.hero {
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: #fff;
    padding: 150px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero .btn {
    background: #ff6f61;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #ff4a3d;
}

/* انیمیشن‌ها */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero h1, .hero p, .hero .btn {
    animation: float 4s ease-in-out infinite;
}
.hero {
    background-image: url('img/img.webp'); /* مسیر تصویر */
    background-size: cover; /* تصویر کل بخش را بپوشاند */
    background-position: center; /* موقعیت اولیه */
    background-repeat: no-repeat; /* تصویر تکرار نشود */
    color: #fff; /* رنگ متن سفید برای خوانایی بهتر */
    padding: 100px 20px; /* فاصله داخلی */
    text-align: center; /* متن در وسط قرار بگیرد */
    position: relative; /* برای overlay */
    overflow: hidden; /* از بیرون زدن محتوا جلوگیری کند */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* لایه سیاه با شفافیت 50% */
    z-index: 1; /* لایه زیر متن قرار بگیرد */
}

.hero .container {
    position: relative;
    z-index: 2; /* متن بالای لایه قرار بگیرد */
}

.hero h1 {
    font-size: 2.5rem; /* استفاده از واحد rem برای اندازه‌های متن */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem; /* استفاده از واحد rem برای اندازه‌های متن */
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero .btn {
    background: #ff6f61;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem; /* استفاده از واحد rem برای اندازه‌های متن */
    font-weight: bold;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #ff4a3d;
}

/* رسپانسیو برای دستگاه‌های کوچک */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px; /* فاصله داخلی کمتر برای موبایل */
        margin:0px;
    }

    .hero h1 {
        font-size: 2rem; /* اندازه متن کوچک‌تر برای موبایل */
    }

    .hero p {
        font-size: 1rem; /* اندازه متن کوچک‌تر برای موبایل */
    }

    .hero .btn {
        padding: 10px 20px; /* اندازه دکمه کوچک‌تر برای موبایل */
        font-size: 0.9rem; /* اندازه متن دکمه کوچک‌تر برای موبایل */
    }
}
/* هدر */
header {
    background: #333;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100vw;
    max-width: 100%;
    top: 0;
    left:0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* لوگو */
header .logo {
    font-size: 24px;
    display: flex;
    align-items: center;
}


/* منو */
header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #007bff;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

header nav ul li a:hover {
    color: #007bff;
}

header nav ul li a:hover::after {
    width: 100%;
}

/* منو موبایل */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* استایل‌های موبایل */
@media (max-width: 768px) {
    header nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: #333;
        width: 100%;
        height: 100vh;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
    }

    header nav ul.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}



/* بخش نمونه کارها */
.portfolio {
    padding: 50px 0;
    text-align: center;
    background: #f9f9f9;
}

.portfolio h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.swiper-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    text-align: left;
}

.slide-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 16px;
    margin: 0;
}

/* دکمه‌های ناوبری */
.swiper-button-next, .swiper-button-prev {
    color: #007bff;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
}

/* پاگی‌شن */
.swiper-pagination-bullet {
    background: #007bff;
    opacity: 0.5;
    width: 12px;
    height: 12px;
    margin: 0 8px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}
/* بخش نظرات مشتریان */
.testimonials {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

.testimonials h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

/* بخش آمار */
.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
}

.stat-item .counter {
    font-size: 48px;
    font-weight: bold;
    color: #007bff;
    display: block;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    color: #666;
}

/* بخش نظرات */
.testimonial-list {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-item {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 30%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-content {
    text-align: center;
}

.testimonial-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.testimonial-content span {
    font-size: 14px;
    color: #007bff;
    font-weight: bold;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .testimonial-item {
        width: 100%;
    }
}

/* بخش درباره ما */
.about {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.about-text {
    max-width: 500px;
    text-align: right;
}

.about-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.about-text .btn {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.about-text .btn:hover {
    background: #0056b3;
}

.about-image {
    position: relative;
    max-width: 400px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-image .circle-animation {
    position: absolute;
    top: -20px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: 2px dashed #007bff;
    border-radius: 15px;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* رسپانسیو */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-image {
        max-width: 100%;
    }
}
.about-text p {
    color: #000; /* رنگ متن */
}
body {
    font-family: 'Vazir', sans-serif;
}
.about {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.about-text {
    max-width: 500px;
    text-align: right;
}

.about-text p {
    font-size: 18px;
    color: #555; /* رنگ متن */
    margin-bottom: 20px;
}

.about-text .btn {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.about-text .btn:hover {
    background: #0056b3;
}

.about-image {
    max-width: 400px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-image {
        max-width: 100%;
    }
}

/* بخش تماس با ما */
.contact {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.contact-content {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.contact-info, .contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 45%;
}

.contact-info h3, .contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #007bff;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.contact-info ul li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.contact-info ul li i {
    margin-left: 10px;
    color: #007bff;
}

.contact-info ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info ul li a:hover {
    color: #007bff;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: #007bff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0056b3;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
    height: 120px;
}

.contact-form button {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #0056b3;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-info, .contact-form {
        width: 100%;
    }
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* جلوگیری از خروج از کادر */
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.contact {
    width: 100%;
    overflow: hidden; /* جلوگیری از اسکرول افقی */
    padding: 0 10px; /* اضافه کردن پدینگ برای جلوگیری از چسبیدن به لبه */
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
}
/* بخش تماس با ما */
.contact {
    padding: 50px 20px; /* فاصله داخلی */
    background: #f9f9f9; /* رنگ پس‌زمینه */
    text-align: center; /* متن در وسط قرار بگیرد */
}

.contact-container {
    max-width: 1200px; /* حداکثر عرض */
    margin: 0 auto; /* وسط چین کردن */
    display: flex;
    flex-wrap: wrap; /* در صورت نیاز به خط بعدی برود */
    gap: 40px; /* فاصله بین بخش‌ها */
    justify-content: center; /* وسط چین کردن افقی */
}

.contact-info, .contact-form {
    flex: 1; /* هر بخش فضای برابر داشته باشد */
    min-width: 300px; /* حداقل عرض برای رسپانسیو */
    background: #fff; /* رنگ پس‌زمینه */
    padding: 20px; /* فاصله داخلی */
    border-radius: 10px; /* گوشه‌های گرد */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* سایه */
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* فاصله بین فیلدها */
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical; /* امکان تغییر ارتفاع */
    height: 120px; /* ارتفاع اولیه */
}

.contact-form button {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #0056b3;
}

/* رسپانسیو برای دستگاه‌های کوچک */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* چیدمان عمودی */
        gap: 20px; /* فاصله کمتر */
    }

    .contact-info, .contact-form {
        width: 100%; /* عرض کامل */
        min-width: unset; /* حداقل عرض غیرفعال */
    }
}
.contact-info, .contact-form {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-info.visible, .contact-form.visible {
    opacity: 1;
    transform: translateY(0);
}

/* بخش تماس با ما */
.contact-section {
    padding: 60px 20px; /* فاصله داخلی */
    background: #f9f9f9; /* رنگ پس‌زمینه */
    text-align: center; /* متن در وسط قرار بگیرد */
    overflow: hidden; /* از بیرون زدن محتوا جلوگیری کند */
}

.contact-wrapper {
    max-width: 1200px; /* حداکثر عرض */
    margin: 0 auto; /* وسط چین کردن */
    display: flex;
    flex-wrap: wrap; /* در صورت نیاز به خط بعدی برود */
    gap: 40px; /* فاصله بین بخش‌ها */
    justify-content: center; /* وسط چین کردن افقی */
}

.contact-details, .contact-form-wrapper {
    flex: 1; /* هر بخش فضای برابر داشته باشد */
    min-width: 300px; /* حداقل عرض برای رسپانسیو */
    background: #fff; /* رنگ پس‌زمینه */
    padding: 30px; /* فاصله داخلی */
    border-radius: 10px; /* گوشه‌های گرد */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* سایه */
}

.contact-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.contact-address, .contact-phone, .contact-email {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* فاصله بین فیلدها */
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%; /* عرض کامل */
}

.contact-form textarea {
    resize: vertical; /* امکان تغییر ارتفاع */
    height: 120px; /* ارتفاع اولیه */
}

.submit-button {
    background: #007bff;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #0056b3;
}

/* رسپانسیو برای دستگاه‌های کوچک */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column; /* چیدمان عمودی */
        gap: 20px; /* فاصله کمتر */
    }
.service-list{
        flex-direction: column; /* چیدمان عمودی */
        gap: 20px; /* فاصله کمتر */   
}
.service-item {
    width: 90%;
}
    .contact-details, .contact-form-wrapper {
        width: 80%; /* عرض کامل */
        min-width: unset; /* حداقل عرض غیرفعال */
    }
}


/* بخش معرفی */
.intro-section {
    background-image: url('img/img.webp'); /* مسیر تصویر */
    background-size: cover; /* تصویر کل بخش را بپوشاند */
    background-position: center; /* موقعیت اولیه */
    background-repeat: no-repeat; /* تصویر تکرار نشود */
    color: #fff; /* رنگ متن سفید برای خوانایی بهتر */
    padding: 120px 20px; /* فاصله داخلی */
    text-align: center; /* متن در وسط قرار بگیرد */
    position: relative; /* برای overlay */
    overflow: hidden; /* از بیرون زدن محتوا جلوگیری کند */
}
.intro-section h1, .intro-section p, .intro-section .btn {
    animation: float 4s ease-in-out infinite;
}
.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* لایه سیاه با شفافیت 50% */
    z-index: 1; /* لایه زیر متن قرار بگیرد */
}

.intro-container {
    position: relative;
    z-index: 2; /* متن بالای لایه قرار بگیرد */
    max-width: 800px; /* حداکثر عرض */
    margin: 0 auto; /* وسط چین کردن */
}

.intro-title {
    font-size: 2.5rem; /* استفاده از واحد rem برای اندازه‌های متن */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.intro-description {
    font-size: 1.25rem; /* استفاده از واحد rem برای اندازه‌های متن */
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.intro-button {
    background: #ff6f61;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem; /* استفاده از واحد rem برای اندازه‌های متن */
    font-weight: bold;
    transition: background 0.3s ease;
}

.intro-button:hover {
    background: #ff4a3d;
}

/* رسپانسیو برای دستگاه‌های کوچک */
@media (max-width: 768px) {
    .intro-section {
        padding: 80px 20px; /* فاصله داخلی کمتر برای موبایل */
    }

    .intro-title {
        font-size: 2rem; /* اندازه متن کوچک‌تر برای موبایل */
    }

    .intro-description {
        font-size: 1rem; /* اندازه متن کوچک‌تر برای موبایل */
    }

    .intro-button {
        padding: 10px 20px; /* اندازه دکمه کوچک‌تر برای موبایل */
        font-size: 0.9rem; /* اندازه متن دکمه کوچک‌تر برای موبایل */
    }
}


.intro-title, .intro-description, .intro-button {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-title.visible, .intro-description.visible, .intro-button.visible {
    opacity: 1;
    transform: translateY(0);
}
