@layer legacy {
/* 
========================================
Design System & Variables (Original Heritage Palette)
========================================
*/
:root {
    /* Main Client Colors */
    --terracotta: #8B3224;
    /* Original Rust Red */
    --terracotta-dark: #6B2317;
    --terracotta-light: #A74231;

    --sand-bg: #F3ECE2;
    /* Soft warm clay/sand background */
    --sand-light: #FBF8F4;
    /* Creamy Sand */
    --sand-ochre: #A5896C;
    /* Sandy Ochre from middle slide card */
    --olive-green: #576451;
    /* Sage/Olive Green from right slide card */

    --text-dark: #2A1F1B;
    /* Deep warm espresso/charcoal */
    --text-muted: #62504B;
    /* Muted warm clay */
    --white: #FFFFFF;

    /* Layout Tokens */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* Elegant Subtle Shadows */
    --shadow-heritage: 0 10px 30px rgba(139, 50, 36, 0.05);
    --shadow-active: 0 20px 45px rgba(139, 50, 36, 0.12);
}

/* 
========================================
Global & Base Styles
========================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    background-color: var(--sand-bg);
    color: var(--text-dark);
}

body {
    font-family: 'Alexandria', sans-serif;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--sand-light);
}

.bg-dark {
    background-color: var(--terracotta);
    color: var(--white);
}

/* Custom Scrollbar in Terracotta theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--sand-light);
}

::-webkit-scrollbar-thumb {
    background: var(--terracotta);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta-dark);
}

/* Scroll Progress indicator */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    background-color: var(--terracotta);
    width: 0%;
}

/* 
========================================
Typography
========================================
*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.6rem;
    font-weight: 800;
}

h3 {
    font-size: 1.8rem;
}

p {
    font-weight: 300;
    font-size: 1.05rem;
}

.section-title {
    margin-bottom: 70px;
}

.section-title.text-center {
    text-align: center;
}

.section-title .subtitle {
    display: inline-block;
    color: var(--terracotta);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
}

.section-title .subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--terracotta);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 15px auto 0;
}

/* 
========================================
Buttons (Original clay design)
========================================
*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 34px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 50, 36, 0.15);
}

.btn-primary:hover {
    background-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 50, 36, 0.25);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.btn-secondary:hover {
    background-color: var(--terracotta);
    color: var(--white);
    transform: translateY(-2px);
}

/* 
========================================
Header & Navigation (Sleek Terracotta Theme)
========================================
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(243, 236, 226, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(139, 50, 36, 0.05);
    border-bottom: 1px solid rgba(139, 50, 36, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.6rem;
    color: var(--white);
    font-weight: 800;
    transition: var(--transition-smooth);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--sand-bg);
    font-weight: 300;
    transition: var(--transition-smooth);
}

.header.scrolled .logo-title {
    color: var(--terracotta);
}

.header.scrolled .logo-subtitle {
    color: var(--text-muted);
}

.nav ul {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav a {
    color: var(--sand-light);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 6px 0;
}

.header.scrolled .nav a {
    color: var(--text-dark);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--terracotta);
    transition: var(--transition-fast);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a.active {
    color: var(--terracotta);
}

/* Mobile Toggle Lines */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1010;
}

.menu-toggle .bar {
    width: 28px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-smooth);
}

.header.scrolled .menu-toggle .bar {
    background-color: var(--terracotta);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 
========================================
Hero Section (Clay/Sunset Equestrian Theme)
========================================
*/
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img,
.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg-img {
    transform: scale(1.03);
    animation: slowZoom 25s infinite alternate;
}

@keyframes slowZoom {
    to {
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay using the terracotta client colors */
    background: linear-gradient(135deg, rgba(139, 50, 36, 0.8) 0%, rgba(139, 50, 36, 0.4) 50%, rgba(243, 236, 226, 0.1) 100%);
    z-index: 2;
}

/* Viewfinder Border Frame */
.viewfinder-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
    padding: 30px;
}

.vf-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: rgba(255, 255, 255, 0.25);
    border-style: solid;
    transition: var(--transition-smooth);
}

.vf-tl {
    top: 30px;
    left: 30px;
    border-width: 2px 0 0 2px;
}

.vf-tr {
    top: 30px;
    right: 30px;
    border-width: 2px 2px 0 0;
}

.vf-bl {
    bottom: 30px;
    left: 30px;
    border-width: 0 0 2px 2px;
}

.vf-br {
    bottom: 30px;
    right: 30px;
    border-width: 0 2px 2px 0;
}

