/* ------------------------------------------------------------------------------

  Template Name: Provident
  Description: Provident Landing Page
  Author: Mudassar
  Version: 1.0
  
  1.  Global 
    
      1.1 General 
      1.2 Typography 
      1.3 Fields
      1.4 Buttons 
      1.5 Icons
      1.6 Loader  
      1.7 Helpers
 
  2.  Navbar 

      2.1 Navbar elements
      2.2 Navbar affix
      2.3 Sidebar Menu
      
  3.  Homepage

      3.1 Jumbotron
      3.2 Slider
      3.3 Section About
      3.4 Section Projects

          3.4.1 Projects Carousel

      3.5 Section Clients
      3.6 Section Partners
      3.7 Section Team
      3.8 Section Contacts
      3.9 Footer

  4.  Homepage v2

      4.1 Navbar
      4.2 Sections
      4.3 Section About
      4.4 Section Projects
      4.5 Section Partners
      4.6 Section Testimonials 
      4.7 Section Contacts

  5. Responsive styles

      5.1 Min width: 768px
      5.2 Min width 992px
      5.3 Min width 1200px 
      5.4 Min width 1550px 
      5.5 Min height 500px
      5.6 Min height 600px
      5.7 Min height 700px


      
/*-------------------------------------------------------------------------------
 1. Global
-------------------------------------------------------------------------------*/

/* 1.1 General */


@font-face {
    font-family: 'optima';
    src: url('../fonts/optima.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'optima bold';
    src: url('../fonts/optima-bold.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Light.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans Light';
    src: url('../fonts/OpenSans-Light.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color:#000;
}
body{
    background-color: #F6F1EDE5;
    /*overflow-x: hidden;*/
}
html{
    /*overflow-x: hidden;*/
}
h1,
.h1 {
	font-size: 3.428rem;
	line-height: 1.2;
	color: #000;
	letter-spacing: -0.025em;
	margin: 0.5em 0;
    font-family: "Cardo", serif;
    font-weight: 400;
    letter-spacing: .065em;
}

h2,
.h2 {
	font-weight: 400;
	font-size: 2.571rem;
	line-height: 1.166;
	letter-spacing: 0;
	margin: 2.6rem 0;
	text-transform: uppercase;
    font-family: 'optima bold';
    font-weight: 400;
    letter-spacing: .065em;
}

h3,
.h3 {
	font-weight: 600;
	font-size: 2.142rem;
    font-family: 'optima bold';
	line-height: 1.2;
	letter-spacing: -0.05em;
	color: #000;
	margin: 2.6rem 0;
}

h4,
.h4 {
	font-weight: 600;
	font-size: 1.714rem;
    font-family: 'optima bold';
	line-height: 1.25;
	letter-spacing: 0.025em;
	color: #000;
	margin: 2.6rem 0;
}

h5,
.h5 {
	font-weight: 600;
	font-size: 1.571rem;
    font-family: 'optima bold';
	line-height: 1.1;
	letter-spacing: 0;
	color: #000;
	margin: 2.6rem 0;
}

h6,
.h6 {
	font-weight: 600;
	font-size: 1.285rem;
    font-family: 'optima bold';
	line-height: 1.3333;
	letter-spacing: 0;
	color: #000;
	margin: 2.6rem 0;
}
p {
	font-size: 1rem;
    font-family: 'optima';
    line-height: 25px;
}
a {
    font-family: 'optima';
    text-decoration: none;
    color: #000;
}
span{
    font-family: 'optima';
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl, .container-xxxl {
    margin-left: auto;
    margin-right: auto;
    padding-left: .9375rem;
    padding-right: .9375rem;
    width: 100%;
}


@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
    }
}
@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl, .container-xxxl {
        max-width: 105rem;
    }
}
.container-fluid{
    width: 100%;
}
strong{
    font-weight: 600;
}
.success-message, .error-message {
    display: none;
    margin-top: 2rem;
}
.submit-btn button{
    border-radius: 5px;
    color: #fff;
    background: #BC9D6F;
    padding: 15px 0;
    width: 100%;
    font-family: 'optima';
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid #000;
}
.submit-btn button:hover{
    background-color: #fff;
    color: #000;
}
.section-head h2{
    font-size: 2.8rem;
    margin: 0;
    text-transform: capitalize;
    font-family: 'optima';
    letter-spacing: 0;
}
.section-head p{
    color: #161C2D;
    margin-top: 10px;
}

/* ------- Page CSS ------- */

#header{
    height: 100px;
    position: absolute;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    width: 100%;
    padding-right: 100px;
}
#header .container-fluid{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
/*#header .register-btn{*/
/*    color: #fff;*/
/*}*/
/*#header .register-btn:hover{*/
/*    color: #000;*/
/*}*/
/* Sticky header styles */
/* #header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
} */

