
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*font-family: Arial, sans-serif;*/
    font-family: 'Cairo', sans-serif;;
}
/* Dark Theme Background */
body {
    background-color: #e6e6e6;
    color: #e6e6e6;
    line-height: 1.7;
}
/* Header Section */
header {
    background-color: #fff;
    /*border-bottom: 1px solid #ddd;*/
    height: auto;
    width: 100%;
    margin: 0;
  padding: 0;
  overflow: hidden;
  }
  
  /* Top Bar Styling */
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }
  
  .social-icons i {
    margin-right: 10px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
  }
  
  .social-icons i:hover {
    color: #c29d50; /* Gold hover effect */
  }
  
  .logo img {
    display: flex;
    width: 100%; /* Adjust based on the container size */
    height: auto;
    max-height: 100px;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
  }
  
  .contact-info {
    font-size: 14px;
    color: #333;
  }
  
  .contact-info i {
    margin-right: 5px;
    color: #c29d50; /* Gold for icons */
  }
  
  /* Navigation Styling */
  nav {
    background-color: #1c1e20; /* Dark background */
    margin: 0;
    padding: 0;
    /*position: relative;*/
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 13px 0;
  }
  
  .nav-links li {
    margin: 0 25px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #c29d50; /* Gold text */
    font-weight: bold;
    font-size: 20px;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: #fff; /* White on hover/active */
  }
  
  /* Hamburger Menu Styling */
  .menu-toggle {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    /* top: 5px;
    z-index: 10;   */
  }
  
  .menu-toggle span {
    background-color: #c29d50; /* Match your theme */
    height: 3px;
    width: 25px;
    /* margin: 4px 0; */
    transition: all 0.3s ease-in-out;
  }
  
  /* Responsive Design */
  
  /* Small Screens: Mobile */
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex; /* Enable display for small screens */
    }
  
    .nav-links {
      display: none; /* Initially hidden */
      flex-direction: column; /* Stack links vertically */
      background-color: #0e1217; /* Match the nav background */
      position: absolute;
      /* top: 50px;  */
      width: 100%;
      left: 0;
      /* z-index: 9;
      padding: 10px 0; */
    }
  
    .nav-links.active {
      display: flex; /* Show menu when active */
    }
  
    .nav-links li {
      /* margin: 10px 0; */
      text-align: center;
    }
  }
  
  /* Medium Screens: Tablets */
  @media (max-width: 992px) {
    .top-bar {
      padding: 10px;
    }
  
    .nav-links li {
      margin: 0 10px;
    }
  
    .logo img {
      height: 60px;
    }
  }
  
  /* Large Screens: Desktop */
  @media (min-width: 993px) {
    .menu-toggle {
      display: none;
    }
  }

/* Call to Action */
.cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-phone {
    color: #e0ddd6;
    font-size: 18px;
    text-decoration: none;
}

.cta-phone:hover {
    color: #cf9e27;
}

.cta-email {
    color: #e6e2d9;
    font-size: 18px;
    text-decoration: none;
}

.cta-email:hover {
    color: #cf9e27;
}
.cta-btn {
    background-color: #cf9e27;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #cf9e27;
}
/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    /* Replace with your image URL or video */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    margin-top: 0;
}

/* Dark Overlay for Contrast */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
    text-align: center;
}

/* Headline */
.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* Subheadline */
.hero p {
    font-size: 22px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn-primary {
    background-color: #cf9e27;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-btn-primary:hover {
    background-color:  #cf9e27;
}

.cta-btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid  #c49d43;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-btn-secondary:hover {
    background-color: #cf9e27;
    color: #fff;
}

.language-switcher {
    margin: 0 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 30px;
    transition: background-color 0.2s;
}

.toggle-label .english,
.toggle-label .arabic {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    color: white;
    font-weight: bold;
    transition: opacity 0.2s;
}

.toggle-label .arabic {
    opacity: 0;
}

input:checked + .toggle-label {
    background-color: #4CAF50;
}

input:checked + .toggle-label .english {
    opacity: 0;
}

input:checked + .toggle-label .arabic {
    opacity: 1;
}


/* Featured Properties Section */
.featured-properties {
    padding: 20px;
    background-color: #f9f9f9; /* Optional background color */
}

