/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
   
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
   width: 100%;
 
    
}

@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        padding: 0 15px; /* Add some padding if needed */
    }

    /* Adjust sections and elements to fit mobile */
    .section {
        width: 100%;
        padding: 20px 10px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

::selection {
    /* Change highlight background color to black */
    background: #000;
    /* Change highlight text color to red */
    color: #c89c13;
  }

  /* .text-background-1{ */
    /* Change highlight background color to black */
    /* background: #000; */
    /* Change highlight text color to red */
    /* color: #c89c13;
    padding: 1px 1px 1px 1px;
    padding-top: -5px;
  } */


/* No background navbar */
.no-background-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 20px;
    background-color: transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index:1000;
}

.navbar-logo img {
    height: 70px; /* Adjust logo size */
    margin-left: -40px;
}

.no-background-navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.no-background-navbar ul li {
    margin: 0 10px;
    position: relative; /* Necessary for dropdown */
}

.no-background-navbar ul li a {
    text-decoration: none;
    color: white; /* Menu items are white */
    font-size: 10px;
    font-weight: normal;
    text-transform: uppercase;
    transition: color 0.3s ease;
    letter-spacing: 2px;
}

/* Add an arrow icon to the dropdown menu items */
.no-background-navbar ul li.dropdown > a::after {
    content: " ▼"; /* Add a downward arrow */
    font-size: 10px;
    margin-left: 5px; /* Space between text and arrow */
    color: white; /* Set arrow color */
    vertical-align: middle;
    transition: transform 0.3s ease; /* Smooth transition for arrow */
}

/* Change arrow direction when hovering over the dropdown */
.no-background-navbar ul li.dropdown:hover > a::after {
    transform: rotate(180deg); /* Rotate the arrow when hovered */
}

/* Dropdown Menu Styles */
.no-background-navbar ul li > ul.dropdown-menu {
    visibility: hidden; /* Hide dropdown initially */
    opacity: 0; /* Make dropdown invisible initially */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white; /* White background for dropdown */
    min-width: 400px; /* Increased width for dropdown */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Optional shadow for dropdown */
    z-index: 999;
    padding: 15px; /* Padding inside the dropdown */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns layout */
    gap: 10px; /* Space between columns */
    transform: translateY(50px); /* Start further below parent (50px shift downwards) */
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease-out, visibility 0.8s ease-out; /* More obvious transition */
}

/* Show dropdown on hover */
.no-background-navbar ul li:hover > ul.dropdown-menu {
    visibility: visible; /* Make dropdown visible */
    opacity: 1; /* Fade in the dropdown */
    transform: translateY(0); /* Slide up into position */
}

/* Style the dropdown items */
.no-background-navbar ul li > ul.dropdown-menu li {
    display: block;
}

/* Left Column for Subsidiaries */
.no-background-navbar ul li > ul.dropdown-menu .left-column {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between items */
}

/* Right Column for Subsidiaries */
.no-background-navbar ul li > ul.dropdown-menu .right-column {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between items */
}

/* Style the dropdown items */
.no-background-navbar ul li > ul.dropdown-menu li a {
    color: rgba(0, 0, 0, 0.7); /* Default text color for dropdown items */
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

/* Change background and text color on hover of dropdown items */
.no-background-navbar ul li > ul.dropdown-menu li a:hover {
    background-color: white; /* White background on hover */
    color: rgba(0, 0, 0, 0.2); /* Text color on hover */
}

/* Optional: Add a smooth transition effect */
.no-background-navbar ul li > ul.dropdown-menu li a {
    transition: background-color 0.3s, color 0.3s; /* Smooth background and text color transition */
}

/* GET IN TOUCH Button Styles */
.navbar-contact-btn {
    margin-left: -20px; /* Push the button to the right */
    padding: 0 20px;
}

.navbar-contact-btn a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #b8a248; /* Button background color */
    color: #0c3a2c; /* Button text color */
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Button Hover Effect */
.navbar-contact-btn a:hover {
    background-color: #ffffff; /* Darker blue on hover */
}

/* Hide Button on Mobile Screens */
@media (max-width: 768px) {
    .navbar-contact-btn {
        display: none; /* Hide the button on mobile */
    }
}

/* Mobile Navbar */
.mobile-navbar {
    display: none; /* Ensure mobile navbar is displayed */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    z-index: 999;
    overflow:none;
}

.mobile-navbar-container {
    display: flex;
    justify-content: space-between; /* Distribute logo and toggle button at opposite ends */
    align-items: center;
    padding: 10px 20px;
    width: 100%; /* Ensure container takes full width */
    box-sizing: border-box; /* Prevents overflow */
}

.mobile-logo-img {
    height: 75px;
}

/* Toggle button styles */
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 30px;
    color: #c7ac4a;
    cursor: pointer;
    position: absolute;
    right: 20px; /* Ensure it's positioned at the right edge */
    z-index: 1000; /* Ensure it stays on top of other elements */
}


/* Mobile Menu */
.mobile-menu {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: -250px; /* Slide-in effect from left */
    width: 250px;
    height: 100%; /* Full height for scrollable menu */
    background-color: #74743c;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 998;
    overflow-y: auto; /* Enable scrolling when content exceeds section height */
}

/* Styling for the scrollbar */
.mobile-menu::-webkit-scrollbar {
    width: 8px;
}

.mobile-menu::-webkit-scrollbar-thumb {
    background-color: #0c3a2c; /* Customize scrollbar color */
    border-radius: 4px;
}

.mobile-menu::-webkit-scrollbar-thumb:hover {
    background-color: #315033; /* Color on hover */
}
/* Show mobile menu when open */
.mobile-menu.open {
    display: block;
    left: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 60px;
}

