/* ============================================================
   ProTech Security — Stylesheet (Refreshed)
   ============================================================ */

/* --- Variables --- */
:root {
    --bg: #080c12;
    --bg-2: #0d1420;
    --surface: #111928;
    --surface-raised: #182034;
    --surface-glass: rgba(17, 25, 40, 0.7);
    --accent: #c0392b;
    --accent-2: #e74c3c;
    --accent-hover: #e74c3c;
    --accent-dark: #922b21;
    --accent-glow: rgba(192, 57, 43, 0.18);
    --accent-glow-strong: rgba(192, 57, 43, 0.35);
    --gold: #d4a017;
    --blue: #3b82f6;
    --text: #f0f4f8;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border: rgba(255, 255, 255, 0.07);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(192, 57, 43, 0.3);
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #eab308;
    --radius: 6px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Barlow Condensed', 'Inter', sans-serif;
    --transition: 0.25s ease;
    --transition-slow: 0.45s ease;
    --shadow: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
    --shadow-accent: 0 8px 32px rgba(192, 57, 43, 0.25);
    --nav-h: 70px;
    --glow-line: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-muted);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Subtle noise/grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    letter-spacing: -0.01em;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

/* --- Container --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* --- Section Label --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    flex-shrink: 0;
}
.section-label::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.6;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(8, 12, 18, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(8, 12, 18, 0.96);
    border-bottom-color: var(--border-light);
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    transition: opacity var(--transition);
}
.navbar-brand:hover { opacity: 0.85; }

.navbar-brand .brand-logo {
    height: 46px;
    width: auto;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius);
    padding: 4px 8px;
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2px;
}
.nav-links a {
    color: var(--text-muted);
    padding: 7px 14px;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition);
    position: relative;
    border-radius: var(--radius);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}
.nav-links a.active::after,
.nav-links a:hover::after {
    transform: scaleX(1);
}

/* Nav CTA Button */
.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.3) !important;
    transition: all var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--accent-hover) !important;
    color: #fff !important;
    box-shadow: 0 0 28px rgba(192, 57, 43, 0.5) !important;
    transform: translateY(-1px) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 9px 11px;
    flex-direction: column;
    gap: 5px;
    transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-muted);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Nav Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}
.nav-overlay.active { display: block; opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 80px) 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

/* Animated background image */
.hero-bg-image {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroZoom 22s ease-in-out infinite alternate;
    z-index: 0;
    filter: saturate(0.7);
}

@keyframes heroZoom {
    0%   { transform: scale(1) translateX(0); }
    100% { transform: scale(1.1) translateX(-15px); }
}

/* Multi-layer overlay for depth */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(8, 12, 18, 0.92) 40%, rgba(8, 12, 18, 0.55) 100%),
        linear-gradient(0deg, rgba(8, 12, 18, 0.6) 0%, transparent 50%);
    z-index: 1;
}

/* Diagonal bottom clip */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg);
    clip-path: polygon(0 100%, 100% 20%, 100% 100%);
    z-index: 2;
}

/* Accent side bar */
.hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
}

.hero-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-label::before {
    content: '';
    width: 32px;
    height: 1.5px;
    background: var(--accent);
    flex-shrink: 0;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 24px;
    letter-spacing: -1px;
    text-transform: uppercase;
}
.hero h1 .highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0.4;
}

.hero .hero-desc {
    font-size: 1.05rem;
    color: rgba(148, 163, 184, 0.85);
    max-width: 500px;
    line-height: 1.75;
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* Trust badge below buttons */
.hero-trust {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero-trust-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
}
.hero-trust-badges {
    display: flex;
    gap: 10px;
}
.hero-trust-badge {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.35);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(192, 57, 43, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-light);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(192, 57, 43, 0.06);
}

.btn-sm { padding: 8px 18px; font-size: 0.75rem; }

