/* ============================================
   BRIGADE SARAVANAMPATTI — SHARED STYLESHEET
   Used across homepage + all inner pages
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #0a2a44;
    --primary-light: #1a3c5e;
    --secondary: #c19a6b;
    --secondary-light: #d4af7a;
    --gold: #c9a96e;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 1rem; }
h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; color: #4a4a5a; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
    display: inline-block; padding: 14px 36px; background-color: var(--secondary);
    color: var(--white); border: none; border-radius: 4px; font-weight: 600;
    font-size: 0.95rem; cursor: pointer; transition: var(--transition);
    text-align: center; letter-spacing: 0.5px;
}
.btn:hover { background-color: #a87d52; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(193, 154, 107, 0.35); }
.btn-primary { background-color: var(--primary); }
.btn-primary:hover { background-color: #061d33; box-shadow: 0 8px 25px rgba(10, 42, 68, 0.35); }
.btn-gold { background: linear-gradient(135deg, var(--secondary), var(--gold)); color: var(--white); }
.btn-gold:hover { background: linear-gradient(135deg, #a87d52, #b8955a); box-shadow: 0 8px 30px rgba(193, 154, 107, 0.4); }
.btn-outline { background: transparent; border: 2px solid var(--secondary); color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: var(--white); }
.btn-outline-light { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

section { padding: 80px 0; }

.section-title {
    text-align: center; margin-bottom: 50px; position: relative;
    font-family: 'Playfair Display', serif; font-weight: 700; color: var(--primary);
}
.section-title:after {
    content: ''; position: absolute; width: 80px; height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--gold));
    bottom: -15px; left: 50%; transform: translateX(-50%); border-radius: 2px;
}
.section-subtitle {
    text-align: center; font-size: 1.1rem; color: var(--gray);
    max-width: 700px; margin: 0 auto 50px; font-weight: 400;
}

/* Breadcrumb */
.breadcrumb-bar { background: var(--light); padding: 16px 0; border-bottom: 1px solid var(--gray-light); margin-top: 72px; }
.breadcrumb-bar .container { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray); }
.breadcrumb-bar a { color: var(--secondary); font-weight: 600; }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar span.current { color: var(--primary); font-weight: 600; }

/* Skip to content */
.skip-to-content {
    position: absolute; top: -40px; left: 0; background: var(--primary); color: var(--white);
    padding: 8px; z-index: 1001; text-decoration: none;
}
.skip-to-content:focus { top: 0; }

/* ============ HEADER ============ */
header {
    background-color: var(--white); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed; width: 100%; top: 0; z-index: 1000; height: 72px; transition: var(--transition);
}
.header-container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px; height: 100%; max-width: 1200px; margin: 0 auto;
}
.logo {
    display: flex; align-items: center; font-weight: 700; font-size: 18px;
    color: var(--primary); font-family: 'Playfair Display', serif;
}
.logo span { color: var(--secondary); }

nav ul { display: flex; align-items: center; flex-wrap: wrap; }
nav li { margin-left: 22px; }
nav a {
    font-weight: 500; font-size: 13.5px; position: relative; padding: 5px 0;
    color: var(--dark); transition: var(--transition); letter-spacing: 0.3px;
}
nav a:after {
    content: ''; position: absolute; width: 0; height: 2px;
    background: linear-gradient(to right, var(--secondary), var(--gold));
    bottom: 0; left: 0; transition: var(--transition);
}
nav a:hover:after, nav a.active:after { width: 100%; }
nav a:hover, nav a.active { color: var(--primary); }

