:root {
    --bs-primary: #dc2626;
    --bs-primary-rgb: 220, 38, 38;
    --bs-danger: #dc2626;
    --bs-danger-rgb: 220, 38, 38;
    --bs-link-color: #dc2626;
    --bs-link-hover-color: #b91c1c;
}

.btn-primary,
.btn-danger {
    --bs-btn-bg: #dc2626;
    --bs-btn-border-color: #dc2626;
    --bs-btn-hover-bg: #b91c1c;
    --bs-btn-hover-border-color: #b91c1c;
    --bs-btn-active-bg: #991b1b;
    --bs-btn-active-border-color: #991b1b;
}

.btn-outline-primary {
    --bs-btn-color: #dc2626;
    --bs-btn-border-color: #dc2626;
    --bs-btn-hover-bg: #dc2626;
    --bs-btn-hover-border-color: #dc2626;
}

.btn-outline-danger {
    --bs-btn-color: #dc2626;
    --bs-btn-border-color: #dc2626;
    --bs-btn-hover-bg: #dc2626;
    --bs-btn-hover-border-color: #dc2626;
}

.text-primary { color: #dc2626 !important; }
.bg-primary { background-color: #dc2626 !important; }
.text-danger { color: #dc2626 !important; }
.bg-danger { background-color: #dc2626 !important; }

a { color: #dc2626; }
a:hover { color: #b91c1c; }

.pagination .page-link { color: #dc2626; }
.pagination .page-item.active .page-link {
    background-color: #dc2626;
    border-color: #dc2626;
}

/* ========== SEARCH BAR ========== */
.search-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1f2937 100%);
    position: relative;
}

.search-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.search-form-card {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.search-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.search-tab input { display: none; }

.search-tab span {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    background: #f3f4f6;
}

.search-tab input:checked + span {
    background: #dc2626;
    color: #fff;
}

.search-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .search-fields {
        grid-template-columns: 2fr 1fr 1fr 1fr auto;
        align-items: center;
    }
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field i {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
    pointer-events: none;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.search-field input:focus,
.search-field select:focus {
    border-color: #dc2626;
}

.search-submit {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(220,38,38,0.4);
}

.search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220,38,38,0.5);
}

.hero-section {
    position: relative;
    margin-top: 0;
    width: 100%;
    overflow: hidden;
}

.hero-section-pro {
    background: #0f172a;
}

/* Override legacy style.css hero rules — matched to 2:1 slider banners */
.hero-section-pro .hero-slider {
    width: 100%;
    height: clamp(360px, 44vw, 560px) !important;
    min-height: 360px !important;
    max-height: 560px !important;
    overflow: hidden;
}

.hero-section-pro .hero-slider .swiper-slide {
    height: 100% !important;
    overflow: hidden;
}

.hero-section-pro .hero-slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Full banner visible — matches slider image design (text left, building right) */
.hero-section-pro .hero-slide-bg {
    position: absolute;
    inset: 0;
    background-color: #0f172a;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-section-pro .swiper-slide-active .hero-slide-bg {
    transform: scale(1.01);
    transition: transform 8s ease-out;
}

/* Minimal overlay — banners already have dark left area built-in */
.hero-section-pro .hero-overlay-pro {
    background: linear-gradient(90deg, rgba(0,0,0,0.08) 0%, transparent 48%);
    pointer-events: none;
    z-index: 1;
}

.hero-section-pro .hero-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-section-pro .hero-content-wrap .hero-content-panel,
.hero-section-pro .hero-content-wrap .btn {
    pointer-events: auto;
}

.hero-section-pro .hero-content-panel {
    max-width: 520px;
    padding: 0.5rem 0;
}

.hero-section-pro .hero-status-pill {
    background: rgba(255,255,255,0.18) !important;
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff !important;
    font-weight: 600;
}

.hero-section-pro .hero-spec-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 0.375rem;
    backdrop-filter: blur(4px);
}

/* Force text visible — overrides style.css */
.hero-section-pro .hero-title,
.hero-section-pro .hero-subtitle,
.hero-section-pro .hero-actions,
.hero-section-pro .hero-eyebrow,
.hero-section-pro .badge {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    visibility: visible !important;
}

.hero-section-pro .hero-title {
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
    letter-spacing: -0.02em;
}

.hero-section-pro .hero-subtitle {
    font-size: 1rem;
    line-height: 1.55;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-section-pro .hero-eyebrow {
    color: rgba(255,255,255,0.92) !important;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-section-pro .btn-danger {
    background-color: #dc2626;
    border-color: #dc2626;
}

.hero-section-pro .btn-danger:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
}

.hero-section-pro .hero-nav-prev,
.hero-section-pro .hero-nav-next {
    z-index: 10 !important;
    opacity: 1 !important;
    transform: none !important;
}

.hero-section-pro .hero-counter {
    position: absolute;
    bottom: 24px;
    right: 20px;
    z-index: 10;
    font-size: 0.85rem;
}

.hero-slider {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
}

.hero-slider-pro {
    position: relative;
}

.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    height: auto;
}

.hero-slide-inner {
    position: relative;
    width: 100%;
    line-height: 0;
}

.hero-slide-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center top;
    background: #0f172a;
    min-height: 280px;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.swiper-slide-active .hero-slide-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

.hero-section-pro .hero-content-wrap {
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    max-width: 560px;
    padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.hero-content-pro {
    max-width: 520px;
}

.hero-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    width: fit-content;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: fadeInUp 0.8s ease 0.15s forwards;
    opacity: 0;
}

.swiper-slide-active .hero-title { opacity: 1; }

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.swiper-slide-active .hero-subtitle { opacity: 1; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    animation: fadeInUp 0.8s ease 0.45s forwards;
    opacity: 0;
}

.swiper-slide-active .hero-actions { opacity: 1; }

.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-btn-primary {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 20px rgba(220,38,38,0.45);
}

.hero-btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220,38,38,0.5);
}

.hero-btn-outline {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
}

.hero-btn-outline:hover {
    background: #fff;
    color: #dc2626;
    border-color: #fff;
}

.hero-nav-prev, .hero-nav-next {
    color: #fff !important;
    background: rgba(220,38,38,0.9) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    opacity: 1;
    transition: all 0.3s ease !important;
    top: 50% !important;
    margin-top: -24px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.hero-nav-prev { left: 16px !important; }
.hero-nav-next { right: 16px !important; }

.hero-nav-prev:hover, .hero-nav-next:hover {
    background: #b91c1c !important;
    transform: scale(1.08);
}

.hero-slider:hover .hero-nav-prev,
.hero-slider:hover .hero-nav-next { opacity: 1; }

.hero-nav-prev:after, .hero-nav-next:after {
    font-size: 18px !important;
    font-weight: bold;
}

.hero-pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255,255,255,0.5) !important;
    opacity: 1 !important;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: #dc2626 !important;
    width: 28px !important;
    border-radius: 5px !important;
}

.hero-pagination-pro {
    bottom: 18px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
}

.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255,255,255,0.15);
    z-index: 8;
}

