/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #014c35;
    --light-green: #01d69b;
    --black: #000;
    --white: #fff;
    --gray-light: #f8f9fa;
    --gray-dark: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 1.8em;
    font-weight: 400;
    color: var(--black);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.section-title.text-white {
    color: var(--white);
}

/* Hero title specific styling */
.hero-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Large text elements */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Josefin Sans', sans-serif;
}

/* Card titles and feature headings */
.feature-box h4,
.about-card h4,
.story-card h4,
.card-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
}

/* Accordion headers */
.accordion-header h2,
.accordion-button {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
}

/* Counter numbers */
.counter {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
}

.lead {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(1, 76, 53, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover {
    color: var(--light-green) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--light-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 76, 53, 0.8);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--light-green);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    line-height: 1.8em;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--light-green);
    border-color: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(1, 214, 155, 0.3);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* ===== SECTIONS ===== */
.section-padding {
    padding: 100px 0;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--light-green);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.section-divider.light {
    background: var(--white);
}

/* ===== FEATURE BOXES ===== */
.feature-box {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(1, 214, 155, 0.3);
}

.feature-box h4 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* ===== GENEROSITY SECTION ===== */
.generosity-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/end.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    position: relative;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 76, 53, 0.8);
}

.counter-box {
    text-align: center;
    margin-bottom: 2rem;
}

.counter-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--light-green);
    display: block;
    margin-bottom: 0.5rem;
}

.counter-box h4 {
    color: var(--white);
    font-size: 1.2rem;
}

.generosity-text {
    font-size: 1.3rem;
    color: var(--white);
    line-height: 1.8;
}

/* ===== VIDEO SECTION ===== */
.video-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

/* ===== BOOK SECTION ===== */
.book-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.book-image img {
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.book-content {
    padding: 2rem 0;
}

.book-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-dark);
}

.book-signup-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.book-signup-form .form-control:focus {
    border-color: var(--light-green);
    box-shadow: 0 0 0 0.2rem rgba(1, 214, 155, 0.25);
}

/* ===== ABOUT CARDS ===== */
.about-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.about-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* ===== STORY SECTION ===== */
.story-section {
    background: linear-gradient(rgba(1, 76, 53, 0.8), rgba(1, 76, 53, 0.8)), url('../images/hero-4.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 100px 0;
    position: relative;
}

.timeline {
    position: relative;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--light-green);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--light-green);
    border: 4px solid var(--white);
    top: 2.5rem;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* ===== FORMS ===== */
.contact-form .form-control,
.book-signup-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.book-signup-form .form-control:focus {
    border-color: var(--light-green);
    box-shadow: 0 0 0 0.2rem rgba(1, 214, 155, 0.25);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== ACCORDION ===== */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background: var(--white);
    color: var(--primary-green);
    font-weight: 500;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-green);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    background: var(--gray-light);
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--primary-green);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-logo img {
    filter: brightness(0) invert(1);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    text-decoration: none;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--light-green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(1, 214, 155, 0.3);
}

.footer-tagline {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--light-green);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 3rem;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 3rem;
    }
    
    .timeline-item::after {
        left: 10px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 10px;
    }
    
    .counter-number {
        font-size: 3rem;
    }
    
    .hero-section,
    .generosity-section,
    .story-section {
        background-attachment: scroll;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-box,
    .about-card {
        padding: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.bg-light {
    background-color: var(--gray-light) !important;
}

.text-primary {
    color: var(--primary-green) !important;
}

.text-light-green {
    color: var(--light-green) !important;
}

/* ===== NAVBAR ACTIVE STYLES ===== */
#mainNav .nav-link {
    border-radius: 24px;
    transition: all 0.2s ease;
}

#mainNav .nav-link.active {
    border: 2px solid var(--light-green);
    color: #fff !important;
    background-color: rgba(1, 214, 155, 0.12);
}

#mainNav .nav-link.active:hover {
    background-color: rgba(1, 214, 155, 0.18);
}

/* ===== PARALLAX BACKGROUNDS ===== */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== LOADING ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Modern Why BAGS Section Styles */
.why-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.why-card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    opacity: 0.2;
    transform: scale(1.3);
    z-index: -1;
}

.why-card-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.why-card-content h5 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.why-card-content p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Expectation Card */
.expectation-card {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 20px;
    padding: 3rem;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.expectation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.expectation-header h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.expectation-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    opacity: 1;
}

