:root {
    /* Color Palette - Inspired by the ACCS TRUST Logo */
    --gold-dark: #8B6914;
    --gold: #B8860B;
    --gold-light: #DAA520;
    --gold-shimmer: #FFD700;
    --blue-dark: #0A2342;
    --blue-primary: #1e3a5f;
    --blue-light: #2C5F8D;
    --teal: #26A69A;
    --red-accent: #C62828;
    --white: #FFFFFF;
    --black: #050a14;
    
    /* Semantic Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-dark: var(--blue-dark);
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-light: #FFFFFF;
    --border-color: #DEE2E6;

    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* Dark mode detection */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0D1117;
        --bg-secondary: #161B22;
        --text-primary: #E6EDF3;
        --text-secondary: #8B949E;
        --border-color: #30363D;
    }
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: var(--spacing-lg); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Section */
section {
    padding: var(--spacing-xl) 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 35, 66, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all var(--transition-normal);
}

nav.scrolled {
    height: 70px;
    background: var(--blue-dark);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo-img {
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-shimmer);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Pages */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../logo-accs-trust.jpg') no-repeat center;
    background-size: contain;
    opacity: 0.05;
}

/* Home Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, var(--blue-primary) 0%, var(--blue-dark) 100%);
    color: var(--white);
    text-align: center;
}

.hero-content img {
    max-width: 250px;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 20px rgba(184, 134, 11, 0.4));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--gold-shimmer);
    margin-bottom: var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--gold-shimmer);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.btn-secondary:hover {
    background: var(--gold);
    color: var(--white);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: 15px;
    border-bottom: 4px solid var(--gold);
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold-shimmer);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

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

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

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

/* Hero subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.75);
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.7;
}

/* CTA buttons row */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

/* Stats row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
    text-align: center;
}
.stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold-shimmer);
    display: block;
    line-height: 1;
}
.stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Process steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    counter-reset: step;
}
.process-step {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    counter-increment: step;
    border-top: 4px solid var(--gold);
    transition: var(--transition-normal);
}
.process-step:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.process-step::before {
    content: counter(step);
    position: absolute;
    top: -20px; left: 1.5rem;
    width: 40px; height: 40px;
    background: var(--gold);
    color: white;
    font-family: var(--font-display);
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}

/* Ecosystem grid */
.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.eco-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    display: block;
}
.eco-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.eco-card img { height: 50px; width: auto; margin-bottom: 0.8rem; }
.eco-card h4 { color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.eco-card p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; }

/* Highlight */
.highlight { color: var(--gold); font-weight: 600; }

/* Footer nav */
.footer-nav { margin-top: 1rem; }
.footer-nav a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; margin-bottom: 0.5rem; transition: var(--transition-fast); }
.footer-nav a:hover { color: var(--gold-shimmer); }

/* Footer logo image */
.footer-logo-img { height: 65px; width: auto; margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px; left: 0; right: 0;
        background: var(--blue-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-bottom: 2px solid var(--gold);
        z-index: 999;
    }
    .nav-links.mobile-open {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Utilities */
.text-gold { color: var(--gold); }
.bg-dark { background-color: var(--blue-dark); color: white; }
.section-title { margin-bottom: var(--spacing-lg); }
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto;
}

/* Award badges */
.award-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 2rem;
}
.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,215,0,0.12);
    border: 1px solid rgba(255,215,0,0.35);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-size: 0.82rem;
    color: var(--gold-shimmer);
    font-weight: 600;
}

/* Process step i */
.process-step i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}
.process-step h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.8rem; }
.process-step p { font-size: 0.9rem; color: var(--text-secondary); }