.hero-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #dc2626, #f87171);
    transition: width 0.1s linear;
}

.hero-counter {
    position: absolute;
    bottom: 28px;
    right: 24px;
    z-index: 8;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.hero-counter span {
    color: #dc2626;
    font-size: 1rem;
}

.hero-stats {
    background: #fff;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
    margin-top: -1px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.25rem 0;
}

.hero-stat {
    text-align: center;
    padding: 0.5rem;
    border-right: 1px solid #f3f4f6;
}

.hero-stat:last-child { border-right: none; }

.hero-stat strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
}

.hero-stat span {
    font-size: 0.8rem;
    color: #6b7280;
}

@media (max-width: 640px) {
    .hero-section-pro:not(.hero-premium-clean) .hero-slider {
        height: clamp(420px, 110vw, 520px) !important;
        min-height: 420px !important;
        max-height: 520px !important;
    }
    .hero-section-pro:not(.hero-premium-clean) .hero-overlay-pro {
        background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 50%);
    }
    .hero-section-pro:not(.hero-premium-clean) .hero-content-panel {
        padding: 1rem;
        background: rgba(0,0,0,0.25);
        border-radius: 0.5rem;
        backdrop-filter: blur(4px);
    }
    .hero-section-pro .btn-lg {
        font-size: 0.875rem;
        padding: 0.5rem 1rem !important;
    }
    .hero-nav-prev, .hero-nav-next { width: 38px !important; height: 38px !important; margin-top: -19px !important; }
    .hero-nav-prev { left: 8px !important; }
    .hero-nav-next { right: 8px !important; }
    .hero-section-pro .hero-counter { bottom: 14px; right: 10px; }
}

