/* General style */
@font-face {
    font-family: "STC Regular";
    src: url("./STC-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Sora, "Sora Placeholder", sans-serif;
    font-style: normal;
    outline: none;
}
html[lang="ar"] *:not(i) {
    font-family: "STC Regular";
}
html[lang="ar"] *:not(i) {
    font-family: "STC Regular" !important;
}

html[lang="ar"] .casco-title {
    margin-bottom: 2rem;
}

html[lang="ar"] .casco-subtitle {
    font-weight: 600;
    font-size: 1.36rem;
    line-height: 2.4rem;
    max-width: 750px;
}

*:focus {
    outline: none !important;
}
html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #fff;
    max-width: 100%;
    overflow-x: hidden;
    color: #233460;
}

.bg-gray {
    background-color: rgb(245, 245, 245);
}
:root {
    --main-color: #0078ff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #233460;
}

section {
    margin-top: 100px !important;
}

.governance-section,
.service-section,
.sustaining-section {
    background-color: #e8e3d9 !important;
    padding: 25px;
    border-radius: 27px;
    margin-top: 150px;
    overflow: hidden;
}

.sustaining-section {
    background-color: transparent !important;
}
.sustaining-section p {
    font-size: 14px;
    margin: 10px;
    padding: 0px 15px;
    font-weight: lighter;
}

.card-column {
    width: 25%;
    transition: width 0.5s ease-in-out;
}
.card-column .card-text {
    height: 0px;
    overflow: hidden;
    transition: height 0.5s ease-in-out;
}
.card-column.actve-project {
    width: 50%;
    transition: width 0.5s ease-in-out;
}
.card-column.actve-project .card-text {
    height: 100%;
}
.hedar-float {
    padding: 10px 0px;
    padding-right: 13px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 40px;
}

a {
    color: #d58900;
    text-decoration: none;
    transition: all 0.5s ease-in-out;
}

ul li {
    list-style: none;
}
.head-text {
    font-size: 20px;
}
.more-text {
    font-size: 20px;
}

.about-left {
    font-size: 26px;
    font-weight: 600;
}
.section-padding {
    padding-top: 4rem;
}

.counter .layer,
.testimonial .layer,
.contact .layer {
    position: absolute;
    top: 0;
    left: 0px;
    padding: 0;
    height: 100%;
    width: 100%;
    opacity: 0.7;
    background-color: var(--main-color);
}

.span-title {
    font-weight: 600;
    color: #1e1e1e;
    font-size: 1.1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.line {
    width: 40px;
    height: 5px;
    background-color: var(--main-color);
    margin: 0 auto;
}

/* start navbar */

.hero {
    border-radius: 27px; /* Adjust this for desired roundness */
    overflow: hidden;
    padding-bottom: 2rem;
}

.rounded-26 {
    border-radius: 26px;
}

.navbar .nav-item:hover {
    background-color: rgba(255, 255, 255, 0);
    --border-color: rgb(255, 255, 255);
    opacity: 1;
    border-radius: 100px;
    will-change: auto;
}
.dropdown .dropdown-menu li a {
    color: #4e4e4e;
}

.navbar-nav .nav-link {
    color: white;
}

.dropdown-item:hover {
    color: #189fff;
}

.dropdown-menu:hover {
    color: #189fff;
}

.navbar .dropdown {
    width: 160px;
}

.dropdown-menu {
    width: 120%;
    border-radius: 0;
}

.navbar .dropdown ul a {
    font-size: 17px;
    /* font-weight: bold; */
    color: #4e4e4e;
    transition: all 0.3s;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
    color: #d58900;
    background-color: transparent;
}

.dropdown:hover > .dropdown-menu,
.dropend:hover > .dropdown-menu {
    display: block;
}
.dropend:hover > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 99%;
}

.navbar a,
.navbar a:active {
    transition: 0.3s;
    letter-spacing: 0.4px;
    position: relative;
    font-size: 17px;
    color: #fff;
}

.navbar .nav-item .active {
    color: #fff;
}

/* .navbar ul li a:before {
  content: "";
  position: absolute;
  top: 95%;
  left: 10px;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: all 0.5s;
  color: #fff;
  opacity: 0;
}

.navbar a:hover:before,
.navbar li:hover > a:before,
.navbar .active:before,
.navbar .nav-item a {
  opacity: 1;
  width: 80%;
  color: #fff;
} */

