/* ==========================================================================
   B. MAHENDHER - PREMIUM MNC DEVELOPER PORTFOLIO STYLESHEET
   Design System: Modern Hybrid Architecture
   - Dark Navy Blue Hero Section (#070d1e) with Cyan/Blue Accents
   - Clean White/Light Content Sections in Light Mode (#f8fafc / #ffffff)
   - Clean Dark Navy/Slate Content Sections in Dark Mode (#090e1a / #111a2e)
   - Modern Typography (Outfit & Space Grotesk)
   - Subtle Shadows & Refined Cards
   - Strictly Tested for All Viewports (360px to 1920px)
   ========================================================================== */

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS & ROOT VARIABLES (DARK THEME DEFAULT)
   ========================================================================== */
:root {
    /* Brand Color Palette */
    --primary-color: #2563eb;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: rgba(37, 99, 235, 0.12);
    --primary-glow: rgba(37, 99, 235, 0.35);

    --secondary-color: #06b6d4;
    --cyan: #06b6d4;
    --cyan-hover: #0891b2;
    --cyan-light: rgba(6, 182, 212, 0.12);
    --cyan-glow: rgba(6, 182, 212, 0.35);

    --accent-purple: #8b5cf6;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;

    /* Hero Section - Dark Navy Blue */
    --hero-bg: #070d1e;
    --hero-bg-gradient: radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 75%);
    --hero-surface: #0d172e;
    --hero-border: rgba(255, 255, 255, 0.10);
    --hero-text: #ffffff;
    --hero-text-muted: #94a3b8;
    --hero-title-gradient: linear-gradient(135deg, #ffffff 40%, #38bdf8 90%);
    --hero-stats-bg: rgba(13, 23, 46, 0.75);
    --hero-stats-border: rgba(255, 255, 255, 0.10);
    --hero-stats-divider: rgba(255, 255, 255, 0.10);
    --hero-stats-num: #06b6d4;
    --hero-stats-label: #8e99ad;
    --hero-btn-sec-bg: rgba(255, 255, 255, 0.07);
    --hero-btn-sec-border: rgba(255, 255, 255, 0.22);
    --hero-btn-sec-text: #ffffff;
    --hero-btn-contact-text: #06b6d4;
    --hero-btn-contact-border: rgba(6, 182, 212, 0.45);
    --hero-terminal-bg: #0d172e;
    --hero-terminal-header: rgba(9, 14, 26, 0.85);
    --hero-terminal-body: #0b1329;
    --hero-terminal-border: rgba(255, 255, 255, 0.10);
    --hero-terminal-text: #e2e8f0;
    --hero-terminal-footer: rgba(9, 14, 26, 0.75);

    /* Typography */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    /* Transitions & Radii */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 9999px;

    /* Dynamic Theme Variables - Dark Mode */
    --dark-bg: #090e1a;
    --bg-body: #090e1a;
    --bg-alt: #0d1424;
    --card-bg: #111a2e;
    --bg-card: #111a2e;
    --bg-card-hover: #15223c;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-card: rgba(255, 255, 255, 0.09);
    --border-card-hover: rgba(37, 99, 235, 0.45);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.35);
    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0 14px 30px -4px rgba(0, 0, 0, 0.6);

    --chip-bg: rgba(255, 255, 255, 0.05);
    --chip-text: #f1f5f9;
    --chip-border: rgba(255, 255, 255, 0.10);

    --nav-bg: transparent;
    --nav-bg-scrolled: rgba(9, 14, 26, 0.94);
    --nav-text: #ffffff;
    --nav-text-muted: rgba(255, 255, 255, 0.85);
    --nav-border: rgba(255, 255, 255, 0.08);

    --footer-bg: #070b14;
    --timeline-track: rgba(255, 255, 255, 0.12);
    --code-window-bg: #0b1329;
}

/* ==========================================================================
   2. LIGHT THEME VARIABLES (PREMIUM MNC LIGHT PALETTE)
   ========================================================================== */
