/**
 * DOPE SOLE - We Love Summer Campaign
 * Enterprise-Grade UI/UX Design System
 * Mobile-First | Design Systems Inspired
 */

/* ========================================================================
   TYPOGRAPHY - Neue Haas Grotesk, Display Pro, Golden Graph
   ======================================================================== */

@import url('https://fonts.cdnfonts.com/css/neue-haas-grotesk-display-pro');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================================================
   CSS VARIABLES - Brand Color System
   ======================================================================== */

:root {
    /* Primary Brand Colors */
    --color-white: #FFFFFF;
    --color-gray: #D3D3D3;
    --color-red: #B50000;
    --color-charcoal: #1C1C1C;
    --color-black: #000000;

    /* Extended Palette */
    --color-red-dark: #8B0000;
    --color-red-light: #DC143C;
    --color-gray-light: #E8E8E8;
    --color-gray-dark: #A8A8A8;
    --color-charcoal-light: #2C2C2C;

    /* Semantic Colors */
    --color-success: #00A86B;
    --color-error: #DC143C;
    --color-warning: #FFB81C;
    --color-info: #0066CC;

    /* Typography Stack */
    --font-primary: 'Neue Haas Grotesk Display Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Neue Haas Grotesk Display Pro', 'Inter', sans-serif;
    --font-body: 'Neue Haas Grotesk Text Pro', 'Inter', sans-serif;

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    --text-8xl: 6rem;

    /* Spacing System (8px grid) */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 2.5rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --space-10: 5rem;
    --space-12: 6rem;
    --space-16: 8rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1100;
    --z-fixed: 1200;
    --z-modal-backdrop: 1300;
    --z-modal: 1400;
    --z-popover: 1500;
    --z-tooltip: 1600;
}

/* ========================================================================
   RESET & BASE STYLES
   ======================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================================================
   NAVIGATION
   ======================================================================== */

.navbar {
    padding: var(--space-3) 0;
    transition: all var(--transition-base);
    background: transparent;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: var(--shadow-md);
    padding: var(--space-2) 0;
}

.nav-logo {
    height: 45px;
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-logo {
    height: 35px;
}

.nav-link {
    color: var(--color-white) !important;
    font-weight: 500;
    font-size: var(--text-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: var(--space-1) var(--space-2);
    position: relative;
    transition: all var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.btn-primary-nav {
    background: var(--color-red);
    color: var(--color-white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-primary-nav:hover {
    background: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-black);
}

/* Hero with background image */
.hero-with-image {
    background-image: url('../../background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect on desktop */
}

/* Fallback for browsers that support WebP */
@supports (background-image: url('image.webp')) {
    .hero-with-image {
        background-image: url('../../background.webp'), url('../../background.jpg');
    }
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-base);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(181, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--space-8) 0;
}

.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    color: var(--color-red);
    font-size: var(--text-xl);
}

.badge-text {
    color: var(--color-white);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-main-content {
    margin-bottom: var(--space-4);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-3);
}

.title-brand {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-tagline {
    color: var(--color-white);
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-1);
}

.hero-slogan {
    color: var(--color-gray);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-style: italic;
    font-weight: 300;
}

.voucher-promo-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.voucher-promo-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-gray-light);
}

.voucher-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--text-3xl);
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}

.voucher-promo-title {
    flex: 1;
    text-align: left;
}

.promo-discount {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 900;
    color: var(--color-red);
    line-height: 1;
    letter-spacing: -0.02em;
}

.promo-subtitle {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-charcoal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-1);
}

.voucher-promo-body {
    color: var(--color-charcoal);
    margin-bottom: var(--space-2);
    line-height: 1.7;
}

.btn-voucher {
    width: 100%;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: var(--text-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.btn-voucher:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(135deg, var(--color-red-dark) 0%, var(--color-black) 100%);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 0;
    right: 0;
    z-index: 3;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-indicator a {
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    opacity: 0.9;
    transition: all var(--transition-base);
    text-decoration: none;
    padding: var(--space-2);
}

.scroll-indicator a:hover {
    opacity: 1;
    transform: translateY(5px);
}

.scroll-text {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--color-white);
}

.scroll-indicator i {
    font-size: var(--text-xl);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.smooth-scroll {
    scroll-behavior: smooth;
}

/* ========================================================================
   SECTION STYLES
   ======================================================================== */

section {
    padding: var(--space-12) 0;
}

.section-header {
    margin-bottom: var(--space-8);
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-red);
    margin-bottom: var(--space-2);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-charcoal);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border-radius: var(--radius-sm);
}

