/*
Theme Name: Teknosoft
Theme URI: https://www.teknosoft.tc
Author: Aksu Cyber Bilişim
Author URI: https://www.aksucyber.com
Description: Teknosoft Siber Teknoloji Bölgesi Kurumsal WordPress Teması
Version: 1.0.0
License: All Rights Reserved
Text Domain: teknosoft
*/

/* =====================================================
           CSS RESET & ROOT VARIABLES
           ===================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Deep Space Cyber-Tech */
    --bg-primary: #111827;
    --bg-secondary: #1a2235;
    --bg-gradient: linear-gradient(135deg, #111827 0%, #1a2235 50%, #141c2b 100%);

    /* Accent Colors - BRIGHTER for HUD look */
    --accent-cyan: #00ffff;
    --accent-cyan-bright: #40ffff;
    --accent-cyan-dim: rgba(0, 255, 255, 0.6);
    --accent-cyan-glow: rgba(0, 255, 255, 0.4);
    --accent-purple: #b16cff;
    --accent-purple-dim: rgba(177, 108, 255, 0.5);
    --accent-purple-glow: rgba(177, 108, 255, 0.25);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;

    /* Glassmorphism - More visible borders */
    --glass-bg: rgba(15, 25, 45, 0.6);
    --glass-bg-hover: rgba(20, 35, 60, 0.8);
    --glass-border: rgba(0, 255, 255, 0.15);
    --glass-border-hover: rgba(0, 255, 255, 0.5);
    --hud-border: rgba(0, 255, 255, 0.3);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* =====================================================
           BASE STYLES
           ===================================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: transparent;
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* =====================================================
           PARTICLES.JS NETWORK BACKGROUND
           ===================================================== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #111827;
    z-index: 0;
    pointer-events: none;
}

/* Old CSS grid background removed - now using particles.js */

#main-content {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Utility: Screen Reader Only */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
           ANIMATED BACKGROUND PARTICLES
           ===================================================== */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.5;
    animation: float-particle 12s infinite linear;
    box-shadow: 0 0 6px var(--accent-cyan);
}

.particle:nth-child(odd) {
    background: var(--accent-purple);
    animation-duration: 15s;
    box-shadow: 0 0 6px var(--accent-purple);
}

.particle:nth-child(3n) {
    width: 3px;
    height: 3px;
    opacity: 0.7;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100vh) translateX(80px) rotate(360deg);
        opacity: 0;
    }
}

/* =====================================================
           SCROLL ANIMATION CLASSES
           ===================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays for children */
.stagger-children>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children>*:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-children>*:nth-child(6) {
    transition-delay: 0.6s;
}

.stagger-children>*:nth-child(7) {
    transition-delay: 0.7s;
}

.stagger-children>*:nth-child(8) {
    transition-delay: 0.8s;
}

.stagger-children>*:nth-child(9) {
    transition-delay: 0.9s;
}

/* =====================================================
           HEADER - GLASSMORPHISM NAVIGATION
           ===================================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5rem;
    min-height: 80px;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

#main-header:hover {
    background: rgba(10, 14, 23, 0.9);
    border-bottom-color: var(--glass-border-hover);
}

#main-header.scrolled {
    background: rgba(10, 14, 23, 0.98);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
    min-height: 70px;
    padding: 0.25rem 5rem;
}

.logo {
    display: flex;
    align-items: center;
}

/* Navigation Brand Logo */
.nav-brand {
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}

.nav-brand img {
    height: 75px;
    width: auto;
    max-height: 80px;
    filter: drop-shadow(0 0 10px var(--accent-cyan-glow));
    transition: var(--transition-base);
}

.nav-brand:hover img {
    filter: drop-shadow(0 0 20px var(--accent-cyan)) brightness(1.15);
    transform: scale(1.08);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    transition: var(--transition-base);
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Hamburger Animation to X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-menu a {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: var(--space-xs) var(--space-sm);
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a.active-link::before {
    width: 100%;
}

.nav-menu a.active-link {
    color: var(--text-primary);
}

/* =====================================================
           DROPDOWN MENU - GLASSMORPHISM STYLE
           ===================================================== */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown>a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-item-dropdown>a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--accent-cyan);
    transition: transform var(--transition-base);
    margin-left: 0.3rem;
}

.nav-item-dropdown:hover>a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    padding: 0.75rem 0;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--accent-cyan-dim);
    border-radius: var(--radius-md);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base),
        transform var(--transition-base),
        visibility var(--transition-base);
    z-index: 1001;
    list-style: none;
}

/* Dropdown arrow indicator */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--accent-cyan-dim);
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(10, 14, 23, 0.95);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
}

.dropdown-menu a::before {
    display: none;
}

.dropdown-menu a:hover {
    color: var(--accent-cyan);
    background: rgba(0, 255, 255, 0.08);
    border-left-color: var(--accent-cyan);
    padding-left: 1.75rem;
}

.dropdown-menu a:hover::before {
    display: none;
}

/* =====================================================
           CYBER ECOSYSTEM HERO SECTION
           ===================================================== */
.cyber-ecosystem-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Video Background */
.cyber-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
    filter: brightness(0.5) saturate(1.2);
}

/* Cyber Overlay - Gradient with Neon Glow */
.cyber-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 50%, transparent 20%, rgba(10, 14, 23, 0.7) 70%),
        linear-gradient(to bottom,
            rgba(10, 15, 30, 0.8) 0%,
            rgba(10, 15, 30, 0.4) 40%,
            rgba(10, 15, 30, 0.6) 100%);
    pointer-events: none;
}

/* Animated Grid Pattern */
.cyber-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes grid-pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

/* Data Connection Lines SVG */
.data-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.data-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-line 3s ease forwards, pulse-line 4s ease-in-out infinite 3s;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulse-line {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* =====================================================
           GLITCH TITLE ANIMATION
           ===================================================== */
.hero-center-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.glitch-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: transparent;
    position: relative;
    margin-bottom: 1.5rem;
}

.glitch-text {
    background: linear-gradient(90deg,
            #00f7ff 0%, #00ff88 25%, #00f7ff 50%, #ffffff 75%, #00ff88 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-move 8s linear infinite;
    text-shadow:
        0 0 20px rgba(0, 247, 255, 0.5),
        0 0 40px rgba(0, 247, 255, 0.3),
        0 0 60px rgba(0, 247, 255, 0.1);
}

.glitch-title.decrypted .glitch-text {
    animation: gradient-move 8s linear infinite, glitch-flicker 5s step-start infinite;
}

@keyframes gradient-move {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0% 0;
    }
}

@keyframes glitch-flicker {

    0%,
    2%,
    4%,
    6%,
    8%,
    10%,
    100% {
        opacity: 1;
    }

    1%,
    3%,
    5%,
    7%,
    9% {
        opacity: 0.95;
        text-shadow: -2px 0 #00ff88, 2px 0 #ff0088;
    }
}

/* Cyber Subheadline */
.cyber-subheadline {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    margin-bottom: 2rem;
}

