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

:root {
    /* Color Palette */
    --bg-base: #050814;
    --bg-surface: #0b1021;
    --bg-card: #0f162e;
    --bg-elevated: #151e3d;
    --border-color: #1a264e;
    --border-glow: #1f3575;
    
    --accent-cyan: #00f0ff;
    --accent-purple: #7b2cbf;
    --accent-green: #00ff66;
    --accent-red: #ff0055;
    
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Fonts */
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    /* Shadows & Glows */
    --cyan-glow: 0 0 10px rgba(0, 240, 255, 0.3), 0 0 20px rgba(0, 240, 255, 0.15);
    --purple-glow: 0 0 10px rgba(123, 44, 191, 0.3), 0 0 20px rgba(123, 44, 191, 0.15);
    --green-glow: 0 0 10px rgba(0, 255, 102, 0.3), 0 0 20px rgba(0, 255, 102, 0.15);
    --red-glow: 0 0 10px rgba(255, 0, 85, 0.3), 0 0 20px rgba(255, 0, 85, 0.15);
    
    /* Box Shadows */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Grid & Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-base);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(123, 44, 191, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(26, 38, 78, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 38, 78, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Typography & Layout Elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
    box-shadow: var(--cyan-glow);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 8, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 38, 78, 0.5);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    height: 70px;
    background: rgba(5, 8, 20, 0.95);
    border-bottom: 1px solid var(--accent-cyan);
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-cyan);
    text-shadow: var(--cyan-glow);
}

.logo-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--accent-cyan);
    border-radius: 6px;
    transform: rotate(45deg);
    box-shadow: var(--cyan-glow);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
    text-shadow: var(--cyan-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: var(--cyan-glow);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Cyber Button Styling */
.btn-cyber {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--accent-cyan);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
    border-radius: 4px;
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-cyber::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-cyan);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -2;
}

.btn-cyber:hover {
    color: var(--bg-base);
    box-shadow: var(--cyan-glow);
    border-color: var(--accent-cyan);
}

.btn-cyber:hover::before {
    left: 100%;
}

.btn-cyber:hover::after {
    opacity: 1;
}

.btn-cyber.btn-purple {
    border-color: var(--accent-purple);
}

.btn-cyber.btn-purple:hover {
    color: var(--text-primary);
    box-shadow: var(--purple-glow);
    background: var(--accent-purple);
}

.btn-cyber.btn-purple:hover::after {
    background: var(--accent-purple);
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-cyan);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-cyan);
}

/* Page Intro/Hero Header Template (For Inner Pages) */
.page-intro {
    position: relative;
    padding: 180px 0 100px;
    background: radial-gradient(ellipse at center, rgba(21, 30, 61, 0.4) 0%, var(--bg-base) 80%);
    border-bottom: 1px solid rgba(26, 38, 78, 0.5);
    text-align: center;
    overflow: hidden;
}

.page-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

.page-intro-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-intro-title span {
    color: var(--accent-cyan);
    text-shadow: var(--cyan-glow);
}

.breadcrumbs {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.breadcrumbs a {
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--accent-cyan);
}

.breadcrumbs span.separator {
    color: var(--text-muted);
}

.breadcrumbs span.current {
    color: var(--accent-cyan);
}

/* HERO SECTION (Landing Page) */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.05);
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: var(--cyan-glow);
    animation: pulse 1.5s infinite alternate;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--accent-cyan);
    text-shadow: var(--cyan-glow);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Shell / Terminal Screen in Hero */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.terminal-window {
    background: #03050c;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.05);
    transition: var(--transition-smooth);
}

.terminal-window:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 240, 255, 0.15);
    transform: translateY(-5px);
}

.terminal-header {
    background: #080d1a;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
    display: flex;
    gap: 0.35rem;
}

