/* CSS Variables */

:root {
    --primary-color: #FF6B35;
    --secondary-color: #F7931E;
    --accent-color: #FFD23F;
    --success-color: #06D6A0;
    --warning-color: #F18701;
    --error-color: #EF476F;
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7FAFC;
    --bg-accent: #EDF2F7;
    --gradient-sunset: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --gradient-rainbow: linear-gradient(135deg, hsla(334, 98%, 47%, 1.00) 0%, hsla(308, 100%, 51%, 1.00) 25%, hsla(196, 93%, 34%, 1.00) 50%, hsla(192, 99%, 58%, 1.00) 75%, rgba(106, 255, 245, 1) 100%);
    --gradient-sky: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 15px 50px rgba(0, 0, 0, 0.2);
    --border-radius: 20px;
    --border-radius-small: 12px;
    --border-radius-large: 30px;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Nunito', sans-serif;
    --font-playful: 'Fredoka', cursive;
    --transition-smooth: all 0.3s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}


/* Global Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #717376;
    overflow-x: hidden;
}
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><text y="24" font-size="24">✏️</text></svg>') 16 0, auto;
}

.container {
    max-width: 1530px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Floating Background Elements */

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-elements>div {
    position: absolute;
    font-size: 2rem;
    animation: float-around 15s infinite ease-in-out;
    opacity: 0.6;
}

.floating-star {
    animation-delay: 0s;
    top: 10%;
    left: 10%;
}

.floating-heart {
    animation-delay: 2s;
    top: 20%;
    right: 15%;
}

.floating-balloon {
    animation-delay: 4s;
    bottom: 30%;
    left: 20%;
}

.floating-rainbow {
    animation-delay: 6s;
    top: 40%;
    right: 10%;
}

.floating-lotus {
    animation-delay: 8s;
    bottom: 20%;
    right: 25%;
}

.floating-peacock {
    animation-delay: 10s;
    top: 60%;
    left: 15%;
}

.floating-crown {
    animation-delay: 12s;
    bottom: 40%;
    left: 80%;
}

@keyframes float-around {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(-10px) rotate(-3deg);
    }
}


/* Hero Section */

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--gradient-rainbow);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: geometric-float 8s infinite ease-in-out;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 15%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
    animation-delay: 6s;
}

.custom-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}


/* Buttons */

.rainbow-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 300%;
    animation: rainbow 3s ease infinite;
    border: none;
    color: white;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.rainbow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-category {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}


/* Notification Banner */

.notifications-banner {
    background: #007bff;
    /* blue background */
    overflow: hidden;
    position: relative;
    margin-top: 20%;
}

.ticker-wrap {
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
}

.ticker-move:hover {
    animation-play-state: paused;
    /* ✅ pause on hover */
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 28s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin-right: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
    /* white text */
}

@keyframes ticker {
    0% {
        transform: translateX(50%);
    }
    /* start offscreen right */
    100% {
        transform: translateX(-100%);
    }
    /* scroll completely left */
}

.hero-showcase .carousel-caption {
    bottom: 40px;
    left: 40px;
    right: auto;
    text-align: left;
    max-width: 600px;
}

.text-gradient {
    background: linear-gradient(45deg, #1e3c72, #ff4f81);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-showcase h1 {
    font-size: 3.5rem;
    /* large heading */
}

.hero-showcase p {
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 15px;
    border-radius: 8px;
    color: #fff;
}

@keyframes geometric-float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    color: white;
    text-align: center;
}

.badge-india {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.flag-icon {
    width: 24px;
    height: auto;
    border-radius: 4px;
}

.hero-title {
    font-family: var(--font-playful);
    font-size: clamp(4rem, 7vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(45deg, #e3e3e2, hwb(39 62% 0%), hwb(0 44% 7%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-playful);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom,
.btn-secondary-custom {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
    overflow: hidden;
}

.btn-primary-custom {
    background: var(--gradient-sunset);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary-custom:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
}

.button-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-rainbow);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-primary-custom:hover .button-glow {
    opacity: 0.8;
    animation: glow-pulse 1.5s infinite;
}

@keyframes glow-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.hero-main-image {
    width: 100%;
    height: 500px;
    object-fit: fill;
    border-radius: var(--border-radius-large);
}

.image-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.deco {
    position: absolute;
    font-size: 2rem;
    animation: deco-bounce 2s infinite ease-in-out;
}

.deco-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.deco-2 {
    top: 15%;
    right: 15%;
    animation-delay: 0.5s;
}

.deco-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.deco-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes deco-bounce {
    0%,
    100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.floating-photos {
    position: absolute;
    width: 100%;
    height: 100%;
}

.photo-card {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: white;
    padding: 5px;
}

.photo-card img {
    width: 100%;
    height: 80px;
    object-fit: fill;
    border-radius: var(--border-radius-small);
}

.photo-votes {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2px;
}

.photo-1 {
    top: -20px;
    left: -30px;
    animation: photo-float-1 4s infinite ease-in-out;
}

.photo-2 {
    top: -10px;
    right: -40px;
    animation: photo-float-2 4s infinite ease-in-out;
}

.photo-3 {
    bottom: -30px;
    right: 20px;
    animation: photo-float-3 4s infinite ease-in-out;
}

@keyframes photo-float-1 {
    0%,
    100% {
        transform: translateY(0px) rotate(-5deg);
    }
    50% {
        transform: translateY(-20px) rotate(-10deg);
    }
}

@keyframes photo-float-2 {
    0%,
    100% {
        transform: translateY(0px) rotate(8deg);
    }
    50% {
        transform: translateY(-25px) rotate(12deg);
    }
}

@keyframes photo-float-3 {
    0%,
    100% {
        transform: translateY(0px) rotate(-3deg);
    }
    50% {
        transform: translateY(-15px) rotate(-8deg);
    }
}


/* Notifications Banner */

.notifications-banner {
    background: var(--gradient-sunset);
    color: white;
    padding: 15px 0;
    overflow: hidden;
    position: relative;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 0 20px;
}

.ticker-content {
    display: flex;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 3rem;
    font-weight: 600;
    font-size: 1.1rem;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* Section Headers */

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-playful);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-subtitle {
    font-size: 1.2rem;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.title-decoration {
    font-size: 2rem;
    animation: title-bounce 2s infinite ease-in-out;
}

@keyframes title-bounce {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(15deg);
    }
}

.crown-animation {
    animation: crown-glow 2s infinite ease-in-out;
}

@keyframes crown-glow {
    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.2);
        filter: brightness(1.5);
    }
}


/* Categories Section */

.categories-section {
    padding: 5rem 0;
    background: var(--gradient-sky);
    position: relative;
}

.category-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.category-header {
    margin-bottom: 2rem;
}

.category-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.1;
    transition: var(--transition-smooth);
}

.icon-emoji {
    font-size: 4rem;
    position: relative;
    z-index: 2;
}

.toddler-category .icon-bg {
    background: var(--success-color);
}

.kids-category .icon-bg {
    background: var(--primary-color);
}

.tweens-category .icon-bg {
    background: var(--warning-color);
}

.category-card:hover .icon-bg {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.2);
}