[data-theme="light"] {
    --dark-bg: #f8fafc;
    --bg-body: #f8fafc;
    --bg-alt: #f1f5f9;
    --card-bg: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border-color: #e2e8f0;
    --border-subtle: #e2e8f0;
    --border-card: #e2e8f0;
    --border-card-hover: rgba(37, 99, 235, 0.4);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --cyan: #0284c7;
    --cyan-hover: #0369a1;
    --cyan-light: rgba(2, 132, 199, 0.10);

    /* Hero Section - Clean Light Palette */
    --hero-bg: #f8fafc;
    --hero-bg-gradient: radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.09) 0%, rgba(6, 182, 212, 0.04) 45%, transparent 75%);
    --hero-surface: #ffffff;
    --hero-border: #e2e8f0;
    --hero-text: #0f172a;
    --hero-text-muted: #475569;
    --hero-title-gradient: linear-gradient(135deg, #0f172a 40%, #0284c7 100%);
    --hero-stats-bg: #ffffff;
    --hero-stats-border: #e2e8f0;
    --hero-stats-divider: #e2e8f0;
    --hero-stats-num: #0284c7;
    --hero-stats-label: #64748b;
    --hero-btn-sec-bg: #ffffff;
    --hero-btn-sec-border: #cbd5e1;
    --hero-btn-sec-text: #0f172a;
    --hero-btn-contact-text: #0284c7;
    --hero-btn-contact-border: #0284c7;
    --hero-terminal-bg: #ffffff;
    --hero-terminal-header: #f1f5f9;
    --hero-terminal-body: #ffffff;
    --hero-terminal-border: #e2e8f0;
    --hero-terminal-text: #0f172a;
    --hero-terminal-footer: #f8fafc;

    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.05);
    --shadow-card: 0 4px 14px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.10), 0 4px 10px -2px rgba(15, 23, 42, 0.04);

    --chip-bg: #f1f5f9;
    --chip-text: #1e293b;
    --chip-border: #e2e8f0;

    --nav-bg: transparent;
    --nav-bg-scrolled: rgba(255, 255, 255, 0.96);
    --nav-text: #0f172a;
    --nav-text-muted: #334155;
    --nav-border: #e2e8f0;

    --footer-bg: #070b14;
    --timeline-track: #cbd5e1;
    --code-window-bg: #f8fafc;
}

/* ==========================================================================
   3. GLOBAL RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: clip;
    width: 100%;
    min-width: 320px;
    transition: background-color var(--transition-base), color var(--transition-base);
}

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

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

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

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

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

section {
    position: relative;
    padding: 85px 0;
    width: 100%;
}

.hero-section {
    overflow: visible !important;
}

@media (max-width: 768px) {
    section {
        padding: 55px 0;
    }
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.about-heading, .section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* ==========================================================================
   4. NAVIGATION BAR (MNC Blurred Glass & Responsive)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    padding: 14px 0;
    background-color: var(--nav-bg);
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition-base), padding var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    background-color: var(--nav-bg-scrolled) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

/* Brand Logo */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--nav-text) !important;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.navbar-brand span:not(.brand-shining-name) {
    color: var(--nav-text) !important;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.brand-shining-name {
    background: var(--hero-title-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Links */
.navbar-nav .nav-link {
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--nav-text-muted) !important;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.10);
}

[data-theme="light"] .navbar-nav .nav-link:hover,
[data-theme="light"] .navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background-color: var(--primary-light);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--chip-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff !important;
    transform: rotate(15deg) scale(1.05);
}

/* Hamburger Toggler Button */
.navbar-toggler {
    border: 1px solid var(--border-subtle) !important;
    padding: 6px 10px !important;
    background: var(--chip-bg) !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer;
}

.hamburger-box {
    width: 22px;
    height: 18px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Mobile Nav Collapse Menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--bg-card);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid var(--border-card);
        border-radius: var(--radius-lg);
        padding: 20px;
        margin-top: 14px;
        box-shadow: var(--shadow-hover);
    }

    .navbar-nav {
        gap: 8px !important;
        align-items: stretch !important;
    }

    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ==========================================================================
   5. HERO SECTION (ADAPTIVE MNC SHOWCASE - LIGHT & DARK)
   ========================================================================== */
.hero-section {
    position: relative;
    background-color: var(--hero-bg);
    background-image: var(--hero-bg-gradient);
    color: var(--hero-text);
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: clamp(80px, 11vh, 105px);
    padding-bottom: clamp(35px, 5vh, 60px);
    transition: background-color var(--transition-base), color var(--transition-base);
}

