:root {
    --primary-navy: #0b132b;
    --secondary-navy: #1c2541;
    --accent-orange: #d9531e;
    --accent-gold: #c59b27;
    --accent-purple: #5b2c6f;
    --text-dark: #222222;
    --text-muted: #666666;
    --bg-light: #f8f6f0;
    --bg-card-blue: #f0f4f8;
    --bg-card-orange: #fdf6ed;
    --bg-card-purple: #f5f0f8;
}

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background-color: var(--primary-navy);
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background:
        url('../assets/Home-hero.webp') center/cover no-repeat;
    padding: 80px 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 500px;
}
.hero-text-content{
    background-color: rgba(0, 0, 0, 0.305);
    padding: 5px;
    border-radius: 10px;
    margin-top: 80px;
}
.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-title span {
    color: white;
}

.hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: #fbfbfb;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-orange {
    background-color: var(--accent-orange);
    color: white;
    padding: 10px 20px;
}

.btn-outline-red {
    border: 1px solid #b31b1b;
    color: white;
    background-color: rgba(179, 27, 27, 0.84);
    padding: 10px 20px;
}

/* --- STATS BAR --- */
.stats-section {
    background-color: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 24px;
    color: #f1c40f;
    background: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
}

.stat-info p {
    font-size: 12px;
    color: #9ca3af;
}

.stat-info p span {
    font-size: 10px;
}

/* --- SECTION HEADINGS --- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-navy);
}

.dark-bg .section-title {
    color: #ffffff;
}

/* --- WHAT WE DO SECTION --- */
.what-we-do {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 3%;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto;
}

.pillar-card {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pillar-card.blue {
    background-color: var(--bg-card-blue);
}

.pillar-card.orange {
    background-color: var(--bg-card-orange);
}

.pillar-card.purple {
    background-color: var(--bg-card-purple);
}

.card-img-wrapper {
    position: relative;
    height: 180px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-icon-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
}

.blue .card-icon-badge {
    background-color: #1e40af;
}

.orange .card-icon-badge {
    background-color: var(--accent-orange);
}

.purple .card-icon-badge {
    background-color: var(--accent-purple);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.blue .card-title {
    color: #1e3a8a;
}

.orange .card-title {
    color: #9a3412;
}

.purple .card-title {
    color: #581c87;
}

.card-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #374151;
}

.card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-btn {
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blue .card-btn {
    background-color: #1e3a8a;
}

.orange .card-btn {
    background-color: var(--accent-orange);
}

.purple .card-btn {
    background-color: var(--accent-purple);
}

/* --- OUR GOALS SECTION --- */
.our-goals {
    background-color: var(--primary-navy);
    padding: 60px 3%;
    text-align: center;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.goal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.goal-icon {
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.goal-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #ffffff;
}

.goal-desc {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
}

.motto-text {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 20px;
    color: var(--accent-gold);
    margin-top: 20px;
}

/* --- UPCOMING EVENTS --- */
.events-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 3%;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.event-card {
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
    color: #ffffff;
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

.blue {
    color: rgb(67, 224, 255);
}

.gradient {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.event-card.hackathon {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.464), rgba(15, 23, 42, 0.612)),
        url('../assets/home-event-1.webp') center/cover;
}

.event-card.convention {
    background: linear-gradient(135deg, rgba(49, 16, 80, 0.545), rgba(15, 23, 42, 0.447)),
        url('../assets/home-event-2.webp') center/cover;
}

.event-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-logo {
    height: 30px;
}

.event-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.event-title {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 4px;
}

.event-subtitle {
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.event-motto {
    font-size: 10px;
    letter-spacing: 1px;
    color: #aaa;
}

.event-desc {
    font-size: 12px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 15px;
}

.event-footer span {
    font-size: 10px;
    color: #aaa;
}

/* --- TABLET RESPONSIVENESS (<= 1024px) --- */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px 0;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .goals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- MOBILE RESPONSIVENESS (<= 768px) --- */
@media (max-width: 768px) {
    .hero {
        padding: 60px 6%;
        min-height: auto;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 22px;
    }

    .motto-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .goals-grid {
        grid-template-columns: 1fr;
    }
}