/* ─── The Network — Main Stylesheet ─────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-base:      #07090f;
    --bg-card:      #0f1521;
    --bg-section:   #0b1019;
    --border:       #1e2d45;
    --accent:       #0ea5e9;
    --accent-glow:  rgba(14, 165, 233, 0.15);
    --gold:         #c9973a;
    --text-primary: #f0f4f8;
    --text-secondary:#8fa3bd;
    --text-muted:   #4d6680;
    --radius:       10px;
    --transition:   0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    top: 0; right: -60px;
    width: 65%; max-width: 900px;
    height: 100vh;
    background: url('assets/img/hero-network.svg') center/contain no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--text-secondary); }
a  { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #38bdf8; }

/* ─── LAYOUT ────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 90px 0; }
.section-alt { background: var(--bg-section); }

/* ─── NAVBAR ────────────────────────────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(7, 9, 15, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.nav-logo {
    display: flex; align-items: center;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text {
    font-size: 1.3rem; font-weight: 800;
    color: var(--text-primary); letter-spacing: -0.5px;
}
.nav-logo-text span { color: var(--accent); }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
    color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
    padding: 8px 14px; border-radius: 6px;
    transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary); background: rgba(14, 165, 233, 0.08);
}
.nav-cta {
    background: var(--accent); color: #fff !important;
    border-radius: 7px; padding: 8px 18px !important;
    font-weight: 600 !important;
}
.nav-cta:hover { background: #0284c7 !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all var(--transition); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding-top: 70px;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(14,165,233,0.1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(201,151,58,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 30% 30% at 10% 60%, rgba(14,165,233,0.05) 0%, transparent 60%);
}
.hero-grid {
    position: absolute; inset: 0; opacity: 0.035;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-network-img { display: none; }
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.25);
    color: var(--accent); font-size: 0.8rem; font-weight: 600;
    padding: 6px 14px; border-radius: 50px; margin-bottom: 28px;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
    font-size: 1.1rem; max-width: 560px;
    margin-bottom: 40px; color: var(--text-secondary);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.95rem;
    cursor: pointer; border: none; transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 0 24px rgba(14,165,233,0.25);
}
.btn-primary:hover { background: #0284c7; color: #fff; box-shadow: 0 0 32px rgba(14,165,233,0.4); transform: translateY(-1px); }
.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* ─── SECTION HEADER ────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    display: inline-block;
    color: var(--accent); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* ─── SERVICES GRID ─────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px; padding: 32px;
    transition: all var(--transition);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { border-color: rgba(14,165,233,0.3); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 52px; height: 52px;
    background: var(--accent-glow); border: 1px solid rgba(14,165,233,0.2);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { font-size: 0.9rem; line-height: 1.7; }

/* ─── OFFER BANNER ──────────────────────────────────────────── */
.offer-banner {
    background: linear-gradient(135deg, #0f1e35 0%, #0b1624 100%);
    border: 1px solid rgba(201,151,58,0.25);
    border-radius: 20px; padding: 56px 48px;
    position: relative; overflow: hidden;
}
.offer-banner::before {
    content: '';
    position: absolute; top: -60px; right: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(201,151,58,0.08) 0%, transparent 70%);
}
.offer-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201,151,58,0.1); border: 1px solid rgba(201,151,58,0.3);
    color: var(--gold); font-size: 0.78rem; font-weight: 700;
    padding: 5px 12px; border-radius: 50px; margin-bottom: 20px;
    letter-spacing: 1px; text-transform: uppercase;
}
.offer-banner h2 { color: var(--text-primary); margin-bottom: 16px; }
.offer-banner p { max-width: 600px; margin-bottom: 32px; }
.offer-features { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.offer-feature {
    display: flex; align-items: center; gap: 10px;
    background: rgba(201,151,58,0.06); border: 1px solid rgba(201,151,58,0.15);
    padding: 10px 16px; border-radius: 8px;
    font-size: 0.88rem; color: var(--text-primary); font-weight: 500;
}
.offer-feature span { color: var(--gold); font-size: 1rem; }

/* ─── TRAINING SECTION ──────────────────────────────────────── */
.training-block {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.training-content .section-label { text-align: left; display: block; }
.training-content h2 { margin-bottom: 18px; }
.training-content p { margin-bottom: 16px; }
.training-points { list-style: none; margin: 24px 0 32px; }
.training-points li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid var(--border);
    font-size: 0.92rem; color: var(--text-secondary);
}
.training-points li:last-child { border-bottom: none; }
.training-points li::before {
    content: '✓'; color: var(--accent); font-weight: 700;
    margin-top: 1px; flex-shrink: 0;
}
.training-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 18px; padding: 36px;
    position: relative; overflow: hidden;
}
.training-card-header {
    display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.training-card-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(14,165,233,0.05));
    border: 1px solid rgba(14,165,233,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}
