:root {
    --primary-blue: #003366;
    --secondary-blue: #004e92;
    --gold: #d4af37;
    --gold-light: #f9d423;
    --silver: #c0c0c0;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-alt: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 51, 102, 0.03) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

header {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: 0.4s;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 5%;
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
}

.site-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: 0.4s;
}

header.scrolled .site-logo {
    height: 60px;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-mk8 {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #a3a3a3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.4s;
}

header.scrolled .logo-mk8 {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    background-clip: text;
}

.logo-security {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    margin-top: 4px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header.scrolled nav a {
    color: var(--text-secondary);
}

nav a:hover {
    color: var(--gold);
}

.btn-contact {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: #fff;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

header.scrolled .menu-toggle span {
    background: var(--primary-blue);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 12, 16, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 2rem;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        margin-top: 2rem;
    }

    nav a {
        font-size: 1.4rem;
        color: #fff !important;
        letter-spacing: 2px;
    }

    .btn-contact {
        display: none; 
    }
    
    header {
        padding: 1rem 5%;
    }

    .hero, .secondary-hero {
        padding-top: 160px !important;
        height: auto !important;
        min-height: 85vh !important;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .site-logo {
        height: 50px;
    }
    
    header.scrolled .site-logo {
        height: 45px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .row-service .service-details h2 {
        font-size: 1.8rem;
    }
    
    .cta-card h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .service-image {
        height: 300px;
    }

    .service-details {
        padding: 3rem 5%;
    }
    
    section {
        padding: 5rem 5%;
    }

    .detailed-services .row-service {
        padding-top: 0;
    }
}


/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 4rem;
    position: relative;
    background: linear-gradient(rgba(10, 12, 16, 0.7), rgba(10, 12, 16, 0.7)),
                url('assets/images/1-5.jpeg') center/cover no-repeat;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 12, 16, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 900px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Enhanced Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: white;
    padding: 1.2rem 2.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
    text-align: center;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: 1px solid var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--gold);
    color: black;
}

/* Feature Image Container */
.feature-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.feature-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    animation: scanline 3s linear infinite;
    opacity: 0.3;
}

/* Section Spacing */
section {
    padding: 8rem 10%;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Services */
.services {
    padding: 10rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold));
    transform: scaleX(0);
    transition: 0.4s;
    transform-origin: left;
}

.card:hover::after {
    transform: scaleX(1);
}

.card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* Services Section Dual Block */
.split-category-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem; /* Clear spacing between blocks */
    margin-top: 4rem;
}

.category-panel {
    min-height: 700px;
    position: relative;
    overflow: hidden;
    padding: 6rem 5%;
    display: flex;
    align-items: center;
    border-radius: 20px; /* Individual rounding */
    box-shadow: var(--shadow-md); /* Individual shadow for depth */
    transition: 0.4s;
    background: #fff;
    border: 1px solid var(--glass-border);
}

.category-panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.residential-panel {
    background: #fff;
}

.commercial-panel {
    background: #fff;
    color: var(--text-primary);
}

.panel-content {
    max-width: 600px;
    margin: 0 auto;
}

.panel-image {
    width: 100%;
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #e2e8f0;
    transition: 0.4s;
}

.panel-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.5s;
}

.category-panel:hover .panel-image img {
    transform: scale(1.05);
}

.panel-content h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--primary-blue);
}

.apply-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    margin-top: 2rem;
    background: transparent;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.apply-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    transition: 0.4s;
    z-index: -1;
}

.apply-link:hover {
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transform: translateX(10px);
}

.apply-link:hover::before {
    left: 0;
}

.apply-link i {
    transition: 0.4s;
}

.apply-link:hover i {
    transform: translateX(5px);
}


.panel-service-list {
    list-style: none;
    margin: 2.5rem 0;
}

