/* Theme Colors: Background #ffffff, Text #000000, Primary Accent #536b93 */
body { margin: 0; font-family: 'Poppins', sans-serif; background: #ffffff; color: #000000; overflow-x: hidden; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
.brxe-container { max-width: 1140px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.brxe-section { padding: 80px 0; }

/* Header */
#brx-header { position: sticky; top: 0; z-index: 1000; background-color: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

/* SLIDER BASE SETTINGS */
.home-section .swiper-slide img { width: 100%; height: 85vh; object-fit: cover; }
.mobile-banner { display: none; }

/* Headings & Text */
.brxe-heading { font-family: 'Playfair Display', serif; color: #536b93; margin-bottom: 20px; text-align: center; font-size: 2.8rem; }
h1, h2, h3, h4, h5, h6 { color: #536b93; }
.brxe-text { text-align: center; max-width: 900px; margin: 0 auto 20px; line-height: 1.6; color: #000000; }
.brx-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* Common Button Style */
.btn-theme { background: #536b93; color: #ffffff; font-weight: bold; padding: 12px 30px; border-radius: 5px; border: 1px solid #536b93; cursor: pointer; display: inline-block; text-transform: uppercase; font-size: 0.9rem; transition: all 0.3s; }
.btn-theme:hover { background: #000000; color: #536b93; border-color: #000000; }

/* Floor Plan Grid */
.floor-plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.floor-plan-card { background: #ffffff; padding: 10px; border: 2px solid #536b93; border-radius: 8px; cursor: pointer; text-align: center; }
.floor-plan-card img { width: 100%; height: auto; display: block; filter: blur(1px); transition: filter 0.3s; }
.floor-plan-card:hover img { filter: blur(0); }
.floor-plan-card p { color: #000000 !important; margin-top: 5px; font-weight: bold; }

/* Blog Grid on Home */
.home-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.home-blog-card { background: #ffffff; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s; display: block; border: 1px solid #536b93; }
.home-blog-card:hover { transform: translateY(-5px); }
.home-blog-img { width: 100%; height: 200px; object-fit: cover; }
.home-blog-content { padding: 20px; }
.home-blog-date { font-size: 0.8rem; color: #000000; margin-bottom: 5px; display: block; opacity: 0.8; font-weight: bold; }
.home-blog-title { font-size: 1.1rem; font-weight: 600; color: #536b93; margin-bottom: 10px; }
.home-blog-desc { font-size: 0.9rem; color: #000000; line-height: 1.5; }

/* FAQ Styling */
details { background: #ffffff; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid #536b93; }
details summary { padding: 15px; cursor: pointer; font-weight: 600; color: #536b93; list-style: none; position: relative; }
details summary::after { content: '+'; position: absolute; right: 20px; font-weight: bold; font-size: 1.2rem; color: #536b93; }
details[open] summary::after { content: '-'; }
details p { padding: 0 15px 15px 15px; margin: 0; color: #000000; line-height: 1.6; }

/* Amenity Card */
.amenity-card { background: #ffffff; color: #000000; border-radius: 15px; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 2px solid #536b93; }
.amenity-card img { width: 100%; border-radius: 10px; margin-bottom: 20px; border: 5px solid #ffffff; }
.amenity-card h4 { color: #536b93; font-weight: bold; }
.amenity-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.amenity-list-grid ul { list-style: none; padding: 0; margin: 0; }
.amenity-list-grid li { position: relative; padding-left: 25px; margin-bottom: 10px; color: #000000;}
.amenity-list-grid li::before { content: '>'; font-family: monospace; font-weight: bold; position: absolute; left: 0; background: #536b93; color: #ffffff; width: 18px; height: 18px; border-radius: 50%; text-align: center; line-height: 18px; }

/* Location Advantage Section Styles */
.loc-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: #ffffff; padding: 30px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #536b93; }
.loc-image img { width: 100%; height: auto; border-radius: 10px; border: 2px solid #536b93; }
.loc-content h3 { color: #536b93; font-family: 'Playfair Display', serif; font-size: 2rem; margin-top: 0; margin-bottom: 20px; }
.loc-intro { margin-bottom: 20px; color: #000000; line-height: 1.6; }
.loc-category { margin-bottom: 20px; }
.loc-category h4 { color: #536b93; margin-bottom: 10px; font-size: 1.1rem; border-left: 4px solid #536b93; padding-left: 10px; }
.loc-category ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.loc-category li { position: relative; padding-left: 20px; font-size: 0.9rem; color: #000000; }
.loc-category li::before { content: '•'; color: #536b93; font-weight: bold; position: absolute; left: 0; top: 0; }

#hamburger-menu { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #536b93; }
.offer-strip { background-color: #536b93; color: #ffffff; text-align: center; padding: 12px; font-size: 1.2rem; font-weight: bold; letter-spacing: 0.5px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* ------------------------------------------- */
/* CONTACT SECTION & FORM RESPONSIVE FIX */
/* ------------------------------------------- */


/* Footer Links Bar */
.footer-links-bar { text-align: center; padding: 25px 0; font-size: 0.95rem; color: #000000; border-top: 1px solid #536b93; margin-top: 20px; }
.footer-links-bar a { margin: 0 12px; font-weight: 500; transition: color 0.3s; position: relative; }
.footer-links-bar a:hover { color: #536b93; }
.footer-links-bar span { color: #536b93; font-weight: bold; }

/* ======== POPUP STYLING ======== */
.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(32, 37, 58, 0.85); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out; backdrop-filter: blur(3px); }
.popup-overlay.show { opacity: 1; visibility: visible; }
.offer-popup { background: #ffffff; padding: 30px 25px; border-radius: 12px; width: 92%; max-width: 420px; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.3); text-align: left; transform: translateY(-30px); transition: transform 0.4s ease-in-out; border: 2px solid #536b93; max-height: 95vh; overflow-y: auto; box-sizing: border-box;}
.popup-overlay.show .offer-popup { transform: translateY(0); }
.offer-popup .close-btn { position: absolute; top: 15px; right: 20px; font-size: 28px; font-weight: 300; color: #000000; cursor: pointer; transition: color 0.3s; line-height: 1; }
.offer-popup .close-btn:hover { color: #536b93; }
.popup-header-new { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; margin-top: 5px;}
.popup-header-new i { font-size: 18px; color: #536b93; transform: scaleX(-1); } 
.popup-header-new h3 { color: #536b93; margin: 0; font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: 0; text-transform: none;}
.popup-desc-new { font-size: 0.95rem; color: #000000; line-height: 1.5; margin-bottom: 20px; font-family: 'Poppins', sans-serif; opacity: 0.9;text-align: center;}
.popup-desc-new strong { color: #536b93; font-weight: 600; }
.offer-boxes { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.offer-box { background: #ffffff; border-radius: 8px; padding: 12px 15px; display: flex; align-items: center; gap: 15px; border: 1px solid #536b93; }
.offer-box .offer-icon { background: #ffffff; width: 35px; height: 35px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #536b93; font-size: 14px; flex-shrink: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.05); border: 1px solid #536b93;}
.offer-box .offer-text { font-size: 0.9rem; color: #000000; font-weight: 600; line-height: 1.4; font-family: 'Poppins', sans-serif;} 
.popup-form-container { margin-top: 15px; padding-top: 15px; border-top: 1px dashed #536b93; margin-bottom: 15px; }
.popup-form input, .popup-form textarea { width: 100%; padding: 12px 15px; margin-bottom: 12px; box-sizing: border-box; font-family: 'Poppins', sans-serif; font-size: 0.9rem; border: 1px solid #536b93; border-radius: 6px; background: #ffffff; color: #000000; }
.popup-form textarea { height: 60px; resize: none; margin-bottom: 8px; }
.popup-form button.submit-btn { margin-bottom: 0; padding: 14px; font-size: 0.95rem; font-weight: 600; text-transform: uppercase; border-radius: 6px; background: #536b93; color: #ffffff; width: 100%; border: none; cursor: pointer; transition: 0.3s; letter-spacing: 1px;}
.popup-form button.submit-btn:hover { background: #000000; color: #536b93; }
.popup-action-btns { display: flex; flex-direction: column; gap: 10px; }
.popup-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; border-radius: 6px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; box-sizing: border-box; font-family: 'Poppins', sans-serif; color: #ffffff !important; border: none; cursor: pointer;}
.popup-btn i { font-size: 18px; }
.call-btn { background-color: #536b93; } .call-btn:hover { background-color: #000000; }
.wa-btn { background-color: #25D366; } .wa-btn:hover { background-color: #1EBE5A; }
.iti { width: 100%; margin-bottom: 15px; }
.iti__flag-container { z-index: 10; }
.iti__country-list { z-index: 10000 !important; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; color: #000000; text-align: left; }
.popup-form-container .iti { margin-bottom: 12px; }
.popup-form-container .phone-input { margin-bottom: 0 !important; }
.c-form-box .iti { margin-bottom: 15px; }
.c-form-box .phone-input { margin-bottom: 0 !important; }

figure { margin: 0; width: 100%; }
figcaption { display: none; } 

/* ------------------------------------------- */
/* PRICING DESKTOP TABLE */
/* ------------------------------------------- */
.pricing-wrapper { padding: 40px 15px; background-color: #ffffff; }
.pricing-container { border: 2px solid #536b93; border-radius: 15px; overflow: hidden; background: #ffffff; max-width: 1000px; margin: 0 auto; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.pricing-header { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr; background-color: #536b93; color: #ffffff; font-weight: 600; padding: 15px 20px; text-align: center; font-size: 1.1rem; }
.pricing-row { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr; align-items: center; padding: 15px 20px; text-align: center; border-bottom: 1px solid #eeeeee; }
.pricing-row:nth-child(odd) { background-color: #fcfcfc; }
.pricing-row:nth-child(even) { background-color: #ffffff; }
.pricing-row:last-child { border-bottom: none; }
.p-type { text-align: left; font-weight: 500; color: #000000; font-size: 1.05rem; }
.p-area, .p-price { color: #000000; font-size: 1.05rem; }
.pricing-btn { background-color: #536b93; color: #ffffff; border: 1px solid #536b93; padding: 10px 15px; border-radius: 8px; cursor: pointer; font-size: 0.95rem; width: 100%; max-width: 220px; margin: 0 auto; box-shadow: 2px 2px 5px rgba(0,0,0,0.1); transition: all 0.3s ease; font-weight: 500; text-transform: uppercase;}
.pricing-btn:hover { background-color: #000000; color: #536b93; border-color: #000000; transform: translateY(-2px); }

.mobile-offer-wrapper { display: none; }

/* ------------------------------------------- */
/* CUSTOM SWIPER HORIZONTAL NAV */
/* ------------------------------------------- */
.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev { background-color: rgba(0, 0, 0, 0.6); color: #ffffff !important; width: 35px !important; height: 35px !important; border-radius: 50%; margin-top: -17px; }
.banner-swiper .swiper-button-next::after,
.banner-swiper .swiper-button-prev::after { font-size: 14px !important; font-weight: 900; }
.banner-swiper .swiper-pagination { bottom: 12px !important; }
.banner-swiper .swiper-pagination-bullet { width: 30px !important; height: 3px !important; border-radius: 0 !important; background: #ffffff !important; opacity: 0.5; margin: 0 4px !important; transition: all 0.3s ease; }
.banner-swiper .swiper-pagination-bullet-active { opacity: 1 !important; background: #536b93 !important; width: 40px !important; }

/* ================================================= */
/* MOBILE / TABLET RESPONSIVE CSS */
/* ================================================= */
@media (max-width: 991px) {
    .brxe-nav-menu { display: none; }
    #hamburger-menu { display: block; }
    #brxe-jxuzzf { display: none; }
    #main-nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: #ffffff; flex-direction: column; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-bottom: 2px solid #536b93;}
    #main-nav-menu.active { display: flex; }
    #main-nav-menu ul { flex-direction: column; width: 100%; }
    #main-nav-menu li { padding: 15px; text-align: center; border-bottom: 1px solid #536b93; }
    #main-nav-menu a { color: #000000; }
    


    .footer-links-bar a { display: block; margin: 10px 0; }
    .footer-links-bar span { display: none; }
    .loc-wrapper { grid-template-columns: 1fr; }
    .loc-category ul { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .banner-swiper .mobile-banner { display: none !important; } 
    .banner-swiper .desktop-banner { display: block !important; width: 100%; height: 230px !important; object-fit: cover; object-position: center; }
    .home-section .swiper-slide img { height: auto; }
    .offer-strip { font-size: 1rem; padding: 10px; }
    
    .brxe-section { padding: 40px 15px; }
    .brxe-heading { font-size: 2rem; }
    .brx-grid { grid-template-columns: 1fr; }
    .amenity-list-grid { grid-template-columns: 1fr; }
    .floor-plan-grid { grid-template-columns: repeat(2, 1fr); }
    .home-blog-grid { grid-template-columns: 1fr; }
    
  

    /* MOBILE BOTTOM NAV - AS PER SCREENSHOT (White, Black, Theme Color) */
    #brxe-wylpbs { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,0.2); }
    #brxe-wylpbs a { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; padding: 8px 5px; font-size: 14px; font-weight: 500; border-right: 1px solid rgba(0,0,0,0.1); }
    #brxe-wylpbs a i { font-size: 20px; margin-bottom: 5px; }
    
    #brxe-wylpbs a:nth-child(1) { background-color: #536b93; color: #ffffff; } /* Call: Theme BG, White Text */
    #brxe-wylpbs a:nth-child(2) { background-color: #536b93; color: #ffffff; } /* Enquire: Theme BG, White Text */
    #brxe-wylpbs a:nth-child(3) { background-color: #536b93; color: #ffffff; border-right: none;} /* WhatsApp: Theme BG, White Text */
    body { padding-bottom: 60px; }

    /* PRICING TABLE STACKED VIEW */
    .desktop-only { display: none; }
    .pricing-row { grid-template-columns: 1fr; padding: 25px 15px; gap: 5px; position: relative; border-bottom: 2px solid #eeeeee; }
    .p-type { text-align: center; font-size: 1.3rem; color: #536b93; font-weight: 600; margin-bottom: 5px; }
    .p-area { font-size: 1.1rem; color: #000000; margin-bottom: 5px; }
    .p-price { font-size: 1.4rem; font-weight: bold; color: #000000; margin-bottom: 15px; }

    /* MOBILE OFFER CARD */
    .mobile-offer-wrapper { display: block; background-color: #ffffff; padding: 20px 15px; margin-top: -5px; }
    .mo-card { background: #ffffff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 2px solid #536b93; text-align: center; }
    .mo-header { background-color: #000000; color: #536b93; font-size: 1.1rem; font-weight: bold; padding: 10px; text-transform: uppercase; letter-spacing: 1px; }
    .mo-details { padding: 20px 10px 15px 10px; }
    .mo-title { font-size: 1.4rem; font-weight: 800; color: #536b93; margin: 0 0 5px 0; text-transform: uppercase; }
    .mo-subtitle { font-size: 1rem; font-weight: 600; color: #000000; margin: 0 0 2px 0; }
    .mo-location { font-size: 0.85rem; color: #000000; margin: 0; }
    
    .mo-highlight { background-color: #536b93; color: #ffffff; font-weight: bold; padding: 10px; font-size: 1rem; border-top: 2px dashed #000000; border-bottom: 2px dashed #000000; animation: pulseBg 2s infinite; }
    .mo-usps { background-color: #536b93; color: #ffffff; border-bottom: 2px dashed #000000; padding: 5px 20px; }
    .mo-usps p { margin: 0; padding: 10px 0; font-size: 0.95rem; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
    .mo-usps p:last-child { border-bottom: none; }
    
    .mo-pricing { padding: 15px 10px; }
    .mo-pricing-title { font-size: 1.1rem; color: #000000; margin: 0 0 5px 0; font-weight: 600; }
    .mo-price-val { font-size: 1.8rem; font-weight: 900; color: #536b93; margin: 0; animation: zoomInOut 1.5s infinite alternate; }
    .mo-price-val span { font-size: 1rem; font-weight: 600; color: #536b93; }
    
    .mo-btn { background: #536b93; color: #ffffff; border: 2px solid #536b93; padding: 12px 30px; border-radius: 25px; font-size: 1.1rem; font-weight: bold; cursor: pointer; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(83, 107, 147, 0.3); transition: all 0.3s ease; text-transform: uppercase; }
    .mo-btn:active { transform: scale(0.95); background: #000000; color: #536b93; border-color: #000000; }
}

/* Animations */
@keyframes pulseBg {
    0% { background-color: #536b93; }
    50% { background-color: #3f5271; } 
    100% { background-color: #536b93; }
}
@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}


/* ========================================= */
/* NEW RESPONSIVE CONTACT SECTION STYLES */
/* ========================================= */
.contact-grid { 
    display: grid; 
    grid-template-columns: 1.3fr 1fr 1.3fr; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
    border-radius: 12px; 
    overflow: hidden; 
    background: #ffffff; 
    border: 1px solid #536b93; 
    width: 100%; 
    max-width: 100%; 
    box-sizing: border-box; 
    margin: 0 auto;
}
.c-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

.c-info { background: #536b93; color: #ffffff; padding: 40px 30px; box-sizing: border-box; width: 100%; max-width: 100%; overflow: hidden;}
.c-info h3 { color: #ffffff; margin-top: 0; margin-bottom: 30px; font-size: 1.8rem; font-family: 'Playfair Display', serif; }
.c-item { display: flex; align-items: flex-start; margin-bottom: 25px; width: 100%; }
.c-icon { background: #ffffff; color: #536b93; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; font-size: 18px; }
.c-text { width: calc(100% - 55px); /* prevents text overflow */ } 
.c-text h4 { margin: 0 0 5px 0; font-size: 1rem; color: #000000; text-transform: uppercase; }
.c-text p { margin: 0; font-size: 1rem; line-height: 1.4; color: #ffffff; word-wrap: break-word; overflow-wrap: break-word; }

.c-form-box { background: #ffffff; padding: 40px 30px; box-sizing: border-box; width: 100%; max-width: 100%; overflow: hidden; }
.c-form-box h3 { margin-top: 0; color: #536b93; margin-bottom: 20px; font-size: 1.8rem; font-family: 'Playfair Display', serif; }
.c-form-box label { color: #536b93; font-weight: bold; display: block; margin-bottom: 5px; font-size: 0.9rem; }

/* Strict Form Inputs Fix for Mobile Overflow */
.c-form-box input { 
    width: 100%; 
    max-width: 100%; 
    border: 1px solid #536b93; 
    margin-bottom: 15px; 
    background: #ffffff; 
    padding: 12px; 
    border-radius: 5px; 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif; 
    color: #000000;
}

/* Country Code Library Fix */
.c-form-box .iti { width: 100%; display: block; margin-bottom: 15px; }
.c-form-box .iti input { margin-bottom: 0 !important; width: 100% !important; box-sizing: border-box; }

/* Contact Mobile Queries */
@media (max-width: 991px) {
    .contact-grid { grid-template-columns: 1fr; }
    .c-map iframe { min-height: 300px; }
}
@media (max-width: 767px) {
    .contact-grid { border-radius: 8px; border: 1px solid #536b93; }
    .c-info, .c-form-box { padding: 25px 15px; width: 100%; box-sizing: border-box;}
    .c-info h3, .c-form-box h3 { font-size: 1.6rem; }
    .c-item { margin-bottom: 20px; }
    .c-text p { font-size: 0.9rem; } /* Shrink long emails slightly on mobile */
    .c-form-box input { padding: 10px; font-size: 16px; /* 16px prevents iOS zoom */ }
}