/* ========================================================================
   ABOUT SECTION
   ======================================================================== */

.about-section {
    background: var(--color-white);
}

.about-image-wrapper {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    opacity: 0.1;
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.lead-text {
    font-size: var(--text-xl);
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-charcoal);
    margin-bottom: var(--space-4);
}

.body-text {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-charcoal-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.feature-card {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-gray-light);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: var(--space-1);
}

.feature-content p {
    font-size: var(--text-sm);
    color: var(--color-charcoal-light);
    line-height: 1.6;
}

/* ========================================================================
   IMPACT SECTION
   ======================================================================== */

.impact-section {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-charcoal) 100%);
    position: relative;
    overflow: hidden;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.stat-card-modern:hover::before,
.stat-card-modern.active::before {
    transform: scaleX(1);
}

.stat-card-modern:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: rgba(181, 0, 0, 0.3);
    box-shadow: 0 20px 40px rgba(181, 0, 0, 0.2);
}

.stat-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-xl);
}

.stat-content {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-3);
}

.stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-red) 0%, var(--color-red-light) 100%);
    border-radius: var(--radius-full);
    transition: width 1.5s ease-out;
}

/* ========================================================================
   GALLERY SECTION
   ======================================================================== */

.gallery-section {
    background: var(--color-gray-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-3);
}

.gallery-item-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-item-modern {
    position: relative;
    display: block;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-charcoal);
}

.gallery-item-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(181, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-item-modern:hover .gallery-overlay-modern {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--color-white);
}

.overlay-content i {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-2);
}

.overlay-content span {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================================================
   TESTIMONIALS SECTION
   ======================================================================== */

.testimonials-section {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-black) 100%);
}

.testimonial-card-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.testimonial-card-modern:hover {
    transform: translateY(-10px);
    border-color: rgba(181, 0, 0, 0.3);
    box-shadow: 0 20px 40px rgba(181, 0, 0, 0.2);
}

.testimonial-video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--color-black);
}

.testimonial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity var(--transition-base);
}

.video-play-overlay i {
    font-size: var(--text-5xl);
    color: var(--color-white);
}

.testimonial-info-modern {
    padding: var(--space-4);
    text-align: center;
}

.testimonial-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-1);
}

.testimonial-role {
    font-size: var(--text-sm);
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================================================
   REGISTRATION FORM - ENTERPRISE UI
   ======================================================================== */

.register-section {
    background: var(--color-white);
}

.register-card-modern {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: var(--space-6);
    border: 1px solid var(--color-gray-light);
}

.register-header {
    margin-bottom: var(--space-6);
}

.register-icon-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--text-4xl);
    margin: 0 auto var(--space-4);
    box-shadow: var(--shadow-xl);
}

.register-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--color-charcoal);
    margin-bottom: var(--space-2);
}

.register-subtitle {
    font-size: var(--text-lg);
    color: var(--color-charcoal-light);
    font-weight: 400;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-group-wrapper {
    background: var(--color-gray-light);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
}

.form-group-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--color-white);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-charcoal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group-header i {
    color: var(--color-red);
}

.form-field {
    margin-bottom: var(--space-4);
}

.form-field:last-child {
    margin-bottom: 0;
}

.field-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: var(--space-2);
    letter-spacing: 0.3px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-dark);
    font-size: var(--text-lg);
    pointer-events: none;
    transition: color var(--transition-base);
    z-index: 2;
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4) var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background: var(--color-white);
    border: 2px solid var(--color-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    outline: none;
}

.form-input::placeholder {
    color: var(--color-gray-dark);
}

.form-input:focus {
    border-color: var(--color-red);
    box-shadow: 0 0 0 4px rgba(181, 0, 0, 0.1);
}

.form-input:focus ~ .input-icon {
    color: var(--color-red);
}

.form-input.valid {
    border-color: var(--color-success);
}

.form-input.invalid {
    border-color: var(--color-error);
}

.input-status {
    position: absolute;
    right: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--text-xl);
    font-weight: 700;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.form-input.valid ~ .input-status {
    opacity: 1;
    color: var(--color-success);
}

.form-input.valid ~ .input-status::before {
    content: '✓';
}

.form-input.invalid ~ .input-status {
    opacity: 1;
    color: var(--color-error);
}

