/* ==========================================
   INDRAS MIRROR - ENHANCED EDITION
   Pywal Dark Theme with Modern Enhancements
   ========================================== */

/* ===== CSS Variables ===== */
:root {
    /* Core Pywal Colors */
    --bg-primary: #111015;
    --bg-secondary: #0a0a0f;
    --bg-card: #16161d;
    --bg-elevated: #1e1e28;
    --bg-glass: rgba(17, 16, 21, 0.85);

    /* Text Colors */
    --text-primary: #a2c0c4;
    --text-secondary: #7a8a94;
    --text-muted: #5a6a78;

    /* Accent Colors - Pywal Palette */
    --accent-blue: #6D8579;
    --accent-blue-glow: rgba(109, 133, 121, 0.4);
    --accent-teal: #377189;
    --accent-teal-glow: rgba(55, 113, 137, 0.4);
    --accent-gold: #CF9E58;
    --accent-gold-glow: rgba(207, 158, 88, 0.4);
    --accent-orange: #A3552F;
    --accent-rust: #AA6038;

    /* Enhanced Gradients */
    --gradient-teal: linear-gradient(135deg, #6D8579 0%, #377189 50%, #CF9E58 100%);
    --gradient-radial-blue: radial-gradient(circle, rgba(109, 133, 121, 0.2), transparent 70%);
    --gradient-radial-gold: radial-gradient(circle, rgba(207, 158, 88, 0.15), transparent 60%);
    --gradient-mesh: 
        radial-gradient(at 0% 0%, rgba(109, 133, 121, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(207, 158, 88, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(55, 113, 137, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(163, 85, 47, 0.1) 0px, transparent 50%);

    /* Borders */
    --border-color: rgba(162, 192, 196, 0.08);
    --border-hover: rgba(109, 133, 121, 0.4);
    --border-glow: rgba(109, 133, 121, 0.2);

    /* Enhanced Shadows */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 60px rgba(109, 133, 121, 0.2);
    --shadow-glow-gold: 0 0 60px rgba(207, 158, 88, 0.2);

    /* Animation Easings */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Enhanced Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
}

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

/* ===== Container ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Enhanced Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s var(--ease-smooth);
}

.header.scrolled {
    background: rgba(17, 16, 21, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo img {
    height: 45px;
    filter: drop-shadow(0 0 15px var(--accent-blue-glow));
    transition: all 0.3s var(--ease-smooth);
}

.logo:hover img {
    filter: drop-shadow(0 0 25px var(--accent-blue-glow));
    transform: scale(1.05);
}

/* ===== Enhanced Navigation ===== */
.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
    transition: all 0.3s var(--ease-smooth);
}

.nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    right: -10px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(109, 133, 121, 0.1), transparent);
    border-radius: 20px;
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
    transition: all 0.3s var(--ease-smooth);
    z-index: -1;
}

.nav a:hover::before,
.nav a.active::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.nav a:hover,
.nav a.active {
    color: var(--text-primary);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-teal);
    transition: all 0.3s var(--ease-smooth);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.desktop-nav {
    display: flex;
}

/* ===== Enhanced Mobile Menu ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    backdrop-filter: blur(30px) saturate(200%);
    z-index: 999;
    padding: 100px 30px 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-smooth);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.mobile-nav a {
    display: block;
    padding: 18px 25px;
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s var(--ease-smooth);
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-nav.active a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.active a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.active a:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav.active a:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav.active a:nth-child(8) { transition-delay: 0.45s; }
.mobile-nav.active a:nth-child(9) { transition-delay: 0.5s; }
.mobile-nav.active a:nth-child(10) { transition-delay: 0.55s; }

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--text-primary);
    background: rgba(109, 133, 121, 0.15);
    border-color: var(--accent-blue);
    transform: translateX(10px);
}

/* ===== Enhanced Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Animated cosmic background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200vmax;
    height: 200vmax;
    background:
        radial-gradient(circle at 30% 30%, var(--accent-blue-glow) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, var(--accent-gold-glow) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, var(--accent-teal-glow) 0%, transparent 45%);
    transform: translate(-50%, -50%);
    animation: pulse-cosmic 10s ease-in-out infinite;
}

@keyframes pulse-cosmic {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    33% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.05) rotate(2deg);
    }
    66% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.98) rotate(-1deg);
    }
}

/* Enhanced fractal/mandala */
.fractal-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vmin;
    height: 80vmin;
    transform: translate(-50%, -50%);
    opacity: 0.12;
    pointer-events: none;
}