/* Disclaimer Card */
.disclaimer-card {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-icon i {
    font-size: 1.2rem;
    color: #ffffff;
}

.disclaimer-content p {
    margin-bottom: 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 2.5;
}

.disclaimer-content strong {
    color: #533f03;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .why-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .expectation-card {
        padding: 2rem;
    }
    
    .expectation-header h3 {
        font-size: 1.6rem;
    }
    
    .disclaimer-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .disclaimer-icon {
        align-self: center;
    }
}

/* Modern Join the Fun Section Styles */
.fun-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.fun-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
}

.fun-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.fun-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.fun-card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 20px;
    opacity: 0.2;
    transform: scale(1.2);
    z-index: -1;
}

.fun-card-icon i {
    font-size: 2.2rem;
    color: #ffffff;
}

.fun-card-content h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.fun-card-content p {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Video Showcase */
.video-showcase {
    background: #ffffff;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.video-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
}

.video-header {
    text-align: center;
    margin-bottom: 2rem;
}

.video-header h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.video-header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.video-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    border-radius: 15px;
}

/* Video navigation controls */
.video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 3;
}

.video-nav:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

.video-nav.prev {
    left: 12px;
}

.video-nav.next {
    right: 12px;
}

/* Fun CTA Card */
.fun-cta-card {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(1, 76, 53, 0.3);
}

.fun-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(45deg);
}

.fun-cta-content {
    position: relative;
    z-index: 2;
}

.fun-cta-content h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.fun-cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.fun-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fun-cta-buttons .btn {
    min-width: 180px;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.fun-cta-buttons .btn-primary {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--primary-green);
}

.fun-cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.fun-cta-buttons .btn-outline-primary {
    border-color: #ffffff;
    color: #ffffff;
    background: transparent;
}

.fun-cta-buttons .btn-outline-primary:hover {
    background: #ffffff;
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fun-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .fun-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .fun-card-icon i {
        font-size: 1.8rem;
    }
    
    .video-showcase {
        padding: 1.5rem;
    }
    
    .video-header h3 {
        font-size: 1.5rem;
    }
    
    .fun-cta-card {
        padding: 2rem;
    }
    
    .fun-cta-content h3 {
        font-size: 1.8rem;
    }
    
    .fun-cta-content p {
        font-size: 1.1rem;
    }
    
    .fun-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .fun-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* The End Game: More Joy Section Styles */
.joy-main-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 5px solid;
    border-image: linear-gradient(135deg, var(--primary-green), var(--light-green)) 1;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.joy-main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.joy-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
}

.joy-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.joy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse 2s infinite;
}

.joy-icon i {
    font-size: 2rem;
    color: white;
}

.joy-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}

.joy-content h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.joy-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    text-align: center;
    margin: 0;
}

/* Challenge Card Styles */
.challenge-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.challenge-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 2rem;
    text-align: center;
}

.challenge-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.challenge-card:hover .challenge-icon {
    transform: rotate(0deg) scale(1.1);
}

.challenge-icon i {
    font-size: 1.8rem;
    color: white;
}

.challenge-header h3 {
    color: var(--primary-green);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.challenge-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

.giving-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.giving-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--light-green);
    transition: all 0.3s ease;
}

.giving-option:hover {
    background: #e8f5e8;
    transform: translateX(5px);
}

.giving-option i {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.giving-option span {
    font-weight: 600;
    color: #333;
}

.challenge-note {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(1, 76, 53, 0.05), rgba(1, 214, 155, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(1, 214, 155, 0.2);
}

.challenge-note p {
    margin: 0;
    font-style: italic;
    color: var(--primary-green);
    font-weight: 600;
}

/* Joy CTA Card Styles */
.joy-cta-card {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(1, 76, 53, 0.3);
    transition: all 0.3s ease;
}

.joy-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(1, 76, 53, 0.4);
}

.joy-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.joy-cta-content h3 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.joy-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.joy-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.joy-cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.joy-cta-buttons .btn-primary {
    background: white;
    color: var(--primary-green);
    border: 2px solid white;
}

.joy-cta-buttons .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.joy-cta-buttons .btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.joy-cta-buttons .btn-outline-primary:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(1, 214, 155, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(1, 214, 155, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(1, 214, 155, 0);
    }
}

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

/* Responsive adjustments for Joy section */
@media (max-width: 768px) {
    .joy-main-card,
    .challenge-card,
    .joy-cta-card {
        padding: 2rem;
    }
    
    .giving-options {
        grid-template-columns: 1fr;
    }
    
    .joy-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .joy-cta-buttons .btn {
        width: 100%;
    }
    
    .challenge-header {
        flex-direction: column;
    }
    
    .joy-content h3,
    .challenge-header h3 {
        font-size: 1.5rem;
    }
    
    .joy-cta-content h3 {
        font-size: 1.8rem;
    }
}