.form-input.invalid ~ .input-status::before {
    content: '✗';
}

.field-feedback {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    display: none;
}

.field-feedback.invalid {
    color: var(--color-error);
}

.field-feedback.valid {
    color: var(--color-success);
}

.form-input.invalid ~ .field-feedback.invalid {
    display: block;
}

.form-input.valid ~ .field-feedback.valid {
    display: block;
}

/* Delivery Options */
.delivery-options-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-3);
}

.delivery-option-card {
    cursor: pointer;
    position: relative;
}

.delivery-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-content {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-white);
    border: 2px solid var(--color-gray);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.delivery-option-card:hover .option-content {
    border-color: var(--color-red);
    box-shadow: var(--shadow-md);
}

.delivery-option-card input:checked ~ .option-content {
    background: linear-gradient(135deg, rgba(181, 0, 0, 0.05) 0%, rgba(181, 0, 0, 0.1) 100%);
    border-color: var(--color-red);
    box-shadow: 0 0 0 4px rgba(181, 0, 0, 0.1);
}

.option-icon {
    width: 50px;
    height: 50px;
    background: var(--color-gray-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--color-charcoal);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.delivery-option-card input:checked ~ .option-content .option-icon {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
}

.option-info {
    flex: 1;
}

.option-info h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: var(--space-1);
}

.option-info p {
    font-size: var(--text-sm);
    color: var(--color-charcoal-light);
}

.option-check {
    font-size: var(--text-2xl);
    color: var(--color-gray);
    transition: all var(--transition-base);
}

.delivery-option-card input:checked ~ .option-content .option-check {
    color: var(--color-red);
}

/* Checkbox Modern */
.checkbox-modern {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    cursor: pointer;
    user-select: none;
}

.checkbox-modern input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-gray);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.checkbox-modern:hover .checkbox-custom {
    border-color: var(--color-red);
}

.checkbox-modern input:checked ~ .checkbox-custom {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border-color: var(--color-red);
}

.checkbox-modern input:checked ~ .checkbox-custom::after {
    content: '✓';
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 700;
}

.checkbox-label {
    font-size: var(--text-sm);
    color: var(--color-charcoal);
    line-height: 1.6;
}

/* Submit Button */
.form-actions {
    margin-top: var(--space-4);
}

.btn-submit-modern {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
}

.btn-submit-modern:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.btn-submit-modern:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit-modern:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-content,
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

.btn-submit-modern.loading .btn-content {
    opacity: 0;
}

.btn-submit-modern.loading .btn-loading {
    opacity: 1;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ========================================================================
   ALERTS - MODERN DESIGN
   ======================================================================== */

.alert-modern {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    margin-top: var(--space-5);
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease-out;
}

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

.alert-success {
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.1) 0%, rgba(0, 168, 107, 0.05) 100%);
    border: 2px solid var(--color-success);
}

.alert-error {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(220, 20, 60, 0.05) 100%);
    border: 2px solid var(--color-error);
}

.alert-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: var(--text-2xl);
}

.alert-success .alert-icon {
    background: var(--color-success);
    color: var(--color-white);
}

.alert-error .alert-icon {
    background: var(--color-error);
    color: var(--color-white);
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.alert-success .alert-title {
    color: var(--color-success);
}

.alert-error .alert-title {
    color: var(--color-error);
}

.alert-text {
    font-size: var(--text-base);
    color: var(--color-charcoal);
    line-height: 1.6;
}

.alert-details {
    margin-top: var(--space-3);
}

.alert-close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-charcoal);
    font-size: var(--text-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
}

.alert-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* ========================================================================
   FOOTER
   ======================================================================== */

.footer-modern {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-charcoal) 100%);
    color: var(--color-white);
    padding: var(--space-10) 0 var(--space-4);
}

.footer-brand {
    margin-bottom: var(--space-4);
}

.footer-logo {
    height: 60px;
    margin-bottom: var(--space-3);
}

.footer-slogan {
    color: var(--color-gray);
    font-size: var(--text-sm);
    font-style: italic;
}

.footer-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-white);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    color: var(--color-gray);
    font-size: var(--text-sm);
}

.footer-contact i {
    color: var(--color-red);
    margin-top: 2px;
}

.social-links-modern {
    display: flex;
    gap: var(--space-2);
}

.social-link-modern {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
}

.social-link-modern:hover {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border-color: var(--color-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--color-gray-dark);
    font-size: var(--text-sm);
}

