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

  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: 600;
    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;
}
h1,
.h1 {
	font-size: 3.428rem;
	line-height: 1.1;
	color: #000;
	letter-spacing: -0.025em;
	margin: 0.5em 0;
    font-family: 'optima';
    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: 'Open Sans Light';
    line-height: 25px;
}
a {
    font-family: 'Open Sans Light';
    text-decoration: none;
    color: #000;
}
span, nav{
    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;
    }
    .banner-right{
        max-width: 500px!important;
        width: 100%;
    }
}
.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: #000E23;
    padding: 15px 0;
    width: 100%;
    font-family: 'optima';
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid #000;
        z-index: 999;
    position: relative;
}
.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 > div{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}
.section-head > div hr{
    width: 100px;
    height: 1px; 
    border: none;
    background-color: #CFCFCF; 
}
.section-head > div img{
    width: 11px;
}
.section-head p{
    color: #353535;
    margin-top: 10px;
}
.about-right{
    display: grid    ;
    grid-template-columns: 1fr 1fr;
    gap: 0 35px;
}
.about-below-btns {
    display: none!important;
}
.about-right-item h3{
    margin: 8px 0;
    font-family: 'optima';
}
.about-right-item p{
    color: #353535;
}
.about-right-item img{
    width: 60px;
}

/* Register Form section */
#register-form{
    padding-top: 180px;
    padding-bottom: 80px;
    background-color: #F6F6F6;
}
#register-form .container{
    background-image: url(../images/upper-form-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    padding: 0 50px 50px 50px;
}
#register-form .container::before{
    content: "";
    background: linear-gradient(180deg, rgba(78, 78, 78, 0) 53.34%, #000000 100%);
    width: 100%;
    height: 30%;
    position: absolute;
    bottom: 0;
    left: 0;
    pointer-events: none;
}
.mob-img{
    display: none;
}
.form-mob-text{
    display: none;
}
#register-form .form-container {
    display: flex;
    justify-content: space-between;
}
#register-form .section-head h2{
    color: #fff;
    font-size: 1.7rem;
    max-width: 80%;
}
.register-content {
    width: 35%;
    margin-top: -90px;
    padding: 40px 40px;
    background: linear-gradient(160.97deg, #000000 32.82%, #000547 71.49%);
}
.register-content .form-group label{
    color: #fff;
}
.register-content .row{
    margin-top: 30px;
}
.register-content .form-group input,.register-content .form-group select{
    background-color: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #E2E2E2;
    color: #fff;
}
.register-content .form-group select{
    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Add custom white arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    
    /* Add some padding so text doesn't overlap arrow */
    padding-right: 40px;
}
.register-content .submit-btn button{
    background-color: #fff;
    color: #000;
}
.register-bottom {
    margin-top: 20px;
    display: flex;
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 19px;
}
.register-bottom span{
    color: #fff;
    width: 18%;
    white-space: nowrap;
}
.register-bottom hr {
    width: 100%;
    height: 1px;
    border: none;
    background-color: #CFCFCF;
}
.register-bottom img{
    filter: invert(1);
    margin-left: 6px;
}
/* ------- Page CSS ------- */

#header{
    height: 100px;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    position: absolute;
    width: 100%;
}
#header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
/* Sticky header styles */
/*#header.sticky {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    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{
    width: 150px;
}
.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;
    /* border-radius: 5px;   */
    font-size: 14px;
    gap: 10px;
    text-transform: uppercase;

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

