@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap");/* ====== HEADER STYLES ====== */
#header {
    position: sticky;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #040b14 0%, #1a1f2e 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: all 0.3s ease;
}

/* Hide navbar while a quiz session is in progress (body class set by MicroQuiz) */
body.quiz-active #header {
    display: none;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 70px;
}

/* Brand/Logo */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.brand-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #149ddd;
    object-fit: cover;
    transition: all 0.3s;
}

.brand-link:hover .brand-img {
    border-color: #37b3ed;
    box-shadow: 0 0 10px rgba(20, 157, 221, 0.3);
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: "Poppins", sans-serif;
    transition: color 0.3s;
}

.brand-link:hover .brand-name {
    color: #149ddd;
}

/* Desktop Navigation Menu */
.desktop-nav {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 40px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.desktop-nav .nav-link {
    display: block;
    padding: 8px 18px;
    color: #a8a9b4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: "Open Sans", sans-serif;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
}

.desktop-nav .nav-link:hover {
    color: #fff;
    background: rgba(20, 157, 221, 0.1);
}

.desktop-nav .nav-link.active {
    color: #149ddd;
    background: rgba(20, 157, 221, 0.15);
    border-bottom: 2px solid #149ddd;
}

.desktop-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #149ddd;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.desktop-nav .nav-link:hover::after {
    width: 70%;
}

.desktop-nav .nav-link.active::after {
    width: 70%;
}

/* Header Social Links */
.header-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 18px;
}

.header-socials a:hover {
    background: #149ddd;
    color: #fff;
    transform: translateY(-3px);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #149ddd;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #37b3ed;
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #1a1f2e;
    border-top: 1px solid rgba(20, 157, 221, 0.2);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-nav ul {
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.mobile-nav li {
    padding: 0;
}

.mobile-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    color: #a8a9b4;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav .nav-link i {
    font-size: 18px;
    color: #149ddd;
}

.mobile-nav .nav-link:hover {
    background: rgba(20, 157, 221, 0.1);
    color: #fff;
    padding-left: 35px;
}

.mobile-nav .nav-link.active {
    background: rgba(20, 157, 221, 0.15);
    color: #149ddd;
    border-left: 3px solid #149ddd;
    padding-left: 32px;
}

/* ====== RESPONSIVE DESIGN ====== */

/* Tablet and below */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }

    .desktop-nav {
        margin: 0 20px;
    }

    .desktop-nav .nav-link {
        padding: 8px 14px;
        font-size: 13px;
    }

    .header-socials {
        gap: 8px;
    }

    .header-socials a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .header-container {
        height: 60px;
        padding: 0 15px;
    }

    .brand-img {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }

    .brand-name {
        font-size: 18px;
    }

    /* Hide desktop nav on mobile */
    .desktop-nav {
        display: none;
    }

    /* Show mobile toggle */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Show mobile nav when active */
    #header.mobile-menu-active .mobile-nav {
        display: block;
    }

    .header-socials {
        display: none;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .header-container {
        height: 55px;
        padding: 0 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand-img {
        width: 36px;
        height: 36px;
    }

    .brand-name {
        font-size: 16px;
    }

    .mobile-menu-toggle {
        font-size: 24px;
    }

    .mobile-nav {
        top: 55px;
    }

    .mobile-nav .nav-link {
        padding: 12px 20px;
        font-size: 14px;
    }

    .mobile-nav .nav-link:hover {
        padding-left: 30px;
    }

    .mobile-nav .nav-link.active {
        padding-left: 27px;
    }
}

/* Smooth transitions */
* {
    -webkit-tap-highlight-color: transparent;
}

header button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* AI Theme Header Overrides */
#header {
    background:
        linear-gradient(135deg, rgba(8, 30, 50, 0.96) 0%, rgba(14, 46, 67, 0.95) 50%, rgba(20, 61, 85, 0.95) 100%),
        radial-gradient(circle at 15% 20%, rgba(86, 225, 255, 0.24), transparent 40%);
    border-bottom: 1px solid rgba(121, 215, 255, 0.28);
    box-shadow: 0 14px 24px rgba(6, 24, 39, 0.32);
    backdrop-filter: blur(10px);
}