#header.sticky.show {
    transform: translateY(0);
}
.logo img{
    max-width: 165px;
    width: 100%;
    visibility: hidden;
}
.call-to-action-btns{
    display: flex;
    gap: 15px;
}
.register-btn{
    font-family: 'optima';
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 30px;
    font-size: 14px;
    gap: 10px;
    text-transform: uppercase;

}
.register-btn img{
    max-width: 19px;
    width: 100%;
}
.register-btn:hover img{
    filter: invert(1);
}
.white-bg{
    color: #000;
    background-color: transparent;
    border: 1px solid #062A34;
    transition: background-color 0.3s ease;
}
.white-bg:hover{
    background-color: #062A34;
    color: #fff;
}
.black-bg{
    background-color: #BC9D6F;
    color: #fff;
    transition: background-color 0.3s ease;
    border: 1px solid #BC9D6F;
}
.black-bg:hover{
    background-color: #fff;
    color: #BC9D6F;
}
/* -------Banner------- */

#banner{
    /* background-image: url('../images/banner.jpg?v=1'); */
    /* height: 90vh; */
    background-size: cover;
    background-position: center center;
    position: relative;
}
#banner::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 167vh;
    background-image: url(../images/banner-bg.png);
    left: 0;
    top: 0;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
}
/* When scrolling up - increase height */
#banner.scroll-up::before {
    height: 182vh;
}

/* When scrolling down - return to normal */
#banner.scroll-down::before {
    height: 178vh;
}
#banner .container-fluid{
    padding: 0;
}
.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.banner-right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
@media (min-resolution: 192dpi) {
    #banner {
        width: 100%;
        /* background: url(../images/banner-retina.jpg?v=1) center center / cover no-repeat; */
        background-position: center center;
    }
}
#banner .container{
    height: 100%;
    position: relative;
    z-index: 1;
}
.banner-section{
    height: 100%;
    display: flex;
    
}
.banner-left,.banner-right{
    width: 50%;
}
.banner-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.banner-left .inner-logo{
    width: 100%;
    max-width: 200px;
}
.banner-left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px;
}
.banner-left h1{
    font-size: 3.5rem;
    margin-top: 30px;
    max-width: 53%;
    color: #000;
}
.banner-left .register-btn{
    max-width: 350px;
    margin-top: 40px;
}
.banner-left-text{
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}
.banner-left-text span{
    color: #000;
    font-family: 'optima bold';
}
.banner-left-text hr{
    width: 100px;
    border: none;
    border-top: 0.5px solid #000;
    height: 0;
}
.banner-left-bottom{
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.banner-left-bottom span{
    color: #000;
    font-family: 'optima';
}
.banner-left-bottom span strong{
    color: #000;
    font-weight: 600;
    font-family: 'optima bold';
}
.banner-left-bottom img{
    filter: invert(1);
}
.form-group{
    margin-bottom: 12px;
}
.form-group input, .form-group select{
    width: 100%;
    height: 45px;
    border: 1px solid #E2E2E2;
    border-radius: 3px;
    padding-left: 15px;
    color: #161C2D;
    font-size: 12px;
    margin-top: 4px;
}
.form-group input::placeholder, .form-group select::placeholder{
    color: #808080;
    font-style: italic;
}
.form-group label{
    font-family: 'optima';
    font-size: 12px;
    color: #000;
}
#sliderFormID{
    margin-top: 15px;
}
.form-img{
    text-align: center;
}
.form-img img{
    width: 100%;
    max-width: 130px;
}
.form-group input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
}
.mort-check {
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 20px 0;
    font-weight: 600;
}

/* About */
#body-wrap {
    /* margin-top: -100px;  */
    position: relative;
    z-index: 2;
    transition: margin-top 0.6s ease;
}
/* #body-wrap::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 30vh;
    background-image: url(../images/banner-bg.png);
    left: 0;
    top: 0;
    z-index: -1;
} */
#body-wrap.scroll-up {
    margin-top: -100px; /* Stay at initial overlap */
}

#body-wrap.scroll-down {
    margin-top: -150px; /* Pull up 200px more */
}

