@font-face {
    font-family: "Tajawal";
    src: url("../fonts/Tajawal/Tajawal-Regular.woff2");
    font-display: swap;
}

@font-face {
    font-family: "Tajawal-Bold";
    src: url("../fonts/Tajawal/Tajawal-Bold.woff2");
    font-display: swap;
}

@font-face {
    font-family: "Tajawal-Medium";
    src: url("../fonts/Tajawal/Tajawal-Medium.woff2");
    font-display: swap;
}

.box-card{
    background-image: url(../images/box-card.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.box-content2{
        padding: 40px;
        padding-bottom: 80px;

}
.box-card figure{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    margin-top: -100px;
}
.box-card h4{
    color: white !important;
    text-align: center;
    font-size: 23px;
    margin-bottom: 30px;
}
.box-card p{
    color: white !important;
}

.box-card img{
    width: 70%;
    margin: auto;
}
.box-content2{
    background-color: rgba(16, 16, 16, 0.85);
    margin: 40px;}
body {
    font-family: "Tajawal", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    direction: rtl;
    overflow-x: hidden;
}

*, ::after, ::before {
    box-sizing: border-box;
}

a, a:hover {
    text-decoration: unset;
}

h1, h2, h3,
h4, h5, h6, figure {
    margin: 0;
}

header {
    background-color: white;
    width: 100%;
    height: auto;
}


figcaption {
    margin: 20px 0;
    text-align: center;
    line-height: 24px;
}

.mt-150 {
    margin-top: 150px;
}

.cus-container {
    max-width: 1200px;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    margin: 0 auto !important;
}


#mainBanner {
    position: relative;
    display: flex;
}

picture {
    display: flex;
    ;
    width: 100%;
}

.logo2 {
    position: absolute;
    left: 25px;
    top: 25px;
    z-index: 99999999999 !important;
}

.logopic {
    width: 180px;
}

#mainBanner .main-img {
    width: 100%;
    height: auto;
}


#mainBanner .main-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 535px;
    max-width: 52%;
    width: 100%;
    height: 100%;
    margin: auto;
    gap: 70px;
}

.main-banner-content {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.main-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

h1 {
    font-family: "Tajawal-Bold", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
    text-align: right;
    color: #f2f2f2;
    margin: 0 !important;
    max-width: 55%;
    width: 100%;
}

h2 {
    color: #f2f2f2;
    font-size: 23px;
    margin: 0 !important;
}

.writer-info-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.writer-info-div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.writer-info-div span {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: right;
    color: #F2F2F2;
}

.main-idea-section {
    padding: 0 0 60px 0;
    width: 100%;
    height: 100%;
}

.main-idea-wrapper {
    position: relative;
    background-color: #4D4D4D;
    width: 100%;
    height: auto;
    padding: 35px 40px;
    margin: 32px 0;
}

.main-idea-wrapper p {
    color: #f2f2f2 !important;
    margin: 0 !important;
}


.main-content-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 6%;
    width: 100%;
    margin-top: 75px;
}

.main-content {
    margin: auto;
    max-width: 50%;
    width: 100%;
}

.main-content p {
    font-size: 18px;
    line-height: 28px;
    text-align: justify;
    color: #1A1A1A;
    margin: 0 0 32px 0;
}

.main-content h2 {
    font-family: "Tajawal-Bold", sans-serif;
    font-size: 22px;
    margin-bottom: 16px !important;
    margin-top: 45px !important;
    color: #333333;
}

.content-section .main-content {
    margin: auto;
}

section {
    position: relative;
    z-index: 0;
}

.image-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    max-width: 60%;
    margin: 32px auto;
    gap: 32px;
}

.image-container img {
    width: 100%;
    height: auto;
}

.image-section {
    position: relative;
    width: 100%;
}

.image-section img {
    width: 100%;
    height: auto;
}