.mobile-menu ul li {
    position: relative;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 12px 20px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.mobile-menu ul li a:hover {
    background-color: #0c3a2c;
}

/* Dropdown styles */
.dropdown-content {
    display: none; /* Hide dropdown content initially */
    background-color: #315033;
    padding: 10px 0;
}

.dropdown-content li a {
    color: #ddd;
    padding: 8px 30px;
}

.dropdown-content li a:hover {
    background-color: #666;
}

/* General styles for dropdown content */

/* Nested dropdown background color (darker shade of #315033) */
.dropdown-content .dropdown-content {
    background-color: #243922; /* Darker shade of #315033 */
    padding-left: 20px; /* Optional: Indent nested items for clarity */
}

/* Styling for nested dropdown links */
.dropdown-content .dropdown-content li a {
    color: #ddd; /* Text color for better readability */
    padding: 8px 20px;
}

.dropdown-content .dropdown-content li a:hover {
    background-color: #2a4c2b; /* Slightly lighter shade for hover effect */
}

/* Add an arrow icon to the mobile menu items with dropdown */
.mobile-menu ul li.dropdown > a::after {
    content: " ▼"; /* Add a downward arrow */
    font-size: 18px;
    margin-left: 10px; /* Space between text and arrow */
    color: white; /* Arrow color */
    vertical-align: middle;
    transition: transform 0.3s ease; /* Smooth transition for arrow */
}

/* Change arrow direction when the dropdown is open */
.mobile-menu ul li.dropdown.open > a::after {
    transform: rotate(180deg); /* Rotate the arrow when clicked */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .no-background-navbar {
        display: none; /* Hide desktop navbar */
    }
    .mobile-navbar {
        display: flex; /* Show mobile navbar as flex container */
    }
}
  .contact-span{
    /* Change highlight background color to black */
    background: #c89c13;
    /* Change highlight text color to red */
    color: rgb(0, 0, 0);
    padding: 1px 5px;
    padding-top: -5px;
  }

@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.kanit-thin {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .kanit-extralight {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .kanit-light {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .kanit-regular {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .kanit-medium {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .kanit-semibold {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .kanit-bold {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .kanit-extrabold {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .kanit-black {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .kanit-thin-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .kanit-extralight-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: italic;
  }
  
  .kanit-light-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .kanit-regular-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .kanit-medium-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .kanit-semibold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .kanit-bold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .kanit-extrabold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: italic;
  }
  
  .kanit-black-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: italic;
  }
  
  /* Contact Details Navbar Styling */
/* Contact Details Navbar Styling */
/* Slide-in from right animation for the whole navbar */
@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Slide-in from right animation for the individual items */
@keyframes itemSlideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
} 

.contact-navbar {
    background-color: #c89c13;
    color: black;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s;
    animation: slideInRight 0.7s ease-out;
    overflow-x: hidden;
    box-sizing: border-box;
}

.contact-navbar .container {
    display: flex;
    justify-content: flex-end;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

.contact-navbar .contact-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.contact-navbar .contact-menu li {
    margin: 0;
    animation: itemSlideInRight 0.7s ease-out;
    opacity: 0;
    white-space: nowrap;
}

.contact-navbar .contact-menu li:nth-child(1) {
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}

.contact-navbar .contact-menu li:nth-child(2) {
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

.contact-navbar .contact-menu li:nth-child(3) {
    animation-delay: 0.7s;
    animation-fill-mode: forwards;
}

.contact-navbar .contact-menu li:nth-child(4) {
    animation-delay: 0.9s;
    animation-fill-mode: forwards;
}

.contact-navbar .contact-menu li a {
    color: black;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-navbar .contact-menu li a:hover {
    color: white;
}

.contact-navbar .contact-menu i {
    font-size: 16px;
}

/* 🔥 Responsive Fixes */
@media (max-width: 768px) {
    .contact-navbar {
        width: 100%;
        padding: 10px 0;
        overflow-x: hidden;
    }

    .contact-navbar .contact-menu {
        gap: 15px;
    }

    /* Hide email and phone number on mobile */
    .contact-navbar .contact-menu li:nth-child(1),
    .contact-navbar .contact-menu li:nth-child(2) {
        display: none;
    }

    /* Optional: Reduce gap and font size for icons */
    .contact-navbar .contact-menu li a {
        font-size: 13px;
    }

    .contact-navbar .contact-menu i {
        font-size: 14px;
    }
}


/* Navigation Bar Styling */
.navbar {
    max-width: 100%;
    background-color: #000000; 
    color: white;
    padding: 15px 0;
    position: sticky; /* Ensure the navbar is sticky */
    top: 0;
    /* width: 100%; */
    /* z-index: 1000; */
    height: 50px;
    margin-top: 41px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow */
}
/* Slide-in from right animation for the whole navbar (excluding the logo) */
@keyframes navbarSlideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Slide-in from right animation for individual menu items */
@keyframes menuItemSlideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Apply animation to the navbar container (excluding the logo) */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: navbarSlideInRight 0.5s ease forwards;
    -webkit-animation: navbarSlideInRight 0.5s ease forwards;
}

/* Logo Styling */
.navbar .logo img {
    height: 120px;
    width: 135px;
    margin-left: 40px;
    margin-top: -70px;
}

/* Menu Styling */
.navbar .menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin-right: 30px;
    margin-top: -40px;
}

/* Menu Items with Staggered Animation */
.navbar .menu li {
    position: relative;
    margin-left: 2px;
    padding-left: 20px 20px;
    height: 100%;
    animation: menuItemSlideInRight 0.5s ease forwards;
    opacity: 0;
    -webkit-animation: menuItemSlideInRight 0.5s ease forwards;
}

.navbar .menu li:nth-child(1) {
    animation-delay: 0.5s;
}

.navbar .menu li:nth-child(2) {
    animation-delay: 0.7s;
}

.navbar .menu li:nth-child(3) {
    animation-delay: 0.9s;
}

.navbar .menu li:nth-child(4) {
    animation-delay: 1.1s;
}

.navbar .menu li:nth-child(5) {
    animation-delay: 1.3s;
}

/* Hover Effect for Menu Items */
.navbar .menu li:hover {
    background-color: #c89c13; /* Gold */
}

.navbar .menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-indent: 5px;
    letter-spacing: 3px;
}

.navbar .menu li a:hover {
    color: #000000;
    background-color: #c89c13; /* Gold */
    border-radius: 5px;
}

/* Dropdown Menu Styling */
.navbar .dropdown {
    position: relative;
}

/* Hide dropdown content by default */
.navbar .dropdown .dropdown-content,
.navbar .dropdown .project-menu-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.712);
    border-radius: 5px;
    z-index: 1000;
    width: 100%;
}

/* Projects Dropdown Content Styling */
.project-menu-content {
    display: block;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    grid-template-rows: repeat(2, auto); /* Two rows */
    gap: 20px; /* Space between items */
    width: 100%; /* Full width */
    padding: 20px;
    background-color: black;
    position: absolute;
    left: 0;
    right: 0;
    top: 0; /* Position below the navbar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.712);
    border-radius: 0 0 5px 5px; /* Rounded corners at the bottom */
    /* z-index: 1000; */
}

/* Project Item Styling */
.project-menu-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #1a1a1a; /* Slightly lighter background for each item */
    border-radius: 5px; /* Rounded corners for items */
    width: 500px;
}

.project-menu-item img {
    max-width: 120px; /* Adjusted width to fit better in the grid */
    height: auto;
    margin-right: 15px;
    border-radius: 5px;
}

.project-menu-text {
    color: white;
}

.project-menu-text h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.project-menu-text p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.project-menu-text .dropdown-button {
    /* background-color: #c89c13; Gold */
    color: #000000;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    margin-top: -15px;
    margin-left: -20px;
}

/* Show dropdown content on hover (only on desktop view) */
@media screen and (min-width: 768px) {
    .navbar .dropdown:hover .project-menu-content {
        display: grid; /* Ensure grid display on hover */
    }
}


/* Show dropdown content on hover (only on desktop view) */
@media screen and (min-width: 768px) {
    .navbar .dropdown:hover .dropdown-content,
    .navbar .dropdown:hover .project-menu-content {
        display: block;
    }
}

.project-section{
    width: 100%;
}
/* Hide dropdown content by default */
.navbar .dropdown .dropdown-content {
    display: none; /* Hide dropdown content initially */
    position: absolute;
    top: 100%; /* Place directly below the parent */
    left: 0;
    background-color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.712);
    border-radius: 5px;
    overflow: hidden;
    /* z-index: 1000; */
    width: 750px; /* Adjust width as needed */
    padding: 20px;
    display: flex;
    align-items: center;
}

/* Dropdown Image Styling */
.navbar .dropdown-content img {
    max-width: 150px;
    height: 180px;
    margin-right: 15px;
}

/* Dropdown Text Styling */
.navbar .dropdown-content .dropdown-text {
    color: white;
}

.navbar .dropdown-content .dropdown-text h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.navbar .dropdown-content .dropdown-text p {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.navbar .dropdown-content .dropdown-button {
    background-color: #c89c13; /* Gold */
    color: #000000;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    width: 150px;
}

/* Dropdown Menu for Services */
.navbar .dropdown-menu {
    display: none; /* Hide by default */
    position: absolute;
    top: 45px;
    left: 0;
    background-color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.712);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block; /* Show services dropdown on hover */
}

.navbar .dropdown-menu li {
    width: 200px;
}

.navbar .dropdown-menu li a {
    padding: 10px 15px;
    color: white;
}

.navbar .dropdown-menu li a:hover {
    background-color: #c89c13;
}

/* Mobile Menu Styling */
.navbar .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    margin-top: -20px;
}

.menu-title{
    display: none;
}

@media (max-width: 768px) {
        .navbar {
            position: sticky;
            z-index: 1000;
        
            top: 0;
        }
    
    .menu-title{
        display:block;
        margin-right: 50px;
        margin-bottom: 50px;
    }
    
    /* Logo Styling */
    .navbar .logo img {
    height: 110px;
    width: 125px;
    margin-left: 5px;
    margin-top: -60px;
}

    .navbar .menu {
        display: flex;
        flex-direction: column;
        width: 50%;
        background-color: black;
        position: absolute;
        top: 70px;
        left: 0;
        transform: translateX(-100%); /* Initially hide the menu off-screen to the left */
        transition: transform 0.3s ease; /* Smooth transition for the slide effect */
        border-radius: 0 0 10px 10px;
        z-index: -1;
        padding-top: 40px;
        height: 530%;
    }

    .navbar .menu.active {
        transform: translateX(0); /* Slide the menu in from the left */
    }

    .navbar .menu li {
        margin-left: 0;
        width: 100%;
    }

    .navbar .menu li a {
        padding: 10px;
        border-bottom: 1px solid #444;
    }

    .navbar .dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        background-color: #444;
    }

    .navbar .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .navbar .menu-toggle {
        display: block; /* Display the toggle button on mobile */
        position: absolute;
        top: 15px;
        right: 20px;
    }
}