#about nav{
    color: #062A34;
    font-size: 2.5rem;
    margin: 40px auto 20px;
}
.about-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-inner p{
    color: #000;
}
.about-inner img{
    width: 100%;
    max-width: 700px;
}
/* Area Section */
#area-detail .container{
    border-bottom: 1px solid #e7e9ed;
}
.area-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 70%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}
.area-grid h3{
    font-family: 'optima';
    margin: 10px 0 20px;
    color: #161C2D;
    letter-spacing: 0;
}
.area-grid p{
    font-family: 'Open Sans';
    color: #161C2D;
}
.area-grid div{
    text-align: center;
}
.area-grid .area-gid-2 img{
    padding-top: 10px;
    opacity: 0.5;
}
/* Projects */
#discover-projects{
    padding: 130px 15px;
    /* background-color: #00000012; */
    position: relative;
}
#discover-projects::before{
    content:"";
    position: absolute;
    background-image: url(../images/project-bg.png);
    width: 100%;
    height: 100%; 
    background-repeat: repeat-y; 
    top: 0;
    left: 0;
    background-size: auto 100%; 
    background-position: top center;
    pointer-events: none;
    opacity: .4;
    z-index: 0;
    background-size: cover;
}
#discover-projects .section-head{
    position: relative;
}
.project-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.project-grid .project:nth-child(even){
    flex-direction: row-reverse;
}
.project-grid .project:nth-child(even) .project-detail{
    /* padding-left: 0; */
}
.project h3{
    font-family: 'optima';
    font-weight: 400;
    font-size: 1.3rem;
    text-transform: uppercase;
    margin: 20px 0 20px 0;
    letter-spacing: 0;
}
.project{
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */
    position: relative;
    display: flex;
    margin-top: 50px;
}
.project:nth-child(1){
    margin-top: 10px;
}
.read-more-btn {
    display: none;
}

.project-detail p {
    max-height: none !important;
    color: #525252;
}

.project-detail p::after {
    display: none !important;
}
.project-detail-divs{
    display: flex;
    gap: 30px;
    margin-top: 35px;
}
.property-price, .property-size, .property-bed{
    display: flex;
    gap: 11px;
    align-items: center;
}
.black-tag, .white-tag, .brown-tag{
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1;
}
.project-detail{
    width: 50%;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 10px;
}
.project-info-mobile{
    display: none;
}
/* Mobile Project Navigation - MOBILE ONLY */
.mobile-project-navigation {
    display: none; /* Hidden on desktop */
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.mobile-project-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    color: #161C2D;
    background-color: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    min-width: 100px;
    justify-content: center;
}

.mobile-project-btn:hover {
    border-color: #333;
    color: #333;
    transform: translateY(-1px);
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

.mobile-project-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.mobile-project-prev:disabled img{
    border: 1px solid #91B0AE;
    background-color: transparent;
    filter: invert(0);
}
.mobile-project-next:disabled img{
    border: 1px solid #91B0AE;
    background-color: transparent;
    filter: invert(1);
}
.mobile-project-prev img{
    z-index: 1;
    position: relative;
    padding: 10px;
    background: #91B0AE!important;
    border-radius: 50%;
    filter: invert(1);
    opacity: 0.6;
}
.mobile-project-next img{
    z-index: 1;
    position: relative;
    padding: 10px;
    background: #91B0AE;
    border-radius: 50%;
}
.mobile-project-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #161C2D;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 20px;
}

.mobile-project-current {
    color: #161C2D;
    font-weight: 700;
}

.mobile-project-separator {
    color: #161C2D;
    margin: 0 2px;
}

.mobile-project-total {
    color: #161C2D;
}

.black-tag{
    background-color: #000;
    color: #fff;
}
.white-tag{
    background-color: #fff;
    color: #000;
}
.brown-tag{
    background-color: #EC7777;
    color: #fff;
}
.emaar-logo{
    position: absolute;
    width: 87px !important;
    top: 20px;
    left: 10px;
    z-index: 1;
}
.project img{
    width: 100%;
}
.project-detail img{
    max-width: 20px!important;
}
.project-detail .property-types{
    display: flex;
    gap: 10px;
}
.project-detail .property-types p{
    padding: 2px 16px;
    background-color: #fff;
    border-radius: 20px;
    min-width: 100px;
    text-align: center;
    font-size: 12px;
    font-family: 'optima bold';
    color: #07234B;
}
.project .price{
    display: flex;
    margin-top: 20px;
    gap: 30px;
    padding: 0 20px;
    
}
.project .call-to-action-btns{
    margin-top: 40px;
}
.project div span{
    font-family: 'optima bold';
    color: #040404;
}
/* -------------------------- */
/* Only additional CSS for tabs and load more functionality */

/* Project tabs styling */
/* Scrollable tabs container */
.tabs-container {
    margin: 40px 0;
    position: relative;
}

.tabs-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    position: relative;
}

/* Navigation arrows */
.tab-nav-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.tab-nav-btn:hover {
    border-color: #333;
    color: #333;
    background: #f8f8f8;
    transform: scale(1.05);
}

.tab-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.tab-nav-btn:disabled:hover {
    border-color: #e0e0e0;
    color: #666;
    background: white;
}

/* Scrollable wrapper */
.tabs-nav-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #000;
}

.tabs-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 0 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    /* justify-content: center; */
}

