        /* استایل‌های پایه */
        body {
            background-color: #f8f9fa;
            color: #333;
            margin: 0;
            padding: 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        #about .section-header {
            background-color: #cd2122; /* رنگ قرمز */
            padding: 20px;
            border-radius: 10px;
            color: white;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        #about .section-header h3 {
            font-size: 2rem;
            margin-bottom: 15px;
        }
        .section-header {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            margin: 50px auto; /*居中*/
        }

        .section-header h3 {
            font-size: 2rem;
            font-weight: bold;
			padding-top: 4%;
        }

        .section-header p {
            margin: 0 auto;
        }

        .card {
            background-color: white;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        .card-img-top {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .card-body {
            padding: 20px;
            text-align: center;
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }

        .card-text {
            font-size: 1rem;
            color: #666;
            line-height: 1.6;
        }

        /* گالری تصاویر */
        .gallery-container {
            display: grid;
            grid-template-columns: repeat(7, 10fr); /* 7 ستون */
            gap: 10px; /* فاصله بین عکس‌ها */
            margin-top: 40px;
        }
		
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .gallery-item:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* پاپ‌آپ */
        .popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .popup.active {
            display: flex;
        }

        .popup img {
            max-width: 90%;
            max-height: 90%;
            border-radius: 10px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        }

        .popup .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 30px;
            color: #fff;
            cursor: pointer;
        }

        .popup .close-btn:hover {
            color: #ffcc00;
        }

        .popup .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 30px;
            color: #fff;
            cursor: pointer;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px;
            border-radius: 50%;
        }

        .popup .nav-btn.prev {
            left: 20px;
        }

        .popup .nav-btn.next {
            right: 20px;
        }

        .popup .nav-btn:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        /* رسپانسیو */
        @media (max-width: 1200px) {
            .gallery-container {
                grid-template-columns: repeat(5, 1fr); /* 5 ستون برای صفحه‌های کوچک‌تر */
            }
        }

        @media (max-width: 768px) {
            .gallery-container {
                grid-template-columns: repeat(3, 1fr); /* 3 ستون برای موبایل */
            }
        }

        @media (max-width: 480px) {
            .gallery-container {
                grid-template-columns: repeat(2, 1fr); /* 2 ستون برای موبایل‌های کوچک */
            }
        }

        /* چیدمان پنج ستونی با CSS Grid */
        .gallery-container {
            display: grid;
            grid-template-columns: repeat(6, 10fr); /* پنج ستون */
            gap: 15px; /* فاصله بین تصاویر */
            padding: 0 5px; /* padding برای فاصله از کناره‌ها */
        }

        /* استایل هر تصویر */
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px; /* گوشه‌های گرد */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* سایه */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .gallery-item:hover {
            transform: scale(1.05); /* بزرگ‌تر شدن تصویر هنگام هاور */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* سایه بیشتر */
        }

        .gallery-item img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* استایل اطلاعات تصویر */
        .gallery-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7); /* پس‌زمینه نیمه شفاف */
            color: #fff;
            padding: 10px;
            text-align: center;
            opacity: 0; /* مخفی کردن اطلاعات به طور پیش‌فرض */
            transition: opacity 0.3s ease;
        }

        .gallery-item:hover .gallery-info {
            opacity: 1; /* نمایش اطلاعات هنگام هاور */
        }

        .gallery-info h4 {
            margin: 0;
            font-size: 16px;
        }

        .gallery-info p {
            margin: 5px 0 0;
            font-size: 14px;
        }

        /* استایل دکمه‌ها */
        .gallery-links {
            margin-top: 10px;
        }

        .gallery-links a {
            color: #fff;
            font-size: 18px;
            margin: 0 5px;
            transition: color 0.3s ease;
        }

        .gallery-links a:hover {
            color: #ffcc00; /* تغییر رنگ هنگام هاور */
        }

        /* رسپانسیو برای موبایل و تبلت */
        @media (max-width: 1200px) {
            .gallery-container {
                grid-template-columns: repeat(4, 1fr); /* چهار ستون برای تبلت */
            }
        }

        @media (max-width: 992px) {
            .gallery-container {
                grid-template-columns: repeat(3, 1fr); /* سه ستون برای تبلت */
            }
        }

        @media (max-width: 768px) {
            .gallery-container {
                grid-template-columns: repeat(2, 1fr); /* دو ستون برای موبایل */
            }
        }

        @media (max-width: 480px) {
            .gallery-container {
                grid-template-columns: 1fr; /* یک ستون برای موبایل‌های کوچک */
            }
        }
		        /* محتوای متن */
        .carousel-content {
            text-align: right;
            color: #fff;
            max-width: 50%;
            animation: slideInRight 2s ease; /* افکت ورود متن */
        }

        /* عنوان اسلاید */
        .carousel-title {
            font-size: 1.5rem;
            margin-bottom: 10px;
            background-color: rgba(205, 33, 34, 0.7); /* حاشیه قرمز */
            padding: 10px;
            border-radius: 5px;
        }

        /* متن اسلاید */
        .carousel-text {
            background-color: rgba(0, 0, 0, 0.7); /* حاشیه مشکی */
            padding: 10px;
            border-radius: 5px;
            animation: slideInRight 3.5s ease; /* افکت ورود متن با تأخیر */
        }

        /* افکت ورود متن از راست */
        @keyframes slideInRight {
            from {
                transform: translateX(50%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
            .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* باعث می‌شود که محتوا در بین فضای خالی تقسیم شود */
    height: 100%; /* ارتفاع کارت‌ها را 100% می‌کند */
}

.card-body {
    flex: 1; /* این باعث می‌شود که بدنه کارت‌ها فضای موجود را پر کند */
}

.card-text {
    min-height: 100px; /* حداقل ارتفاع برای متون */
    display: flex; /* استفاده از flex برای مرکز قرار دادن متن */
    align-items: center; /* مرکز قرار دادن عمودی متن */
    text-align: justify; /* متن را به صورت justify تنظیم می‌کند */
    line-height: 2; /* فاصله بین خطوط */
    margin-bottom: 20px; /* فاصله زیرین */
}