/* =====================================================
   1. ROOT VARIABLES (BRAND SYSTEM)
===================================================== */
:root {
    /* Core Colors */
    --primary: #0B0F1A;
    --secondary: #121826;
    --accent: #5B8CFF;
    --accent2: #8A6CFF;
    /* UI */
    --light: #F5F7FB;
    --text: #0F172A;
    /* Gradients */
    --gradient-main: linear-gradient(135deg,#5B8CFF,#8A6CFF);
}

/* =====================================================
   2. GLOBAL RESET & BASE STYLES
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: #222;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =====================================================
   3. NAVIGATION BAR
===================================================== */
.navbar {
    background: var(--primary);
    padding: 0; /* remove vertical spacing */
    height: auto; /* let image define height */
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 95%;
        max-width: 1400px;
        margin: auto;
        padding: 0; /* very important */
    }

    .navbar a {
        color: white;
        text-decoration: none;
        font-weight: 500;
    }

        .navbar a:hover {
            color: var(--accent);
        }

/* Desktop Nav Layout */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}
/* Logo */
.logo {
    margin: 0;
    padding: 0;
    line-height: 0; /* removes tiny top spacing issue */
    background: transparent;
}

    .logo img {
        height: 100px;
        width: auto;
        display: block;
        background: transparent;
    }

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg,#5B8CFF,#8A6CFF);
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(91,140,255,.35);
    transition: .3s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 40px rgba(91,140,255,.55);
    }

/* Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg,#5B8CFF,#8A6CFF);
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(91,140,255,.35);
    transition: .3s;
}

    .btn-secondary:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 40px rgba(91,140,255,.55);
    }

/* =====================================================
   4. MOBILE NAVIGATION (DRAWER)
===================================================== */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    position: relative;
    z-index: 1200;
}

/* Overlay (dark background) */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    transition: opacity 0.3s ease;
}

@media (max-width: 900px) {

    /* Hide horizontal nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: linear-gradient(135deg,#5B8CFF,#8A6CFF);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 120px 30px;
        gap: 25px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

        .nav-links a {
            position: relative;
        }

            .nav-links a::after {
                content: "";
                position: absolute;
                bottom: -6px;
                left: 0;
                width: 0;
                height: 2px;
                background: linear-gradient(90deg,#5B8CFF,#8A6CFF);
                transition: .3s;
            }

            .nav-links a:hover::after {
                width: 100%;
            }

        /* Slide in */
        .nav-links.active {
            right: 0;
        }

    .navbar {
        position: sticky;
        top: 0;
        z-index: 2000;
        backdrop-filter: blur(12px);
        background: var(--primary);
        border-bottom: 1px solid rgba(255,255,255,.05);
        padding: 14px 0;
        transition: .3s;
    }
        /* Remove horizontal spacing */
    .nav-links a {
        color: #cbd5e1;
        font-weight: 500;
        font-size: 15px;
        letter-spacing: .3px;
        transition: .25s;
    }

        .nav-links a:hover {
            color: white;
        }

    /* Show hamburger */
    .menu-toggle {
        display: block;
        font-size: 30px;
        z-index: 1100;
    }

    /* Shrink logo for mobile */
    .logo img {
        height: 70px;
    }
}
/* =====================================================
   5. HERO SECTION (HOME)
===================================================== */

.hero {
    position: relative;
    padding: 200px 0 160px 0;
    text-align: center;
    overflow: hidden;
    background: #070a13;
    color: white;
}

    /* glowing gradient orb */
    .hero::before {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle,#5B8CFF,#8A6CFF);
        filter: blur(160px);
        top: -200px;
        left: -200px;
        opacity: .5;
    }


/* hero content above animation */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
}
    .hero-content h1 {
        font-size: 2.25rem; /* same as text-4xl */
        font-weight: 800; /* font-extrabold */
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 1.125rem; /* same as text-lg */
        opacity: 0.9;
    }
    /* animated grid background */
    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
        background-size: 60px 60px;
        opacity: .15;
    }