.fractal {
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        var(--accent-blue) 0deg,
        transparent 40deg,
        var(--accent-teal) 80deg,
        transparent 120deg,
        var(--accent-gold) 160deg,
        transparent 200deg,
        var(--accent-rust) 240deg,
        transparent 280deg,
        var(--accent-blue) 360deg
    );
    border-radius: 50%;
    filter: blur(60px);
    animation: rotate-fractal 30s linear infinite;
}

@keyframes rotate-fractal {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

/* Enhanced hero title */
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    animation: titleReveal 1s var(--ease-expo) forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    animation: subtitleReveal 1s var(--ease-expo) 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.hero-small {
    min-height: 50vh;
    padding: 100px 0 60px;
}

.hero-small h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* ===== Enhanced Sections ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section > .container > .content-block h2:first-child,
.section > .container > h2:first-child {
    margin-top: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-smooth);
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 60px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-smooth) 0.1s;
}

.section-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.bg-light {
    background: var(--bg-secondary);
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* ===== Content Block ===== */
.content-block {
    max-width: 850px;
    margin: 0 auto;
}

.content-block h2 {
    margin-bottom: 30px;
    margin-top: 40px;
}

.content-block h3 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.content-block p {
    margin-bottom: 25px;
}

/* About section spacing */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.content-block h2 {
    margin-bottom: 30px;
    margin-top: 60px;
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block h3 {
    margin-top: 45px;
    margin-bottom: 25px;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.85;
}

/* About section spacing */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    margin-top: 35px;
    margin-bottom: 20px;
}

.about-text p + h3 {
    margin-top: 30px;
}

/* ===== Enhanced Cards ===== */
.grid {
    display: grid;
    gap: 35px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 35px;
    transition: all 0.5s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth);
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-8px);
}

.card:hover::before {
    opacity: 0.5;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card h3 {
    margin-bottom: 18px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 15px;
}

/* Staggered animation for cards */
.grid .card:nth-child(1) { transition-delay: 0.1s; }
.grid .card:nth-child(2) { transition-delay: 0.2s; }
.grid .card:nth-child(3) { transition-delay: 0.3s; }
.grid .card:nth-child(4) { transition-delay: 0.4s; }
.grid .card:nth-child(5) { transition-delay: 0.5s; }
.grid .card:nth-child(6) { transition-delay: 0.6s; }

/* ===== Enhanced Image Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    opacity: 0;
    transform: scale(0.9);
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}

.gallery-item::after {
    content: 'View';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--gradient-teal);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: all 0.3s var(--ease-smooth);
    z-index: 2;
}

.gallery-item:hover {
    border-color: var(--accent-blue);
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.gallery-item:hover::before,
.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover::after {
    transform: translateX(-50%) translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.6s var(--ease-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Staggered animation for gallery */
.gallery-grid .gallery-item:nth-child(1) { transition-delay: 0.1s; }
.gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.15s; }
.gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-grid .gallery-item:nth-child(4) { transition-delay: 0.25s; }
.gallery-grid .gallery-item:nth-child(5) { transition-delay: 0.3s; }
.gallery-grid .gallery-item:nth-child(6) { transition-delay: 0.35s; }

/* ===== Enhanced Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 15, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-smooth);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-smooth);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: -20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-smooth);
    border-radius: 50%;
}

.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
    color: var(--accent-gold);
    background: rgba(207, 158, 88, 0.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(109, 133, 121, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s var(--ease-smooth);
    opacity: 0;
}

.lightbox:hover .lightbox-nav {
    opacity: 1;
}

.lightbox-nav:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ===== Enhanced Buttons ===== */
.btn {
    display: inline-block;
    padding: 18px 45px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-smooth);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-teal);
    color: #ffffff;
    box-shadow: 0 4px 25px rgba(109, 133, 121, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(109, 133, 121, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: rgba(109, 133, 121, 0.1);
    transform: translateY(-3px);
}

/* ===== Enhanced CTA Section ===== */
.cta-section {
    background: var(--gradient-mesh), var(--gradient-teal);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Enhanced Footer ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-teal);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-muted);
}

.quote-source {
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 15px;
    color: var(--accent-gold);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s var(--ease-smooth);
}

.footer-section a::after {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s var(--ease-smooth);
}