/* ========================================================================
   MODAL
   ======================================================================== */

.modal-modern {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: none;
}

.modal-header-modern {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    padding: var(--space-4);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title-modern {
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0;
}

.btn-close-modern {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: var(--text-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-close-modern:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body-modern {
    padding: var(--space-5);
}

/* ========================================================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================================================== */

@media (max-width: 768px) {
    :root {
        --space-12: 4rem;
        --space-10: 3rem;
        --space-8: 2.5rem;
    }

    /* Fix campaign badge overlap with fixed navbar on mobile */
  

    .hero-title {
        font-size: 2.5rem;
    }

    .voucher-promo-card {
        padding: var(--space-4);
    }

    .voucher-promo-header {
        flex-direction: column;
        text-align: center;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }

    .register-card-modern {
        padding: var(--space-4);
    }

    .delivery-options-modern {
        grid-template-columns: 1fr;
    }

    /* Container adjustments for mobile */
    .container,
    .container-fluid {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    /* Section spacing on mobile */
    section {
        padding: var(--space-8) 0;
    }

    /* Better touch targets */
    button,
    .btn,
    a.btn {
        min-height: 44px;
        padding: var(--space-3) var(--space-5);
    }

    /* Hero background image on mobile */
    .hero-with-image {
        background-attachment: scroll; /* Better performance on mobile */
        background-position: center center;
    }

    /* Hero section spacing on mobile */
    .hero-section {
        min-height: 100vh;
        padding-top: 80px !important;
        padding-bottom: var(--space-12);
    }

    .hero-content {
        padding: var(--space-6) 0 var(--space-10) 0 !important;
    }

    /* Hero button - smaller text for mobile */
    .btn-voucher {
        font-size: var(--text-sm) !important;
        padding: var(--space-3) var(--space-4) !important;
        white-space: nowrap;
        letter-spacing: 0.5px;
    }

    .btn-voucher span {
        font-size: var(--text-sm);
    }

    /* Scroll indicator on mobile - more space below button */
    .scroll-indicator {
        bottom: var(--space-4);
    }

    .scroll-text {
        font-size: var(--text-xs);
        letter-spacing: 2px;
    }

    .scroll-indicator i {
        font-size: var(--text-lg);
    }
}

/* ========================================================================
   PERFORMANCE OPTIMIZATIONS
   ======================================================================== */

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

/* Print Styles */
@media print {
    .navbar,
    .footer-modern,
    .scroll-indicator {
        display: none !important;
    }
}

/* ========================================================================
   ENHANCED COMPONENTS - UX/UI IMPROVEMENTS
   ======================================================================== */

/* ========================================================================
   ENHANCED IMPACT SECTION - CLEAN & MODERN DESIGN
   ======================================================================== */

.stat-card-enhanced {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(211, 211, 211, 0.3);
}

.stat-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(181, 0, 0, 0.2);
}

/* Simple top border accent */
.stat-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card-enhanced:hover::before {
    transform: scaleX(1);
}

/* Featured Card Variant */
.stat-card-enhanced.featured {
    background: var(--color-white);
    border: 2px solid rgba(181, 0, 0, 0.15);
}

.stat-card-enhanced.featured::before {
    height: 4px;
    transform: scaleX(1);
}

.stat-card-enhanced.featured:hover {
    box-shadow: 0 16px 40px rgba(181, 0, 0, 0.15);
    transform: translateY(-10px);
}

/* Card Header & Icon Styles - Simplified */
.stat-card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-4);
}

.stat-icon-enhanced {
    width: 64px;
    height: 64px;
    background: var(--color-red);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--text-2xl);
    box-shadow: 0 8px 16px rgba(181, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card-enhanced:hover .stat-icon-enhanced {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(181, 0, 0, 0.3);
}

/* Remove badges and badges styles */
.stat-badge {
    display: none;
}

.stat-badge.featured-badge {
    display: none;
}

.stat-trend-complete {
    display: none;
}

/* Statistics Content - Clean & Centered */
.stat-main-content {
    text-align: center;
}

.stat-number-enhanced {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-charcoal);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.stat-number-enhanced.special {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.stat-label-enhanced {
    font-size: var(--text-lg);
    color: var(--color-charcoal);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.stat-sublabel-enhanced {
    font-size: var(--text-sm);
    color: var(--color-gray-dark);
    font-weight: 400;
}

/* Hide Progress Bars and Footers */
.stat-progress-wrapper {
    display: none;
}

.stat-progress-info {
    display: none;
}

.progress-label {
    display: none;
}

.progress-value {
    display: none;
}

.stat-progress-bar {
    display: none;
}

.stat-progress-fill {
    display: none;
}

.stat-footer {
    display: none;
}

.stat-trend-up {
    display: none;
}

.stat-trend-text {
    display: none;
}

/* Hide Mini Stats Row */
.mini-stats-wrapper {
    display: none;
}

.mini-stat-item {
    display: none;
}

.mini-stat-divider {
    display: none;
}

.mini-stat-icon {
    display: none;
}

.mini-stat-content {
    display: none;
}

.mini-stat-number {
    display: none;
}

.mini-stat-label {
    display: none;
}

/* ========================================================================
   GALLERY SECTION - PREMIUM CAROUSEL DESIGN
   ======================================================================== */

.gallery-carousel-wrapper {
    position: relative;
    padding: var(--space-8) 0;
}

.swiper {
    width: 100%;
    padding: var(--space-6) 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 450px;
    width: 100%;
    background: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-2xl);
    padding: 2px;
    background: linear-gradient(135deg,
        var(--color-red) 0%,
        #ff4444 50%,
        var(--color-red-dark) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-card:hover::before {
    opacity: 1;
}

.gallery-card:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 24px 64px rgba(181, 0, 0, 0.2),
                0 0 0 4px rgba(181, 0, 0, 0.1);
}

.gallery-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(0.95) contrast(1.05);
}

.gallery-card:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}

.gallery-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 30%,
        rgba(181, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gallery-view-btn {
    background: rgba(255, 255, 255, 0.98);
    color: var(--color-charcoal);
    border: 2px solid var(--color-white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
}

.gallery-card:hover .gallery-view-btn {
    transform: translateY(0);
}

.gallery-view-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-red) 0%, #ff4444 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-view-btn:hover {
    border-color: var(--color-red);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(181, 0, 0, 0.4);
}

.gallery-view-btn:hover::before {
    opacity: 1;
}

.gallery-view-btn i,
.gallery-view-btn span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.gallery-view-btn:hover i,
.gallery-view-btn:hover span {
    color: var(--color-white);
}

/* Swiper Navigation - Premium Design */
.gallery-nav-btn.swiper-button-next,
.gallery-nav-btn.swiper-button-prev {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.gallery-nav-btn.swiper-button-next::after,
.gallery-nav-btn.swiper-button-prev::after {
    font-size: var(--text-xl);
    color: var(--color-charcoal);
    font-weight: 900;
    transition: all 0.3s ease;
}

.gallery-nav-btn.swiper-button-next:hover,
.gallery-nav-btn.swiper-button-prev:hover {
    background: linear-gradient(135deg, var(--color-red) 0%, #ff4444 100%);
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(181, 0, 0, 0.35);
    border-color: var(--color-red);
}

.gallery-nav-btn.swiper-button-next:hover::after,
.gallery-nav-btn.swiper-button-prev:hover::after {
    color: var(--color-white);
    transform: scale(1.1);
}

/* Pagination Dots Enhanced */
.gallery-pagination.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--color-gray-dark);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet:hover {
    opacity: 0.8;
    transform: scale(1.2);
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--color-red) 0%, #ff4444 100%);
    width: 36px;
    border-radius: var(--radius-full);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(181, 0, 0, 0.4);
}

/* Gallery Modal - Enhanced UX */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    opacity: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.4s ease;
}

.gallery-modal.active {
    display: flex;
    animation: modalFadeIn 0.4s ease forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gallery-modal-close {
    position: absolute;
    top: var(--space-5);
    right: var(--space-5);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
}

.gallery-modal-close:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    transform: rotate(90deg) scale(1.1);
}

.gallery-modal-close i {
    color: var(--color-white);
    font-size: var(--text-xl);
}

.gallery-modal-content {
    position: relative;
    max-width: 92%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: imageZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes imageZoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-2xl);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    transition: opacity 0.3s ease-in-out;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.8);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10001;
    color: var(--color-charcoal);
    font-size: var(--text-2xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-modal-prev {
    left: var(--space-6);
}

.gallery-modal-next {
    right: var(--space-6);
}

.gallery-modal-nav:hover {
    background: linear-gradient(135deg, var(--color-red) 0%, #ff4444 100%);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.2);
    border-color: var(--color-red);
    box-shadow: 0 8px 24px rgba(181, 0, 0, 0.4);
}

.gallery-modal-counter {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-weight: 700;
    color: var(--color-charcoal);
    font-size: var(--text-base);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

/* Enhanced Testimonial Cards */
.testimonial-card-enhanced {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: 1px solid rgba(211, 211, 211, 0.2);
}

.testimonial-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-thumbnail {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--color-charcoal);
}

.testimonial-preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.testimonial-card-enhanced:hover .testimonial-play-overlay {
    background: linear-gradient(to bottom, rgba(181,0,0,0.4) 0%, rgba(181,0,0,0.7) 100%);
}

.play-button-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button-pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.play-button-main {
    position: relative;
    width: 70px;
    height: 70px;
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.play-button-main i {
    font-size: var(--text-xl);
    color: var(--color-red);
    margin-left: 4px;
}

.testimonial-card-enhanced:hover .play-button-main {
    background: var(--color-red);
    transform: scale(1.1);
}

.testimonial-card-enhanced:hover .play-button-main i {
    color: var(--color-white);
}

.testimonial-content-enhanced {
    padding: var(--space-5);
}

.testimonial-quote {
    margin-bottom: var(--space-4);
}

.testimonial-quote p {
    font-size: var(--text-base);
    color: var(--color-charcoal);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.author-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-charcoal);
    margin: 0;
}

.author-role {
    font-size: var(--text-sm);
    color: var(--color-gray-dark);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.video-modal.active {
    display: flex;
}

.video-modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10002;
    color: var(--color-charcoal);
    font-size: var(--text-xl);
}

.video-modal-close:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: rotate(90deg);
}

.video-modal-content {
    position: relative;
    max-width: 1200px;
    width: 100%;
    background: var(--color-charcoal);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-modal-content video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}

.video-modal-info {
    padding: var(--space-4);
    background: var(--color-white);
}

.video-author-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: var(--space-1);
}