/* ========== FLOATING CONTACT BUTTONS ========== */
.float-contact {
    position: fixed;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.float-contact:hover { transform: scale(1.08); }

.float-contact-left { left: 24px; }
.float-contact-right { right: 24px; }

.float-contact-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 24px rgba(220,38,38,0.45);
    position: relative;
}

.float-contact-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(220,38,38,0.3);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

.float-contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #dc2626;
    background: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .float-contact { bottom: 16px; }
    .float-contact-left { left: 16px; }
    .float-contact-right { right: 16px; }
    .float-contact-icon { width: 50px; height: 50px; font-size: 1.25rem; }
    .float-contact-label { display: none; }
}

/* ========== GALLERY ========== */
.section-tag {
    display: inline-block;
    background: rgba(220,38,38,0.1);
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto;
}

.gallery-section .section-desc {
    font-size: 1.05rem;
    color: #4b5563;
    max-width: 680px;
    line-height: 1.7;
}

/* ========== GALLERY — professional grid ========== */
.gallery-filter-bar {
    max-width: 720px;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

.gallery-filter {
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.gallery-filter:hover {
    background: #fef2f2;
    color: #dc2626;
}

.gallery-filter.active {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.gallery-section {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.gallery-grid-pro {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-card-pro {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.gallery-card-pro:hover {
    transform: translateY(-6px);
    border-color: rgba(220, 38, 38, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.gallery-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card-pro:hover .gallery-card-img {
    transform: scale(1.05);
}

.gallery-card-cat {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.95);
    color: #dc2626;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-card-zoom {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.3s ease;
}

.gallery-card-pro:hover .gallery-card-zoom {
    opacity: 1;
    transform: scale(1);
}

.gallery-card-zoom:hover {
    background: #dc2626;
    color: #fff;
}

.gallery-card-body {
    padding: 1.25rem 1.35rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gallery-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.gallery-card-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    flex: 1;
}

.gallery-card-action {
    font-size: 0.8rem;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.gallery-card-pro:hover .gallery-card-action {
    color: #b91c1c;
}

/* Legacy gallery classes — kept for other pages */
.gallery-card {
    border-radius: 1rem !important;
    overflow: hidden;
    padding: 0 !important;
}

.gallery-card-inner {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    height: 320px;
    cursor: pointer;
}

.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-card-img {
    transform: scale(1.06);
}

.gallery-badge-top {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 14px rgba(220,38,38,0.4);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1.25rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 60%, transparent 100%);
    color: #fff;
}

.gallery-caption-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.gallery-caption-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 0.5rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-caption-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fca5a5;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gallery-card:hover .gallery-caption-link {
    color: #fff;
}

.gallery-zoom-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #dc2626;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.gallery-zoom-btn:hover {
    background: #dc2626;
    color: #fff;
    transform: scale(1.1);
}

/* Legacy masonry — hidden if unused */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.gallery-item-wide {
    grid-column: span 1;
}

.gallery-card-overlay {
    display: none;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-content p {
    color: #fff;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(220,38,38,0.9);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: background 0.2s;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: #dc2626;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ========== PROJECT CARDS V2 — full image, no edge crop ========== */
.project-card-v2 {
    background: #fff;
    border-radius: 1.15rem;
    border: 1px solid rgba(15, 20, 25, 0.07);
    box-shadow: 0 8px 28px rgba(15, 20, 25, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15, 20, 25, 0.12);
}

.pcv2-media {
    position: relative;
    background: #0f1419;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    line-height: 0;
}

.pcv2-photo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.pcv2-photo {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    transform: none !important;
    background: transparent;
}

.project-card-v2:hover .pcv2-photo {
    transform: none !important;
}

.pcv2-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    pointer-events: none;
}

.pcv2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pcv2-featured {
    background: linear-gradient(135deg, #c9a227, #a88620);
    color: #fff;
}

.pcv2-status {
    background: rgba(255, 255, 255, 0.96);
    color: #1e293b;
    margin-left: auto;
}

.pcv2-body {
    padding: 1.15rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
}

.pcv2-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    letter-spacing: 0.02em;
}

.pcv2-title a {
    color: #0f1419;
    text-decoration: none;
}

.pcv2-title a:hover {
    color: #c41e3a;
}

.pcv2-loc {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pcv2-loc i {
    color: #c41e3a;
    font-size: 0.75rem;
}

.pcv2-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.pcv2-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
}

.pcv2-tags i {
    color: #c41e3a;
    font-size: 0.7rem;
}

.pcv2-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.pcv2-actions {
    display: flex;
    gap: 0.55rem;
    margin-top: auto;
}

.pcv2-btn-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #c41e3a 0%, #9a1830 100%);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(196, 30, 58, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pcv2-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(196, 30, 58, 0.38);
    color: #fff !important;
}

.pcv2-btn-visit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1.5px solid #c41e3a;
    background: #fff;
    color: #c41e3a;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pcv2-btn-visit:hover {
    background: #c41e3a;
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 576px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

/* Legacy enhanced card — also force no crop if still used */
.project-card-enhanced {
    overflow: visible;
}

.project-card-enhanced .card-img-wrap {
    overflow: visible !important;
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 0 !important;
    background: #0f1419;
}

.project-card-enhanced .card-img-wrap img,
.project-card-enhanced img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    display: block !important;
}

.project-card-shade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 45%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 14, 20, 0.55) 40%,
        rgba(10, 14, 20, 0.92) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.project-card-top-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pcb-featured {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #c9a227, #a88620);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.35);
}

.pcb-status {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.project-card-bottom-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.15rem 1.1rem;
    color: #fff;
}

.project-card-bottom-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    letter-spacing: 0.02em;
    color: #fff;
}

.project-card-bottom-info p {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.project-card-bottom-info i {
    color: #e8d48b;
    font-size: 0.7rem;
}

.project-card-enhanced .card-body {
    padding: 1.15rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.project-card-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
}

.project-card-tags i {
    color: #c41e3a;
    font-size: 0.7rem;
}

.project-card-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.project-card-actions {
    display: flex;
    gap: 0.55rem;
    margin-top: auto;
}

.btn-project-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #c41e3a 0%, #9a1830 100%);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(196, 30, 58, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-project-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(196, 30, 58, 0.38);
    color: #fff !important;
}

.btn-project-visit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1.5px solid #c41e3a;
    background: #fff;
    color: #c41e3a;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-project-visit:hover {
    background: #c41e3a;
    color: #fff;
}

.btn-view-all-projects {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border: 2px solid #c41e3a;
    border-radius: 12px;
    color: #c41e3a;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-view-all-projects:hover {
    background: #c41e3a;
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 575px) {
    .project-card-enhanced .card-img-wrap {
        min-height: 240px;
    }

    .btn-project-visit span {
        display: none;
    }
}

/* Property listing cards */
.property-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    text-decoration: none;
    display: block;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.property-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-card-img img { transform: scale(1.06); }

.property-price {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
}

.property-verified {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    color: #059669;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.property-card-body { padding: 1rem 1.25rem 1.25rem; }

.property-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.property-meta span { display: flex; align-items: center; gap: 0.35rem; }
.property-meta i { color: #dc2626; font-size: 0.75rem; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== HERO ENHANCEMENTS (thumbs + meta) ========== */
.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-status-pill {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.hero-eyebrow {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.swiper-slide-active .hero-eyebrow { opacity: 1; }

.hero-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    animation: fadeInUp 0.8s ease 0.35s forwards;
    opacity: 0;
}

.swiper-slide-active .hero-specs { opacity: 1; }

.hero-specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0,0,0,0.25);
    padding: 0.4rem 0.85rem;
    border-radius: 0.5rem;
}

.hero-thumbs-bar {
    background: #f8f9fa;
    padding: 1rem 0 1.25rem;
    border-bottom: 3px solid #dc2626;
}

.hero-thumbs-bar-pro {
    background: #fff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
}

.hero-section-pro .hero-thumb {
    display: block;
    width: 100%;
    border: 2px solid #e9ecef !important;
    border-radius: 0.5rem !important;
    overflow: hidden;
    background: #fff;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-section-pro .hero-thumb .card-img-top {
    width: 100%;
    height: 70px;
    object-fit: cover;
    object-position: center;
}

.hero-section-pro .hero-thumb .card-body {
    background: #fff;
    min-height: 36px;
}

.hero-section-pro .hero-thumb:hover {
    border-color: #dc2626 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220,38,38,0.15) !important;
}

.hero-section-pro .hero-thumb.active {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.2) !important;
}

.hero-section-pro .hero-thumb.active .card-body {
    background: #dc2626;
}

.hero-section-pro .hero-thumb.active .card-body small {
    color: #fff !important;
}

.hero-stat-col {
    border-right: 1px solid #e9ecef;
    padding: 0.75rem 0.5rem;
}

.hero-stat-col:last-child {
    border-right: none;
}

@media (max-width: 767px) {
    .hero-stat-col:nth-child(2) {
        border-right: none;
    }
}

.hero-stats {
    background: #fff;
}

.hero-thumbs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.hero-thumbs-hint {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
}

.hero-thumbs-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.hero-thumb {
    display: block;
    width: 100%;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    overflow: hidden;
    background: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-thumb img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.hero-thumb-name {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    padding: 0.35rem 0.25rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0,0,0,0.4);
}

.hero-thumb:hover img { transform: scale(1.05); }

.hero-thumb.active {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220,38,38,0.3);
}

.hero-thumb.active .hero-thumb-name {
    background: #dc2626;
    color: #fff;
}

/* ========== PROJECTS GRID & FILTERS ========== */
.project-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.project-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    background: #f3f4f6;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.project-cat-tab em {
    font-style: normal;
    background: rgba(0,0,0,0.08);
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.project-cat-tab:hover {
    background: #fee2e2;
    color: #dc2626;
}

.project-cat-tab.active {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 14px rgba(220,38,38,0.35);
}

.project-cat-tab.active em {
    background: rgba(255,255,255,0.25);
}

.project-price-tag {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.75rem;
}

.project-price-tag strong {
    color: #dc2626;
    font-size: 1.05rem;
}

/* ========== PROJECTS PAGE ========== */
.projects-page-hero {
    position: relative;
    background: #111827;
    overflow: hidden;
}

.projects-page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(17,24,39,0.92) 0%, rgba(220,38,38,0.25) 100%),
        url('../images/projects/ELITE.jpg') center/cover no-repeat;
    opacity: 0.9;
}

