/* =========================
   GENERAL STYLES
========================= */

:root {
    --purple: #8e50e4;
    --light-purple: #d4b1ff;
    --lilac: #d5bbf4;
    --dark-purple: #3f3155;
    --white: #FFFFFF;
    --soft-purple: #e7d1ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--light-purple);
    color: var(--dark-purple);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   NAVIGATION
========================= */

header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(63, 49, 85, 0.08);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 18px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: bold;
    color: var(--dark-purple)
}

.logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--purple);
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: linear-gradient(
        135deg,
        var(--purple),
        var(--lilac)
    );

    padding: 80px 20px;
}

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

.small-heading {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 4px;
    color: var(--white);
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 60px;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 25px;
}

.hero p {
    font-size: 19px;
    color: var(--white);
    margin-bottom: 35px;
}

.button {
    display: inline-block;

    background-color: var(--white);
    color: var(--dark-purple);

    padding: 13px 30px;

    border-radius: 30px;

    font-weight: bold;

    transition: 0.3s;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(63, 49, 85, 0.2);
}

/* =========================
   ABOUT SECTION
========================= */

.about-preview {
    background-color: var(--white);
    padding: 100px 20px;
}

.section-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.section-label {
    color: var(--purple);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.section-content p:not(.section-label) {
    font-size: 17px;
    color: #665b72;
    margin-bottom: 25px;
}

.text-link {
    font-weight: bold;
    color: var(--dark-purple)
}

.text-link:hover {
    color: var(--purple)
}

/* =========================
   PILLARS
========================= */

.pillars {
    padding: 100px 30px;
    text-align: center;
}

.pillar-container {
    max-width: 1100px;
    margin: 50px auto 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.pillar-card {
    background-color: var(--white);

    padding: 35px 25px;

    border-radius: 20px;

    box-shadow: 0 5px 20px rgba(63, 49, 85, 0.08);

    transition: 0.3s;
}

.pillar-card:hover {
    transform: translateY(-7px);
}

.icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.pillar-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.pillar-card p {
    color: #665b72;
    font-size: 15px;
}

/* =========================
   EVENTS
========================= */

.events-preview {
    background-color: var(--soft-purple);
    padding: 100px 30px;
    text-align: center;
}

.events-container {
    max-width: 1100px;
    margin: 50px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.events-container .event-card {
    background-color: var(--white);

    padding: 35px;

    border-radius: 20px;

    text-align:left;

    box-shadow: 0 5px 20px rgba(63, 49, 85, 0.08);
}

.event-date {
    color: var(--purple);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.event-card p {
    color: #665b72;
    margin-bottom: 20px;
}

.event-card a {
    font-weight: bold;
    color: var(--dark-purple);
}

.event-card a:hover {
    color: var(--purple)
}

/* =========================
   FOOTER
========================= */

footer {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 60px 30px;
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: auto;
}

.footer-content h2 {
    margin-bottom: 5px;
}

.footer-links {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links a:hover {
    color: var(--lilac);
}

.copyright {
    font-size: 13px;
    opacity: 0.7;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px
    }

    .hero h1 {
        font-size: 42px;
    }

    .pillar-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {

    .pillar-container {
        grid-template-columns: 1fr;
    }

    .hero h1{
        font-size: 35px;
    }

    h2 {
        font-size: 30px;
    }
}

