/* Theme Colors: Background #ffffff, Text #000000, Primary Accent #dc542c, Gray #eef0e5 */
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: #dc542c; margin-bottom: 20px; text-align: center; font-size: 2.8rem; }
h1, h2, h3, h4, h5, h6 { color: #dc542c; }
.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: #dc542c; color: #ffffff; font-weight: bold; padding: 12px 30px; border-radius: 5px; border: 1px solid #dc542c; cursor: pointer; display: inline-block; text-transform: uppercase; font-size: 0.9rem; transition: all 0.3s; }
.btn-theme:hover { background: #000000; color: #dc542c; 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 #dc542c; 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 #dc542c; }
.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: #dc542c; 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 #dc542c; }
details summary { padding: 15px; cursor: pointer; font-weight: 600; color: #dc542c; list-style: none; position: relative; }
details summary::after { content: '+'; position: absolute; right: 20px; font-weight: bold; font-size: 1.2rem; color: #dc542c; }
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 #dc542c; }
.amenity-card img { width: 100%; border-radius: 10px; margin-bottom: 20px; border: 5px solid #ffffff; }
.amenity-card h4 { color: #dc542c; 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: #dc542c; 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 #dc542c; }
.loc-image img { width: 100%; height: auto; border-radius: 10px; border: 2px solid #dc542c; }
.loc-content h3 { color: #dc542c; 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: #dc542c; margin-bottom: 10px; font-size: 1.1rem; border-left: 4px solid #dc542c; 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: #dc542c; font-weight: bold; position: absolute; left: 0; top: 0; }

#hamburger-menu { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #dc542c; }
.offer-strip { background-color: #dc542c; 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 #dc542c; 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: #dc542c; }
.footer-links-bar span { color: #dc542c; font-weight: bold; }

/* ======== POPUP STYLING ======== */
.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.75); z-index: 99999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; backdrop-filter: blur(4px); }
.popup-overlay.show { opacity: 1; visibility: visible; }

.ref-popup-design {
    background: #ffffff;
    padding: 0 !important;
    border-radius: 16px !important;
    width: 90%;
    max-width: 440px !important;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    text-align: left;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: none !important;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    margin: auto;
}
.popup-overlay.show .ref-popup-design { transform: scale(1); }

.popup-img-header {
    position: relative;
    width: 100%;
    height: 185px;
    overflow: hidden;
}

.popup-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.close-btn-circle {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.close-btn-circle:hover {
    background: #dc542c;
    color: #ffffff;
}

.popup-body-content {
    padding: 22px 28px 28px;
    background: #ffffff;
}

.popup-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 2.2rem !important;
    color: #dc542c !important;
    text-align: center !important;
    margin: 0 0 20px 0 !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

.ref-popup-form .form-group {
    margin-bottom: 16px;
    text-align: left;
}

.ref-popup-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a3c26;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.ref-popup-form input[type="text"],
.ref-popup-form input[type="email"],
.ref-popup-form input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    color: #000000;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.ref-popup-form input:focus {
    border-color: #dc542c;
    outline: none;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.captcha-display-box {
    background: repeating-linear-gradient(45deg, #f5f7dc, #f5f7dc 10px, #e9edba 10px, #e9edba 20px);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #d4db99;
    color: #1a3c26;
    font-family: 'Courier New', monospace;
    user-select: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.captcha-reload-btn {
    background: #f5f5f5;
    border: 1px solid #cccccc;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333333;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.captcha-reload-btn:hover {
    background: #dc542c;
    color: #ffffff;
    border-color: #dc542c;
}

.captcha-wrapper input {
    flex-grow: 1;
    margin-bottom: 0 !important;
}

.popup-submit-btn {
    width: 100%;
    background-color: #0f2c1d;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 15px;
    letter-spacing: 1.5px;
    transition: background-color 0.3s;
}

.popup-submit-btn:hover {
    background-color: #dc542c;
}

.iti { width: 100%; margin-bottom: 0; }
.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; }
.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 #dc542c; 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: #dc542c; 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: #dc542c; color: #ffffff; border: 1px solid #dc542c; 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: #dc542c; 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: #dc542c !important; width: 40px !important; }

/* Mobile bottom action bar - Hidden by default on desktop */
#brxe-wylpbs { display: none !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 #dc542c;}
    #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 #dc542c; }
    #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, Gold) */
    #brxe-wylpbs { display: flex !important; 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: #dc542c; color: #ffffff; } /* Call: White BG, Gold Text */
    #brxe-wylpbs a:nth-child(2) { background-color: #dc542c; color: #ffffff; } /* Enquire: Black BG, Gold Text */
    #brxe-wylpbs a:nth-child(3) { background-color: #dc542c; color: #ffffff; border-right: none;} /* WhatsApp: Gold 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: #dc542c; 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 #dc542c; text-align: center; }
    .mo-header { background-color: #000000; color: #dc542c; 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: #dc542c; 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: #dc542c; 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: #dc542c; 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: #dc542c; margin: 0; animation: zoomInOut 1.5s infinite alternate; }
    .mo-price-val span { font-size: 1rem; font-weight: 600; color: #dc542c; }
    
    .mo-btn { background: #dc542c; color: #ffffff; border: 2px solid #dc542c; padding: 12px 30px; border-radius: 25px; font-size: 1.1rem; font-weight: bold; cursor: pointer; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(168, 140, 57, 0.3); transition: all 0.3s ease; text-transform: uppercase; }
    .mo-btn:active { transform: scale(0.95); background: #000000; color: #dc542c; border-color: #000000; }
}

/* Animations */
@keyframes pulseBg {
    0% { background-color: #dc542c; }
    50% { background-color: #b84220; } 
    100% { background-color: #dc542c; }
}
@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 #dc542c; 
    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: #dc542c; 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: #dc542c; 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: #dc542c; margin-bottom: 20px; font-size: 1.8rem; font-family: 'Playfair Display', serif; }
.c-form-box label { color: #dc542c; 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 #dc542c; 
    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 #dc542c; }
    .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 */ }
}