/* ============================================
   PKSTI Kabupaten Bandung - Dark Theme
   Inspired by Prism-On Tokyo
   Dark Mode | Neon Green | Futuristic
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --primary: #00FF88;
    --primary-dim: #00cc6a;
    --primary-dark: #00994f;
    --primary-glow: rgba(0,255,136,0.15);
    --primary-glow-strong: rgba(0,255,136,0.3);
    --accent: #00FF88;
    --accent-light: #66FFAA;

    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --bg-card-hover: #1a1a1a;
    --bg-section: #0a0a0a;
    --bg-glass: rgba(255,255,255,0.03);
    --bg-glass-border: rgba(255,255,255,0.06);

    --text-white: #ffffff;
    --text-body: rgba(255,255,255,0.7);
    --text-muted: rgba(255,255,255,0.4);
    --text-dim: rgba(255,255,255,0.2);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(0,255,136,0.3);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 30px rgba(0,255,136,0.15);
    --shadow-glow-strong: 0 0 50px rgba(0,255,136,0.25);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font-heading: 'Barlow Condensed', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Prism colors */
    --prism-orange: #FF8C42;
    --prism-yellow: #FFE066;
    --prism-green: #00FF88;
    --prism-cyan: #00D4FF;
    --prism-pink: #FF66B2;
    --prism-purple: #B388FF;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.7;
    background: var(--bg-dark);
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5,5,5,0.9);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar.scrolled .navbar-brand {
    color: #fff;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #000;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(0,255,136,0.3);
    transition: var(--transition);
}

.navbar-brand:hover .brand-icon {
    box-shadow: 0 0 30px rgba(0,255,136,0.5);
    transform: scale(1.05);
}

.navbar.scrolled .navbar-brand .brand-icon {
    background: var(--primary);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-nav a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.navbar.scrolled .navbar-nav a {
    color: rgba(255,255,255,0.6);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary);
}

.navbar.scrolled .navbar-nav a:hover,
.navbar.scrolled .navbar-nav a.active {
    color: var(--primary);
    background: rgba(0,255,136,0.08);
}

/* Portal Aplikasi Button */
.navbar-nav .nav-portal {
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.3);
    color: var(--primary) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-portal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,255,136,0.15), rgba(0,212,255,0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.navbar-nav .nav-portal:hover {
    background: var(--primary) !important;
    color: #000 !important;
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0,255,136,0.4), 0 0 60px rgba(0,255,136,0.15);
    transform: translateY(-2px);
}

.navbar-nav .nav-portal:hover::before {
    opacity: 1;
}

.navbar-nav .nav-portal .portal-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-portal:hover .portal-icon {
    transform: rotate(15deg) scale(1.15);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-toggle span {
    background: #fff;
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Neon glow orbs */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,255,136,0.08) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
    animation: heroGlow 10s ease-in-out infinite alternate-reverse;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { opacity: 0.5; transform: translate(0, 0) scale(1); }
    100% { opacity: 1; transform: translate(30px, -20px) scale(1.1); }
}

/* Floating geometric shapes */
.hero-shapes {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    border: 1px solid rgba(0,255,136,0.06);
    border-radius: 50%;
    animation: float 20s linear infinite;
}

.hero-shapes .shape:nth-child(1) { width: 300px; height: 300px; top: 10%; right: 5%; animation-duration: 25s; }
.hero-shapes .shape:nth-child(2) { width: 200px; height: 200px; bottom: 20%; left: 10%; animation-duration: 20s; animation-delay: -5s; }
.hero-shapes .shape:nth-child(3) { width: 150px; height: 150px; top: 40%; right: 30%; animation-duration: 18s; animation-delay: -8s; border-radius: 30%; }
.hero-shapes .shape:nth-child(4) { width: 100px; height: 100px; bottom: 30%; right: 15%; animation-duration: 22s; animation-delay: -3s; }

@keyframes float {
    0% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(90deg) translateY(-20px); }
    50% { transform: rotate(180deg) translateY(0); }
    75% { transform: rotate(270deg) translateY(20px); }
    100% { transform: rotate(360deg) translateY(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,255,136,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,255,136,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
    font-size: 64px;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 40px rgba(0,255,136,0.4);
}

.hero p {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: #000;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 30px rgba(0,255,136,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0,255,136,0.5);
    background: #33FF99;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ---------- Prism Bars (Hero decoration) ---------- */
.prism-bars {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%) perspective(800px) rotateY(-15deg);
    display: flex;
    gap: 8px;
    z-index: 1;
    opacity: 0.7;
    animation: fadeInUp 1.2s ease 0.5s both;
}

.prism-bar {
    width: 40px;
    height: 200px;
    border-radius: 6px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: barFloat 4s ease-in-out infinite;
}

.prism-bar:nth-child(1) { background: var(--prism-orange); height: 180px; animation-delay: 0s; }
.prism-bar:nth-child(2) { background: var(--prism-yellow); height: 200px; animation-delay: 0.2s; }
.prism-bar:nth-child(3) { background: var(--prism-green);  height: 220px; animation-delay: 0.4s; }
.prism-bar:nth-child(4) { background: var(--prism-cyan);   height: 200px; animation-delay: 0.6s; }
.prism-bar:nth-child(5) { background: var(--prism-pink);   height: 180px; animation-delay: 0.8s; }
.prism-bar:nth-child(6) { background: var(--prism-purple); height: 160px; animation-delay: 1s; }

.prism-bar:hover {
    height: 260px !important;
    box-shadow: 0 0 30px currentColor;
}

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

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: transparent;
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.stat-item {
    padding: 36px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}

.stat-item:hover {
    background: rgba(0,255,136,0.03);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    text-shadow: 0 0 30px rgba(0,255,136,0.3);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.section-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-card), #111);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.about-image-box .overlay-text {
    color: #fff;
    text-align: center;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.about-image-box .overlay-text h3 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    text-shadow: 0 0 40px rgba(0,255,136,0.4);
}

