
/* -------  Badges ------- */
.statusIcon,
.reraBadge {
    background: rgba(27, 63, 99, 0.04);
    color: var(--blueColor);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px 6px 12px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    
    white-space: nowrap;
    border: 1px solid rgba(27, 63, 99, 0.18);
}

.statusIcon::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.reraBadge {
    color: var(--blueColor);
    border-color: rgba(27, 63, 99, 0.18);
}

.reraBadge i {
    color: var(--gold-deep);
}

/* ------- Hero Section ------- */
.project-HeroSection {
    padding-bottom: 0;
    
}

.project-HeroSection h1 {

    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.project-HeroSection p.mb-0 .text-primary {
   
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--blueColor) !important;
}

.project-HeroSection p.text-secondary {
    font-size: 0.92rem;
    color: var(--muted) !important;
    letter-spacing: 0.01em;
}

.project-HeroSection p.text-secondary::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    margin-right: 8px;
    vertical-align: middle;
}

/* Price — premium serif treatment */
.project-HeroSection .h3 {
   
    font-weight: 600;
    color: var(--ink);
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

.project-HeroSection .hero-section {

    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(22, 49, 79, 0.35);
}

/* Hero fallback background if image is broken/missing */
.project-HeroSection .hero-section img {
    background-color: #e8edf2;
    background-size: cover;
    background-position: center;
    min-height: 180px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-HeroSection .aspect2-1 {
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.project-HeroSection .aspect2-1 img {
    transition: transform 0.5s ease;
}

.project-HeroSection .aspect2-1:hover img {
    transform: scale(1.04);
}

/* Thin seam between the mosaic tiles for a framed,
   gallery-wall feel instead of plain grid gaps */
.project-HeroSection .hero-section.row {
    --bs-gutter-x: 6px;
    --bs-gutter-y: 6px;
}

.project-HeroSection .hero-section .row {
    --bs-gutter-x: 6px;
    --bs-gutter-y: 6px;
}

/* ------- General Section Spacing & Typography ------- */
.project-section {
    padding-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--hairline, #f0f0f0);
    margin-bottom: 0.5rem;
}

.project-section:last-of-type {
    border-bottom: none;
}

.project-section .h4,
.project-section h2.h4 {
    
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink, var(--blueColor));
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: none;
    display: block;
    position: relative;
    letter-spacing: -0.01em;
}

.project-section .h4::after,
.project-section h2.h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--gold, var(--orangeColor)), transparent);
}

/* Paragraphs — clean, readable, NO drop caps */
.project-section p,
.about-listing p,
.possessions p {
    font-size: 0.95rem;
    line-height: 1.75;
    
    margin-bottom: 0.85rem;
    /* Explicitly reset any drop-cap styling */
    text-indent: 0 !important;
}

/* Remove any drop-cap / first-letter decoration */
.project-section p::first-letter,
.about-listing p::first-letter,
.possessions p::first-letter {
    font-size: inherit !important;
    font-weight: inherit !important;
    float: none !important;
    line-height: inherit !important;
    padding-right: 0 !important;
    color: inherit !important;
}

/* ------- Key Insights Row ------- */
.project-section .row .col-6,
.project-section .row .col-md-5 {
    font-size: 0.88rem;
    line-height: 1.6;
    
    padding-bottom: 4px;
}

.project-section .row .col-6 .text-primary,
.project-section .row .col-md-5 .text-primary {
    font-weight: 600;
}

/* ------- RERA Panel ------- */
.rera-info {
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    color: var(--blueColor);
    cursor: pointer;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rera-info i {
    font-size: 13px;
}

.rera-panel {
    position: absolute;
    top: 28px;
    left: 0;
    width: 400px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e3e8ef;
    box-shadow: 0 8px 30px rgba(27, 63, 99, 0.12);
    z-index: 9999;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.rera-panel.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.rera-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--blueColor);
    border-bottom: 1px solid #eef2f7;
    background: #f8fafc;
    border-radius: 10px 10px 0 0;
}

.rera-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--blueColor);
}