.mobile-menu-btn { display: none; font-size: 26px; cursor: pointer; background: none; border: none; color: var(--primary); padding: 5px; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
    background: linear-gradient(135deg, rgba(10, 42, 68, 0.92) 0%, rgba(10, 42, 68, 0.78) 100%),
        url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?ixlib=rb-4.0.3&auto=format&fit=crop&w=2071&q=80');
    background-size: cover; background-position: center; color: var(--white);
    padding: 150px 20px 90px; text-align: center;
}
.page-hero .badge {
    display: inline-block; background: rgba(193, 154, 107, 0.2); border: 1px solid var(--secondary);
    color: var(--secondary); padding: 6px 20px; border-radius: 50px; font-size: 13px;
    font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px;
}
.page-hero h1 { font-size: 42px; margin-bottom: 14px; }
.page-hero h1 span { color: var(--secondary); }
.page-hero p { max-width: 680px; margin: 0 auto 28px; color: rgba(255,255,255,0.85); font-size: 16px; }
.page-hero .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ HOME BANNER (kept for parity) ============ */
.banner {
    background: linear-gradient(135deg, rgba(10, 42, 68, 0.92) 0%, rgba(10, 42, 68, 0.75) 100%),
        url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?ixlib=rb-4.0.3&auto=format&fit=crop&w=2071&q=80');
    background-size: cover; background-position: center; color: var(--white);
    padding: 160px 20px 100px; position: relative;
}
.banner-flex { display: flex; align-items: center; gap: 60px; }
.banner-content { flex: 1; }
.banner-image { flex: 1; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.banner-image img { width: 100%; height: auto; display: block; border-radius: 16px; }

/* ============ OVERVIEW / TEXT+IMAGE ============ */
.overview-section { background: var(--light); }
.overview-content { display: flex; align-items: center; gap: 60px; }
.overview-text { flex: 1; }
.overview-text .about-badge {
    display: inline-block; background: rgba(193, 154, 107, 0.12); color: var(--secondary);
    padding: 4px 18px; border-radius: 50px; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.overview-text h2 { color: var(--primary); margin-bottom: 20px; }
.overview-text ul { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.overview-text ul li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #4a4a5a; }
.overview-text ul li i { color: var(--secondary); font-size: 16px; }
.overview-image { flex: 1; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1); }
.overview-image img { width: 100%; height: auto; display: block; }

/* ============ HIGHLIGHTS ============ */
.highlights-section { background: var(--white); }
.highlights-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.highlight-card {
    background: var(--white); border-radius: 16px; padding: 30px 20px; text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06); border: 1px solid rgba(0, 0, 0, 0.04); transition: var(--transition);
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1); border-color: var(--secondary); }
.highlight-card .num { font-size: 34px; font-weight: 800; color: var(--primary); font-family: 'Playfair Display', serif; line-height: 1.15; }
.highlight-card .num span { color: var(--secondary); }
.highlight-card .label { font-size: 14px; color: var(--gray); font-weight: 500; margin-top: 6px; }
.highlight-card .icon { font-size: 32px; color: var(--secondary); margin-bottom: 10px; }

/* Detail spec table (highlights page) */
.spec-table-wrap { overflow-x: auto; margin-top: 20px; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 600px; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.06); }
.spec-table th { background: var(--primary); color: var(--white); text-align: left; padding: 18px 24px; font-size: 14px; letter-spacing: 0.4px; }
.spec-table td { padding: 18px 24px; border-bottom: 1px solid var(--gray-light); font-size: 14px; color: #4a4a5a; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover { background: rgba(193,154,107,0.04); }
.spec-table td:first-child { font-weight: 600; color: var(--primary); width: 34%; }

/* ============ PRICE ============ */
.price-table-wrap { overflow-x: auto; margin: 30px 0; }
.price-table { width: 100%; border-collapse: collapse; min-width: 600px; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06); }
.price-table thead { background: var(--primary); }
.price-table th { padding: 20px 24px; text-align: left; color: var(--white); font-weight: 600; font-size: 15px; letter-spacing: 0.5px; }
.price-table td { padding: 20px 24px; border-bottom: 1px solid var(--gray-light); vertical-align: middle; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: rgba(193, 154, 107, 0.04); }
.price-table .config-name { font-weight: 600; color: var(--primary); }
.price-table .config-desc { font-size: 13px; color: var(--gray); display: block; margin-top: 4px; }
.price-table .config-btn {
    background: linear-gradient(135deg, var(--secondary), var(--gold)); color: var(--white); border: none;
    padding: 10px 24px; border-radius: 6px; font-weight: 600; font-size: 13px; cursor: pointer;
    transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.price-table .config-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(193, 154, 107, 0.35); }

.price-cta-box {
    background: linear-gradient(135deg, var(--primary), #0d3557); padding: 50px 40px; border-radius: 16px;
    text-align: center; color: var(--white); margin-top: 40px;
}
.price-cta-box h3 { color: var(--white); font-size: 28px; margin-bottom: 12px; }
.price-cta-box p { color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 0 auto 30px; }
.price-cta-box .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.payment-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.payment-step { background: var(--white); border: 1px solid var(--gray-light); border-radius: 14px; padding: 26px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.04); }
.payment-step .step-num { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--secondary), var(--gold)); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-weight: 700; }
.payment-step h4 { color: var(--primary); font-size: 15px; margin-bottom: 6px; }
.payment-step p { font-size: 13px; color: var(--gray); margin: 0; }

