@media only screen and (min-width: 0px) and (max-width: 640px) {
    .main-title {
        margin-bottom: 15px;
    }

    .breadcrumb {
        margin-bottom: 15px;
    }

    .header-main .header-top {
        margin-bottom: 15px !important;
        border-radius: 20px;
    }

    .header-main .header-top .header-right .logo-site {
        width: auto;
    }

    .header-main .header-top .header-right {
        flex-direction: column;
    }

    .header-main .header-top .header-right .logo-site img {
        width: 40px;
    }

    .header-main .header-top .header-right .logo-site h1 {
        font-size: 20px;
    }

    .content-main .Site-ticker {
        margin: 0;
    }

    .content-main .news-section .nav-tabs .nav-link {
        padding: 0 10px;
        white-space: nowrap;
    }


    .content-main .slider-section,
    .content-main .links-section {
        margin-bottom: 15px;
    }

    .content-main .slider-section .carousel-right .item a img {
        height: 300px;
        object-fit: contain;
    }

    .content-main .news-section .tab-content .news-item .item-content .news-img .img-news {
        filter: none;
    }

    .content-main .systems-sec .tab-pane .items-tab .item {
        flex: 0 0 50%;
    }

    .content-main .news-section .nav-tabs .archive {
        position: absolute;
        top: 12px;
        left: 15px;
    }

    .systems-sec .nav-tabs {
        flex-direction: column;
    }

    .systems-sec .tabs {
        flex-direction: column;
    }

    .systems-sec .nav {
        flex-wrap: nowrap !important;
    }

    .systems-sec .nav-tabs .nav {
        flex-wrap: nowrap !important;
        gap: 0;
    }

    .systems-sec .nav-tabs .nav-link {
        padding: 8px 10px;
        white-space: nowrap;
    }


    .content-main .news-section .nav-tabs ul {
        margin-bottom: 20px;
        width: 100%;
    }

    .content-main .news-section {
        margin-bottom: 30px;
    }

    .content-main .systems-sec .nav-tabs .nav-link {
        border-radius: 28px 28px 8px 8px;
        width: 100%;
    }

    .content-main .systems-sec .tab-pane .items-tab {
        flex-wrap: nowrap;
        overflow: scroll;
    }

    .content-main .systems-sec .tab-pane .items-tab {

        border-radius: 8px 8px 32px 32px;
    }

    .content-main .systems-sec .tab-pane .items-tab .item .text-item {
        font-size: 14px;
    }

    .content-main .systems-sec .facts-link {
        overflow: scroll;
        justify-content: flex-start;
    }

    .main-title h3 {
        font-size: 18px;

    }

    .content-main .event-section .images-event {
        padding: 0;
    }

    .content-main .event-section .images-event .image-event .icon-img img {
        width: 30px;
        height: 30px;
    }

    .content-main .map-section .info-map {

        margin-top: 30px;
    }

    .content-main .map-section .info-map .info {

        width: 100%;

    }

    .content-main .map-section .map-svg {
        margin-top: 30px;
        overflow: hidden;
    }

    .content-main .map-section .map-svg::after {

        left: -12px;
    }

    .content-main .uni-section .info-uni .info {
        width: 100%;
    }

    .content-main .uni-section .content-uni {
        flex-direction: column;
        margin-bottom: 16px;
    }

    .content-main .uni-section .info-uni {
        width: 100%;
    }


    .content-main .event-section .images-event {
        flex-wrap: wrap;
    }

    .content-main .event-section {
        margin-bottom: 30px;
    }

    .content-main .map-section {
        margin-bottom: 30px;
    }

    .content-main .tour-section .tour-info .item {

        width: 100%;
    }

    .content-main .image-section .images {
        flex-wrap: wrap;
        justify-content: center;
    }

    .content-main .tour-section .tour-info .item .text-item span {
        font-size: 16px;
    }

    .content-main .assistants .section_three_list_links ul {
        border: none;
    }

    .content-main .assistants .section_three_list_links {
        width: 100%;
    }

    .content-main .assistants .veiw__btn {
        padding: 10px 0;
    }

    .footer-main .info-footer .info-links {

        flex-direction: column;
    }

    .footer-main .left-info {
        margin-bottom: 30px;
        margin-top: 0;
        flex-direction: column;
    }

    .footer-main .info-footer .visit-site {

        width: 100%;
    }

    .footer-main .map-info img {
        width: 100%;

    }

    .footer-main .info-footer {
        padding: 30px 0;
    }

    .footer-main .footer-bottom .footer-Copyright {
        flex-direction: column;
    }

    .footer-main .footer-bottom .footer-Copyright span {
        font-size: 12px;

    }

    .footer-main .footer-bottom .footer-Copyright .update {
        margin-bottom: 8px;
    }

    .content-main .tour-section {
        margin-bottom: 30px;
    }

    .footer-main .info-footer .visit-site .visit-box {
        display: flex;
        flex-direction: column;
    }

    .footer-main .info-footer .visit-site .visit-box .visit-top {
        gap: 15px;
        margin-bottom: 15px;
    }

    .footer-main .enamad-logo {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .footer-main .info-footer .info-links .box-link .list-links .style-b::before {
        right: -11px;

    }

    .content-main .image-section {
        margin-bottom: 30px;
    }

    .mega-tabs {
        display: flex;
        flex-direction: column;
    }

    .mega-menu {

        display: initial;
    }
 .academics-section {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .academics-section .image-wrapper {
    border-radius: 20px !important;
    height: 220px !important;
    width: 100%;
    margin: 0 auto 15px auto;
  }

  .academics-section .academic-title {
    text-align: center;
    font-size: 22px;
    padding-left: 0;
  }

  .academics-section .academic-title::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .academics-section .academic-item {
    flex-direction: row;
    align-items: center;
  }

  .academics-section .icon-wrap {
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }

  .academics-section .icon-wrap img {
    width: 35px;
    height: 35px;
  }

  .academics-section .text-wrap h6 {
    font-size: 13px;
  }

  .academics-section .text-wrap p {
    font-size: 11px;
  }
    .campus-section {
    padding: 30px 15px;
  }

  .campus-section .campus-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .campus-section .campus-title::before,
  .campus-section .campus-title::after {
    width: 25px;
    left: 47%;
    right: 47%;
    top: 55%;
  }

  .row.g-4.align-items-stretch {
    flex-direction: column;
  }

  .campus-section .col-md-4 {
    width: 100%;
    max-width: 100%;
  }

  .campus-section .campus-card {
    flex-direction: row-reverse;
    align-items: center;
    padding: 15px;
  }

  .campus-section .campus-card-content a {
    font-size: 14px;
  }

  .campus-section .campus-card-content p {
    font-size: 13px;
  }

  .campus-section .campus-icon {
    width: 55px;
    height: 55px;
  }

  .campus-section .campus-icon img {
    width: 40px;
    height: 40px;
  }

  .campus-section .bg-center {
    height: 220px !important;
    border-radius: 20px !important;
    margin: 15px 0;
  }

  .campus-section .title-site {
    text-align: center;
  }

  .campus-section .title-site p {
    font-size: 13px;
    line-height: 1.7;
  }
    .cards-en .faculties-title {
        font-size: 1.3rem;
        text-align: center;
        position: relative;
    }

    .cards-en .faculties-title::before,
    .cards-en .faculties-title::after {
        display: none; /* حذف خطوط تزئینی در موبایل */
    }

    .cards-en .school-card {
        border-radius: 12px;
    }

    .cards-en .school-card img {
      height: auto;
    }

    .cards-en .school-card .card-body h5 {
        font-size: 1rem;
    }

    .cards-en .row.g-4 {
        row-gap: 1rem;
    }

    .cards-en .col-sm-6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* تنظیم فاصله داخلی کارت‌ها برای اسکرول بهتر */
    .cards-en {
        padding: 30px 10px;
    }

    /* در صورت نیاز برای اسلایدر افقی (اختیاری) */
    .cards-slider.owl-carousel {
        padding: 0 10px;
    }
	.cards-en .school-card {
   
	width:100% !important;
}
.cards-slider .owl-stage .owl-item.active{
	margin-left:0px !important;
}
}