.about-image-box .overlay-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.about-image-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,255,136,0.05), transparent 70%);
}

.about-content h3 {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateX(4px);
    background: rgba(0,255,136,0.08);
    border-color: var(--border-hover);
    color: var(--primary);
}

.about-feature-item .icon {
    font-size: 18px;
    flex-shrink: 0;
}

/* ---------- Services / Tugas ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--prism-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(0,255,136,0.06);
    border: 1px solid rgba(0,255,136,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0,255,136,0.3);
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- Quote Section ---------- */
.quote-section {
    background: var(--bg-dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 200px;
    color: rgba(0,255,136,0.04);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.quote-slide {
    display: none;
    animation: fadeIn 0.8s ease;
}

.quote-slide.active {
    display: block;
}

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

.quote-text {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-author {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.quote-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 36px;
}

.quote-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.quote-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,255,136,0.4);
}

/* ---------- Team Grid ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.team-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-card), #111);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
    font-weight: 800;
    position: relative;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar .initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111, #1a1a1a);
    color: var(--primary);
    font-size: 36px;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0,255,136,0.3);
}

.team-info {
    padding: 24px;
}

.team-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.team-info .position {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.team-info .unit {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.team-info .unit::before {
    content: '📍';
    font-size: 12px;
}

/* ---------- Team Filter ---------- */
.team-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0,255,136,0.3);
}

/* ---------- Contact Section ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 16px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 15px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(0,255,136,0.06);
    border: 1px solid rgba(0,255,136,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 2px;
}

.contact-item-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-white);
    transition: var(--transition);
    outline: none;
    background: rgba(255,255,255,0.03);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,255,136,0.1);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0,255,136,0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0,255,136,0.4);
    background: #33FF99;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-dark);
    padding: 64px 0 24px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

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

.footer-brand h3 {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(0,255,136,0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0,255,136,0.2);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 1px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
    background: var(--bg-dark);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0,255,136,0.04) 0%, transparent 70%);
}

.page-header h1 {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.page-header p {
    font-size: 15px;
    color: var(--text-muted);
    position: relative;
    letter-spacing: 1px;
}

/* ---------- Alert Messages ---------- */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(0,255,136,0.08);
    color: var(--primary);
    border: 1px solid rgba(0,255,136,0.2);
}

.alert-error {
    background: rgba(255,68,68,0.08);
    color: #FF6B6B;
    border: 1px solid rgba(255,68,68,0.2);
}

.alert-info {
    background: rgba(0,212,255,0.08);
    color: var(--prism-cyan);
    border: 1px solid rgba(0,212,255,0.2);
}

/* ---------- Scroll Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---------- Animation Keyframes ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Gallery Grid (dark) ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card .gallery-info {
    padding: 20px;
}

.gallery-card .gallery-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.gallery-card .gallery-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 48px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .prism-bars { display: none; }
}

@media (max-width: 768px) {
    .navbar-toggle { display: flex; }
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5,5,5,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border);
    }
    .navbar-nav.open { display: flex; }
    .navbar-nav a {
        color: var(--text-body) !important;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }
    .navbar-nav a:hover,
    .navbar-nav a.active {
        background: rgba(0,255,136,0.06) !important;
        color: var(--primary) !important;
    }
    .navbar-nav .nav-portal {
        margin-left: 0;
        margin-top: 8px;
        justify-content: center;
        border-radius: var(--radius-sm);
    }
    .hero { min-height: auto; padding: 120px 0 80px; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 15px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a, .hero-buttons button { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
    .stat-number { font-size: 36px; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 32px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .quote-text { font-size: 24px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .page-header { padding: 120px 0 60px; }
    .page-header h1 { font-size: 36px; letter-spacing: 2px; }
    .form-row { grid-template-columns: 1fr; }
    .prism-bars { display: none; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 24px 16px; }
    .stat-number { font-size: 28px; }
    .team-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
}
