/* @font-face {
    font-family: "Lusail";
    src:  url("/fonts/Lusail-Regular.ttf");
    font-weight: normal;
    font-style: normal;
  } */
.stats-section {
    padding: 0;
    background-color:transparent;
    font-family: 'Arial', sans-serif;
    gap: 30px;
  display: flex;
  flex-direction: column;
}

.stats-container {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    background: transparent;
    
    border-radius: 12px;
    padding: 0;
    gap: 40px;
}

.stats-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 2;
    box-shadow: 0px 0px 8px 1px rgba(196.00000000000003, 196.00000000000003, 196.00000000000003, 0.47);
    background-color: #fff;
    border-radius: 15px 15px 15px 15px;
    padding: 18px;
}

/* .stats-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
} */
.stats-title-en , .stats-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    /* border-left: 2px solid #ccc; */
    /* margin-left: 80px; */
    border-top: none ;
}
.second-row{
    margin-top: -20px;   
}
.construction-source{
    width: 100%;

}

.stats-title h2 {
    font-size: 40px;
    text-align: start;
    margin: 0;
    line-height: .75em;    position: relative;
}
.stats-title-en h3{
    font-size:26px; text-align:start; margin:0;
    text-align: left;

}
.my-line{
    display: flex;
    flex-direction: row;
    text-align: center;
     align-items: center;
    justify-content: center;

}

.my-line  .first{
    width: 190px;
    height: 4px;
    
    margin: 10px 0px 10px 0px;
    border-radius: 10%;
}
.my-line  .second ,.my-line  .third{
    width: 8px;
    height: 5px;

    margin: 10px 10px 10px 0px;
    border-radius: 60%;
}

.my-line .blue{
    background-color: #0d4261;

}
.my-line .red{
    background-color: #8a1538;
}
.blue-colored{
    color:#0d4261;
}
.red-colored{
    color: #8a1538;
}

/* .stats-title h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background: #0e4668;
    margin: 10px  0;
} */
.stat-desc{
    margin: auto;
    text-align: center;
    /* margin-top: -15px; */
}
.stat-desc h4{
    font-size: 16px;
    line-height: 20px;
    margin: 8px 0;
}
.stat-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: center;
    gap: 10px;
    /* justify-content: center; */
}
.stat-number-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    margin: auto;
    gap: 8px;
}
.stat-icon-box img{
    width: 100px;
    height: 100px;
    padding: 8px;
}
.stat-icon-box {
    /* width: 50px;
    height: 50px; */
    /* margin-bottom: 10px; */
    display: flex;
    justify-content: center;
 
}

.stat-number {
    font-size: 20px;
    font-weight: bold;
    color: #b01c2e;
    line-height: 0.5rem;
}

.stat-desc {
    font-size: 16px;
    color: #0e4668;
    line-height: 1.7;
    margin-top: 0;
}

@media (max-width: 768px) {
      /* flex-direction: column-reverse; */
      .stat-number-box{
        display: flex;
        flex-direction: column;
        justify-content: start;
        padding: 10px;
        font-weight: bold;
        text-align: start;
        margin: auto;
        gap: 8px;
    }

    .stats-box {
        grid-template-columns: 1fr;
    }

    .stats-title ,.stats-title-en {
        border-right: none;
        padding-top: 20px;
        /* flex-direction: revert; */
    display: flex;
    flex-wrap: wrap;
    border-top: none;
    }
    .stats-title h2 , .stats-title-en  h3{
        font-size: 22px;
        text-align: start;
    }
    .my-line  .first {
        width: 50px;}

}

/* للشاشات المتوسطة (Tablets) */
@media (max-width: 992px) {
    .stats-container {
        gap: 30px; /* تقليل المسافة بين العناصر */
    }
}

/* للشاشات الصغيرة (Mobile) */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column; /* تغيير الاتجاه إلى عمودي */
        gap: 20px; /* تقليل المسافة أكثر */
    }
    
    /* إذا كنت تريد أن تأخذ العناصر العرض الكامل */
    .stats-container > * {
        width: 100% !important;
    }
    .stat-desc {
        text-align: start !important;
        margin: 0 ;
    }
    .stats-container {
        padding: 0 15px; /* هوامش جانبية */
                align-items: center; /* أو flex-start حسب التصميم */
    }
    .stat-number-box {
        width: 60%;
        text-align: start;
    }  .stat-number-box  h4{
        
        text-align: start;
    }
    .stat-icon-box {
        width:30%;
    }
}