/* CSS Design System for Elite Systems & Controls */

/* --- Custom Customizations & Theme Tokens --- */
:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Light & Bright Theme Variables (Default) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent: #0ea5e9; /* Light Blue */
    --accent-hover: #0284c7;
    --accent-rgb: 14, 165, 233;
    
    --accent-secondary: #4f46e5;
    --accent-secondary-rgb: 79, 70, 229;
    
    --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --border-color: rgba(15, 23, 42, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(15, 23, 42, 0.05);
}

/* --- Base Layout --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M10,10 L30,10 L40,20 L40,50 L60,50 L70,60 L120,60 M0,90 L20,90 L30,80 L30,70 L50,70 L60,80 L90,80 M50,10 L50,30 L60,40 L90,40 M80,20 L80,10 L100,10 M10,110 L40,110 L50,100 M90,110 L110,110 L110,90' fill='none' stroke='%230ea5e9' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='10' r='1.8' fill='%230ea5e9'/%3E%3Ccircle cx='120' cy='60' r='1.8' fill='%230ea5e9'/%3E%3Ccircle cx='90' cy='40' r='1.8' fill='%230ea5e9'/%3E%3Ccircle cx='20' cy='90' r='1.8' fill='%230ea5e9'/%3E%3Ccircle cx='80' cy='20' r='1.8' fill='%230ea5e9'/%3E%3Ccircle cx='110' cy='90' r='1.8' fill='%230ea5e9'/%3E%3C/svg%3E");
    background-size: 320px 320px;
    opacity: 0.1; /* Set to 10% opacity */
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.section {
    padding: 50px 0;
    background-color: transparent !important;
}

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: background-color 0.4s ease, border 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-image {
    height: 52px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

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

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

/* --- Dropdown Menus --- */
.nav-dropdown {
    position: relative;
}

/* --- Dropdown Menus --- */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-secondary);
    min-width: 220px;
    border: 1px solid var(--border-color);
    border-bottom: 3px solid #00a88f; /* Teal/green accent line at bottom */
    box-shadow: var(--card-shadow);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

@media (min-width: 769px) {
    .nav-dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-tertiary);
    color: #00a88f; /* Teal/green accent on hover */
}

.dropdown-submenu {
    position: relative;
}

.submenu-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--bg-secondary);
    min-width: 220px;
    border: 1px solid var(--border-color);
    border-bottom: 3px solid #00a88f; /* Teal/green accent line at bottom */
    box-shadow: var(--card-shadow);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 101;
}

@media (min-width: 769px) {
    .dropdown-submenu:hover > .submenu-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

.arrow, .arrow-right {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- Search Bar --- */
.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px 12px;
    gap: 8px;
    max-width: 240px;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.search-bar input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    width: 100%;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent);
    display: flex;
    align-items: center;
    padding: 0;
}

.search-icon {
    width: 16px;
    height: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}




.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* --- Hero Section (Full Width Horizontal Slider) --- */
.hero-section {
    position: relative;
    width: 100%;
    margin-top: 80px; /* Offset fixed header */
    padding: 20px 0 0 0; /* Space below menu bar */
    overflow: hidden;
    background-color: #ffffff;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 400px; /* Perfectly fits the 1200x400 horizontal banner */
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-blur-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.95);
    opacity: 0.55;
    z-index: 1;
    pointer-events: none;
}