.rera-close {
    font-size: 20px;
    cursor: pointer;
    color: #6b778c;
    line-height: 1;
    padding: 0 4px;
}

.rera-close:hover {
    color: var(--blueColor);
}

.rera-top-info {
    padding: 10px 16px;
    font-size: 12px;
    color: #42526e;
}

.rera-top-info p {
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.rera-top-info i {
    color: var(--blueColor);
    font-size: 12px;
}

.rera-top-info a {
    color: var(--blueColor);
    text-decoration: none;
    word-break: break-all;
}

.rera-top-info a:hover {
    text-decoration: underline;
}

.rera-divider {
    margin: 0;
    border: none;
    border-top: 1px solid #eef2f7;
}

.rera-body {
    max-height: 280px;
    overflow-y: auto;
}

.rera-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
}

.rera-left {
    flex: 1;
}

.rera-label {
    font-size: 10px;
    font-weight: 700;
    color: #6b778c;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rera-phase {
    font-size: 14px;
    font-weight: 700;
    color: var(--blueColor);
    margin-bottom: 2px;
}

.rera-no {
    font-size: 12px;
    color: #42526e;
}

.rera-right {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border: 1px solid #e6f0ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.rera-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 576px) {
    .rera-panel {
        left: 0;
        right: 0;
        width: 92vw;
        max-width: 92vw;
        transform: none;
    }
    .rera-grid {
        flex-direction: column;
        align-items: flex-start;
    }
    .rera-right {
        width: 100%;
        height: 130px;
    }
}

.rera-disabled {
    pointer-events: none;
    opacity: 0.4;
    cursor: not-allowed;
}

/* ------- Floor Plan Section ------- */
.floorplan-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.floorplan-tabs button,
.floorplan-tabs .floor-btn {
    border: 1px solid #d0d7e0;
    background: #fff;
    padding: 7px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    
    transition: all 0.2s ease;
}

.floorplan-tabs button:hover,
.floorplan-tabs .floor-btn:hover {
    border-color: var(--blueColor);
    color: var(--blueColor);
}

.floorplan-tabs button.active,
.floorplan-tabs .floor-btn.active {
    background: var(--blueColor);
    color: #fff;
    border-color: var(--blueColor);
    box-shadow: 0 2px 8px rgba(27, 63, 99, 0.2);
}

.floorSelect {
    font-size: 13px;
    cursor: pointer;
}

.floorSelect .card {
    border: 1px solid #d0d7e0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* ------- Price Boxes ------- */
.price-box {
    border: 1px solid var(--hairline, #e0e7ef);
    border-radius: 12px;
    padding: 24px 20px;
    background: linear-gradient(165deg, #fff, var(--ivory, #fff));
    box-shadow: 0 2px 10px rgba(27, 63, 99, 0.05);
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
}

.price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: var(--gold, var(--orangeColor));
}

.price-box:hover {
    box-shadow: 0 10px 26px rgba(27, 63, 99, 0.12);
    transform: translateY(-2px);
}

.price-box .label {
   
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted, var(--blueColor));
    margin-bottom: 6px;
}

.price-box .value {
    
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--ink, var(--blueColor));
    margin-top: 2px;
    line-height: 1.2;
}

/* ------- Amenities Grid ------- */
.amenities .icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px 18px;
    border: 1px solid var(--hairline, #edf0f5);
    border-radius: 12px;
    background: #fff;
    transition: all 0.25s ease;
    margin-bottom: 16px;
    cursor: default;
}

.amenities .icon:hover {
    border-color: var(--gold, var(--blueColor));
    box-shadow: 0 10px 24px rgba(22, 49, 79, 0.1);
    transform: translateY(-4px);
    background: var(--ivory, #fff);
}

.amenities .icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.25s ease;
}

.amenities .icon:hover img {
    transform: scale(1.12);
}

.amenities .icon span {
   
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #4a4a4a;
    line-height: 1.3;
    text-transform: capitalize;
}

