/* ================= VALENTINE 2025 THEME ================= */
:root {
    /* VALENTINE RED COLOR PALETTE */
    --valentine-red: #D10047;
    --valentine-pink: #D10047;
    --valentine-soft: #FFF0F5;
    --valentine-light: #FFF0F5;
    --love-gold: #FFD700;

    /* Professional Colors */
    --bg-primary: #0a192f;
    --bg-secondary: #1e3a5f;
    --accent-cyan: #00b7ff;
    --accent-gold: #d4af37;
    --primary-dark: #09122a;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.7);

    /* Gradients */
    --gradient-valentine: linear-gradient(135deg, var(--valentine-red) 0%, #A00036 100%);
    --gradient-love: linear-gradient(45deg, var(--valentine-red), var(--love-gold), #FF1A6B);
    --gradient-hero: linear-gradient(135deg, #0a192f 0%, #1e3a5f 100%);

    /* Shadows */
    --shadow-soft: 0 18px 60px rgba(209, 0, 71, 0.08);
    --shadow-medium: 0 25px 80px rgba(209, 0, 71, 0.12);
    --shadow-hard: 0 35px 100px rgba(209, 0, 71, 0.2);

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Futura', 'Century Gothic', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', 'Futura', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

/* ================= VALENTINE FLOATING HEARTS ================= */
.valentine-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.heart {
    position: absolute;
    background: var(--valentine-red);
    display: block;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.heart:before,
.heart:after {
    content: '';
    background: inherit;
    border-radius: 50%;
    position: absolute;
}

.heart:before {
    top: -50%;
    left: 0;
    width: 100%;
    height: 100%;
}

.heart:after {
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ================= MODERN VALENTINE HEADER ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, #0a192f 0%, #1e3a5f 100%);
    border-bottom: 1px solid rgba(209, 0, 71, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
    var(--valentine-red),
    #FF1A6B,
    var(--valentine-red));
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.valentine-tagline {
    color: var(--valentine-red);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 0.5rem;
    border: 1px solid rgba(209, 0, 71, 0.15);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #FF1A6B;
    background: rgba(209, 0, 71, 0.08);
}

.nav-link.active {
    color: #FF1A6B;
    background: linear-gradient(135deg, rgba(209, 0, 71, 0.12), rgba(209, 0, 71, 0.04));
    border: 1px solid rgba(209, 0, 71, 0.25);
}

.cta-button {
    background: linear-gradient(135deg, var(--valentine-red) 0%, #FF1A6B 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(209, 0, 71, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(209, 0, 71, 0.2);
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 12px;
}

/* ================= UNIVERSAL VALENTINE POPUP ================= */
.valentine-popup * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.valentine-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2vmin;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.valentine-popup.active {
    display: flex;
    opacity: 1;
}

.popup-container {
    width: min(90vw, 600px);
    max-height: min(90vh, 800px);
    background: #ffffff;
    border-radius: clamp(12px, 2vmin, 24px);
    box-shadow: 0 20px 60px rgba(209, 0, 71, 0.15);
    border: 1px solid rgba(209, 0, 71, 0.1);
    display: flex;
    flex-direction: column;
    animation: popupAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes popupAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: clamp(12px, 2vmin, 20px);
    right: clamp(12px, 2vmin, 20px);
    width: clamp(44px, 6vmin, 60px);
    height: clamp(44px, 6vmin, 60px);
    background: #ffffff;
    border: 2px solid rgba(209, 0, 71, 0.2);
    border-radius: 50%;
    color: var(--valentine-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 2.5vmin, 24px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
}

.popup-content {
    padding: clamp(20px, 4vmin, 40px);
    overflow-y: auto;
}

.popup-header {
    text-align: center;
    margin-bottom: clamp(20px, 3vmin, 30px);
    padding-bottom: clamp(15px, 2vmin, 20px);
    border-bottom: 2px solid rgba(209, 0, 71, 0.1);
}

.popup-logo {
    width: clamp(100px, 15vmin, 180px);
    height: auto;
    margin: 0 auto clamp(10px, 1.5vmin, 15px);
    filter: brightness(0) saturate(100%) invert(22%) sepia(94%) saturate(3108%) hue-rotate(325deg) brightness(90%) contrast(101%);
}

.popup-title {
    color: #1a1a1a;
    font-size: clamp(1.5rem, 3vmin, 2rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: clamp(8px, 1vmin, 12px);
    background: linear-gradient(45deg, var(--valentine-red), #FF1A6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-subtitle {
    color: #666;
    font-size: clamp(0.9rem, 1.8vmin, 1.1rem);
    font-weight: 400;
}

.hearts-container {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 1.5vmin, 20px);
    margin: clamp(15px, 2vmin, 25px) 0;
}

.heart {
    width: clamp(30px, 4vmin, 50px);
    height: clamp(30px, 4vmin, 50px);
    background: var(--valentine-red);
    position: relative;
    transform: rotate(45deg);
    animation: heartBeat 1.5s infinite;
}

.heart::before,
.heart::after {
    content: '';
    width: clamp(30px, 4vmin, 50px);
    height: clamp(30px, 4vmin, 50px);
    background: var(--valentine-red);
    border-radius: 50%;
    position: absolute;
}

.heart::before {
    top: -50%;
    left: 0;
}

.heart::after {
    top: 0;
    left: -50%;
}

.heart:nth-child(2) {
    animation-delay: 0.2s;
    background: #FF1A6B;
}

.heart:nth-child(3) {
    animation-delay: 0.4s;
    background: var(--valentine-red);
}

@keyframes heartBeat {
    0%, 100% {
        transform: rotate(45deg) scale(1);
    }
    50% {
        transform: rotate(45deg) scale(1.1);
    }
}

.popup-message {
    color: #333;
    font-size: clamp(1rem, 2vmin, 1.125rem);
    line-height: 1.6;
    margin-bottom: clamp(20px, 3vmin, 30px);
}

.highlight {
    color: var(--valentine-red);
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: clamp(15px, 2vmin, 20px);
    margin: clamp(25px, 3vmin, 35px) 0;
}

.feature {
    text-align: center;
    padding: clamp(15px, 2vmin, 20px);
    background: #f8f9fa;
    border-radius: clamp(8px, 1vmin, 12px);
    border: 1px solid rgba(209, 0, 71, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(209, 0, 71, 0.1);
}

.feature-icon {
    width: clamp(40px, 5vmin, 60px);
    height: clamp(40px, 5vmin, 60px);
    margin: 0 auto clamp(12px, 1.5vmin, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--valentine-red), #FF1A6B);
    border-radius: 50%;
    color: white;
    font-size: clamp(18px, 2.5vmin, 24px);
}

.feature h4 {
    color: #1a1a1a;
    font-size: clamp(1rem, 2vmin, 1.125rem);
    margin-bottom: clamp(5px, 0.75vmin, 8px);
}

.feature p {
    color: #666;
    font-size: clamp(0.85rem, 1.6vmin, 0.95rem);
    line-height: 1.4;
}

.popup-cta {
    text-align: center;
    margin-top: clamp(25px, 3vmin, 35px);
}

.popup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1vmin, 12px);
    padding: clamp(12px, 2vmin, 16px) clamp(24px, 3vmin, 32px);
    background: linear-gradient(45deg, var(--valentine-red), #FF1A6B);
    color: white;
    border: none;
    border-radius: clamp(25px, 3vmin, 50px);
    font-size: clamp(1rem, 2vmin, 1.125rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: min(200px, 80%);
}

.popup-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(209, 0, 71, 0.25);
}

.popup-footer {
    text-align: center;
    margin-top: clamp(20px, 3vmin, 30px);
    padding-top: clamp(15px, 2vmin, 20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: clamp(0.85rem, 1.6vmin, 0.95rem);
}

.rose-petals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* ================= HERO SECTION ================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding-top: 80px;
}

.video-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    min-width: 100vw;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 18, 42, 0.6) 0%, rgba(209, 0, 71, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.valentine-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--valentine-red), #FF1A6B);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(209, 0, 71, 0.3);
}

.hero-title {
    margin: 1rem 0;
    line-height: 1.1;
}

.hero-title span {
    color: var(--valentine-red);
    font-size: 0.8em;
    vertical-align: middle;
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-valentine {
    background: linear-gradient(135deg, var(--valentine-red), #FF1A6B);
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 12px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.btn-valentine:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px rgba(209, 0, 71, 0.25);
}

.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat h3 {
    color: white;
    margin: 0;
    font-size: 2.25rem;
    font-weight: 800;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.875rem;
}

/* ================= ABOUT SECTION ================= */
.about-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--valentine-red);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.about-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.about-stat:hover {
    transform: translateY(-5px);
    background: rgba(209, 0, 71, 0.1);
}

.about-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--valentine-red);
    margin-bottom: 0.5rem;
}

.about-image-slider {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 500px;
    position: relative;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= FIXED HISTORY SECTION ================= */
/* Replace ALL your existing history section CSS with this */

.history-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 5rem 0;
    position: relative;
}

.history-timeline {
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Year Marker */
.year-marker {
    text-align: center;
    margin: 3rem 0 1rem;
}

.year-marker .year {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--valentine-red), #FF1A6B);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(209, 0, 71, 0.3);
}

/* Timeline Item - ALTERNATING FIX */
.timeline-item {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

/* FIX: Use direct child selectors with correct counting */
.history-timeline > .timeline-item:nth-child(2) { animation-delay: 0.1s; } /* 1954 */
.history-timeline > .timeline-item:nth-child(4) { animation-delay: 0.3s; } /* Late 1950s */
.history-timeline > .timeline-item:nth-child(6) { animation-delay: 0.5s; } /* 1980s */
.history-timeline > .timeline-item:nth-child(8) { animation-delay: 0.7s; } /* 2000s */
.history-timeline > .timeline-item:nth-child(10) { animation-delay: 0.9s; } /* Today */

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ODD POSITION ITEMS (2, 6, 10): Image LEFT, Text RIGHT */
.history-timeline > .timeline-item:nth-child(2),
.history-timeline > .timeline-item:nth-child(6),
.history-timeline > .timeline-item:nth-child(10) {
    flex-direction: row; /* Image left, text right */
}

/* EVEN POSITION ITEMS (4, 8): Image RIGHT, Text LEFT */
.history-timeline > .timeline-item:nth-child(4),
.history-timeline > .timeline-item:nth-child(8) {
    flex-direction: row-reverse; /* Image right, text left */
}

/* Image Container */
.timeline-image {
    flex: 1;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    padding: 1.5rem;
}

.timeline-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(209, 0, 71, 0.25);
    border-color: rgba(209, 0, 71, 0.3);
}

/* IMAGE STYLES - NO CROPPING */
.timeline-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain; /* SHOWS ENTIRE IMAGE */
    border-radius: calc(var(--radius-lg) - 4px);
    transition: transform 0.6s ease;
}

.timeline-image:hover img {
    transform: scale(1.02);
}

/* Special styles for document images - YOU'RE MISSING THIS CLASS! */
.timeline-image.document-image {
    background: rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
}

.timeline-image.document-image img {
    max-height: 550px;
}

/* Content */
.timeline-content {
    flex: 1;
    padding: 2rem;
}

.timeline-content h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--valentine-red), #FF1A6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* LEGACY SECTION */
.legacy-timeline-item {
    text-align: center;
    margin-top: 6rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.1s;
}

.legacy-year {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--valentine-red), #FF1A6B);
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(209, 0, 71, 0.3);
    margin-bottom: 2rem;
}

.legacy-card {
    background: linear-gradient(135deg, 
        rgba(209, 0, 71, 0.1) 0%, 
        rgba(255, 26, 107, 0.05) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(209, 0, 71, 0.2);
    box-shadow: 0 25px 80px rgba(209, 0, 71, 0.2);
    transition: all 0.4s ease;
}

.legacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 100px rgba(209, 0, 71, 0.3);
}

.legacy-image {
    width: 100%;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.legacy-image img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: calc(var(--radius-lg) - 8px);
    transition: transform 0.8s ease;
}

.legacy-card:hover .legacy-image img {
    transform: scale(1.03);
}

/* ================= RESPONSIVE DESIGN ================= */

@media (max-width: 992px) {
    .timeline-item {
        flex-direction: column !important; /* Stack on tablet/mobile */
        gap: 2rem;
    }
    
    .timeline-image {
        min-height: 300px;
        width: 100%;
    }
    
    .timeline-image img {
        max-height: 450px;
    }
    
    .timeline-image.document-image img {
        max-height: 500px;
    }
    
    .legacy-image {
        padding: 2rem;
    }
    
    .legacy-image img {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 3rem 0;
    }
    
    .timeline-image {
        min-height: 250px;
        padding: 1rem;
    }
    
    .timeline-image img {
        max-height: 400px;
    }
    
    .timeline-image.document-image {
        padding: 2rem;
    }
    
    .timeline-image.document-image img {
        max-height: 450px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
    }
    
    .legacy-year {
        font-size: 1.5rem;
        padding: 0.75rem 2rem;
    }
    
    .legacy-image {
        padding: 1.5rem;
    }
    
    .legacy-image img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .timeline-image {
        min-height: 200px;
    }
    
    .timeline-image img {
        max-height: 350px;
    }
    
    .timeline-image.document-image {
        padding: 1.5rem;
    }
    
    .legacy-year {
        font-size: 1.3rem;
    }
    
    .legacy-image {
        padding: 1rem;
    }
    
    .legacy-image img {
        max-height: 250px;
    }
}

/* ================= PRODUCTS SECTION ================= */
.products-section {
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--valentine-red);
    box-shadow: var(--shadow-medium);
}

.valentine-special {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-valentine);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

/* ================= PROCESS SECTION ================= */
.process-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.process-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.process-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.process-tab.active {
    background: var(--gradient-valentine);
    border-color: transparent;
}

.process-content {
    display: none;
}

.process-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.process-video {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.process-video video {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ================= CONTACT SECTION ================= */
.contact-section {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--valentine-red);
}

.submit-button {
    background: var(--gradient-valentine);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    width: 100%;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(209, 0, 71, 0.3);
}

.contact-info {
    padding: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    color: var(--valentine-red);
    font-size: 1.125rem;
    margin-top: 0.25rem;
}

/* ================= FOOTER ================= */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--primary-dark) 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(209, 0, 71, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 180px;
    filter: brightness(0) invert(1);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--valentine-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom span {
    color: var(--valentine-red);
}

/* ================= WHATSAPP BUTTON ================= */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-valentine);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(209, 0, 71, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(209, 0, 71, 0); }
    100% { box-shadow: 0 0 0 0 rgba(209, 0, 71, 0); }
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-slider {
        height: 350px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-valentine, .btn-ghost {
        width: 100%;
        justify-content: center;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo-image {
        width: 150px;
    }
}

/* Image protection */
img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Floating hearts animation */
.floating-hearts {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(-110vh) scale(1.2);
        opacity: 0;
    }
}

/* ================= EVENTS & FUNCTIONS SECTION ================= */
.events-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(209, 0, 71, 0.3), 
        transparent);
}