.hero-graphics {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Hero Status Badge */
.hero-status-badge {
    background: var(--chip-bg);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(6px);
    transition: all var(--transition-fast);
}

.hero-status-badge:hover {
    border-color: var(--primary);
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--cyan) !important;
    font-family: var(--font-mono);
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: var(--hero-text);
}

.hero-greeting {
    font-size: clamp(0.92rem, 1.6vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--cyan) !important;
    font-family: var(--font-mono);
    margin-bottom: 0.25rem;
}

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

.hero-role {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 500;
    color: var(--hero-text);
    min-height: 2.2em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#hero-role-prefix {
    color: var(--cyan);
}

.hero-role-animated {
    color: var(--cyan) !important;
    font-weight: 600;
}

.hero-cursor {
    color: var(--cyan) !important;
    animation: blinkCursor 1s step-end infinite;
}

@keyframes blinkCursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.hero-accent-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    border-radius: 2px;
}

.hero-description {
    font-size: clamp(0.96rem, 1.25vw, 1.08rem);
    line-height: 1.7;
    color: var(--hero-text-muted) !important;
    max-width: 600px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-stats-strip {
    background-color: var(--hero-stats-bg);
    border: 1px solid var(--hero-stats-border);
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.hero-stat-item {
    text-align: center;
    flex: 1;
}

.hero-stat-icon {
    color: var(--hero-stats-num) !important;
    font-size: 1.3rem;
}

.hero-stat-number {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 700;
    color: var(--hero-stats-num) !important;
    line-height: 1.1;
    font-family: var(--font-mono);
}

.hero-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--hero-stats-label) !important;
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--hero-stats-divider);
}

/* Hero Buttons */
.hero-buttons-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-custom {
    padding: 12px 26px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.btn-custom-primary, .btn-hero-primary {
    background: linear-gradient(135deg, #2563eb, #0284c7) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}

.btn-custom-primary:hover, .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
    color: #ffffff !important;
}

.btn-custom-secondary, .btn-hero-secondary {
    background: var(--hero-btn-sec-bg) !important;
    color: var(--hero-btn-sec-text) !important;
    border: 1px solid var(--hero-btn-sec-border) !important;
    box-shadow: var(--shadow-sm);
}

.btn-custom-secondary:hover, .btn-hero-secondary:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-hero-contact {
    background: transparent;
    color: var(--hero-btn-contact-text) !important;
    border: 1px solid var(--hero-btn-contact-border) !important;
}

.btn-hero-contact:hover {
    background: var(--primary-light) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Hero Terminal Showcase Card */
.hero-terminal-card {
    background-color: var(--hero-terminal-bg);
    border: 1px solid var(--hero-terminal-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

.hero-terminal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-card-hover);
}

.terminal-header {
    background-color: var(--hero-terminal-header);
    border-bottom: 1px solid var(--hero-terminal-border);
}

.terminal-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-filename {
    font-size: 0.82rem;
    color: var(--hero-text-muted);
}

.terminal-body {
    background-color: var(--hero-terminal-body);
    color: var(--hero-terminal-text);
}

.terminal-footer {
    background-color: var(--hero-terminal-footer);
    border-top: 1px solid var(--hero-terminal-border);
    color: var(--hero-text-muted);
}

/* Terminal Syntax Highlighting for Light Theme */
[data-theme="light"] .terminal-body .text-secondary {
    color: #64748b !important;
}

[data-theme="light"] .terminal-body .text-primary {
    color: #2563eb !important;
    font-weight: 600;
}

[data-theme="light"] .terminal-body .text-cyan {
    color: #0284c7 !important;
    font-weight: 600;
}

[data-theme="light"] .terminal-body .text-warning {
    color: #b45309 !important;
    font-weight: 600;
}

[data-theme="light"] .terminal-body .text-success {
    color: #15803d !important;
}

[data-theme="light"] .terminal-body .text-info {
    color: #0284c7 !important;
}

/* ==========================================================================
   6. ABOUT ME SECTION & EXECUTIVE DEVELOPER CARD
   ========================================================================== */
.about-section {
    background-color: var(--bg-body);
}

/* Executive Developer Card */
.physical-id-card-container {
    max-width: 360px;
    margin: 0 auto;
    position: relative;
}

.physical-id-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
    padding: 24px;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.physical-id-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-card-hover);
}

.id-card-photo-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 16px auto;
    position: relative;
    border: 3px solid var(--primary);
    box-shadow: 0 0 18px var(--primary-glow);
    overflow: hidden;
}