.tabs-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Tab buttons */
.tab-button {
    padding: 21px 60px;
    border: none;
    background: transparent;
    color: #1E1E1E;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.tab-button:hover {
    background: #EBE7E1;
    transform: translateY(-2px);
}

.tab-button.active {
    background: #EBE7E1;
    transform: translateY(-2px);
}

/* Fade effects for overflow indication */
.tabs-nav-wrapper::before,
.tabs-nav-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tabs-nav-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgb(246 241 237 / 54%), rgba(255, 255, 255, 0));
    opacity: 0;
}

.tabs-nav-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgb(246 241 237 / 54%), rgba(255,255,255,0));
    opacity: 0;
}

.tabs-nav-wrapper.show-left-fade::before {
    opacity: 1;
}

.tabs-nav-wrapper.show-right-fade::after {
    opacity: 1;
}

/* Project content visibility */
.project-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.project-grid {
    min-height: 400px;
}

/* Responsive design */
@media (max-width: 768px) {
    .tabs-navigation {
        gap: 8px;
    }
    
    .tab-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .tab-nav-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 13px;
    }

}

@media (max-width: 480px) {
    .tab-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .tab-nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .tab-nav-btn svg {
        width: 12px;
        height: 12px;
    }
}

/* Hide navigation arrows when not needed */
.tabs-navigation.no-scroll .tab-nav-btn {
    display: none;
}

/* Project content visibility */
.project-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-tab-content.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Project grid - single project display */
.project-grid {
    min-height: 400px; /* Prevent layout jumping */
}

/* Responsive tabs */
@media (max-width: 768px) {
    .tabs-nav {
        gap: 6px;
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tabs-nav {
        align-items: center;
    }
    
    .tab-button {
        text-align: center;
    }
}
/* Hide projects that don't match current tab */
.project.hidden {
    display: none !important;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 70px;
}

.load-more-btn {
    background: #000;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 300px;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.load-more-btn.hidden {
    display: none;
}
.project.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.project.reveal {
    opacity: 1;
    transform: translateY(0);
}
.project {
    position: relative;
    overflow: hidden; /* This prevents carousel from going outside */
}

.project .project-swiper {
    width: 50%;
    position: relative;
}

.project .project-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.project .project-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Make navigation buttons smaller and positioned properly */
.project .swiper-button-next,
.project .swiper-button-prev {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.project .swiper-button-next:after,
.project .swiper-button-prev:after {
    font-size: 12px;
}

/* Position pagination properly */
.project .swiper-pagination {
    bottom: 10px;
}

.project .swiper-pagination-bullet {
    /*background-color: #fff;*/
    opacity: 0.7;
    width: 8px;
    height: 8px;
}

.project .swiper-pagination-bullet-active {
    background-color: #fff;
    opacity: 1;
}
.hover-zones {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    pointer-events: none;
}

.hover-zone {
    flex: 1;
    height: 100%;
    pointer-events: all;
    cursor: pointer;
}
/* Why invest in emaar */
#invest-emaar{
    /* margin-top: 130px; */
}
#invest-emaar .container{
    padding: 80px 40px;
}
.invest-first{
    display: flex;
    gap: 30px;
}
.invest-first-left{
    width: calc(60% - 30px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.invest-first-right{
    width: 40%;
}
.invest-first-left .section-head p{
    max-width: 75%;
}
.invest-first-right img{
    width: 100%;
}
.invest-first-left .register-btn{
    max-width: 300px;
    margin-bottom: 20px;
    margin-top: 30px;
}
.invest-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.invest-grid-item{
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
}
.invest-grid-item span{
    color: #BC9D6F;
}
.invest-grid-item img{
    max-width: 35px;
    width: 100%;
}
.invest-grid-item div{
    display: flex;
    gap: 10px;
    align-items: center;
}


.invest-grid-item p{
    margin-top: 20px;
}

/* Video Section */
#videoArea {
    margin-top: 130px;
}
.videoImage {
    position: relative;
}
/* .videoImage:before {
    content: "";
    background-color: #215a9236;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
} */
.videoBtn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.video-btn img {
    max-width: 100px;
}
.videoImage img {
    width: 100%;
    margin-top: 30px;
}
.video-cta {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Map Area */
#location-map {
    padding: 70px 0;
    position: relative;
    background-color: #fff;
}

#location-map::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: url(../images/about-bg.png);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    background-size: cover;
    background-repeat: no-repeat;
}



#location-map .section-head {
    display: block !important;
    margin-bottom: 35px;
}

#location-map .section-head h2 {
    color: #013055;
}

/*#location-map .section-head span {*/
/*    color: #013055;*/
/*    border-color: #013055;*/
/*    padding: 7px 24px;*/
/*    border: 1px solid #fff;*/
/*    border-radius: 18px;*/
/*    text-transform: uppercase;*/
/*    font-size: 16px;*/
/*    letter-spacing: 0;*/
/*    position: relative;*/
/*}*/

