/* ===================================
   AACHARYA SHRI NAYPADMASAGAR JI
   Complete Design System
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ===== CSS Variables ===== */
:root {
    /* Primary Palette */
    --saffron: #E8A317;
    --saffron-light: #F5C842;
    --saffron-dark: #C4870E;
    --gold: #D4A843;
    --gold-light: #F0D68A;
    --gold-dark: #A07D2A;

    /* Neutral Palette */
    --cream: #FFF9F0;
    --cream-light: #FFFDF8;
    --ivory: #FEFCF3;
    --warm-white: #FAF7F2;
    --warm-gray: #8A7E6B;
    --warm-gray-light: #B8AE9C;
    --charcoal: #2A2520;
    --charcoal-light: #3D3630;
    --dark-brown: #4A3F35;

    /* Accent Colors */
    --burgundy: #8B1A2B;
    --burgundy-light: #A52A3A;
    --deep-green: #2D5A3C;
    --terra-cotta: #C87941;
    --rust: #B8602A;

    /* Typography */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Cormorant Garamond', 'Georgia', serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(42, 37, 32, 0.06);
    --shadow-md: 0 4px 20px rgba(42, 37, 32, 0.1);
    --shadow-lg: 0 8px 40px rgba(42, 37, 32, 0.12);
    --shadow-xl: 0 16px 64px rgba(42, 37, 32, 0.16);
    --shadow-gold: 0 4px 20px rgba(212, 168, 67, 0.25);
    --shadow-glow: 0 0 40px rgba(232, 163, 23, 0.15);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 800px;
    --max-width-wide: 1400px;
    --nav-height: 80px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--saffron-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--saffron);
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-brown);
    margin-bottom: var(--space-md);
}

.text-accent {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--warm-gray);
}

.text-gold {
    color: var(--saffron);
}

.text-burgundy {
    color: var(--burgundy);
}

/* ===== Section Label (Decorative) ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--saffron-dark);
    margin-bottom: var(--space-lg);
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--warm-gray);
    font-style: italic;
    max-width: 600px;
    margin-bottom: var(--space-2xl);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    padding: 0 var(--space-xl);
}

.navbar.transparent {
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 249, 240, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.nav-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
}

.navbar.transparent .nav-logo-text {
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
}

.nav-links a {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.navbar.transparent .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

.navbar.transparent .nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a:hover {
    color: var(--saffron-dark);
    background: rgba(232, 163, 23, 0.08);
}

.nav-links a.active {
    color: var(--saffron-dark);
    background: rgba(232, 163, 23, 0.1);
    font-weight: 600;
}

.navbar.transparent .nav-links a.active {
    color: var(--saffron-light);
    background: rgba(255, 255, 255, 0.15);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.navbar.transparent .nav-hamburger span {
    background: white;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(42, 37, 32, 0.3) 0%,
            rgba(42, 37, 32, 0.5) 40%,
            rgba(42, 37, 32, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-xl);
    max-width: 900px;
}

.hero h1 {
    color: white;
    font-size: clamp(2.8rem, 6vw, 5rem);
    margin-bottom: var(--space-md);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero .hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: var(--gold-light);
    font-style: italic;
    margin-bottom: var(--space-2xl);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    margin: 0 auto var(--space-xl);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-gold);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 163, 23, 0.4);
    color: white;
}

/* Sub-page hero */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.page-hero .hero-content {
    padding: var(--space-3xl) var(--space-xl);
}

.page-hero h1 {
    color: white;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-hero .hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--gold-light);
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ===== Section Layout ===== */
.section {
    padding: var(--space-4xl) var(--space-xl);
}

.section-alt {
    background: var(--warm-white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

.container-wide {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

/* ===== Cards ===== */
.card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(212, 168, 67, 0.1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 168, 67, 0.25);
}

.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--space-xl);
}

.card-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(232, 163, 23, 0.1);
    color: var(--saffron-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: var(--space-md);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.card-text {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--saffron-dark);
}

.card-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-xl);
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