.term-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.term-btn.red { background: #ff5f56; }
.term-btn.yellow { background: #ffbd2e; }
.term-btn.green { background: #27c93f; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.terminal-body {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    height: 320px;
    overflow-y: auto;
    line-height: 1.5;
}

.terminal-line {
    margin-bottom: 0.4rem;
    white-space: pre-wrap;
    opacity: 0.95;
}

.terminal-line.output {
    color: var(--text-secondary);
}

.terminal-line.success {
    color: var(--accent-green);
}

.terminal-line.warning {
    color: var(--accent-purple);
}

.terminal-line.danger {
    color: var(--accent-red);
    animation: flash-red 1s infinite alternate;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--accent-cyan);
    animation: cursor-blink 0.8s infinite;
    vertical-align: middle;
}

/* Floating HUD Widgets */
.floating-widget {
    position: absolute;
    background: rgba(11, 16, 33, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    animation: float 4s ease-in-out infinite;
}

.floating-widget:hover {
    border-color: var(--accent-cyan);
    transform: scale(1.05) translateY(-3px);
}

.floating-widget.w1 {
    top: -20px;
    left: -30px;
    animation-delay: 0s;
}

.floating-widget.w2 {
    bottom: -20px;
    right: -20px;
    animation-delay: 2s;
}

.widget-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.widget-icon.purple {
    background: rgba(123, 44, 191, 0.1);
    color: var(--accent-purple);
}

.widget-info h4 {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.widget-info p {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
}

/* STATS ROW */
.stats-row {
    position: relative;
    padding: 4rem 0;
    background: var(--bg-surface);
    border-top: 1px solid rgba(26, 38, 78, 0.5);
    border-bottom: 1px solid rgba(26, 38, 78, 0.5);
    z-index: 10;
}

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

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(transparent, var(--border-color), transparent);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: var(--cyan-glow);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* SECTION GLOBAL TITLE */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4.5rem;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.section-title span {
    color: var(--accent-cyan);
    text-shadow: var(--cyan-glow);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(26, 38, 78, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 1.75rem;
    transition: var(--transition-smooth);
    position: relative;
}

.service-card:hover .service-icon-box {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: var(--cyan-glow);
    color: var(--accent-cyan);
}

.service-icon-box svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.service-card:hover h3 {
    color: var(--accent-cyan);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    opacity: 0.8;
}

.service-link svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    opacity: 1;
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* THREAT MAP SIMULATOR SECTION */
.threat-map-section {
    background: var(--bg-surface);
    border-top: 1px solid rgba(26, 38, 78, 0.3);
    border-bottom: 1px solid rgba(26, 38, 78, 0.3);
    overflow: hidden;
}

.threat-map-container {
    background: #040712;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    position: relative;
}

.threat-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.map-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 1rem;
}

.map-status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: var(--green-glow);
    animation: pulse 1s infinite alternate;
}

.threat-log-trigger {
    background: rgba(26, 38, 78, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.35rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.threat-log-trigger:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.threat-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    background: #03050c;
    border-radius: 6px;
    overflow: hidden;
}

#threatMapCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

.threat-hud-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    pointer-events: none;
}

.threat-logs-box {
    background: rgba(5, 8, 20, 0.9);
    border: 1px solid rgba(26, 38, 78, 0.8);
    border-radius: 4px;
    padding: 0.75rem;
    height: 110px;
    overflow-y: hidden;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    pointer-events: auto;
}

.log-entry {
    margin-bottom: 0.25rem;
    display: flex;
    gap: 0.5rem;
}

.log-time { color: var(--text-muted); }
.log-ip { color: var(--accent-cyan); }
.log-msg { color: var(--text-secondary); }
.log-msg.threat { color: var(--accent-red); font-weight: 700; }
.log-msg.blocked { color: var(--accent-green); }

.threat-legend {
    background: rgba(5, 8, 20, 0.9);
    border: 1px solid rgba(26, 38, 78, 0.8);
    border-radius: 4px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-color.blue { background: #00bfff; box-shadow: 0 0 5px #00bfff; }
.legend-color.red { background: var(--accent-red); box-shadow: var(--red-glow); }
.legend-color.green { background: var(--accent-green); box-shadow: var(--green-glow); }

/* ABOUT SECTION (Brief / Landing page) */
.about-brief-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
}

.about-brief-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.radar-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.15);
    background: rgba(5, 8, 20, 0.5);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.03);
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(0, 240, 255, 0.1);
}

.radar-circle.c1 { width: 80px; height: 80px; }
.radar-circle.c2 { width: 160px; height: 160px; }
.radar-circle.c3 { width: 240px; height: 240px; }