#location-map .container {
    display: flex;
    position: relative;
    z-index: 1;
}

/* Sidebar Styles */
.sidebar {
    width: 390px;
    background: white;
    padding: 35px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    position: absolute;
    z-index: 1;
    right: 60px;
    top: 50%;
    transform: translate(0, -50%);
}

.sidebar nav {
    font-size: 26px;
    margin-bottom: 28px;
    margin-top: 5px;
    color: #013055;
}

.sidebar p {
    color: #013055;
}

/* Location Buttons */
.location-btn {
    width: 100%;
    padding: 20px;
    margin-bottom: 10px;
    background: #f4f3ed00;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    text-align: left;
    position: relative;
    border: none;
}

.btn-content {
    display: flex;
    gap: 40px;
}

.btn-content span:nth-child(1) {
    white-space: nowrap;
    font-family: bold;
}

.btn-content span {
    color: #013055;
    line-height: 1.4;
}

.location-btn:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
}

.location-btn.active {
    background-color: #f4f3ed86;
}

/* Map Container */
#map {
    flex: 1;
    width: 100%;
    height: 700px;
    position: relative;
}

/* Force the Mapbox canvas to fill the container */
#map .mapboxgl-canvas {
    width: 100% !important;
    height: 100% !important;
}

#map .mapboxgl-canvas-container {
    width: 100% !important;
    height: 100% !important;
}

/* Location Card */
.location-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 0;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.location-card.show {
    opacity: 1;
    visibility: visible;
}

.location-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.location-card .card-content {
    padding: 15px;
}

.location-card h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.location-card .address {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* Custom Markers */
.custom-marker {
    width: 40px;
    height: 40px;
    /*background: url(../images/pointer.svg);*/
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: relative;
}
.custom-marker::before{
    content: "";
    width: 40px;
    position: absolute;
    height: 40px;
    left: 0;
    animation: pulse 1.5s infinite;
    background-color: #00000066;
    border-radius: 30px;
    z-index: 0;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
.custom-marker.active {
    /* background: #ff4757; */
    transform: scale(1.3);
}
.custom-marker img{
    max-width: 100%;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1;
}
/* Additional Custom Marker */
.additional-custom-marker {
    width: 100px;
    height: 90px;
    cursor: pointer;
    display: flex;
    align-items: start;
    justify-content: center;
    position: relative;
    transition: 0.3s;
}

.additional-marker-logo {
    width: 70px;
    height: 48px;
    margin-top: 3px;
    object-fit: contain;
    z-index: 1;
}

/* Hide Mapbox Controls */
.mapboxgl-ctrl-bottom-left, 
.mapboxgl-ctrl-bottom-right {
    display: none;
}

/* Responsive Styles */
@media (min-width: 992px) {
    #location-map {
        height: 65rem;
    }
    
    .location-card {
        min-width: 254px;
        max-width: 260px;
    }
}

/* Book Consultation */
#book-consultation{
    background-color: #fff;
    padding-bottom: 80px;
}
.book-section{
    display: flex;
}
.book-img{
    width: 45%;
}
.book-right{
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 50px;
}
.book-img img{
    width: 100%;
}
.book-right .call-to-action-btns{
    margin-top: 70px;
}

/* FAQ Section */

#faq{
    padding: 70px 0;
    position: relative;
}
#faq::before{
    content:"";
    position: absolute;
    background-image: url(../images/project-bg.png);
    width: 100%;
    height: 100%; 
    background-repeat: repeat-y; 
    top: 0;
    left: 0;
    background-size: auto 100%; 
    background-position: top center;
    pointer-events: none;
    opacity: .4;
    z-index: 0;
    background-size: cover;
}
#faq .faq-con {
    border-radius: 7px;
    position: relative;
}