.navbar-nav .nav-link.active:hover {
    background-color: white;
    color: black;
    font-weight: bold;
    text-align: center;
    padding: 10px 30px;

    transition: background-color 0.3s, color 0.3s;
}

.navbar-nav .nav-link {
    font-size: 16px;
    padding: 10px 30px;
    color: white;
    font-weight: 500;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s;
}

.navbar-nav .nav-link.active {
    background-color: white;
    color: black;
    font-weight: bold;
    text-align: center;
    padding: 10px 30px;
}

.navbar-nav .nav-link:hover {
    background-color: white;
    color: black;
    font-weight: bold;
    text-align: center;
}

.navbar-nav .nav-item:last-child .lang {
    color: orange;
    font-weight: bold;
}

.navbar-toggler {
    border: none;
}

.navbar .navbar-brand {
    color: #fff;
}

/* start header */

header {
    position: relative;
    overflow: hidden;
}

.home-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#home .layer {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.9;
    z-index: 1;
}

.layer2 {
    filter: brightness(75%);
}

.home-content {
    position: relative;
    z-index: 2;
}

.casco-paragraph {
    display: flex;
    justify-content: center;
    align-items: center;
}

.casco-subtitle {
    text-align: center;
    max-width: 600px; /* Optional: limits text width for readability */
}

header h1 {
    font-size: 72px;
    color: #fff;
}

header p {
    color: #fff;
    text-align: center;
}

header .casco-title {
    font-size: 120px;
    font-style: normal;
    font-weight: 800;

    letter-spacing: 0em;
    line-height: 1em;

    text-decoration: none;

    text-transform: none;
}

header .casco-pragraph {
    max-width: 600px;
    position: relative;
    white-space: pre-wrap;
    width: 100%;
    margin: 0 auto;
}

header .casco-subtitle {
    font-family: "Sora", "Sora Placeholder", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0em;
    line-height: 1.3em;
    text-decoration: none;
    text-transform: none;
    text-align: center;
}

/* Add line break after "typical" */
.casco-subtitle::after {
    content: "";
    display: inline-block;
    width: 100%; /* Forces line break */
    height: 0;
}

.framer-r5o205 {
    place-content: flex-start center;
    align-items: flex-start;
    background-color: var(
        --token-906b2625-4f88-4f96-9b84-5bfbfe2136a5,
        #f5f5f5
    );
    border-top-left-radius: 26px;
    bottom: calc(100% + 2rem);
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    /* gap: 12px; */
    height: min-content;
    overflow: visible;
    padding: 10px 10px 0px;
    position: absolute;
    right: 0px;
    width: min-content;
    z-index: 1;
    /* display: none; */
}

.framer-wpurch-container,
.framer-1pwlzxc-container,
.framer-18w5ony-container,
.framer-1rct5dx-container,
.framer-1cps1uy-container,
.framer-foun8u-container {
    flex: none;
    height: auto;
    position: relative;
    width: auto;
}

.framer-bcv4dp,
.framer-bg7h44 {
    flex: none;
    height: 42px;
    left: calc(50.00000000000002% - 42px / 2);
    position: absolute;
    top: calc(50.00000000000002% - 42px / 2);
    width: 42px;
}

.svgContainer svg {
    display: block;
}

.framer-5nvrk0 {
    bottom: -2px;
    flex: none;
    height: 42px;
    left: -40px;
    overflow: hidden;
    position: absolute;
    width: 42px;
    z-index: 1;
}
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
}
.play-overlay svg {
    width: 24px;
    height: 24px;
    fill: white;
}
.image-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}
.image-container img {
    width: 100%;
    height: auto;
    display: block;
}
/* Custom modal styling */
.modal-content {
    background-color: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 12px;
}
.modal-dialog {
    max-width: 900px; /* Adjust to control width */
}
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.7); /* Transparent black background */
}

.custom-card-overlay {
    position: relative;
    border-radius: 27px;
    overflow: hidden;
}

.custom-card-overlay .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* Adds a slight zoom effect on hover */
}

.custom-card-overlay:hover .card-img {
    transform: scale(1.05); /* Zoom effect on hover */
}