.projects-mini-strip {
    position: relative;
    z-index: 10;
    padding-bottom: 1.5rem;
    margin-top: -0.5rem;
}

.projects-mini-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.projects-mini-item:hover { transform: translateY(-4px); }

.projects-mini-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #dc2626;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.projects-mini-item span {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    max-width: 80px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-overview-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
    display: block;
}

.category-overview-card:hover {
    border-color: #dc2626;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(220,38,38,0.12);
}

.category-overview-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.category-overview-card h3 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.category-overview-card p {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: #dc2626;
}

/* ========== PROJECT DETAIL PAGE ========== */
.project-detail-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2.5rem;
}

.project-detail-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.project-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.25) 100%);
}

.project-breadcrumb {
    padding-top: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.project-breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.project-breadcrumb a:hover { color: #fff; }

.project-breadcrumb span { margin: 0 0.35rem; }

.project-hero-content { position: relative; z-index: 2; }

.project-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.project-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.project-hero-location {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.project-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-specs-bar {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 5;
    margin-top: -1px;
}

.project-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

@media (min-width: 768px) {
    .project-specs-grid { grid-template-columns: repeat(5, 1fr); }
}

.project-spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    border-right: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.project-spec-item i {
    font-size: 1.25rem;
    color: #dc2626;
    width: 36px;
    text-align: center;
}

.project-spec-item strong {
    display: block;
    font-size: 0.95rem;
    color: #111827;
}

.project-spec-item span {
    font-size: 0.75rem;
    color: #6b7280;
}

.project-showcase-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: relative;
}

.project-showcase-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.project-showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.project-showcase-caption h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.amenity-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    background: #fef2f2;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
}

.amenity-chip i { color: #dc2626; }

.property-mini-card {
    display: block;
    border: 2px solid #f3f4f6;
    border-radius: 0.75rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.property-mini-card:hover {
    border-color: #dc2626;
    box-shadow: 0 8px 20px rgba(220,38,38,0.1);
}

.property-mini-card h4 { font-weight: 600; margin-bottom: 0.25rem; }
.property-mini-card .price { color: #dc2626; font-weight: 700; }
.property-mini-card .meta { font-size: 0.8rem; color: #6b7280; }
.property-mini-card .view-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #dc2626;
    font-weight: 600;
}

.form-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.other-projects-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .other-projects-strip { grid-template-columns: repeat(5, 1fr); }
}

.other-project-card {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.other-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.other-project-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.other-project-info {
    padding: 0.65rem;
    background: #fff;
}

.other-project-info h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.2rem;
}

.other-project-info span {
    font-size: 0.65rem;
    color: #dc2626;
    font-weight: 600;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== VIDEO SECTION — clean hero ========== */
.video-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.video-hero-clean {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    max-height: none;
    background: #0f1419;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.04),
        0 24px 60px rgba(0,0,0,0.12),
        inset 0 0 0 1px rgba(255,255,255,0.1);
}

.video-hero-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #0f1419;
    transition: transform 8s ease;
}

.video-hero-clean:hover .video-hero-bg {
    transform: scale(1.02);
}

.video-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(15, 23, 42, 0.65) 38%,
        rgba(15, 23, 42, 0.2) 58%,
        transparent 75%
    );
    pointer-events: none;
}

.video-hero-body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    gap: 1.5rem;
}