/* ===== Stats Bar ===== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    padding: var(--space-3xl) var(--space-xl);
    background: linear-gradient(135deg, var(--charcoal), var(--charcoal-light));
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--saffron-light), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Quote Block ===== */
.quote-block {
    background: linear-gradient(135deg, var(--charcoal), var(--dark-brown));
    padding: var(--space-4xl);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 40px;
    font-family: var(--font-heading);
    font-size: 12rem;
    color: rgba(232, 163, 23, 0.08);
    line-height: 1;
}

.quote-text {
    font-family: var(--font-accent);
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--gold-light);
    font-style: italic;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    position: relative;
    z-index: 1;
}

.quote-author {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding: var(--space-xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-light), var(--saffron), var(--gold-light));
    top: 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-3xl);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 168, 67, 0.15);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--saffron);
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 3px var(--saffron);
    z-index: 2;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--saffron-dark);
    margin-bottom: var(--space-sm);
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.timeline-text {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ===== Feature Section (Text + Image) ===== */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse>* {
    direction: ltr;
}

.feature-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-image:hover img {
    transform: scale(1.03);
}

.feature-content h3 {
    margin-bottom: var(--space-md);
}

.feature-content p {
    margin-bottom: var(--space-md);
}

/* ===== Icon Cards ===== */
.icon-card {
    text-align: center;
    padding: var(--space-2xl);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(212, 168, 67, 0.1);
}

.icon-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.icon-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.icon-card h4 {
    margin-bottom: var(--space-sm);
}

.icon-card p {
    font-size: 0.92rem;
    color: var(--warm-gray);
}

/* ===== Info Box ===== */
.info-box {
    background: linear-gradient(135deg, rgba(232, 163, 23, 0.06), rgba(212, 168, 67, 0.08));
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-left: 4px solid var(--saffron);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    margin: var(--space-xl) 0;
}

.info-box h4 {
    color: var(--saffron-dark);
    margin-bottom: var(--space-sm);
}

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(42, 37, 32, 0.5));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--gold-light);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Footer ===== */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) var(--space-xl) var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    max-width: var(--max-width);
    margin: 0 auto;
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--space-sm);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: var(--space-2xl) auto 0;
    padding-top: var(--space-xl);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
}

.footer-bottom .footer-dedication {
    font-style: italic;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-md);
}

.footer-bottom .footer-jai {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--space-md);
}

.footer-credit-bar {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(232, 163, 23, 0.12);
    border-radius: 50px;
    margin: var(--space-sm) auto;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-credit-bar a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-credit-bar a:hover {
    color: var(--gold-light);
}

.footer-credit-bar .dot {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.5rem;
}

@media (max-width: 600px) {
    .footer-credit-bar {
        padding: 10px 16px;
        border-radius: 12px;
        gap: 6px;
    }
}

.footer-om {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: var(--space-sm);
}

/* ===== Decorative Elements ===== */
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--saffron), var(--gold));
    margin: var(--space-lg) 0;
    border-radius: 3px;
}

.divider-center {
    margin-left: auto;
    margin-right: auto;
}

.ornament {
    text-align: center;
    color: var(--gold);
    font-size: 1.5rem;
    margin: var(--space-xl) 0;
    opacity: 0.5;
}

/* Gold decorative line */
.gold-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--saffron), var(--gold), transparent);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    color: white;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 163, 23, 0.35);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--saffron-dark);
    border: 2px solid var(--saffron);
}

.btn-outline:hover {
    background: var(--saffron);
    color: white;
}

