.network-section{
    .hd-type1{
        max-width: 585px;
        margin: 0 auto 60px;
    }
    .pillar-title{
        color: var(--text-default-color);
        text-align: center;
    }
}

/* This is Omantel - Story identity section */
.story-identity-section{
    .investment-content{ padding-left: 40px; }
    .story-pillars{ margin-top: 10px; }
    .pillar-item{ align-items: center; }
    .pillar-title{ color: var(--text-default-color); text-align: center; }
}

[dir="rtl"] .story-identity-section .investment-content{ padding-right: 40px; padding-left: 0; }
@media (max-width: 991px){
    .story-identity-section .investment-content{ padding-left: 0; }
    [dir="rtl"] .story-identity-section .investment-content{ padding-right: 0; }
}

.omantel-section{
    .investment-content{ padding-left: 0px; padding-right: 0; margin-top: 100px;
         @media (max-width: 991px){
            margin-top: 10px;
         }
     }
    .pillar-title{ color: var(--text-default-color); padding-left: 10px; }
    .omantel-pillars{ 
        margin-left: -100px;
        @media (max-width: 991px){
            margin-left: 0;
        }
    }
}
[dir="rtl"] .omantel-section .investment-content{ padding-right: 0px; padding-left: 0; }
[dir="rtl"] .omantel-section .pillar-title{ padding-left: 0; padding-right: 10px;}
[dir="rtl"] .omantel-pillars{
    margin-left: 0; margin-right: -100px;
    @media (max-width: 991px){
            margin-right: 0;
        }
}

/**************
Zain Omantel International Section Styles
**************/
.zain-international-section {
    background: var(--white);
    position: relative;
}

.zain-intro-content {
    margin-bottom: 55px;

    @media (max-width: 768px) {
        margin-bottom: 40px;
    }
}

.zain-statistics {
    margin-bottom: 55px;

    @media (max-width: 768px) {
        margin-bottom: 40px;
    }
    .row{
        @media(max-width:1400px){
            justify-content: space-between;
            > div{
                flex-grow: 1;
                @media(max-width:991px){
                    width: 33.33%;
                }
                
            }
        }
        > div:first-child {
            .stat-item{
                padding-left: 0;
            }
        }
        > div:last-child {
            @media(max-width:1400px){
                flex:1 1 100%;
                width: 100%;
            }
            .stat-item{
                padding-right: 0;
            }
            .stat-item::after {
                display: none;
            }
        }
        > div:nth-last-child(2) {
            @media(max-width:1400px){
                .stat-item::after {
                    display: none;
                }
            }
        }
    }
}

.stat-item {
    position: relative;
    height: 100%;
    padding: 0 50px;
    @media (max-width: 1440px) {
        padding: 0 40px;
    }
    @media (max-width: 991px) {
        padding: 0;
    }
    
}
/* Vertical separators between stats */
.stat-item::after {
    content: '';
    position: absolute;
    top: 25%;
    bottom: 25%;
    width: 2px;
    right: -15px;
    background-color: var(--primary-color);
    @media (max-width: 991px) {
        top: 0;
        bottom: 0;
    }
}
.stat-number {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    .stat-prefix,
    .stat-value {
        color: var(--primary-color);
        font-family: 'FS Alvar' !important;
        font-size: 81px;
        font-weight: 400;
        line-height: 1;

        @media (max-width: 1200px) {
            font-size: 70px;
        }

        @media (max-width: 992px) {
            font-size: 60px;
        }

        @media (max-width: 768px) {
            font-size: 50px;
        }

        @media (max-width: 576px) {
            font-size: 25px;
        }
    }
    
    
    .stat-suffix {
        color: var(--primary-color);
        font-family: var(--font-type2);
        font-size: 30px;
        font-weight: 400;

        @media (max-width: 1200px) {
            font-size: 26px;
        }

        @media (max-width: 992px) {
            font-size: 22px;
        }

        @media (max-width: 768px) {
            font-size: 20px;
        }

        @media (max-width: 576px) {
            font-size: 18px;
        }
    }
}

.stat-label {
    color: var(--primary-color);
    font-family: var(--font-type1);
    font-size: 21px;
    font-weight: 400;
    line-height: 30px;
    
    @media (max-width: 1200px) {
        font-size: 19px;
        line-height: 28px;
    }

    @media (max-width: 992px) {
        font-size: 17px;
        line-height: 26px;
    }

    @media (max-width: 768px) {
        font-size: 16px;
        line-height: 24px;
    }

    @media (max-width: 576px) {
        font-size: 14px;
        line-height: 22px;
    }
}

.stat-label.special-label {
    color: var(--primary-color);
    font-family: var(--font-type2);
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;

    @media (max-width: 1200px) {
        font-size: 26px;
        line-height: 32px;
    }

    @media (max-width: 992px) {
        font-size: 22px;
        line-height: 28px;
    }

    @media (max-width: 768px) {
        font-size: 20px;
        line-height: 26px;
    }

    @media (max-width: 576px) {
        font-size: 18px;
        line-height: 24px;
    }
}

.zain-world-map {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;

    img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }

    @media (max-width: 768px) {
        margin: 30px 0;
    }
}
[dir="rtl"] .stat-number{
    direction: ltr;
    justify-content: flex-end;
}
[dir="rtl"] .zain-statistics {
    & .row {
        & > div:first-child {
            .stat-item {
                padding-left: 50px;
                padding-right: 0;
                @media(max-width: 991px){
                    padding-left: 0;
                }
            }
        }
    }
}
[dir="rtl"] .zain-statistics {
    & .row {
        & > div:last-child {
            .stat-item {
                padding-right: 50px;
                padding-left: 0;
            }
        }
    }
}
[dir="rtl"] .stat-item::after{
    right: auto;
    left: -15px;
}



/**************
Factors Section Styles
**************/
.factors-section {
    background: var(--white);
}

.factors-header {
    margin-bottom: 26px;
    max-width: 755px;

    @media (max-width: 768px) {
        margin-bottom: 20px;
    }

    .hd-type5 {
        margin-bottom: 17px;

        @media (max-width: 768px) {
            margin-bottom: 12px;
        }
    }
}

.factors-cards {
    margin-bottom: 50px;
}
.factor-card {
    height: 100%;
    padding: 35px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.94);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    @media (max-width: 1400px) {
        padding: 30px;
    }

    @media (max-width: 1200px) {
        padding: 25px;
    }

    @media (max-width: 768px) {
        padding: 20px;
    }

    @media (max-width: 576px) {
        padding: 18px;
    }

    &:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(45, 19, 234, 0.15);
    }
}

.factor-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    height: 100%;
    @media (max-width: 1280px) {
        flex-direction: column-reverse;
    }
    @media (max-width: 768px) {
        gap: 20px;
        align-items: center;
        text-align: center;
    }
}

.factor-text {
    flex: 1;

    p {
        margin: 0;
    }
}

.factor-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    
    svg, img {
        max-width: 100%;
        max-height: 100%;
        width: 45px;
        height: 45px;
    }
}

/**************
RTL Support for Zain International Section
**************/
[dir="rtl"] .factor-text p {
    text-align: right;

    @media (max-width: 768px) {
        text-align: center;
    }
}

[dir="rtl"] .factors-header {
    text-align: right;

    @media (max-width: 768px) {
        text-align: center;
    }
}

/**************
Responsive Adjustments
**************/
@media (max-width: 1200px) {
    .factors-cards .row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .factors-header {
        text-align: center;
        max-width: 100%;
    }
}