.video-glass-panel {
    max-width: 420px;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.video-hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.video-hero-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.65rem;
    line-height: 1.2;
}

.video-hero-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.video-hero-projects {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.video-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.video-hero-stats span {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.video-hero-stats i {
    color: #fca5a5;
    margin-right: 0.25rem;
}

.video-play-main {
    flex-shrink: 0;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    transition: transform 0.3s ease;
}

.video-play-main:hover {
    transform: scale(1.06);
}

.video-play-pulse {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(220, 38, 38, 0.5);
    border-radius: 50%;
    animation: video-pulse 2s ease-out infinite;
    pointer-events: none;
}

.video-play-circle {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.55);
    padding-left: 5px;
    position: relative;
    z-index: 1;
}

.video-play-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.video-hero-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    z-index: 10;
}

.video-hero-clean.is-playing .video-hero-body,
.video-hero-clean.is-playing .video-hero-shade {
    display: none;
}

@keyframes video-pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1.5); opacity: 0; }
}

.video-chips-row {
    max-width: 720px;
}

.video-feature-chip {
    background: #fff;
    border: 1px solid #e9ecef;
    transition: all 0.25s ease;
}

.video-feature-chip:hover {
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220,38,38,0.1);
}

/* ========== BLOG SECTION ========== */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover,
.blog-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}

