/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cairo;
}

/* Apply Poppins font to entire website */
html, body, p {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 20px 0;
    color: white;
}

.header-container {
    display: flex;
    justify-content: space-between; /* Space out the items */
    align-items: center;
    padding: 0 6rem;
    width: 100%;
}

.logo {
    flex: 0 1 auto; /* Prevents logo from growing */
}

.logo img {
    width: 200px;
}

.navbar {
    flex: 1 0 auto; /* This will take up the available space between the logo and other elements */
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.navbar ul li {
    margin: 0 10px;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.2px;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding-bottom: 5px;
    display: inline-block;
}

.navbar ul li.active a {
    color: white;
    border-bottom: 3px solid rgba(177, 159, 81, 1);
}

.navbar ul li a:hover {
    color: #b19f51; /* Hover color */
}

.language-selector {
    flex: 0 1 auto; /* Prevents language selector from growing */
    display: inline-block;
}

.language-btn {
    background-color: #f0a500; /* Gold color */
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.lang-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.lang-text {
    margin-right: 10px;
}

.dropdown-arrow {
    font-size: 1.2rem;
    margin-left: 5px;
}

.language-btn:hover {
    background-color: #B19F51; /* Darker gold on hover */
}

.language-selector .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    z-index: 1;
}

.language-selector:hover .dropdown-menu {
    display: block;
}

.language-selector .dropdown-menu a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
}

.language-selector .dropdown-menu a:hover {
    background-color: #f0a500;
    color: white;
}



/* Text inside the slider */
.text {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 50%;
    color: #fff;
    z-index: 10;
}

.head-slider {
    font-size: 55px;
    font-weight: 600;
    line-height: 70px;
    letter-spacing: 0.2px;
}

.text-slider {
    font-size: 25px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0.2px;
}

/* Navigation styles */
.navigation, .slider-control {
    position: absolute;
    direction: ltr;
    width: 100%;
    display: flex;
    justify-content: end;
    transform: translateY(-50%);
}



/*button:hover {*/
/*    background-color: rgba(0, 0, 0, 0.7);*/
/*}*/

/* About Us Section */
.about-us {
    align-items: center;
    padding: 60px 10rem;
    text-align: right;
}
.about-content
{
    max-width: 50%;
}
 .investment-content {
    max-width: 50%;
    padding-left: 40px;
    padding-right: 40px;
}

.about-content h2, .investment-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}
.investment
{
    font-weight: bold;
    font-size: 30px;
}
.investment-content p  {
    color: #101428;
    font-weight: 400;
    line-height: 2;
    margin-bottom: 30px;
}
.about-content p , .dynamic
{
    color: #101428;
    font-size: 20px;
    font-style: normal;
    align-self: stretch;
    line-height: 2;
}