.hero:hover .vf-corner {
    border-color: var(--sand-ochre);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: right;
    color: var(--white);
    max-width: 800px;
    margin-right: 0;
    margin-left: auto;
}

/* LTR override for hero content */
[dir="ltr"] .hero-content {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background-color: rgba(209, 165, 105, 0.12);
    filter: blur(120px);
    border-radius: 50%;
    z-index: -1;
    animation: glowPulse 8s infinite alternate;
    pointer-events: none;
}

@keyframes glowPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 1;
    }
}

.hero-meta-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(139, 50, 36, 0.5);
    color: var(--sand-light);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(139, 50, 36, 0.2);
}

.hero-subtitle {
    font-size: 2.2rem;
    color: var(--sand-ochre);
    font-weight: 300;
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Scroll Indicator icon */
.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--sand-light);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-down-btn span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-weight: 300;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-12px) translateX(-50%);
    }

    60% {
        transform: translateY(-6px) translateX(-50%);
    }
}

/* 
========================================
About & Heritage Showcase (Asymmetric Layouts)
========================================
*/
.about-grid-new {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.about-grid-new.reverse-layout {
    grid-template-columns: 0.9fr 1.1fr;
}

.section-badge {
    display: inline-block;
    color: var(--terracotta);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--terracotta);
    padding-bottom: 4px;
}

.section-heading {
    color: var(--terracotta);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.lead-paragraph {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(139, 50, 36, 0.1);
    padding-top: 30px;
}

.about-stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--terracotta);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Heritage Image Frame */
.about-visual {
    display: flex;
    justify-content: center;
}

.heritage-image-frame {
    position: relative;
    padding: 15px;
    background-color: var(--sand-light);
    border-radius: 4px;
    box-shadow: var(--shadow-heritage);
    transition: var(--transition-smooth);
}

.heritage-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.frame-border-gold {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--sand-ochre);
    pointer-events: none;
}

.image-caption {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-weight: 500;
}

.heritage-image-frame:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-active);
}

/* 
========================================
Interactive Split Columns (Business Model - Custom Slide concept)
========================================
*/
.business-model-section {
    padding: 100px 0 0 0;
}

.interactive-split-columns {
    display: flex;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-top: 60px;
}

.split-column {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px 48px;
    color: var(--white);
    cursor: pointer;
}

.pillar-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: var(--transition-smooth);
    opacity: 0.95;
    z-index: 1;
}

.pillar-olive {
    background-color: var(--olive-green);
}

.pillar-sand {
    background-color: var(--sand-ochre);
}

.pillar-terracotta {
    background-color: var(--terracotta);
}

.split-column .pillar-bg-overlay {
    background-color: inherit;
}

/* Distinct light card patterns in overlay background */
.split-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
    z-index: 2;
    opacity: 0.5;
}

.pillar-content {
    position: relative;
    z-index: 3;
    transition: var(--transition-smooth);
}

.pillar-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sand-light);
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

.split-column h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.pillar-summary {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Expanded contents show on active/hover */
.pillar-expanded-info {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.pillar-expanded-info ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pillar-expanded-info li {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 300;
}

.pillar-expanded-info i {
    color: var(--sand-light);
}

.pillar-action {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 3;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    opacity: 0.7;
    transition: var(--transition-fast);
}

/* Expanded Columns states */
.split-column.active,
.split-column:hover {
    flex: 2.2;
}

.split-column.active .pillar-expanded-info,
.split-column:hover .pillar-expanded-info {
    max-height: 250px;
    opacity: 1;
    margin-top: 30px;
}

.split-column.active .pillar-action,
.split-column:hover .pillar-action {
    opacity: 0;
    transform: translateY(-10px);
}

/* 
========================================
Horizontal Goals Scroller (Modular Step Cards)
========================================
*/
.horizontal-goals-scroller {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.goal-step-card {
    background-color: var(--sand-light);
    border: 1px solid rgba(139, 50, 36, 0.08);
    padding: 20px 20px 40px;
    border-radius: 4px;
    position: relative;
    box-shadow: var(--shadow-heritage);
    transition: var(--transition-smooth);
}

.step-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--terracotta);
    opacity: 0.2;
    display: block;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.goal-step-card h4 {
    font-size: 1.3rem;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.goal-step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Card Hover animation */
.goal-step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-active);
    border-color: var(--terracotta);
}

.goal-step-card:hover .step-num {
    opacity: 1;
}

.goal-image-container {
    width: 100%;
    height: 180px;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.goal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.goal-step-card:hover .goal-image-container img {
    transform: scale(1.08);
}

.goal-image-container .step-num {
    position: absolute;
    bottom: -10px;
    right: 15px;
    margin: 0;
    font-size: 4rem;
    color: var(--white);
    opacity: 0.85;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    line-height: 1;
    z-index: 2;
}

[dir="ltr"] .goal-image-container .step-num {
    right: auto;
    left: 15px;
}

/* 
========================================
Showcase Gallery & Video Box
========================================
*/
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.category-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--sand-light);
    padding: 20px 24px;
    border-radius: 4px;
    box-shadow: var(--shadow-heritage);
    transition: var(--transition-fast);
}