.cyber-subheadline.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cyber CTA Button */
.cyber-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #00f7ff;
    background: rgba(0, 247, 255, 0.05);
    border: 1px solid rgba(0, 247, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cyber-cta-button.visible {
    opacity: 1;
    transform: translateY(0);
}

.cyber-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cyber-cta-button:hover {
    background: rgba(0, 247, 255, 0.1);
    border-color: rgba(0, 247, 255, 0.6);
    box-shadow:
        0 0 20px rgba(0, 247, 255, 0.3),
        inset 0 0 20px rgba(0, 247, 255, 0.1);
    transform: translateY(-3px);
}

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

.cta-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.cyber-cta-button:hover .cta-icon {
    transform: translate(3px, -3px);
}

/* =====================================================
           HOLOGRAPHIC SECTOR NODES
           ===================================================== */
.sector-nodes-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.sector-node {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: auto;
    cursor: pointer;
    opacity: 0;
    animation: node-appear 0.8s ease forwards;
}

@keyframes node-appear {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Node Positions - 3x3 Grid Layout */
.sector-node[data-index="0"] {
    top: 15%;
    left: 8%;
}

.sector-node[data-index="1"] {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.sector-node[data-index="2"] {
    top: 15%;
    right: 8%;
}

.sector-node[data-index="3"] {
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
}

.sector-node[data-index="4"] {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

/* Hidden - center reserved for title */
.sector-node[data-index="5"] {
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
}

.sector-node[data-index="6"] {
    bottom: 15%;
    left: 8%;
}

.sector-node[data-index="7"] {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.sector-node[data-index="8"] {
    bottom: 15%;
    right: 8%;
}

/* Node Glow Background */
.node-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 247, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sector-node.active .node-glow,
.sector-node:hover .node-glow {
    opacity: 1;
    animation: glow-pulse 1.5s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Node Ring */
.node-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 247, 255, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.sector-node.active .node-ring,
.sector-node:hover .node-ring {
    border-color: rgba(0, 247, 255, 0.8);
    box-shadow:
        0 0 20px rgba(0, 247, 255, 0.4),
        inset 0 0 20px rgba(0, 247, 255, 0.1);
    animation: ring-spin 8s linear infinite;
}

@keyframes ring-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Node Icon */
.node-icon {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    animation: node-float 4s ease-in-out infinite;
}

.node-icon svg {
    width: 100%;
    height: 100%;
    color: rgba(0, 247, 255, 0.7);
    filter: drop-shadow(0 0 8px rgba(0, 247, 255, 0.5));
    transition: all 0.4s ease;
}

.sector-node.active .node-icon svg,
.sector-node:hover .node-icon svg {
    color: #00f7ff;
    filter: drop-shadow(0 0 15px rgba(0, 247, 255, 0.8));
    transform: scale(1.1);
}

@keyframes node-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Stagger float animation */
.sector-node[data-index="1"] .node-icon {
    animation-delay: 0.5s;
}

.sector-node[data-index="2"] .node-icon {
    animation-delay: 1s;
}

.sector-node[data-index="3"] .node-icon {
    animation-delay: 1.5s;
}

.sector-node[data-index="5"] .node-icon {
    animation-delay: 2s;
}

.sector-node[data-index="6"] .node-icon {
    animation-delay: 2.5s;
}

.sector-node[data-index="7"] .node-icon {
    animation-delay: 3s;
}

.sector-node[data-index="8"] .node-icon {
    animation-delay: 3.5s;
}

/* Node Tooltip */
.node-tooltip {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #00f7ff;
    background: rgba(10, 14, 23, 0.95);
    border: 1px solid rgba(0, 247, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.node-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 247, 255, 0.3);
}

.sector-node.active .node-tooltip,
.sector-node:hover .node-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* =====================================================
           SCROLL INDICATOR
           ===================================================== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fade-in-up 1s ease forwards 4s;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(0, 247, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: #00f7ff;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.3;
    }
}

.scroll-indicator span {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0, 247, 255, 0.5);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* =====================================================
           HUD SCROLLYTELLING EXPERIENCE
           ===================================================== */

/* Main Section - Tall for scroll-through */
.hud-scrollytelling {
    position: relative;
    height: 600vh;
    background: #111827;
}

/* Pinned Video Container */
/* Pinned Video Container */
.hud-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* Fallback for JS failure */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #111827;
    /* Fallback background while video loads */
}

/* Force Transparent Header */
#main-header {
    background: transparent !important;
    transition: background 0.3s ease;
}

#main-header.scrolled {
    background: rgba(10, 14, 23, 0.95) !important;
    border-bottom: 1px solid rgba(0, 247, 255, 0.1);
}

/* Ensure Header is always on top */
#main-header {
    z-index: 1000 !important;
    top: 0 !important;
}

/* Admin Bar disabled, verify no top margin */
html {
    margin-top: 0 !important;
}

/* Video Background */
.hud-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    opacity: 0.9;
    filter: brightness(0.75) saturate(1.2);
    background: #111827;
    /* Fallback color while video loads */
    transition: opacity 0.3s ease;
}

/* HUD Overlay Layer */
.hud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}

/* Scanlines Effect */
.hud-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.1) 0px,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px,
            transparent 3px);
    pointer-events: none;
    opacity: 0.4;
}

/* HUD Corner Brackets */
.hud-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 247, 255, 0.4);
    z-index: 20;
}

.hud-corner-tl {
    top: 30px;
    left: 30px;
    border-right: none;
    border-bottom: none;
}

.hud-corner-tr {
    top: 30px;
    right: 30px;
    border-left: none;
    border-bottom: none;
}

.hud-corner-bl {
    bottom: 30px;
    left: 30px;
    border-right: none;
    border-top: none;
}

.hud-corner-br {
    bottom: 30px;
    right: 30px;
    border-left: none;
    border-top: none;
}

/* =====================================================
           SYSTEM PRELOADER
           ===================================================== */
.system-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #111827;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.system-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-ring {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border: 2px solid rgba(0, 247, 255, 0.2);
    border-top-color: #00f7ff;
    border-radius: 50%;
    animation: preloader-spin 1s linear infinite;
}

@keyframes preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

.preloader-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.preloader-status {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #00f7ff;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.preloader-progress {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(0, 247, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00f7ff, #00ff88);
    border-radius: 2px;
    transition: width 0.1s ease-out;
}

/* =====================================================
           SVG TRACKING LINES
           ===================================================== */
.hud-tracking-lines {
    display: none;
}

.tracking-line-group {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tracking-line-group.active {
    opacity: 1;
}

.tracking-dot {
    animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        r: 0.5;
        opacity: 1;
    }

    50% {
        r: 0.8;
        opacity: 0.7;
    }
}

.tracking-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.8s ease;
}

.tracking-line-group.active .tracking-path {
    stroke-dashoffset: 0;
}

.tracking-reticle {
    animation: reticle-rotate 8s linear infinite;
    transform-origin: center;
}

.tracking-reticle-inner {
    animation: reticle-rotate 8s linear infinite reverse;
    transform-origin: center;
}

@keyframes reticle-rotate {
    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
           HUD CARDS CONTAINER
           ===================================================== */
.hud-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    pointer-events: none;
}

/* Individual HUD Card */
.hud-card {
    position: absolute;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: auto;
}

.hud-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Card Positions */
.hud-card-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.hud-card-center.active {
    transform: translate(-50%, -50%) scale(1);
}

.hud-card-bottom-center {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    width: 90%;
    max-width: 1000px;
}

.hud-card-bottom-center.active {
    transform: translateX(-50%) translateY(0);
}

/* Dual Cards Layout for Scene 2 */
.hud-dual-cards {
    display: flex;
    gap: 30rem;
    align-items: stretch;
    justify-content: center;
}

.hud-dual-cards .hud-card-glass {
    width: 380px;
    max-width: 380px;
    flex: none;
}

.hud-dual-left,
.hud-dual-right {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hud-card-top-left {
    top: 15%;
    left: 5%;
    max-width: 380px;
}

.hud-card-bottom-right {
    bottom: 15%;
    right: 12%;
    max-width: 380px;
}

.hud-card-top-right {
    top: 15%;
    right: 12%;
    max-width: 380px;
}

/* Bottom-Left Hero Title */
.hud-card-bottom-left-hero {
    bottom: 15%;
    left: 5%;
    text-align: left;
    width: auto;
    max-width: 95%;
}

.hud-card-bottom-left-hero.active {
    transform: translateY(0) scale(1);
}

.hud-card-bottom-left-hero .hud-card-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hud-hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    letter-spacing: 0.02em;
    max-width: 700px;
}

.hud-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 247, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 247, 255, 0.4);
    padding: 0.85rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.2), inset 0 0 20px rgba(0, 247, 255, 0.05);
    margin-top: 0.5rem;
    text-align: center;
    width: auto;
    max-width: 280px;
}

