 :root {
     --primary-red: #ce181e;
     --dark-blue: #172a3b;
     --bg-light: #f8f9fb;
     --text-gray: #444444;
 }

 html,
 body {
     width: 100% !important;
     max-width: 100% !important;
     overflow-x: hidden !important;
     position: relative;
 }

 body {
     font-family: 'Montserrat', sans-serif;
     color: #000;
     background-color: #ffffff;
 }

 /* Sidebar Styles - RIGHT SIDE */
 .sidebar {
     height: 100%;
     width: 0;
     position: fixed;
     z-index: 2000;
     top: 0;
     right: 0;
     background-color: rgba(23, 42, 59, 0.75);
     backdrop-filter: blur(17.5px);
     -webkit-backdrop-filter: blur(17.5px);
     border-left: 1px solid rgba(255, 255, 255, 0.15);
     overflow-x: hidden;
     transition: 0.5s;
     padding-top: 60px;
     box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3), inset 1px 0 0 rgba(255, 255, 255, 0.15);
 }

 .sidebar a {
     padding: 15px 32px;
     text-decoration: none;
     font-size: 20px;
     color: #ffffff;
     display: block;
     transition: 0.3s;
     font-weight: 500;
     text-align: left;
 }

 .sidebar a:hover {
     color: var(--primary-red);
     background-color: rgba(255, 255, 255, 0.05);
     padding-left: 45px;
 }

 .sidebar .close-btn {
     position: absolute;
     top: 15px;
     left: 20px;
     font-size: 36px;
     color: white;
     cursor: pointer;
     line-height: 1;
 }

 @media (max-width: 991px) {
     .nav-bar {
         background-color: transparent !important;
     }
 }

 /* Nav Bar */
 .nav-bar {
     background: linear-gradient(180deg, rgba(23, 42, 59, 0.89) 0%, rgba(23, 42, 59, 0) 100%);
     padding: 20px 0;
     position: absolute;
     top: 0;
     width: 100%;
     z-index: 1000;
 }

 .nav-link-custom {
     color: #fff !important;
     text-decoration: none;
     margin: 0 12px;
     transition: color 0.3s;
     text-align: center;
     font-family: Montserrat;
     font-size: 18px;
     font-style: normal;
     font-weight: 400;
     line-height: normal;
 }

 .nav-link-custom:hover {
     color: var(--primary-red) !important;
 }

 .open-btn {
     font-size: 30px;
     cursor: pointer;
     background-color: transparent;
     color: white;
     border: none;
     margin-left: 15px;
     transition: 0.3s;
     display: flex;
     align-items: center;
 }

 .open-btn:hover {
     color: var(--primary-red);
     transform: scale(1.1);
 }

 .nav-bar .button-enquire {
     background: linear-gradient(360deg, #ce181e 0%, #f64e54 100%);
     color: #fff;
     border: none;
     padding: 10px 20px;
     border-radius: 10px;
     font-weight: 700;
     box-shadow: inset 1px 1px 1.5px rgba(255, 255, 255, 0.25), inset -1px -1px 1.5px rgba(0, 0, 0, 0.25);
     transition: opacity 0.3s;
 }

 .button-enquire {
     background: linear-gradient(360deg, #ce181e 0%, #f64e54 100%);
     color: #fff;
     border: none;
     padding: 10px 20px;
     border-radius: 10px;
     font-weight: 700;
     box-shadow: inset 1px 1px 1.5px rgba(255, 255, 255, 0.25), inset -1px -1px 1.5px rgba(0, 0, 0, 0.25);
     transition: opacity 0.3s;
 }

 .button-enquire:hover {
     opacity: 0.9;
 }

 .feq-submit-btn {
     margin-top: 25px;
 }


 .discovery-section {
     background-image: url('../../assets/img/discover/desktop.avif');
     background-size: cover;
     padding: 120px 0;
     position: relative;
 }

 .discovery-overlay {
     position: absolute;
     top: 0;
     width: 100%;
     height: 382px;
     background: linear-gradient(180deg, #183e56 0%, rgba(77, 126, 159, 0) 100%);
 }

 .glass-box {
     background-color: rgba(23, 61, 85, 0.35);
     border-radius: 10px;
     padding: 46px;
     box-shadow: inset 1px 1px 1.5px rgba(255, 255, 255, 0.75), inset -1px -1px 1.5px rgba(255, 255, 255, 0.75);
     backdrop-filter: blur(17.5px);
     color: #fff;
     max-width: 506px;
 }

 .discovery-section .looking-for-a-home {
     position: relative;
     width: 100%;
     max-width: 400px;
     font-family: "Montserrat", Helvetica;
     font-weight: 400;
     color: #ffffff;
     font-size: 18px;
     letter-spacing: 0;
     line-height: 1.5;
     margin-bottom: 20px;
 }

 .discovery-section .span {
     font-family: "Montserrat", Helvetica;
     font-weight: 400;
     color: #ffffff;
     font-size: 18px;
 }

 .discovery-section .text-wrapper-2 {
     font-family: "Montserrat", Helvetica;
     font-weight: 700;
     font-style: italic;
     display: block;
     margin-top: 10px;
 }

 /* Footer Styles */
 .footer-new {
     background-color: #000000;
     padding: 80px 0 40px;
     color: #ffffff;
     font-family: "Montserrat", sans-serif;
 }

 .footer-new .footer-logo-text {
     font-family: "Montserrat", sans-serif;
     font-weight: 900;
     font-size: 32px;
     margin-bottom: 20px;
 }

 .footer-new .footer-logo-text img {
     max-height: 100px;
     width: auto;
 }

 .footer-new .footer-desc {
     font-size: 16px;
     line-height: 1.6;
     color: #e0e0e0;
     max-width: 520px;
 }

 .footer-new .footer-heading {
     font-weight: 900;
     font-size: 25px;
     margin-bottom: 25px;
     text-transform: none;
 }

 /* Updated Social Icons - Rounded Background */
 .footer-new .social-icons {
     display: flex;
     gap: 15px;
     margin-bottom: 40px;
 }

 .footer-new .social-icons a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 48px;
     height: 48px;
     background-color: rgba(255, 255, 255, 0.1);
     border-radius: 50%;
     color: #ffffff;
     transition: all 0.3s ease;
     text-decoration: none;
 }

 .footer-new .social-icons a:hover {
     background-color: var(--primary-red);
     transform: translateY(-3px);
     color: #ffffff;
 }

 .footer-new .social-icons a i {
     width: 24px;
     height: 24px;
 }

 .footer-new .social-icons a svg {
     width: 24px;
     height: 24px;
     fill: white;
 }

 .footer-new .contact-item {
     display: flex;
     align-items: flex-start;
     gap: 15px;
     margin-bottom: 20px;
     color: #ffffff;
     text-decoration: none;
 }

 .footer-new .contact-item i {
     margin-top: 4px;
     color: #ce181e;
 }

 .footer-new .footer-nav {
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
     padding: 25px 0;
     margin: 40px 0;
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 30px;
 }

 .footer-new .footer-nav a {
     color: #ffffff;
     text-decoration: none;
     font-size: 18px;
     transition: color 0.3s;
 }

 .footer-new .footer-nav a:hover {
     color: #ce181e;
 }

 .footer-new .footer-bottom {
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 20px;
     font-size: 14px;
     color: #888;
 }

 @media (max-width: 992px) {


     .footer-new .footer-bottom {
         justify-content: center;
         text-align: center;
     }
 }

 @media (max-width: 768px) {
     .footer-new .footer-nav {
         gap: 12px 20px;
         margin: 30px 0;
         padding: 20px 0;
     }

     .footer-new .footer-nav a {
         font-size: 15px;
     }
 }

 .property-tab-pane {
     display: none;
 }

 .property-tab-pane.active {
     display: block;
 }

 /* intl-tel input fix */
 .iti {
     width: 100%;
 }

 .iti__country-container {
     z-index: 10;
 }

 .validation-error {
     color: #dc3545;
     font-size: 0.875em;
     margin-top: 0.25rem;
 }

 .error-border {
     border-color: #dc3545 !important;
 }

 /* ========== UPDATED POPUP: close button on image top-right corner ========== */
 .modal-content.split-modal {
     border-radius: 20px;
     overflow: hidden;
     border: none;
     box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
     position: relative;
 }

 .split-modal .modal-body {
     padding: 0;
     display: flex;
     flex-wrap: wrap;
 }

 .popup-left {
     flex: 1 1 280px;
     background: linear-gradient(145deg, #162b3a, #0d1e2b);
     background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=800&q=80');
     background-size: cover;
     background-position: center;
     display: flex;
     align-items: flex-end;
     padding: 2rem 1.5rem;
     color: white;
     position: relative;
     min-height: 320px;
 }

 .popup-left::before {
     content: '';
     position: absolute;
     inset: 0;
     background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 70%);
     z-index: 0;
 }

 .popup-left .left-content {
     position: relative;
     z-index: 2;
 }

 .popup-left h3 {
     font-weight: 900;
     font-size: 2rem;
     margin-bottom: 0.25rem;
     text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
 }

 .popup-left p {
     font-size: 1rem;
     opacity: 0.9;
     text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
 }

 .popup-right {
     flex: 1 1 340px;
     padding: 2rem 1.8rem;
     background-color: #ffffff;
 }

 .popup-right .modal-header {
     display: none;
 }

 /* Close button positioned on image top-right corner */
 .btn-close-custom-image {
     position: absolute;
     top: 15px;
     right: 15px;
     width: 36px;
     height: 36px;
     background-color: rgba(0, 0, 0, 0.5);
     border: 2px solid rgba(255, 255, 255, 0.8);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 24px;
     font-weight: bold;
     cursor: pointer;
     z-index: 1100;
     transition: all 0.3s ease;
     line-height: 1;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
 }

 .btn-close-custom-image:hover {
     background-color: var(--primary-red);
     border-color: var(--primary-red);
     transform: scale(1.1);
 }

 .modal-body {
     padding: 0 !important;
 }

 .popup-right form .mb-3 {
     margin-bottom: 1rem;
 }

 .popup-right .button-enquire {
     width: 100%;
     padding: 12px;
     font-size: 16px;
 }

 @media (max-width: 576px) {
     .popup-left {
         min-height: 220px;
     }
 }

 /* Logo placeholder style */
 .logo img {
     max-height: 65px;
     width: auto;
 }

 /* Exit Popup Styles */
 #exit-popup {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100dvh;
     background: rgba(0, 0, 0, 0.85);
     z-index: 9999;
     overflow-y: auto;
     display: none;
     backdrop-filter: blur(5px);
 }

 #exit-popup .popup-box {
     position: relative;
     max-width: 1200px;
     width: 95%;
     margin: 40px auto;
     background: #fff;
     border-radius: 20px;
     padding: 40px 30px;
     box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
     animation: popupFadeIn 0.5s ease;
 }

 @keyframes popupFadeIn {
     from {
         opacity: 0;
         transform: translateY(-30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 #exit-popup h2 {
     text-align: center;
     font-family: 'Montserrat', sans-serif;
     font-weight: 900;
     color: var(--dark-blue);
     font-size: 36px;
     margin-bottom: 20px;
 }

 #exit-popup .fav {
     text-align: center;
     font-family: 'Montserrat', sans-serif;
     font-size: 18px;
     color: var(--text-gray);
     line-height: 1.6;
     margin: 0;
 }

 #exit-popup .product-group {
     margin-bottom: 40px;
 }

 #exit-popup .section-title {
     font-family: 'Montserrat', sans-serif;
     font-weight: 700;
     color: var(--primary-red);
     font-size: 28px;
     margin-bottom: 25px;
     border-left: 5px solid var(--primary-red);
     padding-left: 20px;
 }

 #exit-popup .product-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
     gap: 25px;
     justify-content: center;
 }

 #exit-popup .product-item {
     background: #f8f9fb;
     border-radius: 15px;
     padding: 20px 15px;
     text-align: center;
     transition: all 0.3s ease;
     border: 1px solid #e0e0e0;
 }

 #exit-popup .product-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
     border-color: var(--primary-red);
 }

 #exit-popup .product-img {
     width: 100%;
     max-width: 200px;
     height: auto;
     margin: 0 auto 15px;
     border-radius: 10px;
     display: block;
 }

 #exit-popup .product-label {
     font-family: 'Montserrat', sans-serif;
     font-weight: 700;
     color: var(--dark-blue);
     font-size: 18px;
     margin-bottom: 5px;
 }

 #exit-popup .product-item p {
     font-family: 'Montserrat', sans-serif;
     font-size: 14px;
     color: var(--text-gray);
     margin-bottom: 15px;
 }

 #exit-popup .enquire-btn {
     background: linear-gradient(360deg, #ce181e 0%, #f64e54 100%);
     color: #fff;
     border: none;
     padding: 10px 20px;
     border-radius: 10px;
     font-weight: 600;
     font-size: 14px;
     cursor: pointer;
     transition: opacity 0.3s;
     width: 100%;
 }

 #exit-popup .enquire-btn:hover {
     opacity: 0.9;
 }

 #exit-popup .popup-close {
     position: absolute;
     top: 20px;
     right: 20px;
     width: 40px;
     height: 40px;
     background-color: rgba(0, 0, 0, 0.1);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.3s ease;
     z-index: 10;
 }

 #exit-popup .popup-close:hover {
     background-color: var(--primary-red);
     transform: rotate(90deg);
 }

 #exit-popup .popup-close img {
     width: 20px;
     height: 20px;
     filter: brightness(0);
 }

 #exit-popup .popup-close:hover img {
     filter: brightness(10);
 }

 @media (max-width: 768px) {

     .discovery-section {
         position: relative;
         width: 100%;
         height: 540px;
         background-image: url('../../assets/img/discover/mobile.avif');
         background-size: cover;
         background-position: 50% 50%;
         padding: 0;
         display: block;
     }

     .discovery-section .discovery-overlay {
         display: block;
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 266px;
         background: linear-gradient(180deg, rgba(24, 62, 86, 1) 0%, rgba(77, 126, 159, 0) 100%);
         z-index: 1;
     }

     .discovery-section .container {
         position: absolute;
         top: 14px;
         left: 36px;
         width: calc(100% - 72px);
         z-index: 2;
         padding: 0;
         margin: 0;
         display: block;
     }

     .discovery-section .glass-box {
         display: flex;
         flex-direction: column;
         align-items: flex-start;
         gap: 20px;
         background: transparent;
         border: none;
         box-shadow: none;
         backdrop-filter: none;
         padding: 0;
         max-width: 100%;
         text-align: left;
     }

     .discovery-section .section-title-bold {
         position: relative;
         align-self: stretch;
         height: auto;
         margin-top: -1px;
         font-family: "Montserrat", sans-serif;
         font-weight: 900;
         color: #ffffff;
         font-size: 35px !important;
         letter-spacing: 0;
         line-height: normal !important;
         margin-bottom: 0 !important;
         text-transform: none;
     }

     .discovery-section .looking-for-a-home {
         position: relative;
         width: 100%;
         height: auto;
         font-family: "Montserrat", sans-serif;
         font-weight: 400;
         color: #ffffff;
         font-size: 16px !important;
         letter-spacing: 0;
         line-height: normal !important;
         margin-bottom: 0 !important;
     }

     .discovery-section .looking-for-a-home .span {
         font-family: "Montserrat", sans-serif;
         font-weight: 400;
         color: #ffffff;
         font-size: 16px;
         letter-spacing: 0;
     }

     .discovery-section .looking-for-a-home .text-wrapper-2 {
         font-family: "Montserrat", sans-serif;
         font-weight: 700;
         font-style: italic;
         display: block;
         margin-top: 5px;
     }

     .discovery-section .button-enquire {
         display: inline-flex !important;
         flex-direction: column;
         align-items: center;
         justify-content: center;
         gap: 10px;
         padding: 10px 15px !important;
         position: relative;
         flex: 0 0 auto;
         background-color: #ff0000 !important;
         border-radius: 10px !important;
         border: 0 !important;
         cursor: pointer;
         box-shadow: none !important;
         width: fit-content !important;
         color: #ffffff !important;
         font-family: "Montserrat", sans-serif;
         font-weight: 500;
         font-size: 18px !important;
         text-align: center;
         line-height: normal;
     }

     #exit-popup h2 {
         font-size: 28px;
     }

     #exit-popup .fav {
         font-size: 16px;
     }

     #exit-popup .product-grid {
         grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
         gap: 15px;
     }

     #exit-popup .popup-box {
         padding: 30px 15px;
     }
 }

 /* Project name and image in modal */
 .popup-left .project-info {
     display: none;
 }

 .popup-left.has-project .project-info {
     display: block;
     margin-top: 15px;
     padding: 10px;
     background: rgba(0, 0, 0, 0.5);
     border-radius: 8px;
     width: 100%;
 }

 .popup-left .project-info h4 {
     color: white;
     font-size: 18px;
     margin: 0;
     font-weight: 600;
 }


 /* floating Button */
 .floating-contact-buttons {
     position: fixed;
     top: 50%;
     right: 20px;
     transform: translateY(-50%);
     z-index: 9999;
     display: flex;
     flex-direction: column;
     /* Stacked vertically */
     gap: 15px;
     background: rgba(255, 255, 255, 0.1);
     padding: 20px 10px;
     border-radius: 50px;
     backdrop-filter: blur(5px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
 }

 .btn-float {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
     transition: all 0.3s ease;
     text-decoration: none;
 }

 .btn-call {
     background: #007bff;
 }

 .btn-whatsapp {
     background: #25d366;
 }

 .btn-float:hover {
     transform: scale(1.1) translateX(-5px);
     color: white;
 }

 /* Pulse Animation for WhatsApp */
 @keyframes pulse-contact {
     0% {
         box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
     }

     70% {
         box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
     }

     100% {
         box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
     }
 }

 .btn-whatsapp {
     animation: pulse-contact 2s infinite;
 }

 @media (max-width: 768px) {
     .btn-float {
         width: 45px;
         height: 45px;
     }

     .floating-contact-buttons {
         right: 10px;
         padding: 15px 8px;
         gap: 12px;
     }
 }



 /* FAQ and general */
 .faq-section {
     background-color: var(--bg-light);
     padding: 60px 0;
 }

 .faq-section .row {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 24px;
     align-items: start;
     margin-left: 0;
     margin-right: 0;
 }

 .faq-section .row>[class*="col-"] {
     display: contents;
 }

 .faq-section .faq-item-custom {
     margin-bottom: 0 !important;
 }

 @media (max-width: 768px) {
     .faq-section .row {
         grid-template-columns: 1fr;
         gap: 16px;
     }
 }

 .section-title-bold {
     font-weight: 900;
     font-size: 40px;
     color: var(--text-gray);
     text-align: center;
     margin-bottom: 40px;
 }

 .faq-item-custom {
     background: #fff;
     border: 1px solid #000;
     border-radius: 10px;
     padding: 15px 20px;
     margin-bottom: 15px;
     cursor: pointer;
     transition: all 0.2s ease;
 }

 .faq-question {
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 .faq-answer {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.3s ease-out, margin 0.2s;
     background: #f9f9f9;
     border-radius: 8px;
     margin-top: 0;
     padding: 0 15px;
     border-left: 3px solid var(--primary-red);
 }

 .faq-item-custom.open .faq-answer {
     max-height: 150px;
     padding: 12px 15px;
     margin-top: 12px;
 }

 .faq-item-custom.open .faq-question i:last-child {
     transform: rotate(180deg);
 }

 .faq-item-custom.open .chevron-icon {
     transform: rotate(180deg);
     transition: transform 0.3s ease;
 }

 .faq-item-custom .chevron-icon {
     transition: transform 0.3s ease;
 }

 .faq-question {
     display: flex;
     align-items: center;
     gap: 10px;
     width: 100%;
 }

 .faq-question svg:first-child {
     flex-shrink: 0;
 }

 .faq-question p {
     flex-grow: 1;
     margin: 0;
 }

 .faq-question .chevron-icon {
     flex-shrink: 0;
     cursor: pointer;
 }

 /* Walkthrough Full Size Video Styles */
 .video-full-center {
     max-width: 900px;
     margin: 0 auto;
     width: 100%;
     display: flex;
     flex-direction: column;
     gap: 30px;
 }

 .video-full-center .lb-trigger {
     display: block;
     position: relative;
     width: 100%;
     padding-bottom: 56.25%;
     /* 16:9 Aspect Ratio */
     background-size: cover;
     background-position: center;
     border-radius: 12px;
     overflow: hidden;
     cursor: pointer;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease;
 }

 .video-full-center .lb-trigger:hover {
     transform: scale(1.02);
 }

 .video-full-center .lb-trigger .lb-play-icon {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     background: rgba(206, 24, 30, 0.9);
     color: white;
     width: 70px;
     height: 70px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 28px;
     transition: all 0.3s ease;
 }

 .video-full-center .lb-trigger:hover .lb-play-icon {
     transform: translate(-50%, -50%) scale(1.1);
     background: rgba(206, 24, 30, 1);
 }

 /* Override .hl-stat-grid to have 3 columns per row on desktop (all pages) */
 @media (min-width: 992px) {
     .hl-stat-grid {
         grid-template-columns: repeat(3, 1fr) !important;
     }

     .hl-stat-grid.hl-stat-grid-4 {
         grid-template-columns: repeat(4, 1fr) !important;
     }
 }