:root {
    /* Premium Color Palette (HSL) */
    --p-navy: hsl(210, 50%, 12%);
    /* Deep, elegant background */
    --p-light: #6fabc6;
    /* Champagne brand gold */
    --p-light-soft: rgba(111, 171, 198, 0.15);
    --p-ivory: hsl(40, 25%, 97%);
    /* Warm, premium off-white */
    --p-charcoal: hsl(210, 10%, 25%);
    /* Soft readable text */
    --p-white: #ffffff;

    /* Semantic Variables */
    --bg-primary: var(--p-ivory);
    --bg-dark: var(--p-navy);
    --text-primary: var(--p-charcoal);
    --text-light: var(--p-ivory);
    --accent: var(--p-light);

    /* Spacing & Borders */
    --section-pad: 140px 10vw;
    --radius-lg: 32px;
    --radius-md: 16px;
    --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.08);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Spacing & Borders */
    --section-pad: 140px 10vw;
    --radius-lg: 32px;
    --radius-md: 16px;
    --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.08);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Refinements */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    margin: 0;
    line-height: 1.1;
}

h1 {
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--fs-h2);
    letter-spacing: 2px;
    text-transform: uppercase;
}

h3 {
    font-size: var(--fs-h3);
}

.about-heading {


    position: relative;
    color: var(--light-ivory);
    z-index: 1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- Premium Utilities --- */
.text-gradient-light {
    background: linear-gradient(135deg, var(--p-light) 0%, #9bcbe0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: var(--transition);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}


/* Base Sections */
.section-premium {
    padding: var(--section-pad);
    position: relative;
}

.section- premium.theme-ivory {
    background-color: var(--bg-primary);
}

.section-premium.theme-deep {
    background-color: var(--bg-dark) !important;
    color: var(--text-light);
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.room-visuals {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 550px;
    position: relative;
    margin-top: 40px;
}

.room-img-main {
    grid-column: 1 / 10;
    grid-row: 1 / 11;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    z-index: 1;
}

.room-img-sub:nth-child(2) {
    grid-column: 7 / 13;
    grid-row: 6 / 13;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    z-index: 2;
    border: 8px solid var(--bg-primary);
}

.room-img-sub:nth-child(3) {
    display: none;
    /* Simplify for premium look */
}

.room-visuals img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-visuals:hover img {
    transform: scale(1.05);
}

/* Proof Card styling for Validating Excellence */
.proof-container {
    max-width: 800px;
    margin: 0 auto;
}

.proof-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.proof-img-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.proof-details {
    padding: 60px 40px;
    text-align: center;
    background: var(--bg-dark);
    color: var(--text-light);
}

.proof-count {
    font-size: var(--fs-proof-count);
    color: var(--p-light);
    font-family: 'Poiret One', cursive;
    display: block;
    margin-bottom: 5px;
}

.proof-label {
    font-size: var(--fs-proof-label);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.stats-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .stats-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
}

.pillar-link {
    display: inline-block;
    padding: 14px 35px;
    border: 1px solid var(--p-light);
    color: var(--p-light);
    background: transparent;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: var(--fs-btn);
    text-decoration: none;
    margin-top: 30px;
}

.pillar-link:hover {
    background: var(--p-light);
    color: var(--bg-dark);
}

.text-light-accent {
    color: var(--p-light);
    font-weight: 700;
}

.btn-premium {
    padding: 18px 45px;
    background: #0D1F32;
    color: var(--lightt-color);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--fs-btn);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-premium:hover {
    background: var(--p-light);
    color: var(--bg-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(111, 171, 198, 0.3);
}

.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: 320px;
    padding: 60px 40px;
    border-radius: var(--radius-md);
    background: var(--p-white);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    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(--p-light);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.property-card:hover::before {
    transform: scaleX(1);
}

.property-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
    border-color: var(--p-light);
}

.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: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bg-dark);
    text-decoration: none;
    display: block;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
}

.property-card:hover .property-name {
    color: var(--p-light);
}

.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(111, 171, 198, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.timeline-popup-year {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--p-light) 0%, #9bcbe0 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(111, 171, 198, 0.3);
}

.timeline-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--p-light) 50%, transparent 100%);
    margin: 20px auto;
}

.legacy-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.legacy-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(111, 171, 198, 0.3);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    padding-left: 100px;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-dot {
    position: absolute;
    left: 31px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--p-light);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(111, 171, 198, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    box-shadow: 0 0 0 8px rgba(111, 171, 198, 0.4);
    background: #fff;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    flex: 1;
}

