/* Variables */
:root {
    --primary-dark: #0F2A4A;
    --primary-accent: #E8A000;
    --primary-accent-light: #F5C240;
    --logo-green: #2A7A3A;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 10px 30px -10px rgba(0,0,0,0.08);
    --shadow-hover: 0 25px 35px -12px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f4f7fc;
    color: #1e2a3e;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 90px 0;
    position: relative;
}

/* Typography */
h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-sub {
    font-size: 1.2rem;
    color: #4a5b6e;
    max-width: 700px;
    margin-bottom: 3rem;
    border-left: 4px solid #2A7A3A;
    padding-left: 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.85);
    z-index: 1000;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #1e2a3e;
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--primary-accent);
}

.admin-link {
    background: rgba(232,160,0,0.15);
    padding: 6px 12px;
    border-radius: 20px;
}

.menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(15,42,74,0.05) 0%, rgba(42,122,58,0.06) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #2c3e4e;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-dark);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 8px 14px -6px rgba(0,0,0,0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

.btn-primary:hover {
    background: #1c3e64;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px rgba(232,160,0,0.4);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(232,160,0,0.3);
}

.card-icon {
    font-size: 2.8rem;
    color: var(--primary-accent);
    margin-bottom: 1.2rem;
}

.badge {
    background: rgba(232,160,0,0.1);
    padding: 4px 12px;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: inline-block;
    margin-bottom: 0.8rem;
}

.btn-card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 9px 20px;
    border-radius: 100px;
    border: 2px solid var(--primary-dark);
    background: transparent;
    color: var(--primary-dark);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-card-action:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* Stats */
.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 1rem 1.8rem;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-accent);
}

/* Partners logos */
.partners-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 1rem;
}

.partner-logo {
    height: 115px;
    width: auto;
    max-width: 340px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.05));
    transition: transform 0.2s ease;
}

/* Footer */
footer {
    background: #0F2A4A;
    color: #ccc;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form styles */
.form-group {
    margin-bottom: 1rem;
}

input, textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 40px;
    border: 1px solid #ddd;
    font-family: inherit;
}

textarea {
    border-radius: 28px;
}

.social-links a {
    color: white;
    margin-right: 1rem;
    font-size: 1.4rem;
    transition: 0.2s;
}

.social-links a:hover {
    color: var(--primary-accent);
}

/* Responsive */
@media (max-width: 850px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(255,255,255,0.98);
        width: 80%;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: 0.3s;
        box-shadow: 4px 0 20px rgba(0,0,0,0.1);
        backdrop-filter: blur(16px);
    }
    .nav-links.open {
        left: 0;
    }
    .menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .stats {
        flex-direction: column;
        align-items: flex-start;
    }
    h2 {
        font-size: 2rem;
    }
    .partner-logo {
        height: 45px;
    }
}