/* Hide "About Us" dropdown on mobile devices */
/* Default: Dropdown behavior for larger screens */
.navbar .dropdown#about-dropdown .about-link {
    cursor: pointer;
}

/* Hide dropdown content on mobile and change link to jump to section */
@media (max-width: 768px) {
    .navbar .dropdown#about-dropdown .dropdown-content {
        display: none;
    }
    .navbar .dropdown#about-dropdown .about-link {
        /* Ensure it acts as a link to #about-tabs */
        cursor: pointer;
        pointer-events: auto;
    }
}



    /* video header */
    .video-header {
        max-width: 100%;
        position: relative;
        height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center; /* Center vertically */
        justify-content: center; /* Center horizontally */
        color: white;
        padding: 20px; /* Optional: Add some padding to the sides */
        /* z-index: 2; */
    }

    .video-header .video-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    .video-header .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.432);
        z-index: 0;
    }

    .header-content {
        position: absolute; /* Position absolute to anchor in the center */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Center the content */
        z-index: 1;
        max-width: 900px;
        text-align: center; /* Center text and buttons */
        visibility: visible; /* Set visibility to visible by default */
        opacity: 0; /* Start with opacity 0 */
        transition: opacity 1.5s ease; /* Transition opacity for smooth appearance */
    }

    .header-content.active {
        opacity: 1; /* Fade in when active */
    }

    .header-content .tagline {
        font-size: 1.2rem;
        font-weight: bold;
        color: #c89c13; /* Gold color for tagline */
        margin-bottom: 5px;
        opacity: 0;
        transform: translateX(-50px); /* Start off-screen to the left */
        transition: opacity 1.5s ease, transform 1.5s ease;
    }

    .header-content.active .tagline {
        opacity: 1;
        transform: translateX(0); /* Move to original position */
    }

    .header-content h1 {
        font-size: 2.5rem;
        font-weight:normal;
        line-height: 1;
        margin-bottom: 20px;
        opacity: 0;
        transform: translateX(50px);
        /*Startoff-screentotheright*/transition: opacity 1.5s ease, transform 1.5s ease;
        /* letter-spacing: 1px;  */
        
    }

    .header-content.active h1 {
        opacity: 1;
        transform: translateX(0); /* Move to original position */
    }

    .header-content .cta-buttons {
        display: flex;
        justify-content: center; /* Center buttons horizontally */
        gap: 20px;
        opacity: 0;
        transform: translateY(50px); /* Start off-screen at the bottom */
        transition: opacity 1.5s ease, transform 1.5s ease;
    }

    .header-content.active .cta-buttons {
        opacity: 1;
        transform: translateY(0); /* Move to original position */
    }

    .header-content .cta-buttons .btn {
        padding: 10px 20px;
        background-color: #c89c13;
        color: black;
        text-decoration: none;
        border-radius: 5px;
        font-size: 1rem;
        font-weight: bold;
        text-transform: uppercase;
    }

    .header-content .cta-buttons .btn-secondary {
        background-color: #000000;
        color: rgb(255, 255, 255);
        text-decoration: none;
        border-radius: 5px;
        font-size: 1rem;
        font-weight: bold;
        text-transform: uppercase;
    }

    @media (max-width: 768px) {

        .header-content {
            position: absolute; /* Position absolute to anchor in the center */
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* Center the content */
            /* z-index: 1; */
            max-width: 200%;
            text-align: center; /* Center text and buttons */
            visibility: visible; /* Set visibility to visible by default */
            opacity: 0; /* Start with opacity 0 */
            transition: opacity 1.5s ease; /* Transition opacity for smooth appearance */
        }

        .header-content h1 {
            font-size: 20pt;
        }

        .header-content .cta-buttons {
            flex-direction: column;
        }

        .header-content .cta-buttons .btn {
            width: 100%;
            text-align: center;
        }
    }
    
    
 /* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: 60px; /* Adjust based on your navbar height */
    box-sizing: border-box;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Start with hidden slides */
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 0; /* ADDED: Prevent slide content overlap */
}

