@charset "utf-8";
:root {
    --bg-body: #F4F7F6;
    --bg-surface: #FFFFFF;
    --primary-dark: #1E293B;
    --primary-blue: #0284C7;
    --text-main: #475569;
    --text-muted: #64748B;
    --border-light: #E2E8F0;
    --shadow-base: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.1);
    --transition-stable: all 0.3s ease-in-out;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Roboto', sans-serif; 
    background-color: var(--bg-body); 
    color: var(--text-main); 
    line-height: 1.6; 
}

h1, h2, h3, h4, .logo { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--primary-dark); 
}

html { 
    scroll-behavior: smooth; 
}

::-webkit-scrollbar { 
    width: 8px; 
}

::-webkit-scrollbar-track { 
    background: var(--bg-body); 
}

::-webkit-scrollbar-thumb { 
    background: var(--text-muted); 
    border-radius: 10px; 
}

.btn-primary, .go-back-btn { 
    background: var(--primary-blue); 
    color: #FFF; 
    border: none; 
    padding: 1rem 2.5rem; 
    font-size: 1rem; 
    font-weight: 600; 
    border-radius: 6px; 
    cursor: pointer; 
    transition: 0.3s; 
    display: inline-block; 
    text-decoration: none;
}

.btn-primary:hover, .go-back-btn:hover { 
    background: #0369a1; 
    transform: translateY(-2px); 
    color: #FFF; 
}

.btn-outline { 
    background: transparent; 
    color: var(--primary-blue); 
    border: 2px solid var(--primary-blue); 
    padding: 1rem 2.5rem; 
    font-size: 1rem; 
    font-weight: 600; 
    border-radius: 6px; 
    cursor: pointer; 
    transition: 0.3s; 
    display: inline-block; 
    text-decoration: none;
}

.btn-outline:hover { 
    background: var(--primary-blue); 
    color: #FFF; 
    transform: translateY(-2px); 
}

.scroll-to-top {
    display: none; 
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    z-index: 99;
    background-color: #007bff; 
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: background-color 0.3s, transform 0.3s;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background-color: #0056b3; 
    transform: translateY(-3px);
}

.your-whatsapp-button-class {
    bottom: 90px; 
    right: 20px;
}

.whatsapp-pulse { 
    position: fixed; 
    bottom: 90px; 
    right: 20px; 
    background: #25D366; 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    z-index: 1000; 
    animation: pulse-green 2s infinite;
}

.whatsapp-pulse svg { 
    width: 30px; 
    fill: #FFF; 
}

@keyframes pulse-green { 
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } 
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1.2rem 5%; 
    background: #FFF; 
    border-bottom: 1px solid var(--border-light); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    box-shadow: var(--shadow-base); 
}

.logo { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
}

.logo img { 
    height: 50px; 
    width: auto; 
    max-width: 100%;
    object-fit: contain; 
}

.logo span { 
    color: var(--primary-blue); 
}

nav a { 
    color: var(--text-main); 
    text-decoration: none; 
    margin-left: 2rem; 
    font-size: 0.95rem; 
    font-weight: 500; 
    transition: var(--transition-stable); 
}

nav a:hover { 
    color: var(--primary-blue); 
}

.hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer; 
}

.hamburger span { 
    width: 25px; 
    height: 3px; 
    background: var(--primary-dark); 
    border-radius: 3px; 
    transition: 0.3s; 
}
.hamburger.toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: var(--primary-blue); /* Turns blue when open */
}
.hamburger.toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px); /* Slides out smoothly */
}
.hamburger.toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: var(--primary-blue);
}
.hero { 
    position: relative; 
    height: 85vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 0 5%; 
}

.hero-bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    z-index: -1; 
}

.hero-bg::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0; 
    background: linear-gradient(to bottom, rgba(30, 41, 59, 0.4), rgba(30, 41, 59, 0.8)), url('imags/bg.jpg') center/cover; 
    animation: slowZoom 20s infinite alternate; 
}

@keyframes slowZoom { 
    0% { transform: scale(1); } 
    100% { transform: scale(1.1); } 
}

.hero-content h1 { 
    color: #ffffff; 
    font-size: 4rem; 
    margin-bottom: 1rem; 
    font-weight: 700; 
}