.category-title {
    font-family: var(--font-playful);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-age {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.category-body {
    margin-bottom: 2rem;
}

.category-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature {
    background: var(--bg-accent);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.category-footer {
    margin-top: auto;
}

.category-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: var(--border-radius-small);
}

.category-stats span {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.category-btn {
    background: var(--gradient-sunset);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
}

.category-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.category-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: var(--border-radius-large);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.toddler-category .category-glow {
    background: linear-gradient(45deg, var(--success-color), var(--accent-color));
}

.kids-category .category-glow {
    background: var(--gradient-sunset);
}

.tweens-category .category-glow {
    background: linear-gradient(45deg, var(--warning-color), var(--primary-color));
}

.category-card:hover .category-glow {
    opacity: 0.3;
    animation: glow-pulse 1.5s infinite;
}


/* Leaders Section */

.leaders-section {
    padding: 5rem 0;
    position: relative;
}

.leader-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.leader-rank {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rank-badge {
    background: var(--gradient-sunset);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
}

.rank-badge.silver {
    background: linear-gradient(45deg, #C0C0C0, #E5E5E5);
    color: var(--text-primary);
}

.rank-badge.bronze {
    background: linear-gradient(45deg, #CD7F32, #B8860B);
}

.category-label {
    background: var(--bg-accent);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.leader-photo-container {
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.photo-frame {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    padding: 8px;
    background: var(--gradient-sunset);
}

.gold-frame {
    background: linear-gradient(45deg, #FFD700, #FFA500);
}

.silver-frame {
    background: linear-gradient(45deg, #C0C0C0, #E5E5E5);
}

.bronze-frame {
    background: linear-gradient(45deg, #CD7F32, #B8860B);
}

.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 50%;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.leader-card:hover .photo-overlay {
    opacity: 1;
}

.crown-icon {
    font-size: 2rem;
    animation: crown-spin 2s infinite ease-in-out;
}

@keyframes crown-spin {
    0%,
    100% {
        transform: rotate(-10deg) scale(1);
    }
    50% {
        transform: rotate(10deg) scale(1.1);
    }
}

.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.sparkle {
    position: absolute;
    font-size: 1.5rem;
    animation: sparkle-twinkle 2s infinite ease-in-out;
}

.sparkle-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 20%;
    right: 15%;
    animation-delay: 0.7s;
}

.sparkle-3 {
    bottom: 25%;
    left: 10%;
    animation-delay: 1.4s;
}

@keyframes sparkle-twinkle {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.leader-name {
    font-family: var(--font-playful);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.leader-votes {
    margin-bottom: 1rem;
}

.votes-count {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-playful);
}

.votes-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.leader-progress {
    margin-top: 1rem;
}

.progress-bar {
    background: var(--bg-accent);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-sunset);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.view-leaderboard-btn {
    background: var(--gradient-sunset);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.view-leaderboard-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-strong);
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


/* How It Works Section */

.how-it-works {
    padding: 5rem 0;
    background: var(--gradient-rainbow);
    position: relative;
}

.steps-container {
    position: relative;
}

.steps-timeline {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-sunset);
    border-radius: 10px;
    transform: translateY(-50%);
    z-index: 1;
}

.step-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-bounce);
    position: relative;
    z-index: 2;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-sunset);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-playful);
    box-shadow: var(--shadow-medium);
}

.number-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-rainbow);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.step-card:hover .number-glow {
    opacity: 0.7;
    animation: glow-pulse 1.5s infinite;
}

.step-icon {
    position: relative;
    margin: 2rem 0 1.5rem;
}

.step-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.icon-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-smooth);
}

.step-card:hover .icon-animation {
    opacity: 1;
    animation: icon-pulse 1.5s infinite;
}

@keyframes icon-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.step-title {
    font-family: var(--font-playful);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--success-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}


/* Moments Gallery Section */


/* Gallery Section (formerly Moments Gallery) */

.gallery-section {
    background: url("https://t4.ftcdn.net/jpg/04/43/51/83/360_F_443518337_f35bc5dsamfcyWuwtoYBn8NZHwKMiUc8.jpg") no-repeat center center fixed;
    background-size: cover;
    padding: 5rem 0;
}

.gallery-card {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-bounce);
    min-height: 400px;
    width: 100%;
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 3rem;
    color: var(--accent-color);
    animation: icon-pop 0.5s ease-in-out;
}

@keyframes icon-pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-title {
    font-family: var(--font-playful);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-description {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.gallery-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}


/* Responsive Design for Gallery Section */

@media (max-width: 1200px) {
    .gallery-image {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .gallery-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .gallery-image {
        height: 250px;
    }
}

@media (max-width: 400px) {
    .gallery-card {
        min-height: 400px;
    }
}

.view-gallery-btn {
    background: var(--gradient-sunset);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.view-gallery-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-strong);
}


/* Prizes Section */

.prizes-section {
    padding: 5rem 0;
    background: url("https://www.ibackdrop.com/cdn/shop/products/CuteCartoonBackgroundChildren_sToyTrainYellowPhotographyBackdropIBD-19848.jpg?v=1605693103") no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

.prize-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.prize-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.prize-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    font-weight: 700;
    color: var(--text-primary);
}

.prize-content {
    margin-top: 2rem;
}

.prize-amount {
    font-family: var(--font-playful);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.first-prize .prize-amount {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.second-prize .prize-amount {
    background: linear-gradient(45deg, #C0C0C0, #E5E5E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba #00000080 (0, 0, 0, .5);
}

.third-prize .prize-amount {
    background: linear-gradient(45deg, #CD7F32, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prize-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.prize-features {
    text-align: left;
}

.prize-features .feature {
    background: var(--bg-accent);
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius-small);
    color: var(--text-secondary);
    font-weight: 500;
}

.prize-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: var(--border-radius-large);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.gold-glow {
    background: linear-gradient(45deg, #FFD700, #FFA500);
}

.silver-glow {
    background: linear-gradient(45deg, #C0C0C0, #E5E5E5);
}

.bronze-glow {
    background: linear-gradient(45deg, #CD7F32, #B8860B);
}

.prize-card:hover .prize-glow {
    opacity: 0.3;
    animation: glow-pulse 1.5s infinite;
}

.additional-prizes {
    margin-top: 4rem;
}

.special-prize {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-bounce);
}

.special-prize:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.special-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.special-prize h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.special-prize p {
    color: var(--text-secondary);
    line-height: 1.6;
}


/* Footer */

.custom-footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 0 0 50% 50%;
    animation: wave-move 6s infinite ease-in-out;
}

.wave1 {
    animation-delay: 0s;
}

.wave2 {
    animation-delay: 2s;
    opacity: 0.7;
}

.wave3 {
    animation-delay: 4s;
    opacity: 0.5;
}

@keyframes wave-move {
    0%,
    100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

.footer-section {
    position: relative;
    z-index: 2;
}

.footer-title {
    font-family: var(--font-playful);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social-link.facebook {
    background: #3b5998;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.youtube {
    background: hsl(119, 60%, 50%);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-medium);
}

.footer-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--accent-color);
    width: 20px;
}
  .contact-info a {
    text-decoration: none;   /* removes underline */
    color: #c1c5c8ff;             /* makes text grey */
  }

  .contact-info a:hover {
    color:  #ffd700;             /* slightly darker grey on hover */
  }

  .contact-item {
    margin-bottom: 8px;      /* optional: adds spacing between items */
    display: flex;
    align-items: center;
    gap: 8px;                /* space between icon and text */
  }
.footer-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-bottom {
    position: relative;
    z-index: 2;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}


/* Animations */

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

.animate-fade-in {
    animation: fadeIn 1.2s ease-out;
}

.animate-counter {
    animation: counterFadeIn 1.5s ease-out;
}

.animate-bounce-up {
    animation: bounceUp 1s ease-out 0.5s both;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-rotate-in {
    animation: rotateIn 1s ease-out;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes counterFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}


/* Responsive Design */

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .category-card,
    .leader-card,
    .step-card,
    .moment-card,
    .prize-card {
        margin-bottom: 2rem;
    }
    .steps-timeline {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        max-width: 300px;
    }
    .category-card,
    .leader-card,
    .step-card {
        padding: 2rem;
    }
    .floating-photos {
        display: none;
    }
    .footer-badges {
        justify-content: center;
    }
    .social-links {
    }
}

@media (max-width: 576px) {
    .category-card,
    .leader-card,
    .step-card,
    .prize-card {
        padding: 1.5rem;
    }
    .prize-amount {
        font-size: 2.5rem;
    }
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .badge-india {
        font-size: 1rem;
        padding: 10px 20px;
    }
    .copyright {
        text-align: center;
    }
    .footer-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 400px) {
    .section-title {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 15px;
    }
    .category-card,
    .leader-card,
    .step-card,
    .prize-card {
        padding: 1.2rem;
    }
}


/* Testimonials */


/* Basic page setup */


/* Section styling */

.testimonials-section {
    max-width: 1100px;
    margin: 60px auto;
    text-align: center;
    padding: 20px;
}

.testimonials-section h2 {
    font-size: 2rem;
    color: #2b2f4c;
    margin-bottom: 10px;
}

.testimonials-section h2 span {
    color: #ffb400;
}

.subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 1rem;
}


/* Testimonials container in grid */

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    justify-items: center;
}


/* Testimonial card design */

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 25px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 340px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: "💫";
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.2;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.quote {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    text-align: left;
    margin-bottom: 20px;
}

.author-info h4 {
    margin: 0;
    color: #2b2f4c;
    font-weight: 600;
}

.category {
    color: #999;
    font-size: 0.9rem;
    margin: 5px 0;
}

.rating {
    color: #ffb400;
    font-size: 1rem;
}

.rating em {
    color: #555;
    font-style: normal;
    margin-left: 5px;
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .testimonials-section {
        padding: 10px;
    }
    .quote {
        font-size: 0.95rem;
    }
}


/* Film Reel in Hero Section Only - As Wallpaper */

.hero-section {
    position: relative;
    overflow: hidden;
}

.photo-reel-container-vertical {
    margin-top: -200px;
    width: 180px;
    height: 200%;
    overflow: hidden;
    border: 8px solid #1a1a1a;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
    background: url('https://images.pexels.com/photos/167699/pexels-photo-167699.jpeg?auto=compress&cs=tinysrgb&w=600') center/cover no-repeat, linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 10%, #1a1a1a 90%, #2d2d2d 100%);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 5;
    padding: 0;
}


/* Film reel perforations */

.photo-reel-container-vertical::before,
.photo-reel-container-vertical::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 100%;
    background: repeating-linear-gradient( to bottom, transparent 0px, transparent 8px, #000 8px, #000 16px, transparent 16px, transparent 24px);
    top: 0;
    z-index: 2;
}

.photo-reel-container-vertical::before {
    left: 4px;
    box-shadow: 2px 0 0 #444, 4px 0 0 #222;
}

.photo-reel-container-vertical::after {
    right: 4px;
    box-shadow: -2px 0 0 #444, -4px 0 0 #222;
}

.photo-reel-track-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: scrollReelVertical 20s linear infinite;
    padding: 20px 0;
    will-change: transform;
}


/* Pause animation on hover */

.photo-reel-container-vertical:hover .photo-reel-track-vertical {
    animation-play-state: paused;
}

.photo-reel-track-vertical .photo-card {
    flex: 0 0 auto;
    width: calc(100% - 40px);
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.1);
    border: 3px solid #333;
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-reel-track-vertical .photo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.2);
    border-color: #ffd700;
}

.photo-reel-track-vertical .photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Film strip effect overlay */

.photo-reel-track-vertical .photo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 180deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    pointer-events: none;
}