/* ============ WHY INVEST ============ */
.invest-section { background: var(--white); }
.invest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.invest-card { background: var(--white); border-radius: 16px; padding: 30px 28px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06); border: 1px solid rgba(0, 0, 0, 0.04); transition: var(--transition); }
.invest-card:hover { transform: translateY(-6px); box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1); }
.invest-card .icon { font-size: 36px; color: var(--secondary); margin-bottom: 16px; }
.invest-card h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); font-size: 17px; margin-bottom: 10px; }
.invest-card p { font-size: 14px; color: var(--gray); margin: 0; line-height: 1.7; }

/* ============ AMENITIES ============ */
.amenities-section { background: var(--light); }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.amenity-card {
    background: var(--white); border-radius: 16px; padding: 28px 20px; text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04); transition: var(--transition); border: 1px solid rgba(0, 0, 0, 0.04);
}
.amenity-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); border-color: var(--secondary); }
.amenity-card .icon {
    width: 60px; height: 60px; margin: 0 auto 14px; background: linear-gradient(135deg, rgba(193, 154, 107, 0.1), rgba(193, 154, 107, 0.04));
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--secondary); transition: var(--transition);
}
.amenity-card:hover .icon { background: linear-gradient(135deg, var(--secondary), var(--gold)); color: var(--white); }
.amenity-card h4 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.amenity-card p { font-size: 13px; color: var(--gray); margin: 0; }

.amenity-category { margin-bottom: 55px; }
.amenity-category h3 { color: var(--primary); font-size: 22px; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.amenity-category h3 i { color: var(--secondary); }

/* ============ FLOOR PLAN ============ */
.floorplan-section { background: var(--white); }
.floorplan-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.floorplan-box { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06); border: 1px solid rgba(0, 0, 0, 0.04); transition: var(--transition); }
.floorplan-box:hover { box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1); }
.floorplan-box .img-wrap { overflow: hidden; }
.floorplan-box .img-wrap img { width: 100%; height: auto; display: block; transition: var(--transition); }
.floorplan-box:hover .img-wrap img { transform: scale(1.04); }
.floorplan-box .box-body { padding: 24px 28px 28px; text-align: center; }
.floorplan-box .box-body h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); font-size: 17px; margin-bottom: 4px; }
.floorplan-box .box-body p { font-size: 14px; color: var(--gray); margin-bottom: 16px; }
.floorplan-box .box-body .btn { padding: 10px 30px; font-size: 13px; }

.unit-table-wrap { overflow-x: auto; margin-top: 20px; }
.unit-table { width: 100%; border-collapse: collapse; min-width: 650px; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.06); }
.unit-table thead { background: var(--primary); }
.unit-table th { padding: 18px 22px; color: var(--white); text-align: left; font-size: 14px; }
.unit-table td { padding: 18px 22px; border-bottom: 1px solid var(--gray-light); font-size: 14px; color: #4a4a5a; }
.unit-table tr:last-child td { border-bottom: none; }
.unit-table tr:hover { background: rgba(193,154,107,0.04); }

/* ============ MASTER PLAN ============ */
.masterplan-hero-img { border-radius: 16px; overflow: hidden; box-shadow: 0 15px 50px rgba(0,0,0,0.1); margin-bottom: 20px; }
.masterplan-hero-img img { width: 100%; height: auto; display: block; }
.masterplan-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.legend-item { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--gray-light); border-radius: 10px; padding: 14px 16px; }
.legend-dot { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
.legend-item span { font-size: 13px; color: var(--dark); font-weight: 500; }

.masterplan-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.masterplan-stats .stat { text-align: center; padding: 26px 16px; background: var(--light); border-radius: 14px; }
.masterplan-stats .stat .num { font-size: 30px; font-weight: 800; color: var(--primary); font-family: 'Playfair Display', serif; }
.masterplan-stats .stat .label { font-size: 13px; color: var(--gray); font-weight: 500; margin-top: 4px; }

/* ============ CONTACT INFO CARDS (contact-us page) ============ */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 60px; }
.contact-info-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: 16px; padding: 34px 26px; text-align: center; box-shadow: 0 5px 25px rgba(0,0,0,0.05); transition: var(--transition); }
.contact-info-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.contact-info-card .icon { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, rgba(193,154,107,0.12), rgba(193,154,107,0.05)); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--secondary); }
.contact-info-card h4 { color: var(--primary); font-size: 17px; margin-bottom: 8px; }
.contact-info-card p { font-size: 14px; color: var(--gray); margin: 0; }