.hero-content p { 
    color: #f1f5f9; 
    font-size: 1.2rem; 
    margin-bottom: 4rem; 
}

.search-glass-panel { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    border-radius: 8px; 
    padding: 2rem; 
    display: flex; 
    gap: 1.5rem; 
    align-items: flex-end; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); 
    border: 1px solid var(--border-light); 
    position: absolute; 
    bottom: 0; 
    transform: translateY(50%); 
    width: 85%; 
    max-width: 1100px; 
    z-index: 10; 
}

.filter-group { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    text-align: left; 
}

.filter-group label { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    margin-bottom: 0.4rem; 
    font-weight: 600; 
    text-transform: uppercase; 
}

.filter-group select { 
    background: var(--bg-body); 
    color: var(--primary-dark); 
    border: 1px solid var(--border-light); 
    border-radius: 6px; 
    padding: 0.8rem 1rem; 
    font-size: 1rem; 
    outline: none; 
    cursor: pointer; 
    transition: var(--transition-stable); 
}

.filter-group select:focus { 
    border-color: var(--primary-blue); 
    background: #ffffff; 
}

.projects-section { 
    position: relative; 
    z-index: 5; 
    padding: 4rem 5% 5rem; 
}

.section-header { 
    margin-bottom: 2.5rem; 
    border-bottom: 2px solid var(--border-light); 
    padding-bottom: 1rem; 
}

.section-header h2 { 
    font-size: 2.2rem; 
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 2rem; 
}

.card { 
    background: var(--bg-surface); 
    border-radius: 8px; 
    overflow: hidden; 
    transition: var(--transition-stable); 
    border: 1px solid var(--border-light); 
    box-shadow: var(--shadow-base); 
    cursor: pointer; 
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-hover); 
}

.card-img-wrap { 
    height: 220px; 
    overflow: hidden; 
}

.card-img-wrap img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease; 
}

.card:hover .card-img-wrap img { 
    transform: scale(1.05); 
}

.card-content { 
    padding: 1.5rem; 
}

.card-tag { 
    color: var(--primary-blue); 
    font-size: 0.8rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    margin-bottom: 0.8rem; 
    display: block; 
}

.card-title { 
    font-size: 1.3rem; 
    margin-bottom: 0.3rem; 
}

.card-builder { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    margin-bottom: 1rem; 
}

.card-footer { 
    display: flex; 
    align-items: center; 
    border-top: 1px solid var(--border-light); 
    padding-top: 1rem; 
}

.type { 
    font-weight: 600; 
    color: var(--primary-dark); 
    background: var(--bg-body); 
    padding: 0.3rem 0.8rem; 
    border-radius: 4px; 
    font-size: 0.9rem; 
}

.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

.project-details-wrapper { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 4rem; 
    padding: 4rem 5%; 
    max-width: 1500px; 
    margin: 0 auto; 
}

.main-info { 
    flex: 2; 
}

.sidebar { 
    flex: 1; 
}

.go-back-container { 
    width: 100%; 
    margin-top: 3rem; 
    padding-top: 2rem; 
    border-top: 1px solid var(--border-light); 
}

.premium-gallery { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr; 
    gap: 15px; 
    padding: 2rem 5%; 
    max-width: 1500px; 
    margin: 0 auto 2rem auto; 
    height: 500px; 
    border-radius: 12px; 
    overflow: hidden; 
}

.premium-gallery img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 6px; 
}

.main-photo { 
    position: relative; 
    border-radius: 16px 0 0 16px; 
    overflow: hidden; 
    height: 100%; 
}

.side-photos { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 15px; 
    height: 100%; 
}

.side-photo-wrap { 
    position: relative; 
    overflow: hidden; 
    height: 100%; 
    border-radius: 0 16px 16px 0; 
}

.side-photo-wrap:first-child { 
    border-radius: 0 16px 0 0; 
}

.side-photo-wrap:last-child { 
    border-radius: 0 0 16px 0; 
}

.side-photos .image-top { 
    grid-column: 1 / -1; 
}

.side-photos.grid-4-side { 
    grid-template-rows: 1fr 1fr !important; 
    grid-template-columns: 1fr 1fr !important; 
}