.events-carousel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(209, 0, 71, 0.2);
    height: 500px;
}

.carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    width: 33.333%;
    height: 100%;
    position: relative;
}

.slide-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.carousel-slide.active .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.slide-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Navigation Dots */
.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: var(--valentine-red);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(209, 0, 71, 0.5);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: var(--valentine-red);
    transform: translateY(-50%) scale(1.1);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(209, 0, 71, 0.4);
}

.prev-arrow {
    left: 1.5rem;
}

.next-arrow {
    right: 1.5rem;
}

/* Event Description */
.event-description {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.event-description h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--valentine-red), #FF1A6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-description p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Event Stats */
.event-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(209, 0, 71, 0.08);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.event-stat:hover {
    transform: translateY(-3px);
    background: rgba(209, 0, 71, 0.12);
}

.event-stat i {
    font-size: 1.8rem;
    color: var(--valentine-red);
    margin-bottom: 0.5rem;
}

.event-stat h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.event-stat p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 992px) {
    .events-carousel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .event-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .events-section {
        padding: 3rem 0;
    }
    
    .carousel-container {
        height: 350px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .event-description {
        padding: 2rem;
    }
    
    .event-description h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 300px;
    }
    
    .slide-overlay {
        padding: 1.5rem;
    }
    
    .slide-overlay h3 {
        font-size: 1.2rem;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .event-description {
        padding: 1.5rem;
    }
}

/* ================= CAROUSEL FIXES ================= */
.carousel-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(209, 0, 71, 0.2);
    height: 500px;
}

.carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out !important; /* IMPORTANT */
    will-change: transform;
}

.carousel-slide {
    width: 33.333%;
    height: 100%;
    position: relative;
}

/* Remove arrow styles if they exist */
.carousel-arrow {
    display: none !important;
}
/* ================= EVENTS SECTION - TWO COLUMN LAYOUT ================= */
.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.events-images-column {
    position: relative;
}

.events-info-column {
    padding: 1rem;
}

/* Events Slider (Left Column) */
.events-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.events-slider-track {
    position: relative;
    height: 500px; /* Adjust height as needed */
}

.events-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.events-slide.active {
    opacity: 1;
}

.events-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.events-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem;
    border-radius: 0 0 var(--radius) var(--radius);
}

.events-slide-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.events-slide-overlay p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.9rem;
}

/* Event Description (Right Column) */
.event-description {
    background: var(--off-white);
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--valentine-pink);
    box-shadow: var(--shadow);
    height: 100%;
}

.event-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.event-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.event-stat i {
    font-size: 2rem;
    color: var(--valentine-pink);
    min-width: 40px;
}

.event-stat h4 {
    font-size: 1.5rem;
    color: var(--valentine-pink);
    margin: 0;
}

.event-stat p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .events-slider-track {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .events-slider-track {
        height: 300px;
    }
    
    .events-slide-overlay {
        padding: 1rem;
    }
    
    .events-slide-overlay h3 {
        font-size: 1.2rem;
    }
    
    .event-stat {
        padding: 0.75rem;
    }
    
    .event-stat h4 {
        font-size: 1.3rem;
    }
    
    .event-stat i {
        font-size: 1.5rem;
    }
}