html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 100%;
}
@font-face {
    font-family: 'ge_ss_twomedium';
    src: url('/www/resources/fonts/ge_ss_two_medium-webfont.woff2') format('woff2'),
    url('/www/resources/fonts/ge_ss_two_medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'interregular';
    src: url('/www/resources/fonts/inter-variablefont_slntwght-webfont.woff2') format('woff2'),
    url('/www/resources/fonts/inter-variablefont_slntwght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'interregular', sans-serif ;
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 100%;
}

body.arabic {
    font-family: 'ge_ss_twomedium', sans-serif ;
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 100%;
}

nav {
    width: 73%;
    justify-content: end;
    display: flex;
}

.active {
    color: #362F6F !important;
}

.nav {
    transition: all 0.3s ease-in-out;
    padding: 40px 220px;
    align-items: end;
    align-content: center;
    justify-content: space-between;
    height: 171px;
}

.resize {
    transform: translate(-75px, 0) scale(0.3);
    transition: all .7s ease-in-out;
}

.resize2 {
    transform: translate(0, -23px);
    transition: all .7s ease-in-out;
}

.nav.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    background-color: #02010F;
    z-index: 1000; /* Adjust the z-index as needed */
    transition: all .7s ease-in-out;
    box-shadow: 6px 6px 15px -4px black;
}

.section-1 {
    background-image: url("resources/png/opening.png");
    background-size: cover;
    height: 956px;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    animation: scaleDown 0.7s ease-in-out 1; /* Apply the animation */
}

.rtl{
    direction: rtl !important;
    
}
.ltr{
    direction: ltr !important;
}

#s1{
    overflow: hidden;
    position: relative;
}
/* Create an overlay with the background image */
.section-1::before {
    content: "";
    background-image: url("resources/png/opening.png");
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place the overlay behind the content */
}

/* Define the animation */
@keyframes scaleDown {
    0% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: none;
        opacity: 1;
    }
}


ul {
    list-style: none;
    align-items: center;
    margin-bottom: 2.5%;
    font-size: 16px;
    font-weight: bold;
}

a {
    color: white !important;
    transition: all .3s ease-in-out;
}

.hover-pointer:hover {
    cursor: pointer !important;
}

.hover-color-1:hover {
    color: #362F6F !important;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.g-10 {
    gap: 10px;
}