.video-author-role {
    font-size: var(--text-sm);
    color: var(--color-gray-dark);
}

/* ========================================================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATIONS
   ======================================================================== */

/* Tablet & Small Desktop */
@media (max-width: 992px) {
    .stat-card-enhanced {
        padding: var(--space-5);
    }

    .mini-stats-wrapper {
        flex-direction: column;
        gap: var(--space-4);
    }

    .mini-stat-divider {
        height: 1px;
        width: 100%;
        background: linear-gradient(to right,
            transparent 0%,
            rgba(211, 211, 211, 0.4) 20%,
            rgba(211, 211, 211, 0.6) 50%,
            rgba(211, 211, 211, 0.4) 80%,
            transparent 100%);
    }

    .gallery-card {
        max-width: 380px;
    }

    .gallery-card img {
        height: 300px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Add vertical spacing between impact cards */
    .impact-section .col-md-6,
    .impact-section .col-lg-4 {
        margin-bottom: var(--space-4);
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }

    .impact-section .col-md-6:last-child,
    .impact-section .col-lg-4:last-child {
        margin-bottom: 0;
    }

    .stat-card-enhanced {
        padding: var(--space-4);
        margin-bottom: 0;
    }

    .stat-card-enhanced:hover {
        transform: translateY(-8px) scale(1.02);
    }

    .stat-icon-enhanced {
        width: 56px;
        height: 56px;
        font-size: var(--text-xl);
    }

    .stat-number-enhanced {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .stat-label-enhanced {
        font-size: var(--text-base);
    }

    .stat-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.7rem;
    }

    .mini-stats-wrapper {
        padding: var(--space-4);
    }

    .mini-stat-number {
        font-size: var(--text-2xl);
    }

    .mini-stat-icon {
        font-size: var(--text-xl);
    }

    /* Gallery Mobile Adjustments */
    .gallery-card {
        max-width: 100%;
    }

    .gallery-card img {
        height: 280px;
    }

    .gallery-view-btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }

    .gallery-nav-btn.swiper-button-next,
    .gallery-nav-btn.swiper-button-prev {
        width: 44px;
        height: 44px;
    }

    .gallery-nav-btn.swiper-button-next::after,
    .gallery-nav-btn.swiper-button-prev::after {
        font-size: var(--text-base);
    }

    /* Modal Mobile Adjustments */
    .gallery-modal {
        padding: var(--space-3);
    }

    .gallery-modal-close {
        top: var(--space-3);
        right: var(--space-3);
        width: 42px;
        height: 42px;
    }

    .gallery-modal-nav {
        width: 48px;
        height: 48px;
        font-size: var(--text-xl);
    }

    .gallery-modal-prev {
        left: var(--space-3);
    }

    .gallery-modal-next {
        right: var(--space-3);
    }

    .gallery-modal-counter {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
        bottom: var(--space-4);
    }

    .testimonial-thumbnail {
        height: 220px;
    }

    .play-button-main {
        width: 60px;
        height: 60px;
    }

    .play-button-pulse {
        width: 80px;
        height: 80px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .stat-card-enhanced {
        padding: var(--space-3);
    }

    .gallery-card img {
        height: 240px;
    }

    .gallery-modal-content {
        max-width: 95%;
    }

    .mini-stat-item {
        padding: var(--space-3);
    }
}

/* ========================================================================
   DISABLE AOS ANIMATIONS FOR SPECIFIC SECTIONS
   ======================================================================== */

/* Disable animations in Impact, Gallery, Testimonials and Register sections */
#impact [data-aos],
#gallery [data-aos],
#testimonials [data-aos],
#register [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
}