.hud-cta-button:hover {
    background: rgba(0, 247, 255, 0.2);
    border-color: rgba(0, 247, 255, 0.7);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.4), inset 0 0 30px rgba(0, 247, 255, 0.1);
    transform: translateY(-2px);
}

/* Scroll Cue Wrapper (Centered Bottom) */
.hud-scroll-cue-wrapper {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* =====================================================
           GLASSMORPHISM CARD STYLING
           ===================================================== */
.hud-card-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hud-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.5), transparent);
}

.hud-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hud-card-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(0, 247, 255, 0.5));
}

.hud-card-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00f7ff;
    letter-spacing: 0.15em;
    text-shadow: 0 0 30px rgba(0, 247, 255, 1), 0 0 60px rgba(0, 247, 255, 0.7), 0 0 90px rgba(0, 247, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.15), rgba(0, 255, 136, 0.1));
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 247, 255, 0.4);
}

.hud-card-glass h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.4);
}

.hud-card-glass p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.hud-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-tag {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    color: #00ff88;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 3px;
}

.meta-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

/* =====================================================
           SCENE 1: DECRYPTING TITLE
           ===================================================== */
.hud-card-inner {
    padding: 2rem;
}

.decrypt-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    font-weight: 900;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.decrypt-line {
    display: block;
    background: linear-gradient(90deg, #00f7ff, #ffffff, #00ff88, #ffffff, #00f7ff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: gradient-flow 16s linear infinite;
    filter: drop-shadow(0 0 30px rgba(0, 247, 255, 0.4));
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

.decrypt-text {
    display: inline-block;
    min-width: 100%;
}

.decrypt-title.decrypted .decrypt-text {
    animation: none;
    /* The gradient animation handles this now */
}

@keyframes title-glow {

    0%,
    100% {
        text-shadow: 0 0 30px rgba(0, 247, 255, 0.6), 0 0 60px rgba(0, 247, 255, 0.3);
    }

    50% {
        text-shadow: 0 0 40px rgba(0, 247, 255, 0.8), 0 0 80px rgba(0, 247, 255, 0.5);
    }
}

.hud-tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Scroll Cue */
.scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    animation: scroll-cue-pulse 2s ease-in-out infinite;
}

.scroll-cue-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(0, 247, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-cue-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #00f7ff;
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-cue-pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes scroll-wheel {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

.scroll-cue span {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    color: rgba(0, 247, 255, 0.6);
    letter-spacing: 0.2em;
}

/* =====================================================
           SCENE 2: DATA STRIP
           ===================================================== */
.data-strip {
    padding: 0;
    display: flex;
    overflow: hidden;
}

.data-strip-accent {
    width: 5px;
    background: linear-gradient(to bottom, #00f7ff, #00ff88);
    flex-shrink: 0;
}

.data-strip-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    flex: 1;
}

.hud-label-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00f7ff;
    letter-spacing: 0.15em;
    text-shadow: 0 0 30px rgba(0, 247, 255, 1), 0 0 60px rgba(0, 247, 255, 0.7);
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.15), rgba(0, 255, 136, 0.1));
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 247, 255, 0.4);
}

.hud-label-text h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.hud-label-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

.data-strip-stats {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
}

.data-strip-stats .stat {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.data-strip-stats .stat em {
    display: block;
    font-style: normal;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: #00f7ff;
    font-weight: 700;
}

/* =====================================================
           SCENE 5: TARGETING CARD
           ===================================================== */
.targeting-card {
    position: relative;
}

.targeting-brackets {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    pointer-events: none;
}

.bracket {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #00f7ff;
}

.bracket-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    animation: bracket-blink 1s ease-in-out infinite;
}

.bracket-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    animation: bracket-blink 1s ease-in-out infinite 0.25s;
}

.bracket-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    animation: bracket-blink 1s ease-in-out infinite 0.5s;
}

.bracket-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    animation: bracket-blink 1s ease-in-out infinite 0.75s;
}

@keyframes bracket-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* =====================================================
           HUD PROGRESS INDICATOR
           ===================================================== */
.hud-progress {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    gap: 15px;
}

.hud-progress-track {
    width: 3px;
    height: 200px;
    background: rgba(0, 247, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.hud-progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #00f7ff, #00ff88);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    transition: height 0.1s ease-out;
}

.hud-progress-markers {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
}

.hud-marker {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.marker-line {
    width: 20px;
    height: 2px;
    background: rgba(0, 247, 255, 0.3);
    transition: all 0.3s ease;
}

.marker-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.hud-marker.active .marker-line {
    background: #00f7ff;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.8);
    width: 30px;
}

.hud-marker.active .marker-label {
    color: #00f7ff;
}

.hud-marker.passed .marker-line {
    background: rgba(0, 255, 136, 0.6);
}

.hud-marker.passed .marker-label {
    color: rgba(0, 255, 136, 0.6);
}

/* =====================================================
           HUD STATUS BAR
           ===================================================== */
.hud-status-bar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
    z-index: 30;
}

.status-item {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.status-item em {
    font-style: normal;
    color: #00f7ff;
}

/* =====================================================
           HUD RESPONSIVE STYLES
           ===================================================== */
@media (max-width: 1024px) {

    .hud-card-top-left,
    .hud-card-bottom-right,
    .hud-card-top-right {
        max-width: 320px;
    }

    .data-strip-stats {
        display: none;
    }
}

@media (max-width: 768px) {
    .hud-scrollytelling {
        height: 400vh;
    }

    .hud-corner {
        width: 25px;
        height: 25px;
    }

    .hud-corner-tl,
    .hud-corner-tr {
        top: 15px;
    }

    .hud-corner-bl,
    .hud-corner-br {
        bottom: 15px;
    }

    .hud-corner-tl,
    .hud-corner-bl {
        left: 15px;
    }

    .hud-corner-tr,
    .hud-corner-br {
        right: 15px;
    }

    .decrypt-title {
        font-size: clamp(1.2rem, 4vw, 2rem);
        white-space: normal;
    }

    .hud-tagline {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }

    .hud-card-top-left {
        top: auto;
        bottom: 20%;
        left: 5%;
    }

    .hud-card-bottom-right {
        bottom: 20%;
        right: 5%;
    }

    .hud-card-top-right {
        top: auto;
        bottom: 20%;
        right: 5%;
    }

    .hud-card-glass h2 {
        font-size: 1rem;
    }

    .hud-card-glass p {
        font-size: 0.75rem;
    }

    .hud-progress {
        right: 15px;
    }

    .hud-progress-track {
        height: 150px;
    }

    .hud-progress-markers {
        height: 150px;
    }

    /* Mobile: Dual Cards Layout */
    .hud-dual-cards {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .hud-dual-cards .hud-card-glass {
        width: 90%;
        max-width: 350px;
    }

    .hud-card-bottom-center {
        bottom: 18%;
        width: 95%;
    }

    .marker-label {
        display: none;
    }

    .hud-status-bar {
        gap: 1.5rem;
    }

    .status-item {
        font-size: 0.55rem;
    }

    .hud-tracking-lines {
        display: none;
    }
}

@media (max-width: 480px) {
    .hud-scrollytelling {
        height: 350vh;
    }

    .decrypt-title {
        font-size: 1.1rem;
    }

    .hud-card-glass {
        padding: 1rem 1.25rem;
    }

    .hud-card-glass h2 {
        font-size: 0.9rem;
    }

    .hud-progress {
        display: none;
    }

    .scroll-cue {
        display: none;
    }

    .hud-status-bar {
        display: none;
    }
}


















/* =====================================================
           TRANSPARENT HEADER FOR HERO
           ===================================================== */
#main-header {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

#main-header.scrolled {
    background: rgba(10, 14, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom-color: var(--glass-border);
}

/* =====================================================
           MOBILE RESPONSIVE
           ===================================================== */
@media (max-width: 1024px) {
    .sector-node {
        width: 70px;
        height: 70px;
    }

    .node-tooltip {
        font-size: 0.6rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .cyber-ecosystem-hero {
        min-height: 100vh;
    }

    .sector-nodes-container {
        position: relative;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 2rem;
        margin-top: 2rem;
    }

    .sector-node {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }

    .sector-node[data-index="4"] {
        display: block;
    }

    .hero-center-content {
        padding: 1rem;
        margin-top: 100px;
    }

    .glitch-title {
        font-size: 1.3rem;
    }

    .cyber-subheadline {
        font-size: 0.8rem;
        letter-spacing: 0.15em;
    }

    .node-tooltip {
        bottom: -40px;
        font-size: 0.55rem;
    }

    .data-lines {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .sector-nodes-container {
        gap: 1rem;
        padding: 1rem;
    }

    .sector-node {
        width: 55px;
        height: 55px;
    }

    .glitch-title {
        font-size: 1.1rem;
    }

    .cyber-cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
    }
}

/* Main Title - TEKNOSOFT */
.main-title {
    position: relative;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-shimmer 5s ease-in-out infinite;
    background-size: 200% 200%;
    filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.9));
    letter-spacing: 0.08em;
}

/* Slogan - DAİMA İLERİ (Cinematic Style) */
/* Slogan - DAİMA İLERİ (Cinematic Style) */
.sub-title {
    position: relative;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0.75rem 0 0 0;

    /* Gradient Text */
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Glow & Shadow */
    filter: drop-shadow(0 2px 25px var(--accent-cyan-glow)) drop-shadow(0 4px 30px rgba(0, 0, 0, 0.9));

    /* Animation matching main title */
    animation: title-shimmer 5s ease-in-out infinite;
    background-size: 200% 200%;

    letter-spacing: 0.4em;
    text-transform: uppercase;
}

@keyframes title-shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subheadline {
    position: relative;
    z-index: 1;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

/* CTA Button */
.cta-button {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

/* =====================================================
           ABOUT SECTION
           ===================================================== */
.about-section {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--space-xl);
    position: relative;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 2px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: var(--space-lg);
}

.about-highlight {
    display: inline-block;
    font-size: 1rem;
    padding: var(--space-md) var(--space-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--accent-cyan);
}

.about-highlight strong {
    color: var(--text-primary);
}

/* =====================================================
           STATS SECTION - HUD STYLE
           ===================================================== */
.stats-section {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) var(--space-lg);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 255, 0.03) 50%, transparent 100%);
}