/* =====================================================
   HERO BACKGROUNDS PER PAGE
===================================================== */

.hero-home {
    background-image: url('/images/hero/hero-security-johannesburg.jpeg');
}

.hero-about {
    background-image: url('/images/hero/hero-security-johannesburg.jpeg');
}

.hero-services {
    background-image: url('/images/hero/hero-security-johannesburg.jpeg');
}

.hero-compliance {
    background-image: url('/images/hero/hero-security-johannesburg.jpeg');
}

.hero-gallery {
    background-image: url('/images/hero/hero-security-johannesburg.jpeg');
}

.hero-contact {
    background-image: url('/images/hero/hero-security-johannesburg.jpeg');
}

.neural-section {
    position: relative;
    padding: 140px 40px;
    background: #020617;
    text-align: center;
}

#neuralCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .35;
}

/* =====================================================
   6. TRUST STRIP
===================================================== */

.trust-strip {
    background: var(--primary);
    color: white;
    padding: 25px 0;
    text-align: center;
    border-top: 4px solid var(--accent);
}

    .trust-strip p {
        margin: 0;
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 0.5px;
    }

/* =====================================================
   7. SERVICES (HOME PREVIEW)
===================================================== */

.services-preview {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #0b1c2d, #081021); /* dark tech gradient */
    overflow: hidden;
    color: white;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

    .section-header h2 {
        font-size: 36px;
        color: #00ffff; /* neon cyan for pop */
        margin-bottom: 20px;
        font-weight: 700;
        text-shadow: 0 0 8px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff; /* glow effect */
        transition: color 0.3s ease, text-shadow 0.3s ease;
    }

        .section-header h2:hover {
            color: #4df0ff; /* brighter on hover */
            text-shadow: 0 0 10px #4df0ff, 0 0 25px #4df0ff, 0 0 40px #4df0ff;
        }

    .section-header p {
        font-size: 17px;
        color: #555; /* light grey for readability on dark background */
        line-height: 1.6;
        max-width: 650px;
        margin: 0 auto;

    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 40px;
    border-radius: 12px;
    background: #ffffff;
    transition: .35s;
    border: 1px solid #e8ecf3;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(0,0,0,.15);
    }

.service-number {
    font-size: 14px;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    font-size: 15px;
    color: #444;
}

.services-cta {
    text-align: center;
    margin-top: 60px;
}

/* =====================================================
   8. GENERIC GRID & CARD SYSTEM
===================================================== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* =====================================================
   9. PAGE HEADER (INNER PAGES)
===================================================== */

.page-header {
    background: var(--primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

/* =====================================================
   10. ABOUT PAGE (MATCHED TO HOME DESIGN SYSTEM)
===================================================== */

/* MAIN SECTIONS */

.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0b1c2d, #081021); /* dark tech gradient */
}
.about-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #0b1c2d, #081021); /* dark tech gradient */
}

    /* SECTION HEADERS */

    .about-section .section-header {
        text-align: center;
        max-width: 750px;
        margin: 0 auto 60px auto;
    }

        .about-section .section-header h2 {
            font-size: 36px;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .about-section .section-header p {
            font-size: 17px;
            color: #555;
        }

/* ABOUT CARDS (Match Service Cards) */

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.about-card {
    padding: 35px 30px;
    border-top: 4px solid var(--accent);
    background: #f9fafc;
    transition: 0.3s ease;
}

    .about-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }

    .about-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
        color: var(--primary);
    }

    .about-card p {
        font-size: 15px;
        color: #444;
    }

/* LEADERSHIP SECTION */

.leadership-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0b1c2d, #081021); /* dark tech gradient */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    background: white;
    padding: 30px;
    border-top: 4px solid var(--accent);
    transition: 0.3s ease;
}

    .team-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }

    .team-card h3 {
        color: var(--primary);
        margin-bottom: 8px;
    }

    .team-card p {
        font-size: 14px;
        color: #666;
    }

