:root {
    --festival-primary: #4f0e01;
    /* Deep Maroon */
    --festival-secondary: #FF8C00;
    /* Saffron/Gold */
    --festival-accent: #DC143C;
    /* Crimson */
    --festival-bg: #FFF8F0;
    /* Off-white/Creamy background */
    --festival-text: #2C1810;
    /* Dark brown text */
    --festival-gold: #D4AF37;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    background-color: #fff;
    color: var(--festival-text);
    overflow-x: hidden;
}

/* Hero Section Container */
.new-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #fff;
    overflow: hidden;
    padding-top: 160px;
    /* Space for fixed nav (topbar + header) */
}

/* Animated Gradient Background */
.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #fff 0%, #fff8f0 50%, #fff 100%);
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    animation: moveShape 20s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--festival-secondary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--festival-accent);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

@keyframes moveShape {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 100px) scale(1.2);
    }
}

/* Stats Row below Hero */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--festival-primary);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.6;
}

/* Hero Content */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(139, 0, 0, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--festival-primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--festival-text);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--festival-primary);
    position: relative;
}

.hero-tagline {
    font-size: 22px;
    line-height: 1.6;
    color: #555;
    max-width: 550px;
    margin-bottom: 40px;
    min-height: 3em;
    /* Prevents layout jump for typing effect */
}

/* Buttons */
.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-festival {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--festival-primary), var(--festival-accent));
    color: #fff;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.3);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--festival-primary);
    color: var(--festival-primary);
}

.btn-secondary:hover {
    background: var(--festival-primary);
    color: #fff;
    transform: translateY(-5px);
}

/* Right side illustration - Circular Cluster */
.hero-illustration {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-cluster {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle-img {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: #fff;
    transition: all 0.5s ease;
}

.circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-1 {
    width: 320px;
    height: 320px;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float1 6s infinite ease-in-out;
}

.img-2 {
    width: 180px;
    height: 180px;
    z-index: 4;
    top: 10%;
    right: 5%;
    animation: float2 8s infinite ease-in-out;
}

.img-3 {
    width: 140px;
    height: 140px;
    z-index: 2;
    bottom: 5%;
    left: 5%;
    animation: float3 7s infinite ease-in-out;
}

/* Decorative Rotating Ring */
.circle-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border: 2px dashed var(--festival-secondary);
    border-radius: 50%;
    z-index: 1;
    animation: rotateRing 20s linear infinite;
    opacity: 0.4;
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

/* Responsiveness for Circle Cluster */
@media (max-width: 1199px) {
    .img-1 {
        width: 280px;
        height: 280px;
    }

    .img-2 {
        width: 150px;
        height: 150px;
    }

    .img-3 {
        width: 120px;
        height: 120px;
    }

    .circle-ring {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 767px) {
    .hero-illustration {
        height: 400px;
    }

    .img-1 {
        width: 220px;
        height: 220px;
    }

    .img-2 {
        width: 120px;
        height: 120px;
    }

    .img-3 {
        width: 100px;
        height: 100px;
    }

    .circle-ring {
        width: 280px;
        height: 280px;
    }
}

/* Floating icons around illustration */
.floating-icon {
    position: absolute;
    font-size: 40px;
    color: var(--festival-secondary);
    opacity: 0.6;
    animation: floatIcon 4s infinite ease-in-out;
}

.icon-book {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.icon-pen {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
    font-size: 30px;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-10px, -15px);
    }
}

/* Typing Cursor */
.typing-cursor {
    animation: blink 1s step-end infinite;
    border-right: 2px solid var(--festival-primary);
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--festival-primary);
    }
}

/* Particles */
#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 992px) {
    .new-hero {
        text-align: center;
        height: auto;
        padding-top: 160px;
        padding-bottom: 80px;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .illustration-container {
        margin-top: 50px;
    }
}

@media (max-width: 767px) {
    .new-hero {
        padding-top: 140px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
}