.img-logo{
    margin-top: 60px;
    height: 50%;
    width: 20%;
}

.slider-container {
    width: 90%;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #1e1e1e;
}

/* glilery item */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* چهار ستون در کامپیوتر */
    gap: 10px; /* فاصله بین آیتم‌ها */
    padding: 95px;
    margin-top: -80px;
}
.item {
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}
.item img {
    max-width: 100%;
    border-radius: 10px;
    width: 500px;
    height: 500px;
}
.item h3 {
    margin: 10px 0;
    font-size: 1.2em;
}
.item p {
    color: #555;
}
/* end */

.program-p {
    margin-top: -3%;
}

.phone-number {
    display: none;
}

.logo-menu {
    margin-left: -300px;
    height: 100%;
    margin-top: 0px;
    width: 10%;
}

.phone-container {
    display: flex; /* برای قرار دادن آیکون و شماره کنار هم */
    align-items: center; /* تراز عمودی */
    padding: 10px 15px; /* فاصله داخلی */
    background-color: #333; /* رنگ پس‌زمینه تیره */
    border-radius: 8px; /* گرد کردن گوشه‌ها */
    color: #fff; /* رنگ متن */
    font-size: 16px; /* اندازه فونت */
    margin-left: -100px;
}

.phone-icon {
    margin-left: 5px; /* فاصله بین آیکون و شماره */
}

.contact-info {
    font-family: Arial, sans-serif;
    margin: 20px;
    font-size: 16px;
    text-align: left; /* چپ‌چین کردن متن */
    margin-left: -75%;
    margin-top: -14%;
    font-size: 20px;
}

.contact-info2 {
    font-family: Arial, sans-serif;
    margin: 20px;
    font-size: 18px;
    margin-left: 75%;
    margin-top: -21%;
}

.contact-item2 {
    margin: 10px 0;
}

.contact-item2 i {
    margin-left: 10px;
    color: #007bff;
}

.contact-item {
    margin: 10px 0;
}

.contact-item i {
    margin-left: 10px;
    color: #007bff;
}

.scroll-container {
    background-color: #1e1e1e;
    overflow-x: auto; /* اجازه اسکرول افقی */
    white-space: nowrap;
    padding: 10px;
    margin: 21px;
    border-radius: 15px;
    display: flex; /* نمایش افقی */
    scroll-behavior: smooth; /* اسکرول نرم */
}
.scroll-container img {
    padding: 10px;
    max-width: 200%; /* برای اندازه‌گیری */
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 30px;
    cursor: grab; /* تغییر نشانگر ماوس */
}
.scroll-container img:active {
    cursor: grabbing; /* تغییر نشانگر ماوس هنگام کشیدن */
}
.scroll-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.scroll-container::-webkit-scrollbar {
    height: 10px; /* ارتفاع نوار اسکرول */
}
.scroll-container::-webkit-scrollbar-thumb {
    background: #252b30; /* رنگ نوار اسکرول */
    border-radius: 10px;
}
.scroll-container::-webkit-scrollbar-thumb:hover {
    background: #252b30; /* رنگ نوار اسکرول هنگام هاور */
}

.photo-school {
    width: 500px;
    height: 500px;
}

.services-container {
    display: flex;
    justify-content: space-between; /* توزیع کارت‌ها */
    max-width: 1200px;
    margin: auto;
    direction: ltr;
}
.service-card {
    background-color: #2b2a2a;
    /**border: 1px solid #e0e0e0; /* حاشیه */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin: 10px;
    text-align: right; /* راست‌چین کردن متن */
    position: relative;
    display: flex;
    align-items: center; /* تراز کردن آیکون و متن */
    transition: transform 0.3s;
    direction: ltr;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.service-icon {
    font-size: 42px; /* اندازه آیکون */
    color: #007bff;
    margin-left: 15px; /* فاصله از متن */
}
.service-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0; /* حذف حاشیه */
}
.service-description {
    color: #666;
    font-size: 14px;
    margin: 5px 0 0 0; /* فاصله بالا و پایین */
}

.amozesh-v {
    margin-top: 25px;
}

@media (max-width: 768px) {
.img-logo{
    height: 45%;
    width: 80%;
    margin-top: 75px;
}
.slider-container {
    width: 80%;
}
.gallery {
    grid-template-columns: repeat(2, 1fr); /* دو ستون در تبلت و گوشی */
}
.amozesh-v {
    margin-top: 10%;
}
.program-p {
    margin-top: -3%;
}
.item img {
    width: 300px;
    height: 200px;
}
.logo-menu {
    display: none; /* پنهان کردن دکمه‌ها در کامپیوتر */
}
.services-container {
    flex-direction: column-reverse;
    margin-top: 30%;
}
.text-services {
    margin: auto;
}
.contact-info {
    font-family: Arial, sans-serif;
    margin: 20px;
    font-size: 16px;
    text-align: left; /* چپ‌چین کردن متن */
    margin-left: -12%;
    margin-top: 0%;
}
.contact-info2 {
    font-family: Arial, sans-serif;
    margin: 20px;
    font-size: 16px;
    margin-left: 5%;
}
}

@media (max-width: 480px) {
    .gallery {
        /*grid-template-columns: 1fr; /* یک ستون در گوشی‌های بسیار کوچک */
        padding: 20px;
        margin-top: 0px;
    }
}
@media (min-width: 768px) {
    .phone-number {
        display: block; /* پنهان کردن دکمه‌ها در کامپیوتر */
    }
}

@media (max-width: 768px) {
    .scroll-container {
        overflow: hidden; /* پنهان کردن نوار اسکرول */
    }
}