.footer-section a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.footer-section a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Enhanced Social Links ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
}

.social-link {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-smooth);
    color: var(--text-primary);
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-teal);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.social-link svg,
.social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--ease-smooth);
}

.social-link:hover {
    border-color: transparent;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover svg,
.social-link:hover i {
    transform: scale(1.2);
    color: white;
}

/* ===== Scroll Progress Indicator ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-teal);
    z-index: 10001;
    transition: width 0.1s linear;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-smooth);
    z-index: 999;
    color: var(--text-primary);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ===== Loading Animation ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.5s var(--ease-smooth), visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: loaderSpin 1s linear infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

/* ===== Enhanced Responsive Design ===== */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 0 70px;
        min-height: auto;
    }

    .hero-small {
        min-height: auto;
        padding: 140px 0 90px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-subtitle {
        margin-bottom: 50px;
    }

    .content-block h2 {
        margin-top: 40px;
        margin-bottom: 25px;
    }

    .content-block h3 {
        margin-top: 30px;
        margin-bottom: 18px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lightbox-nav {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .card {
        padding: 30px 25px;
    }
    
    .gallery-item {
        aspect-ratio: 16/10;
    }
}

/* ===== Focus States ===== */
:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 3px;
}

/* ===== Hero CTA Buttons ===== */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    animation: subtitleReveal 1s var(--ease-expo) 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* ===== Quote Block ===== */
.quote-block {
    text-align: center;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.quote-attribution {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* ===== Card Links ===== */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 10px;
}

.card-link::after {
    content: '\2192';
    transition: transform 0.3s var(--ease-smooth);
}

.card:hover .card-link::after {
    transform: translateX(5px);
}

/* ===== Blog Cards ===== */
.blog-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    text-decoration: none;
    transition: all 0.4s var(--ease-smooth);
}

.blog-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-4px);
}

.blog-card-full {
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-teal);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(55, 113, 137, 0.05) 100%);
}

.blog-card h2,
.blog-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card-full h2 {
    font-size: 1.35rem;
}

.blog-card h3 {
    font-size: 1.3rem;
}