.cpd-badge {
    display: inline-block;
    background: rgba(201,151,58,0.12); border: 1px solid rgba(201,151,58,0.3);
    color: var(--gold); font-size: 0.75rem; font-weight: 700;
    padding: 4px 10px; border-radius: 5px; letter-spacing: 1px;
}
.training-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.stat-box {
    background: rgba(14,165,233,0.05); border: 1px solid var(--border);
    border-radius: 10px; padding: 16px; text-align: center;
}
.stat-box strong { display: block; font-size: 1.5rem; color: var(--accent); font-weight: 800; }
.stat-box span { font-size: 0.78rem; color: var(--text-muted); }

/* ─── WHY US ────────────────────────────────────────────────── */
.why-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.why-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; padding: 28px 24px; text-align: center;
    transition: all var(--transition);
}
.why-card:hover { border-color: rgba(14,165,233,0.3); background: rgba(14,165,233,0.04); }
.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { font-size: 1rem; margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; }

/* ─── CONTACT ───────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
    display: flex; align-items: center; gap: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; padding: 16px 20px;
}
.contact-item-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--accent-glow); border: 1px solid rgba(14,165,233,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item-text span { font-size: 0.95rem; color: var(--text-primary); }
.contact-form-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; background: var(--bg-base);
    border: 1px solid var(--border); border-radius: 8px;
    padding: 12px 16px; color: var(--text-primary);
    font-family: inherit; font-size: 0.9rem;
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-card); }

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    padding: 60px 0 28px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.82rem; color: var(--text-muted);
}

/* ─── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
    padding: 130px 0 70px;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(14,165,233,0.09) 0%, transparent 70%),
        var(--bg-base);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.025;
}
.page-hero h1 { margin-bottom: 16px; position: relative; }
.page-hero p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; position: relative; }
.page-hero .section-label { position: relative; }

/* ─── OFFER PAGE VISUAL ─────────────────────────────────────── */
.offer-visual {
    display: flex; justify-content: center; align-items: center;
    padding: 20px;
}
.offer-visual img { width: 200px; height: auto; filter: drop-shadow(0 0 30px rgba(14,165,233,0.3)); }

/* ─── CPD BADGE VISUAL ──────────────────────────────────────── */
.cpd-visual {
    display: flex; justify-content: center; padding: 20px 0;
}
.cpd-visual img {
    width: 160px; height: auto;
    filter: drop-shadow(0 0 20px rgba(201,151,58,0.25));
}

/* ─── STATS BAR ─────────────────────────────────────────────── */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: 14px;
    overflow: hidden; margin: 60px 0 0;
}
.stats-bar-item {
    background: var(--bg-card); padding: 28px 20px; text-align: center;
}
.stats-bar-item strong {
    display: block; font-size: 2rem; font-weight: 800;
    color: var(--accent); line-height: 1;
}
.stats-bar-item span { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; display: block; }

@media (max-width: 640px) {
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .hero-network-img { display: none; }
}

/* ─── DIVIDER ───────────────────────────────────────────────── */
.divider {
    height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0;
}

/* ─── ALERT / SUCCESS ───────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.alert-error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: #fca5a5; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .training-block, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .section { padding: 60px 0; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hero h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .offer-banner { padding: 32px 24px; }
    .contact-grid { grid-template-columns: 1fr; }
}