/* Keyframes for continuous vertical scroll */

@keyframes scrollReelVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}


/* Film grain effect */

@keyframes filmGrain {
    0%,
    100% {
        opacity: 0.05;
    }
    50% {
        opacity: 0.1;
    }
}


/* Responsive Design */

@media (max-width: 1200px) {
    .photo-reel-container-vertical {
        width: 150px;
        right: 15px;
    }
    .photo-reel-track-vertical .photo-card {
        height: 120px;
    }
}

@media (max-width: 992px) {
    .photo-reel-container-vertical {
        width: 120px;
        right: 10px;
        border-width: 6px;
    }
    .photo-reel-track-vertical .photo-card {
        width: calc(100% - 30px);
    }
    .photo-reel-container-vertical::before,
    .photo-reel-container-vertical::after {
        width: 10px;
    }
}

@media (max-width: 768px) {
    .photo-reel-container-vertical {
        width: 100px;
        right: 5px;
        border-width: 4px;
    }
    .photo-reel-track-vertical {
        gap: 10px;
    }
    .photo-reel-track-vertical .photo-card {
        height: 85px;
        width: calc(100% - 24px);
        border-width: 2px;
        border-radius: 8px;
    }
    .photo-reel-container-vertical::before,
    .photo-reel-container-vertical::after {
        width: 8px;
    }
}