.glass {
    margin-top: 100px;
    width: 65%;
    height: 314px;
    background: rgba(54, 47, 111, 0.2);
    border-radius: 0 50px 50px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.glass .label {
    font-size: 80px;
    color: white;
    font-weight: 800;
    line-height: 100%;
    padding-left: 25%;
    position: absolute;
    transform: translate(0, -50%) !important;
    top: 50%;
}

.section-2 {
    height: fit-content;
    width: 100%;
    background-color: #171239;
    position: relative;
    padding: 0 220px;
    gap: 100px;
}

.section-2 .side {
    justify-content: initial;
    gap: 20px;
    width: 50%;
    margin-top: 100px;
    margin-bottom: 100px;
}

.section-2 .label {
    font-size: 40px;
    font-weight: 700;
    color: white;
}

.section-2 .sub-label {
    font-size: 28px;
    font-weight: 300;
    color: white;
}

.section-2 .text {
    font-size: 20px;
    font-weight: 300;
    color: white;
}

.section-3 {
    height: fit-content;
    width: 100%;
    background-color: #02010F;
    position: relative;
    padding: 100px 220px;
    color: white;
    gap: 20px;
}

.section-3 .d-flex {
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.section-3 .d-flex .label {
    font-size: 40px;
    font-weight: 700;
}

.section-3 .d-flex .sub-label {
    font-size: 24px;
    font-weight: 300;
    align-items: center;
    display: flex;
    z-index: 3;
}

.section-3 .text {
    font-size: 20px;
    width: 100%;
    font-weight: 300;

}


.section-4 {
    height: fit-content;
    width: 100%;
    background-image: url("resources/png/portfolio.png");
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    padding: 100px 220px;
    gap: 100px;

}

.section-4 .d-flex {
    gap: 20px;
    width: 100%;
    justify-content: space-between;
}

.section-4 .d-flex .label {
    font-size: 40px;
    font-weight: 700;
    color: white;
}

.section-4 .d-flex .sub-label {
    font-size: 32px;
    font-weight: 300;
    color: white;
    letter-spacing: 3px;
}

.section-4 .d-flex .text {
    font-size: 16px;
    font-weight: 300;
    color: white;
    width: 40%;
}

.g-100 {
    gap: 14% !important;
}

.seperator {
    font-size: 80px;
    color: white;
    font-weight: 300;
}

.counter {
    font-size: 60px !important;
    font-weight: 300 !important;
    text-align: center;
}

.text2 {
    width: 100%;
    text-align: start;
    font-size: 16px;
    font-weight: 300;
    color: white;

}

.has-scroll-reveal {
    animation-play-state: paused;
}

.section-5 {
    height: fit-content;
    width: 100%;
    background-color: #02010F;
    position: relative;
    padding: 100px 220px;
    gap: 100px;
}

.section-5 .label {
    color: white;
    font-size: 40px;
    font-weight: 700;
}

.section-5 .d-flex .side {
    width: 50%;
    justify-content: start;
    align-content: center;
    flex-wrap: wrap;
}

.section-5 .d-flex .side .info {
    display: flex;
    flex-direction: column;
    gap: 60px;
    font-size: 24px;
}

.section-5 .d-flex .side .info .item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.section-5 .d-flex .side a {
    text-decoration: none;
}

.section-5 .d-flex .side .text2 {
    color: white;
    font-size: 20px;
    font-weight: 200;
}

.section-5 .d-flex .side .form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.form-label {
    color: white;
    padding-left: 10px;
}

.form-control {
    border-radius: 0 !important;
}

.btn-primary {
    height: 48px;
    border-radius: 0;
    width: 180px;
    border: none;
    margin-top: 5%;
    background-color: #362F6F;
}

.btn-primary:hover {
    height: 48px;
    border-radius: 0;
    width: 180px;
    border: none;
    margin-top: 5%;
    background-color: #8682A9;
}

.btn-primary:active {
    height: 48px;
    border-radius: 0;
    width: 180px;
    border: none;
    margin-top: 5%;
    background-color: #5E598C;
}

.footer {
    width: 100%;
    height: fit-content;
    border-top: 1px solid #362F6F;
    background-color: #02010F;
    padding: 50px 220px;
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.resizable {
    width: 231px;
    height: 192px;
}

.nav-footer {
    align-items: center;
    justify-content: space-between;
    height: fit-content;
}

.footer .nav-footer nav ul {
    margin: 0 !important;
}

.signature {
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: 100;
    gap: 10px;
}

.hidden {
    position: relative;
    margin-top: 60px;
    display: none;
    transition: all .1s ease-in-out;
    scroll-behavior: smooth;
}

.team-label {
    font-size: 32px;
    color: #5E598C;
    margin-bottom: 20px;
}
.d-flex .hidden .scale-down {
    transition: transform 0.5s;
}

#arrow-icon {
    transition: all .3s ease-in-out;
}

#arrow-icon.rotate {
    transform: rotate(180deg); /* Rotate the arrow icon when toggled */
    transition: all .3s ease-in-out;
}

.hidden .d-flex {
    gap: 20px;
}

.hidden .d-flex .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 65%;

}

.hidden .d-flex .left {
    overflow: hidden;
    width: 293px;
    height: 293px;
}

.hidden .d-flex .right .name {
    font-size: 24px;
}

.hidden .d-flex .right .position {
    font-size: 26px;
    font-weight: 600;
}