.radar-crosshair-x {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 1px;
    background: rgba(0, 240, 255, 0.08);
}

.radar-crosshair-y {
    position: absolute;
    left: 50%;
    top: 5%;
    bottom: 5%;
    width: 1px;
    background: rgba(0, 240, 255, 0.08);
}

.radar-scan-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.8), transparent);
    transform-origin: 0% 50%;
    animation: radar-spin 4s linear infinite;
}

.radar-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: var(--red-glow);
    opacity: 0;
    animation: radar-dot-pulse 4s infinite;
}

.radar-dot.d1 { top: 30%; left: 40%; animation-delay: 1.2s; }
.radar-dot.d2 { top: 65%; left: 75%; animation-delay: 2.8s; }
.radar-dot.d3 { top: 55%; left: 25%; animation-delay: 0.5s; }

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    gap: 1.25rem;
}

.feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    flex-shrink: 0;
    box-shadow: var(--cyan-glow);
}

.feature-check svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* TESTIMONIALS SECTION */
.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.03);
}

.testimonial-quote {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '“';
    font-size: 4rem;
    position: absolute;
    top: -2.5rem;
    left: -1rem;
    color: rgba(0, 240, 255, 0.08);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    box-shadow: var(--cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--bg-elevated);
    color: var(--accent-cyan);
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
}

/* ABOUT PAGE specific rules */
.about-mission-section {
    padding: 100px 0;
}

.mission-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.mission-content h2 span {
    color: var(--accent-cyan);
}

.mission-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.mission-highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-cyan);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
}

.mission-highlight-card p {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 0;
}

.about-radar-section {
    background: var(--bg-surface);
    border-top: 1px solid rgba(26, 38, 78, 0.4);
    border-bottom: 1px solid rgba(26, 38, 78, 0.4);
}

.radar-scan-container {
    background: #03050c;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

#aboutRadarCanvas {
    display: block;
    background: #010307;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.05);
}

.radar-console-output {
    width: 100%;
    margin-top: 1.5rem;
    background: #050814;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    height: 90px;
    overflow-y: hidden;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

/* TEAM SECTION */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    position: relative;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.05);
}

.team-member-img {
    height: 260px;
    background: var(--bg-elevated);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-img svg {
    width: 96px;
    height: 96px;
    color: var(--border-color);
    transition: var(--transition-smooth);
}

.team-card:hover .team-member-img svg {
    color: var(--accent-cyan);
    filter: drop-shadow(var(--cyan-glow));
    transform: scale(1.1);
}

/* Hologram Scanning Overlay */
.holo-scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 240, 255, 0.15) 50%, transparent 50%);
    background-size: 100% 4px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.team-card:hover .holo-scan-overlay {
    opacity: 0.4;
    animation: hologram-scan 2s linear infinite;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.team-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    transition: var(--transition-fast);
}

.team-card:hover .team-info h4 {
    color: var(--accent-cyan);
}

.team-info p {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CERTIFICATIONS SECTION */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(123, 44, 191, 0.05);
    transform: translateY(-5px);
}

.cert-badge {
    width: 80px;
    height: 80px;
    background: rgba(123, 44, 191, 0.05);
    border: 1px solid rgba(123, 44, 191, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-weight: 800;
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.cert-card:hover .cert-badge {
    background: rgba(123, 44, 191, 0.15);
    border-color: var(--accent-purple);
    box-shadow: var(--purple-glow);
    color: var(--accent-purple);
}

.cert-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* CONTACT PAGE specific rules */
.contact-section-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 240, 255, 0.03);
    transform: translateX(5px);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: rgba(26, 38, 78, 0.5);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.contact-info-card:hover .contact-icon-box {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: var(--cyan-glow);
}

.contact-details h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact-details p {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details a:hover {
    color: var(--accent-cyan);
}

/* Cyber Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-title svg {
    color: var(--accent-cyan);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    background: rgba(5, 8, 20, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15), inset 0 0 5px rgba(0, 240, 255, 0.05);
    background: rgba(5, 8, 20, 0.9);
}

textarea.form-control {
    resize: none;
    height: 140px;
}

/* Security Slider */
.priority-slider-container {
    margin-top: 0.5rem;
}

.priority-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    margin: 1rem 0 0.5rem;
}

.priority-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    box-shadow: var(--cyan-glow);
    transition: var(--transition-fast);
}