.side-photos.grid-4-side .side-photo-wrap { 
    grid-column: span 1 !important; 
}

.side-photos.grid-5-side { 
    grid-template-rows: 1fr 1fr 1fr !important; 
    grid-template-columns: 1fr 1fr !important; 
}

.side-photos.grid-5-side .image-top { 
    grid-column: 1 / -1 !important; 
}

.side-photos.grid-5-side .side-photo-wrap:not(.image-top) { 
    grid-column: span 1 !important; 
}

.main-photo img, .side-photo-wrap img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.6s; 
    cursor: zoom-in; 
}

.main-photo:hover img, .side-photo-wrap:hover img { 
    transform: scale(1.03); 
}

.gallery-overlay { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    padding: 3rem 2.5rem; 
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent); 
}

.gallery-overlay h1 { 
    color: #FFF; 
    font-size: 3rem; 
}

.status-badge { 
    background: var(--primary-blue); 
    color: #FFF; 
    padding: 0.4rem 1.2rem; 
    border-radius: 50px; 
    font-size: 0.8rem; 
    font-weight: 700; 
    margin-bottom: 1rem; 
    display: inline-block; 
}

.hero-builder { 
    color: #e2e8f0; 
    font-size: 1.1rem; 
    margin-bottom: 0.5rem; 
}

.hero-builder strong { 
    color: #FFF; 
}

#proj-location { 
    color: #f8fafc !important; 
    opacity: 0.9; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); 
}

.full-address { 
    color: var(--text-muted); 
    font-size: 1.05rem; 
    margin-top: 0.5rem; 
    margin-bottom: 2rem; 
    display: flex; 
    align-items: center; 
}

.full-address::before { 
    content: ''; 
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%230284c7' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'%3E%3C/path%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle; 
}

.specs-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.25rem; 
    margin: 1.5rem 0 2.5rem 0; 
    background: #FFF; 
    padding: 2rem; 
    border-radius: 12px; 
    border: 1px solid var(--border-light); 
}

.spec-item { 
    display: flex; 
    flex-direction: column; 
    gap: 0.3rem; 
}

.spec-card { 
    display: flex; 
    align-items: flex-start; 
    gap: 1rem; 
    background: #f8fafc; 
    padding: 1.5rem; 
    border-radius: 12px; 
    border: 1px solid #e2e8f0; 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
}

.spec-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); 
    border-color: var(--primary-blue); 
}

.spec-icon { 
    flex-shrink: 0; 
    background: #ffffff; 
    padding: 0.75rem; 
    border-radius: 10px; 
    color: var(--primary-blue); 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.spec-icon svg { 
    width: 24px; 
    height: 24px; 
}

.spec-content { 
    display: flex; 
    flex-direction: column; 
    gap: 0.3rem; 
    flex-grow: 1; 
}

.spec-label { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: #64748b; 
    font-weight: 700; 
}

.spec-value { 
    font-size: 0.95rem; 
    font-weight: 600; 
    color: #0f172a; 
    line-height: 1.5; 
}

.rera-card { 
    background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%); 
    border-color: #bae6fd; 
    align-items: center; 
}

.rera-icon { 
    color: #0284c7; 
}

.rera-text { 
    color: #0369a1; 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 1.1rem; 
    font-weight: 700; 
    letter-spacing: 0.5px; 
}

.rera-qr-img { 
    width: 65px; 
    height: 65px; 
    object-fit: cover; 
    border-radius: 8px; 
    border: 2px solid #ffffff; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
    margin-left: auto; 
    background: #fff; 
    padding: 2px; 
}

#proj-amenities { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 1.5rem;
}

.premium-amenity-tag { 
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    padding: 20px 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.premium-amenity-tag:hover { 
    ttransform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-blue);
}

