:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 1rem;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

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

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 6rem 2rem 2rem; */
    padding: 0 2rem 1rem;
    background: radial-gradient(circle at top right, #e0e7ff, transparent 40%),
                radial-gradient(circle at bottom left, #fce7f3, transparent 40%);
}

.school-logo {
    width: 340px;
    margin: 0 0 10px;
}
@media (max-width: 768px) {
    .school-logo {
        width: 240px;
        margin: 0 auto;
    }
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: rotate(0deg) scale(1.02);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius);
    z-index: -1;
    transform: rotate(-2deg);
}

/* Features/Platform Section */
.platform {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    /* margin-bottom: 3rem; */
    margin-bottom: 1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: #e0e7ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: var(--surface);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 0; /* Reset margin as gap handles it */
    margin-bottom: 10px;
}

.about-image {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
    flex-shrink: 0;
}

.about-image:hover {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}
.hero-image:after {
    content: 'FOR PRESIDENT';
    font-size: 32px;
    color: white;
    display: block;
    position: absolute;
    bottom: 25%;
    background: midnightblue;
    left: 0;
    right: 0;
    text-align: center;
    transform: rotate(-15deg);
    opacity: 0.66;
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 4rem;
    }

    .about-image {
        width: 300px;
        height: 300px;
        margin: 0;
    }
    
    .about-container .section-title {
        text-align: center; /* Keep title centered or move to left if preferred, keeping centered for now */
        margin-bottom: 4rem;
    }
}

/* Contact/Join Section */
.join {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
    margin-top: 2rem;
}

.join h2 {
    margin-bottom: 1.5rem;
    color: white;
}

.join-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
}

.join-form input {
    flex: 1;
    padding: 1rem;
    border-radius: 2rem;
    border: none;
    font-family: var(--font-body);
}

.join-form button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.join-form button:hover {
    background: #db2777;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    background: var(--background);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .join-form {
        flex-direction: column;
    }
}