/* HUD Tech Corners for Stats Section */
.stats-section::before,
.stats-section::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-cyan);
    opacity: 0.4;
}

.stats-section::before {
    top: 40px;
    left: 40px;
    border-right: none;
    border-bottom: none;
}

.stats-section::after {
    bottom: 40px;
    right: 40px;
    border-left: none;
    border-top: none;
}

.stats-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

/* Desktop: Force 2 columns for 2x2 matrix */
@media (min-width: 768px) {
    .stats-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow:
        0 0 40px var(--accent-cyan-glow),
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 255, 255, 0.05);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--accent-cyan-bright);
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 20px var(--accent-cyan-glow), 0 0 40px var(--accent-cyan-glow);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    word-wrap: break-word;
}

/* =====================================================
           SECTORS SECTION - RESPONSIVE GRID WITH HUD
           ===================================================== */
.sectors-section {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

/* HUD Tech Corners for Sectors Section */
.sectors-section::before,
.sectors-section::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--accent-purple);
    opacity: 0.3;
}

.sectors-section::before {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.sectors-section::after {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.sectors-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    color: var(--accent-cyan-bright);
    text-shadow: 0 0 20px var(--accent-cyan-glow);
}

.sectors-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.sectors-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-lg);
    list-style: none;
}

/* Desktop: Force 3 columns for perfect 3x3 matrix */
@media (min-width: 1024px) {
    .sectors-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .sectors-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sector-item {
    position: relative;
    padding: var(--space-xl);
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
    overflow: hidden;
    cursor: pointer;
    /* Equal height cards */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

/* Animated corner accent */
.sector-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-cyan-dim) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.sector-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 100% 100%, var(--accent-purple-glow) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-base);
}

.sector-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow:
        0 0 30px var(--accent-cyan-glow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 0 60px rgba(0, 255, 255, 0.05);
}

.sector-item:hover::before,
.sector-item:hover::after {
    opacity: 1;
}

.sector-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    transition: var(--transition-base);
}

.sector-item:hover h3 {
    color: var(--accent-cyan-bright);
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

.sector-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =====================================================
           TEKNO-CITY SECTION
           ===================================================== */
.tekno-city-section {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.03) 50%, transparent 100%);
}

.tekno-city-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--space-xl);
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tekno-city-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.9;
}

/* Tekno-Life Centered Container */
.tekno-life-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.tekno-life-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.tekno-life-text p {
    margin: 0;
    text-align: center;
}

/* Honeycomb Grid Container - Single Row Zigzag Chain */
.honeycomb-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 0 10rem 0;
    /* Extra bottom padding for zigzag */
    overflow: visible;
    /* Allow hexagons to show fully */
}

/* Individual Hexagon Item - Zigzag Chain */
.hex-item {
    flex: 0 0 32%;
    /* LARGER hexagons */
    max-width: 400px;
    aspect-ratio: 1 / 1.15;
    position: relative;
    transition: var(--transition-base);
}

/* Horizontal Interlocking - Larger negative margin for touching */
.hex-item:not(:first-child) {
    margin-left: -10%;
}

/* Zigzag Pattern - Shift even items down */
.hex-item:nth-child(odd) {
    transform: translateY(0);
}

.hex-item:nth-child(even) {
    transform: translateY(50%);
}

.hex-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* Centers image focus within hexagon */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 0 10px #00f7ff);
    transition: var(--transition-base);
}

.hex-item img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px #00f7ff) drop-shadow(0 0 40px rgba(0, 255, 255, 0.5));
    z-index: 10;
}

/* Responsive: Adjust for smaller screens */
@media (max-width: 1024px) {
    .hex-item {
        flex: 0 0 24%;
    }

    .hex-item:not(:first-child) {
        margin-left: -6%;
    }
}

@media (max-width: 768px) {
    .hex-item {
        flex: 0 0 28%;
    }

    .hex-item:not(:first-child) {
        margin-left: -7%;
    }

    .hex-item:nth-child(even) {
        transform: translateY(45%);
    }
}

@media (max-width: 480px) {
    .honeycomb-grid {
        padding-bottom: 4rem;
    }

    .hex-item {
        flex: 0 0 32%;
    }

    .hex-item:not(:first-child) {
        margin-left: -10%;
    }

    .hex-item:nth-child(even) {
        transform: translateY(40%);
    }
}

/* =====================================================
           LOCATION SECTION - LIQUID GLASS REDESIGN
           ===================================================== */
.location-section {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.location-section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--accent-cyan-bright);
    text-shadow: 0 0 15px var(--accent-cyan-glow);
}

/* Liquid Glass Container */
.location-glass-container {
    display: flex;
    align-items: stretch;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 247, 255, 0.1);
    padding: 3rem;
}

/* Left Column - Info Panels */
.location-info-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-info-column .info-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.location-info-column .info-panel::before {
    content: '◆';
    color: var(--accent-cyan);
    font-size: 0.8rem;
    text-shadow: 0 0 8px var(--accent-cyan-glow);
}

.location-info-column .info-panel:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--glass-border-hover);
    transform: translateX(5px);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.info-panel .info-label {
    flex: 1;
    color: var(--accent-cyan-bright);
    font-weight: 500;
}

.info-panel .info-value {
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--accent-cyan-glow);
    padding: 0.3rem 0.8rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-sm);
}