.amenity-icon { 
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.amenity-icon svg { 
   width: 100%;
    height: 100%;
}

.amenity-text { 
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.amenity-tag { 
    background: #FFF; 
    padding: 0.8rem; 
    border-radius: 8px; 
    border: 1px solid var(--border-light); 
    display: flex; 
    align-items: center; 
    font-size: 0.9rem; 
}

.amenity-tag::before { 
    content: 'âœ“'; 
    color: var(--primary-blue); 
    margin-right: 10px; 
    font-weight: 900; 
}

.amenities-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 1rem; 
    margin-top: 1.5rem; 
}

.description-section p { 
    font-size: 1.1rem; 
    color: var(--text-main); 
    line-height: 1.8; 
    margin-top: 1rem;
}

.video-section, .map-section, .description-section, .amenities-section { 
    margin: 3.5rem 0; 
}

.video-section h3, .map-section h3, .amenities-section h3, .description-section h3 { 
    font-size: 1.8rem; 
    margin-bottom: 1.5rem; 
    border-bottom: 2px solid var(--border-light); 
    padding-bottom: 0.5rem; 
}

.video-container, .map-container { 
    width: 100%; 
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid var(--border-light); 
    margin-top: 1rem; 
}

.video-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    background: #000;
}

.video-container iframe, .map-container iframe { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: none; 
}

.map-container { 
    position: relative; 
    height: 350px; 
    background: var(--bg-body);
}

.contact-card { 
    background: #FFF; 
    padding: 2.5rem; 
    border-radius: 12px; 
    border: 1px solid var(--border-light); 
    box-shadow: var(--shadow-hover); 
    position: sticky; 
    top: 100px; 
}

.sidebar-builder-box { 
    background: var(--bg-body); 
    padding: 1rem; 
    border-radius: 8px; 
    margin-bottom: 1.5rem; 
    border-left: 4px solid var(--primary-blue); 
}

.sidebar-label { 
    font-size: 0.7rem; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    font-weight: 700; 
}

.sidebar-builder-name { 
    color: var(--primary-dark); 
    font-size: 1.2rem; 
    margin: 0; 
}

.lightbox {
    display: none; 
    position: fixed;
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95); 
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    object-fit: contain; 
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #cbd5e1;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.site-footer { 
    background-color: var(--primary-dark); 
    color: #f1f5f9; 
    padding: 5rem 5% 1.5rem; 
    margin-top: 4rem; 
}

.footer-container { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 3rem; 
    max-width: 1500px; 
    margin: 0 auto; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 3rem; 
}

.footer-logo { 
    color: #ffffff; 
    margin-bottom: 1.5rem; 
}

.footer-logo img {
    max-width: 250px; 
    height: auto;
}

.about-col p { 
    color: #cbd5e1; 
    line-height: 1.8; 
    max-width: 400px; 
}

.footer-col h4 { 
    color: #ffffff; 
    font-size: 1.2rem; 
    margin-bottom: 1.5rem; 
    position: relative; 
    padding-bottom: 0.5rem; 
}

.footer-col h4::after { 
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 40px; 
    height: 3px; 
    background-color: var(--primary-blue); 
    border-radius: 2px; 
}

.links-col ul { 
    list-style: none; 
}

.links-col li { 
    margin-bottom: 0.8rem; 
}

.links-col a { 
    color: #cbd5e1; 
    text-decoration: none; 
    transition: var(--transition-stable); 
}

.links-col a:hover { 
    color: var(--primary-blue); 
    padding-left: 5px; 
}

.contact-col p { 
    color: #cbd5e1; 
    margin-bottom: 0.8rem; 
}

.footer-bottom { 
    text-align: center; 
    padding-top: 2rem; 
    color: #94a3b8; 
    font-size: 0.9rem; 
}