/* MISSION & VISION */

.mission-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0b1c2d, #081021); /* dark tech gradient */
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.mission-card {
    background: #f9fafc;
    padding: 40px;
    border-left: 4px solid var(--accent);
}

    .mission-card h2 {
        font-size: 28px;
        color: var(--primary);
        margin-bottom: 20px;
    }

    .mission-card p {
        font-size: 16px;
        color: #444;
    }

/* ABOUT CTA */

.about-cta {
    background: var(--primary);
    color: white;
    padding: 100px 0;
    text-align: center;
}

    .about-cta h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }

/* =====================================================
   SERVICES PAGE (FULL POWER VERSION)
===================================================== */

.hero-services {
    background-image: url('/images/hero/hero-security-johannesburg.jpeg');
}

.services-preview {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #0b1c2d, #081021); /* dark tech gradient */
    overflow: hidden;
    color: white;
}

    .services-preview::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/images/tech-bg.svg'); /* subtle neural network or lines */
        background-size: cover;
        background-position: center;
        opacity: 0.08; /* very light so text is readable */
        pointer-events: none;
    }

    .services-preview .section-header h2 {
        color: #00ffff; /* neon cyan to pop */
        text-shadow: 0 0 6px #00ffff, 0 0 12px #00ffff;
    }

    .services-preview .section-header p {
        color: #cfd8dc; /* light grey for contrast */
    }

.services-grid {
    margin-top: 60px;
}

.service-card {
    padding: 40px 35px;
    border-top: 4px solid var(--accent);
    background: #f9fafc;
    transition: 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.1);
    }

.service-number {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 18px;
    letter-spacing: 3px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--primary);
}

.service-card p {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
}

.services-cta {
    text-align: center;
    margin-top: 80px;
}

/* =====================================================
   12. FOOTER
===================================================== */

.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #444;
    padding-top: 20px;
}
/* =====================================================
   CONTACT / QUOTE FORM
===================================================== */

.contact-section {
    padding: 100px 0;
}

.form-card {
    background: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

    .form-card h2 {
        margin-bottom: 10px;
        color: var(--primary);
    }

.form-sub {
    margin-bottom: 30px;
    color: #555;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        margin-bottom: 8px;
        font-weight: 600;
        color: #333;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        border-radius: 4px;
        border: 1px solid #ddd;
        font-size: 15px;
        transition: 0.3s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 2px rgba(201,162,39,0.15);
        }
/* Dropdown Styling (Matches Input Fields) */
.form-select {
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: 0.3s ease;
    background: white;
}

    .form-select:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(201,162,39,0.15);
    }

.full-width {
    width: 100%;
}

.success-message {
    margin-top: 20px;
    padding: 15px;
    background: #eaf7ea;
    color: #1e6b1e;
    border-radius: 4px;
    font-weight: 500;
}


/* =====================================================
   COMPLIANCE SECTION STYLING
===================================================== */

/* Intro / Section Header */
.compliance-section {
    background: linear-gradient(135deg, #0b1c2d, #081021); /* dark tech gradient */
    padding: 60px 0;
}
.compliance-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

    .compliance-intro h2 {
        font-size: 36px;
        color: #00ffff; /* neon cyan for pop */
        margin-bottom: 20px;
        font-weight: 700;
        text-shadow: 0 0 8px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff; /* glow effect */
        transition: color 0.3s ease, text-shadow 0.3s ease;
    }

        .compliance-intro h2:hover {
            color: #4df0ff; /* brighter on hover */
            text-shadow: 0 0 10px #4df0ff, 0 0 25px #4df0ff, 0 0 40px #4df0ff;
        }

    .compliance-intro p {
        font-size: 17px;
        color: #555; /* light grey for readability */
        line-height: 1.6;
        max-width: 650px;
        margin: 0 auto;
    }

/* Grid of Compliance Cards */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

/* Individual Card Styling */
.compliance-card {
    background: #f9fafc;
    padding: 35px 30px;
    border-top: 4px solid var(--accent);
    border-radius: 12px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .compliance-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    }

    .compliance-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
        color: var(--primary);
        font-weight: 700;
    }

    .compliance-card p {
        font-size: 16px;
        color: #444;
        line-height: 1.7;
    }

    /* Optional subtle glow effect on hover title */
    .compliance-card:hover h3 {
        text-shadow: 0 0 8px #00ffff, 0 0 15px #00ffff;
    }