.container-feature {
    max-width: 1200px; /* Max width for larger screens */
    margin: 0 auto; /* Center the container */
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.properties-grid {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: space-between; /* Space between items */
}

.property-card {
    flex: 1 1 calc(33.333% - 20px); /* Responsive cards */
    margin: 10px; /* Space between cards */
    background-color: #34576a; /* Card background color */
    border: 1px solid #ddd; /* Optional border */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Hide overflow */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Optional shadow */
}
.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.property-card img {
    width: 100%; /* Responsive image */
    height: 300px; /* Maintain aspect ratio */
}

.property-info {
    padding: 15px; /* Padding inside the card */
}

.property-title {
    font-size: 1.2em; /* Title font size */
    margin: 0 0 10px; 
  
    color: #cf9e27;
    text-align: center;

}

.property-price {
    font-size: 1em; /* Price font size */
    color: #ccc; /* Optional color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .property-card {
        flex: 1 1 calc(50% - 20px); /* Two cards per row */
    }
}

@media (max-width: 480px) {
    .property-card {
        flex: 1 1 100%; /* One card per row */
    }
}
/* About Us Section */
.about-us {
    padding: 60px 0;
    background-color: #35586b;
}

.containerabout {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Title */
.section-title {
    font-size: 36px;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* About Us Content */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.about-text {
    width: 60%;
    font-size: 25px;
    line-height: 1.6;
    color: #ccc;
    text-align: justify;
    
}

.about-image img {
    width: 100%;
    max-width: 500px;
    max-height: 350px;
    border-radius: 10px;
    object-fit: cover;
}
 /* start features */
 .out_features{
    background-image: url('../images/back.png'); 
    background-repeat: no-repeat; 
    width: 100%; 
    background-size: cover;
}  
.out_features .h2{
    margin-bottom: 50px;
    font-size: 40px;
    text-align: center;
}  
 .features{
    width: 80%;
    text-align: center;
    margin: auto;
    padding-top: 30px;
}  

.features h2{
    margin-bottom: 50px;
    font-size: 40px;
    text-align: center;
}   
.all-features{
    display: flex;
    justify-content: space-between;
}  
.feature {
    text-align: center;
    width: 30%;
    
    height: 350px;

    padding-top: 15px;
    transition: all 0.25s;
}
.feature i{
    font-size: 50px;
    color: rgb(61, 83, 184);
    margin-bottom: 10px;
}  

.feature h3{
    font-size: 22px;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
    margin-top: 5px;
}  

.feature p{
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 15px;
    line-height: 1.5;
    text-align: justify;
} 
.feature:hover{
    background-color: rgb(238, 230, 234);
    box-shadow: 1px 1px 1px rgb(205, 198, 201);
}

/* End features */

/* start Partner */

/* Styles for the Partners Carousel */
.carousel-container {
    text-align: center; /* Center the title */
    padding: 20px; /* Space around the section */
    background-color: #fff; /* Background for partner section */
    border: 1px solid #ddd; /* Border around the section */
    border-radius: 5px; /* Rounded corners */
}
.partners-carousel {
    position: relative;
    overflow: hidden;
}
.partners-slides {
    display: flex;
    animation: slide 30s linear infinite; /* Adjust duration for speed */
}
.partners-slide {
    min-width: 200px; /* Set width for each logo */
    padding: 10px; /* Space around logos */
    text-align: center;
    margin: 0 50px; /* Add horizontal spacing between slides */
}
.partners-slide img {
    width: 100%; /* Scale images to fit their container */
    max-width: 350px; /* Set max width for logos */
    opacity: 0.8; /* Slight transparency */
}
@keyframes slide {
    0% { transform: translateX(100%); } /* Start from the right */
    100% { transform: translateX(-100%); } /* Move to the left */
}
h2 {
    font-size: 24px; /* Adjust title size */
    margin-bottom: 20px; /* Space between title and carousel */
    color: #333; /* Title color */
}

/* End Partner */

/*Start of featuressss */

.featureContainer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}
.box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 10px;
    width: 45%; /* Adjust width as necessary */
    position: relative;
}
.box h2 {
    font-size: 28px;
    color: #007bff;
    margin-bottom: 10px;
}
.box p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}
.image-container {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: -1;
    opacity: 0.1; /* Faded background image */
}
img {
    width: 100px; /* Adjust size as necessary */
}
/* End of Features*/

.our-team {
    padding: 50px;
    background-image: url('../images/back3.png'); 
    background-repeat: no-repeat; 
    width: 100%; 
    background-size: cover;
}





.statistics{
margin-top: 20px;
background-image: url('../images/Stat4.png');
background-color: rgb(205, 198, 201);
width: 100%;
height: 700px;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;

}


.statistics .dverlay{
    padding-top: 200px;

    background-color: rgbi(0, 0, 0, 100);
    width: 100%;
    height: 100%;

}
.statistics .dverlay h3{

    color: yellow;
    font-size: 70px;
    font-weight: bold;

}

.statistics .dverlay p{

    color: black;
    font-size: 80px;
    font-weight: bold;

}

.our_customers{
    margin-top: 3px;
    background-color: #bdb9cb;
    line-height: 200px;
    border-bottom: 3px solid rgb(234, 125, 97);
}


