/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Sophisticated Luxury Palette */
    --bg-primary: #fbf9f4;
    /* Luminous pearl off-white */
    --bg-secondary: #ffffff;
    --text-primary: #15110d;
    /* Rich warm charcoal */
    --text-secondary: #564c41;
    /* Warm dark gray */
    --accent-gold: #c69c50;
    /* Richer, more vibrant chatak gold */
    --accent-dark: #12100e;

    /* New Vibrant Gradients */
    --gradient-gold: linear-gradient(135deg, #b58d3d 0%, #946d23 50%, #6e4d12 100%);
    --gradient-bg-main: linear-gradient(160deg, #fefdfb 0%, #f7f3ea 100%);
    --gradient-bg-rich: linear-gradient(180deg, #fdfcf9 0%, #f2efe6 100%);

    /* Typography */
    --font-heading: 'Marcellus', serif;
    --font-body: 'Manrope', sans-serif;

    /* Layout */
    --container-max: 1400px;
    --section-pad: 120px;
    --nav-height: 96px;
    --transition-smooth: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* For custom cursor */
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background: var(--gradient-bg-main) fixed;
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    max-width: 100vw;
    overflow-x: clip;
    /* clip safely hides overflow without breaking sticky or GSAP */
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-50 {
    margin-bottom: 50px;
}

.text-white {
    color: #ffffff !important;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(198, 168, 124, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    background-color: rgba(198, 168, 124, 0.1);
}

/* Typography elements */
.section-label {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.08;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #0c0906 0%, #2f2219 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-text {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-style: normal;
    color: var(--accent-dark);
    margin-bottom: 30px;
    line-height: 1.4;
}

.body-text {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    font-weight: 400;
    line-height: 1.85;
}

/* Buttons & Links */
.link-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 5px;
    transition: var(--transition-smooth);
}

.link-arrow span {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.link-arrow:hover span {
    transform: translateX(10px);
}

.btn-outline-white {
    display: inline-block;
    padding: 18px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-outline-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-outline-white:hover {
    color: var(--text-primary);
}

.btn-outline-white:hover::before {
    transform: scaleY(1);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-nav {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
}

.site-nav.scrolled {
    padding: 8px 0;
}

.site-nav.scrolled .line {
    box-shadow: none;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ==========================================================================
   About Section Integrated Styles
   ========================================================================== */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
}

.value-box {
    background-color: var(--bg-secondary);
    padding: 40px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.value-box h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.value-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.nav-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.brand-logo img {
    height: 78px;
    transition: transform var(--transition-smooth);
}

.brand-logo img:hover {
    transform: scale(1.05);
}

.brand-divider {
    display: block;
    width: 2px;
    min-width: 2px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: 2px;
    opacity: 0.8;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

.nav-links a {
    position: relative;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 1px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-secondary);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1000;
    padding: 10px 0;
    border-top: 3px solid var(--accent-gold);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    color: var(--text-primary) !important;
    padding: 12px 20px;
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.dropdown-content a::after {
    display: none;
    /* remove underline effect for dropdown items */
}

.dropdown-content a:hover {
    background-color: rgba(198, 156, 80, 0.05);
    color: var(--accent-gold) !important;
    padding-left: 25px;
}

.dropbtn i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}

.menu-toggle {
    width: 50px;
    height: 50px;
    display: none;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
}

.hamburger-lines {
    width: 30px;
    height: 20px;
    position: relative;
}

.line {
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.line1 {
    top: 0;
}

.line2 {
    top: 50%;
    width: 70%;
    right: 0;
}

.line3 {
    top: 100%;
}

.menu-toggle.active .line {
    background-color: var(--text-primary);
}

.menu-toggle.active .line1 {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active .line2 {
    opacity: 0;
}

.menu-toggle.active .line3 {
    transform: translateY(-10px) rotate(-45deg);
    width: 100%;
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    z-index: 900;
}

.menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.fullscreen-menu.open {
    visibility: visible;
}

.fullscreen-menu.open .menu-bg {
    transform: translateY(0);
}

.menu-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease 0.3s;
}

.fullscreen-menu.open .menu-inner {
    opacity: 1;
}

.menu-links {
    text-align: center;
    margin-bottom: 60px;
}

.menu-links li {
    margin: 15px 0;
    overflow: hidden;
}

.menu-link {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--text-primary);
    text-transform: uppercase;
    display: inline-block;
    transition: color 0.3s ease;
}

.menu-link:hover {
    color: var(--accent-gold);
    font-style: italic;
}

.menu-contact {
    text-align: center;
}

.menu-contact .subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.menu-contact a {
    display: block;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: calc(100vh - var(--nav-height));
    min-height: 560px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('./details/hero.jpeg');
}

@media (max-width: 768px) {
    .hero-bg {
        background-image: url('./details/hero-mobile.png');
        background-size: cover;
    }
}

/* .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.8) 100%);
} */



.hero-content {
    padding: 0 5vw;
    width: 100%;
}

.reveal-text {
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 7vw;
    font-weight: 300;
    color: #ffffff;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    right: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-text {
    color: #fff;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    transform: rotate(90deg);
    transform-origin: center right;
    margin-bottom: 30px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
}

.scroll-dot {
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: -2px;
    animation: scrollDot 2s infinite ease-in-out;
}

@keyframes scrollDot {
    0% {
        top: 0;
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: var(--section-pad) 0;
    background-color: var(--bg-primary);
}

.layout-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
}

.sticky-content {
    position: sticky;
    top: 150px;
}

.image-reveal-wrapper {
    overflow: hidden;
    border-radius: 2px;
    width: 100%;
}

.parallax-img {
    width: 100%;
    height: auto;
    display: block;
}

.stats-row {
    display: flex;
    gap: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 40px;
}

.stat-block {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1;
    color: var(--accent-gold);
}

.stat-number .plus {
    font-size: 2.5rem;
    vertical-align: top;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ==========================================================================
   Legacy & Achievements Section (2-Column Light Rich Design)
   ========================================================================== */
.legacy-section {
    padding: 120px 0;
    background: var(--gradient-bg-rich);
    /* Rich warm gradient */
    overflow: hidden;
}

.legacy-label {
    color: var(--accent-gold) !important;
}

/* 2-Column Grid */
.legacy-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* LEFT COLUMN */
.legacy-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 120px;
}

.legacy-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4vw, 4.5rem);
    font-weight: 400;
    line-height: 1.06;
    background: linear-gradient(135deg, #0c0906 0%, #2f2219 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 10px;
    letter-spacing: -0.01em;
}

.legacy-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 500px;
    border-left: 3px solid var(--accent-gold);
    padding-left: 20px;
}

/* Achievement counters — 2x2 on left */
.achievement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background-color: rgba(179, 139, 77, 0.15);
    border-radius: 6px;
    overflow: hidden;
}

.achievement-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    background-color: #fff;
    transition: background 0.35s ease;
    gap: 8px;
}

.achievement-card:hover {
    background-color: #fdf8f0;
}

.achievement-number {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 3.5vw, 3.6rem);
    color: var(--accent-gold);
    line-height: 1;
    display: block;
}

.achievement-plus {
    font-size: 1.5rem;
    color: rgba(179, 139, 77, 0.6);
    vertical-align: super;
    margin-left: 1px;
}

.achievement-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.5;
    display: block;
}