/* ------- FAQ Accordion ------- */
.faq {
    border: 1px solid var(--hairline, #edf0f5);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.question {
    border-bottom: 1px solid var(--hairline, #edf0f5);
    padding: 20px 18px;
    transition: background 0.2s ease;
}

.question:last-child {
    border-bottom: none;
}

.question:hover {
    background: var(--ivory, #f8fafc);
}

.question .number {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: var(--ink, var(--blueColor));
    color: var(--gold, #fff);

    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.question .number::before {
    display: none; /* Remove the old pseudo-element approach */
}

.question .key-Title {
    
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink, var(--blueColor));
    margin-bottom: 6px;
    line-height: 1.4;
}

.question p.fs-14 {
    font-size: 0.88rem;
    color: var(--muted, #555);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ------- Developer Section ------- */
.possessions .text-center.py-2 {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.possessions .fw-bold.text-black {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--blueColor) !important;
}

/* ===================================================
   SIDEBAR — Right Column Layout
   Key: col-lg-4 must have align-self: start so
   Bootstrap flex-stretch doesn't kill position:sticky
   =================================================== */
@media screen and (min-width: 992px) {
    /* The right column itself — must start at top, not stretch */
    .col-lg-4.order-1.order-lg-2 {
        align-self: start;
    }

    /* .project-right is NOT sticky — it wraps both form + TOC.
       Making the whole wrapper sticky would conflict with the
       tall enquiry form above. Instead, ONLY the TOC .card sticks. */
    .project-right {
        position: static;
    }

    /* The TOC card is what becomes sticky after the form scrolls away */
    .project-right .TOC {
        position: sticky;
        top: 90px;
        /* Natural bottom boundary = when parent column ends */
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(27,63,99,0.3) transparent;
    }

    /* Recommended card below TOC — also sticky, stacks below */
    .project-right .card.d-none.d-lg-block {
        position: sticky;
        top: calc(90px + 4px);
    }
}

/* ===================================================
   TOC CARD — Premium Visual Refinement
   Placement: right sidebar, unchanged
   Only: appearance, typography, spacing, active states
   =================================================== */
.TOC {
    border: 1px solid #dce6f0 !important;
    border-radius: 14px !important;
    box-shadow:
        0 1px 3px rgba(27, 63, 99, 0.06),
        0 4px 16px rgba(27, 63, 99, 0.08) !important;
    overflow: hidden;
    background: #fff !important;
}

/* TOC Header label */
.TOC .h4 {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #9aabbf !important;
    padding: 14px 18px 10px !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f5fa;
}

/* Each TOC link row */
.TOC a {
    display: flex !important;
    align-items: center !important;
    padding: 11px 16px 11px 12px !important;
    text-decoration: none !important;
    color: #5a6a7a;
    border-left: 3px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    gap: 12px;
    position: relative;
    border-bottom: 1px solid #f5f8fb;
}

.TOC a:last-of-type {
    border-bottom: none;
}

/* Hover state */
.TOC a:hover {
    background: #f4f8fd !important;
    color: var(--blueColor) !important;
    border-left-color: #c5d8ec;
}

.TOC a:hover .number {
    background: var(--blueColor);
    color: #fff;
    border-color: var(--blueColor);
    transform: scale(1.05);
}

/* Active / currently-in-view state — set by existing JS */
.TOC a.active {
    background: linear-gradient(90deg, #faf6ee 0%, #fdfcf9 100%) !important;
    color: var(--ink, var(--blueColor)) !important;
    border-left-color: var(--gold, var(--orangeColor)) !important;
    border-left-width: 3px;
}

.TOC a.active .number {
    background: var(--ink, var(--orangeColor));
    color: var(--gold, #fff);
    border-color: var(--ink, var(--orangeColor));
    box-shadow: 0 2px 8px rgba(22, 49, 79, 0.25);
}

.TOC a.active .key-Title {
    color: var(--ink, var(--blueColor));
    font-weight: 700;
}

/* Numbered circle badge */
.TOC .number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    border: 1.5px solid #d0dce8;
    background: #f4f8fc;
    color: var(--blueColor);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    /* Override the Bootstrap fs-1 class the markup uses */
    font-size: 11px !important;
    line-height: 1 !important;
}

/* Text block next to number */
.TOC a > div:last-child {
    flex: 1;
    min-width: 0;
}

.TOC .key-Title {
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 600;
    color: inherit;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.3;
}
.heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink, var(--blueColor));
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: none;
    display: block;
    position: relative;
    letter-spacing: -0.01em;
}
.heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--gold, var(--orangeColor)), transparent);
}
.TOC p.fs-14 {
    font-size: 10.5px;
    
    margin-bottom: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* ------- Mobile TOC Nav ------- */
.mobile-toc {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e7ef;
    z-index: 1030;
    padding: 6px 12px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.mobile-toc::-webkit-scrollbar {
    display: none;
}

.mobile-toc .toc-items {
    display: flex;
    gap: 6px;
}

.mobile-toc .toc-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.mobile-toc .toc-link.active {
    font-weight: 700;
    color: var(--blueColor);
    background: #eef4fb;
    border-color: #c5d8ec;
}

@media (min-width: 768px) {
    .mobile-toc {
        display: none !important;
    }
}

/* ------- PPC Enquiry Form ------- */
.ppc-form {
    background: linear-gradient(155deg, var(--ink, var(--blueColor)) 0%, #0d2138 100%);
    border-radius: 14px;
    color: #fff;
    border: none;
    margin-bottom: 16px;
    box-shadow: 0 14px 36px -8px rgba(13, 33, 56, 0.4);
    position: relative;
    overflow: hidden;
}

.ppc-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold, var(--orangeColor)), transparent 70%);
}

.ppc-form h5 {
    
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
}

.ppc-form .form-group {
    margin-bottom: 14px;
}

.ppc-form .input-group-text {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.ppc-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 14px;
}

.ppc-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.ppc-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold, rgba(255, 255, 255, 0.5));
    box-shadow: none;
    outline: none;
    color: #fff;
}