#header::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(35, 213, 255, 0) 0%, rgba(110, 230, 255, 0.85) 50%, rgba(35, 213, 255, 0) 100%);
    opacity: 0.85;
}

.brand-link {
    padding: 6px 8px;
    border-radius: 999px;
}

.brand-img {
    border-color: rgba(126, 230, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(73, 198, 240, 0.28);
}

.brand-link:hover {
    background: rgba(131, 232, 255, 0.11);
}

.brand-link:hover .brand-img {
    border-color: #8ce9ff;
    box-shadow: 0 0 0 3px rgba(73, 198, 240, 0.35), 0 0 22px rgba(73, 198, 240, 0.4);
}

.brand-name {
    color: #e8f6ff;
    letter-spacing: 0.04em;
    text-shadow: 0 0 20px rgba(98, 221, 255, 0.22);
}

.brand-link:hover .brand-name {
    color: #9eecff;
}

.desktop-nav .nav-link {
    color: #d8efff !important;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.desktop-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(111, 221, 255, 0.14);
    border-color: rgba(128, 227, 255, 0.38);
}

.desktop-nav .nav-link.active {
    color: #9defff !important;
    border-color: rgba(135, 233, 255, 0.52);
    background: linear-gradient(135deg, rgba(14, 80, 108, 0.48) 0%, rgba(22, 111, 134, 0.42) 100%);
    border-bottom: 1px solid rgba(135, 233, 255, 0.52);
    box-shadow: inset 0 0 0 1px rgba(77, 174, 209, 0.25);
}

.desktop-nav .nav-link::after {
    display: none;
}

.header-socials a {
    background: rgba(103, 220, 255, 0.14);
    border: 1px solid rgba(125, 229, 255, 0.34);
    color: #e8f8ff !important;
}

.header-socials a:hover {
    background: rgba(89, 216, 255, 0.28);
    border-color: rgba(151, 236, 255, 0.6);
    box-shadow: 0 8px 14px rgba(2, 27, 43, 0.35), 0 0 18px rgba(92, 220, 255, 0.34);
}

.mobile-menu-toggle {
    color: #84e8ff;
    border-radius: 10px;
}

.mobile-menu-toggle:hover {
    color: #e2f9ff;
    background: rgba(115, 221, 252, 0.12);
}

.mobile-nav {
    background: linear-gradient(180deg, rgba(11, 35, 56, 0.98) 0%, rgba(15, 45, 66, 0.98) 100%);
    border-top-color: rgba(130, 225, 255, 0.35);
}

.mobile-nav .nav-link {
    color: #d8efff !important;
}

.mobile-nav .nav-link i {
    color: #88e9ff;
}

.mobile-nav .nav-link:hover {
    background: rgba(111, 221, 255, 0.16);
    color: #ffffff !important;
}

.mobile-nav .nav-link.active {
    background: rgba(111, 221, 255, 0.19);
    color: #9deeff !important;
    border-left-color: #89ebff;
}

/* ── Learn Dropdown ── */

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-6px);
    }

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

/* ── Mobile nav section label ── */

/* ── NOTE ON BOOTSTRAP ─────────────────────────────────────────
   Bootstrap 5 is imported before this file in main.jsx.
   This file overrides Bootstrap defaults with project-specific
   design tokens. Bootstrap utility classes (btn, container, row,
   col-*, etc.) are used in JSX components.
   ─────────────────────────────────────────────────────────────── */

/* General Styles */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #272829;
    background: #fff;
    overflow-x: hidden;
}

/* App shell layout: keeps footer pinned to bottom on short pages */