@media (min-width: 769px) {
    .sticky-desktop {
        position: sticky;
        top: 100px;
    }
    .committee-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 40px !important;
        align-items: stretch !important;
    }
    .committee-grid > div {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 900px) {
    .navbar { 
        padding: 1rem 5%; 
        flex-direction: row; 
    }
    .hamburger { 
        display: flex; 
    }
    nav { 
        position: absolute; 
        top: 75px; /* Pushed slightly down so it doesn't overlap the logo */
        left: 0; 
        width: 100%; 
        background: rgba(255, 255, 255, 0.96); /* Slightly transparent */
        backdrop-filter: blur(12px); /* Modern glass blur effect */
        flex-direction: column; 
        align-items: center; 
        box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
        padding: 2.5rem 0; 
        transform: translateY(-150%); 
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; 
        display: flex; 
        z-index: 99; 
        border-bottom: 1px solid var(--border-light);
    }
    nav.nav-active { 
        transform: translateY(0); 
        opacity: 1;
    }
    nav a { 
        margin: 0.5rem 0; 
        font-size: 1.15rem; 
        padding: 10px 30px;
        border-radius: 50px; /* Pill shape */
        transition: all 0.3s ease;
    }
	nav a:hover, nav a:active {
        background: #f0f9ff; /* Soft blue background on tap */
        color: var(--primary-blue);
        transform: scale(1.05); /* Slight pop effect */
    }
    .hero { 
        height: auto; 
        min-height: 85vh; 
        padding: 6rem 5% 4rem; 
        flex-direction: column; 
        justify-content: center; 
    }
    .hero-content { 
        width: 100%; 
        margin-bottom: 2rem; 
    }
    .hero-content h1 { 
        font-size: 2.8rem; 
    }
    .search-glass-panel { 
        position: relative; 
        transform: none; 
        bottom: auto; 
        flex-direction: column; 
        width: 100%; 
        padding: 1.5rem; 
    }
    .filter-group, .btn-primary { 
        width: 100%; 
    }
    .projects-section { 
        padding: 4rem 5% 4rem; 
    }
    .premium-gallery { 
        grid-template-columns: 1fr; 
        height: auto; 
        padding: 1rem; 
        aspect-ratio: auto; 
        min-height: auto; 
    }
    .main-photo { 
        border-radius: 12px 12px 0 0; 
        height: 50vh; 
        min-height: 350px;
    }
    .side-photos { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: 1fr; 
        height: 20vh; 
        min-height: 120px;
        gap: 0.5rem; 
        margin-top: 0.5rem;
    }
    .side-photo-wrap:first-child { 
        border-radius: 0 0 0 12px; 
    }
    .side-photo-wrap:last-child { 
        border-radius: 0 0 12px 0; 
    }
    .gallery-overlay h1 { 
        font-size: 2.2rem; 
    }
    .project-details-wrapper { 
        flex-direction: column; 
        padding: 2rem 5%; 
        gap: 2.5rem; 
    }
    .main-info { 
        order: 1; 
    }      
    .sidebar { 
        order: 2; 
    }       
    .go-back-container { 
        order: 3; 
        border-top: none; 
        margin-top: 0; 
        padding-top: 0; 
    }
    .go-back-btn { 
        width: 100%; 
    }
    .specs-grid { 
        grid-template-columns: 1fr 1fr; 
        padding: 1.5rem; 
        gap: 1.5rem 1rem; 
    }
    .spec-value { 
        font-size: 1.1rem; 
    }
    .footer-container { 
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
    }
    .about-col p { 
        max-width: 100%; 
    }
    .side-photos.grid-4-side, .side-photos.grid-5-side {
        height: auto !important;
        grid-template-columns: 1fr 1fr !important;
        grid-auto-rows: 120px !important;
    }
}

@media (max-width: 768px) {
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    .navbar .logo img {
        max-width: 220px !important; 
        height: auto !important;
    }
    .footer-container {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .footer-col {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .specs-grid {
        grid-template-columns: 1fr; 
    }
    .whatsapp-float {
        bottom: 110px !important; 
        right: 20px !important;
        z-index: 100 !important;
    }
    .scroll-to-top {
        bottom: 20px !important; 
        right: 20px !important;
        z-index: 99 !important;
    }
    .committee-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important;
    }
    .committee-grid > div {
        width: 100% !important;
        max-width: 260px !important; 
    }
}

.nav-active-link {
    color: var(--primary-blue) !important;
    font-weight: 700 !important;
}

.about-main {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.about-hero-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.9) 100%), url('your-city-background.jpg') center/cover no-repeat;
    padding: 100px 20px 80px;
    text-align: center;
    color: white;
    border-bottom: 4px solid var(--primary-blue);
}

.about-hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.gold-divider {
    width: 50px;
    height: 3px;
    background: #FFD700;
    margin: 0 auto 25px;
    border-radius: 2px;
}

.about-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    color: #ffffff;
}

.about-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e2e8f0;
    margin-bottom: 0;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.about-message-section {
    padding: 80px 20px;
    background: #f8fafc;
}

