:root {
    --primary-color: #000d6e;
    --secondary-color: #f0c700;
    --text-color: #646464;
    --dark-text: #121619;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
}

/* Project Page Logo - Responsive Sizing */
.project-page-logo {
    height: 90px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.project-page-logo:hover {
    transform: scale(1.05);
}

/* Responsive Logo Sizing */
@media (max-width: 991px) {
    .project-page-logo {
        height: 75px;
    }
}

@media (max-width: 767px) {
    .project-page-logo {
        height: 68px;
    }
}

@media (max-width: 480px) {
    .project-page-logo {
        height: 60px;
    }
}

@media (max-width: 374px) {
    .project-page-logo {
        height: 52px;
    }
}

/* Header Styles - Matching Magic Gates Theme */
.project-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    border-bottom: 3px solid var(--secondary-color);
}

.project-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.project-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-logo img {
    height: 40px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-actions .btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Barlow', sans-serif;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* ===== RESPONSIVE HEADER - Individual Project Pages ===== */
@media (max-width: 991px) {
    .project-header .container {
        gap: 10px;
    }

    .header-actions .btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .project-header {
        padding: 12px 0;
    }

    .project-header .container {
        flex-wrap: wrap;
        gap: 8px;
    }

    .project-logo {
        gap: 10px;
    }

    .project-logo img {
        height: 35px;
    }

    .project-logo h1 {
        font-size: 15px !important;
    }

    .project-logo p {
        font-size: 11px !important;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .project-header .container {
        flex-direction: column;
        align-items: stretch;
    }

    .project-logo {
        justify-content: center;
    }

    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .header-actions .btn {
        padding: 8px 14px;
        font-size: 12px;
        flex: 1;
        text-align: center;
        min-width: 0;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .project-logo img {
        height: 30px;
    }

    .project-logo h1 {
        font-size: 14px !important;
    }

    .header-actions .btn {
        padding: 7px 10px;
        font-size: 11px;
    }
}

/* ===== RESPONSIVE HEADER - Projects Portfolio Page ===== */
@media (max-width: 991px) {
    .project-header .row {
        align-items: center;
    }

    .project-header .col-lg-3,
    .project-header .col-lg-6 {
        flex: 0 0 auto;
        width: auto;
    }

    .project-header .col-lg-3:first-child {
        flex: 0 0 auto;
        width: auto;
    }

    .project-header .col-lg-6 {
        flex: 1 1 0;
        min-width: 0;
    }

    .project-header .col-lg-3:last-child {
        flex: 0 0 auto;
        width: auto;
    }
}

@media (max-width: 767px) {
    .project-header .row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .project-header .col-lg-3,
    .project-header .col-lg-6,
    .project-header .col-lg-3:first-child,
    .project-header .col-lg-3:last-child {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .project-header .col-lg-3:first-child {
        text-align: center;
    }

    .project-header .col-lg-3:last-child {
        text-align: center;
    }

    .project-header .col-lg-3:last-child .header-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-header .row {
        gap: 8px;
    }

    .project-page-logo {
        height: 40px;
    }

    .project-header .col-lg-3:last-child .header-actions .btn {
        padding: 7px 10px;
        font-size: 11px;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: var(--light-bg);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: #6c757d;
}

/* ===== HERO SECTION (Housing.com Style with Magic Gates Theme) ===== */
.hero-section {
    background: #fff;
    padding: 0;
}

/* --- Top Info Row --- */
.hero-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-left-info {}

.project-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark-text);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-family: 'Quattrocento', serif;
}

.rera-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f4f0ff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rera-tag:hover {
    background: var(--primary-color);
    color: white;
}

.rera-tag i {
    color: var(--primary-color);
    font-size: 11px;
}

.hero-developer {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 4px;
    text-decoration: none;
    display: block;
    font-family: 'Hind', sans-serif;
}

.hero-location {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
    font-family: 'Hind', sans-serif;
}

/* Pricing on the right */
.hero-right-info {
    text-align: right;
}

.hero-price-main {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark-text);
    margin: 0 0 3px;
    font-family: 'Quattrocento', serif;
}

.hero-price-main span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.hero-emi {
    font-size: 13px;
    color: var(--primary-color);
    margin: 0 0 6px;
    font-weight: 600;
    font-family: 'Hind', sans-serif;
}

.hero-price-note {
    font-size: 12px;
    color: #888;
    margin: 0 0 12px;
    font-family: 'Hind', sans-serif;
}

.hero-price-note a {
    color: var(--dark-text);
    font-weight: 600;
    text-decoration: underline;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
}

.contact-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Bento Grid Media Gallery --- */
.hero-media {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6px;
    margin-bottom: 0;
}

/* Large Left Image */
.hero-large-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 420px;
    cursor: pointer;
}

.hero-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-large-image:hover img {
    transform: scale(1.05);
}

.cover-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Hind', sans-serif;
}