.hero-slide.active {
    opacity: 1; /* Visible slide */
    z-index: 1;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Black with 70% opacity */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
}

.hero-content {
    color: white;
    max-width: 650px;
    padding: 15px;
    text-align: left;
    margin-left: 100px;
}

.hero-content h3 {
    font-family: Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Border Button Styles */
.border-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    border: 2px solid #c7ac4a;
    color: #c7ac4a;
    background-color: transparent;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.border-button:hover {
    background-color: #c7ac4a;
    color: #fff;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-slider {
        height: 100vh;
        padding-top: 80px;
    }

    .hero-overlay {
        padding-left: 20px;
        padding-right: 20px;
        justify-content: flex-start;
    }

    .hero-content {
        max-width: 100%;
        padding: 10px;
        text-align: left;
        margin-left: 0px;
    }

    .hero-content h3 {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        font-weight: 300;
    }

    .border-button {
        font-size: 12px;
        padding: 8px 18px;
    }
}

@media (max-width: 480px) {
    .hero-content h3 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.8rem;
    }

    .border-button {
        font-size: 10px;
    }
}

/* Arrow Container */
.scroll-arrows {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

/* Downward Arrow Styling */
.arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid white;
    margin: 5px 0;
    animation: bounce 1.5s infinite;
}

/* Bouncing Arrow Animation */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.arrow:nth-child(2) {
    animation-delay: 0.3s;
}

.arrow:nth-child(3) {
    animation-delay: 0.6s;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .scroll-arrows {
        bottom: 20px;
    }

    .arrow {
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 16px solid white;
    }
}



/*New navbar*/

.real-estate-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4); /* Transparent over hero */
  color: #fff;
  padding: 15px 0;
  backdrop-filter: blur(6px); /* optional: glass effect */
}

/* Container */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  padding: 0 30px;
  margin: 0 auto;
}

/* Logo */
.logo img {
  height: 100px;
}

/* Desktop Navigation */
.nav-links ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover {
  color: #c89c13;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 65px;
    width: 100%;
    left: 0;
    padding: 20px 0;
    text-align: center;
    z-index: 999;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu ul li {
    margin: 15px 0;
  }

  .mobile-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
  }

  .mobile-menu ul li a:hover {
    color: #c89c13;
  }
}

.mobile-close {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: right;
    padding: 10px 20px;
    cursor: pointer;
}



/* service section */
/* Define the slide-up animation */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services section container */
.services-section {
    max-width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 40px 20px;
    background-color: white;
}

/* Service item styling */
.service-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: white; /* White background */
    color: black; /* Black text color */
    margin: 0 10px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    margin-top: -100px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Box shadow for depth */
}

.service-item h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Icon styling */
.service-item .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Button styles */
.service-item .read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #000000; /* Black button background */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid #c89c13; /* Gold border */
}

.service-item .read-more:hover {
    background-color: #c89c13; /* Gold background on hover */
    color: black; /* Text color change to black */
    border-color: #000000; /* Change border to black on hover */
}

/* Hover effect for service items */
.service-item:hover {
    transform: scale(1.05);
}

/* Mobile view */
@media (max-width: 768px) {
    .services-section {
        flex-direction: column;
        padding: 20px 10px; /* Reduce padding on mobile */
        max-width: 100%;
    }

    .service-item {
        margin-bottom: 20px;
        padding: 15px; /* Adjust padding for smaller screens */
        margin-top: -10px; /* Adjust the top margin for better spacing */
    }

    .service-item h3 {
        font-size: 20px; /* Adjust font size for smaller screens */
    }

    .service-item p {
        font-size: 14px; /* Adjust paragraph font size */
        margin-bottom: 15px;
    }

    .service-item .icon {
        font-size: 35px; /* Slightly reduce icon size */
        margin-bottom: 10px;
    }

    .service-item .read-more {
        padding: 8px 10px; /* Adjust padding for buttons on mobile */
        font-size: 0.9rem; /* Slightly reduce button text size */
    }
}

  
  /* other */
  .other-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background color */
    background-image: url('../img/strategy_background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    height: 100vh;
    max-width: 100%;
}

.images-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 50%;
    margin-left: 150px;
}

.image-item {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: floatUp 3s ease-in-out infinite; /* Default animation */
}

.image-item:nth-child(odd) {
    animation: floatUp 3s ease-in-out infinite; /* Floating up and down */
}

.image-item:nth-child(even) {
    animation: floatDown 3s ease-in-out infinite; /* Floating down and up */
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-container {
    max-width: 45%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    border-radius: 8px;
    text-align: left;
}

.text-container h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.text-container h2 span {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.text-container h2 span::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #58A7FF;
    z-index: -1;
}

.text-container p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-right: 200px;
}

.learn-more-btn {
    padding: 10px 20px;
    background-color: #c89c13;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 300px;
}

.learn-more-btn:hover {
    background-color: black;
}

/* Responsive Design */
@media (max-width: 768px) {
    .other-section {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px;
        max-width: 100%;
}
    }

    .images-container {
        max-width: 100%;
        margin: 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .image-item {
        width: 100%;
        height: auto;
        max-width: 150px;
        max-height: 150px;
    }

    .text-container {
        max-width: 100%;
        padding: 15px;
        margin-top: 20px;
    }

    .text-container p {
        margin-right: 0;
        font-size: 14px;
    }

    .learn-more-btn {
        margin-right: 0;
    }


/* Existing styles remain unchanged */

#about-tabs {
    padding: 40px 20px;
    background-color: #f9f9f9;
    color: #333;
    max-width: 100%;

}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000;
}

.tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #c89c13; /* Gold */
    border-radius: 5px 5px 0 0;
}

.tab-links li {
    padding: 15px 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.tab-links li i {
    margin-right: 10px; /* Space between icon and text */
    font-size: 20px;
}

.tab-links li.active {
    background-color: #a67c00; /* Darker gold */
}

.tab-content {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
    padding: 20px;
    max-width: 750px;
    margin-left: 25px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    transition: opacity 0.5s ease-in-out;
    border-bottom-left-radius: 20px;
}

.tab-pane h3 {
    font-size: 28px;
    font-weight: bold;
    color: #c89c13; /* Gold */
}

.tab-pane p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    #about p{
        font-size: 12pt;
    }
    #mission p{
        font-size: 12pt;
    }
    #vision p{
        font-size: 12pt;
    }
    

    .tabs {
        flex-direction: column;
    }
    
    .tab-links {
        flex-direction: column;
        border-radius: 0;
        margin: 0;
    }
    
    .tab-links li {
        padding: 10px;
        font-size: 16px;
    }
    
    .tab-content {
        padding: 15px;
        margin-left: 0;
    }
    
    .tab-pane h3 {
        font-size: 24px;
    }
    
    .tab-pane p {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 24px;
    }

    .tab-links li {
        padding: 8px;
        font-size: 14px;
    }

    .tab-pane h3 {
        font-size: 20px;
    }

    .tab-pane p {
        font-size: 12px;
    }
}