#root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main-content {
    flex: 1 0 auto;
}

a {
    color: #149ddd;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #37b3ed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}

/* Section Background */

.section-bg {
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-bottom: 10px;
    position: relative;
    color: #040b14;
}

.section-title h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #149ddd;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    margin-bottom: 0;
    font-size: 15px;
    color: #666;
}

/* Buttons */

.btn {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-primary {
    background: #149ddd;
    border-color: #149ddd;
    color: white;
}

.btn-primary:hover {
    background: #0a7ba7;
    border-color: #0a7ba7;
    color: white;
}

.btn-outline-primary {
    color: #149ddd;
    border-color: #149ddd;
}

.btn-outline-primary:hover {
    background: #149ddd;
    color: white;
}

/* Hero Section */

.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #e8f4f8;
}

.hero .typed {
    color: #149ddd;
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #e8f4f8;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero img {
    max-width: 400px;
    width: 100%;
}

/* Resume Section */

.resume-title {
    font-size: 25px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: #040b14;
}

.resume-item {
    padding: 0 0 24px 20px;
    margin-top: 24px;
    margin-bottom: 8px;
    border-left: 3px solid #008fcb;
    position: relative;
}

.resume-item h4 {
    font-weight: 700;
    margin-bottom: 4px;
    color: #008fcb;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.resume-item h5 {
    font-size: 13px;
    background: transparent;
    padding: 0;
    display: inline;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.resume-item p {
    color: #555;
    line-height: 1.7;
}

/* Skills */

.progress {
    height: 24px;
    background: #e8f4f8;
    border-radius: 4px;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #149ddd;
    color: white;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s;
}

.progress-bar:hover {
    background: #0a7ba7;
}

/* Services */

.service-item {
    padding: 20px;
    background: white;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.service-item i {
    font-size: 48px;
    color: #149ddd;
    margin-bottom: 15px;
}

.service-item h3 {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    color: #040b14;
}

.service-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Form */

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "Open Sans", sans-serif;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    border-color: #149ddd;
    box-shadow: 0 0 0 0.2rem rgba(20, 157, 221, 0.25);
}

/* Responsive */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero-actions {
        justify-content: center;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .resume-title {
        font-size: 20px;
    }

    .hero img {
        margin-top: 40px;
    }
}

/* Stats Section */

.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card {
    padding: 30px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-card i {
    font-size: 36px;
    color: #149ddd;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #040b14;
    margin: 15px 0;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* Highlights Section */

/* CTA Section */

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 18px;
}

.btn-light {
    color: #149ddd;
    background: white;
    border-color: white;
    font-weight: 600;
}

.btn-light:hover {
    color: white;
    background: #149ddd;
    border-color: #149ddd;
}

/* Animations */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

[data-aos="fade-up"] {
    animation: fadeUp 0.6s ease-out;
}

/* Utility Classes */

.text-primary {
    color: #149ddd !important;
}

.bg-light {
    background: #f5f5f5 !important;
}

.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* About Page */

.quality-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.quality-card i {
    font-size: 32px;
    color: #149ddd;
    margin-bottom: 10px;
    display: block;
}

.quality-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #040b14;
    margin-bottom: 8px;
}

.quality-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.info-item {
    font-size: 15px;
    color: #666;
}

.info-item i {
    color: #149ddd;
    margin-right: 8px;
}

.info-item a {
    color: #149ddd;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Resume Page */

.resume-item {
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
}

.resume-item:last-child {
    border-bottom: none;
}

.resume-item h4 {
    font-weight: 600;
    color: #040b14;
    margin-bottom: 5px;
    font-size: 16px;
}

/* Table caption: consistent small caption across the site */

.table-caption {
    margin-top: 6px;
    font-size: 12px;
    color: #777;
    line-height: 1.3;
}

.resume-item h5 {
    background: #e8f4f8;
    padding: 6px 12px;
    display: inline-block;
    border-radius: 4px;
    font-weight: 600;
    color: #149ddd;
    font-size: 13px;
    margin-bottom: 10px;
}

.resume-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 8px;
}

.resume-details {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
    margin-bottom: 0;
}

.resume-details li {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.resume-details li:before {
    content: "▸";
    position: absolute;
    left: 4px;
    color: #008fcb;
    font-weight: bold;
    font-size: 1.1em;
}

/* AI Theme Overrides */

:root {
    --ai-bg: #f2f7fb;
    --ai-bg-soft: #e8f3fb;
    --ai-surface: rgba(255, 255, 255, 0.76);
    --ai-surface-strong: rgba(255, 255, 255, 0.92);
    --ai-border: rgba(25, 101, 161, 0.2);
    --ai-text: #0f2b43;
    --ai-muted: #4a667d;
    --ai-primary: #008fcb;
    --ai-secondary: #00b388;
    --ai-glow: rgba(0, 143, 203, 0.28);
    --ai-grid: rgba(48, 112, 163, 0.14);
}

body {
    font-family: "Space Grotesk", "Open Sans", sans-serif;
    color: var(--ai-text);
    background:
        radial-gradient(circle at 90% -10%, rgba(0, 143, 203, 0.26), transparent 45%),
        radial-gradient(circle at 12% 12%, rgba(0, 179, 136, 0.2), transparent 48%),
        linear-gradient(180deg, #f8fcff 0%, var(--ai-bg) 52%, #edf5fb 100%);
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--ai-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--ai-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

.resume-item h5 {
    font-size: 14px;
    background: transparent;
    padding: 0;
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.resume-company-link {
    color: #008fcb;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    display: inline-block;
}

.resume-company-link:hover {
    color: #00b388;
    border-bottom-color: #00b388;
}

.resume-period {
    display: block;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
}

h1,

.section-bg,
.bg-light,
.courses-section,
.module-page,
.course-page {
    background: transparent !important;
}

a,
.text-primary,
.info-item a {
    color: var(--ai-primary) !important;
}

a:hover,
.info-item a:hover {
    color: #0b6a95 !important;
}

.btn {
    border-radius: 999px;
    border-width: 1px;
    box-shadow: 0 10px 24px rgba(12, 66, 104, 0.14);
}

.btn-primary,
.card-content .btn-primary {
    background: linear-gradient(102deg, var(--ai-primary) 0%, #0ab2d6 48%, #35d4ba 100%) !important;
    border-color: transparent !important;
    color: #f9fdff !important;
}

.btn-primary:hover,
.card-content .btn-primary:hover {
    filter: saturate(1.15) brightness(0.97);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--ai-primary) !important;
    border-color: rgba(0, 143, 203, 0.5) !important;
    background: rgba(255, 255, 255, 0.45);
}

.btn-outline-primary:hover {
    background: rgba(0, 143, 203, 0.12) !important;
    color: #0d3652 !important;
}

.hero .btn-outline-primary {
    color: #e9f7ff !important;
    border-color: rgba(150, 234, 255, 0.9) !important;
    background: rgba(8, 30, 48, 0.5);
    box-shadow: 0 0 0 1px rgba(121, 225, 255, 0.25), 0 10px 20px rgba(5, 19, 32, 0.35);
}

.hero .btn-outline-primary:hover {
    color: #ffffff !important;
    border-color: #b8f1ff !important;
    background: rgba(64, 192, 226, 0.2) !important;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 24%, rgba(0, 194, 255, 0.22), transparent 42%),
        radial-gradient(circle at 20% 90%, rgba(0, 179, 136, 0.24), transparent 40%),
        linear-gradient(135deg, #0b1d32 0%, #11253d 55%, #183a57 100%);
    color: #eef8ff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(129, 228, 255, 0.16) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: aiSweep 7s ease-in-out infinite;
    pointer-events: none;
}

.hero h1,
.hero h2,
.hero p {
    color: #eaf6ff;
}

.hero .typed {
    color: #86e6ff;
}

.hero-role-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.hero-role-row .h3,
.hero-role-row h2 {
    margin: 0 !important;
    flex-shrink: 0;
}

.hero-specialized-copy {
    margin: 0;
    display: inline;
}

.hero .h3,
.hero h2 {
    margin-bottom: 0.8rem !important;
}

.hero .lead,
.hero p {
    margin-top: 0.1rem;
}

.hero .text-primary {
    color: #6ee3ff !important;
}

.resume .progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 143, 203, 0.15);
}

.resume .progress-bar {
    font-size: 0;
    min-height: 6px;
}

.resume-skills-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.75rem;
}

.resume-skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.68rem;
    border: 1px solid rgba(20, 102, 161, 0.24);
    border-radius: 999px;
    background: rgba(242, 250, 255, 0.9);
    color: #133f5e;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.resume-skill-chip i {
    color: #008fcb;
    font-size: 0.92rem;
}

/* Skill Categories */

.resume-skill-category {
    margin-bottom: 1.5rem;
}

.resume-skill-category-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #008fcb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.65rem;
    margin-top: 0;
    display: block;
}