.hero-image-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.img-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    border: none;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Hind', sans-serif;
}

.img-action-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Right Column - Two Small Images */
.hero-small-images {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 420px;
}

.hero-small-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-small-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-small-image:hover img {
    transform: scale(1.05);
}

/* Video Panel with Play Button */
.hero-video-panel {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.play-btn-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
}

.play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.play-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.video-brand {
    position: absolute;
    bottom: 8px;
    right: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.8;
    font-family: 'Barlow', sans-serif;
}

/* More Images Panel */
.hero-more-panel {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hero-more-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.55);
    transition: all 0.3s ease;
}

.hero-more-panel:hover img {
    filter: brightness(0.8);
    transform: scale(1.05);
}

.more-count-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    cursor: pointer;
}

.more-count-overlay:hover {
    background: rgba(0, 13, 110, 0.7);
}

.more-count-overlay .plus-sign {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
}

.more-count-overlay .more-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

/* --- Stats Bar Below Gallery --- */
.hero-stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 0 10px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 12px;
}

.stat-item {
    text-align: left;
    flex: 1;
    min-width: 140px;
}

.stat-item+.stat-item {
    border-left: 1px solid var(--border-color);
    padding-left: 20px;
}

.stat-top {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    display: block;
    margin-bottom: 3px;
    font-family: 'Quattrocento', serif;
}

.stat-label {
    font-size: 13px;
    color: var(--text-color);
    display: block;
    font-family: 'Hind', sans-serif;
}

.stat-sub {
    font-size: 12px;
    color: var(--primary-color);
    display: block;
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Hind', sans-serif;
}

.stat-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 9px;
    margin-left: 3px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero-info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-right-info {
        text-align: left;
    }

    .hero-media {
        grid-template-columns: 1fr;
    }

    .hero-main-image {
        height: 220px;
    }

    .hero-side-panels {
        flex-direction: row;
        height: 130px;
    }

    .hero-stats-bar {
        flex-wrap: wrap;
    }

    .stat-item+.stat-item {
        border-left: none;
        padding-left: 0;
    }
}

/* Main Content Layout */
.main-content {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 991px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar - Matching Magic Gates Theme */
.sidebar {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.sidebar:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.sidebar h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 20px;
    font-family: 'Quattrocento', serif;
    font-weight: 700;
}

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-size: 14px;
    font-family: 'Hind', sans-serif;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
    font-family: 'Hind', sans-serif;
}

