body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Poiret One', sans-serif;
    font-weight: bold;
}

.hero-mini-refined {
    margin-top: 0;
    background: url('../Resource/shilhaandra-gallery-1.avif') center/cover fixed;
    height: 70vh;
}

.property-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.property-card {
    text-align: center;
    width: 280px;
    padding: 40px 30px;
    border-radius: 4px;
    /* Sharper, more elegant corners */
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Premium Gold Accent on Hover */
.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-brand, #c9a63c);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.property-card:hover::before {
    transform: scaleX(1);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 166, 60, 0.2);
}

.property-logo {
    width: 120px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.property-card:hover .property-logo {
    transform: scale(1.05);
}

.property-name {
    font-family: 'Poiret One', sans-serif;
    font-size: var(--fs-lead-p);
    font-weight: 600;
    color: var(--header-text, #3C301E);
    text-decoration: none;
    display: block;
    letter-spacing: 2px;
    /* Premium spacing */
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.property-card:hover .property-name {
    color: var(--gold-brand, #c9a63c);
}

.property-link {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

/* Main popup container */
.timeline-modal-box {
    max-width: 950px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.timeline-content-wrapper {
    padding: 50px 45px;
}

/* Year section */
.timeline-year-section {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.year-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 166, 60, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.timeline-popup-year {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-brand) 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Poiret One', sans-serif;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 10px rgba(201, 166, 60, 0.3);
}

.timeline-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-brand) 50%, transparent 100%);
    margin: 20px auto;
}

/* Title section */
.timeline-title-section {
    text-align: center;
    margin-bottom: 40px;
}

.timeline-popup-title {
    font-size: var(--fs-hero-h1);
    margin: 0 0 10px;
    font-family: 'Poiret One', sans-serif;
    color: var(--dark-color);
    letter-spacing: 2px;
    line-height: 1.2;
}

.timeline-popup-subtitle {
    font-size: var(--fs-section-topper);
    color: var(--gold-brand);
    font-style: italic;
    margin: 0;
    font-weight: 500;
}

/* Description card */
.timeline-description-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--gold-brand);
    position: relative;
    overflow: hidden;
}

.card-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(201, 166, 60, 0.05) 0%, transparent 70%);
}

.timeline-popup-description {
    font-size: var(--fs-lead-p);
    line-height: 1.9;
    color: #333;
    margin: 0;
    text-align: justify;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Highlights section */
.timeline-highlights-section {
    margin-bottom: 35px;
}

.highlights-heading-wrapper {
    text-align: center;
    margin-bottom: 25px;
}

.highlights-heading {
    font-family: 'Poiret One', sans-serif;
    font-size: var(--fs-h3-card);
    margin: 0;
    color: var(--dark-color);
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
}

.heading-underline {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-brand) 50%, transparent 100%);
}

.timeline-highlights-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.timeline-highlights-list li {
    padding: 15px 20px 15px 50px;
    margin-bottom: 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 12px;
    position: relative;
    font-size: var(--fs-body-p);
    color: #333;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 400;
}

.timeline-highlights-list li::before {
    content: '◈';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-brand);
    font-size: var(--fs-section-topper);
}

.timeline-highlights-list li:hover {
    transform: translateX(5px);
    border-color: var(--gold-brand);
    box-shadow: 0 5px 15px rgba(201, 166, 60, 0.15);
}

/* Extended info section */
.timeline-extended-section {
    background: linear-gradient(135deg, #2E2318 0%, #1a1510 100%);
    padding: 35px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.extended-decoration-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(at 0% 0%, rgba(201, 166, 60, 0.1) 0%, transparent 50%);
}

.extended-decoration-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(at 100% 100%, rgba(201, 166, 60, 0.1) 0%, transparent 50%);
}

.extended-heading-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    display: inline-block;
}

.extended-heading {
    color: var(--gold-brand);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: var(--fs-section-topper);
    border-bottom: 2px solid var(--gold-brand);
    padding-bottom: 5px;
}