.id-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-online-indicator {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    background-color: #10b981;
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.id-card-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.id-card-role {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--cyan);
    font-family: var(--font-mono);
}

.card-floating-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-bottom: 16px;
}

.id-card-hire-btn {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    width: 80%;
    margin-top: 10px;
    transition: all var(--transition-fast);
}

.id-card-hire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--primary-glow);
    color: #ffffff !important;
}

/* Quick Info Grid */
.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 576px) {
    .quick-info-grid {
        grid-template-columns: 1fr;
    }
}

.quick-info-item {
    background: var(--chip-bg);
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
}

.quick-info-key {
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.quick-info-val {
    color: var(--text-primary);
    font-weight: 500;
}

/* Highlight Cards */
.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-card-hover);
}

.highlight-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--chip-bg);
    border: 1px solid var(--border-subtle);
}

.highlight-card-title {
    color: var(--text-primary) !important;
    font-weight: 700;
}

.highlight-card-desc {
    color: var(--text-secondary) !important;
    line-height: 1.6;
}

/* ==========================================================================
   7. SKILLS & TECHNOLOGIES SECTION
   ========================================================================== */
.skills-section {
    background-color: var(--bg-alt);
}

/* Core Stack Flow */
.core-stack-container {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-card);
}

.core-stack-step {
    background: var(--chip-bg);
    border: 1px solid var(--border-subtle);
    flex: 1;
    min-width: 180px;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.core-stack-step:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.core-stack-step.highlighted-step {
    background: var(--primary-light);
    border-color: var(--primary);
}

.core-stack-step.highlighted-step .core-stack-techs {
    color: var(--primary) !important;
    font-weight: 700;
}

.core-stack-techs {
    color: var(--text-primary) !important;
}

/* Skill Category Cards */
.skill-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.skill-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-card-hover);
}

.skill-category-card h3 {
    color: var(--text-primary) !important;
}

/* Tech Chips */
.tech-chip {
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    color: var(--chip-text) !important;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tech-chip:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: translateY(-1px);
}

/* Tag Badges */
.tag-badge {
    background: var(--chip-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    display: inline-block;
}

/* ==========================================================================
   8. PROFESSIONAL EXPERIENCE & EDUCATION TIMELINES
   ========================================================================== */
.experience-section, .education-section {
    background-color: var(--bg-body);
}

.timeline, .education-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Aligned Vertical Timeline Track */
.timeline::before, .education-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 2px;
    background-color: var(--timeline-track);
}

.timeline-item {
    position: relative;
    padding-left: 65px;
    margin-bottom: 35px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    left: 20px;
    top: 24px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    z-index: 2;
    transition: all var(--transition-fast);
}

.timeline-dot.education-dot {
    border-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--cyan);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    background-color: var(--primary);
}

/* Timeline Date Badge */
.timeline-date-badge {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-mono);
}

/* Timeline Card */
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-card-hover);
}

.timeline-card h3 {
    color: var(--text-primary) !important;
}

.timeline-card p {
    color: var(--text-secondary);
}

.responsibility-list {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.responsibility-list li {
    margin-bottom: 6px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   9. FEATURED PROJECTS SECTION & MODAL
   ========================================================================== */
.projects-section {
    background-color: var(--bg-alt);
}

/* Project Card */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-card-hover);
}

.project-card h3 {
    color: var(--text-primary) !important;
    font-size: 1.15rem;
}

.project-card p {
    color: var(--text-secondary);
}

/* View Details Button */
.btn-outline-secondary {
    border-color: var(--border-subtle);
    color: var(--text-secondary);
    background: var(--chip-bg);
    min-height: 42px;
}

.btn-outline-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff !important;
}

/* Project Details Modal */
.project-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 13, 30, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1050;
    overflow-y: auto;
    padding: 20px;
}

.project-modal-overlay.active {
    display: block;
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.project-modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.project-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--chip-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.project-modal-close:hover {
    background: var(--primary);
    color: #ffffff;
    transform: rotate(90deg);
}

/* ==========================================================================
   10. CERTIFICATIONS & TRAINING SECTION
   ========================================================================== */
.certifications-section {
    background-color: var(--bg-body);
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-card-hover);
}