.btn-white {
    background: white;
    color: var(--charcoal);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--charcoal);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ===== Keyframe Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(232, 163, 23, 0.15);
    }

    50% {
        box-shadow: 0 0 40px rgba(232, 163, 23, 0.3);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== Particle Background ===== */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(232, 163, 23, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* ===== Content Sections ===== */
.content-section {
    padding: var(--space-2xl) 0;
}

.content-section h2 {
    margin-bottom: var(--space-lg);
}

.content-section h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.content-section p {
    margin-bottom: var(--space-md);
}

.content-section ul,
.content-section ol {
    margin-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.content-section li {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
    color: var(--dark-brown);
}

/* ===== Map Placeholder ===== */
.map-container {
    background: linear-gradient(135deg, #e8e0d2, #f5ede0);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid rgba(212, 168, 67, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.map-container svg {
    max-width: 100%;
    height: auto;
}

.map-img-wrap {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(42, 37, 32, 0.12);
    transition: var(--transition-normal);
    max-width: 420px;
    width: 100%;
}

.map-img-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(42, 37, 32, 0.18);
}

.map-img-wrap img {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

.map-img-wrap .map-enlarge-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(42, 37, 32, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(4px);
    transition: var(--transition-fast);
    pointer-events: none;
}

.map-img-wrap:hover .map-enlarge-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.map-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(42, 37, 32, 0.92);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}

.map-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.map-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.map-lightbox.active img {
    transform: scale(1);
}

.map-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.map-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
        z-index: 999;
        gap: 0;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        padding: var(--space-md);
        font-size: 1rem;
        border-bottom: 1px solid rgba(212, 168, 67, 0.1);
        border-radius: 0;
        color: var(--charcoal) !important;
    }

    .nav-hamburger {
        display: flex;
    }

    .navbar.transparent .nav-hamburger.active span {
        background: var(--charcoal);
    }

    .cards-grid,
    .cards-grid-3,
    .cards-grid-2 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-3xl) var(--space-md);
    }

    .hero-content {
        padding: var(--space-md);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 50px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 20px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
        padding: var(--space-2xl) var(--space-md);
    }

    .quote-block {
        padding: var(--space-2xl);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* ===== Mobile menu overlay ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(42, 37, 32, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== Scroll to top button ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-gold);
    z-index: 99;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
    pointer-events: none;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 163, 23, 0.4);
}

/* ===== Loading State ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(232, 163, 23, 0.2);
    border-top-color: var(--saffron);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Language Switcher ===== */
.lang-switcher {
    position: relative;
    margin-left: var(--space-md);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 6px 14px;
    background: rgba(232, 163, 23, 0.12);
    border: 1px solid rgba(232, 163, 23, 0.25);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--saffron-dark);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.navbar.transparent .lang-btn {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.lang-btn:hover {
    background: rgba(232, 163, 23, 0.2);
    border-color: var(--saffron);
}

.navbar.transparent .lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn .lang-icon {
    font-size: 1rem;
}

.lang-btn .lang-arrow {
    font-size: 0.6rem;
    transition: transform var(--transition-fast);
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 168, 67, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition-fast);
    min-width: 150px;
    z-index: 1002;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.lang-option:hover {
    background: rgba(232, 163, 23, 0.08);
    color: var(--saffron-dark);
}

.lang-option.active {
    background: rgba(232, 163, 23, 0.1);
    color: var(--saffron-dark);
    font-weight: 600;
}

.lang-option .check {
    margin-left: auto;
    opacity: 0;
}

.lang-option.active .check {
    opacity: 1;
}

/* ===== Gradient Hero Backgrounds ===== */
.page-hero.hero-gradient-jito {
    background: linear-gradient(135deg, #2A2520 0%, #3D3630 30%, #4A3F35 60%, #2A2520 100%);
}

.page-hero.hero-gradient-jito .hero-overlay {
    background: linear-gradient(180deg,
            rgba(42, 37, 32, 0.1) 0%,
            rgba(42, 37, 32, 0.3) 100%);
}

.page-hero.hero-gradient-social {
    background: linear-gradient(135deg, #2D5A3C 0%, #3D6B4C 30%, #2A5035 60%, #1E4028 100%);
}

.page-hero.hero-gradient-timeline {
    background: linear-gradient(135deg, #4A3F35 0%, #5A4F45 30%, #3D3630 60%, #2A2520 100%);
}

.page-hero.hero-gradient-achievements {
    background: linear-gradient(135deg, #8B1A2B 0%, #A52A3A 30%, #7A1525 60%, #5A0F1A 100%);
}

/* Explore cards (icon-based, no images) */
.explore-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-2xl) var(--space-lg);
    background: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(212, 168, 67, 0.1);
    text-align: center;
}

.explore-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 163, 23, 0.3);
    color: inherit;
}

.explore-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: var(--shadow-gold);
}

.explore-card h4 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
    color: var(--charcoal);
}

.explore-card p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.explore-card .card-link {
    margin-top: auto;
    font-size: 0.85rem;
}

/* Map container */
.map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: var(--space-md);
    }

    .lang-dropdown {
        right: auto;
        left: 0;
    }
}