/* =====================================================
   COMPLIANCE CTA STYLING
===================================================== */

.compliance-cta {
    background: #070a13; /* dark tech background */
    color: white;
    padding: 60px 0; /* reduce padding if needed */
    margin: 0; /* remove extra spacing around section */
    text-align: center;
    position: relative;
    overflow: hidden;
}

    /* Optional subtle glow orb behind CTA */
    .compliance-cta::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, #5B8CFF, #8A6CFF);
        filter: blur(120px);
        top: -150px;
        left: -150px;
        opacity: 0.4;
        z-index: 0;
    }

    /* Text styling */
    .compliance-cta h2 {
        font-size: 32px;
        font-weight: 700;
        color: #00ffff;
        text-shadow: 0 0 8px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
        margin-bottom: 25px;
        position: relative;
        z-index: 1; /* above the glowing orb */
        transition: color 0.3s ease, text-shadow 0.3s ease;
    }

        .compliance-cta h2:hover {
            color: #4df0ff;
            text-shadow: 0 0 12px #4df0ff, 0 0 25px #4df0ff, 0 0 40px #4df0ff;
        }

    /* Button styling above orb */
    .compliance-cta .btn-primary {
        position: relative;
        z-index: 1;
        padding: 14px 28px;
        font-size: 16px;
        font-weight: 600;
        background: linear-gradient(135deg, #5B8CFF, #8A6CFF);
        box-shadow: 0 10px 30px rgba(91,140,255,0.35);
        transition: 0.3s ease;
    }

        .compliance-cta .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 20px 40px rgba(91,140,255,0.55);
        }

/* =====================================================
   GALLERY PAGE
===================================================== */

.gallery-section {
    padding: 100px 0;
    background: #ffffff;
}

.gallery-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 70px auto;
}

    .gallery-intro h2 {
        font-size: 34px;
        color: var(--primary);
        margin-bottom: 20px;
    }

    .gallery-intro p {
        font-size: 17px;
        color: #555;
    }

/* GRID */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* CARD */

.gallery-card {
    background: #f9fafc;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

    .gallery-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    }

/* IMAGE */

.gallery-image {
    overflow: hidden;
}

.gallery-image {
    height: 250px;
}

    .gallery-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.gallery-card:hover .gallery-image img {
    transform: scale(1.08);
}

/* CONTENT */

.gallery-content {
    padding: 25px;
}

    .gallery-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
        color: var(--primary);
    }

    .gallery-content p {
        font-size: 15px;
        color: #444;
    }

/* =====================================================
   HERO BUTTONS MOBILE FIX
===================================================== */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding:60px 0;
}

@media (max-width:768px) {

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }
    .nav-links {
        background: var(--primary) !important; /* enforce desktop colour */
    }

    .nav-overlay {
        background: rgba(11,28,45,0.8); /* matches primary theme */
    }
}

/* Techstack Section */
.tech-stack {
    position: relative; /* IMPORTANT */
    padding: 80px 0;
    background: #0b1c2d;
    color: white;
    text-align: center;
    overflow: hidden; /* keeps canvas inside */
}
   

    .tech-stack .container {
        position: relative;
        z-index: 1; /* above canvas */
    }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    margin-top: 50px;
}