.cert-card h3 {
    color: var(--text-primary) !important;
}

/* Custom Cyan Outline Button */
.btn-outline-cyan {
    color: var(--cyan);
    border-color: var(--cyan);
    background-color: transparent;
    transition: all var(--transition-fast);
}

.btn-outline-cyan:hover,
.btn-outline-cyan:focus {
    color: #ffffff !important;
    background-color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 4px 14px var(--cyan-glow);
}

/* ==========================================================================
   10.1 CERTIFICATE LIGHTBOX & MODAL VIEWER
   ========================================================================== */
.certificate-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 13, 30, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.22s ease-in-out;
}

.certificate-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.certificate-modal-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 1120px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.75);
    overflow: hidden;
    transform: scale(0.96);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.certificate-modal-overlay.active .certificate-modal-container {
    transform: scale(1);
}

/* Modal Header */
.certificate-modal-header {
    padding: 16px 24px;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    z-index: 3;
}

.certificate-modal-info {
    flex: 1 1 320px;
    min-width: 0;
}

.certificate-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 2px;
}

.certificate-modal-issuer {
    color: var(--text-secondary);
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Modal Toolbar */
.certificate-modal-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cert-zoom-controls {
    background: var(--chip-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 2px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.cert-btn-tool {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cert-btn-tool:hover:not(:disabled) {
    background: var(--primary-light);
    color: var(--primary);
}

.cert-btn-tool:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cert-zoom-indicator {
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    min-width: 46px;
    text-align: center;
    user-select: none;
    font-weight: 600;
    padding: 0 4px;
}

.cert-btn-close {
    background: var(--chip-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cert-btn-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Modal Body / Image Viewport */
.certificate-modal-body {
    flex: 1 1 auto;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.4);
    min-height: 260px;
    max-height: calc(94vh - 145px);
    position: relative;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

[data-theme="light"] .certificate-modal-body {
    background: #eef2f6;
}

.certificate-image-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
    transform-origin: center center;
}

.certificate-modal-image {
    max-width: 100%;
    max-height: calc(94vh - 190px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    background: #ffffff;
    display: block;
    cursor: zoom-in;
    transition: box-shadow 0.2s ease, transform 0.15s ease-out;
}

.certificate-image-wrapper.zoomed .certificate-modal-image {
    cursor: grab;
}

.certificate-image-wrapper.zoomed.panning .certificate-modal-image {
    cursor: grabbing;
}

/* Modal Footer */
.certificate-modal-footer {
    padding: 10px 24px;
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cert-footer-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Responsive Viewports */
@media (max-width: 768px) {
    .certificate-modal-overlay {
        padding: 8px;
    }

    .certificate-modal-container {
        max-height: 97vh;
        border-radius: var(--radius-lg);
    }

    .certificate-modal-header {
        padding: 12px 14px;
        gap: 10px;
    }

    .certificate-modal-title {
        font-size: 1rem;
        white-space: normal;
    }

    .certificate-modal-issuer {
        font-size: 0.78rem;
    }

    .certificate-modal-body {
        padding: 12px;
        max-height: calc(97vh - 130px);
    }

    .certificate-modal-image {
        max-height: calc(97vh - 165px);
    }

    .cert-zoom-indicator {
        min-width: 38px;
        font-size: 0.72rem;
    }

    .cert-btn-tool {
        width: 30px;
        height: 30px;
    }

    .cert-btn-close {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .certificate-modal-footer {
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .certificate-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .certificate-modal-toolbar {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   11. RESUME CTA & CONTACT SECTION
   ========================================================================== */
.contact-cta-section {
    background-color: var(--bg-alt) !important;
    color: var(--text-primary) !important;
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

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

.theme-card-bg {
    background-color: var(--bg-card) !important;
}

.theme-border {
    border: 1px solid var(--border-card) !important;
}

.text-theme-primary {
    color: var(--text-primary) !important;
}

.text-theme-secondary {
    color: var(--text-secondary) !important;
}

/* Force semantic theme colors on Bootstrap utility classes */
.text-secondary {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Form inputs & controls */
.form-control {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-card) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm);
}

.form-control:focus {
    background-color: var(--bg-card) !important;
    border-color: var(--primary) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 3px var(--primary-light) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

/* Contact Section Action & Online Buttons */
.contact-section .btn-outline-secondary {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-card) !important;
    color: var(--text-primary) !important;
    transition: all var(--transition-fast);
}

.contact-section .btn-outline-secondary:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

.contact-section .btn-outline-secondary:hover * {
    color: #ffffff !important;
}

/* Light Theme Global Text Protection (WCAG AA Compliance) */
[data-theme="light"] .text-white:not(.btn-hero-primary *):not(.btn-custom-primary *):not(.badge.bg-primary):not(.badge.bg-danger):not(.badge.bg-success):not(.status-pulse-dot):not(.terminal-dot) {
    color: var(--text-primary) !important;
}

[data-theme="light"] .contact-section .btn-outline-secondary {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .contact-section .btn-outline-secondary i.bi-github {
    color: #0f172a !important;
}

[data-theme="light"] .contact-section .btn-outline-secondary i.bi-linkedin {
    color: #0a66c2 !important;
}

[data-theme="light"] .contact-section .btn-outline-secondary i.bi-journal-text {
    color: #ea580c !important;
}

[data-theme="light"] .contact-section .btn-outline-secondary i.bi-twitter-x {
    color: #0f172a !important;
}

[data-theme="light"] .contact-section .btn-outline-secondary i.bi-instagram {
    color: #e1306c !important;
}

[data-theme="light"] .contact-section .btn-outline-secondary i.bi-envelope-fill {
    color: #2563eb !important;
}

.contact-github-card {
    background: rgba(30, 41, 59, 0.3) !important;
}

.contact-github-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.contact-github-card .btn {
    width: auto;
}

@media (max-width: 575.98px) {
    .contact-github-card .btn {
        width: 100% !important;
    }
}

[data-theme="light"] .contact-github-card {
    background: rgba(15, 23, 42, 0.03) !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .contact-github-icon {
    background: rgba(15, 23, 42, 0.07) !important;
    color: #0f172a !important;
}

/* ==========================================================================
   12. FOOTER & CONTACT SECTION - 3-COLUMN MNC DESIGN
   ========================================================================== */
footer.footer-section,
footer {
    background-color: var(--footer-bg, #0b0e18) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #94a3b8;
    position: relative;
    z-index: 10;
}

.footer-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

@media (min-width: 992px) {
    .footer-section .col-lg-4 {
        flex: 0 0 auto !important;
        width: 33.33333333% !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-section .col-md-6 {
        flex: 0 0 auto !important;
        width: 50% !important;
    }
}

@media (max-width: 767.98px) {
    .footer-section .col-12 {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
}

.footer-brand {
    gap: 0.6rem;
    text-decoration: none;
}

.footer-brand-icon {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary-color, #4f46e5), var(--secondary-color, #06b6d4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.footer-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color, #4f46e5), var(--secondary-color, #06b6d4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* ── Role & Bio ── */
.footer-role {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
}

.footer-bio {
    font-size: 0.97rem;
    line-height: 1.75;
    color: #94a3b8;
    max-width: 360px;
}

/* ── Availability badge ── */
.footer-avail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 200, 150, 0.10);
    border: 1px solid rgba(0, 200, 150, 0.30);
    color: #00c896;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.3px;
    width: fit-content;
}

.avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00c896;
    box-shadow: 0 0 6px #00c896;
    animation: pulse-dot 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

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

/* ── Section headings ── */
.footer-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #94a3b8;
    margin-bottom: 1.25rem;
}

/* ── Contact list ── */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.96rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.fc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary, #3b82f6);
    flex-shrink: 0;
}

.footer-contact-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.96rem;
    word-break: break-all;
}

.footer-contact-list a:hover {
    color: var(--primary, #38bdf8);
}

/* ── Social grid ── */
.footer-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.fs-social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    transition: all 0.22s ease;
}

.fs-social-link i {
    font-size: 1.1rem;
}

.fs-social-link:hover {
    background: rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.40);
    color: #a5b4fc;
    transform: translateY(-2px);
}

.fs-social-link[style*="--sc"]:hover {
    color: #25D366;
    background: rgba(37, 211, 102, 0.10);
    border-color: rgba(37, 211, 102, 0.30);
}

/* ── Built-with text ── */
.footer-built {
    font-size: 0.93rem;
    color: #64748b;
}

/* ── Bottom bar ── */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-copy,
.footer-location {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* ── Light Theme Preservation for Footer ──
   Ensures the footer remains an elegant, dark-grounded anchor with 0 white cards */
[data-theme="light"] footer.footer-section,
[data-theme="light"] footer#contact {
    background-color: #0b1329 !important;
    border-top: 1px solid #1e293b !important;
}

[data-theme="light"] .footer-brand-name {
    background: linear-gradient(135deg, #60a5fa, #22d3ee) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .footer-role {
    color: #f1f5f9 !important;
}

[data-theme="light"] .footer-bio {
    color: #94a3b8 !important;
}

[data-theme="light"] .footer-section-title {
    color: #38bdf8 !important;
}

[data-theme="light"] .footer-contact-list li,
[data-theme="light"] .footer-contact-list a {
    color: #cbd5e1 !important;
}

[data-theme="light"] .footer-contact-list a:hover {
    color: #38bdf8 !important;
}

[data-theme="light"] .fc-icon {
    background: rgba(79, 70, 229, 0.25) !important;
    border-color: rgba(79, 70, 229, 0.45) !important;
    color: #818cf8 !important;
}

[data-theme="light"] .fs-social-link {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
}

[data-theme="light"] .fs-social-link:hover {
    background: rgba(79, 70, 229, 0.25) !important;
    border-color: rgba(79, 70, 229, 0.5) !important;
    color: #93c5fd !important;
}

[data-theme="light"] .footer-built {
    color: #64748b !important;
}

[data-theme="light"] .footer-copy,
[data-theme="light"] .footer-location {
    color: #94a3b8 !important;
}

/* ==========================================================================
   12.1 FLOATING ACTION BUTTONS (WHATSAPP & BACK TO TOP)
   ========================================================================== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 85px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #ffffff !important;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

@media (max-width: 575.98px) {
    .whatsapp-float-btn {
        bottom: 75px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    .back-to-top {
        bottom: 22px;
        right: 18px;
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   13. COMPREHENSIVE RESPONSIVE BREAKPOINTS (360px to 1920px)
   ========================================================================== */

/* Wide Desktops & Displays (>= 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
    .hero-title {
        font-size: 4rem;
    }
}

/* Standard Laptops & Desktops (1024px to 1366px) */
@media (max-width: 1366px) {
    .hero-title {
        font-size: 3.3rem;
    }
    .hero-terminal-card .terminal-body {
        font-size: 0.78rem;
    }
}

/* Tablets & Small Laptops (768px to 1023px) */
@media (max-width: 1023.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 50px;
    }
    .hero-left-content {
        padding-right: 0 !important;
        text-align: center;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    .hero-stat-divider {
        display: none;
    }
    .hero-stat-item {
        flex: 1 1 40%;
    }
    .hero-buttons-wrapper {
        justify-content: center;
    }
}

/* Large Phones & Small Tablets (576px to 767px) */
@media (max-width: 767.98px) {
    .row {
        --bs-gutter-x: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .row > * {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .navbar {
        padding: 10px 0;
    }
    .hero-section {
        padding-top: 90px;
        padding-bottom: 40px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-role {
        font-size: 1.15rem;
        justify-content: center;
    }
    .hero-stats-strip {
        padding: 12px;
    }
    .hero-stats {
        gap: 10px;
    }
    .hero-stat-number {
        font-size: 1.5rem;
    }
    .hero-buttons-wrapper {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons-wrapper .btn {
        width: 100%;
    }
    .timeline::before, .education-timeline::before {
        left: 18px;
    }
    .timeline-item {
        padding-left: 45px;
    }
    .timeline-dot {
        left: 10px;
        width: 16px;
        height: 16px;
    }
}

/* Standard Mobile (375px to 430px) */
@media (max-width: 430px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hero-title {
        font-size: 2.15rem;
    }
    .about-heading, .section-title {
        font-size: 1.7rem;
    }
    .quick-info-grid {
        grid-template-columns: 1fr;
    }
    .footer-social-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile (360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-role {
        font-size: 1rem;
    }
    .btn-custom {
        padding: 10px 18px;
        font-size: 0.88rem;
    }
    .timeline-item {
        padding-left: 36px;
    }
    .timeline::before, .education-timeline::before {
        left: 12px;
    }
    .timeline-dot {
        left: 5px;
        width: 14px;
        height: 14px;
    }
}