/* ============ LOCATION MAP (used standalone or via #location section) ============ */
.location-map-basic { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); }
.location-map-basic iframe { width: 100%; height: 450px; border: 0; display: block; }

/* ============ BUILDER ============ */
.builder-section { background: var(--white); }
.builder-content { display: flex; align-items: center; gap: 50px; }
.builder-logo { flex: 0 0 280px; text-align: center; }
.builder-logo img { max-width: 100%; border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06); }
.builder-info { flex: 1; }
.builder-info h3 { color: var(--primary); margin-bottom: 12px; }
.builder-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.builder-stats .stat { text-align: center; padding: 16px; background: var(--light); border-radius: 12px; }
.builder-stats .stat .num { font-size: 28px; font-weight: 800; color: var(--primary); font-family: 'Playfair Display', serif; }
.builder-stats .stat .label { font-size: 13px; color: var(--gray); font-weight: 500; }

/* ============ FAQ ============ */
.faq-section { background: var(--light); }
.faq-container { max-width: 850px; margin: 0 auto; }
.faq-item { background: var(--white); margin-bottom: 14px; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04); border: 1px solid rgba(0, 0, 0, 0.04); transition: var(--transition); }
.faq-item:hover { border-color: rgba(193, 154, 107, 0.2); }
.faq-question {
    width: 100%; padding: 20px 24px; background: none; border: none; text-align: left;
    font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; color: var(--primary);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: var(--transition);
}
.faq-question:hover { color: var(--secondary); }
.faq-question i { transition: var(--transition); color: var(--secondary); font-size: 18px; flex-shrink: 0; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 24px; }
.faq-item.active .faq-answer { max-height: 600px; padding: 0 24px 24px; }
.faq-answer p { color: #4a4a5a; line-height: 1.8; margin: 0; font-size: 14px; }

/* ============ CONTACT FORM ============ */
.contact-section { background: var(--primary); padding: 80px 0; }
.contact-section .section-title { color: var(--white); }
.contact-section .section-title:after { background: linear-gradient(to right, var(--secondary), var(--gold)); }
.contact-section .section-subtitle { color: rgba(255, 255, 255, 0.7); }
.contact-form-wrap { max-width: 620px; margin: 0 auto; background: var(--white); padding: 40px 45px; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); }
.contact-form-wrap .form-group { margin-bottom: 18px; }
.contact-form-wrap label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; color: var(--dark); }
.contact-form-wrap input, .contact-form-wrap select, .contact-form-wrap textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #ddd; border-radius: 8px;
    font-family: 'Montserrat', sans-serif; font-size: 14px; transition: var(--transition); background: var(--white); color: var(--dark);
}
.contact-form-wrap input:focus, .contact-form-wrap select:focus, .contact-form-wrap textarea:focus {
    outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(193, 154, 107, 0.15);
}
.contact-form-wrap textarea { resize: vertical; min-height: 100px; }
.contact-form-wrap .country-phone-group { display: flex; gap: 10px; }
.contact-form-wrap .country-phone-group select { width: 35%; flex-shrink: 0; }
.contact-form-wrap .country-phone-group input { width: 65%; }
.contact-form-wrap .send_btn {
    width: 100%; padding: 16px; background: linear-gradient(135deg, var(--secondary), var(--gold)); color: var(--white);
    border: none; border-radius: 8px; font-weight: 700; font-size: 16px; cursor: pointer; transition: var(--transition); letter-spacing: 0.5px;
}
.contact-form-wrap .send_btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(193, 154, 107, 0.35); }
.contact-form-wrap .form-note { text-align: center; font-size: 13px; color: var(--gray); margin-top: 16px; }

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1100;
    opacity: 0; visibility: hidden; transition: all 0.35s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: var(--white); border-radius: 16px; width: 92%; max-width: 520px; max-height: 90vh;
    overflow-y: auto; transform: translateY(30px); transition: all 0.35s ease; position: relative;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-header { padding: 22px 28px; border-bottom: 1px solid var(--gray-light); display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-family: 'Playfair Display', serif; color: var(--primary); margin: 0; font-size: 22px; }