/* Property Search */
/* Property Search Section */

/* Property Search Section */

.property-search-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 20px;
    background-image: url('../img/room-1.PNG'); 
    background-size: cover;
    background-position: center;
    color: white;
    height: 100vh;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.property-search-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.336); /* Increased opacity for better text readability */
    z-index: 1;
}

.property-search-content,
.property-search-image {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 2s ease-out, transform 2s ease-out;
}

/* Animation Start Positions */
.property-search-content {
    max-width: 600px;
    text-align: left;
    margin-left: 50px;
    transform: translateX(-50px); /* Slightly reduced for smoother animation */
}

.property-search-image {
    flex: 1;
    margin-right: 120px;
    max-width: 500px;
    transform: translateX(50px); /* Slightly reduced for smoother animation */
}

.property-search-content.animate,
.property-search-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.property-search-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: bold;
}

.property-search-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #333;
}

.property-stats {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    margin-top: 20px;
}

.stat {
    text-align: center;
    flex: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stat.active {
    opacity: 1;
    transform: translateY(0);
}

.stat h3 {
    font-size: 32px;
    margin-bottom: 5px;
    color: #c89c13;
    font-weight: bold;
}

.stat p {
    font-size: 16px;
    color: white;
}

/* Image Styling */
.property-search-image img {    
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Property Search Form Section */
/* Property Search Form Section */
.property-search-form-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f8f8f8;
}

.property-search-form {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: -100px;
    z-index: 3;
    position: relative;
}

.property-search-form h3 {
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
    font-weight: bold;
}

.property-search-form form {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.property-search-form input,
.property-search-form select {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: calc(33.333% - 10px);
}

/* Budget Range Styling */
.budget-range {
    display: flex;
    gap: 10px;
    width: calc(33.333% - 10px);
}

.budget-range input[type="number"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.property-search-form .search-btn {
    padding: 12px 25px;
    background-color: #c89c13;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    flex: 0 0 auto;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.property-search-form .search-btn:hover {
    background-color: #a67c10;
}


/* Media Queries for Responsiveness */

@media (max-width: 1024px) {
    .property-search-section {
        padding: 80px 20px;
        max-width: 100%;
    }

    .property-search-content {
        margin-left: 30px;
    }

    .property-search-image {
        margin-right: 30px;
    }

    .property-search-content h1 {
        font-size: 36px;
    }

    .property-search-content p {
        font-size: 16px;
    }

    .stat h3 {
        font-size: 28px;
    }

    .stat p {
        font-size: 14px;
    }

    .property-search-form {
        padding: 35px 25px;
        margin-top: -80px;
    }

    .property-search-form h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .property-search-section {
        flex-direction: column;
        align-items: center;
        padding: 60px 15px;
        height: auto;
        max-width: 100%;
    }

    .property-search-content {
        margin: 0;
        text-align: center;
        transform: translateY(-50px);
        max-width: 100%;
    }

    .property-search-image {
        margin: 30px 0;
        transform: translateY(50px);
        max-width: 100%;
        display: none;
    }

    .property-search-image img {
        width: 90%;
        max-width: 400px;
    }

    .property-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        max-width: 100%;
        margin: 30px 0 0 0;
    }

    .property-search-form-section {
        padding: 40px 15px;
    }

    .property-search-form {
        padding: 30px 20px;
        margin-top: -60px;
    }

    .property-search-form form {
        flex-direction: column;
        gap: 15px;
    }

    .property-search-form input,
    .property-search-form select {
        width: 100%;
    }

    .property-search-form .search-btn {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .property-search-content h1 {
        font-size: 28px;
    }

    .property-search-content p {
        font-size: 14px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .stat h3 {
        font-size: 24px;
    }

    .stat p {
        font-size: 12px;
    }

        .property-search-form h3 {
            font-size: 20px;
        }

        .property-search-form {
            padding: 25px 15px;
        }

        .property-search-form input,
        .property-search-form select {
            font-size: 14px;
            padding: 10px;
        }

        .property-search-form .search-btn {
            padding: 12px;
            font-size: 16px;
        }
    }


    

/* Ensure the video is positioned correctly and does not overflow */
.projects-section {
    background-color: rgba(0, 0, 0, 0.5); /* Fallback color */
    background-image: url('../img/project-background.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking */
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    border-top-right-radius: 200px;
    border-bottom-left-radius: 250px;
    height: 150vh; /* Full viewport height */
    overflow: hidden;
    max-width: 100%;
}

/* Full screen video styling */
#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire section */
    z-index: -1;
    filter: brightness(0.7);
    border-radius: 10px;
}

/* Center heading wrapper */
.projects-heading-wrapper {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* Heading styles */
.projects-heading {
    font-size: 32px;
    font-weight: bold;
    color: black;
    display: inline-block;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.projects-heading::before,
.projects-heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 80px;
    height: 2px;
    background-color: #c89c13; /* Yellow line color */
    z-index: 0;
}

.projects-heading::before {
    left: -90px;
}

.projects-heading::after {
    right: -90px;
}

.projects-heading span {
    background-color: white;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

/* Grid layout for projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
    width: 100%; /* Ensure grid takes full width */
}

/* Project item styling */
.project-item {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image styling for project items */
.project-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Project info styling */
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.project-info h3 {
    color: #c89c13; /* Yellow text color */
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.project-description {
    color: #ffffff; /* White text color */
    font-size: 14px;
    margin: 0 0 10px 0;
}

/* Details text styling */
.details-text {
    position: absolute;
    top: 55px;
    left: 280px;
    color: #c89c13; /* Yellow color */
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    z-index: 2;
    margin-left: -50px;
}

.details-text:hover {
    color: #ffffff; /* Change color on hover if needed */
}

/* Hover effects for project items */
.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-section {
        padding: 20px;
        height: auto;
       border-radius: 0;
        
}

    .projects-heading {
        font-size: 24px;
        padding: 0 10px;
    }

    .projects-heading::before,
    .projects-heading::after {
        width: 40px;
    }

    .projects-heading span {
        padding: 0 5px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-item {
        width: 100%;
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .project-info {
        padding: 10px;
    }

    .project-info h3 {
        font-size: 16px;
    }

    .project-description {
        font-size: 12px;
    }

    .details-text {
        top: 30px;
        left: 10px;
        font-size: 16px;
    }

    #bg-video {
        filter: brightness(0.6);
        border-radius: 0;
    }
}

/* CTA item styling to match project-item */
.cta-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent; /* No background */
    padding: 20px 15px;
    border-radius: 10px; /* Match the border-radius of project-item */
    text-align: center;
    width: 500px
    
}

/* Call-to-action text */
.cta-text {
    color: black; /* Yellow color to match other text */
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 10px;
    text-align: left;
}

/* Call-to-action button */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    /* background-color: #c89c13; Yellow background color */
    color: #c89c13;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px; /* Add some spacing above the button */
    border: 1px solid #c89c13;;
    margin-left: -320px;
}

.cta-button:hover {
    background-color: #000000; /* Change to black on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-item {
        padding: 10px;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .cta-text {
        font-size: 16px;
        text-align: center;
    }

    .cta-button {
        font-size: 14px;
        padding: 8px 16px;
        text-align: center;
        margin-left: 5px;
    }
}

/* carousel */


.contact-section {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    background-color: #f9f9f9;
    max-width: 100%;
}

.contact-info {
    width: 48%;
    margin-left: 160px;
    margin-top: 60px;
}

.contact-form {
    width: 48%;
    margin-right: 150px;
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    margin-right: 15px;
    color: #333;
}

.contact-item p {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    background-color: black
}

@media only screen and (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        padding: 20px;
    }

    .contact-info, .contact-form {
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-item p {
        font-size: 14px;
    }

    .contact-form h2 {
        font-size: 20px;
    }

    .contact-form input, .contact-form textarea {
        font-size: 14px;
        padding: 8px;
    }

    .contact-form button {
        font-size: 14px;
        padding: 10px;
    }
}

/* CEO SECTION */
.ceo-section {
    padding: 60px 20px;
    background-color: #f4f4f4;
    position: relative;
    background-image: url('../img/olusco-ceo-background.jpg'); /* Add your background image here */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    max-width: 100%;
}

.ceo-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* White overlay with opacity */
    z-index: 1; /* Ensure the overlay is behind the content */
}

.section-title {
    text-align: center;
    font-size: 40px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    z-index: 2; /* Ensure the title is above the overlay */
}

.section-title::before {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background-color: #c89c13; /* Gold */
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

.ceo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    position: relative;
    z-index: 2; /* Ensure the content is above the overlay */
}

.ceo-text {
    flex: 1;
}

.ceo-text h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    position: relative;
}

.ceo-text h2::after {
    top: -10px;
    bottom: auto;
}

.ceo-text h4 {
    font-size: 20px;
    color: #c89c13; /* Gold */
}

.ceo-text .ceo-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #c89c13; /* Gold */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #a67c00;
}

.ceo-description {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.ceo-description.active {
    display: block;
    opacity: 1;
}

.ceo-image {
    flex: 0 0 400px; /* Fixed width for the image container */
    position: relative;
    z-index: 2; /* Ensure the image is above the overlay */
    overflow: hidden; /* Hide overflow for the line effect */
}

.ceo-image img {
    max-width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1; /* Place image below the line effect */
}

.ceo-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    transform: translateY(-50%);
    z-index: 2; /* Place line above the image */
}

.ceo-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 4px;
    background-color: #c89c13; /* Gold line */
    transform: translateX(-50%);
    z-index: 2; /* Place line above the image */
    transition: transform 0.3s ease;
}

.ceo-image:hover::after {
    transform: translateX(-50%) scaleX(1.05); /* Slightly expand the line effect on hover */
}

.ceo-image img:hover {
    transform: scale(1.05);
}

.line-decorator {
    width: 100%;
    height: 2px;
    background-color: #c89c13; /* Gold */
    margin: 40px 0;
}

.ceo-social-icons {
    display: flex;
    gap: 15px;
    z-index: 2; /* Ensure social icons are above the overlay */
}

.social-icon {
    font-size: 24px;
    color: #000000;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
}

.social-icon:hover {
    color: #c89c13;
}

.book-session-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #c89c13; /* Gold */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-left: 20px; /* Space between button and social icons */
    transition: background-color 0.3s ease;
}

