:root {
    /* Branding Colors */
    --color-code: #2563eb;
    --color-ninjas: #1f2937;
    --color-training: #10b981;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-600: #4b5563;
    --color-gray-800: #1f2937;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
.btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Helpers */
.text-primary {
    color: var(--color-code);
}

.text-secondary {
    color: var(--color-ninjas);
}

.text-accent {
    color: var(--color-training);
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.logo span:nth-child(1) {
    color: var(--color-code);
}

.logo span:nth-child(2) {
    color: var(--color-ninjas);
}

.logo span:nth-child(3) {
    color: var(--color-training);
    font-size: 0.9em;
    vertical-align: super;
}

.logo span.logo-training-text {
    font-size: 0.65em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-gray-600);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-code);
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition-base);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-code);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--color-code);
    color: var(--color-code);
}

.btn-outline:hover {
    background-color: var(--color-code);
    color: var(--color-white);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: #0a205186;
    /* Navy Blue */
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo .logo span:nth-child(2) {
    color: var(--color-white);
}

.footer-info p {
    color: var(--color-gray-200);
    margin-top: 1rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--color-gray-200);
}

.footer-links ul li a:hover {
    color: var(--color-training);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-gray-200);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: var(--color-gray-200);
    transition: var(--transition-base);
}

.footer-social a:hover {
    color: var(--color-training);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 0.5rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-code);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.honeypot {
    display: none;
}

/* Core Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 1rem;
}

.team-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--color-gray-100);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-code);
}

.team-card h3 {
    font-size: 1.25rem;
    color: var(--color-ninjas);
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--color-gray-600);
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* Team Card Responsive */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Partners Section */
.partners-section {
    padding: 5rem 0;
    background-color: var(--color-white);
    text-align: center;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}

.partner-logo {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-base);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Animations */
/* Animations */
/* Only hide if JS is enabled */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}