/* Specific styles for select dropdown elements */
select.form-control {
    height: 46px;
    padding: 12px 40px 12px 15px;
    /* Extra padding on right for dropdown arrow */
    background-image: linear-gradient(45deg, transparent 50%, #000d6e 50%),
        linear-gradient(135deg, #000d6e 50%, transparent 50%);
    background-position: calc(100% - 20px) center,
        calc(100% - 15px) center;
    background-size: 5px 5px,
        5px 5px;
    background-repeat: no-repeat;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Ensure dropdown text is fully visible */
select.form-control option {
    padding: 8px 12px;
    background-color: #fff;
    color: #333;
    font-family: 'Hind', sans-serif;
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 13, 110, 0.1);
}

.form-control::placeholder {
    color: #999;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 14px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 1px;
    font-family: 'Barlow', sans-serif;
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-note {
    font-size: 12px;
    color: var(--text-color);
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
    font-family: 'Hind', sans-serif;
}

.form-note i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Main Content Area */
.main-content-area {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-content-area:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.section-title {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Quattrocento', serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Overview Section */
.overview-content {
    margin-bottom: 50px;
}

.overview-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    font-family: 'Hind', sans-serif;
}

.highlight-box {
    background-color: var(--primary-color);
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.highlight-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-family: 'Quattrocento', serif;
}

.highlight-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-family: 'Hind', sans-serif;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-color: var(--secondary-color);
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: 'Hind', sans-serif;
}

.feature-desc {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Hind', sans-serif;
}

/* Gallery Section */
.gallery-section {
    margin-bottom: 50px;
}

/* Gallery Counter Info */
.gallery-counter-info {
    margin-bottom: 25px;
}

.gallery-stats {
    display: inline-block;
    background-color: var(--light-bg);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Hind', sans-serif;
    transition: all 0.3s ease;
}

.gallery-stats:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 13, 110, 0.3);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

/* Gallery Item Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 150px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Featured Items */
.featured-item {
    height: 200px;
}

@media (max-width: 767px) {
    .featured-item {
        height: 180px;
    }
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 13, 110, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Gallery Icon */
.gallery-icon {
    font-size: 24px;
    color: white;
    background-color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1.1);
}

/* Gallery Category Tag */
.gallery-category-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Hind', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-category-tag {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Video-specific styles */
.video-item {
    position: relative;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover video {
    transform: scale(1.1);
}

.video-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Hind', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(240, 199, 0, 0.5);
    transition: all 0.3s ease;
}

.video-item:hover .video-badge {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Gallery Actions */
.gallery-actions {
    text-align: center;
    margin-top: 30px;
}

.view-more-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 13, 110, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.view-more-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 13, 110, 0.4);
}

.view-more-btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: scale(1.2);
}

.gallery-sub-actions {
    margin-top: 20px;
}

.gallery-sub-actions .btn {
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    margin-right: 10px;
}

.gallery-sub-actions .btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 13, 110, 0.3);
}

.gallery-sub-actions .btn:last-child {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.gallery-sub-actions .btn:last-child:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Gallery Categories Info */
.gallery-categories-info {
    text-align: center;
    margin-top: 20px;
    color: var(--text-color);
    font-size: 14px;
    font-family: 'Hind', sans-serif;
}

.gallery-categories-info span {
    display: inline-block;
    background-color: #f8f9fa;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.gallery-categories-info span:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Amenities Section */
.amenities-section {
    margin-bottom: 50px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.amenity-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.amenity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.amenity-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.amenity-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Hind', sans-serif;
}

.amenity-desc {
    color: var(--text-color);
    font-size: 12px;
    line-height: 1.4;
    font-family: 'Hind', sans-serif;
}

/* Floor Plans Section */
.floorplan-section {
    margin-bottom: 50px;
}

.floorplan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.floorplan-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floorplan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.floorplan-image {
    width: 100%;
    height: 150px;
    background-color: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 14px;
    font-family: 'Hind', sans-serif;
    border: 2px dashed var(--border-color);
}

.floorplan-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Quattrocento', serif;
}

.floorplan-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 12px;
    background-color: var(--light-bg);
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.floorplan-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Quattrocento', serif;
}

/* Location Section */
.location-section {
    margin-bottom: 50px;
}

.location-map {
    background-color: var(--light-bg);
    height: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.location-map:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.location-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.location-icon {
    font-size: 20px;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.location-item:hover .location-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.location-text h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 16px;
    font-family: 'Hind', sans-serif;
    font-weight: 700;
}

.location-text p {
    color: var(--text-color);
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    font-family: 'Hind', sans-serif;
}

/* RERA Badge */
.rera-badge {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--secondary-color);
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    font-size: 14px;
    font-family: 'Hind', sans-serif;
}