.book-session-btn:hover {
    background-color: #a67c00;
}
.ceo-text .ceo-text-bacckground h4 h2{
    /* font-size:20pt; */
}

/* Adjustments for mobile view */
/* Adjustments for mobile view */
@media screen and (max-width: 768px) {
    .ceo-content {
        /* display: flex; */
        flex-direction: column;
        text-align: center;
    }
    
    .ceo-image {
        order: 2;
        /* margin-bottom: 20px; */
    }

    .ceo-text {
        order: 3;
        margin-top: -100px;
        z-index: 999;
    }
        
    .ceo-text-bacckground{
        background-color: white;
        padding-top: 10px;
        padding-bottom: 10px;
        display: block;
        line-height: 21pt;
        width: 350px;
        margin-top: -20px;
        margin-bottom: 15px;
       
    }

    .ceo-text .ceo-intro {
        font-size: 18px;
        line-height: 1.6;
        color: #555;
        margin-bottom: 20px;
        text-align: justify;
    }

   .ceo-text .ceo-text-bacckground h4 h2{
        /* font-size: 12pt; */
    }
    
    .ceo-text h2 {
        font-size: 22px;
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
        position: relative;
    }
    
    .section-title {
        order: 1;
    }

    .ceo-social-icons {
        display: flex;
        flex-direction: row; /* Align icons in a straight line */
        justify-content: center; /* Center the icons horizontally */
        align-items: center;
        gap: 10px; /* Space between the icons */
    }
    
    .book-session-btn {
        margin-left: 0; /* Remove left margin to ensure it's properly aligned on mobile */
        margin-top: 15px; /* Add top margin for separation from social icons */
    }
}


/* Upcoming Project Section */
.upcoming-project-section {
    position: relative;
    overflow: hidden;
    padding: 50px;
    color: #fff;
    text-align: center;
    height: 100vh; /* Full viewport height for a dramatic effect */
    max-width: 100%;
}

#upcoming-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Ensure video is behind the content */
    filter: brightness(0.5); /* Darken video for better text contrast */
}

.upcoming-project-content {
    position: relative;
    z-index: 1;
    padding: 30px;
    border-radius: 10px;
    display: inline-block;
    background: none; /* Removed semi-transparent background */
}

.coming-soon {
    font-size: 12px;
    /* font-weight: bold; */
    color: #fff; /* White text color */
    /* margin: 0; */
    margin-top: 40px;
    position: relative;
    padding: 10px 20px;
    /* border: 2px solid #c89c13; Yellow border color */
    border-radius: 8px;
    display: inline-block;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.5); /* Slight dark background for readability */
    letter-spacing: 5pt;
}

