/* Core Layout Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0b0f19;
    color: #f3f4f6;
    line-height: 1.6;
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(11, 15, 25, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    z-index: 1000;
    border-bottom: 1px solid #1e293b;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f3f4f6;
}

/* Cinematic Landing Page Background */
.cinematic-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    
    /* This line adds a dark overlay to your image so the white text is readable */
    background: linear-gradient(rgba(11, 15, 25, 0.6), rgba(11, 15, 25, 0.8)), 
                url('bg-image.jpg'); /* This links to your uploaded image */
                
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.cinematic-hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 2s ease-in;
}

/* A smooth fade-in animation for the landing page text */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reusable buttons and cards */
.btn {
    display: inline-block;
    background-color: #f3f4f6;
    color: #0b0f19;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #cbd5e1;
}

.section {
    padding: 6rem 10%;
    text-align: center;
}

.dark-bg {
    background-color: #111827;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

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

.card {
    background-color: #1e293b;
    padding: 2.5rem;
    border-radius: 6px;
    text-align: left;
    border: 1px solid #334155;
}

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

.card p {
    color: #94a3b8;
}

.date {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Timeline specific layout for Events */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.timeline-item {
    border-left: 2px solid #334155;
    padding-left: 2rem;
    padding-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f3f4f6;
}

/* Contact form styles */
.contact-container {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #f3f4f6;
    border-radius: 4px;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.9rem;
}

/* Page Header Section for Subpages */
.page-title-section {
    padding: 8rem 10% 4rem 10%;
    text-align: center;
    background: linear-gradient(180deg, #1e1b4b 0%, #0b0f19 100%);
}

.page-title-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.page-title-section p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto;
}

/* Team Section Styling */
.team-grid {
    max-width: 900px;
    margin: 0 auto;
}

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

.team-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-img-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #334155;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.8rem;
    overflow: hidden;
    border: 2px solid #475569;
    position: relative;
}

.team-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Active Nav Link Highlight */
.nav-links a.active {
    color: #f3f4f6;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 4px;
}
