/* Custom Styles for Leo Club Website */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Pages that should not scroll (like home page with carousel) */
body.no-scroll-page {
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Pages that can scroll normally */
body:not(.no-scroll-page) {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 0; /* will be set dynamically to match navbar height */
}

/* Navigation */
.navbar {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    background: rgba(250, 250, 250, 0.88) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.3s ease;
}

.navbar-brand img {
    margin-right: 5px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.03);
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    color: #444 !important;
    padding: 0.6rem 0.9rem !important;
    margin: 0 3px;
    border-radius: 6px;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

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

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(13, 110, 253, 0.04);
}

.navbar-nav .nav-link.active {
    background-color: rgba(13, 110, 253, 0.08) !important;
    font-weight: 600;
    color: var(--primary-color) !important;
}

/* Premium Dropdowns */
.navbar .dropdown-menu {
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem;
    margin-top: 5px;
    animation: navbarDropdownFade 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.navbar .dropdown-item {
    border-radius: 8px;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.07);
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Modern Auth Buttons */
.navbar .btn-outline-primary {
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    border-width: 1.5px;
    padding: 0.45rem 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.navbar .btn-primary {
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    padding: 0.45rem 1.25rem;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
    transform: translateY(-2px);
}

/* Hero Carousel */
.carousel {
    margin-top: 0; /* keep carousel below fixed navbar using body padding */
}

/* Page Header - Remove white space between navbar and page header */
.page-header {
    margin-top: -76px; /* Remove white gap under fixed navbar */
    padding-top: calc(76px + 3rem) !important; /* Add navbar height + original padding */
}

/* Carousel on no-scroll pages (home page) */
body.no-scroll-page .carousel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

body.no-scroll-page .carousel-inner {
    flex: 1;
    min-height: 0;
}

body.no-scroll-page .carousel-item {
    height: 100%;
    min-height: max(calc(100vh - 76px - 80px), 580px); /* Viewport minus navbar/footer, at least 580px */
}

/* Carousel on scrollable pages (if any) */
body:not(.no-scroll-page) .carousel-item {
    height: calc(87vh - 76px); /* viewport minus navbar */
    min-height: 580px;
}

.carousel-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.carousel-caption p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-size: 1.25rem;
}

/* Hero text – headline & tagline */
.hero-text-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.08) 100%);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.15);
    animation: heroFadeIn 0.9s ease-out;
}

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

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin: 0 0 0.75rem 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 4px 20px rgba(0,0,0,0.3);
}

.hero-tagline-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
    margin: 0 auto 1rem auto;
    border-radius: 2px;
}

.hero-tagline {
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 500;
    color: rgba(255,255,255,0.95) !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 2px 12px rgba(0,0,0,0.35);
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    animation: heroButtonsFadeIn 0.9s ease-out 0.2s both;
}

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

.hero-btn-primary,
.hero-btn-secondary {
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    padding: 0.95rem 1.85rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    color: #0d6efd;
    border-color: rgba(255,255,255,0.9);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e8eeff 100%);
    color: #0a58ca;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.2);
    border-color: #fff;
}

.hero-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.95);
    color: #0d6efd;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25), 0 0 20px rgba(255,255,255,0.15);
    border-color: #fff;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.card-body {
    padding: 1.5rem;
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-card i {
    color: var(--primary-color);
}

/* Gallery */
.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

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

/* Forms */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Footer */
.footer-wrapper {
    background-color: #09090b;
    width: 100%;
}

.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.footer-title {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #fff;
}

.footer-bottom {
    background-color: #030303;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social-label {
    font-size: 13px;
    margin-right: 0.5rem;
    white-space: nowrap;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    color: #09090b;
    background-color: #fff;
    transform: translateY(-3px);
}

.admin-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.08);
}

.admin-login-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.admin-login-link i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        padding: 20px 16px;
    }
    .footer-content .footer-copyright {
        position: static;
        transform: none;
        order: 2;
        text-align: center;
        width: 100%;
        margin-top: 0.5rem;
    }
    .footer-social-wrapper {
        order: 1;
        justify-content: center;
        width: 100%;
        flex: none;
        margin-left: 0;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-social-label {
        margin-right: 0.75rem;
    }
    .footer-admin-link {
        position: static;
        transform: none;
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 0.75rem;
    }
    .admin-login-link {
        justify-content: center;
    }
}

