/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 100px; /* space for fixed nav */
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

/* Navigation */
nav {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    position: fixed; /* FIXED for multi-page */
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 62, 62, 0.2);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    pointer-events: auto; /* ensure links are clickable */
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ff3e3e;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::before { width: 100%; }
nav a:hover { color: #ff3e3e; transform: translateY(-2px); }
nav a.active {
    background: rgba(255, 62, 62, 0.2);
    color: #ff3e3e;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Pages */
.page { display: none; animation: fadeIn 0.5s ease; }
.page.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero { text-align: center; padding: 4rem 0; animation: fadeInUp 0.8s ease; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff3e3e 0%, #ff7070 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite;
}
@keyframes glow {
    0%,100% { filter: drop-shadow(0 0 10px rgba(255,62,62,0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(255,62,62,0.8)); }
}
.hero p { font-size: 1.3rem; color: #ccc; margin-bottom: 2rem; }

/* Staff Cards */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}
.staff-card {
    background: rgba(40,40,40,0.8);
    border: 2px solid rgba(255,62,62,0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: scaleIn 0.5s ease;
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
.staff-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #ff3e3e;
    box-shadow: 0 10px 40px rgba(255,62,62,0.4);
}
.staff-card h3 { color: #ff3e3e; font-size: 1.5rem; margin-bottom: 0.5rem; }
.staff-card p { color: #aaa; }

/* Buttons */
.btn-group { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ff3e3e 0%, #ff1a1a 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,62,62,0.4);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}
.btn:hover::before { width: 300px; height: 300px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,62,62,0.6); }

/* Resource Boxes */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px,1fr)); gap: 2rem; margin: 3rem 0; }
.resource-box {
    background: linear-gradient(135deg, rgba(255,62,62,0.1) 0%, rgba(40,40,40,0.9) 100%);
    border: 2px solid rgba(255,62,62,0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.resource-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,62,62,0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
}
.resource-box:hover::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.resource-box:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: #ff3e3e;
    box-shadow: 0 15px 50px rgba(255,62,62,0.5);
}
.resource-box h3 { font-size: 1.8rem; color: #ff3e3e; margin-bottom: 1rem; position: relative; z-index: 1; }
.resource-box p { color: #ccc; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.resource-box a {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #ff3e3e;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
.resource-box a:hover { background: #ff1a1a; transform: scale(1.1); }

/* Staff List */
.staff-list { display: flex; flex-direction: column; gap: 1.5rem; }
.staff-item {
    background: rgba(40,40,40,0.8);
    border-left: 4px solid #ff3e3e;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: slideInLeft 0.5s ease;
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
.staff-item:hover { transform: translateX(10px); background: rgba(50,50,50,0.9); box-shadow: -5px 0 20px rgba(255,62,62,0.3); }
.staff-item h3 { color: #ff3e3e; margin-bottom: 0.3rem; }
.staff-item p { color: #aaa; }

/* FAQ */
.faq-container { margin: 3rem 0; }
.faq-item {
    background: rgba(40,40,40,0.8);
    border: 2px solid rgba(255,62,62,0.3);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}
.faq-item:hover { border-color: #ff3e3e; }
.faq-question {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff3e3e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.faq-question:hover { background: rgba(255,62,62,0.1); }
.faq-question::after { content: '+'; font-size: 2rem; transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #ccc;
    padding: 0 1.5rem;
}
.faq-item.active .faq-answer { max-height: 500px; padding: 0 1.5rem 1.5rem 1.5rem; }

/* Section Titles */
h2 {
    font-size: 2.5rem;
    color: #ff3e3e;
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeInUp 0.6s ease;
}
.info-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin: 2rem 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    nav ul { gap: 1rem; }
    .resource-grid { grid-template-columns: 1fr; }
}