.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #dc2626; border-color: #dc2626; color: #fff; transform: translateY(-1px); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
    padding: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Accent glow top */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--glow-line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 48px 24px;
    position: relative;
    transition: background var(--transition);
}
.stat-item:hover { background: rgba(192, 57, 43, 0.04); }
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-light), transparent);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}
.stat-number .stat-suffix {
    font-size: 2rem;
    color: var(--accent);
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 110px 0; }
.section-dark { background: var(--surface); position: relative; }
.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--glow-line);
}

.section-header {
    margin-bottom: 60px;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}
.section-header p {
    color: var(--text-muted);
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.7;
}
.section-header.centered {
    text-align: center;
}
.section-header.centered p {
    margin: 0 auto;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card {
    background: var(--surface);
    padding: 36px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, var(--accent-glow), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}
.service-card:hover {
    background: var(--surface-raised);
    z-index: 1;
}
.service-card:hover::before {
    opacity: 1;
}

/* Accent corner line */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    position: relative;
    z-index: 1;
}
.service-card:hover .service-icon {
    background: rgba(192, 57, 43, 0.25);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.2);
}
.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    letter-spacing: 0;
}

.service-card p {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* 4-column values/principles grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
@media (max-width: 900px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT / CONTENT BLOCKS
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.about-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-image {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 55%, rgba(192, 57, 43, 0.07) 100%),
        radial-gradient(ellipse at bottom right, rgba(192, 57, 43, 0.08), transparent 60%);
    z-index: 1;
    pointer-events: none;
}
/* Decorative corner accent */
.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    border-radius: 0 0 var(--radius-lg) 0;
    opacity: 0.4;
    z-index: 2;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
    transition: transform var(--transition-slow);
}
.about-image:hover img { transform: scale(1.02); }

/* Values List */
.values-list { list-style: none; margin-top: 20px; }
.values-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
}
.values-list li:last-child { border-bottom: none; }
.values-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border: 2px solid var(--accent);
    border-radius: 1px;
    transform: translateY(-50%) rotate(45deg);
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}
.team-card:hover {
    border-color: var(--border-light);
    background: var(--surface-raised);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 86px;
    height: 86px;
    background: var(--surface-raised);
    border-radius: 50%;
    margin: 0 auto 18px;
    overflow: hidden;
    border: 2px solid var(--border-accent);
    transition: border-color var(--transition);
}
.team-card:hover .team-avatar { border-color: var(--accent); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-card h4 { margin-bottom: 4px; font-size: 1rem; }
.team-card .role {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.75rem;
    margin-bottom: 7px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(17, 25, 40, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: all var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(17, 25, 40, 0.9);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.contact-info-block { margin-bottom: 28px; }
.contact-info-block h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 0.95rem;
}
.contact-info-block p {
    color: var(--text-dim);
    padding-left: 38px;
    margin-bottom: 2px;
    font-size: 0.9rem;
}
.contact-info-block .info-icon {
    width: 26px;
    height: 26px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Inline form error */
.form-error {
    color: var(--danger);
    font-size: 0.78rem;
    margin-top: 4px;
}

/* ============================================================
   CAREER LISTINGS
   ============================================================ */
.career-list { max-width: 820px; margin: 0 auto; }

.career-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 16px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.career-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}
.career-card:hover {
    border-color: var(--border-light);
    background: var(--surface-raised);
    transform: translateX(4px);
}
.career-card:hover::before { opacity: 1; }

.career-card h3 { margin-bottom: 8px; font-size: 1.15rem; }

.career-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
    color: var(--text-dim);
    font-size: 0.82rem;
}
.career-meta span { display: flex; align-items: center; gap: 6px; }
.career-card p { color: var(--text-muted); line-height: 1.7; font-size: 0.9rem; }

.career-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.career-status.active { background: rgba(34,197,94,0.1); color: var(--success); border: 1px solid rgba(34,197,94,0.2); }
.career-status.closed { background: rgba(239,68,68,0.1); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }

/* ============================================================
   EVENTS
   ============================================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    color: var(--text-muted);
    text-decoration: none;
}
.event-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg);
    color: var(--text-muted);
    transform: translateY(-4px);
}

.event-image {
    width: 100%;
    height: 210px;
    background: var(--bg-2);
    overflow: hidden;
    position: relative;
}
/* Gradient overlay on event image */
.event-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, rgba(17, 25, 40, 0.7), transparent);
    z-index: 1;
}
.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.event-card:hover .event-image img { transform: scale(1.05); }

