
@media screen and (min-width: 1800px) {
    .container {
        max-width: unset;
        padding: 0 4rem;
    }
}

@media screen and (max-width: 1600px) {
    .container {
        max-width: unset;
        padding: 0 4rem;
    }
}

@media screen and (min-width: 1400px) {
    .container {
        max-width: unset;
        padding: 0 4rem;
    }
}

@media screen and (max-width: 1200px) {
    .container {
        max-width: unset;
        padding: 0 4rem;
    }
}

@media screen and (max-width: 800px) {
    .container {
        max-width: unset;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 991px) {
    /* Footer start*/
      .list-contact {
        margin-top: 10px;
    }
    
    .list-contact li {
        margin-bottom: 15px !important;
    }
    
    .list-contact li a {
        font-size: 14px !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }
    
    .list-contact li a i {
        width: 18px !important;
        height: 18px !important;
        font-size: 14px !important;
        margin-top: 2px !important;
    }


     /* Footer adjustments */
    .top-footer .row > [class*="col-"] {
        margin-bottom: 30px;
    }
    
    .logo-ft {
        margin-bottom: 25px !important;
    }
    
    .logo-ft img {
        width: 160px !important;
    }
    
    .social-media {
        justify-content: flex-start;
        gap: 8px !important;
    }
    
    .social-media li a {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
    
    /* تحسين أيقونات التواصل */
    .list-contact {
        padding: 0 !important;
    }
    
    .list-contact li {
        margin-bottom: 18px !important;
    }
    
    .list-contact li:last-child {
        margin-bottom: 0 !important;
    }
    /* Footer style End */
    .main_menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .is-closed {
        display: block;
    }

    .logo-site img {
        max-width: 130px;
    }

    .mmenu .main_menu {
        display: block;
    }

    .main_menu > li {
        margin-bottom: 20px;
    }

    .main_menu > li > a {
        display: inline-block;
    }

    .section_home {
        min-height: 750px;
    }

    .home_txt p {
        line-height: 1.9;
        font-size: 3.3vw;
        width: 100%;
    }

    .home_txt > span {
        font-size: 4vw;
    }

    /* ===== إحصائيات التابلت ===== */
    .section_statistics {
        padding: 50px 0 40px !important;
    }

    .row-statistics {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px 30px !important;
        justify-items: center !important;
        align-items: start !important;
    }

    .item-statistic {
        width: 100% !important;
        position: relative !important;
        text-align: center !important;
    }

    /* إخفاء الخطوط القديمة */
    .item-statistic:before {
        display: none !important;
    }

    .item-statistic:after {
        display: none !important;
    }

    /* إضافة خط عمودي بين الأعمدة */
    .item-statistic:nth-child(odd)::after {
        content: "" !important;
        background: #dadada !important;
        width: 1px !important;
        height: 40px !important;
        position: absolute !important;
        top: 50% !important;
        right: -15px !important;
        transform: translateY(-50%) !important;
        display: block !important;
    }

    /* RTL */
    .rtl-style .item-statistic:nth-child(odd)::after {
        right: auto !important;
        left: -15px !important;
    }

    /* إخفاء الخط من آخر عنصرين إذا كان العدد فردي */
    .item-statistic:last-child:nth-child(odd)::after {
        display: none !important;
    }

    /* العنصر الأخير الفردي يأخذ عرض العمودين */
    .item-statistic:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
    }

    .item-statistic h2 span {
        font-size: 50px !important;
    }

    .item-statistic h2 small {
        font-size: 28px !important;
    }

    .item-statistic p {
        font-size: 15px !important;
    }
    /* ===== نهاية إحصائيات التابلت ===== */

    .item-feat {
        margin-bottom: 25px;
    }

    .section-areas {
        align-items: end;
    }

    .item-area {
        width: 100%;
        margin: 0 0 100px 0;
    }

    .sidebar {
        display: none !important;
        top: 30px !important;
        height: auto;
        gap: 10px;
    }

    .nav-label {
        width: 260px;
        font-size: 15px;
    }

    .section_presence .sec_head {
        top: 20px;
        width: 100%;
    }

    .dot-grid {
        width: 100%;
    }

    footer {
        padding: 20px 0 0;
    }

    .menu-ft,
    .cont-ft {
        margin-bottom: 25px;
    }

    .section_about_hero {
        height: 50vh;
        background-position: -220px -231px !important;
    }

    .home_txt h1 {
        font-size: 7vw;
        line-height: 13vw;
        max-width: unset;
    }

    .section-parallax {
        flex-direction: column;
        padding: 40px 10px;
    }

    .thumb-choose {
        width: 100%;
    }

    .thumb-choose-big img {
        max-width: 100%;
    }

    .thumb-choose-sm img {
        max-width: 180px;
    }

    .txt-choose,
    .txt-ceo {
        width: 100%;
    }

    .thumb-ceo {
        width: 100%;
    }

    .section-header {
        top: 0;
    }

    .text-item {
        width: 100%;
    }

    .department {
        width: 100%;
    }

    .departments::before {
        display: none;
    }

    .ceo-box {
        margin-bottom: 40px;
    }

    .departments {
        gap: 30px;
    }

    .department::before {
        display: none;
    }

    .hed-area {
        width: 100%;
    }

    .lst-areas {
        width: 100%;
        gap: 20px;
        flex-wrap: wrap;
    }

    .thumb-partner {
        width: 100%;
    }

    .thumb-partner figure {
        width: 100%;
    }

    .detail-header-text {
        width: 100%;
    }

    .detail-header-text {
        padding: 20px 0;
        border: 0;
    }

    .contact-wrapper {
        width: 100%;
    }

    .lst-branches {
        flex-wrap: wrap;
    }

    .item-branch {
        width: 100%;
    }

    .cont-msg {
        padding: 30px;
    }

    .head-msg h4 {
        font-size: 27px;
    }

    .form-msg .d-flex {
        column-gap: 10px;
        flex-wrap: wrap;
    }

    .form-msg .d-flex {
        margin-bottom: 10px;
    }

    .form-msg .d-flex .form-group {
        flex: auto;
        width: 100%;
    }

    .contact-item {
        display: flex;
        justify-content: space-between !important;
        padding: unset !important;
        margin: 10px 0;
    }

    .icon-circle {
        left: unset !important;
        right: -36px !important;
    }

    .info-card {
        text-align: start !important;
        margin: 0 !important;
        margin-right: 86px !important;
    }

    .info-card p {
        color: #fff;
        font-size: 14px;
        white-space: nowrap;
    }

    .timeline::before {
        left: 30px;
    }

    .rtl-style .icon-circle,
    .rtl-style .timeline::before {
        left: auto;
        right: 30px;
    }

    .txt-head-proj h2 {
        font-size: 30px;
    }

    .section_projects_dtl_hero {
        min-height: 55vh;
    }

    .item-dta-proj {
        margin-bottom: 30px;
    }

    .item-step {
        padding: 28px 10px;
        margin-bottom: 24px;
    }

    .item-stat {
        margin-bottom: 30px;
        text-align: start;
    }

    .item-lang-covered {
        width: 30.33334%;
    }

    .block-product-slide {
        padding-bottom: 160px;
    }

    .pro--Thumb {
        height: 430px;
    }

    .block-product-slide .slick-slide img {
        height: 100%;
    }

    .quote-text {
        padding: 20px 0 9px 0;
        margin: 10px 0 60px 0;
    }
}

@media screen and (max-width: 767px) {
 .logo-ft img {
        width: 140px !important;
    }
    
    .social-media li a {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
    }
    
    .menu-ft {
        margin-bottom: 30px !important;
    }
    
    .bottom-ft {
        padding: 20px 0 !important;
    }
    
    .cont-bt p {
        font-size: 12px !important;
        text-align: center !important;
    }
    /* Footer Start  */
 .list-contact li a {
        font-size: 13px !important;
        gap: 10px !important;
    }
    
    .list-contact li a i {
        width: 16px !important;
        height: 16px !important;
        font-size: 12px !important;
    }
    
    .menu-ft h5 {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }
    
    .menu-ft ul li a {
        font-size: 13px !important;
    }
    /* Footer end  */
 .section_statistics {
        padding: 40px 0 !important;
    }

    .row-statistics {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px 20px !important;
        justify-items: center !important;
        align-items: center !important;
    }

    .item-statistic {
        width: 100% !important;
        padding: 0 10px !important;
        text-align: center !important;
        position: relative !important;
    }

    /* إخفاء الخطوط القديمة */
    .item-statistic:before,
    .item-statistic:after {
        display: none !important;
    }

    /* خط عمودي بين الأعمدة */
    .item-statistic:nth-child(odd)::after {
        content: "" !important;
        background: #dadada !important;
        width: 1px !important;
        height: 50px !important;
        position: absolute !important;
        top: 50% !important;
        right: -10px !important;
        transform: translateY(-50%) !important;
        display: block !important;
    }

    /* RTL للغة العربية */
    .rtl-style .item-statistic:nth-child(odd)::after {
        right: auto !important;
        left: -10px !important;
    }

    /* إخفاء الخط من آخر عنصر في حالة العدد الفردي */
    .item-statistic:last-child:nth-child(odd)::after {
        display: none !important;
    }

    /* العنصر الأخير الفردي يأخذ عرض العمودين */
    .item-statistic:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
    }

    .item-statistic h2 span {
        font-size: 40px !important;
    }

    .item-statistic h2 small {
        font-size: 24px !important;
    }

    .item-statistic p {
        font-size: 14px !important;
        margin-top: 8px !important;
    }
}