.coming-soon::before,
.coming-soon::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 80px;
    height: 2px;
    background-color: #c89c13; /* Yellow line color */
    z-index: -1;
}

.coming-soon::before {
    left: -90px;
}

.coming-soon::after {
    right: -90px;
}

.project-name {
    font-size: 48px;
    font-weight:lighter;
    margin: 20px 0 10px 0;
    color: #c89c13; /* Yellow text color */
}

.project-details {
    font-size: 18px;
    margin-bottom: 20px;
}

.view-images-button {
    display: inline-block;
    padding: 10px 20px;
    /*background-color: #c89c13;
    Yellowbackground*/color: #fff;
    /*Whitetext*/text-decoration: none;
    font-size: 18px;
    font-weight: lighter;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 1px solid #c89c13;
    -webkit-border-radius: 1px solid #c89c13;
    -moz-border-radius: 1px solid #c89c13;
    -ms-border-radius: 1px solid #c89c13;
    -o-border-radius: 1px solid #c89c13;
}

.view-images-button:hover {
    background-color: #a67c00; /* Darker yellow on hover */
}

@media (max-width: 768px) {
    .coming-soon {
        font-size: 18px;
    }

    .project-name {
        font-size: 36px;
    }

    .project-details {
        font-size: 16px;
    }

    .view-images-button {
        font-size: 16px;
        padding: 8px 16px;
    }
}

/* Modal Gallery */
/* Modal container */



/* Show modal with opacity and slide-in effect */
/* Modal container */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(-100%);
}

/* Smaller image inside the modal */
.modal-content img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Adjust max-height to make the image smaller */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Modal content */
.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    background: url('../img/monaco/monaco-1 - Copy.jpg') no-repeat center center;
    background-size: cover;
    width: 60%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Smaller image inside the modal */
.modal-content img {
    display: block;
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-height: 80vh; /* Prevent the image from being too tall */
    object-fit: contain; /* Ensures the entire image fits within the container */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
    background-color: #c89c13;;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {

    
    .modal-content {
        /* margin: 5% auto; Increased top margin on mobile for better visibility */
        width: 80%; /* Slightly wider for mobile */
        /* padding: 15px; Reduced padding for mobile */
    }

    .close {
        top: 5px; /* Adjusted top position */
        right: 10px; /* Adjusted right position */
        font-size: 24px; /* Smaller close button for mobile */
    }

    .modal-navigation button {
        font-size: 16px;
        padding: 8px;
    }
}


/* Live Chat Icon */
.live-chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #c89c13; /* Gold color */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.live-chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.live-chat-icon i {
    font-size: 28px;
    color: #fff; /* White color for the icon */
}

/* Tooltip positioning on the left, always visible */
.chat-tooltip {
    width: 120px; /* Adjust width if needed */
    position: absolute;
    bottom: 20px; /* Align with the chat icon */
    right: 80px; /* Position to the left of the icon */
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    display: block; /* Always display */
    text-align: center;
}

/* Chat Box */
.chat-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chat-header {
    background-color: #c89c13;
    color: white;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    flex: 1;
}

.close-chat {
    cursor: pointer;
    font-size: 20px;
}

.chat-body {
    padding: 10px;
    height: 200px;
    overflow-y: auto;
    font-size: 14px;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.chat-footer input[type="text"] {
    flex: 1;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.chat-footer button {
    background-color: #c89c13;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.chat-footer button:hover {
    background-color: #a67c00;
}

/* Show chat box */
.chat-box.show {
    display: flex;
}

/* Message styles */
.sender-message p {
    background-color: #c89c13; /* Gold for sender */
    color: white;
    padding: 8px;
    border-radius: 10px;
    margin: 5px 0;
    text-align: right;
    display: flex;
    align-items: center;
}

.owner-message {
    display: flex;
    align-items: center;
}

.owner-message .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.owner-message p {
    background-color: #f1f1f1; /* Light gray for site owner */
    color: #333;
    padding: 8px;
    border-radius: 10px;
    margin: 5px 0;
    text-align: left;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .chat-box {
        width: 60%; /* Reduce width for smaller screens */
        right: 20%;  /* Center the chat box horizontally */
        bottom: 70px; /* Adjust bottom position to avoid overlapping with mobile navigation bars */
        border-radius: 10px; /* Keep border-radius consistent */
        max-width: 100%;
    }
    .live-chat-icon {
        position: fixed;
        bottom: 20px;
        right: 90px;
        width: 60px;
        height: 60px;
        background-color: #c89c13; /* Gold color */
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }

    .chat-header {
        padding: 8px; /* Slightly reduce padding for smaller screens */
    }

    .chat-header h4 {
        font-size: 16px; /* Adjust font size for smaller screens */
    }

    .close-chat {
        font-size: 18px; /* Reduce size for close icon */
    }

    .chat-body {
        padding: 8px; /* Adjust padding for smaller screens */
        height: 150px; /* Reduce height to fit within smaller screens */
    }

    .chat-footer {
        padding: 8px; /* Adjust padding for smaller screens */
    }

    .chat-footer input[type="text"] {
        padding: 8px; /* Adjust padding for input field */
        font-size: 12px; /* Reduce font size for input text */
    }

    .chat-footer button {
        padding: 8px 15px; /* Adjust button padding */
        font-size: 12px; /* Reduce font size for button text */
    }

    /* Message styles for mobile */
    .sender-message p,
    .owner-message p {
        padding: 6px; /* Reduce padding for message bubbles */
        font-size: 12px; /* Adjust font size for messages */
    }

    .owner-message .avatar {
        width: 25px; /* Adjust avatar size */
        height: 25px;
        margin-right: 8px; /* Reduce space between avatar and message */
    }
}

/* newsletter subscription */

/* Newsletter Subscription Form Styles */
.newsletter-subscription {
    position: fixed;
    right: -480px; /* Hidden off-screen initially */
    bottom: 150px; /* Adjusted distance from the bottom */
    width: 450px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: right 0.5s ease;
    z-index: 1000;
}

.subscription-header {
    background-color: #c89c13;
    color: white;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subscription-header h4 {
    margin: 0;
}

.close-subscription {
    cursor: pointer;
    font-size: 20px;
}

.subscription-body {
    padding: 20px;
    font-size: 14px;
}

.subscription-body p {
    margin-bottom: 10px;
}

.subscription-body form {
    display: flex;
    flex-direction: column;
}

.subscription-body input[type="email"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
}

.subscription-body button {
    background-color: #c89c13;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.subscription-body button:hover {
    background-color: #a67c00;
}

/* Show the subscription form */
.newsletter-subscription.show {
    right: 20px; /* Slide in from the right */
}



@media (max-width: 768px) {
.newsletter-subscription {
    position: fixed;
    right: -450px; /* Hidden off-screen initially */
    bottom: 150px; /* Adjusted distance from the bottom */
    width: 250px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: right 0.5s ease;
    z-index: 1000;
}
.newsletter-subscription.show {
    right: 100px; /* Slide in from the right */
}



}
/* FOoter */


/* Partner section */
.real-estate-partners-section {
    padding: 60px 20px;
    background-color: #f4f4f4;
    position: relative;
    background-image: url('../img/partner-background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    max-width: 100%;
}

.real-estate-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.real-estate-partners-content {
    flex: 1;
    color: #ffffff;
    position: relative;
    padding-right: 30px;
}

.real-estate-partners-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    border-radius: 1px;
}

.real-estate-partners-content h2 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
    margin-bottom: -10px;
}

.real-estate-partners-content h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.real-estate-partners-content h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: #ffffff;
}

.real-estate-partners-content p {
    font-size: 16px;
    color: #f0f0f0;
    line-height: 1.5;
    margin-bottom: 40px;
}

.real-estate-partner-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.real-estate-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 10px; /* Reduced padding for smaller card size */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 310px;
}