#impact [data-aos]::before,
#gallery [data-aos]::before,
#testimonials [data-aos]::before,
#register [data-aos]::before {
    animation: none !important;
}

/* Override AOS initialization for these sections */
#impact .aos-init,
#gallery .aos-init,
#testimonials .aos-init,
#register .aos-init {
    opacity: 1 !important;
    transform: none !important;
}

/* ========================================================================
   AOS ANIMATION OPTIMIZATION FOR MOBILE
   ======================================================================== */

@media (max-width: 768px) {
    /* Remove all AOS delays on mobile for instant visibility */
    [data-aos] {
        transition-duration: 400ms !important;
    }

    [data-aos][data-aos-delay] {
        transition-delay: 0ms !important;
    }

    /* Ensure elements are visible immediately on mobile */
    [data-aos].aos-animate {
        opacity: 1 !important;
        transform: translate(0) scale(1) !important;
    }

    /* Reduce offset for earlier triggering */
    body[data-aos-offset] {
        --aos-offset: 20px;
    }
}

/* ============================================
   VOUCHER MODAL STYLES - Modern Badge Design
   ============================================ */

.voucher-code-badge-wrapper {
    text-align: center;
    padding: var(--space-6) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius-xl);
    margin: var(--space-4) 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.voucher-code-label {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.voucher-code-badge {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    letter-spacing: 4px;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-red) 0%, #b30000 100%);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow:
        0 10px 30px rgba(220, 20, 60, 0.3),
        0 0 0 4px rgba(220, 20, 60, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.voucher-code-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.voucher-code-badge:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 40px rgba(220, 20, 60, 0.4),
        0 0 0 4px rgba(220, 20, 60, 0.15);
}

.voucher-details {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    margin-top: var(--space-4);
}

.voucher-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.detail-label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray-dark);
}