.faq {
    margin: 50px 0 0;
    background-color: #fff;
}
.faq-item {
    border-bottom: 1px solid #ccc;
}
.faq-question {
    cursor: pointer;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq .faq-item:last-child{
    border-bottom: none;
}
.faq-item.active .faq-answer {
    display: block;
    opacity: 1;
}
.faq-answer ul{
    margin: 10px 0 10px 20px;
}
.faq-question span {
    font-size: 17px;
}
.faq-icon {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}
.faq-answer {
    display: none;
    padding: 15px 20px;
    line-height: 1.5;
    font-family: futura-pt, Helvetica, sans-serif;
    font-size: 15px;
    transition: max-height 0.4s ease;
    opacity: 0;
    font-family: 'optima';
}
.faq-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-support{
    display: flex;
    gap: 10px;
}
.support-img img{
    width: 100%;
    max-width: 22px;
}
.faq-support div nav:nth-child(1){
    color: #062A34;
    font-family: 'optima bold';
}
.faq-support div nav:nth-child(2){
    color: #062A34;
    font-family: 'optima';
    margin-top: 5px;
}
/* .faq-top .white-bg{
    background-color: #fff;
}
.faq-top .white-bg:hover{
    border: 1px solid #fff;
    background-color: #000;
} */


/* Form Section */
#vist-area{
    background-color: #fff;
}
#vist-area .container{
    padding: 60px 45px;
    border-radius: 20px;
}
.form-container{
    display: flex    ;
    justify-content: space-between;
    margin-top: 40px;
}
.visit-content{
    width: 35%;
    padding: 40px 40px 0;
}
.visit-content .section-head h2{
    display: none;
}
.visit-content .section-head p{
    display: none;
}
.footer-quote {
    width: 65%;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.show-info {
    position: relative;
    width: 52%;
}
.form-img-text {
    position: absolute;
    width: 265px;
    height: 250px;
    background-color: #BC9D6F;
    color: rgb(255, 255, 255);
    top: 15px;
    z-index: 1;
    padding: 25px;
    /* border-radius: 10px; */
}
.form-img-text p {
    color: rgb(255, 255, 255);
    text-align: left;
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-quote img {
    width: 100%;
    max-width: 305px;
    z-index: 12;
    position: relative;
}
/* Footer Bar */
#bottom-bar {
    background-color: #000;
    display: flex;
    align-items: center;
    padding: 25px 0;
}
#bottom-bar p {
    text-align: center;
    color: #fff;
    font-size: 12px !important;
    margin-bottom: 0;
}
#bottom-bar p strong{
    color: #fff;
}
#bottom-bar p:nth-child(2){
    margin-top: 10px;
    margin-bottom: 10px;
}
#bottom-bar .container{
    text-align: center;
}
#bottom-bar a{
    margin-top: 10px;
    text-align: center;
    font-size: 12px !important;
    color: #fff;
    font-style: underline;
    text-decoration: underline;
}

/* Popup code */
.autoPopup {
    border-radius: 10px;
    padding: 40px;
    background: #fff;
    max-width: 500px;
    position: relative;
}
#contactPopup .section-head h2, #brochurePopup .section-head h2{
    font-size: 1.7rem;
    line-height: 1.3;
    text-align: center;
}
#contactPopup .section-head p, #brochurePopup .section-head p{
    text-align: center;
}
.autoPopup-description {
    color: white;
    padding: 30px 45px 0px;
}
.autoPopup-description h3 {
    color: white;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.autoPopup-description p {
    margin: 0;
    color: white;
    font-size: 1.3rem;
    line-height: 2rem;
    margin-top: 15px;
}
.agent-wrap {
    display: flex;
    align-items: center;
}
.mt40, .mt40-desk-only {
    margin-top: 40px;
}
.agent-wrap .agent-photo img {
    max-width: 115px;
    border-radius: 25px;
}
.agent-wrap .agent-contact {
    flex-basis: 215px;
    padding-left: 14px;
}
.agent-wrap .agent-contact p {
    margin: 0;
    line-height: 1.6;
}
.autoPopup-description p {
    color: white;
}
.agent-wrap .agent-contact a {
    color: white;
    text-decoration: none;
}
.autoPopup-form {
    background: white;
    border-radius: 30px;
}
.autoPopup .flex-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
#autoPop, #brochureFormPopup{
    margin-top: 20px;
}
.mfp-close-btn-in .mfp-close{
    color: #000;
}
.social-media-icon {
    position: fixed;
    bottom: -50px;
    max-width: 85px;
    right: 16px;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    z-index: 11;
    display: none;
}
.social-media-icon ul {
    list-style: none;
}
.social-media-icon ul li {
    width: 100%;
    float: left;
    position: relative;
    margin-left: 15px;
    margin-top: 11px;
    max-width: 62px;
}
.ion-android-call:before {
    content: "";
    width: 19px;
    height: 19px;
    background-image: url(../images/call.png);
    position: absolute;
    left: 18px;
    background-size: cover;
    top: 20px;
}
.ion-social-whatsapp-outline:before {
    content: "";
    width: 19px;
    height: 19px;
    background-image: url(../images/whatsapp.png);
    position: absolute;
    left: 18px;
    background-size: cover;
    top: 20px;
}
.social-media-icon ul li a {
    display: inline-flex;
    align-items: center;
    padding: 0px 10px;
    font-size: 20px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0px 2px 6px rgb(0, 0, 0, 0.1);
    transition: 0.8s all;
    margin: 5px 0;
    text-decoration: none;
    text-align: center;
}
.social-media-icon ul li .call-btn {
    background: #50afe4;
}
.social-media-icon ul li a .icon {
    font-size: 25px;
    width: 34px;
    height: 51px;
}
.icon {
    display: inline-block;
}
.social-media-icon ul li .whatsapp-btn {
    background: #25d366;
}
.whatsapp-btn::before{
    content: "";
    width: 58px;
    position: absolute;
    height: 50px;
    left: 0;
    animation: pulse 1.5s infinite;
    background-color: #25d366;
    border-radius: 10px;
}
.call-btn::before{
    content: "";
    width: 58px;
    position: absolute;
    height: 50px;
    left: 0;
    animation: pulse 1.5s infinite;
    background-color: #50afe4;
    border-radius: 10px;
}