/* Contact Info */

.resume-contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.resume-contact-info span {
    display: flex;
    align-items: center;
    color: #555;
}

.resume-contact-info strong {
    color: #008fcb;
    font-weight: 600;
    margin-right: 0.4rem;
}

.resume-contact-info a {
    color: #008fcb;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.resume-contact-info a:hover {
    color: #00b388;
    border-bottom-color: #00b388;
}

/* Add spacing before experience section */

.col-lg-6:first-child .resume-item:first-of-type {
    margin-bottom: 3rem;
}

.hero img {
    border: 4px solid rgba(130, 225, 255, 0.6);
    box-shadow: 0 0 0 8px rgba(0, 143, 203, 0.22), 0 34px 64px rgba(7, 24, 41, 0.45);
}

.section-title h2 {
    color: var(--ai-text);
    letter-spacing: 0.06em;
}

.section-title h2::after {
    background: linear-gradient(90deg, var(--ai-primary) 0%, #42d8c7 100%);
    width: 76px;
    height: 4px;
    border-radius: 999px;
}

.section-title p,
.stat-label,
.resume-item p,
.quality-card p,
.info-item,
.text-white-50 {
    color: var(--ai-muted) !important;
}

.service-item,
.stat-card,
.quality-card,
.contact-form,
.contact-info-item,
.course-card,
.portfolio-item,
.resource-card,
.module-page .module-header,
.topic-page .resource-card,
.course-header {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border);
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(17, 59, 91, 0.12);
    backdrop-filter: blur(9px);
}