#banner{
    background-image: url('../images/banner.jpg?v=1');
    height: 100vh;
    background-size: cover;
    background-position: center center;
    position: relative;
}
@media (min-resolution: 192dpi) {
    #banner {
        height: 100vh;
        width: 100%;
        background: url(../images/banner-retina.jpg?v=10) center center / cover no-repeat;
        background-position: center center;
    }
}
#banner::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000057; 
    z-index: 1;
}
.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 .container{
    height: 100%;
    position: relative;
    z-index: 1;
}
.banner-section{
    height: 100%;
    display: flex;
    align-items: center;
}
.banner-inner{
    height: 57rem;
    padding: 140px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.banner-left .inner-logo{
    width: 100%;
    max-width: 396px;
}
.banner-left{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}
.about-above-btns{
    margin-top: 33px;
}
.banner-left h1{
    font-size: 2.5rem;
    color: #fff;
    margin-top: 25px;
    margin-bottom: 25px;
    max-width: 67%;
}
.banner-left h1 strong{
    font-size: 2.5rem;
    color: #fff;
    font-family: 'optima bold';
}
.banner-left nav{
    font-size: 1rem;
    color: #fff;
    font-family: 'optima';
}
.banner-left .main-heading-span {
    font-size: 1.2rem;
    color: #fff;
    font-family: 'optima';
    text-transform: uppercase;
}
.dynamic-price, .dynamic-price-mob {
    color: white !important;
}
.dynamic-price-mob {
    display: block;
}
.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: #fff;
    font-family: 'optima bold';
}
.banner-left-text hr{
    width: 100px;
    border: none;
    border-top: 0.5px solid #fff;
    height: 0;
}
.banner-left-bottom{
    display: flex    ;
    gap: 20px;
    margin-top: 30px;
}
.main-heading{
    display: none;
}
.banner-left-bottom span{
    color: #fff;
    font-family: 'optima';
}
.banner-left-bottom span strong{
    color: #fff;
    font-weight: 600;
    font-family: 'optima bold';
}
.banner-right{
    max-width: 400px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}
.banner-right > nav{
    font-size: 22px;
    color: #000;
    text-align: center;
}
.animated-scroll-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        cursor: pointer;
        transition: transform 0.3s ease;
        position: absolute;
        bottom: 36px;
        left: 50%;
        transform: translate(-50%);
    }
    
    .animated-scroll-btn:hover {
        /*transform: scale(1.05);*/
    }
    
    /* Circle Container - No animation */
    .scroll-circle {
        width: 38px;
        height: 62px;
        border: 2px solid rgba(255, 255, 255, 0.6);
        border-radius: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.1);
        margin-bottom: 15px;
    }
    
    /* Arrow Animation Container */
    .animated-arrow-container {
        position: relative;
        width: 30px;
        height: 40px;
        overflow: hidden;
    }
    
    /* Arrow Image - Only this animates */
    .moving-arrow {
        position: absolute;
        width: 20px;
        height: 28px;
        left: 50%;
        margin-left: -10px;
        animation: arrowFlow 2.5s ease-in-out infinite;
    }
    
    /* Arrow Image Element */
    .moving-arrow img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    /* Single Arrow Animation */
    @keyframes arrowFlow {
        0% {
            top: -25px;
            opacity: 0;
        }
        20% {
            opacity: 1;
        }
        80% {
            opacity: 1;
        }
        100% {
            top: 45px;
            opacity: 0;
        }
    }
    
    /* Text Styles - No animation */
    .scroll-caption {
        margin: 0;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
        font-family: 'optima bold';
        letter-spacing: 0.5px;
        margin-top:0!important;
    }
.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 Section */
#about {
    position: relative;
    padding: 70px 15px;
    background-color: #F6F6F6;
}
.about-content {
    display: flex;
    z-index: 1;
    position: relative;
}
.about-left {
    width: 50%;
}
#about .section-head {
    position: relative;
    padding-bottom: 35px;
}

.about-details p {
    margin-bottom: 20px;
    padding-right: 60px;
    color: #353535;
}
/* Location */
/* Location Map Section */
#location {
    margin-top: 130px;
}

#location-map {
    padding: 70px 0;
    position: relative;
}



#location-map::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: linear-gradient(90deg, rgba(249, 249, 249, 0.90) 0%, rgba(255, 255, 255, 0.90) 99.76%);
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
}

#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;
}

.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;
    }
}



/* Projects */
#discover-projects{
    padding: 130px 15px;
    background-color: #00000012;
    position: relative;
}
#discover-projects::before{
    content:"";
    position: absolute;
    background-image: url(../images/projects-shape.png);
    width: 100%;
    height: 100%; /* Change from 100vh to 100% */
    background-repeat: repeat-y; /* You already have this */
    top: 0;
    left: 0;
    background-size: auto 100%; /* Set specific height for one repeat */
    background-position: top center;
    pointer-events: none;
    opacity: .4;
}
.project-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.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;
}