.social-media-icon ul li a span {
    display: inline-flex;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    max-width: 0;
    -webkit-transition: max-width 0.8s;
    overflow: hidden;
    font-size: 16px;
    margin-left: 5px;
}
/*.social-media-icon ul li a:hover span {*/
/*	max-width: 300px;*/
/*	transition: max-width 1.6s;*/
/*	-webkit-transition: max-width 1.6s;*/
/*}*/
.grecaptcha-badge{
    visibility: hidden;
}
@media (max-width: 1800px){
    .banner-left h1{
        max-width: 90%;
    }
}
@media (max-width: 1440px){
    .banner-left{
        padding: 50px;
    }
    .banner-left h1{
        font-size: 3rem;
        max-width: 78%;
    }
    #body-wrap.scroll-down {
        margin-top: -30px;
    }
    .form-img-text {
        right: 51%;
    }
    .project div span{
        font-size: 15px;
    }
    .about-inner img{
        max-width: 400px;
    }
    #banner.scroll-down::before{
        height: 157vh;
    }
    #banner.scroll-up::before {
        height: 150vh;
    }
}
@media (max-width: 1199px){
    .about-inner img {
        max-width: 400px;
    }
    .banner-left h1{
        font-size: 2rem;
    }
    .banner-left .inner-logo{
        max-width: 150px;
    }
    #body-wrap{
        margin-top: -55px;
    }
    #discover-projects{
        padding: 80px 15px;
    }
    
}
/* Responsive */
@media (max-width: 991px) {
    .banner-section{
        flex-direction: column;
    }
    .banner-left,.banner-right{
        width: 100%;
    }
    .banner-left > div{
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #about nav{
        font-size: 2rem;
        text-align: center;
    }
    p{
        font-size: 14px;
    }
    #header{
        display: none;
    }
    .register-btn{
        font-size: 12px;
    }
    .register-btn img{
        max-width: 13px;
    }
    .logo img{
        max-width: 130px;
    }
    .banner-inner{
        justify-content: center;
    }
    .form-img-text {
        right: 41%;
    }
    .footer-quote {
        width: 100%;
        align-items: flex-end;
        justify-content: center;
    }
    .footer-quote .show-info{
        width: 100%;
        text-align: right;
    }
    #banner::before{
        height: 67vh;
    }
    .banner-left p{
        text-align: center;
    }
    .banner-left .inner-logo{
        max-width: 280px;
    }
    .invest-grid{
        gap: 20px;
    }
    #vist-area{
        padding-bottom: 50px;
    }
    .project-detail-divs{
        gap: 10px;
        flex-direction: column;
    }
    .project-detail .call-to-action-btns{
        flex-direction: column;
    }
    .banner-left{
        justify-content: center;
    }
    .banner-left-bottom{
        display: none;
    }
    .area-grid{
        max-width: 90%;
    }
    .area-grid div img{
        max-width: 33px;
    }
    .area-grid h3{
        font-size: 1.5rem;
    }
    .section-head h2{
        font-size: 2rem;
        text-align: center;
    }
    .section-head p{
        text-align: center;
    }
    .invest-first{
        flex-direction: column-reverse;
    }
    .invest-first-left{
        width: 100%;
        align-items: center;
    }
    .invest-first-right{
        width: 100%;
        max-height: 220px;
        overflow: hidden;
        display: flex;
        align-items: center;
        border-radius: 4px;
    }
    .invest-first-left .section-head h2{
        text-align: center;
    }
    .invest-first-left .section-head p{
        max-width: 100%;
        text-align: center;
    }
    .invest-first-left .register-btn{
        margin-top: 20px;
    }
    .invest-grid{
        grid-template-columns: 1fr 1fr;
    }
    .video-btn img{
        max-width: 60px;
    }
    .map{
        height: 68vh;
        background-repeat: no-repeat;
    }
    .locations-grid{
        grid-template-columns: 1fr 1fr;
        padding: 40px 0 0;
    }
    .location-box:nth-child(5) {
        grid-column: 1 / -1;         /* Span both columns */
        justify-self: center;        /* Center the box horizontally */
    }
    .location-box{
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 14px;
    }
    .location-box h3{
        margin: 0;
        font-size: 16px;
    }
    .location-box p{
        margin: 0;
        font-size: 16px;
    }
    .location-card{
        min-width: 254px;
        max-width: 260px;
    }
    .location-card h4{
        font-size: 12px;
    }
    .location-card h3{
        font-size: 1rem;
    }
    .video-cta{
        justify-content: center;
    }
    .map{
        background-position: 45%;
    }
    .book-section{
        flex-direction: column;
    }
    .book-img {
        width: 100%;
    }
    .book-right{
        width: 100%;
        padding-left: 0;
        margin-top: 30px;
    }
    .book-right .call-to-action-btns{
        margin-top: 30px;
        justify-content: center;
    }
    #faq{
        background-color: #fff;
        padding: 0;
    }

    .faq-support, .faq-top .call-to-action-btns{
        display: none;
    }
    .faq{
        background-color: #FAFAFA;
    }
    .form-container{
        flex-direction: column-reverse;
    }
    .footer-quote .show-info{
        text-align: center;
    }
    .footer-quote{
        width: 100%;
        align-items: flex-end;
    }
    .visit-content{
        width: 100%;
        padding: 0;
    }
    .visit-content .section-head h2{
        display: block;
        font-size: 22px;
        margin-bottom: 30px;
    }
    #vist-area .container{
        background-color: #fff;
    }
    #vist-area .container > .section-head{
        display: none;
    }
    #vist-area .container{
        padding: 0 45px;
    }
    .visit-content .booking-form-area{
        background-color: #FAFAFA;
        padding: 60px;
        border-radius: 10px;
    }
}