/* Full-width panel (no value) */
.info-panel.info-full {
    justify-content: flex-start;
}

/* Right Column - Map Image */
.location-map-column {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-map-column img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.2);
    border: 1px solid rgba(0, 247, 255, 0.15);
    transition: var(--transition-base);
}

.location-map-column img:hover {
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.3);
    transform: scale(1.02);
}

/* Responsive: Stack on mobile */
@media (max-width: 900px) {
    .location-glass-container {
        flex-direction: column;
        padding: 2rem;
    }

    .location-map-column {
        order: -1;
        /* Map first on mobile */
    }
}

.location-features li.location-full .location-label {
    color: var(--text-secondary);
    font-weight: 400;
}

/* =====================================================
           CONTACT SECTION - LIQUID GLASS DESIGN
           ===================================================== */
.contact-section {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--accent-cyan-bright);
    text-shadow: 0 0 15px var(--accent-cyan-glow);
}

/* Liquid Glass Container */
.contact-glass-container {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 247, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
}

/* Left Column - Map */
.contact-map-wrapper {
    flex: 1;
    min-height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.1);
    border: 1px solid rgba(0, 247, 255, 0.1);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

/* Right Column - Info Cards */
.contact-info-wrapper {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

/* Individual Contact Card */
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 247, 255, 0.1);
    transition: var(--transition-base);
}

.contact-card:hover {
    background: rgba(0, 255, 255, 0.08);
    border-color: #00f7ff;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
    transform: translateX(5px);
}

.contact-card-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

.contact-card-content {
    display: flex;
    flex-direction: column;
}

.contact-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.contact-card-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-card-value a {
    color: var(--accent-cyan-bright);
    transition: var(--transition-base);
}

.contact-card-value a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Responsive: Stack on mobile */
@media (max-width: 900px) {
    .contact-glass-container {
        flex-direction: column;
    }

    .contact-map-wrapper {
        min-height: 300px;
    }
}

.contact-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ==========================================
   MOBILE LAYOUT FIXES FOR ANNOUNCEMENTS & EVENTS
   ========================================== */
@media (max-width: 900px) {

    .announcements-wrapper,
    .events-wrapper {
        flex-direction: column;
    }

    /* Make sidebar appear FIRST on mobile */
    .announcement-sidebar {
        order: -1;
        width: 100%;
        position: static !important;
        /* Disable sticky on mobile */
        margin-bottom: 2rem;
    }

    .announcement-list,
    .event-list {
        width: 100%;
    }

    /* Ensure containers take full width */
    .announcement-sidebar>div {
        width: 100%;
    }
}

/* =====================================================
           SECTION MORE BUTTON (Clone of Hero CTA)
           ===================================================== */
.section-more-btn {
    display: inline-block;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 247, 255, 0.4);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    /* EXPLICIT TRANSITION */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.section-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 247, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.section-more-btn:hover {
    background: rgba(0, 247, 255, 0.1);
    border-color: #00f7ff;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.6), 0 0 40px rgba(0, 247, 255, 0.3);
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

.section-more-btn:hover::before {
    width: 400px;
    height: 400px;
}

.section-more-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
}

/* =====================================================
           FOOTER
           ===================================================== */
/* =====================================================
           GLOBAL FOOTER (NEXUS BASE)
           ===================================================== */
#main-footer {
    position: relative;
    background-color: #02050a;
    border-top: 1px solid rgba(0, 247, 255, 0.5);
    box-shadow: 0 -5px 15px rgba(0, 247, 255, 0.1);
    padding: 60px 0 0 0;
    z-index: 99;
    font-size: 0.95rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

/* Footer Col 1: Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand img {
    height: 70px !important;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.3));
}

.footer-brand h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    letter-spacing: 2px;
}

.footer-brand p {
    color: #a0aec0;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

/* Footer Headings */
.footer-col h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

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

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
    text-shadow: 0 0 5px rgba(0, 247, 255, 0.4);
}

/* Newsletter Section */
.footer-newsletter p {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 2px 10px rgba(0, 247, 255, 0.1);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
    background: transparent;
    border: 1px solid rgba(0, 247, 255, 0.3);
    color: var(--accent-cyan);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--accent-cyan);
    border-color: transparent;
    transform: translateY(-3px);
}

/* Copyright Bar */
.footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    gap: 0.5rem;
    background: #010205;
}

.footer-copyright p {
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 1.5rem auto;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .newsletter-form {
        max-width: 300px;
        margin: 0 auto 1.5rem auto;
    }

    .social-icons {
        justify-content: center;
    }
}

/* =====================================================
           RESPONSIVE ADJUSTMENTS
           ===================================================== */
@media (max-width: 768px) {
    #main-header {
        flex-direction: row;
        flex-wrap: wrap;
        padding: var(--space-sm) var(--space-md);
        min-height: 60px;
    }

    .nav-brand img {
        height: 40px;
        max-height: 45px;
    }

    /* Show Hamburger on Mobile */
    .hamburger {
        display: flex;
    }

    /* Mobile Navigation Menu */
    #main-navigation {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(10, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--glass-border);
        transition: left 0.4s ease;
        z-index: 999;
    }

    #main-navigation.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: var(--space-2xl);
        gap: 0;
        height: 100%;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-menu a {
        display: block;
        padding: var(--space-lg) var(--space-xl);
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .nav-menu a:hover {
        background: rgba(0, 255, 255, 0.1);
    }

    .hero-section {
        padding: var(--space-2xl) var(--space-md);
    }

    /* Mobile Dropdown Styling */
    .nav-item-dropdown .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        min-width: unset;
        text-align: center;
        display: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
        border: none;
        border-top: 1px solid var(--glass-border);
        padding: 0;
        margin-top: 0.5rem;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-item-dropdown.active>a {
        color: var(--accent-cyan);
    }

    .nav-item-dropdown.active>a::after {
        transform: rotate(180deg);
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .main-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .sub-title {
        font-size: clamp(1rem, 4vw, 1.5rem);
        letter-spacing: 0.2em;
    }
}

/* =====================================================
           CUSTOM SCROLLBAR
           ===================================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Selection styling */
::selection {
    background: var(--accent-cyan-dim);
    color: var(--bg-primary);
}

/* Keyframes for animations */
@keyframes ripple-effect {
    to {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

@keyframes stat-pulse {
    0% {
        text-shadow: 0 0 20px var(--accent-cyan-glow);
    }

    50% {
        text-shadow: 0 0 40px var(--accent-cyan-dim), 0 0 60px var(--accent-cyan-glow);
    }

    100% {
        text-shadow: 0 0 20px var(--accent-cyan-glow);
    }
}

/* =====================================================
           KURUMSAL PAGE STYLES
           ===================================================== */

/* Mini-Hero */
.mini-hero {
    position: relative;
    height: 30vh;
    min-height: 250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Background fallback */
    background: radial-gradient(circle at center, #1e2738 0%, #111827 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--accent-cyan-dim);
    margin-top: 80px;
}

.mini-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
    /* Slight dim to ensure text readability without extra overlay if preferred, or keep full and use overlay */
}

/* Ensure overlay sits on top of video but below text */
.mini-hero .hero-overlay {
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(10, 14, 23, 0.3),
            rgba(10, 14, 23, 0.7));
}

.mini-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 1;
}

.mini-hero h1 {
    position: relative;
    z-index: 10;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #00f7ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
}

/* Corporate Vertical Tabs Layout */
.corporate-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    min-height: 60vh;
    gap: var(--space-xl);
    position: relative;
    z-index: 10;
}

/* Sidebar Column (25%) */
.sidebar {
    flex: 0 0 25%;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    height: fit-content;
}

.sidebar-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    text-align: left;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-btn:hover {
    background: rgba(0, 255, 255, 0.05);
    color: var(--accent-cyan);
    border-color: rgba(0, 255, 255, 0.2);
    padding-left: 2rem;
}