.blog-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.blog-card-tag {
    background: var(--accent-blue);
    color: var(--bg-primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.blog-card-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.blog-card-tags span {
    background: var(--bg-elevated);
    color: var(--accent-teal);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.blog-card-read {
    color: var(--accent-gold);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

/* ===== Blog Subscribe ===== */
.blog-subscribe {
    background: var(--gradient-teal);
    border-radius: 16px;
    padding: 50px 40px;
    margin: 50px 0;
    text-align: center;
}

.blog-subscribe h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.blog-subscribe p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Subscribe Form ===== */
.subscribe-form {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    min-width: 0;
}

.subscribe-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.6);
}

.subscribe-form button {
    padding: 14px 30px;
    background: white;
    color: var(--bg-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    white-space: nowrap;
}

.subscribe-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

/* ===== Coming Soon List ===== */
.coming-soon-list {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 25px;
    margin-bottom: 25px;
}

.coming-soon-list li {
    margin-bottom: 8px;
}

.coming-soon-list strong {
    color: var(--text-primary);
}

.coming-soon-cta {
    color: var(--text-muted);
    font-style: italic;
    margin-top: 20px;
}

/* ===== Feature Split (AI Freedom page) ===== */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.feature-content h3 {
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-content ul {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 25px;
    list-style: disc;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checklist-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s var(--ease-smooth);
}

.checklist-item:hover {
    border-color: var(--border-hover);
    transform: translateX(5px);
}

.checklist-item .check {
    color: var(--accent-gold);
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(207, 158, 88, 0.1);
    border-radius: 50%;
}

.checklist-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* ===== Use Case Cards ===== */
.use-case {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.4s var(--ease-smooth);
    opacity: 0;
    transform: translateY(20px);
}

.use-case.visible {
    opacity: 1;
    transform: translateY(0);
}

.use-case:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-4px);
}

.use-case h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.use-case p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== Responsive Tables (Blog Posts) ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95rem;
}

.comparison-table th {
    background: var(--bg-elevated);
    color: var(--accent-gold);
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.comparison-table tr:hover td {
    background: var(--bg-card);
}

/* ===== Additional Responsive Rules ===== */
@media (max-width: 900px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
        text-align: center;
    }

    .about-image img {
        max-width: 200px;
    }

    .feature-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title[style*="text-align: left"] {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .blog-card {
        padding: 25px 20px;
    }

    .blog-card-full h2 {
        font-size: 1.3rem;
    }

    .blog-card-tags {
        gap: 6px;
    }

    .blog-subscribe {
        padding: 35px 20px;
    }

    .blog-subscribe h3 {
        font-size: 1.4rem;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input[type="email"],
    .subscribe-form button {
        width: 100%;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Responsive tables */
    .stat-highlight {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        font-size: 0.85rem;
        min-width: 400px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
    }

    /* Blog post content */
    .code-block {
        font-size: 0.8rem;
        padding: 15px;
    }

    .checklist-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .blog-card-tags span {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== Article / Blog Post Body ===== */
.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--accent-gold);
    margin: 50px 0 20px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.article-body h2:first-of-type {
    border-top: none;
    margin-top: 0;
}

.article-body h3 {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin: 35px 0 15px;
}

.article-body p {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 18px;
}

.article-body strong {
    color: var(--text-primary);
}

.article-body code {
    font-family: 'Courier Prime', 'Courier New', monospace;
    color: var(--accent-gold);
    font-size: 0.9em;
    background: var(--bg-elevated);
    padding: 2px 6px;
    border-radius: 4px;
}

.article-body a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-decoration-color: rgba(109, 133, 121, 0.3);
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--accent-gold);
    text-decoration-color: var(--accent-gold);
}

.article-body blockquote {
    border-left: 4px solid var(--accent-gold);
    padding: 15px 20px;
    margin: 25px 0;
    color: var(--text-primary);
    font-style: italic;
    background: rgba(207, 158, 88, 0.05);
    border-radius: 0 8px 8px 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.article-list {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 25px;
    padding-left: 25px;
}

.article-list li {
    margin-bottom: 10px;
}

.article-list li strong {
    color: var(--text-primary);
}

.article-footer {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin: 50px 0 0;
    border-left: 4px solid var(--accent-gold);
}

.article-footer p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.article-footer .article-tags {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.article-footer .article-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0;
}

.summary-box {
    text-align: center;
    padding: 30px;
}

.summary-box p {
    margin-bottom: 10px;
}

.summary-box p:last-child {
    margin-bottom: 0;
}

/* ===== Code Blocks (Articles) ===== */
.code-block {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.7;
    -webkit-overflow-scrolling: touch;
}

.code-block code {
    font-family: 'Courier Prime', 'Courier New', monospace;
    color: var(--text-primary);
    background: none;
    padding: 0;
    white-space: pre;
}

.code-label {
    color: var(--accent-gold);
}

.code-cmd {
    color: var(--accent-gold);
}

.code-comment {
    color: var(--text-muted);
}

.winner {
    color: #4ade80;
    font-weight: bold;
}

.stat-highlight {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.05), rgba(55, 113, 137, 0.08));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ===== Video Containers ===== */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Service Detail Cards ===== */
.service-detail {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s var(--ease-smooth);
}

.service-detail:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-detail h3 {
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.service-detail p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== Contact Form Styling ===== */
.contact-form {
    margin-top: 40px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--bg-elevated);
    color: var(--text-primary);
    transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--accent-blue-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Page Content Styling (removes need for inline styles) ===== */
.page-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent-gold);
    margin: 40px 0 20px;
}

.page-heading:first-child {
    margin-top: 0;
}

.page-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.page-list {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 25px;
    margin-bottom: 25px;
}

.page-list li {
    margin-bottom: 6px;
}

.page-list strong {
    color: var(--text-primary);
}

/* ===== Section Accent Headings ===== */
.accent-heading {
    color: var(--accent-gold);
    margin: 30px 0 15px;
}

.accent-heading-blue {
    color: var(--accent-blue);
    margin: 30px 0 15px;
}

/* ===== Responsive Article ===== */
@media (max-width: 768px) {
    .article-body h2 {
        font-size: 1.35rem;
        margin: 40px 0 15px;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .video-container {
        margin: 25px 0;
    }
}

/* ===== Video Cards (Animations Page) ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.video-grid .video-card:first-child {
    grid-column: 1 / -1;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.video-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.video-card .video-container {
    margin: 0;
    border-radius: 0;
    border: none;
}

.video-card-info {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.video-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.video-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ===== Section Break Images ===== */
.section-image {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    margin: 35px auto;
    display: block;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