.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;
}
.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;
}
.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: #161C2D;
}
/* -------------------------- */
/* Only additional CSS for tabs and load more functionality */

/* Tabs Styling */
.tabs-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    position: relative;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .tabs-nav {
        gap: 4px;
    }
    
    .tab-button {
        padding: 8px 12px;
        font-size: 14px;
    }
}
.tabs-nav {
    display: flex;
    border-bottom: #000000;
    gap: 8px; /* Adjust spacing between tabs */
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-bottom: 2px;
    margin-bottom: 20px;
    scroll-behavior: smooth;
}
/* Hide scrollbar for webkit browsers */
.tabs-nav::-webkit-scrollbar {
    display: none;
}
.tab-button {
    flex: 0 0 auto;
    max-width: 200px;
    width: 200px;
    white-space: nowrap;
    min-width: fit-content;
    background: #FAFAFAF2;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.tab-button::before{
    content: "";
    width: 1px;
    height: 32px;
    background-color: #00000017;
    position: absolute;
    right: 0px;
    top: 8px;
}
.tabs-nav .tab-button:last-child::before{
    display: none;
}
.tab-button.active {
    background: #000;
    color: white;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.tab-button:hover:not(.active) {
    background: #ecf0f1;
    color: #2c3e50;
}

/* 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);
}




/* ----------------------------------- */
/* Why invest in emaar */
#invest-emaar{
    background-color: #F6F6F6;
}
#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;
    margin-top: 30px;
}
.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;
}
.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 img{
    max-width: 40px;
    width: 100%;
}
.invest-grid-item div{
    display: flex;
    gap: 10px;
    align-items: center;
}


.invest-grid-item p{
    margin-top: 20px;
    color: #161C2D;
}

/* 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{
    margin-top: 130px;
}

.map-container {
    position: relative;
    width: 100%;
    background: #f8f9fa;
    overflow: hidden;
    margin-top: 30px;
}

.map {
    width: 100%;
    height: 804px;
    background: url('../images/map.jpg?v=4');
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    background-position: bottom;
    background-repeat: no-repeat;
}

.map.zoomed {
    transform: scale(1.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pointer {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #161C2D;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    z-index: 10;
}

.location-card img{
    width: 100%;
}
.pointer::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    background-color: #00000080;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.pointer:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.location-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    max-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border: 1px solid rgba(52, 152, 219, 0.2);
    overflow: hidden;
}

.location-card.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.location-card .card-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.location-card .card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="70" r="1.2" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="50" r="0.8" fill="rgba(255,255,255,0.1)"/></svg>');
}

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

.location-card .travel-time {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}
.location-card h4 {
    color: #161C2D;
    margin: 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    padding: 0 15px;
    font-family: 'optima';
    margin-top: 10px;
    letter-spacing: 0;
}
.location-card h3 {
    color: #161C2D;
    margin: 5px 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    padding: 0 15px;
    font-family: 'optima';
    margin-top: 5px;
    letter-spacing: 0;
}
.location-card p{
    padding: 0 15px;
    font-family: 'Open Sans';
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 15px;
    color: #161C2D;
}
.location-card .description {
    color: #7f8c8d;
    line-height: 1.5;
    font-size: 0.95rem;
}

.locations-grid {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.location-box {
    background: #FAFAFA;
    border-radius: 15px;
    padding: 0 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.location-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s;
}

.location-box:hover::before {
    left: 100%;
}

.location-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2);
    border-color: #161C2D;
}

.location-box h3 {
    color: #161C2D;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'optima';
    letter-spacing: 0;
}

.location-box p {
    color: #161C2D;
    line-height: 1.6;
    margin-bottom: 15px;
}

.location-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

.location-type {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}


/* FAQ Section */

#faq{
    margin-top: 130px;
    background-color: #000;
    padding: 70px 0;
}
#faq .faq-con {
    border-radius: 7px;
}
#faq .section-head h2{
    color: #fff;
}
#faq .section-head > div img{
    filter: invert(1);
}
#faq .section-head > div span{
    color: #fff;
}
.faq {
    margin: 50px 0 0;
    /* background-color: #fff; */
    /* border-top: 4px solid #777777; */
    /* border-radius: 7px; */
}
.faq-item {
    border-bottom: 1px solid #cccccc77;
}
.faq-question {
    cursor: pointer;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item.active .faq-answer {
    display: block;
    opacity: 1;
}
.faq-answer ul{
    margin: 10px 0 10px 20px;
}
.faq-question span {
    font-size: 17px;
    color: #fff;
}
.faq-icon {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 15px 05px;
    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';
    color: #fff;
}
.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: #fff;
    font-family: 'optima bold';
}
.faq-support div nav:nth-child(2){
    color: #ffffffb1;
    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;
}