.blog-card-img-lg {
    height: 280px;
    overflow: hidden;
}

.blog-card-img-sm {
    height: 200px;
    object-fit: cover;
}

.blog-detail-img {
    max-height: 420px;
    object-fit: cover;
}

.blog-mini-img {
    min-height: 90px;
    max-height: 110px;
}

.object-fit-cover {
    object-fit: cover;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: #f8f9fa;
}

.cta-box {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    box-shadow: 0 20px 50px rgba(220,38,38,0.25);
}

/* ========== MOBILE ENHANCEMENTS ========== */
@media (max-width: 767px) {
    .gallery-filter-bar {
        border-radius: 1rem;
        padding: 0.75rem;
    }

    .gallery-filter {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .gallery-card-body {
        padding: 1rem 1.15rem 1.15rem;
    }

    .video-hero-clean {
        aspect-ratio: auto;
        min-height: 480px;
        max-height: none;
    }

    .video-hero-body {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 1.5rem 1.25rem;
    }

    .video-glass-panel {
        max-width: 100%;
        padding: 1.25rem;
    }

    .video-hero-stats {
        justify-content: center;
    }

    .video-play-circle {
        width: 72px;
        height: 72px;
        font-size: 1.6rem;
    }

    .video-play-label {
        font-size: 0.75rem;
    }

    .blog-card-img-lg {
        height: 200px;
    }

    .blog-card-img-sm {
        height: 160px;
    }

    .blog-mini-img {
        min-height: 80px;
        max-height: 80px;
    }

    .cta-box .btn-lg {
        width: 100%;
    }

    .section-title {
        font-size: 1.5rem !important;
    }
}

/* ========== GLOSSY HOME PAGE ========== */
.home-page {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 15%, #f8fafc 50%, #fff 100%);
    overflow-x: hidden;
}

.home-section {
    position: relative;
}

.section-header-center {
    max-width: 680px;
}

.glossy-tag {
    background: linear-gradient(135deg, rgba(220,38,38,0.12) 0%, rgba(220,38,38,0.06) 100%);
    border: 1px solid rgba(220,38,38,0.15);
    box-shadow: 0 2px 8px rgba(220,38,38,0.08);
    backdrop-filter: blur(8px);
}

.section-title {
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.65;
}

/* Glossy panel base */
.glossy-panel,
.glossy-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow:
        0 4px 6px rgba(0,0,0,0.02),
        0 12px 40px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border-radius: 1rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.glossy-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 8px 16px rgba(0,0,0,0.04),
        0 24px 48px rgba(220,38,38,0.1),
        inset 0 1px 0 rgba(255,255,255,1);
}