.sidebar-btn.active {
    background: rgba(0, 255, 255, 0.1);
    color: #00f7ff;
    border-left: 4px solid #00f7ff;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.2);
    text-shadow: 0 0 8px rgba(0, 247, 255, 0.6);
    padding-left: 2rem;
}

/* Content Column (75%) */
.corporate-content {
    flex: 1;
    position: relative;
}

.content-panel {
    display: none;
    /* Hidden by default */
    background: rgba(15, 25, 45, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    min-height: 100%;
    animation: fadeInPanel 0.5s ease-out forwards;
}

.content-panel.active {
    display: block;
    /* Show if active */
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-panel h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-cyan);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.4);
}

.content-panel p {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-panel ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.content-panel li {
    margin-bottom: 0.5rem;
}

/* Responsive for Corporate Page */
@media (max-width: 900px) {
    .corporate-container {
        flex-direction: column;
    }

    .sidebar {
        flex: none;
        width: 100%;
    }

    .sidebar-menu {
        flex-direction: row;
        overflow-x: auto;
        padding: 1rem;
        gap: 0.5rem;
    }

    .sidebar-btn {
        white-space: nowrap;
        padding: 0.8rem 1.2rem;
        flex: 0 0 auto;
    }

    .sidebar-btn:hover,
    .sidebar-btn.active {
        padding-left: 1.2rem;
        /* Reset padding shift on mobile */
    }

    .sidebar-btn.active {
        border-left: 1px solid transparent;
        border-bottom: 4px solid #00f7ff;
    }
}

/* =====================================================
           TYPEWRITER EFFECT UTILITIES
           ===================================================== */
.typing-cursor::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    color: #00f7ff;
    /* Neon Cyan */
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Content Fade Animation */
.content-panel p,
.content-panel ul {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-panel.content-visible p,
.content-panel.content-visible ul {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   NEON DONUT CHART (CSS ONLY)
   ===================================================== */
.neon-donut-chart {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    /* 
       Segments:
       AI (Cyan): 0-30%  (#00ffff)
       Defense (Green): 30-55% (#00ff88)
       Space (Blue): 55-75% (#0077ff)
       Bio (Purple): 75-90% (#bc13fe)
       Energy (Yellow): 90-100% (#f9ff00)
    */
    background: conic-gradient(#00ffff 0% 30%,
            #00ff88 30% 55%,
            #0077ff 55% 75%,
            #bc13fe 75% 90%,
            #f9ff00 90% 100%);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.neon-donut-chart::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* The Hole */
.neon-donut-chart .hole {
    width: 200px;
    height: 200px;
    background: #111827;
    /* Matches body background */
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.neon-donut-chart .center-text {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 0 10px #00ffff;
}

/* Legend Colors */
.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #cbd5e0;
    font-size: 0.95rem;
}

.legend-item .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 8px currentColor;
}

.dot.color-ai {
    background-color: #00ffff;
    box-shadow: 0 0 8px #00ffff;
}

.dot.color-defense {
    background-color: #00ff88;
    box-shadow: 0 0 8px #00ff88;
}

.dot.color-space {
    background-color: #0077ff;
    box-shadow: 0 0 8px #0077ff;
}

.dot.color-bio {
    background-color: #bc13fe;
    box-shadow: 0 0 8px #bc13fe;
}

.dot.color-energy {
    background-color: #f9ff00;
    box-shadow: 0 0 8px #f9ff00;
}

/* =====================================================
   WIDE INFO PANELS (CLUSTERS)
   ===================================================== */
.clusters-section {
    padding: 2rem;
    background: linear-gradient(180deg, #111827 0%, #151d2e 100%);
}

.clusters-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-panel {
    display: flex;
    flex-direction: row;
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    /* Optional: subtle backdrop filter */
    backdrop-filter: blur(5px);
}

.info-panel:hover {
    border-color: #00f7ff;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.15);
}

/* LEFT SIDE: IMAGE (40%) */
.panel-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--glass-border);
}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.info-panel:hover .panel-image img {
    transform: scale(1.05);
}

/* RIGHT SIDE: CONTENT (60%) */
.panel-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: #00f7ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-content p {
    color: #cbd5e0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* TECH TAGS */
.panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 50px;
    color: #00f7ff;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-panel:hover .tech-tag {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00f7ff;
    box-shadow: 0 0 5px rgba(0, 247, 255, 0.3);
}

/* RESPONSIVE FOR PANELS */
@media (max-width: 900px) {
    .info-panel {
        flex-direction: column;
    }

    .panel-image {
        flex: none;
        width: 100%;
        height: 250px;
        /* Fixed height for mobile image */
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .panel-content {
        padding: 2rem 1.5rem;
    }
}

/* =====================================================
   DASHBOARD HERO (TEKNOLOJI KUMELERI)
   ===================================================== */
.dashboard-hero {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 2rem;
}

.hero-text-side {
    text-align: left;
    max-width: 600px;
}

.hero-text-side h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.hero-text-side p {
    text-align: left;
    font-size: 1.25rem;
}

.hero-chart-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobile Responsive for Dashboard Hero */
@media (max-width: 900px) {
    .dashboard-hero {
        flex-direction: column;
        gap: 2rem;
        height: auto;
        padding: 4rem 1rem;
    }

    .hero-text-side {
        text-align: center;
    }

    .hero-text-side h1,
    .hero-text-side p {
        text-align: center;
    }
}

/* =====================================================
   FIRMA REHBERI & FILTERS
   ===================================================== */
.filter-section {
    padding: 2rem;
    background: transparent;
    /* Removed dark background */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 247, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #00f7ff;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.2);
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #00f7ff;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e0;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0, 247, 255, 0.1);
    border-color: #00f7ff;
    color: #00f7ff;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.2);
}

/* COMPANY GRID */
.directory-section {
    padding: 2rem;
    background: transparent;
    /* Removed dark background */
    min-height: 500px;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
}

.company-card {
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.company-card:hover {
    transform: translateY(-5px);
    border-color: #00f7ff;
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.1);
}

.company-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.company-icon i {
    font-size: 2.5rem;
    color: #00f7ff;
}

.company-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.company-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.company-card p {
    color: #a0aec0;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* =====================================================
   9-GRID SECTOR LAYOUT
   ===================================================== */
.sectors-grid-section {
    padding: 4rem 2rem;
    background: transparent;
    /* Removed dark background */
    min-height: 100vh;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .sector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sector-grid {
        grid-template-columns: 1fr;
    }
}

/* GLASSMORPHISM CARD (Rounded) */
/* GLASSMORPHISM CARD (Rounded) */
.sector-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 40px;
    /* Softer 40px */
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
    border-color: #00f7ff;
}

.sector-card .card-img {
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px 20px 0 0;
    /* Match top corners */
}

/* ... existing styles ... */

/* =====================================================
   HERO VIDEO BACKGROUND & OVERLAY - GLOBAL
   ===================================================== */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(10, 14, 23, 0.4) 0%,
            rgba(10, 14, 23, 0.7) 50%,
            rgba(10, 14, 23, 0.9) 100%);
    pointer-events: none;
}

/* CLEAN HERO (MATCHING REFERENCE IMAGE) */
.clean-hero {
    position: relative;
    padding: 220px 0 180px 0;
    /* Shifted down slightly */
    background: transparent;
    text-align: center;
    border-bottom: 1px solid rgba(0, 247, 255, 0.1);
    overflow: hidden;
    /* Video Background Positioning handled by .hero-video-bg global class, 
       but we ensure no conflict here */
}

/* Add a subtle vignette or fade at the edges if needed, but reference looks clean */

.clean-hero h1 {
    position: relative;
    z-index: 2;
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(90deg, #00f7ff, #00ff88);
    /* Cyan to Green Gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0px;
    letter-spacing: 2px;
    line-height: 1.2;
    /* Increased to prevent clipping of 'İ' */
    padding-top: 0.1em;
    text-transform: uppercase;
    text-shadow:
        0 0 10px rgba(0, 247, 255, 0.5),
        0 0 20px rgba(0, 247, 255, 0.3),
        0 0 40px rgba(0, 247, 255, 0.2);
    min-height: 1.2em;
    /* Prevents layout shift during typing */
}

.clean-hero p {
    position: relative;
    z-index: 2;
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #cbd5e0;
    font-weight: 400;
    margin-top: 5px;
    /* Tiny visual separation */
    line-height: 1;
    opacity: 0;
}


.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
    border-color: #00f7ff;
}

.sector-card .card-img {
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sector-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sector-card:hover .card-img img {
    transform: scale(1.1);
}

.sector-card .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.sector-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #00f7ff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(0, 247, 255, 0.5);
}

.sector-card p {
    font-size: 0.9rem;
    color: #cbd5e0;
}

/* =====================================================
   FLIP & EXPAND MODAL
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* MODAL - SMOOTH TRANSITION */
.modal-content.glass-modal {
    width: 80%;
    height: 70%;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #00f7ff;
    box-shadow: 0 0 50px rgba(0, 247, 255, 0.2);
    border-radius: 25px;
    display: flex;
    position: relative;
    overflow: hidden;

    /* INITIAL STATE FOR ANIMATION */
    transform: perspective(1500px) rotateY(90deg) scale(0.5);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ACTIVE STATE FOR ANIMATION */
.modal-content.glass-modal.is-open {
    transform: perspective(1500px) rotateY(0deg) scale(1);
    opacity: 1;
}

/* MODAL INTERNAL STRUCTURE */
.modal-body {
    display: flex;
    width: 100%;
    height: 100%;
}

.modal-image {
    flex: 0 0 40%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(0, 247, 255, 0.2);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
    border: 1px solid rgba(0, 247, 255, 0.5);
}

.modal-text {
    flex: 1;
    padding: 3rem;
    overflow-y: auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: #00f7ff;
    margin-bottom: 0.5rem;
}

.modal-text h4 {
    font-size: 1.2rem;
    color: #a0aec0;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.modal-divider {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, #00f7ff, transparent);
    margin-bottom: 1.5rem;
}

.modal-text p {
    line-height: 1.8;
    color: #cbd5e0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 247, 255, 0.1);
    color: #00f7ff;
    border: 1px solid #00f7ff;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.modal-close-btn:hover {
    color: #00f7ff;
}

/* RESPONSIVE MODAL */
@media (max-width: 900px) {
    .modal-content.glass-modal {
        flex-direction: column;
        width: 90%;
        height: 85%;
        overflow-y: auto;
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-image {
        flex: none;
        height: 250px;
        padding: 1rem;
        border-right: none;
        border-bottom: 1px solid rgba(0, 247, 255, 0.2);
    }

    .modal-text {
        padding: 1.5rem;
    }

    .modal-text h2 {
        font-size: 1.5rem;
    }
}

/* Animations replaced by transitions on .modal-content */
/* Animations replaced by transitions on .modal-content */

/* =====================================================
           ECOSYSTEM TABS (ekosistem.html)
           ===================================================== */
.ecosystem-tabs-section {
    position: relative;
    padding: 30px 0 50px 0;
    /* Add top padding instead of negative margin */
    z-index: 10;
    text-align: center;
}

.ecosystem-tab-nav {
    display: inline-flex;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tab-btn {
    background: transparent;
    border: none;
    color: #a0aec0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 40px;
    margin: 0;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: #00f7ff;
    color: #0b1221;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
}

/* Tab Content Animation */
.tab-content {
    animation: fadeIn 0.5s ease forwards;
    min-height: 600px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Tabs */
@media (max-width: 768px) {
    .ecosystem-tab-nav {
        flex-direction: column;
        border-radius: 20px;
        width: 90%;
    }

    .tab-btn {
        width: 100%;
        border-radius: 15px;
        padding: 12px;
    }
}

/* =====================================================
   GLASS DIRECTORY WRAPPER & PAGINATION
   ===================================================== */
.glass-directory-wrapper {
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(0, 247, 255, 0.3);
    border-radius: 80px;
    padding: 60px;
    margin: 0 auto 50px auto;
    max-width: 1400px;
    /* Aligned with grid */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .glass-directory-wrapper {
        padding: 15px;
        margin: 0 10px 50px 10px;
    }
}

/* PAGINATION STYLES */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 15px;
}

.page-numbers {
    display: flex;
    gap: 10px;
}

.page-btn {
    background: transparent;
    border: 1px solid rgba(0, 247, 255, 0.3);
    color: #00f7ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
}

.page-btn:hover:not(:disabled) {
    background: rgba(0, 247, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}

.page-btn.active {
    background: #00f7ff;
    color: #0b1221;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
    font-weight: bold;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
    color: #a0aec0;
}

/* =====================================================
   SEARCH TOOLBAR CONTAINER
   ===================================================== */
.search-toolbar-container {
    width: 100%;
    /* Aligned with company-grid */
    margin: 0 auto;
    background: rgba(10, 14, 23, 0.4);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 40px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
}

/* Adjust .filter-section padding since we have the new container */
.filter-section {
    padding: 0;
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Ensure buttons are fully rounded */
.filter-btn {
    border-radius: 50px;
    /* Pill shaped */
}

/* =====================================================
   SECTORAL DISTRIBUTION DASHBOARD
   ===================================================== */
.stats-dashboard-container {
    width: 100%;
    margin: 0 auto 20px auto;
    background: rgba(10, 14, 23, 0.4);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 40px;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    /* Center pie chart */
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    /* Equal width */
    min-width: 180px;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    /* Separator */
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 1.8rem;
    color: #00f7ff;
    padding: 10px;
    background: rgba(0, 247, 255, 0.05);
    border-radius: 12px;
}

.stat-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-label {
    font-size: 0.75rem;
    color: #cbd5e0;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
    line-height: 1.2;
}

.stat-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 6px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.stat-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00f7ff, #0088cc);
    border-radius: 10px;
    width: 0%;
    /* JS or inline style will set this */
    animation: statFill 1.5s ease-out forwards;
}

@keyframes statFill {
    from {
        width: 0%;
    }
}

@media (max-width: 992px) {
    .stats-dashboard-container {
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 45%;
        border-right: none;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .stat-item {
        flex: 0 0 100%;
    }
}

/* =====================================================
   SECTORAL DISTRIBUTION - PIE CHART
   ===================================================== */
.pie-chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 10px;
}

.chart-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}

.chart-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}

.chart-total-label {
    font-size: 0.8rem;
    color: #cbd5e0;
    display: block;
}

.chart-total-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #00f7ff;
    display: block;
    line-height: 1;
}

.chart-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    min-width: 400px;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.legend-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.legend-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 5px currentColor;
}

.legend-label {
    font-size: 0.9rem;
    color: #e0e0e0;
}

.legend-value {
    font-weight: bold;
    color: #fff;
}

/* =====================================================
   ANNOUNCEMENT ANIMATIONS
   ===================================================== */
@keyframes scaleIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content.scale-in {
    animation: scaleIn 0.3s ease-out forwards;
}

/* =====================================================
   ANNOUNCEMENT MODAL FIXES
   ===================================================== */
#announcementModal.active {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
}