@media (max-width: 767px) {
    .header h1 {
        font-size: 2rem;
    }
    .map-container {
        height: 265px;
    }
    .locations-grid {
        padding: 20px;
        grid-template-columns: 1fr;
    }
    #header .call-to-action-btns{
        display: none;
    }
    #header .container{
        justify-content: center;
    }
    .project .project-swiper{
        width: 100%;
    }
    #header {
        height: 80px;
    }
    .area-grid{
        grid-template-columns: 1fr 1fr;
    }
    .project-tab-content{
        flex-direction: column;
    }
    .project-detail{
        width: 100%;
        margin-top: 40px;
        padding-left: 0;
    }
    .area-gid-3 {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 20px;
    }
    .area-grid div img{
        height: 32px;
    }
    #videoArea, #locationn, #vist-area{
        margin-top: 70px;
    }
    #invest-emaar{
        margin-top: 0;
    }
    
    #invest-emaar .container{
        padding: 50px 15px;
    }
    #faq{
        padding: 30px 0;
        background: #F6F1ED;
    }
    
    #vist-area .container{
        padding: 40px 15px;
    }
    .book-section{
        flex-direction: column-reverse;
    }
    .book-right{
        padding-right: 0;
    }
    .project-grid .project:nth-child(even){
        flex-direction: column-reverse;
    }
    #discover-projects{
        padding: 60px 0;
    }
    #map {
        height: 445px;
    }
    .mobile-project-navigation {
        display: flex;
    }
    
    .mobile-project-btn {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 80px;
        gap: 6px;
    }
    
    .mobile-project-indicator {
        font-size: 19px;
        padding: 6px 12px;
    }
    .location-card img{
        height: 75px;
    }
    .location-card .card-content {
        padding: 6px;
    }
    .section-head h2{
        font-size: 1.6rem;
        text-align: center;
    }
    .footer-quote{
        display: none;
    }
    .invest-grid {
        grid-template-columns: 1fr;
    }
    .map{
        height: 30vh;
        background-size: cover;
    }
    #bottom-bar{
        height: auto;
        padding: 20px 0;
    }

    


    .banner-left .inner-logo{
        max-width: 180px;
    }
    .location-card {
        min-width: 0;
        max-width: 110px;
        border-radius: 4px;
    }
    .location-card p{
        display: none;
    }
    .location-card h3 {
        font-size: 10px;
    }
    .location-card h4 {
        font-size: 7px;
        margin-top: 3px;
    }
    .location-box{
        width: 100%;;
    }
    .mfp-container{
        padding-left: 15px;
        padding-right: 15px;
    }
    .location-box p {
        font-size: 15px;
    }
    .location-box h3 {
        font-size: 15px;
    }
    .faq{
        padding: 30px 0;
    }
    .faq-top{
        justify-content: center;
    }
    .visit-content .section-head p{
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
    .visit-content .booking-form-area{
        background-color: #fff;
        padding: 0;
    }
    #visitPop .form-group input,#visitPop .form-group select{
        background-color: #FAFAFA;
        border: none;
        border-bottom: 1px solid #57575773;
        border-radius: 0;
    }
}