.timeline-extended-info {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-lead-p);
    line-height: 1.8;
    margin: 0;
    font-family: 'Quicksand', sans-serif;
}

/* Modal Scrollbar Styling */
.timeline-modal-box::-webkit-scrollbar {
    width: 8px;
}

.timeline-modal-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.timeline-modal-box::-webkit-scrollbar-thumb {
    background: var(--gold-brand);
    border-radius: 10px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .timeline-content-wrapper {
        padding: 35px 25px;
    }

    .timeline-popup-year {
        font-size: 3.5rem;
    }



    .timeline-highlights-list {
        grid-template-columns: 1fr;
    }

    .timeline-extended-section {
        padding: 25px 18px !important;
    }



    .extended-heading-wrapper {
        margin-bottom: 18px !important;
    }

    .timeline-extended-info {
        line-height: 1.75 !important;
        text-align: left !important;
    }

    .card-decoration {
        display: none !important;
    }

    .extended-decoration-top,
    .extended-decoration-bottom {
        display: none !important;
    }
}

/* Landscape mobile */
@media (max-width: 900px) and (orientation: landscape) {
    .timeline-modal-box {
        max-height: 90vh !important;
    }

    .timeline-content-wrapper {
        padding: 20px 15px !important;
    }

    .timeline-year-section {
        margin-bottom: 20px !important;
    }

    .timeline-popup-year {
        font-size: 2.5rem !important;
    }

    .timeline-title-section {
        margin-bottom: 20px !important;
    }



    .timeline-description-card,
    .timeline-highlights-section,
    .timeline-extended-section {
        margin-bottom: 20px !important;
    }
}

/* --- Extra Layout Styles for Ported Components --- */

.room-visuals {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 25px;
    position: relative;
    max-width: 700px;
    margin-left: auto;
}

.room-img-main {
    width: 100%;
    height: 100%;
    grid-row: span 2;
    grid-column: span 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.room-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-img-sub {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.room-img-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timeline Layout Refined */
.legacy-timeline {
    position: relative;
    max-width: 1000px;
    margin: 80px auto;
    padding: 40px 0;
}

.legacy-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gold-brand), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 80px;
    position: relative;
}

.timeline-content {
    width: 45%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--gold-brand);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 10px rgba(184, 168, 132, 0.2);
    z-index: 2;
}

.timeline-year {
    font-family: 'Poiret One', sans-serif;
    font-size: var(--fs-hero-h1);
    color: var(--gold-brand);
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Proof Container (Achievements) */
.proof-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.proof-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
    transition: 0.5s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.proof-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.08);
}

.proof-img-box {
    height: 240px;
    overflow: hidden;
}

.proof-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.proof-card:hover .proof-img-box img {
    transform: scale(1.1);
}

.proof-details {
    padding: 40px;
    text-align: center;
}

.proof-count {
    font-family: 'Poiret One', sans-serif;
    font-size: var(--fs-page-h1);
    color: var(--gold-brand);
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

/* Authority Logo Grid */
.authority-logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.authority-logo-item {
    height: 80px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: 0.4s;
}

.authority-logo-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

/* Accordion Styling */
.accordion-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
}

.accordion-header {
    background: rgba(184, 168, 132, 0.05);
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(184, 168, 132, 0.1);
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-content {
    background: white;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-content {
    padding: 25px;
    max-height: 300px;
}

@media (max-width: 768px) {
    .authority-logo-grid {
        gap: 40px;
    }

    .authority-logo-item {
        height: 60px;
    }

    .room-visuals {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 150px;
    }

    .room-img-main {
        grid-column: span 1;
    }

    .legacy-timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 20px;
    }
}

h2 {
    font-size: var(--fs-section-h2);
}

.pillar-link {
    display: inline-block;
    color: var(--gold-brand);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-decoration: none;
    margin-top: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.pillar-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-brand);
    transition: width 0.3s ease;
}

.pillar-link:hover::after {
    width: 100%;
}