#announcementModal {
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Ensure consistent border radius */
.announcement-item,
.filter-card,
.modal-content.announcement-modal-content {
    border-radius: 40px !important;
}

/* =====================================================
   FLEXIBLE ANNOUNCEMENT MODAL  
   ===================================================== */
.announcement-modal-content {
    padding: 0 !important;
    /* Remove default padding to let image flush */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    /* Allow scrolling within modal if tall */
}

/* Optional Cover Image Wrapper */
.modal-cover-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    background: #000;
    flex-shrink: 0;
    display: none;
    /* Hidden by default, JS toggles it */
}

.modal-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Date Badge Logic (Adaptive) */
.modal-date-badge-adaptive {
    display: inline-block;
    background: rgba(0, 247, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 247, 255, 0.3);
    border-radius: 12px;
    padding: 10px 15px;
    text-align: center;
    margin-bottom: 1.5rem;
    /* Default space below for text-mode */
}

/* When Inside Cover Image */
.modal-cover-wrapper .modal-date-badge-adaptive {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(10, 14, 23, 0.85);
    /* Darker bg for contrast */
    margin-bottom: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Scrollable Content Area */
.modal-scroll-body {
    padding: 2.5rem;
    overflow-y: auto;
    color: #cbd5e0;
}

.modal-scroll-body::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll-body::-webkit-scrollbar-thumb {
    background: rgba(0, 247, 255, 0.3);
    border-radius: 3px;
}

.modal-ann-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, #00f7ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close-btn {
    z-index: 20;
    /* Ensure above image */
}