/* Trust bar — overlaps hero */
.home-trust-bar {
    margin-top: -2.5rem;
    position: relative;
    z-index: 20;
    padding-bottom: 0.5rem;
}

.trust-bar-inner {
    border-radius: 1.25rem !important;
    padding: 0.25rem;
    max-width: 1100px;
}

.trust-stat-col {
    border-right: 1px solid rgba(0,0,0,0.06);
}

.trust-stat-col:last-child {
    border-right: none;
}

.trust-stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(220,38,38,0.35);
}

.trust-stat-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
}

.trust-stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

/* Quick links */
.home-quick-links {
    background: transparent;
}

.quick-link-card {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-link-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(220,38,38,0.1) 0%, rgba(220,38,38,0.05) 100%);
    border: 1px solid rgba(220,38,38,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #dc2626;
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(220,38,38,0.35);
}

/* Process steps */
.home-process {
    background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
}

.process-card {
    padding: 2rem 1.25rem;
    position: relative;
}

.process-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(220,38,38,0.12);
    line-height: 1;
}

.process-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 20px rgba(220,38,38,0.3);
}

/* Location section */
.home-location {
    background: #fff;
}

.location-box {
    border-radius: 1.5rem !important;
    max-width: 1100px;
    margin: 0 auto;
}

.location-chip {
    background: rgba(255,255,255,0.8);
    border: 1px solid #e9ecef;
    transition: all 0.25s ease;
}