.card-title {
    margin-top: 50px;
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 15px;
    color: #f1f1f1;
}
.card-title-news {
    margin-top: 10px;
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 15px;
    color: #545454;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.icon {
    font-size: 1.5rem;
}

.btn-dark {
    background-color: #333;
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    align-self: start; /* Aligns button to the bottom left */
}

.btn-dark:hover {
    background-color: #555;
}

.mt-3 {
    margin-top: 15px; /* Adds space above the button */
}

.custom-card-overlay {
    position: relative;
    border-radius: 27px;
    overflow: hidden;
    height: 350px;
}

.custom-card-overlay {
    /* width: 100%;
  height: 100%; */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-card-overlay:hover {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay covering entire card */
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 15px;
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.icon-arrow {
    min-width: 50px;
    max-height: 50px;
    font-size: 20px;
    color: #1e1e1e;
    background: #fff;
    border-radius: 50%;
    padding: 12px;
    text-align: center;
    cursor: pointer;
}

.see-more-btn {
    /* background-color: #333;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 8px; */
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    transform: none;
    transform-origin: 50% 50% 0px;
    opacity: 1;
}

.see-more-btn:hover {
    background-color: #555;
}

.icon-location {
    font-size: 1rem;
    color: #fff;
}

/* Custom styles */
.header-title {
    font-weight: bold;
    font-size: 2.5rem;
    text-align: center;
    margin-top: 50px;
}
.header-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}
.video-thumbnail,
.video-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    max-width: auto;
    margin: 0 auto;
    max-height: 500px;
    aspect-ratio: 16/9;
}
.video-thumbnail img {
    width: 100%;
    height: auto;
}

.video-frame {
    display: none;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: rgba(55, 27, 14, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.play-button-overlay i {
    color: #ffa500;
    font-size: 2rem;
}

/* Custom styles */
.custom-input,
.custom-textarea {
    height: 50px;
    width: 100%;
    border: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: none;
}

.custom-textarea {
    height: 150px;
}

.custom-input:focus,
.custom-textarea:focus {
    border: none;
    border: 2px solid black;
    outline: none;
    box-shadow: none;
}

/* Style for submit button */
.custom-button {
    background-color: black;
    color: white;
    border: none;
    height: 40px;
    padding: 0 20px;
    box-shadow: none;
}

.custom-button:hover {
    background-color: #ffa500;
    color: white;
}

.contact h2 {
    font-size: 52px;
}

.footer {
    width: 100%;
    height: fit-content;
    background-size: cover;
    background-position: center;
    background-color: #333;
    color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Card Container */

.project-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.2s;
    padding-bottom: 20px;
}

.card-img-container {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 27px;
    border-top-right-radius: 27px;
    padding: 15px;
}
.card-img-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 20px;
    max-height: 300px;
    min-height: 300px;
    object-fit: cover;
}
.card-img-container:hover img {
    transform: scale(1.02);
    filter: brightness(150%);
    cursor: pointer;
}

.favorite-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    padding: 8px;
    color: #000;
    font-size: 2rem;
    cursor: pointer;
}

.card-content {
    padding: 16px;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Price and Arrow Container */
.price-arrow-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space out the price and arrow */
    margin-top: 10px;
}

/* Price Text */
.card-price {
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
    color: #d58900;
}

/* Arrow Button */
.arrow-btn {
    background-color: #000;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
}
/* Blurred Overlay */
.footer-overlay {
    width: 100%;
    height: 100%;
    /* backdrop-filter: blur(8px); */
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 26px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;

    justify-content: center;
    gap: 15px; /* Space between elements */
}

/* Logo Styling */
.footer-logo img {
    width: 100px;
    margin-bottom: 15px;
}

/* Social Media Icons */
.footer-icons a {
    color: white;
    margin: 0 10px;
    font-size: 24px;
    transition: color 0.3s;
}
.footer-icons a:hover {
    color: orange;
}

/* Footer Links */
.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 10px;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: orange;
}