@media (max-width: 576px) {
    .hero-section .container {
        padding-right: 0;
        /* Remove extra padding for reel */
    }
    .photo-reel-container-vertical::before,
    .photo-reel-container-vertical::after {
        width: 6px;
    }
    .photo-reel-container-vertical::before {
        left: 2px;
    }
    .photo-reel-container-vertical::after {
        right: 2px;
    }
}


/* Adjust hero content to not overlap with reel */

.hero-section .hero-content {
    position: relative;
    z-index: 10;
}

@media (min-width: 992px) {
    .body {
        overflow-x: hidden
    }
    .hero-section .container {
        padding-right: 250px;
        max-height: 500px;
    }
}

@media (min-width: 992px) {
    .hero-section .container {
        padding-right: 200px;
        /* slightly less than reel width */
        max-height: none;
        /* let content expand */
    }
}

@media (max-width: 768px) {
    .hero-section .container {
        padding-right: 140px;
    }
}

@media (max-width: 576px) {
    .hero-section .container {
        padding-right: 130px;
    }
}


/* Mobile adjustments for hero section */


/* Mobile hero section full shrink */

@media (max-width: 768px) {
    .hero-section {
        min-height: 40vh;
        /* Reduce hero height drastically */
        padding: 0.5rem 0;
        /* Minimal padding */
    }
    /* Shrink hero text */
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        /* Much smaller heading */
        margin-bottom: 0.8rem;
    }
    .hero-description {
        font-size: clamp(0.8rem, 1.8vw, 1rem);
        /* Smaller description text */
        margin-bottom: 1.5rem;
    }
    /* Shrink hero stats */
    .stat-number {
        font-size: 1.2rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
    /* Shrink buttons */
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 0.4rem 0.8rem;
        /* Smaller padding */
        font-size: 0.8rem;
        /* Smaller text */
    }
    .btn-primary-custom .button-glow {
        border-radius: 12px;
        /* Adjust glow to match smaller button */
    }
    /* Shrink hero image */
    .hero-main-image {
        height: 180px;
        /* Reduce image height even more */
        object-fit: cover;
    }
    /* Shrink floating decorations */
    .deco {
        font-size: 1.2rem;
    }
    /* Adjust hero stats layout */
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    /* Optional: scale hero buttons flex-wrap */
    .hero-buttons {
        gap: 1rem;
        flex-wrap: wrap;
    }
}

