body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Poiret One', sans-serif;
    font-weight: 300;
}

h1 {
    font-size: var(--fs-hero-h1) !important;

}

h2 {
    font-size: var(--fs-section-h2) !important;
}

.hero-mini-refined {
    margin-top: 0;
    background: url('../Resource/guhaantara-poster.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-section-h2);
    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: 1.2rem;
}

.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-body-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-popup-title {
        font-size: var(--fs-section-h2);
    }

    .timeline-highlights-list {
        grid-template-columns: 1fr;
    }

    .timeline-extended-section {
        padding: 25px 18px !important;
    }

    .extended-heading {
        font-size: var(--fs-section-topper) !important;
    }

    .extended-heading-wrapper {
        margin-bottom: 18px !important;
    }

    .timeline-extended-info {
        font-size: var(--fs-body-p) !important;
        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-popup-title {
        font-size: var(--fs-section-h2);
    }

    .timeline-description-card,
    .timeline-highlights-section,
    .timeline-extended-section {
        margin-bottom: 20px !important;
    }
}