:root {

    --bs-white:             #fff;
    --section-about-moral-value: rgba(231, 237, 255, 0.35);
    --bs-secondary:             #E02454;
    --bs-primary:             #003A66;
    --body-font-family:             'Noor';
    --title-font-family:            'Noor';
}

@font-face {
    font-family: "Noor";
    src: url("../fonts/noor.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Noorehira";
    src: url("../fonts/noorehira.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
 .container {
    max-width: 1230px;
}

@font-face {
    font-family: "Noorehuda";
    src: url("../fonts/noorehuda.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
.section-about{
    color: var(--default-color);
    padding: 20px 0;
    scroll-margin-top: 100px;
    overflow: clip;
    background-color: rgb(251, 251, 251);
}

@media (max-width: 1199px) {
    .section-about {
        scroll-margin-top: 30px;
        background-color: rgb(251, 251, 251);
    }
}

.section-about-moral-value{
     background-color: var(--section-about-moral-value);
     overflow: clip;
}

@media (max-width: 1199px) {
    .section-about {
         background-color: rgb(251, 251, 251);
    }
}


.section_about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
    padding-top: 30px;
}

.about_box {
    text-align: right;
}

.section_title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

.section_title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: #009879;
    margin-top: 6px;
}

/*** Counter Facts Start ***/
.counter-facts {
     background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--bs-primary);

}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--bs-secondary);
    background: rgba(1, 143, 252, 0.5);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: rgba(0, 58, 102, 0.5);
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}
.counter-facts .counter h3 {
    color: var(--bs-primary);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: var(--bs-secondary);
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { margin-bottom: 40px;
    }
}
.imgCheck img{
    margin-top: 12px;
    height: 40px;
    width: 40px;
}

.about-hero{
    position:relative;
    width:80%;
    max-width:1000px;
    margin:0 auto;
    aspect-ratio: 2074 / 1917;
    background:url('/assets/img/about/about-background.png') center/cover no-repeat;
}
.about-hero .icon{
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%) translateY(0); /* أساس التمركز */
    width: 70px !important;
    height: auto;
    will-change: transform;
}
.about-hero .badge{
    position:absolute;
    /*inset-inline-start: 50%;*/
    inset-inline: 30%;
    inset-block-end: 1.5%;
    transform:translateX(-50%);
    font-size: 22px;
    font-weight: bold;
    /*font:700 clamp(18px,3vw,32px)/1.2 "Tajawal",system-ui;*/
    color:#fff;
    /*padding:.35rem 1rem;*/
    text-shadow:0 2px 6px rgba(0,0,0,.35);
    /*user-select:none;*/
    /*white-space:nowrap;*/
}
.about-hero .badge_page{
    position:absolute;
    /*inset-inline-start: 50%;*/
    inset-inline: 20%;
    inset-block-end: 1.5%;
    transform:translateX(-50%);
    font-size: 22px;
    font-weight: bold;
    /*font:700 clamp(18px,3vw,32px)/1.2 "Tajawal",system-ui;*/
    color:#fff;
    /*padding:.35rem 1rem;*/
    text-shadow:0 2px 6px rgba(0,0,0,.35);
    /*user-select:none;*/
    /*white-space:nowrap;*/
}

.about-hero .icon:hover{
    animation: bounceY 600ms cubic-bezier(.35,.97,.56,1.02);
}

@keyframes bounceY{
    0%   { transform: translate(-50%, -50%) translateY(0); }
    40%  { transform: translate(-50%, -50%) translateY(-14px); }
    100% { transform: translate(-50%, -50%) translateY(0); }
}

@media (prefers-reduced-motion: reduce){
    .about-hero .icon, .about-hero .icon:hover{ animation: none; }
}

/*** Counter Facts End ***/
@media (max-width: 767.98px) {
    .section-about .row > .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .section-about .row > .col-6 + .col-6 {
        margin-top: 12px;
    }
}