.timeline-year {
    font-family: 'Poiret One', sans-serif;
    font-size: 2.5rem;
    color: var(--p-light);
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: var(--fs-h3);
    margin-bottom: 10px;
    color: #fff;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Title section Popup */
.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-topper);
    color: var(--p-light);
    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(--p-light);
    position: relative;
    overflow: hidden;
}

.card-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(111, 171, 198, 0.05) 0%, transparent 70%);
}

.timeline-popup-description {
    font-size: var(--fs-lead);
    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);
    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(--p-light) 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-small);
    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(--p-light);
    font-size: 1.2rem;
}

.timeline-highlights-list li:hover {
    transform: translateX(5px);
    border-color: var(--p-light);
    box-shadow: 0 5px 15px rgba(111, 171, 198, 0.15);
}

/* Extended info section */
.timeline-extended-section {
    background: linear-gradient(135deg, #0D1F32 0%, #081320 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(111, 171, 198, 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(111, 171, 198, 0.1) 0%, transparent 50%);
}

.extended-heading-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    display: inline-block;
}

.extended-heading {
    color: var(--p-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: var(--fs-topper);
    border-bottom: 2px solid var(--p-light);
    padding-bottom: 5px;
}

.timeline-extended-info {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-body);
    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(--p-light);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .split-section {
        text-align: center;
        gap: 30px;
        padding: 0 15px;
        /* Added padding to prevent edge touching */
    }

    .split-section>div {
        width: 100% !important;
        /* Force full width to prevent side-by-side */
        flex: none !important;
    }

    .room-visuals {
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 20px;
    }

    .room-img-main {
        height: 250px;
    }

    .btn-premium {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .legacy-timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
        gap: 20px;
    }

    .timeline-dot {
        left: 11px;
    }

    .timeline-year {
        font-size: 2rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: var(--fs-h3);
    }

    .timeline-content-wrapper {
        padding: 35px 25px;
    }
}


.timeline-item {
    padding-left: 60px;
    gap: 20px;
}

.timeline-dot {
    left: 11px;
}

.timeline-year {
    font-size: var(--fs-h2);
}

.timeline-content {
    padding: 20px;
}

.timeline-content h3 {
    font-size: var(--fs-h3);
}

.timeline-content-wrapper {
    padding: 35px 25px;
}

.timeline-popup-year {
    font-size: 3.5rem;
}

.timeline-popup-title {
    font-size: var(--fs-h2);
}

.timeline-highlights-list {
    grid-template-columns: 1fr;
}

.timeline-extended-section {
    padding: 25px 18px !important;
}

@media (max-width: 768px) {
    .section-premium {
        padding: 50px 5%;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .room-visuals {
        height: 350px;
        max-width: 100%;
        margin: 30px auto 0;
    }
}

@media (max-width: 480px) {
    .section-premium {
        padding: 40px 4%;
    }

    .stats-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
        justify-items: center;
    }
}

.hero-mini-refined h1 {
    letter-spacing: 6px;
    font-size: var(--fs-display);
}

.hero-mini-refined {
    height: 60vh;
}

.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-h2);
}

.timeline-description-card,
.timeline-highlights-section,
.timeline-extended-section {
    margin-bottom: 20px !important;
}

/* Accordion (FAQ) */
.accordion-item {
    border: 1px solid rgba(13, 31, 50, 0.05);
    margin-bottom: 20px !important;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-premium);
    border-color: var(--p-light);
}

.accordion-header {
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header span:first-child {
    font-weight: 600;
    font-size: var(--fs-body);
    color: var(--dark-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    background: #fff;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 35px 30px;
}

.accordion-item.active .text-light-accent {
    transform: rotate(180deg);
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll.active>* {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-on-scroll.active>*:nth-child(2) {
    animation-delay: 0.1s;
}

.reveal-on-scroll.active>*:nth-child(3) {
    animation-delay: 0.2s;
}

/* Floating Actions (Enquire) */
.floating-actions-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    align-items: flex-end;
}

.floating-action-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-action-item.enquire-main {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    cursor: pointer;
}

.floating-actions-container.active .floating-action-item {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-btn {
    width: 60px;
    height: 60px;
    background: var(--lightt-color, #6fabc6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(111, 171, 198, 0.4);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.enquire-label {
    background: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--dark-color, #0D1F32);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-actions-container.active .enquire-label {
    opacity: 1;
}

.enquire-main .enquire-label {
    opacity: 1;
}

/* Experience Card Animations */
.experience-card {
    transition: var(--transition);
    cursor: pointer;
}

.experience-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(111, 171, 198, 0.2);
    border-color: var(--p-light);
}

.experience-card img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.experience-card:hover img {
    transform: scale(1.1);
}