.main-sec-title-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.main-sec-title-wrapper .cus-container {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    height: 100%;
    padding: 0;
}

.main-sec-title {
    font-family: "Tajawal-Bold", sans-serif;
    font-size: 38px;
    line-height: 45px;
    color: white;
    max-width: 25%;
    width: 100%;
    padding-top: 100px;
}

.main-sec-title-wrapper.bg {
    top: 60px;
}

.main-sec-title-wrapper.bg .cus-container {
    align-items: baseline;
}

.main-sec-title-wrapper.bg .main-sec-title {
    background-color: #4D4D4D;
    padding: 12px;
    max-width: 32%;
}

.vid-container {
    max-width: 70%;
    width: 100%;
    margin: 32px auto;
}

.vid-container iframe {
    width: 100%;
    height: 300px;
}

.vid-container span {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.bg-box-wrapper {
    position: relative;
    max-width: 60%;
    width: 100%;
    height: fit-content;
    background: url("../images/box-bg.png") no-repeat center center / cover;
    margin: 32px auto;
    padding: 30px;
}
.box-content{
    padding: 30px 30px 70px 30px;
    background-color: rgba(16, 16, 16, 0.85);
}

.box-content h3 {
    font-family: "Tajawal-Bold", sans-serif;
    font-size: 32px;
    line-height: 42px;
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    color: #f2f2f2;
}

.box-content p {
    font-size: 17px;
    color: #f2f2f2;
    line-height: 25px;
}

.certified-img-wrapper{
    position: relative;
    bottom: 40px;
    max-width: 55%;
    margin: auto;
}
.certified-img-wrapper img{
    width: 100%;
    height: auto;
}

.main-sec-title-center{
    font-family: "Tajawal-Bold", sans-serif;
    font-size: 44px;
    line-height: 45px;
    color: white;
    width: fit-content;
    position: absolute;
    top: 35%;
    right: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
}

.arij-inv-txt {
    font-family: "Tajawal-Bold", sans-serif;
    font-style: italic;
    font-size: 19px;
    color: #1a1a1a;
}

.ai-generated-text-wrapper {
    font-size: 14px;
    position: absolute;
    bottom: 50px;
    left: 0;
    background-color: rgba(26, 26, 26, 0.8);
    padding: 12px 40px;
    max-width: 30%;
    width: 100%;
    text-align: right;
    color: #f2f2f2;
}
.bold{
    font-family: "Tajawal-Bold", sans-serif;
}
.pink{
    font-family: "Tajawal-Bold", sans-serif;
    color: #B7656B;
}

/* Media Queries */

@media (max-width: 1199px) {
    .cus-container {
        max-width: 1000px;
    }
}

@media (min-width: 1200px) and (max-width: 1499px) {
    .cus-container {
        max-width: 1200px;
    }

    /* #mainBanner{
        background-position: top;
        height: 100vh;} */

}

@media (min-width: 1500px) {
    .cus-container {
        max-width: 1400px;
    }

    .main-sec-title {
        max-width: fit-content;
    }
}

@media (min-width: 992px) and (max-width: 1198px) {
    /* .cus-container{
        max-width: 720px;
    } */

    #mainBanner .cus-container {
        position: relative;
        z-index: 1;
    }

    .main-title-wrapper {
        max-width: 100%;
    }

    .main-content-wrapper {
        flex-direction: column;
    }

    .main-content {
        max-width: 75%;
        width: 100%;
        margin: auto;
    }

    .shared-with-div {
        min-width: 100%;
    }
  

}