/* =====================================================
   CONTACT PAGE STYLES (iletisim.html)
   ===================================================== */
.contact-hero {
    min-height: 50vh;
    /* Shorter than main hero */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    /* Particles overlay handled by body */
    padding-top: 100px;
}

.contact-cards-section {
    margin-top: -50px;
    /* Overlap hero */
}

/* Glass Card Reuse/Optimization */
.contact-card {
    background: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
    border-color: #00f7ff;
}

.contact-icon {
    font-size: 2rem;
    color: #00f7ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 247, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.contact-info h4 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-info p,
.contact-info a {
    color: #cbd5e0;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #00f7ff;
}

.social-links-contact {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links-contact a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links-contact a:hover {
    color: #00f7ff;
    transform: scale(1.2);
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: rgba(13, 25, 48, 0.6);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.form-glow-border {
    position: relative;
    border: 1px solid rgba(0, 247, 255, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    outline: none;
}

.contact-form-input::placeholder {
    color: #a0aec0;
}

.contact-form-input:focus {
    border-bottom-color: #00f7ff;
    box-shadow: 0 10px 10px -10px rgba(0, 247, 255, 0.2);
}

/* Select styling fix */
select.contact-form-input option {
    background: #0b1221;
    color: #fff;
}

.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 247, 255, 0.1);
    color: #00f7ff;
    border: 1px solid #00f7ff;
    transition: all 0.3s ease;
    border-radius: 5px;
    /* Slight radius matching design */
    text-transform: uppercase;
}

.contact-submit-btn:hover {
    background: #00f7ff;
    color: #000;
    box-shadow: 0 0 20px #00f7ff;
}

/* Map Frame Neon */
.neon-border {
    border: 1px solid rgba(0, 247, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.2);
    transition: all 0.3s ease;
}

.neon-border:hover {
    box-shadow: 0 0 25px rgba(0, 247, 255, 0.4);
    border-color: #00f7ff;
}

/* Transport Banner */
.transport-banner {
    backdrop-filter: blur(10px);
}

.transport-item i {
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

/* Responsive Contact Page */
@media (max-width: 900px) {
    .split-container {
        flex-direction: column;
    }

    .map-wrapper {
        order: -1;
        height: 300px !important;
    }

    .contact-cards-container {
        grid-template-columns: 1fr 1fr;
        /* 2 cols on tablet */
    }
}

@media (max-width: 600px) {
    .contact-cards-container {
        grid-template-columns: 1fr;
        /* 1 col on mobile */
    }

    .contact-hero {
        min-height: 40vh;
    }
}

/* =====================================================
   PORTAL & LOGIN PAGE STYLES (NEW)
   ===================================================== */
/* NAVBAR CTA BUTTON */
.nav-btn-item {
    padding: 0 !important;
    margin-left: 20px;
}

.nav-cta-btn {
    display: inline-block;
    padding: 8px 20px !important;
    border: 2px solid #00f7ff;
    border-radius: 20px;
    color: #00f7ff !important;
    font-weight: 700 !important;
    text-shadow: 0 0 5px rgba(0, 247, 255, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.1);
}

.nav-cta-btn::before {
    display: none !important;
}

.nav-cta-btn:hover {
    background: #00f7ff;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.6);
    transform: translateY(-2px);
}

/* PORTAL PAGE CONTAINER */
.portal-container {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: calc(100vh - 400px);
    /* Account for footer */
    display: flex;
    justify-content: center;
    align-items: center;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* PORTAL CARDS (Base Glassmorphism) */
.portal-card {
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 30px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Left Card: Login (Cyan Theme) */
.portal-login {
    border-color: rgba(0, 247, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.05);
}

.portal-login:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.2);
}

/* Right Card: Application (Purple Theme) */
.portal-apply {
    border-color: rgba(177, 108, 255, 0.3);
    box-shadow: 0 0 20px rgba(177, 108, 255, 0.05);
}

.portal-apply:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(177, 108, 255, 0.2);
}

/* Card Headers */
.portal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.portal-login .portal-icon {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.4);
}

.portal-apply .portal-icon {
    color: var(--accent-purple);
    text-shadow: 0 0 20px rgba(177, 108, 255, 0.4);
}

.portal-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.portal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

/* LOGIN FORM */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-input-group {
    position: relative;
}

.login-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.login-input:focus {
    border-bottom-color: var(--accent-cyan);
    box-shadow: 0 4px 4px -4px var(--accent-cyan);
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.login-btn {
    margin-top: 1rem;
    background: linear-gradient(90deg, #00f7ff, #00c3ff);
    color: #000;
    font-weight: 800;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.login-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0, 247, 255, 0.5);
    filter: brightness(1.1);
}

.login-forgot {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-top: -10px;
}

.login-forgot:hover {
    color: var(--accent-cyan);
}

/* APPLICATION BUTTONS */
.apply-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.apply-btn {
    background: transparent;
    border: 1px solid rgba(177, 108, 255, 0.4);
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.apply-btn:hover {
    border-color: var(--accent-purple);
    background: rgba(177, 108, 255, 0.1);
    box-shadow: 0 0 20px rgba(177, 108, 255, 0.2);
    transform: translateX(5px);
}

/* Responsive Portal */
@media (max-width: 900px) {
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =====================================================
   CONTACT PAGE STYLES (from iletisim.html)
   ===================================================== */
.contact-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    border-radius: 30px;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    border-color: var(--accent-cyan);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.contact-form-input {
    width: 100%;
    background: rgba(10, 14, 23, 0.4);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: #fff;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    outline: none;
}

.contact-form-input:focus {
    border-color: var(--accent-cyan);
    background: rgba(10, 14, 23, 0.6);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.1);
}

.contact-submit-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 247, 255, 0.3);
    padding: 1.2rem;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
}

.contact-submit-btn:hover {
    background: rgba(0, 247, 255, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(0, 247, 255, 0.6);
}

.map-frame {
    border: 1px solid rgba(0, 247, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.1);
    transition: all 0.5s ease;
}

.map-frame:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.2);
}

.transport-item {
    padding: 1.5rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.transport-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan-dim);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .map-wrapper {
        height: 350px !important;
    }
}

/* =====================================================
   BAŞKANDAN MESAJ - PRESIDENT MESSAGE SECTION
   ===================================================== */
.baskan-mesaj-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.baskan-photo {
    flex-shrink: 0;
    text-align: center;
}

.baskan-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.3);
    margin-bottom: 1rem;
}

.baskan-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.baskan-info strong {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
}

.baskan-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    max-width: 200px;
    line-height: 1.4;
}

.baskan-mesaj-content {
    flex: 1;
}

.baskan-mesaj-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    text-align: justify;
}

.baskan-imza {
    margin-top: 2rem;
    text-align: right;
    font-style: italic;
}

.baskan-imza strong {
    color: var(--accent-cyan);
    font-style: normal;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .baskan-mesaj-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .baskan-photo img {
        width: 150px;
        height: 150px;
    }

    .baskan-mesaj-content p {
        text-align: left;
    }
}