.real-estate-logo-card img {
    max-width: 100%;
    max-height: 80px; /* Increase the maximum height of the logos */
    object-fit: contain;
}

.real-estate-partners-cta {
    flex: 0.5;
    text-align: left;
    color: #ffffff;
    margin-top: 180px;
    margin-left: 50px;
}

.real-estate-partners-cta p {
    font-size: 16px;
    color: #f0f0f0;
    line-height: 1.5;
    margin-bottom: 20px;
}

.real-estate-cta-button {
    background-color: #ffffff;
    color: #a67c00;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #ffffff;
}

.real-estate-cta-button:hover {
    background-color: #f0f0f0;
    color: #a67c00;
  
}

.real-estate-logo-card h4{
    color:black;
    margin-left: 10px;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .real-estate-container {
        flex-direction: column;
        align-items: center;
        padding: 0;
        height: 100vh;
        max-width: 100%;
    }

    .real-estate-partners-content {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .real-estate-partners-content h2 {
        font-size: 22px;
    }

    .real-estate-partners-content h3 {
        font-size: 26px;
    }

    .real-estate-partners-content p {
        font-size: 30px;
    }

    .real-estate-partner-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .real-estate-logo-card {
        padding: 4px; /* Further reduced padding for mobile */
    }
    
    .real-estate-logo-card img {
        max-height: 70px; /* Adjust the maximum height for mobile */
    }
    .real-estate-partners-cta {
        margin-top: 0;
        margin-left: 0;
        text-align: center;
    }

    .real-estate-cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .real-estate-partner-logos {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .real-estate-logo-card {
        padding: 6px; /* Minimal padding for small screens */
    }

    .real-estate-logo-card img {
        max-height: 60px; /* Further adjust the maximum height for smaller screens */
    }
    .real-estate-logo-card img {
        max-height: 40px;
    }

    .real-estate-partners-content h2 {
        font-size: 20px;
    }

    .real-estate-partners-content h3 {
        font-size: 22px;
    }

    .real-estate-partners-content p {
        font-size: 13px;
    }

    .real-estate-cta-button {
        padding: 8px 16px;
        font-size: 12px;
    }
}


.career-hero-section {
  background: #304864;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.career-hero-content h1 {
  font-size: 3em;
  margin-bottom: 10px;
  font-family: 'Kanit', sans-serif;
}
.career-hero-content p {
  font-size: 1em;
}
.career-hero-content a {
  color: #ed945b;
  text-decoration: none;
}
.career-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}
.career-job-card {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.career-job-card h3 {
  margin-bottom: 10px;
  color: #304864;
}
.toggle-btn {
  background: #ed945b;
  color: #fff;
  border: none;
  padding: 10px 16px;
  margin: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.toggle-btn:hover {
  background: #d57b44;
}
.job-details,
.application-form {
  display: none;
  margin-top: 15px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}
.application-form label {
  display: block;
  margin: 10px 0;
}
.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.application-form button[type="submit"] {
  background: #304864;
  color: #fff;
  padding: 10px 20px;
  border: none;
  margin-top: 15px;
  border-radius: 6px;
  cursor: pointer;
}
.application-form button[type="submit"]:hover {
  background: #223554;
}


/* Footer Styles */
.footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    font-size: 14px;
    max-width: 100%;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    flex: 1;
    max-width: 250px;
    margin-bottom: 100px;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
}

.footer-logo p {
    margin-top: 10px;
    font-style: italic;
}

.footer-links {
    flex: 2;
    max-width: 600px;
}

.footer-links h4 {
    border-bottom: 2px solid #c89c13;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between links */
}

.links-container a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.links-container a:hover {
    text-decoration: underline;
}

.footer-newsletter {
    flex: 1;
    max-width: 300px;
}

.footer-newsletter h4 {
    border-bottom: 2px solid #c89c13;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-newsletter p {
    margin-bottom: 10px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input[type="email"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.footer-newsletter button {
    background-color: #c89c13;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.footer-newsletter button:hover {
    background-color: #a67c00;
}

.footer-bottom {
    background-color: black;
    padding: 10px 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
}

/* Follow Us on Socials Styling */
.follow-us {
    margin-top: 20px;
}

.follow-us p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
    border-bottom: 2px solid #c89c13; /* Adds underline */
    display: inline-block; /* Ensures the underline fits the text width */
    padding-bottom: 5px; /* Adjusts spacing between the text and underline */
}

.social-icons {
    display: flex;
    gap: 15px; /* Space between the social icons */
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #c89c13; /* Hover color */
}

/* Mobile Styles */
@media only screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo, .footer-links, .footer-newsletter {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .footer-logo {
        margin-bottom: 40px;
        width: 200px;
    }

    .links-container {
        flex-direction: column;
        gap: 10px;
    }

    .footer-newsletter form {
        flex-direction: column;
    }

    .footer-newsletter input[type="email"] {
        margin-bottom: 10px;
        margin-left: 0;
    }

    .social-icons {
        justify-content: center;
    }
}





/* Slider Container */
.project-slider {
    position: relative;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    background-color: #000; /* Black background for the slider */
  }
  
  .slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  /* Project Card Styling */
  .project-card {
    min-width: 100%; /* Full-width slides */
    background-color: #c89c13;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .project-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  
  .project-info {
    padding: 20px;
  }
  
  .project-name {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .project-type {
    font-size: 16px;
  }
  
  /* Navigation Arrows */
  .prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
  }
  
  .prev-slide {
    left: 20px;
  }
  
  .next-slide {
    right: 20px;
  }
  
  .prev-slide:hover, .next-slide:hover {
    background-color: #fff;
    color: #c89c13;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .project-image {
      height: 250px;
    }
  
    .project-name {
      font-size: 20px;
    }
  
    .project-type {
      font-size: 14px;
    }
  }
  