:root {
    --primary-color: #1f1b37;
    --highlight-color: #f2e500;
    --text-white: #ffffff;
    --text-gray: #a1a1aa; /* Zinc-400 like */
    --bg-dark: #09090b; /* Zinc-950 like, darker than before for contrast */
    --bg-card: #1f1b37; /* Matches primary branding but used as card bg */
    --border-color: rgba(255, 255, 255, 0.1);
    --font-main: 'Poppins', sans-serif;
    --spacing-section: 6rem;
    --radius: 0.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border-color);
}

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at center, #1f1b37 0%, #09090b 70%);
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: -0.02em; /* Tighter tracking for modern look */
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--text-white); /* Keep white, use highlight for accents */
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.75;
}

/* Buttons (shadcn style) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: none; /* Removed uppercase */
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--highlight-color);
    color: #000000; /* Contrast text on yellow */
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #e6b600;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 194, 0, 0.2);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
}

/* Header (Distinct from Hero) */
.main-header {
    padding: 12px 0;
    background-color: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 36px;
    width: auto;
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: block;
    }
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--text-white);
}

.header-cta {
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: transparent;
}

.hero-section h1 {
    color: var(--highlight-color);
}

.hero-intro {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-gray);
}

/* About Section */
.about-section {
    padding: var(--spacing-section) 0;
    background-color: transparent;
}

.about-summary {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--spacing-section) 0;
    background-color: transparent;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.highlight-text {
    color: var(--highlight-color);
}

.newsletter-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #d1d5db;
}

.newsletter-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e4e4e7;
    font-size: 0.95rem;
    width: 100%; /* Force full width in container */
    justify-content: flex-start; /* Align left */
    text-align: left;
}

@media (min-width: 768px) {
    .feature-item {
        width: auto; /* Revert to auto width on desktop */
        justify-content: center;
    }
}

.feature-icon {
    color: var(--highlight-color);
    font-size: 1.1rem;
    border: 1px solid rgba(242, 229, 0, 0.2);
    padding: 8px;
    border-radius: 50%;
    background: rgba(242, 229, 0, 0.05);
}

/* Team Section */
.team-section {
    padding: var(--spacing-section) 0;
    background-color: transparent;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-image {
    width: 225px;
    height: 225px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.team-role {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 400;
}

/* Events Section */
.events-section {
    padding: var(--spacing-section) 0;
}

.bg-darker {
    background-color: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden; /* Hide overflow for sliding effect */
    padding: 0 40px; /* Space for arrows */
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.carousel::-webkit-scrollbar {
    display: none;
}

.event-card {
    min-width: 300px;
    max-width: 300px; /* Fixed width cards */
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid var(--border-color);
    display: block;
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.event-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.status-text {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--highlight-color);
    font-weight: 500;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--text-gray);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

/* Footer */
.main-footer {
    background-color: transparent;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-gray);
    max-width: 300px;
}

.footer-right {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-gray);
    transition: color 0.2s, transform 0.2s;
}

.social-icon:hover {
    color: var(--highlight-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #52525b;
    margin-bottom: 0;
}