.modal-header .close-modal { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--gray); transition: var(--transition); padding: 0 4px; }
.modal-header .close-modal:hover { color: var(--dark); transform: rotate(90deg); }
.modal-body { padding: 28px; }
.modal-body .form-group { margin-bottom: 16px; }
.modal-body label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 14px; color: var(--dark); }
.modal-body input, .modal-body select, .modal-body textarea {
    width: 100%; padding: 13px 16px; border: 1px solid #ddd; border-radius: 8px;
    font-family: 'Montserrat', sans-serif; font-size: 14px; transition: var(--transition); background: var(--white); color: var(--dark);
}
.modal-body input:focus, .modal-body select:focus, .modal-body textarea:focus {
    outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(193, 154, 107, 0.12);
}
.modal-body textarea { min-height: 80px; resize: vertical; }
.modal-body .country-phone-group { display: flex; gap: 10px; }
.modal-body .country-phone-group select { width: 35%; flex-shrink: 0; }
.modal-body .country-phone-group input { width: 65%; }
.modal-body .send_btn {
    width: 100%; padding: 15px; background: linear-gradient(135deg, var(--secondary), var(--gold)); color: var(--white);
    border: none; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; transition: var(--transition); letter-spacing: 0.5px;
}
.modal-body .send_btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(193, 154, 107, 0.35); }

/* ============ FOOTER ============ */
footer { background: #0a1f33; color: rgba(255, 255, 255, 0.7); padding: 50px 0 30px; }
footer .footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .footer-col h4 { color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
footer .footer-col h4:after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--secondary); }
footer .footer-col p { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, 0.6); }
footer .footer-col ul li { margin-bottom: 10px; font-size: 14px; }
footer .footer-col ul li i { margin-right: 10px; color: var(--secondary); width: 18px; }
footer .footer-col ul li a { color: rgba(255, 255, 255, 0.6); transition: var(--transition); }
footer .footer-col ul li a:hover { color: var(--secondary); }
footer .social-icons { display: flex; gap: 12px; margin-top: 16px; }
footer .social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.06); border-radius: 50%; color: rgba(255, 255, 255, 0.6); transition: var(--transition); font-size: 16px; }
footer .social-icons a:hover { background: var(--secondary); color: var(--white); transform: translateY(-3px); }
footer .copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; color: rgba(255, 255, 255, 0.4); }
footer .copyright a { color: var(--secondary); }