.projects {
    padding: 50px;
    background-color: #f4f4f4;
}
.saudiprojects h2
{
    text-align: center;
    color: #101428;
    font-size: 45px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.projects h3 {
    color: #FFF;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 36px; /* 120% */
}
.project-p
{
    color: #101428;
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.projects-body {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */

}

.projects-container {
    display: flex;
    gap:10px;
    margin-bottom: 50px;
    margin: 0 auto;
}

.project-card {

    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 1rem; /* Add some padding for the content */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    height: auto; /* Make height flexible */
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.read-more-btn {
    background-color: #f0a500;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}



.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.about-us-text {
    color: #101428;
    text-align: center;
    font-size: 45px;
    font-weight: 600;
}

.who {
    color: #101428;
    text-align: center;
    font-size: 30px;
    font-weight: 400;
}

/* Footer styles */
.footer {
    background-image: url('../images/matthew.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px 100px;
    text-align: center;
}

.footer-content {
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 30%;
}

.footer-logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 1rem;
    color: #f0a500;
}

.footer-description {
    max-width: 50%;
    font-size: 1rem;
    color: #ddd;
    text-align: center;
}

.footer-mailing-list {
    max-width: 30%;
}

.footer-mailing-list h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #f0a500;
}

.subscribe-form {
    display: flex;
}

.subscribe-form input {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    width: 80%;
}

.subscribe-form button {
    background-color: #f0a500;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe-form button:hover {
    background-color: #e08d00;
}

.footer-social .social-icon {
    margin: 0 10px;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.footer-social .social-icon:hover {
    color: #f0a500;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

/* Mailing List Section */
.mailing-list {
    background-color: #333;
    color: white;
    padding: 50px 100px;
    text-align: center;
}

.mailing-list-container {
    max-width: 600px;
    margin: 0 auto;
}

.mailing-list h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #f0a500;
}

.subscribe-form {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.subscribe-form input {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 30px 0 0 30px;
    width: 70%;
    margin-right: 10px;
}

.subscribe-form button {
    background-color: #f0a500;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #e08d00;
}

.subscribe-form .button-text {
    margin-right: 10px;
}

.subscribe-form .arrow-icon {
    font-size: 1.2rem;
}

.subscribe-form input:focus, .subscribe-form button:focus {
    outline: none;
}

/* Slider Styles */
.slider-container {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;

}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.card {

    background-color: #fff;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    border:0px solid rgba(0,0,0,.125);

}

.card-color
{
    background: rgba(177, 159, 81, 0.11);
}

.card svg {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.card h5 {
    font-size: 24px;
    margin-bottom: 15px;
}

.card p {
    font-size: 16px;
    text-align: left;
}

/* Controls for slider navigation */
.controls {
    display: flex;
    justify-content: center;
}

.control-button {
    background-color: #B19F51;
    border: none;
    padding: 10px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.control-button:disabled {
    background-color: #ccc;
}

/* Card Text */
.card-text {
    font-size: 14px;
}

.card-title {
    font-size: 16px;
}

/* Core Section */
.core {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.diverse {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
}
.slide {
    position: relative;
    width: 100%;
    height: auto;
}
.slider > .card > img {
    width: 60px;
    height: auto;  /* Maintain aspect ratio */
}


.projects {
    padding: 50px;
    background-color: #f4f4f4;
}
.projects h2
{
    text-align: center;
    color: #101428;

    font-size: 45px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.projects h3 {
    color: #FFF;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 36px; /* 120% */
}
.project-p
{
    color: #101428;
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.projects-body {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */

}

.projects-container {
    display: flex;
    gap:10px;
    margin-bottom: 50px;
    margin: 0 auto;
}

.project-card {

    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 1rem; /* Add some padding for the content */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    height: auto; /* Make height flexible */
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 10px;
    position: relative;
}

.project-status {
    background-color: #B19F51;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}



.all-projects-btn {
    border-radius: 50px;
    background: #B19F51;
    color: white;
    padding: 15px 30px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.all-projects-btn:hover {
    background-color: #b19f51;
}

.previous-project
{
    background-image: url(../images/project2.jpg);
    background-size: cover;
}
.current-project
{
    background-image: url(../images/project1.jpg);
    background-size: cover;
}

.new-project
{
    background-image: url(../images/project3.jpg);
    background-size: cover;
}

.teaching-project
{
    background-image: url(../images/project4.jpg);
    background-size: cover;
}

.al-sami-catering
{
    background-image: url(../images/project7.jpg);
    background-size: cover;
}
.uniform_division
{
    background-image: url(../images/project8.jpg);
    background-size: cover;
}
.ai_technology
{
    background-image: url(../images/project9.jpg);
    background-size: cover;
}
.compound-project
{
    background-image: url(../images/project5.jpg);
    background-size: cover;
}

.industrial-project
{
    background-image: url(../images/project6.jpg);
    background-size: cover;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.investment-properties {
    text-align: center;
    margin: 50px 0;
    padding: 50px;
}

.section-title {
    font-size: 45px;
    color: #101428;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.card-container {
    display: flex;
    gap:10px;
    justify-content: center;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
}

.card-image {

    border-radius: 8px;
    object-fit: cover;
}

.card-content {
    padding: 10px;
    text-align: right;
}

.card-content h3 {

    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    text-transform: capitalize;
}

.card-properties
{
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.08);
}

.services-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    padding-left: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #101428;
}

.section-subtitle {
    margin-bottom: 50px;
    color: #101428;
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.services-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    justify-items: center;
    display: flex;
    justify-content: center;
}

.services-container img
{
    height: 40px;
    width: 40px;
}
.services-container h3
{
    font-size: 23px;
}

.service-card {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #101428;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.read-more-btn {
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 14px;
    border-radius: 50px;
    background: #B19F51;
}


.read-more
{
    color: #B19F51;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
}
.contact-us p
{
    color: #7D7D7D;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}
.contact-us h1
{
    font-weight: bold;
}
.hero-image img {
    width: 100%;
    object-fit: cover; /* Ensures the image covers the entire section without stretching */
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-text-head {
    font-size: 3rem !important;
}


.logo img {
    width: 200px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.active-link
{
    border-bottom: 4px solid #b19f51;
}
.head-join-us
{
    color: #101428;
    text-align: center;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
a:hover {
    color: transparent;
    text-decoration: underline;
}
.services-section a:hover , .contact-us a:hover
{
color: #B19F51;
}

.upload-container {
    text-align: center;
}

.upload-box {
    border-radius: 12px;
    border: 1px dashed #B19F51;
    background: #FFF;
    padding: 20px;
    width: 100%;
    text-align: center;
    display: inline-block;
    margin-bottom: 20px;
}

.upload-label {
    color: #d4b913;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-icon {
    font-size: 20px;
    margin-right: 10px;
}

.upload-text {
    font-weight: 600;
    color: #B19F51 !important;
}
.submit-svg
{
    border-radius: 18px;
    background: #FFF;
    display: flex;
    width: 36px;
    height: 36px;
    padding: 9px;
    justify-content: center;
    align-items: center;
}
.upload-input {
    display: none;
}

.send-button {
    background-color: #d4b913;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.send-button .send-icon {
    font-size: 20px;
    margin-right: 10px;
}



.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding-bottom: 5px;
}

.navbar ul li a:hover {
    color: #b19f51;
}


.active-link {
    display: block;
    border-bottom: 4px solid #b19f51;
    padding-bottom: 5px;
}

.navbar ul li a {
    display: block; /* Makes the anchor fill the li */
    padding: 7px 7px; /* Adds space */

}




.language-selector {
    position: relative;
    color: white;
}

.language-btn {
    background-color: #B19F51;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.lang-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
}

/* Hero Section */
.hero-section {
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #000;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 233.333% */
    letter-spacing: 0.2px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    text-align: center;
}

.mobile-menu ul li a:hover {
    color: #f0a500;
}




#close-menu
{
    opacity: 0;
}


.footer-heading
{
    color: #B19F51;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 25px; /* 104.167% */
}
.btn-subscribe
{
    align-items: center;
    gap: 8px;
    border-radius: 90px;
    background: #B19F51;
    position: absolute;
    top: 0;
    right: 0;
}
.svg-icon
{
    border-radius: 18px;
    background: #FFF;
    width: 36px;
    height: 36px;
    padding: 11px;
    justify-content: center;
    align-items: center;
}

#close-menu {
    opacity: 0; /* Set initial opacity */
    transition: opacity 0.3s ease;
}
.projects
{
    padding: 2px;
}
.project-card {
    padding: 1rem; /* Add padding inside each card */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: auto;
}



.email-input
{
    width: 100%;
    text-align: right;
    position: relative;
    padding: 10px;
    border-radius: 40px;
    font-size: 16px;
    margin-right: 10px;
    padding-right: 40px;
}
.subscribe-button
{
    align-items: center;
    gap: 10px;
    padding-right: 20px !important;
    border-radius: 90px;
    background: #B19F51;
    padding: 5px;
    position: absolute;
    left: 0%;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    top: 0;
}

.subscription-container {
    position: relative;

}

.subscribe-button:hover {
    background-color: #8b7b56;
}

.subscribe-button:focus {
    outline: none;
}


#core {
    text-align: center;
}

.core {
    font-size: 2em;
    font-weight: bold;
}

.diverse {
    font-size: 1.2em;
    color: #888;
}

.owl-carousel .card {
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    background: rgba(177, 159, 81, 0.11);
    text-align: left;
    min-height: 25rem;
}



.owl-carousel .card h5 {
    font-size: 1.5em;
    margin-top: 15px;
    color: #333;
    text-align: right;
}

.owl-carousel .card p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    text-align: right;
}

.owl-carousel .owl-nav {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.owl-carousel .owl-prev,
.owl-carousel .owl-next {
    background-color: #B19F51;
    border-radius: 50%;
    padding: 10px;
    color: white;
    font-size: 1.5em;
    margin: 0 10px;
}

.owl-carousel .owl-prev:hover,
.owl-carousel .owl-next:hover {
    background-color: #9E8C47;
}

.image-card-svg {
    width: 60px !important;
    height: auto;
}

/* Owl Carousel Styles */
.owl-carousel .item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Slider Control (Prev & Next Buttons) */
.slider-control {
    position: absolute;
    bottom: 0%;
    width: 100%;
    display: flex;

    transform: translateY(-50%);
    z-index: 10;
}

.slider-control button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Owl Carousel Styles */
.owl-carousel .item img {
    width: 100%;
    height: 100vh;
    display: block;
    object-fit: cover;
}

.slider-nav {

    width: 100%;
    display: flex;
    justify-content: center;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-nav button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}



.slider-nav button svg {
    width: 40px;  /* Adjusted size of SVG arrows */
    height: 40px; /* Adjusted size of SVG arrows */
    transition: fill 0.3s ease;
}

.project-paragraph
{
    color: #101428;
    font-size: 22px;
    font-weight: 400;
    line-height: normal;
}
.project-head
{
    color: #101428;
    font-size: 34px;
    font-weight: 600;
    line-height: normal;
}


.form-container {
    max-width: 600px;
    margin: 50px auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: right;
}


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-size: 14px;
    display: flex;
    border-radius: 12px;
    border: 1px solid #E3E3E3;
    background: #FFF;
    padding: 8px 21px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.form-group input[type="file"] {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
}

.submit-btn {
    padding: 7px 71.941px 7px 7px;
    align-items: center;
    gap: 29.939px;
    margin: 0 auto;
    color: white;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 28px;
    border: 1px solid #B19F51;
    background: #B19F51;
}
.hero-content {
    position: absolute;
    top: 50%;
    right: 0;
    text-align: right;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 10;
}

.hero-content h1 {
    font-size: 65px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 25px;
    font-weight: lighter;
    line-height: 1.9rem;
}


.subscription-container {
    font-size: 16px;
}

.email-input {
    font-size: 14px;
}

.subscribe-button {
    font-size: 14px;
}
.location
{
    margin-left: 1.5rem;
}

.mobile-slider , .mobile-slider-p
{
    display: none;
}
.border-radius-about-image
{
    border-radius: 0px 160px 20px 0px !important;
}

@media (max-width: 768px) {
    .mobile-slider-p
    {
        display: block;
    }
    .mobile-slider
    {
       display: block;
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 30px; /* 107.143% */
        letter-spacing: 0.2px;
    }
    .mobile-slider-p
    {
        text-align: center;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px; /* 133.333% */
        letter-spacing: 0.2px;
    }
    .hero-text {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        text-align: center;
    }
    .read-more
    {
        font-size: 14px;
    }
    .services-section
    {
        padding: 60px 40px;
    }
    .services-container h3
    {
        font-size: 20px;
    }
    .services-container p
    {
        font-size: 14px;
    }
    .section-title
    {
        font-size: 24px;
    }
    .section-subtitle
    {
        font-size: 14px;
    }
    .projects h2
    {
        font-size: 24px;
    }
    .project-p
    {
        font-size: 14px;
    }
    .card-content h3
    {
        font-size: 20px;
    }
    .projects-body
    {
        font-size: 12px;
    }
    .header-container
    {
        padding: 0px 2rem;
    }
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        z-index: 2;
        text-align: center; /* center the text inside */
    }
    a {
        color: #ffffff;
        text-decoration: none;
        background-color: transparent;
    }
    a:hover {
        color: #fff;
        text-decoration: underline;
    }
    .about-us-text
    {
        font-size: 30px;
    }
    .who
    {
        font-size: 14px;
    }
    .about-content p, .dynamic {
        color: #101428;
        font-style: normal;
        align-self: stretch;
        line-height: 2;
        font-size: 12px;
    }
    .read-more-btn
    {
        padding: 10px 20px;
        display: block; /* Make the button block-level */
        margin-left: auto; /* Push it to the right */
        margin-right: auto; /* Push it to the left */
        width: auto; /* Adjust width */
    }



    .owl-carousel .item img
    {
        height: 50vh;
    }
    .hero-content h1 {
        font-size: 25px;
        margin-bottom: 10px;
        text-align: center;
        font-family: Poppins;
        font-style: normal;
        font-weight: 600;
        line-height: 30px; /* 107.143% */
        letter-spacing: 0.2px;
    }

    .hero-content p {
        font-size: 13px;
        text-align: center;
        font-style: normal;
        font-weight: 400;
        line-height: 16px; /* 133.333% */
        letter-spacing: 0.2px;
    }
    .slider-nav button svg {
        width: 30px;
        height: 30px;
    }
    .slider-control button svg {
        width: 20px; /* Adjusted size for mobile */
        height: 20px; /* Adjusted size for mobile */
    }
    .owl-carousel .card {
        margin: 5px;
    }

    .header-container {
        /*flex-direction: column;*/
        text-align: center;
    }

    .logo img {
        width: 150px;
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .about-us {
        padding: 0px 20px;
    }

    .about-content, .investment-content {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-image img {
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .card {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer {
        padding: 20px;
    }

    .footer-logo {
        max-width: 100%;
        text-align: center;
    }

    .footer-description, .footer-mailing-list {
        max-width: 100%;
        margin-top: 20px;
    }

    .subscribe-form input {
        width: 70%;
    }

    .footer-social {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .footer-social .social-icon {
        margin: 0 10px;
    }
    .navbar ul , .language-selector {
        display: none;
    }

    .language-selector-mobile {
        position: relative;
        color: white;
    }

    .language-btn-mobile {
        background-color: #B19F51;
        color: white;
        padding: 10px 30px;
        border: none;
        border-radius: 25px;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .lang-icon-mobile {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
        z-index: 3;
    }
    #close-menu
    {
        z-index: 99999;
    }
    .language-selector
    {
        padding-bottom: 20px !important;
    }
    .hero-text-head
    {
        font-size: 22px !important;
    }
    .hero-text h1
    {
        font-size: 25px;
    }
    .hero-image {
        width: 100% !important;
        height: 85% !important;
        object-fit: cover;
    }
    .hero-image img {
        width: 100% !important;
        height: 30vh !important;
        object-fit: cover;
    }
    #close-menu {
        position: absolute; /* Absolute positioning */
        top: 0;             /* Align to the top */
        right: 0;           /* Align to the right */
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-heading {
        font-size: 1.2rem;
    }

    .footer p {
        font-size: 0.9rem;
    }

    .footer-social .social-icon {
        font-size: 1.2rem;
    }
    .core {
        line-height: 0.5px;
    }
    .services-container
    {
        gap: 30px;
    }
    .project-paragraph
    {
        font-size: 16px;
        text-align: center;
    }
    .web-slider
    {
        display: none;
    }

}








.project-name-tooltip .description {
    color: #666;
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
}

.marker:hover .project-name-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(15%, -20%);
}

.city-label {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent white background */
    color: white; /* Dark text for readability */
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem; /* Small font size for labels */
    white-space: nowrap;
    transform: translate(-50%, -50%); /* Center the label */
    pointer-events: none; /* Labels shouldn't block interaction */
    font-weight: 500;
    text-align: center;
    line-height: 1;
}

/* Project Status Guide/Legend Styling */
.legend-container {
    border-radius: 4px;
    font-size: 0.8rem; /* Small font size for labels */
    white-space: nowrap;
    pointer-events: none; /* Labels shouldn't block interaction */
    font-weight: 500;
    text-align: center;
    line-height: 1;
}


.legend-items {
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem; /* Small font size for labels */
    white-space: nowrap;
    pointer-events: none; /* Labels shouldn't block interaction */
    font-weight: 500;
    text-align: center;
    line-height: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.legend-item {
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem; /* Small font size for labels */
    white-space: nowrap;
    pointer-events: none; /* Labels shouldn't block interaction */
    font-weight: 500;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legend-color-box {
    display: inline-block;
    width: 20px; /* Slightly larger for visibility in legend */
    height: 20px;
    background-color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem; /* Small font size for labels */
    white-space: nowrap;
    pointer-events: none; /* Labels shouldn't block interaction */
    font-weight: 500;
    text-align: center;
    line-height: 1;
    margin-right: 10px;
}

.saudiprojects{
    background-color: #f4f4f4;
    padding: 40px 0;
}

.map-container {
    position: relative;
    width: 60%;
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 0.5rem;
}
.map-section {
    padding: 2rem 0;
    background-color: #ffffff;
}

@media (max-width: 480px) {
    .map-container {
        width: 98%;
        margin: 1rem auto;
    }
}


#saudi-map {
    display: block; /* Removes extra space below the SVG element */
    width: 100%; /* Makes the SVG responsive within its container */
    height: auto; /* Maintains the aspect ratio of the SVG */
    /* The original SVG fill color from your file (`#6f9c76`) is preserved */
}

/* Basic styling for the SVG paths (regions of the map) */
#saudi-map path {
    stroke: #ffffff; /* Original stroke color from your SVG */
    stroke-width: .5; /* Original stroke width from your SVG */
    transition: fill 0.3s ease; /* Smooth transition for hover effects on regions */
}

/* Optional: Hover effect for SVG paths (regions) */
#saudi-map path:hover {
    fill: #C8BB83; /* Slightly different shade on hover for visual feedback */
}

/* Overlays for markers and labels to control their z-index and positioning */
.overlay {
    position: absolute; /* Positioned relative to the .map-container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows clicks to pass through to the SVG elements below */
}

.markers-overlay {
    z-index: 10; /* Markers appear above map and labels */
}

.labels-overlay {
    z-index: 8; /* Labels appear above map but below markers */
}

.marker {
    position: absolute; /* Positioned relative to its overlay */
    width: 50px; /* Size of the pin icon SVG */
    height: 50px;
    transform: translate(-50%, -85%); /* Centers the pin icon, with its point at the coordinate */
    cursor: pointer; /* Changes cursor to a pointer on hover */
    pointer-events: all; /* Allows interaction (clicks, hovers) with the marker */
    transition: transform 0.2s ease; /* Smooth scale transition on hover */
}

.marker:hover {
    transform: translate(-50%, -85%) scale(1.3); /* Scales the pin icon up on hover */
    z-index: 999;
}

.marker svg {
    width: 100%;
    height: 100%;
    display: block; /* Ensure SVG takes full space */
    /* Pin icon fill color */
    fill: #B19F51; /* Default white fill for the pin icon */
    stroke: #ffffff;
    stroke-width:0.6;
    filter: drop-shadow(0 15px 10px rgba(0, 0, 0, 0.3));
}

/* Marker specific colors for the pin background circle */
/* This color will be applied to the circle around the white pin if you chose to add one
   within the SVG itself, or just to the overall marker container.
   For a purely white pin, the background color would be outside the SVG path.
   Here, I'm setting the `background-color` of the `.marker` div.
*/



.project-name-tooltip {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 200px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 1000;
}



.project-name-tooltip.visible {
    opacity: 1;
    visibility: visible;
}

.project-name-tooltip a {
    text-decoration: none;
    color: inherit;
    display: block;
}

@media (max-width: 768px) {
    .project-name-tooltip {
        width: 240px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .project-name-tooltip {
        width: 200px;
        padding: 10px;
    }
}

.marker:hover .project-name-tooltip {
    opacity: 1;
    visibility: visible;
}

.marker[data-position="top"] .project-name-tooltip {
    bottom: -100px;
    transform: translate(-50%, 100%);
}

.marker[data-position="bottom"] .project-name-tooltip {
    top: -100px;
    transform: translate(-50%, -100%);
}

@media (max-width: 768px) {
    .project-name-tooltip {
        width: 160px;
        padding: 8px;
    }
}

.project-name-tooltip img {
    width: 100%;
    height: 25%;
    margin-bottom: 8px;
    object-fit: cover;
    border-radius: 4px;
}

.project-name-tooltip .title {
    color: #333;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property */
    -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
    .project-name-tooltip .title {
        font-size: 0.8rem;
    }
}

.project-name-tooltip .description {
    color: #666;
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
}

.marker:hover .project-name-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(15%, -20%);
}

.city-label {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent white background */
    color: white; /* Dark text for readability */
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem; /* Small font size for labels */
    white-space: nowrap;
    transform: translate(-50%, -50%); /* Center the label */
    pointer-events: none; /* Labels shouldn't block interaction */
    font-weight: 500;
    text-align: center;
    line-height: 1;
}

/* Project Status Guide/Legend Styling */
.legend-container {
    border-radius: 4px;
    font-size: 0.8rem; /* Small font size for labels */
    white-space: nowrap;
    pointer-events: none; /* Labels shouldn't block interaction */
    font-weight: 500;
    text-align: center;
    line-height: 1;
}


.legend-items {
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem; /* Small font size for labels */
    white-space: nowrap;
    pointer-events: none; /* Labels shouldn't block interaction */
    font-weight: 500;
    text-align: center;
    line-height: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.legend-item {
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem; /* Small font size for labels */
    white-space: nowrap;
    pointer-events: none; /* Labels shouldn't block interaction */
    font-weight: 500;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legend-color-box {
    display: inline-block;
    width: 20px; /* Slightly larger for visibility in legend */
    height: 20px;
    background-color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem; /* Small font size for labels */
    white-space: nowrap;
    pointer-events: none; /* Labels shouldn't block interaction */
    font-weight: 500;
    text-align: center;
    line-height: 1;
    margin-right: 10px;
}

.saudiprojects{
    background-color: #f4f4f4;
    padding: 40px 0;
}