.hidden .d-flex .right .text {
    font-size: 16px;
}

.pic-hover-scale:hover {
    transform: scale(1.1);
    transition: all .3s ease-in-out;
}

.pic-hover-scale {
    transform: none;
    transition: all .3s ease-in-out;
    width: 100%;
    height: 100%;
    top: 0;
    position: relative;
    object-fit: cover;
    left: 0;
}

.d-flex .card {
    background-color: transparent;
    align-items: start;
    margin-bottom: 100px;
}

.d-flex .card .name {
    font-size: 24px;
}

.d-flex .card .position {
    font-size: 20px;
    font-weight: 600;
}

.d-flex .ellipsis {
    font-size: 16px;
    font-weight: 200;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.col-sm-3 {
    padding: 0;
}

.col-sm-12 {
    padding: 0;
}

.col-lg-3 {
    padding: 0;
}

.col-lg-12 {
    padding: 0;
}

.col-xs-12 {
    padding: 0;
}
.popup {
    display: none;
    background-color: #171239;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    width: 648px !important;
    height: 90%;
    padding: 3%;
    transition: all .3s ease-in-out;
    opacity: 0;
    overflow: hidden; /* Add this line to hide overflowing content */
}

.popup .text {
    max-height: 200px; /* Adjust the height as per your preference */
    overflow-y: auto;
}

.popup .overflow-hidden {
    width: 100%;
    height: 400px; /* Adjust the height as needed */
    position: relative;
}

.popup .overflow-hidden img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 4px; /* Add rounded corners to the image */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

.popup .card{
    gap: 20px !important;
    margin-bottom: 0 !important;
}

.overlay {
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #0000008f;
    display: none;
    transition: all .3s ease-in-out;
    opacity: 0;
}

.popup.d-flex,
.overlay.d-flex {
    opacity: 1; /* When d-flex class is added, set opacity to 1 */
}


.d-tab {
    display: none;
}

.d-cell {
    display: none;
}

.d-desk {
    display: flex;
}


.burger {
    position: fixed;
    top: 0;
    z-index: 9999999;
    left: 0;
    background-color: #171239;
    width: 100%;
    height: 100vh;
    transform: translateX(-100%);
    transition: .3s ease-in-out;
}

.translateX-0 {
    transform: translateX(0);
}

.g-100px {
    gap: 100px;
}

.input-container {
    position: relative;
}
.checkmark-icon i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #418E11;
    opacity: 0;
    transition: opacity 0.3s; /* Add a smooth transition effect */
}

.error-icon i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #AC0606;
    opacity: 0;
    transition: opacity 0.3s; /* Add a smooth transition effect */
}

/* Style required fields that are valid */
input:required:valid {
    border: 2px solid #418E11;
}

input:required:valid + .checkmark-icon i {
    opacity: 1;
}

/* Style required fields that are invalid */
input:required:invalid {
    border: 2px solid #AC0606;
}

input:required:invalid + .error-icon i {
    opacity: 1 !important;
}


.form-control:focus {
    border: 2px solid black;
}
.col-s{
    width: 25% !important;
}


/*TABLETS*/

@media (max-width: 1220px) {
    nav {
        display: none !important;
    }

    .logo-responsive {
        width: 108px;
        height: 89px
    }

    .section-2 {
        padding: 0 100px;
    }
    .section-2 .label {
        font-size: 32px;
    }
    .section-2 .sub-label {
        font-size: 24px;
    }

    .section-3 {
        padding: 100px 100px;
    }
    .section-3 .d-flex .label {
        font-size: 32px;
    }
    .nav {
        padding: 40px 100px;
        align-items: center;
        justify-content: space-between;
    }

    .section-4 {
        padding: 100px 100px;
    }

    .section-4 .d-flex .text {
        width: 90%;
    }

    .section-5 {
        padding: 100px 100px;
    }

    .footer {
        padding: 10px 100px;
    }

    .g-40 {
        gap: 40px;
    }

    .d-tab {
        display: flex !important;
    }

    .d-desk {
        display: none;
    }

    .glass .label {
        font-size: 60px;
    }

    .section-1 {
        background-image: url("resources/png/Pic-tablet.png") !important;
    }
    .section-1::before {
        content: "";
        background-image: url("resources/png/Pic-tablet.png") !important;
        background-size: cover;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1; /* Place the overlay behind the content */
    }
    .b-pad{
        padding: 0 100px;
    }
    .col-s{
        width: 44% !important;
    }
}