/* ============ LOCATION PAGE (full detail styles) ============ */
.location-section { padding: 70px 0 90px; background: #f7f7f5; color: #222; }
.location-section .container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.location-header { max-width: 850px; margin: 0 auto 55px; text-align: center; }
.section-kicker, .content-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #555; }
.location-header .section-title { margin: 0 0 15px; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; font-weight: 700; }
.location-header .section-subtitle { margin: 0 auto; color: #686868; font-size: 16px; line-height: 1.75; }
.location-intro { display: grid; grid-template-columns: 1fr 1fr; min-height: 570px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.07); margin-bottom: 80px; }
.location-image { position: relative; min-height: 570px; overflow: hidden; }
.location-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.location-image:hover img { transform: scale(1.04); }
.location-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.15) 65%, rgba(0, 0, 0, 0.02)); }
.location-image-overlay { position: absolute; z-index: 2; left: 38px; right: 38px; bottom: 38px; color: #fff; }
.location-badge { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; margin-bottom: 18px; border-radius: 50px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; }
.location-image-overlay h3 { max-width: 480px; margin: 0 0 10px; font-size: 30px; line-height: 1.25; }
.location-image-overlay p { margin: 0; font-size: 14px; opacity: 0.88; }
.location-overview { padding: 52px 50px; display: flex; flex-direction: column; justify-content: center; }
.location-overview h3 { margin: 0 0 22px; font-size: 32px; line-height: 1.25; }
.location-overview p { margin: 0 0 17px; color: #666; font-size: 14px; line-height: 1.8; }
.location-overview strong { color: #222; }
.location-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; }
.location-stat { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid #e8e8e8; border-radius: 9px; background: #fafafa; }
.stat-icon { width: 40px; height: 40px; flex: 0 0 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #ededed; color: #333; }
.location-stat strong { display: block; margin-bottom: 3px; font-size: 13px; }
.location-stat span { display: block; color: #777; font-size: 11px; }
.section-mini-heading { margin-bottom: 30px; }
.section-mini-heading.center { text-align: center; }
.section-mini-heading span { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #777; }
.section-mini-heading h3 { margin: 0; font-size: 30px; }
.location-highlights-section { margin-bottom: 80px; }
.location-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.location-card { position: relative; padding: 30px; min-height: 270px; background: #fff; border: 1px solid #e9e9e9; border-radius: 12px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.location-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.location-card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: 10px; background: #f0f0f0; font-size: 18px; }
.location-card h4 { margin: 0 0 10px; font-size: 20px; }
.location-card p { margin: 0 0 20px; color: #707070; font-size: 13px; line-height: 1.7; }
.card-tag { display: inline-block; padding: 6px 10px; border-radius: 4px; background: #f2f2f2; color: #666; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.connectivity-section { margin-bottom: 80px; padding: 50px; background: #fff; border-radius: 15px; border: 1px solid #e9e9e9; }
.connectivity-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 35px; }
.connectivity-heading h3 { margin: 0; font-size: 30px; }
.connectivity-heading > p { max-width: 450px; margin: 0; color: #707070; font-size: 13px; line-height: 1.7; }
.connectivity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.connectivity-item { display: flex; gap: 16px; padding: 20px; border: 1px solid #ededed; border-radius: 9px; background: #fafafa; }
.connectivity-icon { width: 42px; height: 42px; flex: 0 0 42px; display: flex; align-items: center; justify-content: center; background: #ededed; border-radius: 8px; }
.connectivity-item h4 { margin: 0 0 5px; font-size: 15px; }
.connectivity-item p { margin: 0; color: #777; font-size: 12px; line-height: 1.6; }
.destination-section { margin-bottom: 80px; }
.destination-table { overflow: hidden; border: 1px solid #e5e5e5; border-radius: 12px; background: #fff; }
.destination-row { display: grid; grid-template-columns: 260px 1fr; border-bottom: 1px solid #ededed; }
.destination-row:last-child { border-bottom: 0; }
.destination-row > div { padding: 19px 22px; color: #666; font-size: 13px; line-height: 1.6; }
.destination-head { background: #222; }
.destination-head > div { color: #fff; font-weight: 600; }
.destination-name { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #222 !important; }
.destination-name i { width: 25px; text-align: center; }
.local-infrastructure { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 450px; overflow: hidden; margin-bottom: 80px; border-radius: 15px; background: #fff; border: 1px solid #e5e5e5; }
.infrastructure-content { padding: 50px; }
.infrastructure-content h3 { margin: 0 0 15px; font-size: 30px; }
.infrastructure-content > p { margin: 0 0 30px; color: #707070; font-size: 14px; line-height: 1.7; }
.infrastructure-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.infrastructure-list > div { display: flex; align-items: flex-start; gap: 12px; }
.infrastructure-list i { margin-top: 3px; width: 28px; color: #555; }
.infrastructure-list strong { display: block; margin-bottom: 4px; font-size: 13px; }
.infrastructure-list small { display: block; color: #777; font-size: 11px; line-height: 1.5; }
.infrastructure-image { position: relative; min-height: 450px; overflow: hidden; }
.infrastructure-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.infrastructure-caption { position: absolute; left: 25px; right: 25px; bottom: 25px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-radius: 7px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; }
.why-location { margin-bottom: 80px; }
.why-location-header { margin-bottom: 35px; }
.why-location-header h3 { margin: 0; font-size: 30px; }
.why-location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-item { position: relative; padding: 28px; border-radius: 10px; background: #fff; border: 1px solid #e8e8e8; }
.why-item > span { display: block; margin-bottom: 17px; color: #aaa; font-size: 12px; font-weight: 700; }
.why-item h4 { margin: 0 0 9px; font-size: 17px; }
.why-item p { margin: 0; color: #707070; font-size: 12px; line-height: 1.7; }
.location-map-section { margin-bottom: 60px; }
.map-heading { max-width: 700px; margin-bottom: 25px; }
.map-heading h3 { margin: 0 0 10px; font-size: 30px; }
.map-heading p { margin: 0; color: #707070; font-size: 14px; line-height: 1.7; }
.location-map { width: 100%; height: 470px; overflow: hidden; border-radius: 14px; border: 1px solid #ddd; background: #eee; }
.location-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-note { display: flex; gap: 12px; margin-top: 12px; padding: 15px 18px; background: #fff; border: 1px solid #e7e7e7; border-radius: 8px; }
.map-note i { margin-top: 3px; }
.map-note p { margin: 0; color: #777; font-size: 11px; line-height: 1.6; }
.location-summary { display: flex; align-items: flex-start; gap: 22px; padding: 38px 42px; margin-bottom: 20px; border-radius: 12px; background: #222; color: #fff; }
.summary-icon { width: 50px; height: 50px; flex: 0 0 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.location-summary h3 { margin: 0 0 10px; font-size: 23px; }
.location-summary p { max-width: 900px; margin: 0; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.8; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .highlights-grid { grid-template-columns: repeat(3, 1fr); }
    .amenities-grid { grid-template-columns: repeat(3, 1fr); }
    .payment-plan-grid { grid-template-columns: 1fr 1fr; }
    .masterplan-legend { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .banner-flex { flex-direction: column; text-align: center; }
    .overview-content { flex-direction: column; }
    .overview-text ul { grid-template-columns: 1fr; }
    .builder-content { flex-direction: column; text-align: center; }
    .builder-stats { grid-template-columns: repeat(2, 1fr); }
    .floorplan-content { grid-template-columns: 1fr; }
    .invest-grid { grid-template-columns: 1fr 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    footer .footer-content { grid-template-columns: 1fr 1fr; }
    .location-intro { grid-template-columns: 1fr; }
    .location-image { min-height: 500px; }
    .location-overview { padding: 40px; }
    .location-cards { grid-template-columns: repeat(2, 1fr); }
    .connectivity-heading { display: block; }
    .connectivity-heading > p { margin-top: 15px; }
    .why-location-grid { grid-template-columns: repeat(2, 1fr); }
    .local-infrastructure { grid-template-columns: 1fr; }
    .infrastructure-image { min-height: 400px; }
    .masterplan-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    nav {
        position: fixed; top: 72px; left: 0; width: 100%; background: var(--white); padding: 20px 24px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); transform: translateY(-120%); opacity: 0;
        transition: all 0.35s ease; z-index: 999; visibility: hidden; border-top: 1px solid var(--gray-light);
    }
    nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
    nav ul { flex-direction: column; align-items: stretch; }
    nav li { margin: 0 0 14px 0; }
    nav a { display: block; padding: 8px 0; font-size: 15px; }
    .banner, .page-hero { padding: 130px 20px 70px; }
    .banner-content h1, .page-hero h1 { font-size: 30px; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .invest-grid { grid-template-columns: 1fr; }
    .builder-stats { grid-template-columns: 1fr 1fr; }
    footer .footer-content { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px 20px; }
    .price-cta-box { padding: 30px 20px; }
    .price-cta-box h3 { font-size: 22px; }
    .payment-plan-grid { grid-template-columns: 1fr; }
    .masterplan-legend { grid-template-columns: 1fr; }
    .masterplan-stats { grid-template-columns: 1fr 1fr; }
    .modal-content { width: 95%; margin: 10px; }
    .modal-header { padding: 18px 20px; }
    .modal-body { padding: 20px; }
    .location-cards { grid-template-columns: 1fr; }
    .connectivity-grid { grid-template-columns: 1fr; }
    .destination-row { grid-template-columns: 1fr; }
    .destination-head { display: none; }
    .infrastructure-list { grid-template-columns: 1fr; }
    .why-location-grid { grid-template-columns: 1fr; }
    .location-map { height: 350px; }
}
@media (max-width: 576px) {
    h1 { font-size: 28px; } h2 { font-size: 24px; }
    .section-title { font-size: 26px; }
    .highlights-grid, .amenities-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .highlight-card, .amenity-card { padding: 20px 12px; }
    .price-table th, .price-table td, .spec-table td, .unit-table td { padding: 14px 16px; font-size: 13px; }
    .contact-form-wrap .country-phone-group, .modal-body .country-phone-group { flex-direction: column; }
    .contact-form-wrap .country-phone-group select, .contact-form-wrap .country-phone-group input,
    .modal-body .country-phone-group select, .modal-body .country-phone-group input { width: 100%; }
    .builder-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ============ ACCESSIBILITY ============ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus { outline: 3px solid var(--secondary); outline-offset: 3px; }