.service-item:hover,
.stat-card:hover,
.quality-card:hover,
.course-card:hover,
.portfolio-item:hover,
.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 38px rgba(7, 44, 72, 0.18);
}

.service-item i,
.stat-card i,
.quality-card i,
.info-item i,
.meta-item i,
.topic-info>i,
.card-icon i,
.card-icon svg {
    color: var(--ai-primary);
}

.stats-section,
.cta-section,
.bg-primary {
    background:
        radial-gradient(circle at 82% 18%, rgba(99, 212, 246, 0.18), transparent 34%),
        linear-gradient(135deg, #0d2540 0%, #133a56 52%, #1a4b69 100%) !important;
}

.cta-section h2,
.cta-section p {
    color: #effbff !important;
}

.btn-light {
    color: #0f3f61;
    background: linear-gradient(180deg, #ffffff 0%, #ecf9ff 100%);
    border-color: rgba(138, 229, 255, 0.55);
}

.btn-light:hover {
    color: #f7fbff;
    background: rgba(0, 143, 203, 0.4);
    border-color: rgba(161, 235, 255, 0.65);
}

.resume-item,
.course-meta,
.topic-link,
.portfolio-info {
    border-color: rgba(25, 101, 161, 0.14) !important;
}

.breadcrumb-item a {
    color: var(--ai-primary);
}

.breadcrumb-item.active,
.meta-item,
.course-description,
.portfolio-description {
    color: var(--ai-muted);
}

.contact-form .form-control {
    border: 1px solid rgba(22, 99, 156, 0.28);
    border-radius: 12px;
    background: rgba(248, 253, 255, 0.9);
    color: var(--ai-text);
}

.contact-form .form-control:focus {
    border-color: var(--ai-primary);
    box-shadow: 0 0 0 0.2rem var(--ai-glow);
    background: #ffffff;
}

.spinner-border-sm {
    color: var(--ai-primary);
}

@keyframes aiSweep {
    0% {
        transform: translateX(-100%);
    }

    55% {
        transform: translateX(105%);
    }

    100% {
        transform: translateX(105%);
    }
}

@media (max-width: 768px) {
    body::before {
        background-size: 32px 32px;
        opacity: 0.3;
    }

    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-role-row {
        gap: 0.25rem;
    }

    .resume-skills-grid {
        grid-template-columns: 1fr;
    }

    .resume-contact-info {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .hero-specialized-copy {
        display: block;
    }

    .service-item,
    .stat-card,
    .quality-card,
    .contact-info-item,
    .resource-card,
    .course-card,
    .portfolio-item,
    .course-header {
        border-radius: 14px;
    }
}

/* ── Accessibility: Skip to main content ─────────────────────── */

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--ai-primary, #149ddd);
    color: white;
    padding: 0.5rem 1rem;
    z-index: 9999;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* ── Site Footer ─────────────────────────────────────────────── */

/* ── Contact Section ─────────────────────────────────────────── */

.contact-info-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    background: #f0f8ff;
}

.contact-info-item i {
    font-size: 36px;
    color: #149ddd;
    margin-bottom: 15px;
    display: block;
}

.contact-info-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #040b14;
    margin-bottom: 10px;
}

.contact-info-item p {
    color: #666;
    margin: 0;
    font-size: 15px;
}

.contact-info-item a {
    color: #149ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: #0a7ba7;
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: #040b14;
    margin-bottom: 8px;
    font-family: "Raleway", sans-serif;
}

.contact-form .form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    border-color: #149ddd;
    box-shadow: 0 0 0 0.2rem rgba(20, 157, 221, 0.25);
    background: #f0f8ff;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 4px;
    min-width: 200px;
}