.slide-image-fg {
    position: relative;
    z-index: 2;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Slider Animation Overlay ─────────────────────────────── */
.slide-anim-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

/* Blinking LED bulb */
.led-dot {
    position: absolute;
    border-radius: 50%;
    animation: ledBlink var(--dur, 1.2s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes ledBlink {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px 3px var(--color, #00ff88), 0 0 20px 8px var(--color, #00ff88); }
    50%       { opacity: 0.15; transform: scale(0.7); box-shadow: none; }
}

/* Circuit pulse dot travelling along a path */
.circuit-pulse {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color, #00e5ff);
    box-shadow: 0 0 8px 4px var(--color, #00e5ff);
    animation: pulseTravelX var(--dur, 2s) linear infinite;
    animation-delay: var(--delay, 0s);
    top: var(--top, 50%);
}

@keyframes pulseTravelX {
    0%   { left: -10px; opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { left: calc(100% + 10px); opacity: 0; }
}

.circuit-pulse-y {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color, #ff6a00);
    box-shadow: 0 0 8px 4px var(--color, #ff6a00);
    animation: pulseTravelY var(--dur, 2.5s) linear infinite;
    animation-delay: var(--delay, 0s);
    left: var(--left, 50%);
}

@keyframes pulseTravelY {
    0%   { top: -10px; opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { top: calc(100% + 10px); opacity: 0; }
}

/* SVG circuit trace lines */
.slide-circuit-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.circuit-trace {
    fill: none;
    stroke: var(--stroke, rgba(0,229,255,0.35));
    stroke-width: 1.5;
    stroke-dasharray: 8 6;
    animation: dashMove var(--dur, 3s) linear infinite;
}

@keyframes dashMove {
    to { stroke-dashoffset: -280; }
}

/* Glow ring pulse */
.glow-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--color, rgba(0,229,255,0.6));
    animation: ringPulse var(--dur, 2s) ease-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes ringPulse {
    0%   { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Sparkling star */
.spark {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #fff;
    animation: sparkFlash var(--dur, 1.8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes sparkFlash {
    0%,100% { opacity: 0; transform: scale(0.5); }
    50%      { opacity: 1; transform: scale(1.8); box-shadow: 0 0 6px 3px #fff, 0 0 14px 6px rgba(0,229,255,0.8); }
}

/* Light Bulb Glow Overlay */
.bulb-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.7) 0%, rgba(255, 235, 59, 0.2) 40%, rgba(255, 235, 59, 0) 70%);
    animation: bulbPulse 2.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: screen;
}

@keyframes bulbPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.5; filter: drop-shadow(0 0 10px rgba(255, 235, 59, 0.6)); }
    50% { transform: scale(1.15); opacity: 0.95; filter: drop-shadow(0 0 35px rgba(255, 235, 59, 0.95)); }
}

/* Laser Scanner Scanning Line */
.laser-scanner {
    position: absolute;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0) 0%, #00e5ff 30%, #00e5ff 70%, rgba(0, 229, 255, 0) 100%);
    box-shadow: 0 0 15px 4px rgba(0, 229, 255, 0.8), 0 0 5px 1px #00e5ff;
    animation: laserScan 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 6;
    opacity: 0.75;
}

@keyframes laserScan {
    0%, 100% { left: 60%; }
    50% { left: 95%; }
}

/* Radar Wireless Signal Wave */
.radar-wave {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--color, #00e5ff);
    animation: radarPulse 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
    animation-delay: var(--delay, 0s);
    pointer-events: none;
    z-index: 4;
}

@keyframes radarPulse {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}


.slide-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    margin-bottom: 20px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 580px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(var(--accent-rgb), 0.5);
}

.btn-block {
    display: flex;
    width: 100%;
}

.slide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* --- Hero Graphic Cards --- */
.slide-graphic-card {
    position: relative;
    width: 340px;
    height: 240px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 2px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.slide-graphic-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 50px -20px rgba(15, 23, 42, 0.15);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Arduino style card */
.g-arduino {
    border-color: #00979d;
    background: linear-gradient(135deg, #00979d 0%, #008184 100%);
    color: #ffffff;
}
.g-arduino .micro-chip-icon {
    background-color: #333333;
    border: 1px solid #555555;
    padding: 16px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.g-arduino .micro-chip-icon::before,
.g-arduino .micro-chip-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    border-top: 4px dotted #888888;
    left: 0;
}
.g-arduino .micro-chip-icon::before { top: -8px; }
.g-arduino .micro-chip-icon::after { bottom: -8px; }

.led-indicators {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
}
.led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}
.led.blinking {
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.3; }
}

/* 8051 Style Card */
.g-8051 {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    color: #ffffff;
    border-color: #475569;
}
.g-8051 .ic-pins {
    background-color: #111827;
    border: 2px solid #374151;
    padding: 20px 40px;
    border-radius: 2px;
    font-family: monospace;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.g-8051 .ic-pins::before,
.g-8051 .ic-pins::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 6px;
    border-left: 6px dotted #9ca3af;
    top: 0;
}
.g-8051 .ic-pins::before { left: -10px; }
.g-8051 .ic-pins::after { right: -10px; }

/* ARM Cortex M4 Card */
.g-arm {
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    color: #ffffff;
    border-color: #6366f1;
}
.g-arm .processor-core {
    background-color: #0f172a;
    border: 2px solid #6366f1;
    padding: 30px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    position: relative;
}
.g-arm .processor-core::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed rgba(99, 102, 241, 0.5);
    border-radius: 12px;
}

/* Basic Electronics Card */
.g-basics {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-color: #cbd5e1;
}
.g-basics .circuit-loop {
    width: 80px;
    height: 80px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.g-basics .circuit-loop::after {
    content: '∿';
    font-size: 2.5rem;
    color: var(--accent-secondary);
}

/* Product Dev Card */
.g-dev {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    border-color: #38bdf8;
    color: #ffffff;
}
.g-dev .box-enclosure {
    border: 3px solid #38bdf8;
    background-color: rgba(56, 189, 248, 0.1);
    padding: 24px 36px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

/* Projects Card */
.g-projects {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
}
.g-projects .project-board {
    border: 2px dashed #10b981;
    color: #065f46;
    padding: 20px 30px;
    border-radius: 8px;
    font-weight: 700;
    background-color: rgba(16, 185, 129, 0.05);
}

/* Internship Card */
.g-intern {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-color: #c084fc;
}
.g-intern .soldering-iron {
    border: 2px solid #a855f7;
    color: #6b21a8;
    padding: 16px 28px;
    border-radius: 99px;
    font-weight: 700;
    background-color: rgba(168, 85, 247, 0.05);
}

/* PCB Design Card */
.g-pcb {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
    border-color: #10b981;
    position: relative;
}
.g-pcb .pcb-tracks {
    width: 80%;
    height: 80%;
    border: 2px solid #10b981;
    border-radius: 8px;
    background-image: radial-gradient(#10b981 2px, transparent 2px), linear-gradient(to right, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* VLSI Card */
.g-vlsi {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: #f59e0b;
    color: #ffffff;
}
.g-vlsi .gate-circuits {
    border: 2px solid #f59e0b;
    padding: 20px 30px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.95rem;
    background-color: rgba(245, 158, 11, 0.05);
}


.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin-top: 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slider-dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
}


/* --- Section Styling --- */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 16px auto 0 auto;
    border-radius: 2px;
}

/* --- Core Highlights Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Graphic banner area at the top of each card */
.service-card-banner {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-blue   { background: linear-gradient(135deg, #0d47a1 0%, #1976d2 50%, #42a5f5 100%); }
.banner-teal   { background: linear-gradient(135deg, #004d40 0%, #00897b 50%, #26c6da 100%); }
.banner-purple { background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 50%, #ba68c8 100%); }
.banner-orange { background: linear-gradient(135deg, #bf360c 0%, #e64a19 50%, #ff8a65 100%); }

/* Decorative SVG circuit overlay */
.banner-bg-circuit {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}
.banner-bg-circuit svg {
    width: 100%; height: 100%;
}

/* Glowing icon badge in center of banner */
.banner-icon-wrap {
    position: relative;
    z-index: 2;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.2), 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.banner-icon-wrap svg { width: 30px; height: 30px; }

.service-card:hover .banner-icon-wrap {
    transform: scale(1.12);
    box-shadow: 0 0 32px rgba(255,255,255,0.4), 0 6px 24px rgba(0,0,0,0.25);
}

/* Animated blinking pulse dots on banner */
.banner-pulse-dot {
    position: absolute;
    z-index: 3;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--pd-color, #7df9ff);
    box-shadow: 0 0 8px 4px var(--pd-color, #7df9ff);
    animation: bannerDotBlink 1.4s ease-in-out infinite;
    animation-delay: var(--pd-delay, 0s);
}
@keyframes bannerDotBlink {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.1; transform: scale(0.5); }
}

/* Card body below the banner */
.service-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: var(--card-shadow);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: rgba(var(--accent-rgb), 0.06);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(var(--accent-rgb), 0.1);
}

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

.service-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

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

.read-more-link {
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    color: var(--accent);
}

/* --- Detail Showcase Section --- */
.detail-showcase-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.detail-block {
    padding: 50px 0;
}

.detail-block:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.detail-tag {
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: inline-block;
}

.detail-content h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.detail-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.detail-list {
    list-style: none;
}

.detail-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.badge {
    padding: 6px 14px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

.badge.active {
    background-color: var(--accent) !important;
    color: #ffffff !important;
    border-color: var(--accent) !important;
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.25);
}

.detail-visual {
    display: flex;
    justify-content: center;
}

.glow-box {
    width: 100%;
    max-width: 440px;
    height: 300px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--accent-secondary-rgb), 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 40px rgba(var(--accent-rgb), 0.05);
}

.glow-box.style-violet {
    background: linear-gradient(135deg, rgba(var(--accent-secondary-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.02) 100%);
}

.glow-box.style-cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(99, 102, 241, 0.03) 100%);
}

.glow-box.style-amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(244, 63, 94, 0.02) 100%);
}

.glow-box.style-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.02) 100%);
}

.matrix-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.interactive-node {
    width: 60px;
    height: 60px;
    background: rgba(var(--accent-rgb), 0.2);
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.4);
    animation: pulse 2.5s infinite;
}

/* --- Blogs Section --- */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-rgb), 0.2);
    box-shadow: var(--card-shadow);
}

.blog-card-visual {
    height: 180px;
    position: relative;
    background-color: var(--bg-tertiary);
    overflow: hidden;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.blog-placeholder.p1 {
    background-image: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
}

.blog-placeholder.p2 {
    background-image: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
}

.blog-placeholder.p3 {
    background-image: linear-gradient(135deg, #1c1917 0%, #292524 100%);
}

.blog-placeholder.p4 {
    background-image: linear-gradient(135deg, #0c4a6e 0%, #0f172a 100%);
}

.blog-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 4px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

/* --- Contact & Footer --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(var(--accent-rgb), 0.06);
    border: 1px solid rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-form-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: 8px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.form-feedback {
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

.form-feedback.success {
    color: #10b981;
}

.form-feedback.error {
    color: #ef4444;
}

/* --- High-End Footer Redesign --- */
.site-footer {
    background: linear-gradient(180deg, #07162c 0%, #020710 100%);
    border-top: 1px solid rgba(14, 165, 233, 0.25);
    padding: 70px 0 30px 0;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

/* Subtle background circuit lines */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.6;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-brand img,
.footer-brand .logo-image {
    height: 40px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1); /* Premium white logo style for dark backgrounds */
    transition: opacity 0.3s ease;
}

.footer-brand img:hover,
.footer-brand .logo-image:hover {
    opacity: 0.8;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 24px;
}

/* Social links container */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-link:hover {
    color: #00ffff;
    background: rgba(14, 165, 233, 0.1);
    border-color: #00ffff;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.25);
}

.footer-col h3 {
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-title);
    margin-bottom: 24px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 24px;
    height: 2px;
    background: #00ffff;
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #00ffff;
    transform: translateX(4px);
}

/* Contact info list styling */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: #00ffff;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.88rem;
    margin-left: 20px;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #00ffff;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

/* --- Animations --- */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-slider-wrapper {
        height: 260px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .contact-container,
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .detail-block.alternate .detail-visual {
        order: 2;
    }
}
@media (max-width: 768px) {
    .hero-slider-wrapper {
        height: auto;
        aspect-ratio: 3 / 1;
    }
    .header-container {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease, visibility 0.3s ease;
        overflow-y: auto; /* Enable scroll for long mobile menus */
        z-index: 99999; /* Ensure it renders above page content */
        visibility: hidden; /* Prevent horizontal scrollbar/overflow when closed */
        pointer-events: none; /* Disable interactions when closed */
    }
    
    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    /* Accordion dropdown behavior on mobile */
    .nav-dropdown .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        background: rgba(var(--accent-rgb), 0.05);
        border: 1px solid rgba(var(--accent-rgb), 0.1);
        border-radius: 8px;
        padding: 8px 0;
        margin-top: 8px;
        transition: none;
    }
    
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .nav-dropdown.open .arrow {
        transform: rotate(180deg);
        display: inline-block;
    }

    /* Nested submenu accordion behavior on mobile */
    .dropdown-submenu .submenu-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        background: rgba(var(--accent-rgb), 0.02);
        border: none;
        border-radius: 0;
        padding: 4px 0 4px 20px; /* indent nested submenus */
        margin-top: 4px;
        transition: none;
    }
    
    .dropdown-submenu.open > .submenu-menu {
        display: block;
    }

    .dropdown-submenu.open > .dropdown-item > .arrow-right {
        transform: rotate(90deg);
        display: inline-block;
    }
    
    .hero-section {
        padding-top: 90px;
        padding-bottom: 20px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* --- About Section --- */
.about-section {
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.about-content h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--accent-secondary);
    line-height: 1.4;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--accent-rgb), 0.2);
    box-shadow: var(--card-shadow);
}

.stat-card h4 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ── Engineering Workflow Section ─────────────────────────── */
.workflow-section {
    background-color: var(--bg-primary);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.workflow-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.workflow-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: var(--card-shadow);
}

.workflow-graphic-box {
    position: relative;
    width: 100%;
    height: 160px;
    background-color: #0b132b; /* Tech slate dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

.workflow-svg {
    width: 100%;
    height: 100%;
    max-width: 240px;
}

.workflow-card-content {
    padding: 24px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.workflow-step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(var(--accent-rgb), 0.04);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    font-family: var(--font-header);
    user-select: none;
    transition: color 0.3s ease;
}

.workflow-card:hover .workflow-step-num {
    color: rgba(var(--accent-rgb), 0.08);
}

.workflow-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.workflow-card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* ── Animation rules for Workflow SVGs ────────────────────── */

/* Path-based traveling pulse */
.electron-pulse {
    offset-path: path(var(--path-d));
    animation: moveOnPath var(--dur, 3s) linear infinite;
    box-shadow: 0 0 8px 3px #fff, 0 0 15px 5px #00e5ff;
}

@keyframes moveOnPath {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* Oscilloscope sine wave draw/sweep */
.oscilloscope-wave {
    stroke-dasharray: 200;
    stroke-dashoffset: 400;
    animation: waveSweep 3s linear infinite;
    filter: drop-shadow(0 0 3px #00ff88);
}

@keyframes waveSweep {
    to { stroke-dashoffset: 0; }
}

/* Binary code fading streams */
.binary-code-1 { animation: binaryPulse 1.4s infinite alternate; }
.binary-code-2 { animation: binaryPulse 2s infinite alternate-reverse; }
.binary-code-3 { animation: binaryPulse 1.7s infinite alternate; }

@keyframes binaryPulse {
    0% { opacity: 0.15; fill: rgba(0, 229, 255, 0.4); }
    100% { opacity: 0.95; fill: #00ff88; filter: drop-shadow(0 0 2px rgba(0,255,136,0.6)); }
}

/* ── About Page Premium Enhancements ──────────────────────── */
.about-glass-panel {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05), 0 0 50px rgba(14, 165, 233, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-glass-panel:hover {
    border-color: rgba(14, 165, 233, 0.25);
}

.gradient-title-glow {
    background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(14, 165, 233, 0.05));
}

.about-stats .stat-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(14, 165, 233, 0.1);
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-stats .stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px -10px rgba(14, 165, 233, 0.18), 0 0 15px rgba(14, 165, 233, 0.05);
}

.about-stats .stat-card h4 {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Page Banner Title Section --- */
.page-banner {
    position: relative;
    padding: 70px 0 50px 0;
    margin-top: 80px;
    background: linear-gradient(135deg, #07162c 0%, #020710 100%);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    text-align: center;
    overflow: hidden;
}

/* Glowing background grid inside page banner */
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(14, 165, 233, 0.1) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    z-index: 1;
    opacity: 0.8;
}

/* Accent glowing orb */
.page-banner::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 160px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, transparent 70%);
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.6rem;
    font-weight: 800;
    font-family: var(--font-title);
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff 30%, #00d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.page-banner p {
    color: #94a3b8;
    font-size: 1.05rem;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}


/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   Covers all pages at 768px, 480px and 375px breakpoints
   ============================================================ */

/* --- Tablet / Mobile (≤768px) extras --- */
@media (max-width: 768px) {
    /* Logo */
    .logo-image { height: 40px; }

    /* Search bar hidden on mobile */
    .search-bar { display: none; }

    /* Page Banner headings */
    .page-banner { padding: 50px 0 36px; margin-top: 70px; }
    .page-banner h1 { font-size: 1.9rem; }
    .page-banner p { font-size: 0.95rem; }

    /* Section titles */
    .section-title { font-size: 1.75rem; }
    .section-header { margin-bottom: 36px; }

    /* Services grid → single column */
    .services-grid { grid-template-columns: 1fr; gap: 20px; }

    /* About grid */
    .about-grid { grid-template-columns: 1fr; gap: 28px; }
    .about-stats { grid-template-columns: 1fr 1fr; }

    /* Workflow */
    .workflow-grid { grid-template-columns: 1fr; }

    /* Contact section */
    .contact-container { grid-template-columns: 1fr; gap: 36px; }

    /* Glass panel */
    .about-glass-panel { padding: 28px 20px; }
    .info-items { gap: 20px; }

    /* Detail grid */
    .detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .detail-visual { height: 220px; border-radius: 12px; }

    /* Training tabs */
    .tab-buttons { flex-wrap: wrap; gap: 8px; }
    .tab-btn { font-size: 0.82rem; padding: 8px 14px; }

    /* Cards */
    .highlight-grid, .process-grid { grid-template-columns: 1fr; gap: 20px; }

    /* CTA section */
    .cta-title { font-size: 1.6rem; }

    /* Footer */
    .site-footer { padding: 50px 0 20px; }
}

/* --- Mobile (≤480px) --- */
@media (max-width: 480px) {
    /* Container */
    .container { padding: 0 16px; }

    /* Logo */
    .logo-image { height: 34px; }

    /* Page Banner */
    .page-banner { padding: 44px 0 28px; }
    .page-banner h1 { font-size: 1.55rem; letter-spacing: -0.3px; }
    .page-banner p { font-size: 0.88rem; }

    /* Section titles */
    .section-title { font-size: 1.5rem; }
    .slide-title { font-size: 1.4rem; }

    .hero-slider-wrapper { height: auto; aspect-ratio: 3 / 1; }

    /* About stats */
    .about-stats { grid-template-columns: 1fr; }
    .stat-card { padding: 20px; }
    .stat-card h4 { font-size: 2rem; }

    /* Buttons */
    .btn { padding: 12px 20px; font-size: 0.92rem; }
    .cta-section .btn { width: 100%; }

    /* Nav mobile menu */
    .nav-menu { padding: 28px 20px; gap: 18px; }
    .nav-link { font-size: 1.1rem; }

    /* Detail visual */
    .detail-visual { height: 180px; }

    /* Contact form */
    .contact-form .form-group { margin-bottom: 16px; }
    .contact-form input,
    .contact-form select,
    .contact-form textarea { font-size: 0.9rem; padding: 10px 12px; }

    /* Google Map */
    .map-section .about-glass-panel { height: 260px !important; }

    /* CTA */
    .cta-title { font-size: 1.3rem; }

    /* Footer */
    .footer-brand p { font-size: 0.88rem; }
    .footer-col h3 { font-size: 1rem; }
    .footer-links li a { font-size: 0.88rem; }
    .footer-contact span { font-size: 0.88rem; }
    .footer-bottom p { font-size: 0.8rem; text-align: center; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 10px; }
    .footer-socials { gap: 8px; }
    .social-link { width: 34px; height: 34px; }
    .social-link svg { width: 14px; height: 14px; }
    .about-glass-panel { padding: 20px 16px; }
}

/* --- Very small phones (≤375px) --- */
@media (max-width: 375px) {
    .page-banner h1 { font-size: 1.35rem; }
    .section-title { font-size: 1.3rem; }
    .search-bar { display: none; }
    .mobile-menu-toggle .bar { width: 20px; }
    .hero-slider-wrapper { height: 130px; }
    .section { padding: 40px 0; }
}