/* ===== شاشات صغيرة جداً ===== */
@media screen and (max-width: 480px) {
        .list-contact li a {
        font-size: 12px !important;
    }
    
    .list-contact li a i {
        width: 14px !important;
        height: 14px !important;
    }
    .section_statistics {
        padding: 35px 0 !important;
    }

    .row-statistics {
        gap: 35px 15px !important;
    }

    .item-statistic h2 span {
        font-size: 36px !important;
    }

    .item-statistic h2 small {
        font-size: 22px !important;
    }

    .item-statistic p {
        font-size: 13px !important;
    }
    /* ===== نهاية إحصائيات الموبايل ===== */
}

@media screen and (max-width: 480px) {
    .section_statistics {
        padding: 25px 0 35px !important;
    }

    .row-statistics {
        gap: 30px 0 !important;
    }

    .item-statistic h2 span {
        font-size: 40px !important;
    }

    .item-statistic h2 small {
        font-size: 22px !important;
    }

    .item-statistic p {
        font-size: 13px !important;
    }
}

@media (min-width: 1800px) {

    .e-con.e-flex > .e-con-inner {
        max-width: 1500px !important;
    }
    
    .item-area p {
        font-size: 1.1rem;
    }

    .item-stats span {
        font-size: 1rem;
        padding: 12px 15px;
    }

    
    .txt-choose p,
    .txt-ceo p {
        font-size: 1.3rem;
    }
    .txt-choose h3,
    .txt-ceo h3 {
        font-size: 2.5rem;
    }
}