.ppc-form .form-group textarea:focus {
    box-shadow: none;
    outline: none;
}

.ppc-form .btn.orange {
    background-color: var(--orangeColor) !important;
    border-color: var(--orangeColor);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.ppc-form .btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.whatsapp {
    background-color: #25d366;
}

.orange {
    background-color: var(--orangeColor);
}

/* ------- Recommended Project Cards ------- */
.Recommended-card {
    transition: all 0.3s ease;
    border-radius: 10px !important;
    border-color: var(--hairline, #dee2e6) !important;
    cursor: pointer;
    line-height: 1.3;
    overflow: hidden;
}

.Recommended-card div {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.Recommended-card:hover {
    box-shadow: 0 10px 26px rgba(22, 49, 79, 0.14) !important;
    transform: translateY(-2px);
    border-color: var(--gold, #dee2e6) !important;
}

.Recommended-card img {
    transition: transform 0.3s ease;
}

.Recommended-card:hover img {
    transform: scale(1.06);
}

.project-price {
   
    font-weight: 600;
    color: var(--ink, var(--blueColor));
    font-size: var(--mdFontSize);
}

.recommended-title {
   
    font-size: var(--mdFontSize);
    font-weight: 700;
    color: var(--ink, var(--blueColor));
}

.recommended-location {
    max-width: 150px;
    font-size: var(--xsFontSize);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--muted, #888);
}

/* ------- Site Plan Section ------- */
.siteplan-section .section-title {
    
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink, var(--blueColor));
    text-transform: capitalize;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: none;
    position: relative;
    letter-spacing: -0.01em;
}

.siteplan-section .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--gold, var(--orangeColor)), transparent);
}

.siteplan-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hairline, #e0e7ef);
    box-shadow: 0 4px 18px rgba(22, 49, 79, 0.06);
}

.siteplan-img-wrapper {
    position: relative;
    width: 100%;
}

.siteplan-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.siteplan-image:hover {
    transform: scale(1.015);
}

/* ------- Modal / Popup Refinements ------- */
.modal-content {
    height: fit-content;
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 auto;
}

