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

:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #3b82f6;
    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --border: #334155;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 78px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
}

.cta-button:hover {
    background: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--secondary);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--primary);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About */
.about {
    padding: 100px 0;
}

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

.about-text h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.stat {
    text-align: center;
    padding: 24px;
    background: var(--secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--secondary);
}

.contact-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer p {
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Training Page */
.training-hero {
    padding: 140px 0 80px;
    background: var(--primary);
}

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

.training-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.training-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.training-modules {
    padding: 80px 0;
    background: var(--secondary);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.module-card {
    background: var(--primary);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.module-card:hover::before {
    transform: scaleY(1);
}

.module-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.module-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.module-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.module-meta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.module-meta span {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.duration {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
}

.level {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-secondary);
}

.training-cta {
    text-align: center;
    padding: 60px 32px;
    background: var(--primary);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.training-cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.training-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Mobile adjustments for training page */
@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .training-hero {
        padding: 120px 0 60px;
    }

    .training-modules {
        padding: 60px 0;
    }

    .training-cta {
        padding: 40px 24px;
    }
}

/* Lesson Page Styles */
.lesson-hero {
    padding: 140px 0 60px;
    background: var(--primary);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #60a5fa;
}

.breadcrumb span {
    color: var(--text-secondary);
}

.lesson-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.lesson-meta {
    display: flex;
    gap: 16px;
}

.lesson-meta span {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
}

.lesson-content {
    padding: 80px 0;
    background: var(--secondary);
}

.lesson-main {
    max-width: 900px;
    margin: 0 auto;
}

.lesson-overview,
.lesson-slides,
.lesson-objectives,
.lesson-topics {
    margin-bottom: 60px;
}

.lesson-overview h2,
.lesson-slides h2,
.lesson-objectives h2,
.lesson-topics h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.lesson-overview p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.slides-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--primary);
    border-radius: 12px;
    border: 1px solid var(--border);
    align-items: flex-start;
}

.slides-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.slides-info {
    flex: 1;
}

.slides-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.slides-info p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.objectives-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.objectives-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--primary);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.objectives-list li:hover {
    border-color: var(--accent);
    transform: translateX(8px);
}

.objectives-list li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.objectives-list li span {
    font-size: 16px;
    color: var(--text);
    line-height: 1.6;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.topic-item {
    padding: 24px;
    background: var(--primary);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.topic-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.topic-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.topic-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.lesson-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-button.back {
    background: var(--primary);
    color: var(--text);
    border: 1px solid var(--border);
}

.nav-button.back:hover {
    border-color: var(--accent);
    transform: translateX(-4px);
}

.nav-button.next {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
}

.nav-button.next:hover {
    background: #2563eb;
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* Mobile adjustments for lesson page */
@media (max-width: 768px) {
    .lesson-hero {
        padding: 120px 0 40px;
    }

    .lesson-content {
        padding: 60px 0;
    }

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

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .lesson-navigation {
        flex-direction: column;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Team Page Styles */
.team-hero {
    padding: 140px 0 60px;
    background: var(--primary);
    text-align: center;
}

.team-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.team-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.team-content {
    padding: 80px 0;
    background: var(--secondary);
}

.team-section {
    margin-bottom: 80px;
}

.team-section:last-child {
    margin-bottom: 0;
}

.department-group {
    margin-bottom: 60px;
}

.department-group:last-child {
    margin-bottom: 0;
}

.department-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 32px;
    padding-left: 4px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.team-member-card {
    background: var(--primary);
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
}

.member-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.member-role {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 4px;
}

.member-department {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 8px;
}

.team-member-card.faculty .member-avatar {
    background: rgba(148, 163, 184, 0.15);
}

/* Mobile adjustments for team page */
@media (max-width: 768px) {
    .team-hero {
        padding: 120px 0 40px;
    }

    .team-content {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-section {
        margin-bottom: 60px;
    }

    .department-group {
        margin-bottom: 40px;
    }
}