.cat-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--terracotta);
    width: 30px;
}

.category-list-item span:last-child {
    font-size: 1rem;
    font-weight: 500;
}

.category-list-item:hover {
    transform: translateX(-5px);
    border-right: 3px solid var(--terracotta);
}

/* Mockup frame with play button */
.heritage-video-mockup {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-active);
}

.visual-show-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 0 0 10px rgba(139, 50, 36, 0.2);
    transition: var(--transition-fast);
    padding-left: 5px;
    /* Alignment fix for play icon */
}

.heritage-video-mockup:hover .video-play-button {
    background-color: var(--white);
    color: var(--terracotta);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.05);
}

/* 
========================================
Partners Area (Call to Action)
========================================
*/
.partnership-cta {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.partnership-cta .btn {
    border: 2px solid var(--white);
}

.partnership-cta .btn:hover {
    background-color: var(--white);
    color: var(--terracotta);
}

/* 
========================================
Footer (Terracotta accent details)
========================================
*/
.footer {
    background-color: #1E1210;
    color: var(--white);
    padding: 90px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 40px;
}

.footer-brand h2 {
    color: var(--terracotta-light);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--sand-bg);
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--sand-bg);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--terracotta-light);
    padding-right: 6px;
}

.footer-contact p {
    color: var(--sand-bg);
    opacity: 0.8;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.2rem;
    color: var(--white);
}

