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

:root {
    --gold: #fcb21d;
    --green: #1a5510;
    --dark-bg: #1e1e1e;
    --light-text: #ffffff;
    --gray-text: #b0b0c0;
    --card-bg: rgba(85, 69, 16, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob-gold {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.15;
    top: 10%;
    left: -5%;
    animation: float 20s ease-in-out infinite;
}

.blob-gold {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.12;
    bottom: 5%;
    right: -2%;
    animation: float-reverse 25s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

@keyframes float-reverse {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, 30px) scale(1.05);
    }
}

/* Navbar */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Main Content */
main {
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 .gold {
    color: var(--gold);
}

.hero-content h1 .gold {
    color: var(--gold);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--dark-bg);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(205, 156, 46, 0.3);
}

.btn-secondary {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-secondary:hover {
    background-color: rgba(26, 85, 16, 0.1);
    transform: translateX(5px);
}

.hero-graphic {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

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

/* Sections */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

section > p:first-of-type {
    color: var(--gray-text);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Teams Section */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.team-card {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(85, 78, 16, 0.3);
    border-radius: 12px;
    transition: fadeInUp 1s ease-out 0.2s both;
    opacity: 0;
    cursor: pointer;
}

.team-card:hover {
    transform: scale(1.05);
    border-color: var(--gold);
    background: rgba(85, 78, 16, 0.15);
    box-shadow: 0 10px 40px rgba(83, 85, 16, 0.623);
}

.team-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(205, 156, 46, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-members {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(205, 156, 46, 0.3);
    border-radius: 12px;
    transition: fadeInUp 1s ease-out 0.2s both;
    opacity: 0;
}

.project-card:hover {
    transform: scale(1.05);
    border-color: var(--gold);
    background: rgba(205, 156, 46, 0.1);
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.project-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    background-color: rgba(205, 156, 46, 0.2);
    color: var(--gold);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 0.8rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: fadeInUp 1s ease-out 0.2s both;
    opacity: 0;
}

.stat-card-gold {
    background: rgba(26, 85, 16, 0.1);
    border-left: 4px solid var(--gold);
}

.stat-card-gold {
    background: rgba(205, 156, 46, 0.1);
    border-left: 4px solid var(--gold);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.stat-card-gold h3 {
    color: var(--gold);
}

.stat-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
}

/* Join Section */
.join {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--light-text);
}

.join-content {
    max-width: 800px;
    border-radius: 12px;
    margin: 0 auto;
}

.join-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.join-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(5px);
}

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

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

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.footer-column a {
    display: block;
    color: var(--gray-text);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-column p {
    color: var(--gray-text);
    font-size: 0.95rem;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(30, 30, 30, 0.95);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-graphic {
        height: 300px;
    }

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

    section {
        padding: 3rem 2rem;
    }

    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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

    section h2 {
        font-size: 1.8rem;
    }
}