.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;
}


/* Form Section */
#vist-area{
    background-color: #F6F6F6;
}
#vist-area .container{
    padding: 60px 45px;
    border-radius: 20px;
}
#vist-area .form-container{
    display: flex    ;
    justify-content: space-between;
    margin-top: 50px;
}
#vist-area .section-head p{
    max-width: 61%;
    color: #353535;
}
.visit-content{
    width: 35%;
    padding: 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;
}
.banner-left .call-to-action-btns{
    /*display: none;*/
}
.footer-quote img {
    width: 100%;
    max-width: 305px;
    z-index: 12;
    position: relative;
}
.show-info {
    position: relative;
    width: 52%;
}
.form-img-text {
    position: absolute;
    width: 265px;
    height: 250px;
    background-color: #000000;
    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 Bar */
#bottom-bar {
    background-color: #000;
    display: flex;
    align-items: center;
    margin-top: 75px;
    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: 1;
    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;
}
#regPop .iti--separate-dial-code .iti__selected-dial-code{
    color: #fff;
}
.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: 1440px){
    .banner-left h1{
        max-width: 78%;
    }
    .banner-left{
        width: 65%;
    }
    .banner-right{
        width: 45%;
    }
    .form-img-text{
        right: 51%
    }
}
@media (max-width: 1200px){
    .project div span {
        font-size: 13px;
    }
}
/* Responsive */
@media (max-width: 991px) {
    p{
        font-size: 14px;
    }
    .banner-right{
        display: none;
    }
    .register-btn{
        font-size: 12px;
    }
    .register-btn img{
        max-width: 13px;
    }
    .banner-left h1{
        max-width: 100%;
    }
    .logo img{
        max-width: 130px;
    }
    .banner-inner{
        justify-content: center;
    }
    .banner-left p{
        text-align: center;
    }
    .banner-left .inner-logo{
        max-width: 280px;
    }
    .banner-left > div{
        text-align: center;
    }
    .banner-left{
        justify-content: center;
    }
    .project-info-mobile hr{
        border: none;
        height: 1px;
        background-color: #E1E1E1;
    }
    .banner-left-bottom{
        display: none;
    }

    .about-below-btns {
        display: flex!important;
        align-items: center;
        margin-top: 40px;
        justify-content: center;
    }
    .about-content{
        flex-direction: column;
    }
    .about-left{
        width: 100%;
    }
    .section-head h2{
        font-size: 2rem;
        text-align: center;
    }
    .about-above-btns{
        display: none;
    }
    .project-info-mobile{
        display: block;
    }
    .section-head > div{
        justify-content: center;
    }
    .section-head p{
        text-align: center;
    }
    .project-detail{
        margin-top: 22px;
        padding-left: 0;
        padding-bottom: 15px;
        width: 100%;
    }
    .about-details p{
        text-align: center;
    }
    .project-pricing{
        margin-top: 15px;
    }
    .project-pricing div{
        display: flex;
        margin-bottom: 15px;
        align-items: center;
    }
    .project-location{
        display: flex;
        margin-bottom: 15px;
        align-items: center;
    }
    .mob-img{
        display: block;
        width: 100%;
    }
    .project-pricing div:nth-child(1) img{
        max-width: 22px!important;
        margin-left: -2px;
    }
    .project-info-mobile nav{
        margin-left: 7px;
        font-size: 17px;
    }
    .project-detail-divs {
        display: grid;
        grid-template-columns: 73% 24%;
        gap: 10px;
    }
    .about-right{
        gap: 25px 35px;
    }
    .about-right-item{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .project .project-swiper{
        width: 100%;
    }
    .tabs-container{
        margin-top: 40px;
    }
    .tab-button{
        border-radius: 20px;
        margin-bottom: 0;
    }
    .tabs-nav{
        margin-bottom: 0;
    }
    .tab-button::before{
        display: none
    }
    .project{
        flex-direction: column;
        /*border: 1px solid #E1E1E1;*/
    }
    #register-form .section-head h2{
        max-width: 100%;
        text-align: center;
    }
    .form-mob-text strong{
        font-family: 'optima bold';
        color: #fff;
    }
    .form-mob-text{
        display: block;
        text-align: center;
        color: #fff;
        margin-top: 20px;
    }
    #register-form .container::before{
        display: none;
    }
    .project-detail .call-to-action-btns{
        flex-direction: column;
    }
    .project-detail .call-to-action-btns a {
        width: 100%;
    }
    .project-grid{
        grid-template-columns: 1fr;
        margin-top: 40px;
    }
    #register-form{
        margin-top: 100px;
    }
    .register-bottom{
        display: none;
    }
    #register-form .container{
        padding: 0;
        background-image: none;
    }
    .register-content{
        width: 100%;
    }
    .project-grid .project:nth-child(even){
        flex-direction: column-reverse;
    }
    .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;
    }
    .sidebar {
        width: calc(100% - 30px);
        right: 0;
        top: initial;
        transform: translate(0, 0);
        bottom: -356px;
        left: 15px;
    }
    #location-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }
    
    .locations-grid{
        grid-template-columns: 1fr 1fr;
        padding: 40px 0 0;
    }
    .location-btn {
        margin-bottom: 0;
    }
    #location-map {
        height: 65rem;
    }
    #map {
        height: 450px;
    }
    .location-btn .btn-content {
        gap: 6px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .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;
        margin-top: 55px;
    }
    #faq .section-head h2{
        color: #000;
    }
    #faq .section-head > div span{
        color: #000;
    }
    #faq .section-head > div img{
        filter: invert(0);
    }
    .faq-top{
        justify-content: center;
    }
    .faq-support, .faq-top .call-to-action-btns{
        display: none;
    }
    .faq{
        background-color: #FAFAFA;
        margin-top: 30px;
        padding-top: 30px;
        padding-left: 20px;
    }
    .faq-item.active .faq-answer{
        color: #000;
    }
    .faq-question span{
        color: #000;
    }
    .form-container{
        flex-direction: column-reverse;
    }
    .footer-quote .show-info{
        /* text-align: center; */
        width: 100%;
    }
    .footer-quote{
        width: 100%;
        align-items: flex-end;
        justify-content: center;
    }
    .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{
        margin-top: 65px;
    }
    .form-img-text {
        right: 76%;
    }
    #vist-area .container > .section-head{
        display: none;
    }
    #vist-area .container{
        padding: 0 45px;
        padding-top: 1px;
    }
    .visit-content{
        margin-top: 45px;
    }
    #bottom-bar{
        margin-top: 60px;
        padding: 10px;
    }
    #bottom-bar p:nth-child(2) {
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 10px !important;
        line-height: 1.4;
    }
    .visit-content .booking-form-area{
        padding: 0 60px 60px 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;
    }
    #header {
        height: 80px;
    }
    #banner{
        background-image: url(../images/banner-mob.jpg);
    }
    #discover-projects, #invest-emaar, #videoArea, #location, #faq, #vist-area, #bottom-bar{
        /* margin-top: 70px; */
    }
    .project-grid{
        grid-template-columns: 1fr;
    }
    .section-head h2{
        font-size: 1.6rem;
    }
    .invest-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .invest-grid-item:nth-child(1){
        border-top: 1px solid #E3E3E3;
        padding-top: 30px;
    }
    .project-detail p {
        position: relative;
        line-height: 1.5;
        max-height: calc(1.5em * 2); /* Show only 2 lines */
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .project-detail p.expanded {
        max-height: none;
    }
    
    .project-detail p.truncated::after {
        content: "... ";
        position: absolute;
        right: 0;
        bottom: 0;
        background: white;
        padding-left: 5px;
    }
    
    .read-more-btn {
        display: inline;
        color: #EE7133;
        text-decoration: underline;
        cursor: pointer;
        font-weight: 500;
        background: none;
        border: none;
        padding: 0;
        font-size: 14px;
        font-family: inherit;
        margin-left: 2px;
    }
    
    .read-more-btn:hover {
        color: #0056b3;
    }
    .invest-grid-item{
        border-bottom: 1px solid #E3E3E3;
        padding: 0;
        padding-bottom: 30px;
        border-radius: 0;
        background-color: transparent;
    }
    .map{
        height: 30vh;
        background-size: cover;
    }
    #bottom-bar{
        height: auto;
        padding: 20px 0;
    }
    .location-card {
        min-width: 0;
        max-width: 143px;
        border-radius: 4px;
    }
    .location-card p{
        display: none;
    }
    #contactPopup .section-head p, #brochurePopup .section-head p{
        display: none;
    }
    .location-card h3 {
        font-size: 10px;
    }
    .location-card h4 {
        font-size: 7px;
        margin-top: 3px;
    }
    .banner-left .register-btn{
        width: 280px;
    }
    .form-img-text {
        position: relative;
        width: 198px;
        height: 250px;
        padding: 13px;
        right: 0;
    }
    
    .tab-button {
        width: 100px;
        padding: 10px 20px;
    }
    .form-img-text p {
        font-size: 13px;
        line-height: 1.8;
    }
    .footer-quote{
        display: none;
    }
    #vist-area .section-head p{
        max-width: 100%;
    }
    .project-detail .property-types{
        z-index: 2;
    }
    .project-detail .property-types p:nth-child(1){
        background-color: #95B7C1;
        color: #fff;
    }
    .project-detail .property-types p:nth-child(2){
        color: #86B186;
    }
    .project-detail .property-types p{
        display: block;
        padding: 5px 15px;
    }
    .footer-quote img {
        max-width: 55%;
        margin-top: -195px;
    }
    .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-bottom: 58px;
    }
    .about-right-item p{
        text-align: center;
    }
    .main-heading{
        display: block;
        color: #fff;
        font-family: 'optima';
        font-size: 2rem;
        margin-top: 30px;
        margin-bottom: 24px;
        
    }
    .location-btn{
        padding: 12px;
    }
    #location-buttons{
        gap: 0;
    }
    .sidebar{
        padding: 20px;
    }
    #register-form{
        padding-top: 0;
    }
    #register-form {
        margin-top: 0;
    }
    #discover-projects{
        padding: 50px 15px;
    }
    #invest-emaar .container {
        padding: 30px 20px 75px;
    }
    .about-right-item h3{
        font-size: 1.7rem;
        text-align: center;
    }
    .about-right-item img{
        width: 53px;
    }
    .about-details p{
        padding-right: 0;
    }
    .section-head > div hr{
        width: 68px;
    }
    .banner-left .call-to-action-btns{
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }
    .banner-left .main-heading-span {
        text-transform: none;
    }
    
    .banner-left{
        width: 100%;
    }
    .banner-left h1{
        display: none;
    }
    .faq-top{
        justify-content: center;
    }
    .visit-content .section-head p{
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
    #location-buttons {
        grid-template-columns: 1fr;
    }
    
    .sidebar p, .sidebar nav {
        text-align: center;
    }
    
    .sidebar {
        bottom: -515px;
    }
    
    #map {
        height: 350px;
    }
    
    .location-card {
        min-width: 180px;
        max-width: 180px;
        width: 180px;
        border-radius: 7px;
    }
    
    .location-card img {
        height: 108px;
    }
    
    .location-card .card-content {
        padding: 5px 0!important;
    }
    
    .location-btn .btn-content {
        gap: 20px;
        flex-direction: row;
        text-align: left;
    }
    
    #location-map {
        height: 38rem!important;
    }
    
    .location-card h3 {
        font-size: 11px;
    }
    
    .location-card h4 {
        font-size: 7px;
        margin-top: 3px;
    }
    
    .location-card p {
        display: none;
    }
    .visit-content .booking-form-area{
        padding: 0;
    }
    .visit-content{
        margin-top: 0;
    }
    #vist-area .form-container{
        margin-top: 0;
    }
    #vist-area .container{
        padding: 45px;
        padding-top: 45px;
    }
    #visitPop .form-group input,#visitPop .form-group select{
        background-color: #FAFAFA;
        border: none;
        border-bottom: 1px solid #57575773;
        border-radius: 0;
    }
}