:root {
    /* Primary Colors - Matching TWiK Logo */
    --primary-red: #dc2626;
    --primary-black: #1f2937;
    --accent-white: #ffffff;
    
    /* Background Colors */
    --background-primary: #ffffff;
    --background-secondary: #f8fafc;
    --background-gradient: linear-gradient(135deg, #fef2f2 0%, #f9fafb 50%, #ffffff 100%);
    
    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --text-light: #ffffff;
    
    /* Border and Effects */
    --border-light: rgba(220, 38, 38, 0.1);
    --border-hover: rgba(220, 38, 38, 0.3);
    --shadow-primary: 0 10px 25px rgba(220, 38, 38, 0.15);
    --backdrop-blur: blur(10px);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-red), var(--primary-black));
    --gradient-text: linear-gradient(135deg, var(--primary-red), var(--primary-black));
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
}

.all-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--background-gradient);
    margin-top: 40px;
}

.hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
}

.hero-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1.2s ease-out;
    /*background: rgba(254, 242, 242, 0.5);*/
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.hero-question {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s both;
}

.stats-reveal {
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-primary);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 1s ease-out 0.6s both;
    transition: all 0.3s ease;
}

.stats-reveal:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
    border-color: var(--border-hover);
}

.big-number {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 1rem;
    position: relative;
}

.big-number::after {
    content: '+';
    position: absolute;
    top: 0;
    right: -30px;
    font-size: 0.6em;
    opacity: 0.7;
}

.stats-reveal p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.stats-reveal strong {
    color: var(--primary-red);
    font-weight: 700;
}

/* Hero Image Grid Styles */
.hero-slider {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.image-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: scrollUp 20s linear infinite;
}

.image-column:nth-child(2) {
    animation: scrollDown 25s linear infinite;
    animation-delay: -5s;
}

.image-column:nth-child(3) {
    animation: scrollUp 30s linear infinite;
    animation-delay: -10s;
}

.image-column:nth-child(4) {
    animation: scrollDown 22s linear infinite;
    animation-delay: -15s;
}

.image-item {
    min-height: 250px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.image-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(220, 38, 38, 0.1) 0%,
        rgba(31, 41, 55, 0.2) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}



.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.4);
}

/* Floating Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: var(--primary-black);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite reverse;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 120px; }
}

/* Scroll Animations */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}


@media (max-width: 1960px) {

    .hero-content {
    max-width: 600px;
    animation: fadeInUp 1.2s ease-out;
    /*background: rgba(254, 242, 242, 0.5);*/
}
   
    .hero-text h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
        color: var(--text-primary);
    }
    
    .hero-question {
        color: var(--text-primary);
        margin-bottom: 2rem;
        font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    }
    
}

/* Mobile Responsive - Overlay Text on Hero Slider BELOW 1024px */
@media (max-width: 1024px) {
    .all-hero {
        margin-top: 80px;
    }
    
    .hero {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        z-index: 10;
        background: transparent;
    }
    
    .hero-container {
        padding: 2rem 1.5rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }
    
    .hero-content {
        max-width: 90%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        padding: 2.5rem;
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(220, 38, 38, 0.2);
    }
    
    .hero-slider {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        z-index: 1;
        flex-direction: row;
        padding: 0;
        gap: 0.5rem;
    }
    
    /* Add dark overlay to images for better text readability */
    .hero-slider::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1);
        z-index: 2;
        pointer-events: none;
    }
    
    .hero-text h1 {
        font-size: clamp(2rem, 6vw, 3rem);
        color: var(--text-primary);
    }
    
    .hero-question {
        color: var(--text-primary);
        margin-bottom: 2rem;
        font-size: clamp(1rem, 2.5vw, 1.25rem);
    }

    .image-column {
        animation-duration: 15s;
        gap: 0.5rem;
    }
    
    .image-item {
        min-height: 180px;
        border-radius: 0;
    }
    
}

@media (max-width: 768px) {
    .hero-container {
        padding: 1.5rem 1rem;
    }
    
    .hero-content {
        max-width: 95%;
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .hero-text h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-question {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-slider::before {
        background: rgba(0, 0, 0, 0.1);
    }

    .image-column {
        animation-duration: 12s;
    }
    
    .image-item {
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .all-hero {
        margin-top: 70px;
    }
    
    .hero-content {
        padding: 1.5rem;
        max-width: 100%;
        margin: 0 0.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-text h1::after {
        width: 80px;
        height: 3px;
    }
    
    .hero-question {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-slider::before {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .image-item {
        min-height: 120px;
    }
}

/* Performance optimizations */
.slide-bg {
    will-change: transform;
}

.slide-content {
    will-change: transform, opacity;
}

.stats-reveal {
    will-change: transform;
}