.panel-service-list li {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.panel-service-list i {
    color: var(--gold);
    font-size: 0.9rem;
}

.panel-content .btn-secondary {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.panel-content .btn-secondary:hover {
    background: var(--primary-blue);
    color: #fff;
}


@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Simulation Section */
.simulation-section {
    background: #0a0c10;
    position: relative;
    padding: 8rem 5%;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .sim-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blueprint-wrapper {
        aspect-ratio: 1 / 1;
        height: auto;
        min-height: auto;
        max-height: none;
        margin-bottom: 2rem;
        overflow: visible !important;
        padding: 0.8rem;
    }

    .simulation-section {
        padding: 3rem 5%;
    }

    .sim-info {
        order: -1;
        /* Text comes first on small screens */
        text-align: center;
    }

    .sim-controls {
        justify-content: center;
    }
}

.blueprint-wrapper {
    position: relative;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    aspect-ratio: 16/9;
    padding: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    touch-action: none;
}

.blueprint {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 168, 255, 0.2);
    position: relative;
    background-image:
        linear-gradient(rgba(0, 168, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.room {
    position: absolute;
    border: 1px solid rgba(0, 51, 102, 0.1);
    background: rgba(0, 78, 146, 0.02);
    transition: 0.3s;
}

.room.alert {
    background: rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
    box-shadow: inset 0 0 20px rgba(231, 76, 60, 0.2);
}

.room-label {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.perimeter-wall {
    position: absolute;
    background: rgba(0, 78, 146, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    pointer-events: none;
    /* Allow mouse to reach blueprint underneath */
    transition: 0.3s;
}

.perimeter-wall.active {
    background: rgba(231, 76, 60, 0.4) !important;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.6);
}

.sim-controls {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-sim {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-sim:hover {
    background: var(--gold);
    color: black;
}

.btn-sim.active {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

.btn-sim.start-btn {
    background: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
    color: #2ecc71;
}

.btn-sim.start-btn:hover {
    background: #2ecc71;
    color: white;
}

.perimeter-wall.top,
.perimeter-wall.bottom {
    width: 100%;
    height: 4px;
}

.perimeter-wall.left,
.perimeter-wall.right {
    height: 100%;
    width: 4px;
    flex-direction: column;
}

.perimeter-wall.top {
    top: 0;
    left: 0;
}

.perimeter-wall.bottom {
    bottom: 0;
    left: 0;
}

.perimeter-wall.left {
    top: 0;
    left: 0;
}

.perimeter-wall.right {
    top: 0;
    right: 0;
}

.sensor {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 5px #2ecc71;
    transition: 0.3s;
    z-index: 10;
}

.sensor.active {
    background: #e74c3c;
    box-shadow: 0 0 15px #e74c3c;
    transform: scale(1.5);
}

.indoor-camera {
    position: absolute;
    color: #2ecc71;
    font-size: 0.8rem;
    transition: 0.3s;
}

.indoor-camera.active {
    color: #e74c3c;
    animation: blink-red 0.5s infinite;
}

@keyframes blink-red {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.camera-beam {
    position: absolute;
    width: 150px;
    height: 150px;
    background: conic-gradient(from 0deg at 0% 0%, rgba(46, 204, 113, 0.1), transparent 40deg);
    transform-origin: 0% 0%;
    pointer-events: none;
    opacity: 0.5;
    transition: 0.5s;
}

.sensor.active+.camera-beam {
    background: conic-gradient(from 0deg at 0% 0%, rgba(231, 76, 60, 0.3), transparent 40deg);
    opacity: 1;
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.sim-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.sim-status {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.status-check {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.status-check .val {
    color: #2ecc71;
    font-weight: 700;
}

.status-check.alert .val {
    color: #e74c3c;
    animation: blink-text 0.5s infinite;
}

@keyframes blink-text {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.screen-alert {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 900;
    font-size: 1.5rem;
    pointer-events: none;
    opacity: 0;
    transition: 0.3s;
    z-index: 100;
    border: 2px solid white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.screen-alert.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.intruder {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--primary-blue);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
    z-index: 5;
    transition: 0.1s linear;
    box-shadow: 0 0 15px rgba(0, 51, 102, 0.3);
    transform: translate(-50%, -50%);
    /* Corrected centering */
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* About Section */
.about-section {
    padding: 6rem 5%;
    background: #0a0c10;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #1a1d23 url('assets/images/1-2.jpeg') center/cover no-repeat;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--gold);
    color: #000;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.sub-header {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Team Section */
.team-section {
    padding: 6rem 5%;
    background: #fff;
    border-top: 1px solid var(--glass-border);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    transition: 0.4s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.team-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #e2e8f0;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-info {
    padding: 2.5rem;
}

.team-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.role {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.apply-link:hover {
    gap: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 10rem 5%;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-details {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: 0.3s;
}

a.contact-item:hover {
    color: var(--gold);
    transform: translateX(10px);
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: var(--bg-alt);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    background: #fff;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: inherit;
    transition: 0.3s;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

@media (max-width: 1024px) {
    .about-container,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Secondary Pages */
.secondary-hero {
    height: 70vh;
    background: #0a0c10 url('assets/images/1-3.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.secondary-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, #0a0c10 100%);
    z-index: 1;
}

.secondary-hero .hero-content {
    position: relative;
    z-index: 2;
}

.commercial-hero {
    background: #0a0c10 url('assets/images/1-4.jpeg') center/cover no-repeat !important;
}

.cta-section {
    padding: 10rem 5%;
    background: #fff;
    text-align: center;
}

.cta-card {
    background: var(--primary-blue);
    color: #fff;
    padding: 6rem 4rem;
    border-radius: 30px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 51, 102, 0.2);
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-card .btn-primary {
    background: var(--gold);
    color: #000;
}

.cta-card .btn-primary:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
    .cta-card {
        padding: 4rem 1.5rem;
        border-radius: 20px;
    }
    
    .cta-card h2 {
        font-size: 2rem;
    }

    .cta-card p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .detailed-services .row-service {
        padding: 0;
    }
}

/* Detailed Services Row Layout */
.detailed-services {
    padding: 0;
    background: #fff;
}

.row-service {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.row-service.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    height: 600px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

.row-service:hover .service-image img {
    transform: scale(1.05);
}

.service-details {
    flex: 1;
    padding: 6rem 8%;
}

.service-details .sub-header {
    margin-bottom: 0.5rem;
}

.service-details h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    line-height: 1.1;
}

.service-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.benefit-list i {
    color: var(--gold);
    font-size: 0.9rem;
    width: 20px;
}

@media screen and (max-width: 1024px) {
    .split-category-container {
        display: block !important;
        width: 100% !important;
    }

    .category-panel {
        display: block !important;
        width: 100% !important;
        margin-bottom: 3rem !important;
        min-height: auto !important;
        padding: 4rem 1.5rem !important;
    }

    .stats-grid,
    .team-grid,
    .contact-grid,
    .about-container {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }

    .category-panel {
        min-height: auto;
        padding: 4rem 5%;
    }

    .about-image {
        order: -1;
        aspect-ratio: 16/9;
    }

    .contact-form {
        padding: 3rem 2rem;
    }

    .about-text {
        text-align: center;
        margin-top: 2rem;
    }

    .row-service, .row-service.reverse {
        flex-direction: column;
    }
    
    .service-image {
        width: 100%;
        height: 350px;
    }
    
    .service-details {
        padding: 4rem 5%;
        text-align: center;
    }

    .benefit-list li {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .logo-mk8 {
        font-size: 1.4rem;
    }

    .logo-security {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .category-panel {
        padding: 4rem 1.5rem;
    }

    .panel-content h3 {
        font-size: 1.8rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .cta-card h2 {
        font-size: 1.8rem;
    }

    .panel-content {
        text-align: center;
    }

    .panel-service-list li {
        justify-content: center;
    }
}

/* Footer Styles */
.site-footer {
    padding: 6rem 5% 4rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    height: 180px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    transition: 0.4s;
}

.footer-tagline {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer-logo {
        height: 120px;
    }
    
    .footer-tagline {
        font-size: 1rem;
    }
}
