/* ========================================
   Consortium International — Stylesheet
   ======================================== */

:root {
    --primary: #0f2b46;
    --accent: #1a73e8;
    --accent-hover: #1557b0;
    --text: #1a1a2e;
    --text-light: #5a6577;
    --bg: #ffffff;
    --bg-dark: #f7f8fa;
    --bg-footer: #0a1929;
    --border: #e2e6ed;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
    --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ---- Navigation ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
    letter-spacing: -0.5px;
}

.logo-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--text); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover { background: var(--accent-hover); }

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
}

.btn-nav:hover { background: #163d5e; color: white; }

.btn-full { width: 100%; }

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1929 0%, #0f3460 50%, #16537e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(26,115,232,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(26,115,232,0.2);
    color: #6db3f2;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- Stats ---- */
.stats-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ---- Sections ---- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-dark);
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section h2, .section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

/* ---- About ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 16px;
}

.about-highlights {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight {
    display: flex;
    gap: 16px;
}

.highlight-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #e8f0fe;
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.highlight strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
}

.highlight p {
    font-size: 14px !important;
    margin-bottom: 0 !important;
}

.image-placeholder {
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 100%);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder.dark {
    background: linear-gradient(135deg, #0f2b46 0%, #163d5e 100%);
    color: white;
}

.placeholder-inner {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.image-placeholder.dark .placeholder-inner { color: rgba(255,255,255,0.7); }

.placeholder-icon {
    display: block;
    font-size: 48px;
    margin-bottom: 12px;
}

/* ---- Services ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* ---- Sectors ---- */
.sectors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.sector-pill {
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.sector-pill:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ---- Candidates ---- */
.candidate-benefits {
    list-style: none;
    margin: 24px 0 32px;
}

.candidate-benefits li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
    font-size: 15px;
}

.candidate-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 16px;
    line-height: 1.7;
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
}

.contact-item a:hover { text-decoration: underline; }

.contact-form {
    background: var(--bg-dark);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

/* ---- Footer ---- */
.footer {
    background: var(--bg-footer);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
}

.footer .logo { color: white; }
.footer .logo-mark { background: var(--accent); }

.footer-links h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

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

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover { color: white; }

.footer-bottom {
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

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

    .about-grid,
    .contact-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row { grid-template-columns: 1fr; }

    .hero-content { padding: 100px 0 60px; }

    .section { padding: 64px 0; }
}
