/* ==========================================================================
   QuantNexus Technologies - Modern Web Design System & Stylesheet
   Created for easy future editing & customization
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Brand Palette */
    --primary-blue: #2563eb;
    --primary-purple: #7c3aed;
    --accent-cyan: #0284c7;
    --accent-teal: #0d9488;
    --accent-indigo: #4f46e5;
    --accent-purple: #9333ea;
    
    /* Neutral Tone Palette */
    --color-dark: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-600: #475569;
    --color-slate-500: #64748b;
    --color-slate-400: #94a3b8;
    --color-slate-100: #f1f5f9;
    --color-slate-50: #f8fafc;
    --color-white: #ffffff;
    
    /* Brand Gradients */
    --grad-primary: linear-gradient(135deg, #0284c7 0%, #2563eb 45%, #7c3aed 100%);
    --grad-text: linear-gradient(135deg, #1d4ed8 0%, #2563eb 40%, #7c3aed 100%);
    --grad-hover: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
    --grad-bg-pill: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.06));
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows & Glassmorphism */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(37, 99, 235, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 16px 40px -8px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(226, 232, 240, 0.8);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* Transition */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-slate-50);
    color: var(--color-slate-800);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Glowing Accents */
.bg-grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: -2;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
}

.bg-glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, #3b82f6, #8b5cf6);
}

.bg-glow-2 {
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle, #0284c7, #3b82f6);
}

/* Layout Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 90px 0;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.25;
}

.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-heading {
    font-size: 2.35rem;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.section-subtext {
    font-size: 1.05rem;
    color: var(--color-slate-600);
    max-width: 640px;
    margin: 0 auto 40px auto;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & CONTROLS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: var(--grad-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
}

.btn-outline {
    background: var(--color-white);
    color: var(--color-dark);
    border: 1.5px solid var(--color-slate-400);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* --------------------------------------------------------------------------
   4. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-tag {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-slate-500);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-slate-600);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 6px 0;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--primary-blue);
    border-radius: 2px;
}

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

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 270px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-slate-100);
    padding: 12px;
    display: opacity;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

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

.dropdown-item {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--color-slate-50);
}

.item-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.item-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--color-slate-500);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--color-slate-100);
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-slate-800);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Hero Pill Badge */
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad-bg-pill);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot-cyan { background: var(--accent-cyan); }
.dot-blue { background: var(--primary-blue); }
.dot-purple { background: var(--primary-purple); }

.pill-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
}
.text-cyan { color: var(--accent-cyan); }
.text-blue { color: var(--primary-blue); }
.text-purple { color: var(--primary-purple); }
.pill-bullet { color: var(--color-slate-400); margin: 0 2px; }

/* Hero Headline */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--color-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-slate-600);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Right Visual & Glass Cards */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-main-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.15);
}

/* Glassmorphism Floating Cards */
.glass-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition-normal);
}

.glass-float-card:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: var(--shadow-lg);
}

.float-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-blue { background: rgba(37, 99, 235, 0.1); color: var(--primary-blue); }
.icon-purple { background: rgba(147, 51, 234, 0.1); color: var(--accent-purple); }
.icon-teal { background: rgba(13, 148, 136, 0.1); color: var(--accent-teal); }
.icon-indigo { background: rgba(79, 70, 229, 0.1); color: var(--accent-indigo); }
.icon-cyan { background: rgba(2, 132, 199, 0.1); color: var(--accent-cyan); }

.float-text {
    display: flex;
    flex-direction: column;
}