@media (min-width: 768px) and (max-width: 900px) {
      .cus-container {
        max-width: 90% !important;
        padding: 0;
    }

    #mainBanner {
       flex-direction: column-reverse;
    }
   
    #mainBanner .main-container{
        max-width: 100%;
        max-height: fit-content;
        padding: 40px 40px 0 40px;
    }

    #mainBanner .cus-container {
        position: relative;
        z-index: 1;
    }
    h1{
        color: #1A1A1A;
        max-width: 80% !important;
        line-height: 42px !important;
    }
    #mainBanner .main-img {
       height: 100vh;
    }
     .ai-generated-text-wrapper{
        max-width: 100%;
        bottom: 0;
    }

    .main-content p {
        text-align: right;
    }

    .image-container {
        flex-direction: column;
    }

    .main-title-wrapper {
        max-width: 100%;
    }
    .main-title-wrapper h2,.writer-info-div span{
        color: #1A1A1A;
    }

    .writer-info-div figure img{
        filter: brightness(0) saturate(100%) invert(61%) sepia(10%) saturate(3968%) hue-rotate(311deg) brightness(81%) contrast(81%);
    }

    .main-content-wrapper {
        flex-direction: column;
    }

    .main-content {
        max-width: 90%;
        width: 100%;
        margin: auto;
    }

    .shared-with-div {
        min-width: 100%;
    }

    .main-sec-title-wrapper,.main-sec-title-center {
        position: unset;
    }

    .image-section {
        display: flex;
        flex-direction: column-reverse;
    }

    .main-sec-title, .main-sec-title-wrapper.bg .main-sec-title,.main-sec-title-center {
        font-size: 25px;
        line-height: 28px;
        margin: 0 auto !important;
        text-align: center;
        width: 100%;
        color: #B7656B;  
        max-width: 100%;
        padding: 5px 0;
    }

    .bg-box-wrapper, .certified-img-wrapper {
        max-width: 90%;
    }
      #mainBanner .main-container{gap: 20px;}
}
@media (max-width: 767px) {
    .box-content2 {
    background-color: rgba(16, 16, 16, 0.85);
    margin: 10px;
}
.box-card img {
    width: 90%;
    margin: auto;
}
.box-content2 {
    padding: 10px;
    padding-bottom: 80px;
}
    .cus-container {
        max-width: 90% !important;
        padding: 0;
    }

    #mainBanner {
       flex-direction: column-reverse;
    }
   
    #mainBanner .main-container{
        max-width: 100%;
        max-height: fit-content;
        padding: 80px 40px 0 40px;
    }

    #mainBanner .cus-container {
        position: relative;
        z-index: 1;
    }
    
    h1{
        color: #1A1A1A;
        max-width: 100%!important;
        line-height: 38px;
    }

    #mainBanner .main-img {
        object-fit: cover;
    }

    .ai-generated-text-wrapper{
        max-width: 100%;
        bottom: 0;
    }

    .main-content p {
        text-align: right;
    }

    .image-container {
        flex-direction: column;
    }

    .main-title-wrapper {
        max-width: 100%;
    }
    .main-title-wrapper h2,.writer-info-div span{
        color: #1A1A1A;
    }

    .writer-info-div figure img{
        filter: brightness(0) saturate(100%) invert(61%) sepia(10%) saturate(3968%) hue-rotate(311deg) brightness(81%) contrast(81%);
    }

    .main-content-wrapper {
        flex-direction: column;
    }

    .main-content {
        max-width: 90%;
        width: 100%;
        margin: auto;
    }

    .shared-with-div {
        min-width: 100%;
    }

    .main-sec-title-wrapper,.main-sec-title-center {
        position: unset;
    }

    .image-section {
        display: flex;
        flex-direction: column-reverse;
    }

    .main-sec-title, .main-sec-title-wrapper.bg .main-sec-title,.main-sec-title-center {
        font-size: 25px;
        line-height: 28px;
        margin: 0 auto !important;
        text-align: center;
        width: 100%;
        color: #B7656B;  
        max-width: 100%;
        padding: 5px 0;
    }

    .bg-box-wrapper, .certified-img-wrapper {
        max-width: 90%;
    }
   
  #mainBanner .main-container{gap: 20px;}
}

/* End Media Queries */