.modal-title {
    color: var(--blueColor) !important;
    font-weight: 700;
}

.modal a {
    text-decoration: none;
}

/* Social share icons */
.fa-facebook { color: rgb(66, 103, 178) !important; }
.fa-linkedin { color: rgb(10, 102, 194); }
.fa-square-whatsapp { color: #25d366; }
.fa-square-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ------- Carousel Arrows ------- */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60% 60%;
}

.custom-arrow {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 12px;
}

/* ------- YouTube Link ------- */
.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blueColor);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    margin-top: 12px;
    transition: color 0.2s ease;
}

.youtube-link:hover {
    color: #cc0000;
}

/* ------- Download Buttons ------- */
.download-btn {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27, 63, 99, 0.2);
}

/* ------- Loading Spinner ------- */
.loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.7s ease-in-out infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ------- Responsive Adjustments ------- */
@media (max-width: 991px) {
    .project-right {
        position: static;
    }
    .project-right .TOC {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    .ppc-form {
        border-radius: 10px;
    }
}

@media (max-width: 767px) {
    .project-HeroSection h1 {
        font-size: 1.4rem;
    }
    .project-section .h4,
    .project-section h2.h4 {
        font-size: 1.05rem;
    }
    .price-box .value {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .project-section {
        padding-top: 1.5rem;
    }
    .amenities .icon {
        padding: 12px 6px;
    }
    .amenities .icon img {
        width: 30px;
        height: 30px;
    }
}

/* ===================================================
   MOBILE WHITESPACE FIX
   Sections were stacking padding-top + margin-bottom +
   heading margin + Bootstrap row gutters on top of each
   other, creating large vertical gaps between blocks on
   phones. This tightens that rhythm without touching the
   desktop layout (≥768px untouched).
   =================================================== */
@media (max-width: 767px) {

    /* Clear the fixed .mobile-toc bar instead of relying
       on accidental whitespace to push content down */
    .project-HeroSection {
        padding-top: 54px !important;
    }

    /* Each section was: 2rem/1.5rem top + 0.5rem bottom
       margin + heading's own 1rem margin = too much.
       Tighten to a single consistent rhythm. */
    .project-section {
        padding-top: 1.1rem !important;
        padding-bottom: 0.2rem !important;
        margin-bottom: 0 !important;
    }

    .project-section .h4,
    .project-section h2.h4 {
        margin-bottom: 0.6rem !important;
        padding-bottom: 0.3rem !important;
    }

    /* Bootstrap's default row gutter (1.5rem) was doubling
       up with section + container padding on every .row
       inside a section (Key Insights, download rows, etc.) */
    .project-section .row {
        --bs-gutter-y: 0.4rem;
    }

    .project-section .row .col-6,
    .project-section .row .col-md-5 {
        padding-bottom: 6px;
        margin-bottom: 0;
    }

    .project-section p {
        margin-bottom: 0.55rem;
    }

    /* "Download ..." heading + button rows had their own
       my-4 / mb-3 stacking with the section padding above */
    .h4.my-4 {
        margin-top: 1rem !important;
        margin-bottom: 0.6rem !important;
    }

    .row.g-3.align-items-center.mb-3 {
        margin-bottom: 0.85rem !important;
    }

    /* Site plan & pricing blocks used desktop py-5 spacing */
    .siteplan-section.py-5,
    .price .py-5 {
        padding-top: 1.1rem !important;
        padding-bottom: 1.1rem !important;
    }

    /* Developer background info row */
    .possessions .row.align-items-md-center.mb-3 {
        margin-bottom: 0.6rem !important;
    }

    /* FAQ blocks */
    .question {
        padding: 14px 12px;
    }

    /* Outer container row wrapping the two main columns
       added its own my-4 on top of every section's spacing */
    .container > .row.my-4 {
        margin-top: 0.4rem !important;
        margin-bottom: 0.4rem !important;
    }
}
#sidebar-wrapper {
    transition: all .4s ease-in-out;
    position: sticky;
    top: 125px;
}