.tech-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .tech-card img {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
        filter: grayscale(0.7);
        transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
        border-radius: 12px; /* subtle rounded corners */
        box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* subtle shadow to start */
    }

        .tech-card img:hover {
            transform: scale(1.3);
            filter: grayscale(0);
            box-shadow: 0 8px 20px rgba(0, 150, 255, 0.6), 0 0 10px rgba(0, 150, 255, 0.4); /* colored glow */
        }

    .tech-card p {
        font-size: 14px;
        margin: 0;
        color: white;
        font-weight: 500;
    }

    /* Hover effect on card itself for slight lift */
    .tech-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }
    /**/
/* =====================================================
   GLOBAL CARD SYSTEM (Services, About, Mission, Team)
===================================================== */

.service-card,
.about-card,
.mission-card,
.team-card {
    padding: 40px 35px;
    border-top: 4px solid var(--accent);
    background: #f9fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    /* Hover Effect */
    .service-card:hover,
    .about-card:hover,
    .mission-card:hover,
    .team-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.1);
    }

    /* Card Titles */
    .service-card h3,
    .about-card h3,
    .mission-card h2,
    .team-card h3 {
        font-size: 22px;
        margin-bottom: 18px;
        color: var(--primary);
    }

    /* Card Text */
    .service-card p,
    .about-card p,
    .mission-card p,
    .team-card p {
        font-size: 16px;
        color: #444;
        line-height: 1.7;
    }

/* Service Numbers */
.service-number {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 18px;
    letter-spacing: 3px;
}

/* CTA */
.services-cta {
    text-align: center;
    margin-top: 80px;
}

/**/
.founder-spotlight {
    padding: 100px 0;
    background: linear-gradient(135deg, #0b1c2d, #081021);
    color: white;
}

    .founder-spotlight .section-header h2 {
        font-size: 38px;
        margin-bottom: 10px;
        color: #00ffff;
        text-align: center;
        text-shadow: 0 0 8px #00ffff, 0 0 20px #00ffff;
    }

    .founder-spotlight .section-header p {
        text-align: center;
        font-size: 18px;
        margin-bottom: 60px;
        color: #cfd8dc;
    }

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.founder-photo img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

    .founder-photo img:hover {
        transform: scale(1.05);
    }

.founder-bio h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 6px;
}

.founder-role {
    display: block;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.founder-intro {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #cfd8dc;
}

.founder-quote {
    font-size: 18px;
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding-left: 16px;
    margin-bottom: 25px;
    color: #ffffff;
}

.founder-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

    .founder-highlights li {
        font-size: 15px;
        margin-bottom: 10px;
        position: relative;
        padding-left: 24px;
    }

        .founder-highlights li::before {
            content: "\2714"; /* Unicode checkmark */
            position: absolute;
            left: 0;
            color: var(--accent);
        }

.founder-bio .btn-primary {
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 10px;
}

/* Responsive */
/* Social Dropdown - GLOBAL (desktop & mobile) */
.social-dropdown {
    position: relative;
    display: inline-block;
}

    .social-dropdown .btn-primary {
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
    }

    .social-dropdown .arrow {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    /* MENU IS HIDDEN BY DEFAULT */
    .social-dropdown .social-menu {
        display: none; /* <-- hide everywhere by default */
        position: absolute;
        top: 110%;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        overflow: hidden;
        min-width: 180px;
        z-index: 10;
    }

    /* Show menu only when dropdown has "active" */
    .social-dropdown.active .social-menu {
        display: block;
    }

/* Social links inside menu */
.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

    .social-link img {
        width: 20px;
        height: 20px;
    }

    .social-link:hover {
        background: var(--accent);
        color: white;
    }

/* Arrow rotation when active */
.social-dropdown.active .arrow {
    transform: rotate(180deg);
}



/* Responsive adjustments for mobile */
@media (max-width: 900px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-photo img {
        width: 70%;
        margin: 0 auto;
        display: block;
    }
}