.contact-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.alert {
    border-radius: 4px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.alert .btn-close {
    opacity: 0.7;
}

.alert .btn-close:hover {
    opacity: 1;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.25em;
}

/* AI Theme Overrides */

.contact-info-item,
.contact-form {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(45, 148, 99, 0.18);
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.contact-info-item:hover {
    background: rgba(234, 250, 240, 0.96);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.contact-info-item h3,
.contact-form .form-label {
    color: #1a1a2e;
}

.contact-info-item p {
    color: #475569;
}

.contact-form .form-control {
    border-color: #d9e8df;
}

.contact-form .form-control:focus {
    border-color: #20c997;
    box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.18);
    background: #f5fdf4;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }

    .contact-form .btn {
        width: 100%;
    }

    .contact-info-item {
        margin-bottom: 15px;
    }
}

/* Blog-style contact theme overrides */

.contact-info-item,
.contact-form {
    background: #fff;
    border-color: #d9e8df;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.contact-info-item:hover {
    background: #effbf2;
}

.contact-info-item i {
    color: #20c997;
}

.contact-info-item h3,
.contact-form .form-label {
    color: #1a1a2e;
}

.contact-info-item p,
.contact-form .form-control {
    color: #475569;
}

.contact-form .form-control:focus {
    border-color: #20c997;
    box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.18);
    background: #f5fdf4;
}