.about-message-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.president-card {
    flex: 1 1 300px;
    text-align: center;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.president-img-wrap {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 3/4;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.president-img-wrap img, .committee-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.president-name {
    font-size: 1.5rem;
    color: #0f172a;
    margin: 0 0 6px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.president-badge {
    color: #ffffff;
    background: var(--primary-blue);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.message-content {
    flex: 2 1 500px;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.message-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 800;
}

.blue-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    margin-bottom: 35px;
    border-radius: 2px;
}

.message-text {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.message-text:last-of-type {
    margin-bottom: 30px;
}

.message-signoff-wrap {
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
    margin-top: 20px;
}

.message-signoff {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 5px 0;
}

.message-signoff-name {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.committee-section {
    padding: 80px 20px;
    background: #ffffff;
}

.committee-container {
    max-width: 1200px;
    margin: 0 auto;
}

.committee-header {
    text-align: center;
    margin-bottom: 60px;
}

.committee-header-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 800;
}

.committee-header-divider {
    width: 70px;
    height: 4px;
    background: var(--primary-blue);
    margin: 0 auto;
    border-radius: 2px;
}

.committee-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.committee-img-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f8fafc;
}

.committee-info {
    padding: 20px;
    text-align: center;
}

.committee-name {
    font-size: 1.25rem;
    color: #0f172a;
    margin: 0 0 8px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.committee-role {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.dev-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.dev-link:hover {
    color: #0369a1;
}

.contact-section {
    padding: 80px 5%;
    background: #f8fafc;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.contact-icon-wrap {
    background: #f0f9ff;
    color: var(--primary-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.contact-card-content h4 {
    font-size: 1.1rem;
    color: #0f172a;
    margin: 0 0 5px 0;
    font-family: 'Montserrat', sans-serif;
}

.contact-card-content p {
    color: var(--text-main);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--primary-dark);
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Map Section */
.contact-map-section {
    padding: 0 5% 80px;
    background: #f8fafc;
}

.map-embed {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    .map-embed {
        height: 300px;
    }
}
.activity-section {
    padding: 80px 5%;
    background: var(--bg-body);
}

.activity-container {
    max-width: 1200px;
    margin: 0 auto;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.activity-card {
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-base);
    transition: var(--transition-stable);
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.activity-img-wrap {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}

.activity-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.activity-card:hover .activity-img-wrap img {
    transform: scale(1.05);
}

/* Floating Date Badge */
.activity-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
    z-index: 2;
}

.activity-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.activity-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.activity-excerpt {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; 
}

.activity-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
    font-size: 0.95rem;
}

.activity-link svg {
    width: 16px;
    height: 16px;
    margin-left: 6px;
    transition: transform 0.3s;
}

.activity-link:hover {
    color: #0369a1;
}

.activity-link:hover svg {
    transform: translateX(5px);
}


@media (max-width: 768px) {
    .activity-section {
        padding: 50px 5%;
    }
    .activity-grid {
        grid-template-columns: 1fr;
    }
}
.activity-detail-section {
    padding: 40px 5% 80px;
    background: var(--bg-body);
}

.activity-detail-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-base);
}

.activity-back-wrap {
    margin-bottom: 30px;
}

.activity-detail-hero {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #e2e8f0;
}

.activity-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-detail-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.activity-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.activity-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-blue);
}

.activity-detail-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 20px;
}
.activity-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.activity-detail-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.activity-detail-gallery img:hover {
    transform: scale(1.03);
}
@media (max-width: 768px) {
    .activity-detail-container {
        padding: 25px 20px;
    }
    .activity-detail-hero {
        height: 250px;
    }
    .activity-detail-title {
        font-size: 1.8rem;
    }
    .activity-detail-meta {
        flex-direction: column;
        gap: 12px;
    }
}
iframe, .map-embed, .video-container, .map-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.contact-container, .form-grid, .specs-grid, .project-details-wrapper {
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.contact-container > *, .form-grid > *, .specs-grid > *, .spec-card {
    min-width: 0 !important; 
    max-width: 100% !important;
}
.contact-section, .contact-map-section, .main-info, .sidebar, .contact-form-wrapper {
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; 
}

.contact-info-card {
    max-width: 100%;
    box-sizing: border-box;
}

.contact-card-content {
    min-width: 0; 
    width: 100%;
}

.contact-card-content p {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important; 
}
.rera-card .spec-content {
    min-width: 0; 
}

.rera-text {
    overflow-wrap: break-word !important;
    word-break: break-all !important;
}

@media (max-width: 400px) {
    .rera-card {
        flex-wrap: wrap;
    }
    .rera-qr-img {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 900px) {
    .premium-gallery {
        height: auto !important;
    }
    
    .side-photos {
        height: auto !important;
        min-height: auto !important;
        grid-template-rows: auto !important; 
        grid-auto-rows: auto !important;
        gap: 15px !important;
        margin-top: 15px !important;
        align-content: start !important;
    }

    .side-photo-wrap {
        aspect-ratio: 4 / 3 !important; 
        height: auto !important; 
        border-radius: 8px !important; 
    }

    .main-photo {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        min-height: auto !important;
        border-radius: 12px !important;
    }
}
@media (max-width: 900px) {
    .side-photos, 
    .side-photos.grid-4-side, 
    .side-photos.grid-5-side {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        height: auto !important;
        margin-top: 12px !important;
    }

    .side-photo-wrap {
        width: calc(50% - 6px) !important; 
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        flex-shrink: 0 !important;
    }
}

div#proj-location, 
span#proj-location, 
p#proj-location, 
h3#proj-location, 
h4#proj-location, 
h5#proj-location,
#proj-location {
    color: #ffffff !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    text-shadow: 1px 1px 6px rgba(0,0,0,1) !important;
}

@media (min-width: 901px) {
    .project-details-wrapper, 
    .sidebar, 
    .contact-card, 
    .main-info {
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
}
.gallery-overlay {
    pointer-events: none !important;
}
#proj-status,
.status-badge,
.hero-badge {
    pointer-events: none !important;
}
@media (max-width: 900px) {
    #proj-status,
    .status-badge,
    .hero-badge,
	[id="proj-status"] {
        position: absolute !important; 
        top: 85px !important;         
        left: 25px !important;        
        margin: 0 !important;
        transform: none !important;
        display: inline-block !important;
        z-index: 99c !important;
    }
}
@media (max-width: 900px) {
    #proj-title,
    .hero-content h1,
    .gallery-overlay h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important; 
        margin-bottom: 8px !important; 
    }
    
    .hero-content,
    .gallery-overlay {
        padding-top: 120px !important;
    }
}
.directory-firm-name {
    font-size: 1.1rem !important;
    color: #475569 !important; /* A professional slate grey */
    font-weight: 600 !important;
    margin-top: 4px !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.3px !important;
}
.tradesman-card {
    height: 100% !important;
}

select.premium-filter {
    appearance: none; /* Strips the ugly default OS styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* Injects a crisp, modern custom chevron arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    
    padding-right: 40px !important; /* Makes room for the new arrow */
    background-color: #f8fafc !important; /* Soft premium background */
    cursor: pointer;
    font-weight: 500 !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
}

select.premium-filter:hover {
    background-color: #ffffff !important;
    border-color: #94a3b8 !important;
}

select.premium-filter:focus {
    background-color: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important; /* Soft blue glow */
    outline: none !important;
}

select.premium-filter option {
    padding: 10px;
    background: #ffffff;
    color: #1e293b;
}
#load-more-btn {
    margin: 40px auto !important;
    text-align: center;
}
@media (min-width: 901px) {
    .premium-gallery {
        height: 600px !important; 
    }
    
    .side-photos {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important; 
        gap: 15px !important;
    }

    .side-photos:has(> :nth-child(5)) {
        grid-template-rows: 1fr 1fr 1fr !important;
    }
    
    .side-photos .side-photo-wrap {
        height: 100% !important;
        width: 100% !important;
        grid-column: span 1; 
        grid-row: span 1;
    }
    
    .side-photos .image-top {
        grid-column: 1 / -1 !important;
    }
    
    .side-photos .side-photo-wrap { border-radius: 0 !important; }
    .side-photos .side-photo-wrap:first-child { border-radius: 0 16px 0 0 !important; }
    .side-photos .side-photo-wrap:last-child { border-radius: 0 0 16px 0 !important; }
}