:root {
    --primary-color: #0a1628;
    --secondary-color: #1e3a5f;
    --accent-color: #4a90e2;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e0e0e0;
    --spacing-unit: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background-color: rgba(10, 22, 40, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logos {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
}

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

.logo {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--spacing-unit) * 1);
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--bg-color);
    transition: var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.navbar-menu {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
    align-items: center;
}

.navbar-link {
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: calc(var(--spacing-unit) * 1) 0;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.navbar-link:hover {
    color: var(--accent-color);
}

.navbar-link:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-poster,
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-poster {
    z-index: 2;
}

.hero-video {
    z-index: 3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 22, 40, 0.4), rgba(10, 22, 40, 0.7));
    z-index: 4;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: var(--bg-color);
    padding: 0 calc(var(--spacing-unit) * 3);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: calc(var(--spacing-unit) * 4);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.hero-cta {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.hero-cta:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.5);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 2);
    text-align: center;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    margin: 0 auto calc(var(--spacing-unit) * 3);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about {
    padding: calc(var(--spacing-unit) * 12) 0;
    background-color: var(--bg-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 6);
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.about-text h2 {
    text-align: left;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.about-text .title-underline {
    margin: 0 0 calc(var(--spacing-unit) * 3) 0;
}

.about-text p {
    margin-bottom: calc(var(--spacing-unit) * 3);
    line-height: 1.8;
    color: var(--text-color);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.team {
    padding: calc(var(--spacing-unit) * 12) 0;
    background-color: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}

.team-member {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: calc(var(--spacing-unit) * 3);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.team-member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto calc(var(--spacing-unit) * 2);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.team-member-role {
    font-size: 1rem;
    color: var(--text-light);
}

.acknowledgments {
    padding: calc(var(--spacing-unit) * 12) 0;
    background-color: var(--bg-color);
}

.acknowledgments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    align-items: center;
}

.acknowledgment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-unit) * 3);
    background-color: var(--bg-secondary);
    border-radius: 12px;
    transition: var(--transition);
    min-height: 120px;
}

.acknowledgment-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.acknowledgment-logo img {
    max-width: 180px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.acknowledgment-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.footer {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 4);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 6);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--bg-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-logos {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
    align-items: flex-start;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: calc(var(--spacing-unit) * 4);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.footer-legal {
    font-size: 0.9rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 76px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 76px);
        background-color: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: calc(var(--spacing-unit) * 4);
        gap: calc(var(--spacing-unit) * 3);
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }

    .navbar-menu.active {
        right: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 4);
    }

    .about-text h2,
    .about-text .title-underline {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

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

    .acknowledgments-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: calc(var(--spacing-unit) * 3);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 4);
    }

    .footer-logos {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .team-member-image {
        width: 120px;
        height: 120px;
    }
}