.detail-value {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-charcoal);
}

/* QR Code Container */
.qr-code-container {
    text-align: center;
    padding: var(--space-4);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: inline-block;
    margin: 0 auto;
}

.qr-code-container img {
    max-width: 200px;
    height: auto;
    border-radius: var(--radius-md);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .voucher-code-badge {
        font-size: 1.5rem;
        padding: var(--space-3) var(--space-5);
        letter-spacing: 2px;
    }

    .voucher-details {
        gap: var(--space-4);
    }

    .detail-value {
        font-size: var(--text-base);
    }

    /* Form improvements for mobile - ROBUST SOLUTION */
    .modern-form {
        gap: var(--space-3);
        width: 100%;
        max-width: 100%;
    }

    .form-group-wrapper {
        padding: var(--space-3);
        margin-bottom: var(--space-3);
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.03);
    }

    .form-field {
        margin-bottom: var(--space-3);
        width: 100%;
    }

    .form-field:last-child {
        margin-bottom: 0;
    }

    .input-wrapper {
        position: relative;
        width: 100%;
        display: block;
    }

    .form-input {
        width: 100% !important;
        max-width: 100%;
        padding: 14px 12px 14px 42px !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
        line-height: 1.5;
        border: 2px solid rgba(211, 211, 211, 0.3);
        border-radius: var(--radius-md);
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        box-sizing: border-box;
    }

    .form-input:focus {
        border-color: var(--color-red);
        outline: none;
        box-shadow: 0 0 0 3px rgba(181, 0, 0, 0.1);
    }

    .field-label {
        font-size: 14px;
        margin-bottom: var(--space-2);
        font-weight: 600;
        display: block;
        color: var(--color-charcoal);
    }

    /* Stack fields vertically on mobile */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    .row.g-3 {
        display: flex;
        flex-direction: column;
        gap: 0;
        row-gap: var(--space-3);
    }

    .col-md-6 {
        width: 100% !important;
        max-width: 100%;
        padding: 0 !important;
        margin: 0;
        flex: 0 0 100%;
    }

    /* Delivery options on mobile - FULL WIDTH */
    .delivery-options-modern {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding: 0 var(--space-3);
    }

    .delivery-option-card {
        width: 100% !important;
        max-width: 100%;
        padding: var(--space-4);
        margin: 0;
        display: block;
        border: 2px solid rgba(211, 211, 211, 0.3);
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
        min-height: auto;
        background: var(--color-white);
    }

    .delivery-option-card input[type="radio"]:checked ~ .option-content {
        border-color: var(--color-red);
    }

    .option-content {
        display: flex;
        align-items: flex-start;
        gap: var(--space-3);
        width: 100%;
    }

    .option-icon {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        background: rgba(181, 0, 0, 0.1);
        border-radius: var(--radius-md);
        color: var(--color-red);
    }

    .option-info {
        flex: 1;
        min-width: 0;
    }

    .option-info h4 {
        font-size: 16px;
        margin-bottom: 0;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        line-height: 1.4;
        font-weight: 700;
        color: var(--color-charcoal);
    }

    /* Hide descriptions on mobile for better readability */
    .option-info p {
        display: none !important;
    }

    .option-check {
        flex-shrink: 0;
        margin-left: auto;
    }

    .option-check i {
        font-size: 20px;
    }

    /* Submit button on mobile - ENHANCED */
    .btn-submit-modern {
        width: 100% !important;
        max-width: 100%;
        padding: 16px 20px !important;
        font-size: 16px !important;
        min-height: 50px;
        border-radius: var(--radius-lg);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .form-actions {
        width: 100%;
        margin-top: var(--space-4);
    }

    /* Input icons */
    .input-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        color: var(--color-gray-dark);
        pointer-events: none;
    }

    /* Checkbox on mobile - IMPROVED */
    .checkbox-modern {
        display: flex;
        align-items: flex-start;
        gap: var(--space-2);
        padding: var(--space-3);
        cursor: pointer;
    }

    .checkbox-custom {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }

    .checkbox-label {
        font-size: 13px;
        line-height: 1.4;
        flex: 1;
        color: var(--color-charcoal);
    }

    /* Register section on mobile - FULL WIDTH */
    .register-section {
        padding: var(--space-6) 0 !important;
    }

    .register-section .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .register-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .register-section .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .register-card-modern {
        padding: var(--space-4) var(--space-3) !important;
        border-radius: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }

    .register-icon-badge {
        width: 56px;
        height: 56px;
        font-size: var(--text-2xl);
        margin-bottom: var(--space-3);
    }

    .register-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: var(--space-2);
    }

    .register-subtitle {
        font-size: 14px;
        line-height: 1.4;
    }

    .register-header {
        margin-bottom: var(--space-4);
        text-align: center;
    }

    /* Form group headers on mobile - CLEAR & ORGANIZED */
    .form-group-header {
        font-size: 15px;
        padding: var(--space-2) 0;
        margin-bottom: var(--space-2);
        display: flex;
        align-items: center;
        gap: var(--space-2);
        font-weight: 700;
        color: var(--color-charcoal);
        border-bottom: 2px solid rgba(211, 211, 211, 0.2);
        padding-bottom: var(--space-2);
    }

    .form-group-header i {
        font-size: 16px;
        color: var(--color-red);
    }

    .form-group-header span {
        flex: 1;
    }

    /* Error and success messages on mobile */
    .field-feedback {
        font-size: 12px;
        margin-top: var(--space-1);
        line-height: 1.3;
    }

    /* Input status indicators */
    .input-status {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
    }

    /* Responsive viewport units */
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Ensure form content has proper padding 
    .modern-form .form-group-wrapper {
        margin-left: var(--space-2);
        margin-right: var(--space-2);
    }*/

    /* Form actions with proper spacing */
    .register-card-modern .form-actions {
        padding: 0 var(--space-2);
    }
}