/* Start Blog */

.jumbotron{
    padding-top: 30px;
   display: flex;
   justify-content: space-between;
}

.jumbotron .blog_info{
    flex: 2;
    
}

.jumbotron .blog_img{
    flex: 1;
    
}

.blog_details p{
    line-height: 2;
    padding: 10px;
}

/* Interactive Map Section */
.interactive-map {
    padding: 60px 0;
    background-color:  #35586b;
}

.containerinter {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Title */
.section-title {
    font-size: 36px;
    color:  #cf9e27;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Location Search Bar */
.map-search {
    text-align: center;
    margin-bottom: 30px;
}

.search-bar {
    width: 60%;
    padding: 10px;
    font-size: 16px;
    border-radius: 25px;
    border: 2px solid #555;
    background-color: #514d4d;
    color: #fff;
    margin-right: 10px;
}

.search-btn {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
    border: none;
    background-color: #ff6600;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #e65c00;
}

/* Map Container */
.map-container {
    position: relative;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .search-bar {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .search-bar {
        width: 90%;
    }
}


/* Footer Section */
.footer2 {
    
    background-color: #1d3b4b;
    color: #f1f1f1;
    font-size: 14px;
}

.containerfooter {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
}

/* Footer Navigation */
.footer2-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

/* Footer Sections */
.footer2-section {
    width: 30%;
}

/* Footer Title */
.footer2-title {
    font-size: 25px;
    font-weight: bold;
    color:  #cf9e27;
    margin-bottom: 20px;
}

/* Footer Links */
.footer2-links {
    list-style: none;
}

.footer2-link {
    display: block;
    color: #e9e4e4;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    font-size: 20px;
}

.footer2-link:hover {
    color: #cf9e27;
}

/* Footer Contact Info */
.footer2-info {
    list-style: none;
}

.footer2-info li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer2-info i {
    margin-right: 10px;
    color: #cf9e27;
}

/* Social Media Links */
.social-links {
    list-style: none;
    display: flex;
}

.social-link {
    color: #e8e3e3;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color:  #cf9e27;
}

/* Footer Bottom */
.footer2-bottom {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-links, .footer-info {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 2rem;
        font-weight: bold;
        background-color: #8a7070;
    }
}


/* Section Title */
.section-title {
    text-align: center;
    margin: 2rem auto;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
}

.section-title h2 .highlight {
    color:#cf9e27;
}

.section-title p {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Modes Container */
.mode {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 2rem;
    background:#34576a;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.mode-1 .mode-content {
    order: 1;
}

.mode-1 .mode-image {
    order: 2;
}

.mode-2 .mode-content {
    order: 2;
}

.mode-2 .mode-image {
    order: 1;
}
.mode:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.mode-content {
    max-width: 50%;
    text-align: left;
    text-align: justify;
}

.mode-content h3 {
    color: #cf9e27;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.mode-content h4 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #9b844f;
}

.mode-content p {
    color: #d6d2c4;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.mode-content ul {
    list-style: none;
    padding-left: 1.5rem;
}

.mode-content ul li {
    position: relative;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.mode-content ul li::before {
    content: "✓";
    position: absolute;
    left: -1.5rem;
    color: #ff6f32;
    font-weight: bold;
}

.mode-image {
    flex: 1; /* Allow image to take available space */
    display: flex;
    justify-content: center; /* Center the image */
    align-items: center; /* Center the image vertically */
}

.mode-image img {
    width: 80%; /* Make image fill the container */
    height: auto; /* Maintain aspect ratio */
    max-height: 500px; /* Limit the maximum height */
    object-fit: cover; /* Ensures the image covers the area appropriately */
    border-radius: 8px; /* Optional: add rounded corners */
}


@media screen and (max-width: 768px) {
    .mode {
        flex-direction: column;
        text-align: center;
    }

    .mode-content, .mode-image {
        max-width: 80%;
    }

    .mode-image img {
        margin-bottom: 1.5rem;
        width: 80%; /* Ensure full width on mobile */
    }

    .mode-content {
        text-align: center;
    }
}

/* Carousel Center Button */
.carousel-center-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Ensure the button is above the carousel items */
  }
  
  .carousel-center-button .btn {
    padding: 15px 30px;
    font-size: 24px;
    font-weight: bold;
    background-color: transparent; /* Semi-transparent blue background */
    border: 2px solid #d7bd2a; /* Solid blue border */
    border-radius: 10px;
    color: #fff; /* White text */
    text-decoration: none;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
  }
  
  .carousel-center-button .btn:hover {
    background-color: rgba(146, 135, 54, 0.5); /* Slightly darker blue on hover */
    border-color: #a29018; /* Darker blue border on hover */
  }