.location-chip:hover {
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220,38,38,0.08);
}

.location-chip-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-map-wrap {
    min-height: 320px;
    position: relative;
}

.location-map-wrap img {
    min-height: 320px;
    object-fit: cover;
}

.location-map-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #dc2626;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
}

/* Video — full glossy frame (merged into video section above) */
.glossy-chip {
    background: linear-gradient(145deg, #fff, #f8fafc) !important;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04) !important;
}

.glossy-chip .chip-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(220,38,38,0.3);
}

.video-chips-row {
    max-width: 720px;
}

/* Testimonials glossy */
.testimonials-section {
    background: linear-gradient(180deg, #f1f5f9 0%, #fff 100%);
}

.testimonial-card {
    border-radius: 1.25rem !important;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #4b5563;
    font-style: italic;
    line-height: 1.7;
    font-size: 0.95rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.5rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Projects section bg */
.home-page .projects-section {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 40%, #fff 100%);
}

.home-page .project-card-v2,
.home-page .project-card-enhanced {
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 8px 28px rgba(15, 20, 25, 0.07);
}

.home-page .project-card-v2:hover,
.home-page .project-card-enhanced:hover {
    box-shadow: 0 20px 48px rgba(196, 30, 58, 0.12);
}

/* CTA glossy */
.glossy-cta {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%) !important;
    max-width: 900px;
    box-shadow:
        0 20px 60px rgba(220,38,38,0.35),
        inset 0 1px 0 rgba(255,255,255,0.15) !important;
    position: relative;
    overflow: hidden;
}

.glossy-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(4px);
}

.cta-desc {
    max-width: 520px;
}

/* Search bar glossy lift */
.home-page .search-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.home-page .search-form-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

@media (max-width: 767px) {
    .home-trust-bar {
        margin-top: -1.5rem;
        padding: 0 0.75rem;
    }

    .trust-stat-col:nth-child(2),
    .trust-stat-col:nth-child(4) {
        border-right: none;
    }

    .trust-stat-col {
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .trust-stat-col:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .quick-link-card {
        padding: 1.5rem 1rem;
    }

    .location-map-wrap {
        min-height: 220px;
    }

    .video-hero-clean {
        max-height: none;
    }

    .video-chips-row .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ========== GLOBAL TYPOGRAPHY & VISIBILITY ========== */
body.font-sans,
.home-page {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.88) !important;
}

.text-muted {
    color: #4b5563 !important;
}

.process-card .h6,
.process-card h3 {
    color: #111827 !important;
}

.glossy-tag,
.section-tag {
    color: #dc2626 !important;
}

.trust-stat-label {
    color: #4b5563 !important;
}

.trust-stat-value {
    color: #111827 !important;
}

.project-enquire-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.75rem;
}

.property-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #dc2626;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.chattarpur-benefit-card .benefit-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.why-choose-section h2,
.why-choose-section h3,
.why-choose-section p {
    color: inherit;
}

footer h3 {
    color: #fff !important;
}

footer .text-gray-300 a:hover {
    color: #f87171 !important;
}