/* Buttons */
.btn {
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    body.no-scroll-page .carousel-item {
        min-height: max(calc(100vh - 76px - 60px), 450px); /* Smaller footer on mobile */
    }
    
    body:not(.no-scroll-page) .carousel-item {
        height: calc(82vh - 56px);
        min-height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-text-wrapper {
        padding: 1rem 1.25rem;
    }
    
    .hero-tagline {
        letter-spacing: 0.05em;
        font-size: 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Spinner */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Alert Messages */
.alert {
    border-radius: 5px;
    margin-bottom: 1rem;
    width: 100%; /* full width of container so it doesn't sit inline with other content */
}

/* Center top toast - fixed at top center, just below navbar, doesn't affect layout */
.alert-bottom {
    position: fixed;
    top: calc(76px + 1rem); /* just below fixed navbar (76px) */
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 2rem);
    width: auto;
    min-width: 280px;
    margin: 0;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Image Placeholders */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Text Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

/* Section Spacing */
section {
    padding: 3rem 0;
    flex-shrink: 0;
}

/* Card Images */
.card-img-top {
    object-fit: cover;
}

/* Hero Backgrounds */
.hero-bg-1 {
    background:url('../images/hero1.jpg') center/cover;
}

.hero-bg-2 {
    background: url('../images/hero2.jpg') center/cover;
}

.hero-bg-3 {
    background: url('../images/hero3.jpg') center/cover;
}

/* About Page */
.about-image-placeholder {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-fallback {
    height: 100%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
}

/* Board Members */
.board-member-photo {
    width: 100%;
    padding-top: 100%; /* 1:1 square aspect ratio — all cards same height */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.board-member-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* keeps face visible */
}

.board-member-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Board Member Cards - Increased Width */
section.py-5 .container {
    max-width: 1400px;
}

section.py-5 .row .col-md-3 .card {
    padding: 0;
}

section.py-5 .row .col-md-3 .card-body {
    padding: 1.5rem;
}

@media (min-width: 1200px) {
    section.py-5 .container {
        max-width: 1600px;
    }
}

/* Gallery */
.gallery-image-wrapper {
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image-wrapper:hover img {
    transform: scale(1.1);
}

.gallery-image-fallback {
    height: 100%;
    width: 100%;
}

/* Contact Page */
.contact-info-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

.contact-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    transform: translateY(-2px);
}

/* ========== Form Card Decoration (Membership & Contact) ========== */
.form-page-section {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 70%);
}

.form-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 12px 40px rgba(13, 110, 253, 0.12) !important;
}

.form-card .card-body {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 16px;
}

/* Decorative top accent bar */
.form-card-membership .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--info-color) 100%);
    border-radius: 16px 16px 0 0;
}

.form-card-contact .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--success-color) 0%, var(--primary-color) 100%);
    border-radius: 16px 16px 0 0;
}

/* Form section titles */
.form-section-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(13, 110, 253, 0.2);
    display: flex;
    align-items: center;
}

.form-section-title i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.form-section-divider {
    margin: 1.5rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.2), transparent);
}

/* Form inputs inside form cards - enhanced */
.form-card .form-control,
.form-card .form-select {
    border-radius: 10px;
    border: 2px solid #e8ecf0;
    padding: 0.65rem 1rem;
    background-color: #fff;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
    background-color: #fff;
}

.form-card .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
}

.form-card .form-label .text-danger {
    margin-left: 2px;
}

/* Form card buttons */
.form-card .btn-primary {
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-card .btn-secondary {
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.form-card .d-grid .btn,
.form-card .d-md-flex .btn {
    border-radius: 10px;
}

/* Optional: subtle icon-style focus for inputs (using pseudo if needed) */
.form-card textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* Buttons Enhancement */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4);
}

.btn-light {
    background: #ffffff;
    color: #0d6efd;
    font-weight: 600;
    border: 2px solid #ffffff;
}

.btn-light:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline-light {
    border: 2px solid #ffffff;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #0d6efd;
}

/* Award Photos */
.award-photo {
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.award-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: none;
    transform: none;
}

.award-photo:hover img {
    transform: none;
    scale: 1;
}

.award-fallback {
    height: 100%;
    width: 100%;
}

/* Projects Page */
.project-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2) !important;
}

.project-image-wrapper {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.1);
}

.project-image-fallback {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-card .card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.project-card .card-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.project-card .badge {
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}
/* Statistics Section */
.stats-section {
    padding: 5rem 0;
}

.stat-card {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 3px solid transparent;
}

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

.stat-card:nth-child(1) {
    border-top-color: var(--primary-color);
}

.stat-card:nth-child(2) {
    border-top-color: var(--success-color);
}

.stat-card:nth-child(3) {
    border-top-color: var(--warning-color);
}

.stat-card:nth-child(4) {
    border-top-color: var(--danger-color);
}

.stat-icon {
    animation: float 3s ease-in-out infinite;
}

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

.stat-number {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

/* Featured Events Section */
.featured-events {
    padding: 5rem 0;
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color));
    border-radius: 2px;
}

.event-card {
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
}

.event-image {
    transition: transform 0.3s ease;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-body {
    background: white;
}

.event-card .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
}

/* Call to Action Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fc0 100%);
    border-radius: 12px;
    margin: 3rem 0;
}

.cta-section h2 {
    font-size: 2.2rem;
}

.cta-section .btn {
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonial-card {
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
    border-color: var(--primary-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.avatar-circle {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-card h6 {
    color: var(--dark-color);
}

/* Utility Classes */
.rounded-lg {
    border-radius: 12px;
}

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

.transition-hover:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-section {
        text-align: center !important;
    }
    
    .cta-section .btn {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-card {
        margin-bottom: 1.5rem;
    }
}

/* Wave Separator */
.wave-separator {
    width: 100%;
    line-height: 0;
}
.wave-separator svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    border-radius: 12px;
    margin: 2rem 0;
    padding: 1.75rem 2rem;
    box-shadow: 0 8px 30px rgba(2,6,23,0.06);
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.back-to-top i {
    font-size: 1.1rem;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(20px) scale(0.995);
    transition: all 0.6s cubic-bezier(.2,.8,.2,1);
}
.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Counter style override */
.stat-number .count {
    display: inline-block;
}

@media (max-width: 576px) {
    .back-to-top { right: 12px; bottom: 20px; }
}