.float-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.float-sub {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

/* Absolute Positions & Animations for Floating Cards */
.card-quantum { top: 5%; left: -8%; animation: float 5s ease-in-out infinite; }
.card-ai { top: 12%; right: -6%; animation: float 6s ease-in-out infinite 1s; }
.card-iot { bottom: 20%; left: -10%; animation: float 5.5s ease-in-out infinite 0.5s; }
.card-training { bottom: 8%; right: -8%; animation: float 6.5s ease-in-out infinite 1.5s; }

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

/* --------------------------------------------------------------------------
   6. 4 CORE PILLARS / SERVICES GRID
   -------------------------------------------------------------------------- */
.pillar-section {
    padding-top: 40px;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.pillar-card {
    background: var(--color-white);
    border: 1px solid var(--color-slate-100);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.pillar-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.box-blue { background: rgba(37, 99, 235, 0.08); }
.box-teal { background: rgba(13, 148, 136, 0.08); }
.box-purple { background: rgba(147, 51, 234, 0.08); }
.box-indigo { background: rgba(79, 70, 229, 0.08); }

.pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.pillar-desc {
    font-size: 0.92rem;
    color: var(--color-slate-600);
    margin-bottom: 24px;
    flex-grow: 1;
}

.pillar-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.pillar-link:hover {
    gap: 10px;
    color: var(--primary-purple);
}

/* --------------------------------------------------------------------------
   7. STATS COUNTER BAR
   -------------------------------------------------------------------------- */
.stats-section {
    padding: 30px 0;
}

.stats-glass-bar {
    background: var(--color-white);
    border: 1px solid var(--color-slate-100);
    border-radius: var(--radius-xl);
    padding: 30px 40px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.825rem;
    color: var(--color-slate-600);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   8. ABOUT US SECTION
   -------------------------------------------------------------------------- */
.about-section {
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-description {
    font-size: 1.05rem;
    color: var(--color-slate-600);
    margin-bottom: 32px;
}

.about-visual {
    position: relative;
}

.about-img-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-hq-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Floating Mission Card */
.mission-float-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mission-quote-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mission-heading {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--color-dark);
    display: block;
    margin-bottom: 4px;
}

.mission-body {
    font-size: 0.825rem;
    color: var(--color-slate-600);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9. WHY CHOOSE QUANTNEXUS? SECTION
   -------------------------------------------------------------------------- */
.why-section {
    background: var(--color-white);
    border-top: 1px solid var(--color-slate-100);
    border-bottom: 1px solid var(--color-slate-100);
}

.why-grid {
    margin-top: 48px;
}

.why-card {
    background: var(--color-slate-50);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--color-slate-100);
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: var(--color-white);
}

.why-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.why-card-desc {
    font-size: 0.92rem;
    color: var(--color-slate-600);
}

/* --------------------------------------------------------------------------
   10. EXPLORE OUR PROGRAMS SECTION
   -------------------------------------------------------------------------- */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-slate-200);
    background: var(--color-white);
    color: var(--color-slate-600);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary-blue);
    color: var(--color-white);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.program-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-slate-100);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.program-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--color-slate-100);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.program-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.program-title {
    font-size: 1.15rem;
    margin-bottom: 10px;

}

.program-desc {
    font-size: 0.9rem;
    color: var(--color-slate-600);
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-slate-500);
    border-top: 1px stroke var(--color-slate-100);
    padding-top: 14px;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   11. CONTACT & FOOTER
   -------------------------------------------------------------------------- */
.contact-card {
    background: var(--grad-primary);
    border-radius: var(--radius-xl);
    padding: 50px;
    color: var(--color-white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-title {
    color: var(--color-white);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.contact-form-wrap {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    color: var(--color-dark);
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-slate-800);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-slate-200);
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.footer {
    background: var(--color-dark);
    color: var(--color-slate-400);
    padding: 70px 0 30px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand .logo-name {
    color: var(--color-white);
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.col-title {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-col a {
    color: var(--color-slate-400);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.link-col a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    font-size: 0.825rem;
}

/* --------------------------------------------------------------------------
   12. INTERACTIVE MODAL DIALOG
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.modal-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 36px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-slate-100);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--color-slate-600);
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container, .about-container, .contact-card {
        grid-template-columns: 1fr;
    }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    .hero-title { font-size: 2.8rem; }
    .card-quantum { left: 0; }
    .card-ai { right: 0; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .mobile-toggle { display: flex; }

    .hero-title { font-size: 2.2rem; }
    .grid-4, .grid-3 { grid-template-columns: 1fr; }

    .stats-glass-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-card { padding: 30px 20px; }
}