.social-icons a:hover {
    background-color: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* 
========================================
Reveal Scrolling Animations
========================================
*/
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right.visible,
.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* 
========================================
Responsive Design
========================================
*/
@media (max-width: 992px) {
    .section {
        padding: 90px 0;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .about-grid-new,
    .about-grid-new.reverse-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .interactive-split-columns {
        height: auto;
        flex-direction: column;
    }

    .split-column {
        height: 320px;
    }

    .split-column.active,
    .split-column:hover {
        flex: 1;
        height: 420px;
    }

    .horizontal-goals-scroller {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    h2 {
        font-size: 1.8rem;
    }

    /* Viewfinder details on mobile */
    .viewfinder-frame {
        padding: 15px;
    }

    .vf-corner {
        width: 15px;
        height: 15px;
    }

    .vf-tl {
        top: 15px;
        left: 15px;
    }

    .vf-tr {
        top: 15px;
        right: 15px;
    }

    .vf-bl {
        bottom: 15px;
        left: 15px;
    }

    .vf-br {
        bottom: 15px;
        right: 15px;
    }

    /* Mobile Navigation menu */
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1E1210;
        padding: 0 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition-smooth);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav.active {
        padding: 20px;
        max-height: 600px;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav a {
        color: var(--sand-bg);
        display: block;
        padding: 10px 0;
    }

    /* Prevent mobile menu links from turning dark when header is scrolled */
    .header.scrolled .nav a {
        color: var(--sand-bg);
    }
    .header.scrolled .nav a:hover,
    .header.scrolled .nav a.active {
        color: var(--terracotta);
    }

    .header {
        padding: 16px 0;
        background-color: #1E1210;
    }

    .logo-title {
        font-size: 1.3rem;
        color: var(--white);
    }

    .logo-subtitle {
        color: var(--sand-bg);
    }

    /* Hero section */
    .hero {
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 1.05rem;
        margin-bottom: 35px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .about-visual .heritage-image-frame {
        width: 100%;
    }

    .heritage-img {
        height: 300px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .split-column {
        padding: 40px 24px;
    }

    .horizontal-goals-scroller {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .heritage-video-mockup .visual-show-img {
        height: 320px;
    }

    .video-play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-desc {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* 
========================================
Overlapping Image Grid Styling
========================================
*/
.overlapping-images-grid {
    position: relative;
    width: 100%;
    height: 480px;
    margin-top: 30px;
}

.overlap-img-box {
    position: absolute;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-heritage);
    transition: var(--transition-smooth);
    border: 1px solid rgba(139, 50, 36, 0.1);
}

.overlap-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.overlap-one {
    width: 75%;
    height: 340px;
    top: 0;
    right: 0;
    z-index: 2;
}

.overlap-two {
    width: 68%;
    height: 300px;
    bottom: 0;
    left: 0;
    z-index: 3;
}

.overlap-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--terracotta);
    color: var(--white);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 2px;
    z-index: 5;
}

/* Hover dynamic depth shifts */
.overlapping-images-grid:hover .overlap-one {
    transform: translate(15px, -15px);
    z-index: 4;
}

.overlapping-images-grid:hover .overlap-two {
    transform: translate(-15px, 15px);
    z-index: 2;
}

.overlapping-images-grid:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .overlapping-images-grid {
        height: 380px;
    }

    .overlap-one {
        width: 80%;
        height: 260px;
    }

    .overlap-two {
        width: 70%;
        height: 220px;
    }
}

/* LTR Support for English */
[dir="ltr"] .section-title .subtitle::after {
    left: 50%;
}

[dir="ltr"] .nav ul {
    padding-left: 0;
}

[dir="ltr"] .btn i.fa-long-arrow-alt-left {
    transform: rotate(180deg);
}

@media (min-width: 992px) {
    [dir="ltr"] .about-grid-new {
        grid-template-columns: 0.9fr 1.1fr;
    }

    [dir="ltr"] .about-grid-new.reverse-layout {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

[dir="ltr"] .pillar-action {
    left: auto;
    right: 40px;
}

[dir="ltr"] .goal-step-card {
    text-align: left;
}

/* Modern Language Switcher Button */
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(139, 50, 36, 0.08); /* Light Terracotta */
    color: var(--terracotta) !important;
    padding: 6px 14px !important;
    border-radius: 20px;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 50, 36, 0.15);
}
.lang-btn:hover {
    background-color: var(--terracotta);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(139, 50, 36, 0.2);
}
.lang-btn i {
    font-size: 0.9rem;
}

.goal-step-card {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 50, 36, 0.05);
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.goal-step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(139, 50, 36, 0.12);
    border-color: rgba(139, 50, 36, 0.2);
}
.goal-image-container {
    margin-bottom: 20px;
    border-radius: 0;
}
.goal-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.goal-step-card h4 {
    transition: color 0.3s ease;
    font-size: 1.25rem;
    padding: 0 24px;
    margin-bottom: 10px;
    font-weight: 800;
}
.goal-step-card:hover h4 {
    color: var(--terracotta-dark);
}
.goal-desc-text {
    padding: 0 24px 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}
.goal-hover-arrow {
    padding: 0 24px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--terracotta);
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.6;
    transform: translateX(0);
    transition: all 0.3s ease;
}
.goal-step-card:hover .goal-hover-arrow {
    opacity: 1;
    transform: translateX(-5px);
}
[dir="ltr"] .goal-step-card:hover .goal-hover-arrow {
    transform: translateX(5px);
}
/* Coming Soon Page Styles */
.coming-soon-hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.coming-soon-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.05);
    animation: subtleZoom 20s infinite alternate ease-in-out;
}

@keyframes subtleZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 50, 36, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 2;
}

.coming-soon-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 800px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.soon-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    animation: fadeInDown 1s ease-out;
}

.soon-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.soon-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    margin-top: 10px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.glass-box {
    margin-top: 40px;
    padding: 30px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.glass-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.header { background-color: transparent !important; }
.header.scrolled { background-color: rgba(26, 26, 26, 0.9) !important; border-bottom: 1px solid rgba(255,255,255,0.05); }
.header.scrolled .nav a { color: var(--white); }
.header.scrolled .logo-title { color: var(--white); }

/* 
========================================
Premium Tourist Card UI Components
========================================
*/
.bg-premium-pattern {
    background-color: var(--sand-bg);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%238b3224' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.premium-golden-text {
    background: linear-gradient(to right, #D1A569, #A5896C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.luxury-input {
    background-color: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(139, 50, 36, 0.2) !important;
    transition: all 0.3s ease !important;
}

.luxury-input:focus {
    background-color: #fff !important;
    border-color: var(--terracotta) !important;
    box-shadow: 0 0 0 3px rgba(139, 50, 36, 0.1) !important;
}

.btn-luxury {
    background-color: var(--terracotta);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-luxury:hover {
    background-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 50, 36, 0.2);
}
}