.footer-logo {
    max-width: 50px;
    /* Adjust the size as needed */
    height: 50px;
    display: block;
}
 .gradient-text {
                    background: linear-gradient(45deg, #fff70aff);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-clip: text;
                }
                /* Film Reel in Hero Section Only - As Wallpaper */
                
                .hero-section {
                    position: relative;
                    overflow: hidden;
                }
                
                .photo-reel-container-vertical {
                    margin-top: -200px;
                    width: 180px;
                    height: 200%;
                    overflow: hidden;
                    border: 8px solid #1a1a1a;
                    position: absolute;
                    right: 30px;
                    top: 0;
                    bottom: 0;
                    background: url('https://images.pexels.com/photos/167699/pexels-photo-167699.jpeg?auto=compress&cs=tinysrgb&w=600') center/cover no-repeat, linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 10%, #1a1a1a 90%, #2d2d2d 100%);
                    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3);
                    z-index: 5;
                    padding: 0;
                }
                /* Film reel perforations */
                
                .photo-reel-container-vertical::before,
                .photo-reel-container-vertical::after {
                    content: '';
                    position: absolute;
                    width: 12px;
                    height: 100%;
                    background: repeating-linear-gradient( to bottom, transparent 0px, transparent 8px, #000 8px, #000 16px, transparent 16px, transparent 24px);
                    top: 0;
                    z-index: 2;
                }
                
                .photo-reel-container-vertical::before {
                    left: 4px;
                    box-shadow: 2px 0 0 #444, 4px 0 0 #222;
                }
                
                .photo-reel-container-vertical::after {
                    right: 4px;
                    box-shadow: -2px 0 0 #444, -4px 0 0 #222;
                }
                
                .photo-reel-track-vertical {
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                    animation: scrollReelVertical 20s linear infinite;
                    padding: 20px 0;
                    will-change: transform;
                }
                /* Pause animation on hover */
                
                .photo-reel-container-vertical:hover .photo-reel-track-vertical {
                    animation-play-state: paused;
                }
                
                .photo-reel-track-vertical .photo-card {
                    flex: 0 0 auto;
                    width: calc(100% - 40px);
                    height: 140px;
                    border-radius: 12px;
                    overflow: hidden;
                    margin: 0 auto;
                    position: relative;
                    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.1);
                    border: 3px solid #333;
                    background: #000;
                    transition: transform 0.3s ease, box-shadow 0.3s ease;
                }
                
                .photo-reel-track-vertical .photo-card:hover {
                    transform: scale(1.05);
                    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.2);
                    border-color: #ffd700;
                }
                
                .photo-reel-track-vertical .photo-card img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    display: block;
                }
                /* Film strip effect overlay */
                
                .photo-reel-track-vertical .photo-card::after {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    background: linear-gradient( 180deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
                    pointer-events: none;
                }
                /* Keyframes for continuous vertical scroll */
                
                @keyframes scrollReelVertical {
                    0% {
                        transform: translateY(0);
                    }
                    100% {
                        transform: translateY(-50%);
                    }
                }
                /* Film grain effect */
                
                @keyframes filmGrain {
                    0%,
                    100% {
                        opacity: 0.05;
                    }
                    50% {
                        opacity: 0.1;
                    }
                }
                /* Responsive Design */
                
                @media (max-width: 1200px) {
                    .photo-reel-container-vertical {
                        width: 150px;
                        right: 15px;
                    }
                    .photo-reel-track-vertical .photo-card {
                        height: 120px;
                    }
                }
                
                @media (max-width: 992px) {
                    .photo-reel-container-vertical {
                        width: 120px;
                        right: 10px;
                        border-width: 6px;
                    }
                    .photo-reel-track-vertical .photo-card {
                        width: calc(100% - 30px);
                    }
                    .photo-reel-container-vertical::before,
                    .photo-reel-container-vertical::after {
                        width: 10px;
                    }
                }
                
                @media (max-width: 768px) {
                    .photo-reel-container-vertical {
                        width: 100px;
                        right: 5px;
                        border-width: 4px;
                    }
                    .photo-reel-track-vertical {
                        gap: 10px;
                    }
                    .photo-reel-track-vertical .photo-card {
                        height: 85px;
                        width: calc(100% - 24px);
                        border-width: 2px;
                        border-radius: 8px;
                    }
                    .photo-reel-container-vertical::before,
                    .photo-reel-container-vertical::after {
                        width: 8px;
                    }
                }
                
                @media (max-width: 576px) {
                    .hero-section .container {
                        padding-right: 0;
                        /* Remove extra padding for reel */
                    }
                    .photo-reel-container-vertical::before,
                    .photo-reel-container-vertical::after {
                        width: 6px;
                    }
                    .photo-reel-container-vertical::before {
                        left: 2px;
                    }
                    .photo-reel-container-vertical::after {
                        right: 2px;
                    }
                }
                /* Adjust hero content to not overlap with reel */
                
                .hero-section .hero-content {
                    position: relative;
                    z-index: 10;
                }
                
                @media (min-width: 992px) {
                    .body {
                        overflow-x: hidden
                    }
                    .hero-section .container {
                        padding-right: 250px;
                        max-height: 500px;
                    }
                }
                
                @media (min-width: 992px) {
                    .hero-section .container {
                        padding-right: 200px;
                        /* slightly less than reel width */
                        max-height: none;
                        /* let content expand */
                    }
                }
                
                @media (max-width: 768px) {
                    .hero-section .container {
                        padding-right: 140px;
                    }
                }
                
                @media (max-width: 576px) {
                    .hero-section .container {
                        padding-right: 130px;
                    }
                }
                /* Mobile adjustments for hero section */
                /* Mobile hero section full shrink */
                
                @media (max-width: 768px) {
                    .hero-section {
                        height: 700px !important;
                        /* Reduce hero height drastically */
                        padding: 0.5rem 0;
                        /* Minimal padding */
                    }
                    /* Shrink hero text */
                    .hero-title {
                        margin-top: -90%;
                        font-size: clamp(1.5rem, 5vw, 2.2rem);
                        /* Much smaller heading */
                        margin-bottom: 0.8rem;
                    }
                    .hero-description {
                        font-size: clamp(0.8rem, 1.8vw, 1rem);
                        /* Smaller description text */
                        margin-bottom: 1.5rem;
                    }
                    /* Shrink hero stats */
                    .stat-number {
                        font-size: 1.2rem;
                    }
                    .stat-label {
                        font-size: 0.8rem;
                    }
                    /* Shrink buttons */
                    .btn-primary-custom,
                    .btn-secondary-custom {
                        padding: 0.4rem 0.8rem;
                        /* Smaller padding */
                        font-size: 0.8rem;
                        /* Smaller text */
                    }
                    .btn-primary-custom .button-glow {
                        border-radius: 12px;
                        /* Adjust glow to match smaller button */
                    }
                    /* Shrink hero image */
                    .hero-main-image {
                        height: 180px;
                        /* Reduce image height even more */
                        object-fit: cover;
                    }
                    /* Shrink floating decorations */
                    .deco {
                        font-size: 1.2rem;
                    }
                    /* Adjust hero stats layout */
                    .hero-stats {
                        gap: 1.5rem;
                        flex-wrap: wrap;
                    }
                    /* Optional: scale hero buttons flex-wrap */
                    .hero-buttons {
                        gap: 1rem;
                        flex-wrap: wrap;
                    }
                }
                /* Filter Buttons Styling */
                
                .gallery-section {
                    position: relative;
                    background: url("https://t4.ftcdn.net/jpg/04/43/51/83/360_F_443518337_f35bc5dsamfcyWuwtoYBn8NZHwKMiUc8.jpg");
                    overflow: hidden;
                }
                /* Black overlay using pseudo-element */
                
                .gallery-section::before {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background-color: rgba(0, 0, 0, 0.5);
                    /* black with 50% opacity */
                    z-index: 1;
                    /* behind content */
                }
                /* Make sure content is above overlay */
                
                .gallery-section>* {
                    position: relative;
                    z-index: 2;
                }
                /* Filter Buttons Styling */
                
                .filter-buttons {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: center;
                    gap: 12px;
                    margin-bottom: 3rem;
                    padding: 20px;
                    background: rgba(255, 255, 255, 0.7);
                    backdrop-filter: blur(10px);
                    border-radius: 50px;
                    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
                    animation: slideDown 0.6s ease-out;
                }
                
                @keyframes slideDown {
                    from {
                        opacity: 0;
                        transform: translateY(-20px);
                    }
                    to {
                        opacity: 1;
                        transform: translateY(0);
                    }
                }
                
                .filter-btn {
                    padding: 10px 24px;
                    border: 2px solid transparent;
                    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                    color: white;
                    border-radius: 25px;
                    font-weight: 600;
                    font-size: 14px;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    position: relative;
                    overflow: hidden;
                    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
                }
                
                .filter-btn::before {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    width: 0;
                    height: 0;
                    border-radius: 50%;
                    background: rgba(255, 255, 255, 0.3);
                    transform: translate(-50%, -50%);
                    transition: width 0.6s, height 0.6s;
                }
                
                .filter-btn:hover::before {
                    width: 300px;
                    height: 300px;
                }
                
                .filter-btn:hover {
                    transform: translateY(-3px);
                    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
                }
                
                .filter-btn.active {
                    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
                    box-shadow: 0 6px 25px rgba(245, 87, 108, 0.5);
                    transform: scale(1.05);
                }
                
                .filter-btn.active::after {
                    content: '✓';
                    margin-left: 8px;
                    font-weight: bold;
                }
                /* Enhanced Gallery Cards */
                
                .gallery-card {
                    background: white;
                    border-radius: 20px;
                    overflow: hidden;
                    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
                    position: relative;
                    height: 100%;
                }
                
                .gallery-card::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
                    opacity: 0;
                    transition: opacity 0.3s ease;
                    z-index: 1;
                    pointer-events: none;
                }
                
                .gallery-card:hover::before {
                    opacity: 1;
                }
                
                .gallery-card:hover {
                    transform: translateY(-15px) scale(1.02);
                    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
                }
                
                .gallery-image {
                    position: relative;
                    overflow: hidden;
                    border-radius: 20px 20px 0 0;
                }
                
                .gallery-image img {
                    transition: transform 0.6s ease;
                }
                
                .gallery-card:hover .gallery-image img {
                    transform: scale(1.15) rotate(2deg);
                }
                
                .gallery-icon {
                    font-size: 4rem;
                    animation: bounceIn 0.6s ease;
                    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
                }
                
                @keyframes bounceIn {
                    0% {
                        transform: scale(0);
                        opacity: 0;
                    }
                    50% {
                        transform: scale(1.2);
                    }
                    100% {
                        transform: scale(1);
                        opacity: 1;
                    }
                }
                
                .gallery-content {
                    padding: 20px;
                    position: relative;
                    z-index: 2;
                }
                
                .gallery-title {
                    font-size: 1.3rem;
                    font-weight: 700;
                    color: hsla(218, 100%, 92%, 1.00);
                    margin-bottom: 10px;
                    background: linear-gradient(135deg, #667eea 0%, rgba(186, 118, 255, 1) 100%);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-clip: text;
                }
                
                .gallery-description {
                    color: #718096;
                    font-size: 0.95rem;
                    line-height: 1.6;
                    margin-bottom: 15px;
                }
                
                .gallery-stats {
                    display: flex;
                    justify-content: space-between;
                    padding-top: 15px;
                    border-top: 2px solid #e2e8f0;
                }
                
                .gallery-stats span {
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    color: #4a5568;
                    font-weight: 600;
                    font-size: 0.9rem;
                    transition: all 0.3s ease;
                }
                
                .gallery-stats span i {
                    color: #f5576c;
                    font-size: 1rem;
                }
                
                .gallery-card:hover .gallery-stats span {
                    color: #667eea;
                    transform: scale(1.1);
                }
                /* Gallery Item Animation */
                
                .gallery-item {
                    animation: fadeInUp 0.6s ease-out;
                    animation-fill-mode: both;
                }
                
                .gallery-item:nth-child(1) {
                    animation-delay: 0.1s;
                }
                
                .gallery-item:nth-child(2) {
                    animation-delay: 0.2s;
                }
                
                .gallery-item:nth-child(3) {
                    animation-delay: 0.3s;
                }
                
                .gallery-item:nth-child(4) {
                    animation-delay: 0.4s;
                }
                
                .gallery-item:nth-child(5) {
                    animation-delay: 0.5s;
                }
                
                .gallery-item:nth-child(6) {
                    animation-delay: 0.6s;
                }
                
                @keyframes fadeInUp {
                    from {
                        opacity: 0;
                        transform: translateY(30px);
                    }
                    to {
                        opacity: 1;
                        transform: translateY(0);
                    }
                }
                /* Hidden class for filtering */
                
                .gallery-item.hidden {
                    display: none;
                    animation: none;
                }
                /* View Gallery Button Enhancement */
                
                .view-gallery-btn {
                    display: inline-flex;
                    align-items: center;
                    gap: 12px;
                    padding: 16px 40px;
                    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                    color: white;
                    border: none;
                    border-radius: 50px;
                    font-size: 1.1rem;
                    font-weight: 700;
                    text-decoration: none;
                    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
                    transition: all 0.3s ease;
                    position: relative;
                    overflow: hidden;
                }
                
                .view-gallery-btn::before {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    width: 0;
                    height: 0;
                    border-radius: 50%;
                    background: rgba(255, 255, 255, 0.3);
                    transform: translate(-50%, -50%);
                    transition: width 0.6s, height 0.6s;
                }
                
                .view-gallery-btn:hover::before {
                    width: 400px;
                    height: 400px;
                }
                
                .view-gallery-btn:hover {
                    transform: translateY(-5px) scale(1.05);
                    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
                    color: white;
                }
                
                .view-gallery-btn i {
                    font-size: 1.3rem;
                    transition: transform 0.3s ease;
                }
                
                .view-gallery-btn:hover i {
                    transform: scale(1.2) rotate(15deg);
                }
                /* Section Header Enhancement */
                
                .gallery-title {
                    font-size: 30px;
                    font-weight: 600;
                    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-clip: text;
                    margin-bottom: 15px;
                    position: relative;
                    display: inline-block;
                }
                
                @keyframes rotate {
                    0%,
                    100% {
                        transform: rotate(0deg);
                    }
                    25% {
                        transform: rotate(-15deg);
                    }
                    75% {
                        transform: rotate(15deg);
                    }
                }
                
                .section-subtitle {
                    font-size: 1.2rem;
                    color: #718096;
                    font-weight: 500;
                    max-width: 600px;
                    margin: 0 auto;
                }
                /* Responsive Enhancements */
                
                @media (max-width: 768px) {
                    .filter-buttons {
                        padding: 15px;
                        border-radius: 25px;
                    }
                    .filter-btn {
                        padding: 8px 18px;
                        font-size: 12px;
                    }
                    .section-title {
                        font-size: 2rem;
                    }
                    .gallery-icon {
                        font-size: 3rem;
                    }
                }
                
                @media (max-width: 576px) {
                    .filter-buttons {
                        gap: 8px;
                    }
                    .filter-btn {
                        padding: 6px 14px;
                        font-size: 11px;
                    }
                    .section-title {
                        font-size: 1.8rem;
                    }
                    .title-decoration {
                        font-size: 2rem;
                    }
                }
                
                .section-subtitle {
                    font-size: 1.2rem;
                    color: white;
                    max-width: 600px;
                    margin: 0 auto;
                }


/* ======== Mobile Spacing Fix (for 360x740 and similar) ======== */
@media (max-width: 400px) {
  .hero-image-container {
    margin-top: 40PX!important; /* adds space between text and image */
  }

  .hero-section .col-lg-6:first-child {
    margin-bottom: 1.5rem !important; /* ensures text area has space below */
  }

  .hero-main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
/* Mobile-specific adjustments */
@media (max-width: 576px) {
    .hero-image-container {
        align-items:center;
        margin-top:50%;  /* slightly smaller spacing on mobile */
        overflow:hidden;
    }
    .hero-main-image {
        align-items:center;
        margin-left:50px;
        max-width: 65%;   /* scale down for mobile */
        height: auto;
    }
}

@media (min-width: 992px) {
    .hero-image-container {
        margin-top: 50%; /* more spacing on desktop */
    }
    .hero-main-image {
        max-width: 800px; /* larger image on big screens */
    }
}

 .leader-photo-container {
                position: relative;
                margin-bottom: 1.5rem;
                overflow: hidden;
                border-radius: 20px;
                cursor: pointer;
                transition: transform 0.3s ease;
            }
            
            .leader-photo-container:hover {
                transform: translateY(-10px) scale(1.02);
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
                z-index: 10;
            }
            
            .photo-frame {
                position: relative;
                border-radius: 20px;
                overflow: hidden;
                box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
                transition: all 0.3s ease;
                height: 250px;
                /* Fixed height for consistency */
            }
            
            .leader-photo {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                display: block;
            }
            
            .leader-photo-container:hover .leader-photo {
                transform: scale(1.1) rotate(1deg);
            }
            
            .leader-card {
                background: rgba(255, 255, 255, 0.1);
                backdrop-filter: blur(20px);
                border: 1px solid rgba(255, 255, 255, 0.2);
                border-radius: 20px;
                padding: 2rem;
                margin-bottom: 2rem;
                position: relative;
                overflow: hidden;
                transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
                /* Removed hover transform from card */
            }
            
            .leader-card:hover {
                background: rgba(255, 255, 255, 0.12);
                box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
                /* Only subtle background and shadow change */
            }
            
            .leader-card::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
                transition: left 0.6s;
            }
            
            .leader-card:hover::before {
                left: 100%;
            }
            /* Enhanced photo overlay on hover */
            
            .photo-overlay {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 50%, rgba(255, 107, 53, 0.1) 100%);
                display: flex;
                align-items: center;
                justify-content: center;
                opacity: 0;
                transition: opacity 0.3s ease;
                border-radius: 20px;
            }
            
            .leader-photo-container:hover .photo-overlay {
                opacity: 1;
            }
            
            .crown-icon {
                font-size: 3.5rem;
                animation: crownGlow 1.5s ease-in-out infinite alternate;
                filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
                transform: scale(0);
                transition: transform 0.3s ease;
            }
            
            .leader-photo-container:hover .crown-icon {
                transform: scale(1);
            }
            
            @keyframes crownGlow {
                from {
                    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
                    transform: rotate(-5deg);
                }
                to {
                    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 1));
                    transform: rotate(5deg);
                }
            }
            /* Enhanced sparkle effects tied to image hover */
            
            .sparkles {
                position: absolute;
                top: 0;
                right: 0;
                width: 100%;
                height: 100%;
                pointer-events: none;
                opacity: 0;
                transition: opacity 0.3s ease;
            }
            
            .leader-photo-container:hover .sparkles {
                opacity: 1;
            }
            
            .sparkle {
                position: absolute;
                font-size: 1.8rem;
                animation: sparkleBurst 2s ease-out infinite;
                filter: drop-shadow(0 0 5px currentColor);
            }
            
            .sparkle-1 {
                top: 20px;
                left: 20px;
                animation-delay: 0s;
                color: #FFD700;
            }
            
            .sparkle-2 {
                top: 30px;
                right: 20px;
                animation-delay: 0.3s;
                color: #FFA500;
            }
            
            .sparkle-3 {
                bottom: 20px;
                left: 30px;
                animation-delay: 0.6s;
                color: #FF6B35;
            }
            
            @keyframes sparkleBurst {
                0% {
                    transform: scale(0) rotate(0deg);
                    opacity: 0;
                }
                10% {
                    opacity: 1;
                }
                90% {
                    opacity: 1;
                }
                100% {
                    transform: scale(1.5) rotate(360deg);
                    opacity: 0;
                }
            }
            /* Frame glow effect on hover */
            
            .gold-frame.leader-photo-container:hover {
                box-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 20px 40px rgba(0, 0, 0, 0.3);
            }
            
            .silver-frame.leader-photo-container:hover {
                box-shadow: 0 0 40px rgba(192, 192, 192, 0.6), 0 20px 40px rgba(0, 0, 0, 0.3);
            }
            
            .bronze-frame.leader-photo-container:hover {
                box-shadow: 0 0 40px rgba(205, 127, 50, 0.6), 0 20px 40px rgba(0, 0, 0, 0.3);
            }
            /* Ensure proper stacking */
            
            .leader-card .col-lg-4 {
                position: relative;
            }
            
            .leader-photo-container {
                z-index: 2;
            }
            /* Responsive adjustments */
            
            @media (max-width: 768px) {
                .photo-frame {
                    height: 200px;
                }
                .leader-photo-container:hover {
                    transform: translateY(-5px) scale(1.01);
                }
                .crown-icon {
                    font-size: 2.5rem;
                }
            }

               /* 🔹 Popup overlay */
            
            .popup-ad {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.6);
                display: none;
                /* hidden by default */
                justify-content: center;
                align-items: center;
                z-index: 9999;
                animation: fadeIn 0.3s ease-in-out;
            }
            /* 🔹 Popup box */
            
            .popup-content {
                background: #fff;
                border-radius: 16px;
                padding: 25px 30px;
                max-width: 500px;
                width: 90%;
                text-align: center;
                position: relative;
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
                animation: slideUp 0.4s ease;
            }
            /* 🔹 Close button */
            
            .close-btn {
                position: absolute;
                top: 10px;
                right: 15px;
                border: none;
                background: transparent;
                font-size: 26px;
                cursor: pointer;
                color: #666;
                transition: color 0.2s;
            }
            
            .close-btn:hover {
                color: #000;
            }
            /* 🔹 Title */
            
            .popup-title {
                font-family: 'Poppins', sans-serif;
                font-size: 22px;
                font-weight: 700;
                color: #333;
                margin-bottom: 15px;
            }
            /* 🔹 Video styling */
            
            .video-wrapper iframe {
                border-radius: 10px;
                width: 100%;
            }
            /* 🔹 Paragraph */
            
            .popup-text {
                font-size: 16px;
                color: #555;
                margin-top: 15px;
                line-height: 1.5;
            }
            /* 🔹 Animations */
            
            @keyframes fadeIn {
                from {
                    opacity: 0;
                }
                to {
                    opacity: 1;
                }
            }
            
            @keyframes slideUp {
                from {
                    transform: translateY(40px);
                    opacity: 0;
                }
                to {
                    transform: translateY(0);
                    opacity: 1;
                }
            }
              
            .ad-card {
                background: #fff;
                border-radius: 12px;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
                padding: 15px;
                max-width: 300px;
                margin: 20px auto;
                /* centers it */
                position: relative;
                font-family: 'Poppins', sans-serif;
                text-align: center;
                transition: transform 0.3s ease, opacity 0.3s ease;
            }
            /* 🔹 Close Button */
            
            .ad-card .close-btn {
                position: absolute;
                top: 6px;
                right: 8px;
                border: none;
                background: transparent;
                font-size: 20px;
                cursor: pointer;
                color: #666;
                transition: color 0.2s;
            }
            
            .ad-card .close-btn:hover {
                color: #000;
            }
            /* 🔹 Title */
            
            .ad-card .ad-title {
                font-size: 16px;
                font-weight: 700;
                color: #333;
                margin: 10px 0;
            }
            /* 🔹 Video */
            
            .video-wrapper iframe {
                width: 100%;
                border-radius: 8px;
            }
            /* 🔹 Text */
            
            .ad-card .ad-text {
                font-size: 14px;
                color: #555;
                margin-top: 8px;
            }
            /* 🔹 Hide animation */
            
            .ad-card.hide {
                transform: scale(0.95);
                opacity: 0;
                pointer-events: none;
            }
            
            .photo-frame {
                position: relative;
                width: 300px;
                height: 300px;
                border-radius: 50%;
                overflow: hidden;
                margin: 0 auto;
                padding: 8px;
                background: var(--gradient-sunset);
            }