.rera-badge:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.rera-icon {
    font-size: 20px;
    color: var(--secondary-color);
    background-color: white;
    border-radius: 50%;
    padding: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.rera-badge:hover .rera-icon {
    color: var(--primary-color);
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* RERA Modal */
.rera-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.rera-modal {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
    border: 2px solid var(--primary-color);
}

/* Enhanced Gallery Modal with Side-Scrolling */
.gallery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.gallery-modal {
    position: relative;
    width: 95%;
    height: 90%;
    max-width: 1200px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-header {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
}

.gallery-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Hind', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-counter {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-family: 'Hind', sans-serif;
}

.gallery-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.gallery-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gallery-slide img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-slide video {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: black;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 5;
}

.gallery-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn.prev {
    left: 20px;
}

.gallery-nav-btn.next {
    right: 20px;
}

.gallery-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.thumbnail-btn {
    width: 60px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.thumbnail-btn.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(240, 199, 0, 0.5);
}

.thumbnail-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-btn video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: black;
    display: block;
}

/* Keyboard navigation hints */
.gallery-keyboard-hint {
    position: absolute;
    bottom: 80px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-family: 'Hind', sans-serif;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-modal {
        height: 100%;
    }

    .gallery-header {
        top: 10px;
        padding: 0 15px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .gallery-nav-btn.prev {
        left: 10px;
    }

    .gallery-nav-btn.next {
        right: 10px;
    }

    .gallery-thumbnails {
        bottom: 10px;
        gap: 8px;
    }

    .thumbnail-btn {
        width: 50px;
        height: 35px;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rera-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
}

.rera-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Quattrocento', serif;
}

.rera-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.rera-modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.rera-number-container {
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rera-number {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.copy-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-family: 'Hind', sans-serif;
}

.copy-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Container Width Override */
.container {
    max-width: 1400px;
    /* Increased from Bootstrap's default 1140px */
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-title {
        font-size: 24px;
    }

    .hero-stats {
        gap: 20px;
    }

    .amenities-grid,
    .floorplan-grid,
    .location-features,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .main-content-area,
    .sidebar {
        padding: 20px;
    }

    .hero-main-image {
        height: 250px;
    }

    .hero-side-panels {
        height: 150px;
    }
}

/* Project Portfolio Header */
.project-header {
    background-color: #000d6e;
    color: white;
    padding: 20px 0;
    border-bottom: 3px solid #f0c700;
}


.project-header .search-container {
    max-width: 800px;
    margin: 0 auto;
}

.project-header .search-input {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 5px 0 0 5px;
    padding: 12px 15px;
    font-size: 16px;
    width: 75%;
    color: #333;
    height: 46px;
    box-sizing: border-box;
}

.project-header .search-btn {
    background-color: #f0c700;
    color: #000d6e;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 46px;
    box-sizing: border-box;
    white-space: nowrap;
}

.project-header .search-btn:hover {
    background-color: #fff;
    color: #000d6e;
}

/* Search container responsive adjustments */
.project-header .input-group {
    display: flex;
    align-items: stretch;
}

@media (max-width: 991px) {
    .project-header .search-input {
        width: 70%;
    }

    .project-header .search-btn {
        padding: 12px 15px;
        font-size: 14px;
    }

    /* Search bar: full-width stacking on tablets */
    .project-header .search-container {
        max-width: 100%;
        margin-top: 12px;
    }
}

@media (max-width: 767px) {

    /* KEEP search bar visible - compact version */
    .project-header .search-container {
        display: block !important;
        max-width: 100%;
        margin-top: 10px;
    }

    .project-header .search-input {
        width: 65%;
        padding: 10px 12px;
        font-size: 14px;
        height: 42px;
    }

    .project-header .search-btn {
        padding: 10px 14px;
        font-size: 13px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .project-header .search-input {
        width: 60%;
        padding: 8px 10px;
        font-size: 13px;
        height: 38px;
    }

    .project-header .search-btn {
        padding: 8px 12px;
        font-size: 12px;
        height: 38px;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav .breadcrumb-item a {
    color: #000d6e;
    text-decoration: none;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: #6c757d;
}

/* Filter Sidebar */
.filter-sidebar {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    align-self: flex-start;
    transition: all 0.3s ease;
    z-index: 100;
}

/* Inquiry Form Sidebar */
.inquiry-form-sidebar {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    align-self: flex-start;
    transition: all 0.3s ease;
    z-index: 90;
    min-height: 300px;
}

.inquiry-form-header {
    color: #000d6e;
    border-bottom: 2px solid #f0c700;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inquiry-form-header i {
    color: #f0c700;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #000d6e;
    box-shadow: 0 0 0 3px rgba(0, 13, 110, 0.1);
}

.form-control::placeholder {
    color: #999;
}

.submit-btn {
    background-color: #000d6e;
    color: white;
    border: 2px solid #000d6e;
    padding: 14px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: transparent;
    color: #000d6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-note {
    font-size: 12px;
    color: #646464;
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

.form-note i {
    color: #f0c700;
    margin-right: 5px;
}

.filter-sidebar h5 {
    color: #000d6e;
    border-bottom: 2px solid #f0c700;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 18px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.price-range-input {
    width: 100%;
    margin-bottom: 10px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-option:hover {
    background-color: #e9ecef;
    border-color: #000d6e;
}

.filter-option.active {
    background-color: #000d6e;
    color: white;
    border-color: #000d6e;
}

/* Project Grid - Single Column Horizontal Layout */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (max-width: 767px) {
    .projects-grid {
        gap: 25px;
    }
}

/* Project Cards - Horizontal Layout */
.project-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 280px;
    height: 280px;
    display: flex;
    flex-direction: row;
}

.project-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Image Section - 40% width */
.project-image {
    position: relative;
    width: 40%;
    overflow: hidden;
    background-color: #f8f9fa;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}


/* RERA Badge Styling - Enhanced (Matching Baya Solstice Design) */
.rera-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #f4f0ff;
    color: #000d6e;
    border: 1px solid #000d6e;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.rera-badge:hover {
    background-color: #000d6e;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.rera-badge .rera-icon {
    font-size: 11px;
    color: #000d6e;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    width: auto;
    height: auto;
    box-shadow: none;
    display: inline-block;
}

.rera-badge:hover .rera-icon {
    color: white;
    background-color: transparent;
    box-shadow: none;
}

.rera-badge .rera-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #000d6e;
}

.rera-badge:hover .rera-text {
    color: white;
}

/* RERA Tooltip */
.rera-tooltip {
    position: absolute;
    top: 50px;
    right: 15px;
    background-color: #000d6e;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #f0c700;
}

.rera-badge:hover .rera-tooltip {
    opacity: 1;
    visibility: visible;
}

/* RERA Modal */
.rera-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.rera-modal {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rera-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0c700;
    padding-bottom: 15px;
}

.rera-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #000d6e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rera-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #646464;
    transition: all 0.3s ease;
}

.rera-modal-close:hover {
    color: #000d6e;
    transform: rotate(90deg);
}

.rera-modal-content {
    margin-bottom: 25px;
}

.rera-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.rera-info-label {
    font-weight: 600;
    color: #646464;
    font-size: 14px;
}

.rera-info-value {
    color: #000d6e;
    font-weight: 700;
    font-size: 14px;
}

.rera-number-container {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #e9ecef;
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rera-number {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #000d6e;
}

.copy-btn {
    background-color: #000d6e;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.copy-btn:hover {
    background-color: #f0c700;
    color: #000d6e;
}

.copy-btn.copied {
    background-color: #28a745;
    color: white;
}

.copy-feedback {
    position: absolute;
    top: -40px;
    right: 0;
    background-color: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Content Section - 60% width */
.project-content {
    width: 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    color: #000d6e;
    margin-bottom: 0;
    line-height: 1.3;
    flex: 1;
}

.project-location {
    color: #646464;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
    align-items: flex-start;
}

.project-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #646464;
    font-size: 13px;
    background-color: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.project-description {
    color: #646464;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
    margin-top: 5px;
    flex-grow: 1;
}

.project-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
    position: sticky;
    bottom: 0;
    background-color: #fff;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.project-actions .btn {
    flex: 1;
    padding: 12px;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-view-details {
    background-color: #000d6e;
    color: white;
    border: 2px solid #000d6e;
}

.btn-view-details:hover {
    background-color: transparent;
    color: #000d6e;
}

.btn-contact-owner {
    background-color: transparent;
    color: #000d6e;
    border: 2px solid #000d6e;
}

.btn-contact-owner:hover {
    background-color: #000d6e;
    color: white;
}

/* Filter Toggle for Mobile */
.filter-toggle {
    display: none;
    background-color: #000d6e;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    text-align: left;
    font-weight: 600;
    margin-bottom: 20px;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .filter-toggle {
        display: block;
    }

    .filter-sidebar {
        display: none;
    }

    .filter-sidebar.active {
        display: block;
    }
}

/* Mobile Responsive - Stack Image and Content Vertically */
@media (max-width: 767px) {
    .project-card {
        flex-direction: column;
        height: auto;
    }

    .project-image {
        width: 100%;
        height: 200px;
    }

    .project-content {
        width: 100%;
        padding: 20px;
    }
}

/* Results Count */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0c700;
}

.results-count {
    color: #000d6e;
    font-weight: 700;
    font-size: 18px;
}

.sort-options {
    display: flex;
    gap: 10px;
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: 14px;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 40px;
    color: #646464;
    font-size: 18px;
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    margin-top: 20px;
}

/* ===== REUSABLE AMENITIES TOGGLE FUNCTIONALITY ===== */
/* Add class "hidden" to amenity cards you want to hide initially */
.amenity-card.hidden {
    display: none;
}

.amenity-card.hidden.show {
    display: block;
    animation: fadeInUp 0.4s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toggle Button Container */
.amenities-toggle-container {
    text-align: center;
    margin-top: 30px;
}

/* Toggle Button */
.amenities-toggle-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 13, 110, 0.3);
}

.amenities-toggle-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 13, 110, 0.4);
}

.amenities-toggle-btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

/* ===== REUSABLE GALLERY TOGGLE FUNCTIONALITY ===== */
/* Add class "hidden-gallery" to gallery items you want to hide initially */
.gallery-item.hidden-gallery {
    display: none;
}

.gallery-item.hidden-gallery.show {
    display: block;
    animation: fadeInUp 0.4s ease-in-out;
}

/* Gallery Toggle Button Container */
.gallery-toggle-container {
    text-align: center;
    margin-top: 30px;
}

/* Gallery Toggle Button */
.gallery-toggle-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 13, 110, 0.3);
}

.gallery-toggle-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 13, 110, 0.4);
}