.event-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-dim);
    background: linear-gradient(135deg, var(--surface), var(--surface-raised));
}

.event-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.event-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    color: var(--text-dim);
    font-size: 0.78rem;
}
.event-meta span { display: flex; align-items: center; gap: 5px; }
.event-body h3 { margin-bottom: 8px; font-size: 1.05rem; line-height: 1.4; }
.event-body p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.65; flex: 1; margin: 0; }

.event-read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}
.event-card:hover .event-read-more { gap: 10px; color: var(--accent-hover); }

/* ============================================================
   PAGE HEADER (Internal Pages)
   ============================================================ */
.page-header {
    background: var(--surface);
    padding: calc(var(--nav-h) + 70px) 0 56px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(192, 57, 43, 0.06), transparent 60%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 2px;
    background: var(--accent);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    position: relative;
}
.page-header p {
    color: var(--text-dim);
    font-size: 1rem;
    position: relative;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: var(--glow-line);
}
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(192, 57, 43, 0.05), transparent 65%);
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.cta-section p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}
.cta-section .btn { position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    margin-top: auto;
    position: relative;
}
/* Red glow at top of footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: var(--glow-line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-about h3 span { color: var(--accent); }
.footer-about p {
    color: var(--text-dim);
    line-height: 1.75;
    font-size: 0.86rem;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-weight: 700;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    color: var(--text-dim);
    font-size: 0.84rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
    flex-shrink: 0;
}
.footer-links a:hover {
    color: var(--text-muted);
    padding-left: 4px;
}
.footer-links a:hover::before { width: 10px; }

.footer-contact p {
    color: var(--text-dim);
    font-size: 0.84rem;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.76rem;
    margin: 0;
}
.footer-bottom-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.88rem;
    border-left: 3px solid;
    backdrop-filter: blur(8px);
}
.alert-success { background: rgba(34,197,94,0.08); color: var(--success); border-left-color: var(--success); }
.alert-danger { background: rgba(239,68,68,0.08); color: var(--danger); border-left-color: var(--danger); }
.alert-warning { background: rgba(234,179,8,0.08); color: var(--warning); border-left-color: var(--warning); }

/* ============================================================
   TABLES
   ============================================================ */
.table-responsive { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table th {
    background: rgba(17, 25, 40, 0.8);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1.2px;
}
table td { color: var(--text-muted); font-size: 0.88rem; }
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: rgba(26, 32, 52, 0.4); }

/* ============================================================
   SCROLL REVEAL — handled entirely via JS inline styles
   ============================================================ */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .hero h1 { font-size: 3.8rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 80px; min-height: auto; }
    .hero::before { display: none; }
    .section { padding: 72px 0; }
    .page-header { padding: calc(var(--nav-h) + 44px) 0 40px; }
    .page-header h1 { font-size: 2rem; }
    .section-header h2 { font-size: 2rem; }

    /* Mobile Nav */
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 290px;
        background: rgba(8, 12, 18, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border);
        flex-direction: column;
        padding: 90px 24px 28px;
        gap: 2px;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }
    .nav-links a {
        display: block;
        padding: 12px 16px;
        font-size: 0.85rem;
        border-radius: var(--radius);
        color: var(--text-muted);
    }
    .nav-links a::after { display: none; }
    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255,255,255,0.05);
        color: var(--text);
    }
    .nav-cta {
        margin-top: 14px;
        text-align: center;
        justify-content: center;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .services-grid { grid-template-columns: 1fr; }
    .events-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .hero-trust { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2.4rem; }
    .stat-item { padding: 36px 16px; }
    .container { padding: 0 18px; }
    .hero-trust-badges { flex-wrap: wrap; }
}