.priority-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.priority-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.priority-val-display {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Form Handshake Mock Console */
.form-console-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #03050c;
    border-radius: 8px;
    z-index: 10;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-console-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.console-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.console-body {
    flex-grow: 1;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-green);
    overflow-y: auto;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Global SOC Centers Location Map */
.soc-map-section {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid rgba(26, 38, 78, 0.4);
}

.map-svg-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #03050c;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    position: relative;
}

.map-ping {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    cursor: pointer;
}

.map-ping::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    animation: sonar-pulse 1.8s infinite;
}

.map-ping.us { top: 38%; left: 22%; }
.map-ping.eu { top: 32%; left: 50%; }
.map-ping.as { top: 48%; left: 78%; }

.map-tooltip {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-primary);
    box-shadow: var(--cyan-glow);
    pointer-events: none;
    transform: translate(-50%, -120%);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 100;
}

.map-ping:hover .map-tooltip {
    opacity: 1;
}

/* FOOTER */
.footer {
    background: #03050a;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo-desc {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: var(--cyan-glow);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--accent-cyan);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.footer-news-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-news-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--accent-cyan);
}

.footer-news-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.subscribe-form {
    display: flex;
    position: relative;
}

.subscribe-input {
    background: rgba(5, 8, 20, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    transition: var(--transition-fast);
}

.subscribe-input:focus {
    border-color: var(--accent-cyan);
}

.subscribe-btn {
    background: var(--accent-cyan);
    color: var(--bg-base);
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.subscribe-btn:hover {
    box-shadow: var(--cyan-glow);
    filter: brightness(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(26, 38, 78, 0.5);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-cyan);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 5px rgba(0, 240, 255, 0.3); }
    100% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 15px rgba(0, 240, 255, 0.8); }
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes radar-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scan-down {
    0% { transform: translateY(-100%); opacity: 0.4; }
    100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes typing-cursor {
    0%, 100% { border-right-color: var(--accent-cyan); }
    50% { border-right-color: transparent; }
}

@keyframes radar-dot-pulse {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    15% { opacity: 1; transform: scale(1.2); }
    30% { opacity: 0; transform: scale(1); }
}

@keyframes hologram-scan {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

@keyframes sonar-pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

@keyframes flash-red {
    0%, 100% { color: var(--accent-red); opacity: 1; }
    50% { color: var(--text-primary); opacity: 0.6; }
}

/* Reveal on scroll base classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Placeholder Color Styling */
::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

/* Hero scan-line overlay effect */
.hero-section::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
    animation: scan-down 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* CTA Banner Section */
.cta-banner {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(11, 16, 33, 0.95), rgba(5, 8, 20, 0.98));
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    text-align: center;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 240, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0.3;
}

.cta-banner h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.cta-banner h2 span {
    color: var(--accent-cyan);
    text-shadow: var(--cyan-glow);
}

.cta-banner p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Select Input Styling */
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.form-control option {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

/* Mission section h2 fix */
.mission-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.mission-content h2 span {
    color: var(--accent-cyan);
    text-shadow: var(--cyan-glow);
}

/* About brief content fix */
.about-brief-content .section-title {
    text-align: left;
    font-size: 2.25rem;
}

.about-brief-content .section-desc {
    text-align: left;
    margin-bottom: 0;
}

/* Page-intro scan overlay */
.page-intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    animation: scan-down 6s linear infinite;
    z-index: 2;
    opacity: 0.5;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-base);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-actions {
        display: none; /* Can merge in menu if needed, or keep hidden */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
    }
    
    .about-brief-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-brief-visual {
        order: -1;
    }
    
    .mission-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .certs-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-banner h2 {
        font-size: 2rem;
    }
    
    .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .page-intro-title {
        font-size: 2.25rem;
    }
    
    .radar-wrapper {
        width: 260px;
        height: 260px;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.25rem;
    }
    
    .priority-labels {
        font-size: 0.65rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .certs-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        padding: 60px 0;
    }
    
    .cta-banner h2 {
        font-size: 1.75rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .contact-info-card {
        padding: 1.25rem;
    }
    
    .form-title {
        font-size: 1.35rem;
    }
}