.gallery-toggle-btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

/* ===== VERY SMALL MOBILE DEVICES (374px and below) ===== */
@media (max-width: 374px) {

    /* Container adjustments */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Header adjustments */
    .project-header {
        padding: 10px 0;
    }

    .project-logo img {
        height: 32px;
    }

    .project-logo h1 {
        font-size: 14px !important;
    }

    .project-logo p {
        font-size: 10px !important;
    }

    .header-actions {
        gap: 6px;
    }

    .header-actions .btn {
        padding: 7px 10px;
        font-size: 10px;
    }

    /* Search bar stays visible even on very small devices */
    .project-header .search-container {
        display: block !important;
        margin-top: 8px;
    }

    .project-header .search-input {
        width: 58%;
        padding: 7px 8px;
        font-size: 12px;
        height: 36px;
    }

    .project-header .search-btn {
        padding: 7px 10px;
        font-size: 11px;
        height: 36px;
    }

    /* Breadcrumb adjustments */
    .breadcrumb-nav {
        padding: 10px 0;
    }

    .breadcrumb {
        font-size: 12px;
    }

    /* Hero Section adjustments */
    .hero-info-row {
        padding: 15px 0 12px;
        gap: 12px;
    }

    .project-title {
        font-size: 20px !important;
        gap: 6px;
    }

    .rera-tag {
        font-size: 10px;
        padding: 2px 6px;
    }

    .hero-developer {
        font-size: 12px;
    }

    .hero-location {
        font-size: 12px;
    }

    .hero-price-main {
        font-size: 16px;
    }

    .hero-price-main span {
        font-size: 11px;
    }

    .contact-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Hero Media Gallery */
    .hero-media {
        gap: 4px;
    }

    .hero-large-image {
        height: 200px;
    }

    .hero-small-images {
        height: 200px;
    }

    .cover-label {
        font-size: 10px;
        padding: 3px 8px;
    }

    .hero-image-actions {
        gap: 5px;
    }

    .img-action-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .play-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .video-brand {
        font-size: 9px;
    }

    .more-count-overlay .plus-sign {
        font-size: 22px;
    }

    .more-count-overlay .more-text {
        font-size: 16px;
    }

    /* Stats Bar */
    .hero-stats-bar {
        padding: 12px 0 8px;
        gap: 8px;
    }

    .stat-item {
        min-width: 100%;
    }

    .stat-item+.stat-item {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 10px;
    }

    .stat-top {
        font-size: 14px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* Main Content */
    .main-content {
        padding: 30px 0;
    }

    .main-content-area {
        padding: 20px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .section-title::after {
        width: 40px;
    }

    /* Overview Section */
    .overview-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .highlight-box {
        padding: 15px;
    }

    .highlight-title {
        font-size: 16px;
    }

    .highlight-subtitle {
        font-size: 12px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-title {
        font-size: 14px;
    }

    .feature-desc {
        font-size: 12px;
    }

    /* Gallery Section */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery-item {
        height: 100px;
    }

    .featured-item {
        height: 120px;
    }

    .gallery-icon {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .gallery-stats {
        padding: 6px 12px;
        font-size: 12px;
    }

    .gallery-sub-actions .btn {
        padding: 8px 12px;
        font-size: 11px;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    /* Amenities Section */
    .amenities-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .amenity-card {
        padding: 12px;
    }

    .amenity-icon {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .amenity-title {
        font-size: 13px;
    }

    .amenity-desc {
        font-size: 11px;
    }

    /* Floor Plans */
    .floorplan-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .floorplan-card {
        padding: 15px;
    }

    .floorplan-image {
        height: 100px;
        font-size: 12px;
    }

    .floorplan-title {
        font-size: 15px;
    }

    .floorplan-details {
        flex-direction: column;
        gap: 10px;
    }

    /* Location Section */
    .location-map {
        height: 200px;
    }

    .location-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .location-item {
        padding: 12px;
    }

    .location-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .location-text h4 {
        font-size: 14px;
    }

    .location-text p {
        font-size: 11px;
    }

    /* Sidebar */
    .sidebar {
        padding: 20px;
    }

    .sidebar h3 {
        font-size: 16px;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }

    select.form-control {
        height: 40px;
        padding: 10px 35px 10px 12px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .form-note {
        font-size: 11px;
    }

    /* Project Cards (Projects Page) */
    .project-card {
        min-height: auto;
        height: auto;
        flex-direction: column;
    }

    .project-image {
        width: 100%;
        height: 180px;
    }

    .project-content {
        width: 100%;
        padding: 15px;
    }

    .project-title {
        font-size: 18px !important;
    }

    .project-location {
        font-size: 12px;
    }

    .project-details {
        gap: 5px;
    }

    .project-detail {
        font-size: 11px;
        padding: 3px 6px;
    }

    .project-description {
        font-size: 12px;
        line-height: 1.4;
    }

    .project-actions {
        flex-direction: column;
        gap: 8px;
    }

    .project-actions .btn {
        padding: 10px;
        font-size: 12px;
    }

    /* Filter Sidebar */
    .filter-sidebar {
        padding: 15px;
    }

    .filter-sidebar h5 {
        font-size: 14px;
    }

    .filter-group {
        margin-bottom: 15px;
    }

    .filter-option {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Inquiry Form Sidebar */
    .inquiry-form-sidebar {
        padding: 15px;
    }

    .inquiry-form-header {
        font-size: 14px;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    /* RERA Badge */
    .rera-badge {
        padding: 2px 6px;
        font-size: 10px;
    }

    /* Gallery Modal */
    .gallery-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .gallery-nav-btn.prev {
        left: 5px;
    }

    .gallery-nav-btn.next {
        right: 5px;
    }

    .thumbnail-btn {
        width: 40px;
        height: 30px;
    }

    /* Toggle Buttons */
    .amenities-toggle-btn,
    .gallery-toggle-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 0;
    }

    .social a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .footer-links {
        font-size: 12px;
    }

    .copyright {
        font-size: 11px;
    }

    /* Back to Top */
    .back-to-top {
        width: 40px !important;
        height: 40px !important;
        right: 10px !important;
        bottom: 10px !important;
        font-size: 16px !important;
    }

    /* Search Container - keep visible, compact */
    .search-container {
        display: block !important;
    }

    /* Results Header */
    .results-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .results-count {
        font-size: 14px;
    }
}