/*PHONES*/

@media (max-width: 640px) {
    .section-1 {
        background-image: url("resources/png/Pic.png") !important;
    }
    .section-1::before {
        content: "";
        background-image: url("resources/png/Pic.png") !important;
        background-size: cover;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1; /* Place the overlay behind the content */
    }

    .logo-responsive {
        width: 108px;
        height: 89px
    }

    .d-cell {
        display: flex !important;
    }

    .d-tab {
        display: none ;
    }

    .d-desk {
        display: none;
    }

    .section-2 {
        padding: 80px 32px;
        flex-direction: column;
        gap: 0;
    }

    .section-2 .side {
        width: 100%;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .section-3 {
        padding: 60px 32px;
    }

    .nav {
        padding: 40px 32px;
        align-items: center;
        justify-content: space-between;
    }

    .section-4 {
        padding: 80px 32px;
    }

    .section-5 {
        padding: 80px 32px;
    }

    .glass {
        margin-top: 50px !important;
        background: none;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
    }

    .glass .label {
        padding-left: 32px !important;
    }

    .footer {
        padding: 32px 32px;
    }

    .meet {
        margin-top: 80px;
    }

    .phone-column {
        flex-direction: column;
    }

    .hidden .d-flex .right {
        width: 100%;
    }

    .hidden .d-flex .left {
        width: 100%;
    }

    .section-4 {
        background-image: url("resources/png/portfolio-mobile.png");
    }

    .section-4 .d-flex .text {
        width: 100%;
    }

    .g-100 {
        gap: 20px !important;
    }

    .section-5 .d-flex .side {
        width: 100%;
    }

    .flex-no-column{
        flex-direction: row !important;
    }
    .seperator{
        transform: rotate(90deg)translate(0, -10px);
    }
    .counters{
        flex-direction: column;
        align-items: center;
        gap: 0 !important;
    }
    .center-items{
        align-items: center;
    }
    .nocell{
        display: none !important;
    }
    .b-pad{
        padding: 0 32px;
    }
    .glass-ar .label-ar {
    padding-right: 10% !important;
    }
    .col-s{
        width: 100% !important;
    }
    .popup {
        display: none;
        background-color: #171239;
        position: fixed;
        top: 0;
        left: 0;
        transform: none;
        z-index: 99999;
        width: 100% !important;
        height: 100vh;
        padding: 3%;
        transition: all .3s ease-in-out;
        opacity: 0;
        overflow: hidden;
    }
    .footer .nav-footer nav ul {
    margin: 0 !important;
    align-items: flex-start;
    padding-left: 60px;
    }

    @media (max-width: 430px) {
        .l-more {
            flex-direction: column;
            justify-items: flex-start;
            align-items: start !important;
        }
    }
}




/*ARABIC PART*/

.section-1-ar {
}
.glass-ar{
    border-radius: 50px 0 0 50px;

}
.glass-ar .label-ar{
    padding-left: 7%;
    padding-right: 40%;
    text-align: right;
}
.section-2 .side-ar {
    text-align: right;
}
.t-align-ar{
    text-align: right;
}
.member-more{
    width: 100%;
    display: flex;
    text-align: end;
    align-items: center;
}
.rotate-ar{
    transform: rotate(180deg);
}
.resize-ar{
    transform: translate(50px, 0) scale(0.3);
}