/* Divider Line */
.footer-divider {
    width: 80%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

/* Copyright Section */
.footer-copyright {
    font-size: 12px;
    color: white;
    background-color: #d58900; /* Blue background */
    padding: 8px 15px;
    border-radius: 15px;
    margin-top: 20px;
}

.footer-section {
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    opacity: 1;
    align-content: center;
    align-items: center;
    display: flex;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    height: min-content;
    justify-content: center;
    overflow: hidden;
    padding: 36px 24px;
    position: relative;
    width: 100%;
}

/* Accordion */
.accordion-image {
    height: 550px;
    border-radius: 20px !important;
    object-fit: cover;
}
.accordion-button {
    background-color: #f8f9fa;
    font-weight: bold;
    font-size: 1.2rem;
    border: none;
    border-radius: 15px;
    padding: 1rem;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    transition: background-color 0.3s;
}
.accordion-button:focus {
    box-shadow: none;
}
.accordion-button:not(.collapsed) {
    background-color: #f1f1f1;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    color: #d58900;
}
.accordion-button:not(.collapsed)::after {
    color: #d58900;
}
.accordion-item {
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 0px solid rgb(34, 34, 34);

    border-radius: 20px !important;
}
.accordion-body {
    background-color: #f1f1f1;
    font-size: 1rem;
    color: #333;
    padding: 1rem;
}
.arrow-icon {
    font-size: 1.5rem;
    color: #333;
}
.accordion-button.collapsed .arrow-icon {
    transform: rotate(90deg);
    transition: transform 0.3s;
}

.img-service img {
    border-radius: 30px;
}

/* logos */

@keyframes slides {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 30px 0;
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    content: "";
    width: 250px;
    height: 100%;
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0),
        rgb(255, 255, 255)
    );
}

.logos:after {
    right: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0),
        rgb(255, 255, 255)
    );
}

.logo_items {
    display: inline-flex;
    animation: 10s slides infinite linear;
}

.logos:hover .logo_items {
    animation-play-state: paused;
}

.logo_items img {
    height: 100px;
    width: auto;
}

.brand-image {
    margin-left: 50px !important;
    object-fit: contain;
    filter: grayscale(1);
    width: 200px !important;
    height: 150px !important;
    opacity: 0.7;
}
.brand-image:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

.brand {
    color: #d58900;
    font-weight: 700;
}

.popup-title {
    font-size: 1.5rem !important;
}
@media only screen and (max-width: 800px) {
    .navbar-mod {
        height: fit-content;
        width: calc(100% - 30px) !important;
        background: #1c1c1c;
        position: absolute;
        left: 0;
        top: 0;
        /* color: #000; */
        margin: 15px;
        border-radius: 25px;
        padding: 40px;
        padding-top: 83px;
    }
    .navbar-toggler {
        z-index: 9999;
        background: rgba(0, 0, 0, 0.7);
        padding-top: 14px;
        border-radius: 11px;
        left: 16px;
        top: 16px;
        position: absolute;
    }
    .navbar-toggler-icon {
        color: #fff;
        font-size: 24px;
        line-height: 1;
        vertical-align: middle;
        display: inline-block;
        font-weight: 700;
        background: none;
    }
    .casco-title {
        font-size: 4rem !important;
    }
    .about-left {
        display: none;
    }

    .card-column,
    .card-column.actve-project {
        width: 100%;
        margin-top: 20px;
        height: fit-content;
    }
    .card-column .card-title {
        margin-top: 10px;
    }
    .card-column .card-text {
        overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 5; /* number of lines to show */
        line-clamp: 5;
        -webkit-box-orient: vertical;
    }
    .governance-section > .row {
        flex-direction: column-reverse;
    }

    .accordion-image {
        height: 150px;
        width: 100%;
    }
}

@media (max-width: 1000px) {
    /* Adjust the max-width as needed for your breakpoint */
    .card-overlay {
        zoom: 90%; /* Applies the zoom effect */
    }
}

@media (max-width: 1000px) {
    .card-overlay {
        zoom: 85%;
    }
}

.talent-section .talent {
    background-image: url("../male-worker-with.jpg");
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    border-radius: 30px;
    max-width: 100%;
    margin: 0 auto;
    max-height: 500px;
}
.talent-section .layer {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.9;
    z-index: 1;
    border-radius: 30px;
}

.talent-section .content {
    padding: 20px;
    border-radius: 10px;
    position: relative;
    z-index: 99;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-yellow {
    background-color: #ffc107;
    color: #000;
    border: none;
}

.btn-yellow:hover {
    background-color: #e0a800;
    color: #fff;
}

.footer-address {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .content h2 {
        font-size: 1.2rem;
    }

    .content p {
        font-size: 0.4rem;
    }

    .btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}
