@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --enactus-yellow: #FFD100; /* Signature Enactus Yellow */
    --enactus-yellow-hover: #E5BB00;
    --enactus-dark: #121212;
    --enactus-darker: #0a0a0a;
    --enactus-gray: #f4f4f4;
    --enactus-text: #333333;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--enactus-text);
    background-color: var(--enactus-gray);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--enactus-yellow) !important;
    letter-spacing: 1px;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--enactus-yellow) !important;
}

.nav-link.active {
    font-weight: 700;
}

.btn-enactus {
    background-color: var(--enactus-yellow);
    color: var(--enactus-dark);
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-enactus:hover {
    background-color: var(--enactus-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 209, 0, 0.4);
    color: var(--enactus-dark);
}

.btn-outline-enactus {
    background-color: transparent;
    color: var(--enactus-yellow);
    border: 2px solid var(--enactus-yellow);
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-outline-enactus:hover {
    background-color: var(--enactus-yellow);
    color: var(--enactus-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 209, 0, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(to right, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.4) 100%), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}

.hero-subheading {
    color: rgba(255, 255, 255, 0.9);
    max-width: 480px;
    line-height: 1.6;
}

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

.bg-dark-section {
    background-color: var(--enactus-dark);
    color: white;
}

.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--enactus-yellow);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Impact Stats */
.stat-card {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--enactus-yellow);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--enactus-dark);
    margin-bottom: 10px;
}

.stat-label {
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Project Cards */
.project-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.project-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-card .card-body {
    padding: 30px;
}

.project-title {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* News Cards */
.news-card {
    background: var(--enactus-dark);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--enactus-yellow);
}

.news-card:hover {
    transform: translateX(10px);
    background: var(--enactus-darker);
}

.news-date {
    color: var(--enactus-yellow);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Footer */
.footer-section {
    background-color: var(--enactus-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 5px solid var(--enactus-yellow);
}

.footer-section h4, .footer-section h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-brand {
    color: var(--enactus-yellow);
    font-size: 1.8rem;
    font-weight: 800;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--enactus-yellow);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--enactus-yellow);
    color: var(--enactus-dark) !important;
    transform: translateY(-3px);
}

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

/* Community Engagement Framework Section */
.bg-yellow-soft {
    background-color: rgba(255, 209, 0, 0.12);
}

.pillar-quick-card {
    background: #ffffff;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pillar-quick-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(255, 209, 0, 0.4);
}

.pillar-quick-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.pillar-number-badge {
    font-size: 3rem;
    font-weight: 800;
    color: var(--enactus-yellow);
    opacity: 0.85;
    line-height: 1;
}

.module-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
}

.module-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--enactus-yellow);
}

.bg-dark-card {
    background: #161616;
}

/* ── Mobile responsive ─────────────────────────────────────── */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll !important;
        min-height: auto !important;
        padding-top: 110px !important;
        padding-bottom: 70px !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.15 !important;
    }

    .section-padding {
        padding: 60px 0;
    }

    .stat-card {
        padding: 28px 16px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .project-card img {
        height: 200px;
    }

    .partner-logo {
        max-height: 48px !important;
        margin: 8px 12px !important;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .btn-enactus.btn-lg,
    .btn-outline-enactus.btn-lg {
        padding: 10px 24px !important;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem !important;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-padding {
        padding: 48px 0;
    }
}

.bullet-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}