/* CTA Button */
.legacy-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background-color: var(--text-primary);
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: background 0.35s ease, transform 0.3s ease;
    align-self: flex-start;
}

.legacy-cta-btn:hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* RIGHT COLUMN */
.legacy-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Image Frame */
.legacy-img-frame {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.legacy-img-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease;
}

.legacy-img-frame:hover img {
    transform: scale(1.04);
}

.legacy-img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-left: 3px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.badge-year {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-gold);
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Pillars on right side */
.legacy-pillars {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pillar-item {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 24px;
    background: #fff;
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.pillar-item:hover {
    border-left-color: var(--accent-gold);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(179, 139, 77, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.pillar-item:hover .pillar-icon {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
}

.pillar-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.pillar-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.legacy-cta {
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Portfolio Slider Section
   ========================================================================== */
.portfolio {
    padding: var(--section-pad) 0;
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.slider-nav {
    display: flex;
    gap: 20px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background-color: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
}

.portfolio-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px 25px;
    border-radius: 30px;
    font-family: var(--font-primary, sans-serif);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

.portfolio-slider {
    padding-left: calc((100vw - var(--container-max)) / 2 + 40px);
    padding-right: 40px;
    padding-bottom: 50px;
}

.project-card {
    position: relative;
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3 / 4;
    margin-bottom: 25px;
    background-color: #f8f9fa;
    /* Clean light background to frame the uncropped images */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    /* Adds breathing room so the building doesn't touch the edges */
    display: block;
    transition: transform 1s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 5px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Journey Timeline Section (Light Horizontal Zig-Zag)
   ========================================================================== */
.journey-section {
    background: var(--gradient-bg-rich);
    /* Rich glowing backdrop */
    padding: 110px 0 0;
    overflow: hidden;
}

.journey-label {
    color: var(--accent-gold) !important;
}

/* Header: split 2-col */
.journey-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    padding-bottom: 50px;
}

.journey-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.04;
    background: linear-gradient(135deg, #0c0906 0%, #2f2219 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 14px;
    letter-spacing: -0.02em;
}

.journey-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 24px;
}

.journey-scroll-hint {
    font-size: 0.78rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: inline-block;
    font-weight: 600;
}

/* Horizontal Scrollable Timeline Track */
.journey-track-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0 0 40px;
    scrollbar-width: none;
    /* Firefox */
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.journey-track-wrapper:active {
    cursor: grabbing;
}

.journey-track-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

/* Track Container */
.journey-track {
    display: flex;
    align-items: center;
    /* Center everything vertically */
    height: 700px;
    /* Increased space to prevent card clipping */
    position: relative;
    padding: 0 calc((100vw - var(--container-max)) / 2 + 20px);
    min-width: max-content;
}

/* The Line */
.journey-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(179, 139, 77, 0.3) 5%,
            rgba(179, 139, 77, 0.6) 50%,
            rgba(179, 139, 77, 0.3) 95%,
            transparent 100%);
    transform: translateY(-50%);
    z-index: 0;
}

/* Node Container */
.hz-node {
    width: 320px;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

/* The Center Dot */
.hz-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.hz-node:hover .hz-dot {
    background: var(--accent-gold);
    box-shadow: 0 0 0 6px rgba(179, 139, 77, 0.15);
}

.hz-dot--gold {
    background: var(--accent-gold);
}

.hz-dot--active {
    width: 18px;
    height: 18px;
    background: var(--accent-gold);
    border: 4px solid #fff;
    box-shadow: 0 0 0 6px rgba(179, 139, 77, 0.2);
    animation: pulse-hz 2s infinite;
}

@keyframes pulse-hz {

    0%,
    100% {
        box-shadow: 0 0 0 6px rgba(179, 139, 77, 0.2);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(179, 139, 77, 0.05);
    }
}

.hz-dot--future {
    background: #f6f4f0;
    border: 2px dashed rgba(179, 139, 77, 0.5);
}

/* Vertical Connector Line */
.hz-connector {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 45px;
    background: rgba(179, 139, 77, 0.4);
    transform: translateX(-50%);
    z-index: 0;
    transition: background 0.3s ease;
}

.hz-node:hover .hz-connector {
    background: var(--accent-gold);
}

.hz-node--up .hz-connector {
    bottom: 50%;
}

.hz-node--down .hz-connector {
    top: 50%;
}

/* Content Box (Year + Card) */
.hz-content {
    position: absolute;
    width: 280px;
    left: 50%;
    transform: translateX(-50%);
}

.hz-node--up .hz-content {
    bottom: calc(50% + 45px);
}

.hz-node--down .hz-content {
    top: calc(50% + 45px);
}

/* Vertical Year Label */
.hz-year {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(179, 139, 77, 0.7);
    position: absolute;
    bottom: 20px;
    right: -25px;
    /* Overlaps outside the card */
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    z-index: 3;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.hz-node:hover .hz-year {
    color: var(--accent-gold);
    transform: rotate(180deg) translateY(5px);
}

/* White Card Design */
.hz-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(179, 139, 77, 0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.hz-node:hover .hz-card {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(179, 139, 77, 0.4);
}

.hz-node--up:hover .hz-card {
    transform: translateY(-4px);
}

.hz-node--down:hover .hz-card {
    transform: translateY(4px);
}

/* Card Variants */
.hz-card--gold {
    background: linear-gradient(to bottom right, #fff, #fdfbf7);
    border: 1px solid rgba(179, 139, 77, 0.3);
}

.hz-card--active {
    background: linear-gradient(to bottom right, #fff, #fcfaf5);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 12px 35px rgba(179, 139, 77, 0.15);
}

.hz-card--future {
    background: transparent;
    border: 1px dashed rgba(179, 139, 77, 0.3);
    box-shadow: none;
    opacity: 0.7;
}

/* Card Content Typography */
.hz-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    background: #f0ece4;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
}

.hz-tag--gold {
    background: rgba(179, 139, 77, 0.15);
    color: var(--accent-gold);
}

.hz-tag--active {
    background: var(--accent-gold);
    color: #fff;
}

.hz-tag--future {
    background: transparent;
    border: 1px solid rgba(179, 139, 77, 0.3);
}

.hz-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hz-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.hz-link {
    color: var(--accent-gold);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 500;
}

.hz-link:hover {
    color: var(--text-primary);
}



/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--text-primary);
    color: #fff;
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-logo {
    height: 90px;
    margin-bottom: 30px;
    background-color: #fff;
    /* White background to make original logo visible on dark footer */
    padding: 10px;
    border-radius: 4px;
}

.footer-desc {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 400px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-contact h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.footer-contact p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 10px;
}

.hover-link {
    position: relative;
    display: inline-block;
}

.hover-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.hover-link:hover::after {
    width: 100%;
}

.hover-link:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: #777;
}

.footer-links a {
    margin-left: 30px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* ==========================================================================
   Contact Form & Floating Actions
   ========================================================================== */
.contact-form-container {
    background-color: rgba(255, 255, 255, 0.05);
    /* Premium glassmorphism dark background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    position: relative;
    z-index: 10;
    border-radius: 4px;
}

.contact-form-container h3 {
    color: #ffffff;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-body);
    font-size: 1rem;
    color: #ffffff;
    /* Explicit white text for dark background */
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.btn-solid-gold {
    background: var(--gradient-gold);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(198, 156, 80, 0.15);
}

.btn-solid-gold:hover {
    background: linear-gradient(135deg, #c69c50 0%, #aa7e2a 100%);
    box-shadow: 0 8px 25px rgba(198, 156, 80, 0.25);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.floating-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-call {
    background: var(--gradient-gold);
    box-shadow: 0 8px 25px rgba(198, 156, 80, 0.35);
}

.btn-call:hover {
    box-shadow: 0 12px 30px rgba(198, 156, 80, 0.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .layout-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .journey-header {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 30px;
    }

    .nav-links {
        gap: 22px;
    }

    .nav-links a {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    .brand-title {
        font-size: 1.55rem;
    }

    .brand-logo img {
        height: 68px;
    }

    .sticky-content {
        position: relative;
        top: 0;
    }

    .portfolio-slider {
        padding-left: 40px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .amenity-item.large {
        grid-column: span 1;
        height: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 12vw;
    }

    /* Legacy Section */
    .legacy-two-col {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .legacy-left {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-wrapper,
    .portfolio-slider {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-wrapper {
        gap: 14px;
        position: relative;
        padding-right: 76px;
    }

    .site-nav {
        position: sticky;
        top: 0;
        padding: 8px 0;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
    }

    .site-nav.scrolled {
        padding: 8px 0;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
    }

    .site-nav.scrolled .line {
        box-shadow: none;
    }

    .brand-logo img {
        height: 62px;
    }

    .brand-divider {
        height: 38px;
    }

    .brand-title {
        font-size: 1.15rem;
        line-height: 1.05;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex !important;
        margin-left: auto;
        position: fixed;
        top: 17px;
        right: 20px;
        transform: none;
        z-index: 1002;
    }

    .menu-toggle::before {
        content: '\2630';
        color: var(--text-primary);
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1;
    }

    .menu-toggle.active::before {
        content: '\00d7';
    }

    .hamburger-lines {
        display: none;
    }

    .line {
        background-color: var(--text-primary) !important;
        height: 2px;
    }

    .hero {
        height: 100vh;
        min-height: 0;
    }

    .section-heading {
        font-size: 2.2rem;
        word-break: break-word;
        /* Prevent long words from overflowing */
    }

    .menu-link {
        font-size: 2.5rem;
    }

    /* Stack philosophy grid on mobile */
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Override inline span for customer centricity */
    .value-box[style] {
        grid-column: span 1 !important;
    }

    /* Footer responsiveness */
    .footer-grid {
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-logo {
        height: 70px;
    }

    .social-links {
        gap: 15px;
    }

    .contact-form-container {
        padding: 30px 20px;
        margin-top: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }

    .stats-row {
        gap: 30px;
        flex-direction: column;
        text-align: left;
    }

    /* Legacy section mobile */
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievement-card {
        padding: 30px 22px;
    }

    .legacy-pillars {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .legacy-section {
        padding: 80px 0;
    }

    .legacy-inner {
        gap: 50px;
    }

    /* Journey Section Mobile */
    .journey-section {
        padding: 80px 0 0;
    }

    .journey-track {
        height: 750px;
        /* Allow cards to wrap text safely */
    }

    .hz-node {
        width: 290px;
    }

    .hz-content {
        width: 250px;
    }

    .hz-card {
        padding: 24px 20px;
    }

    .floating-actions {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    /* Disable custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none;
    }

    * {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .nav-wrapper {
        padding-left: 16px;
        padding-right: 68px;
        gap: 10px;
    }

    .brand-logo {
        gap: 10px;
    }

    .brand-logo img {
        height: 54px;
    }

    .brand-divider {
        height: 32px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        top: 17px;
        right: auto;
        left: min(calc(100vw - 60px), 330px);
    }

}

@media (max-width: 520px) {
    .menu-toggle {
        right: auto;
        left: min(calc(100vw - 60px), 330px);
    }
}