/* =========================================
   RAMCHARAN KATARAM — PORTFOLIO 2026
   Premium Microsoft Power Platform Portfolio
   ========================================= */

/* =========================================
   VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* Microsoft Power Platform Colors */
    --powerbi-yellow: #faba0f;
    --powerapps-purple: #742774;
    --powerautomate-blue: #0078d4;
    --powerpages-teal: #008272;
    --copilot-cyan: #00bcf2;
    --dataverse-green: #107c41;
    --fabric-orange: #f25022;
    --ms-blue: #0078d4;

    /* Base Theme */
    --bg-dark: #06070b;
    --bg-darker: #030408;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border-color: rgba(255, 255, 255, 0.08);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Utilities */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow-blue: 0 0 30px rgba(0, 120, 212, 0.15);
    --shadow-glow-purple: 0 0 30px rgba(116, 39, 116, 0.15);
    --border-radius: 16px;
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* removed scroll-behavior to fix lenis jumping */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

body.loading-active {
    overflow: hidden;
}

/* GLOBAL 3D CANVAS */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -5;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--powerautomate-blue);
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
    position: relative;
    background-color: rgba(6, 7, 11, 0.60);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.text-muted {
    color: var(--text-muted);
}

/* Color Helpers */
.text-yellow {
    color: var(--powerbi-yellow);
}

.text-teal {
    color: var(--powerpages-teal);
}

.text-blue {
    color: var(--powerautomate-blue);
}

.text-orange {
    color: #f25022;
}

.text-purple {
    color: var(--powerapps-purple);
}

.text-green {
    color: var(--dataverse-green);
}

.text-cyan {
    color: var(--copilot-cyan);
}

/* Section Header System */
.section-header {
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--powerautomate-blue);
    background: rgba(0, 120, 212, 0.08);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 120, 212, 0.15);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 50%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmer 6s ease-in-out infinite;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* =========================================
   KEYFRAME ANIMATIONS
   ========================================= */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 120, 212, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 120, 212, 0.4), 0 0 80px rgba(0, 120, 212, 0.1);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes typewriter-blink {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: var(--copilot-cyan);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(220px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(220px) rotate(-360deg);
    }
}

@keyframes orbit-reverse {
    0% {
        transform: rotate(360deg) translateX(180px) rotate(-360deg);
    }

    100% {
        transform: rotate(0deg) translateX(180px) rotate(0deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-12px) translateX(-50%);
    }

    60% {
        transform: translateY(-6px) translateX(-50%);
    }
}

@keyframes logo-assemble {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-20deg);
    }

    60% {
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes text-reveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes ticker-slide {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes orb-drift-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(80px, 60px) scale(1.1);
    }

    100% {
        transform: translate(-40px, 120px) scale(0.95);
    }
}

@keyframes orb-drift-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-100px, -80px) scale(1.15);
    }

    100% {
        transform: translate(60px, -40px) scale(0.9);
    }
}

@keyframes orb-drift-3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, -50px) scale(1.2);
    }

    100% {
        transform: translate(-80px, 30px) scale(0.85);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 8px var(--powerautomate-blue);
    }

    50% {
        box-shadow: 0 0 20px var(--powerautomate-blue), 0 0 40px rgba(0, 120, 212, 0.3);
    }
}

@keyframes availability-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes step-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 120, 212, 0);
    }

    50% {
        box-shadow: 0 0 20px 4px rgba(0, 120, 212, 0.15);
    }
}

@keyframes story-line-grow {
    0% {
        height: 0;
    }

    100% {
        height: 100%;
    }
}

@keyframes cert-shine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

@keyframes ai-glow-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* =========================================
   CINEMATIC LOADING SCREEN
   ========================================= */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    overflow: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(116, 39, 116, 0.15), transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 120, 212, 0.15), transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 130, 114, 0.1), transparent 50%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease-in-out infinite;
}

.loading-pulse-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(0, 120, 212, 0.3);
    animation: pulse-ring 2s ease-out infinite;
}

.loading-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 64px);
    gap: 16px;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.loading-logo-item {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    opacity: 0;
    animation: logo-assemble 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    backdrop-filter: blur(10px);
}

.loading-logo-item img {
    width: 36px;
    height: 36px;
}

.loading-logo-item:nth-child(1) {
    animation-delay: 0.1s;
}

.loading-logo-item:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-logo-item:nth-child(3) {
    animation-delay: 0.3s;
}

.loading-logo-item:nth-child(4) {
    animation-delay: 0.4s;
}

.loading-logo-item:nth-child(5) {
    animation-delay: 0.5s;
}

.loading-logo-item:nth-child(6) {
    animation-delay: 0.6s;
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: text-reveal 0.8s ease forwards;
    animation-delay: 1s;
}

.loading-text span {
    display: inline-block;
    opacity: 0;
    animation: text-reveal 0.4s ease forwards;
}

.loading-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: text-reveal 0.6s ease forwards;
    animation-delay: 1.8s;
}

/* =========================================
   SCROLL PROGRESS BAR
   ========================================= */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--powerapps-purple), var(--powerautomate-blue), var(--powerpages-teal), var(--powerbi-yellow));
    transition: width 0.1s linear;
}

/* =========================================
   GLASSMORPHISM
   ========================================= */
.glass {
    background: rgba(6, 7, 11, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.glass-card {
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent, rgba(0, 120, 212, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium), 0 0 40px rgba(0, 120, 212, 0.05);
}

.gray-bg {
    background-color: rgba(14, 17, 26, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Background noise texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--powerautomate-blue), #005a9e);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 120, 212, 0.5);
    transform: translateY(-3px);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

.btn-primary-sm {
    background: var(--powerautomate-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-primary-sm:hover {
    color: white;
    background: #005a9e;
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.3);
}

/* =========================================
   GRID LAYOUTS
   ========================================= */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo span {
    color: var(--powerautomate-blue);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links li a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
}

.nav-links li a:not(.btn-primary-sm)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--powerautomate-blue), var(--copilot-cyan));
    transition: width 0.3s ease;
}

.nav-links li a:not(.btn-primary-sm):hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--text-primary);
}

.nav-links li a.active {
    color: var(--text-primary);
}

.nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* =========================================
   PARTICLE CANVAS
   ========================================= */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background-color: rgba(6, 7, 11, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    will-change: transform;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(116, 39, 116, 0.5);
    top: -150px;
    left: -100px;
    animation: orb-drift-1 18s ease-in-out infinite alternate;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: rgba(0, 120, 212, 0.25);
    bottom: -200px;
    right: -150px;
    animation: orb-drift-2 22s ease-in-out infinite alternate;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: rgba(0, 130, 114, 0.35);
    top: 40%;
    left: 45%;
    animation: orb-drift-3 15s ease-in-out infinite alternate;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding-top: 2rem;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 120, 212, 0.08);
    border: 1px solid rgba(0, 120, 212, 0.2);
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--copilot-cyan);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 50%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-sub {
    display: block;
    margin-top: 0.6rem;
    line-height: 1.25;
}

.title-gradient-animated {
    font-size: 0.85em;
}

/* Wave icon in greeting badge */
.hero-greeting-badge .wave-icon {
    font-size: 1.2rem;
    display: inline-block;
    transform-origin: 70% 70%;
}

.hero-greeting-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 120, 212, 0.08);
    border: 1px solid rgba(0, 120, 212, 0.2);
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-title .typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--copilot-cyan);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: typewriter-blink 0.8s step-end infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.hero-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    line-height: 1.6;
    max-width: 95%;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    border-radius: 30px;
}

.hero-cta .btn i {
    margin-left: 8px;
}

.hero-tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
    max-width: 650px;
    transform: scale(0.95);
    transform-origin: left top;
}

/* Floating orbit icons around hero */
.hero-orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 1;
    pointer-events: none;
}

.orbit-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.orbit-icon img {
    width: 28px;
    height: 28px;
}

.orbit-icon:nth-child(1) {
    animation: orbit 30s linear infinite;
}

.orbit-icon:nth-child(2) {
    animation: orbit-reverse 25s linear infinite;
}

.orbit-icon:nth-child(3) {
    animation: orbit 35s linear infinite;
    animation-delay: -10s;
}

.orbit-icon:nth-child(4) {
    animation: orbit-reverse 28s linear infinite;
    animation-delay: -7s;
}

.orbit-icon:nth-child(5) {
    animation: orbit 32s linear infinite;
    animation-delay: -15s;
}

.orbit-icon:nth-child(6) {
    animation: orbit-reverse 40s linear infinite;
    animation-delay: -20s;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    animation: bounce 2.5s infinite;
}

.scroll-indicator-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.scroll-indicator i {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* =========================================
   ADVANCED MAGNETIC CURSOR
   ========================================= */
body, a, button, input, textarea, select {
    cursor: none !important;
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--powerautomate-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 120, 212, 0.8);
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0, 120, 212, 0.4);
    border-radius: 50%;
    /* We'll use GSAP for all tweening, no CSS transitions needed except special hover states */
}

/* Hover state class added by GSAP/JS */
.cursor-active .cursor-ring {
    border-color: rgba(0, 188, 242, 0.8);
    background-color: rgba(0, 188, 242, 0.1);
}

/* =========================================
   SCROLL REVEAL ANIMATION SYSTEM
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-up.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* =========================================
   METRICS SECTION
   ========================================= */
.metrics-section {
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
    gap: 1.5rem;
}

.metric-card {
    position: relative;
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.metric-icon {
    font-size: 1.5rem;
    color: var(--powerautomate-blue);
    margin-bottom: 0.8rem;
    opacity: 0.6;
}

.metric-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-card:hover::after {
    opacity: 1;
}

.metric-card:hover {
    border-color: rgba(0, 120, 212, 0.3);
    box-shadow: 0 0 30px rgba(0, 120, 212, 0.1);
    transform: translateY(-4px);
}

.metric-card h3 {
    font-size: 2.8rem;
    color: white;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.metric-card .plus-sign {
    font-size: 2.8rem;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.metric-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.highlight-item:hover {
    border-color: rgba(0, 120, 212, 0.3);
    transform: translateX(5px);
    box-shadow: var(--shadow-glow-blue);
}

.highlight-item i {
    font-size: 1.8rem;
    color: var(--powerautomate-blue);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* =========================================
   STORY TIMELINE (About Section Narrative)
   ========================================= */
.story-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--powerapps-purple), var(--powerautomate-blue), var(--powerpages-teal), var(--copilot-cyan));
    border-radius: 2px;
}

.story-chapter {
    position: relative;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
}

.story-chapter:last-child {
    margin-bottom: 0;
}

.story-chapter-marker {
    position: absolute;
    left: -40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.story-year {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--copilot-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.story-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--powerautomate-blue);
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 10px rgba(0, 120, 212, 0.5);
    position: relative;
    left: 0;
}

.story-dot-active {
    background: var(--copilot-cyan);
    box-shadow: 0 0 15px var(--copilot-cyan), 0 0 30px rgba(0, 188, 242, 0.3);
    animation: pulse-dot 2s ease-in-out infinite;
}

.story-chapter-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    flex: 1;
    transition: var(--transition-smooth);
}

.story-chapter-content:hover {
    border-color: rgba(0, 120, 212, 0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.story-chapter-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.story-chapter-content p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
}

.story-chapter-content strong {
    color: var(--powerbi-yellow);
}

.story-chapter-now .story-chapter-content {
    border-color: rgba(0, 188, 242, 0.2);
    background: rgba(0, 188, 242, 0.03);
}

/* =========================================
   ECOSYSTEM SECTION (Power Platform Explained)
   ========================================= */
.ecosystem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.eco-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.eco-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--powerautomate-blue), var(--powerpages-teal));
    opacity: 0;
    transition: opacity 0.4s;
}

.eco-card:hover::before {
    opacity: 1;
}

.eco-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
}

.eco-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.eco-card:hover .eco-icon {
    transform: scale(1.15);
}

.eco-card h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.eco-role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--powerautomate-blue);
    margin-bottom: 1rem;
}

.eco-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Platform Connector Box */
.platform-connector {
    background: rgba(0, 120, 212, 0.04);
    border: 1px solid rgba(0, 120, 212, 0.12);
    border-radius: var(--border-radius);
    padding: 2rem 2.5rem;
    margin-top: 1rem;
}

.connector-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.connector-header i {
    font-size: 1.3rem;
    color: var(--powerautomate-blue);
}

.connector-header h3 {
    font-size: 1.2rem;
}

.platform-connector p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================
   SKILLS SECTION
   ========================================= */
.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem 2.5rem;
    transition: var(--transition-smooth);
}

.skill-category:hover {
    border-color: rgba(0, 120, 212, 0.15);
}

.skill-category-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
}

.skill-category-title i {
    color: var(--powerautomate-blue);
}

.skill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.skill-chip img {
    width: 18px;
    height: 18px;
}

.skill-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 120, 212, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* =========================================
   EXPERIENCE SECTION (TIMELINE)
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--powerautomate-blue), var(--powerpages-teal), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 17px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--powerautomate-blue);
    box-shadow: 0 0 15px var(--powerautomate-blue);
    animation: pulse-dot 2s ease-in-out infinite;
}

.timeline-date {
    color: var(--powerautomate-blue);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.5px;
}

.timeline-role {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.timeline-company {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.timeline-summary {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.timeline-bullets {
    color: var(--text-secondary);
    list-style: none;
    padding: 0;
}

.timeline-bullets li {
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.93rem;
    line-height: 1.6;
}

.timeline-bullets li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--powerautomate-blue);
    font-weight: 700;
}

.timeline-bullets strong {
    color: var(--text-primary);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.timeline-tags span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    background: rgba(0, 120, 212, 0.06);
    border: 1px solid rgba(0, 120, 212, 0.12);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--copilot-cyan);
}

.timeline-tags span img {
    width: 14px;
    height: 14px;
}

/* =========================================
   PROJECTS SECTION
   ========================================= */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 120, 212, 0.3);
}

.project-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(6, 7, 11, 1), transparent);
}

.project-image i {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .project-image i {
    transform: scale(1.2);
}

.project-content {
    padding: 1.8rem;
}

.project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.project-content strong {
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1.2rem 0;
}

.tech-tags span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-tags img {
    width: 13px;
    height: 13px;
}

.impact {
    border-top: 1px solid var(--border-color);
    padding-top: 0.8rem;
    color: var(--text-primary) !important;
    font-weight: 500;
    font-size: 0.88rem !important;
}

.impact i {
    color: var(--dataverse-green);
    margin-right: 0.3rem;
}

/* =========================================
   ARCHITECTURE SECTION
   ========================================= */
.arch-diagram {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
}

.arch-flow {
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.arch-flow:last-child {
    margin-bottom: 0;
}

.arch-flow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    transition: var(--transition-smooth);
}

.arch-flow.flow-internal::before {
    background: var(--powerapps-purple);
}

.arch-flow.flow-external::before {
    background: var(--powerpages-teal);
}

.arch-flow.flow-ai::before {
    background: var(--copilot-cyan);
}

.arch-flow:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(8px);
}

.arch-flow.flow-internal:hover {
    border-color: rgba(116, 39, 116, 0.3);
    box-shadow: 0 0 20px rgba(116, 39, 116, 0.1);
}

.arch-flow.flow-external:hover {
    border-color: rgba(0, 130, 114, 0.3);
    box-shadow: 0 0 20px rgba(0, 130, 114, 0.1);
}

.arch-flow.flow-ai:hover {
    border-color: rgba(0, 188, 242, 0.3);
    box-shadow: 0 0 20px rgba(0, 188, 242, 0.1);
}

.arch-flow-label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.arch-flow-path {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.arch-flow-path .arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.arch-node {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.arch-node img {
    width: 16px;
    height: 16px;
}

.arch-flow:hover .arch-node {
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================
   CERTIFICATIONS SECTION
   ========================================= */
.certifications-section {
    position: relative;
    overflow: hidden;
}

.certifications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(250, 186, 15, 0.04), transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 120, 212, 0.04), transparent 50%);
    pointer-events: none;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cert-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: none;
}

.cert-card:hover::after {
    animation: cert-shine 0.8s ease forwards;
}

.cert-card:hover {
    transform: translateY(-6px);
    border-color: rgba(250, 186, 15, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(250, 186, 15, 0.08);
}

.cert-card-featured {
    border-color: rgba(250, 186, 15, 0.15);
    background: rgba(250, 186, 15, 0.02);
}

.cert-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.cert-icon-ring {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 120, 212, 0.1);
    border: 2px solid rgba(0, 120, 212, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--powerautomate-blue);
    transition: var(--transition-smooth);
}

.cert-card:hover .cert-icon-ring {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(250, 186, 15, 0.4);
    color: var(--powerbi-yellow);
}

.cert-icon-trophy {
    background: rgba(250, 186, 15, 0.1);
    border-color: rgba(250, 186, 15, 0.25);
    color: var(--powerbi-yellow);
}

.cert-status {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.cert-status-verified {
    background: rgba(16, 124, 65, 0.15);
    color: #4dc57e;
    border: 1px solid rgba(16, 124, 65, 0.25);
}

.cert-status-award {
    background: rgba(250, 186, 15, 0.15);
    color: var(--powerbi-yellow);
    border: 1px solid rgba(250, 186, 15, 0.25);
}

.cert-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.cert-issuer {
    color: var(--powerautomate-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.cert-detail {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cert-detail strong {
    color: var(--powerbi-yellow);
}

.cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.cert-tags span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 120, 212, 0.06);
    border: 1px solid rgba(0, 120, 212, 0.12);
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--copilot-cyan);
}

.cert-tags span img {
    width: 13px;
    height: 13px;
}

/* =========================================
   CERTIFICATION LEARNING PATH
   ========================================= */
.cert-learning-path {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.cert-learning-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f25022, #7fba00, #00a4ef, #ffb900);
    opacity: 0.7;
}

.cert-path-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.cert-path-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(127, 186, 0, 0.1));
    border: 1px solid rgba(0, 164, 239, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #00a4ef;
    flex-shrink: 0;
}

.cert-path-title {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.cert-path-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.cert-path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cert-path-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cert-path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    transition: none;
}

.cert-path-card:hover::before {
    animation: cert-shine 0.8s ease forwards;
}

.cert-path-card:hover {
    border-color: rgba(0, 164, 239, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 164, 239, 0.08);
}

.cert-path-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.cert-ms-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-path-status {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.cert-status-learning {
    background: rgba(0, 164, 239, 0.15);
    color: #00a4ef;
    border: 1px solid rgba(0, 164, 239, 0.25);
}

.cert-status-upcoming {
    background: rgba(255, 185, 0, 0.12);
    color: #ffb900;
    border: 1px solid rgba(255, 185, 0, 0.25);
}

.cert-status-planned {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-path-card h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00a4ef, #7fba00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cert-path-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cert-path-desc {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cert-path-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.cert-progress-bar {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #00a4ef, #7fba00);
    transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.cert-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    filter: blur(2px);
    animation: shimmer 2s ease-in-out infinite;
}

.cert-progress-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* =========================================
   FEATURED ARTICLE SECTION
   ========================================= */
.featured-article {
    margin-top: 3rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(0, 188, 242, 0.12);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.featured-article-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 188, 242, 0.12), transparent 70%);
    filter: blur(40px);
    animation: ai-glow-pulse 5s ease-in-out infinite;
}

.featured-article-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.featured-article-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-article-header>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 700px;
}

.featured-article-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.featured-sub-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.featured-sub-card:hover {
    border-color: rgba(0, 188, 242, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.featured-sub-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 188, 242, 0.08);
    border: 1px solid rgba(0, 188, 242, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--copilot-cyan);
}

.featured-sub-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.featured-sub-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--copilot-cyan);
    background: rgba(0, 188, 242, 0.1);
    border: 1px solid rgba(0, 188, 242, 0.2);
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.8rem;
}

.featured-sub-card>p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.featured-sub-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.featured-sub-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.featured-sub-list li i {
    color: var(--dataverse-green);
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* Article Date */
.article-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.article-date i {
    font-size: 0.65rem;
}

/* =========================================
   YOUTUBE CHANNELS SECTION
   ========================================= */
.youtube-section {
    position: relative;
    overflow: hidden;
}

.youtube-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 0, 0, 0.04), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 120, 212, 0.04), transparent 50%);
    pointer-events: none;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem 1rem;
    padding-bottom: 2rem;
}

.yt-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: transform 0.2s;
}

.yt-card:hover .yt-thumb-bg {
    border-radius: 0;
}

.yt-card:hover .yt-icon-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.yt-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #222;
}

.yt-thumb-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: border-radius 0.3s ease;
    position: relative;
    overflow: hidden;
}

.yt-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.yt-card:hover .yt-thumb-img {
    opacity: 0.8;
    transform: scale(1.05);
}

.yt-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 3rem;
    color: #fff;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 2;
}

.yt-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.yt-time {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 2;
}

.yt-details {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.yt-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    overflow: hidden;
}

.yt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-text {
    display: flex;
    flex-direction: column;
}

.yt-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #f1f1f1;
}

.yt-channel {
    font-size: 0.85rem;
    color: #aaaaaa;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.yt-channel:hover {
    color: #ffffff;
}

.verified-badge {
    font-size: 0.75rem;
    color: #aaaaaa;
}

.yt-meta {
    font-size: 0.85rem;
    color: #aaaaaa;
}

/* =========================================
   AI & INTEGRATIONS SECTION
   ========================================= */
.ai-section {
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(116, 39, 116, 0.06), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 188, 242, 0.06), transparent 50%);
    pointer-events: none;
}

.ai-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.ai-philosophy-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.ai-philosophy-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 188, 242, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 188, 242, 0.08);
}

.ai-card-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: ai-glow-pulse 4s ease-in-out infinite;
}

.ai-glow-blue {
    background: rgba(0, 120, 212, 0.4);
}

.ai-glow-purple {
    background: rgba(116, 39, 116, 0.4);
}

.ai-glow-teal {
    background: rgba(0, 130, 114, 0.4);
}

.ai-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 188, 242, 0.08);
    border: 1px solid rgba(0, 188, 242, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--copilot-cyan);
    margin-bottom: 1.2rem;
    transition: var(--transition-smooth);
}

.ai-philosophy-card:hover .ai-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.ai-card-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--copilot-cyan);
    background: rgba(0, 188, 242, 0.1);
    border: 1px solid rgba(0, 188, 242, 0.2);
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.ai-philosophy-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.ai-philosophy-card>p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.ai-card-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.83rem;
    color: var(--text-secondary);
}

.ai-feature i {
    color: var(--dataverse-green);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Integration Map */
.integration-map {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
}

.integration-map-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.integration-map-header i {
    font-size: 1.3rem;
    color: var(--copilot-cyan);
}

.integration-map-header h3 {
    font-size: 1.2rem;
}

.integration-flow-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.integration-node-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(116, 39, 116, 0.1));
    border: 2px solid rgba(0, 188, 242, 0.3);
    border-radius: 50px;
    font-weight: 700;
    color: var(--copilot-cyan);
}

.integration-node-center i {
    font-size: 1.8rem;
}

.integration-connections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.integration-branch {
    text-align: center;
}

.integration-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
}

.integration-node:hover {
    border-color: rgba(0, 188, 242, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.integration-node i {
    font-size: 1.5rem;
    color: var(--copilot-cyan);
}

.integration-node span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.integration-sub-nodes {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.integration-sub {
    font-size: 0.72rem;
    color: var(--text-secondary);
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.integration-sub:hover {
    background: rgba(0, 188, 242, 0.06);
    border-color: rgba(0, 188, 242, 0.2);
    color: var(--text-primary);
}

/* =========================================
   RESUME SECTION
   ========================================= */
.resume-section {
    position: relative;
    overflow: hidden;
}

.resume-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 120, 212, 0.05), transparent 50%);
    pointer-events: none;
}

.resume-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.resume-preview-container {
    position: relative;
}

.resume-preview-frame {
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(0, 120, 212, 0.15);
}

.resume-embed-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    background: #1a1a2e;
}

.resume-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.resume-overlay-fallback {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #0d0d1a);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.resume-overlay-fallback i {
    font-size: 4rem;
    color: var(--powerautomate-blue);
    opacity: 0.6;
}

.resume-overlay-fallback p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.resume-overlay-fallback span {
    font-size: 0.9rem;
}

.resume-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.resume-info-card h3 i {
    color: var(--powerautomate-blue);
}

.resume-info-card>p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.resume-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.resume-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.resume-highlight-item:hover {
    border-color: rgba(0, 120, 212, 0.2);
    transform: translateX(5px);
}

.resume-highlight-item i {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.resume-download-btn {
    width: 100%;
    justify-content: center;
}

/* =========================================
   GOVERNANCE SECTION
   ========================================= */
.gov-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gov-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-smooth);
    text-align: center;
}

.gov-card:hover {
    border-color: rgba(0, 120, 212, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-blue);
}

.gov-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 120, 212, 0.08);
    border: 1px solid rgba(0, 120, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.3rem;
    color: var(--copilot-cyan);
}

.gov-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.gov-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================
   LICENSING SECTION
   ========================================= */
.licensing-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.licensing-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.license-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.license-item:hover {
    border-color: rgba(16, 124, 65, 0.3);
    transform: translateX(5px);
}

.license-item i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.license-item strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.license-item p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}

/* =========================================
   ROADMAP / DELIVERY SECTION
   ========================================= */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg,
            var(--powerapps-purple),
            var(--powerautomate-blue),
            var(--powerpages-teal),
            var(--dataverse-green),
            var(--powerbi-yellow),
            var(--copilot-cyan),
            var(--powerautomate-blue));
    opacity: 0.3;
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--powerautomate-blue);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    transition: var(--transition-smooth);
}

.process-step:hover .step-icon {
    background: rgba(0, 120, 212, 0.15);
    border-color: rgba(0, 120, 212, 0.4);
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.2);
    animation: step-glow 2s ease-in-out infinite;
}

/* Waving Hand Animation */
@keyframes wave-hand {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.wave-icon {
    animation: wave-hand 2.5s infinite;
}

@keyframes typing-text-anim {
    from {
        width: 0;
    }

    to {
        width: 44ch;
    }
}

@keyframes blink-caret-anim {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--copilot-cyan);
    }
}

@keyframes fade-in-wave {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.process-step h4 {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.process-step p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =========================================
   INSIGHTS SECTION
   ========================================= */
.insights-section {
    position: relative;
    overflow: hidden;
}

.insights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 120, 212, 0.06), transparent 60%);
    pointer-events: none;
}

.news-ticker {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 120, 212, 0.06);
    border: 1px solid rgba(0, 120, 212, 0.15);
    border-radius: 30px;
    margin-bottom: 3rem;
    overflow: hidden;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.news-ticker-badge {
    background: var(--powerautomate-blue);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-ticker-text {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
}

.news-ticker-text span {
    display: inline-block;
    animation: ticker-slide 20s linear infinite;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.insight-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.insight-card:hover {
    border-color: rgba(0, 120, 212, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.insight-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.insight-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 120, 212, 0.1);
    border: 1px solid rgba(0, 120, 212, 0.15);
}

.insight-icon img {
    width: 24px;
    height: 24px;
}

.insight-icon i {
    font-size: 1.1rem;
    color: var(--copilot-cyan);
}

.insight-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
}

.badge-ga {
    background: rgba(0, 120, 212, 0.15);
    color: var(--copilot-cyan);
    border: 1px solid rgba(0, 120, 212, 0.25);
}

.badge-new {
    background: rgba(16, 124, 65, 0.2);
    color: #4dc57e;
    border: 1px solid rgba(16, 124, 65, 0.3);
}

.badge-latest {
    background: rgba(250, 186, 15, 0.15);
    color: var(--powerbi-yellow);
    border: 1px solid rgba(250, 186, 15, 0.25);
}

.insight-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.insight-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* =========================================
   ARTICLES SECTION (within Insights)
   ========================================= */
.articles-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.articles-header {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.articles-header i {
    color: var(--powerautomate-blue);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.article-card:hover {
    border-color: rgba(0, 120, 212, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
}

.article-source {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--copilot-cyan);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-card p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}

.article-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--powerautomate-blue);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.article-card:hover .article-link {
    color: var(--copilot-cyan);
    gap: 0.6rem;
}

/* =========================================
   CONTACT & CTA SECTION
   ========================================= */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 120, 212, 0.03), transparent);
    pointer-events: none;
}

.final-cta-header {
    margin-bottom: 4rem;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff, #c7d2fe, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: var(--powerautomate-blue);
}

.contact-item a {
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: white;
}

.contact-availability {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(16, 124, 65, 0.06);
    border: 1px solid rgba(16, 124, 65, 0.15);
    border-radius: 10px;
    color: #4dc57e;
    font-size: 0.9rem;
    font-weight: 600;
}

.availability-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4dc57e;
    animation: availability-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: rgba(0, 120, 212, 0.5);
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tiny-text {
    font-size: 0.8rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--powerautomate-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: #005a9e;
    color: white;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1200px) {
    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .process-timeline::before {
        display: none;
    }

    .ai-philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integration-connections {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-path-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-article-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ecosystem-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gov-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .orbit-icon {
        display: none;
    }

    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
    }

    .resume-showcase {
        grid-template-columns: 1fr;
    }

    .ai-philosophy-grid {
        grid-template-columns: 1fr;
    }

    .cert-path-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-article-cards {
        grid-template-columns: 1fr;
    }

    .youtube-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .gov-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosystem-cards {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hero-cta {
        flex-wrap: wrap;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .loading-logo-grid {
        grid-template-columns: repeat(3, 52px);
        gap: 12px;
    }

    .loading-logo-item {
        width: 52px;
        height: 52px;
    }

    .loading-logo-item img {
        width: 28px;
        height: 28px;
    }

    .loading-text {
        font-size: 1.1rem;
    }

    .scroll-indicator {
        display: none;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
    
    body, a, button, input, textarea, select {
        cursor: auto !important;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .contact-grid {
        gap: 3rem;
    }

    .integration-connections {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .cert-path-grid {
        grid-template-columns: 1fr;
    }

    .story-timeline {
        padding-left: 30px;
    }

    .featured-article-cards {
        grid-template-columns: 1fr;
    }

    .featured-article {
        padding: 1.5rem;
    }

    .cert-learning-path {
        padding: 1.5rem;
    }

    .resume-embed-wrapper {
        height: 400px;
    }

    .story-timeline {
        padding-left: 30px;
    }

    .story-chapter-marker {
        left: -30px;
    }

    .tips-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tips-tab {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .enterprise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .loading-logo-grid {
        grid-template-columns: repeat(3, 44px);
        gap: 8px;
    }

    .loading-logo-item {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .loading-logo-item img {
        width: 24px;
        height: 24px;
    }

    .metric-card {
        padding: 1.2rem 0.8rem;
    }

    .metric-card h3 {
        font-size: 2.2rem;
    }

    .metric-card .plus-sign {
        font-size: 2.2rem;
    }

    .integration-connections {
        grid-template-columns: 1fr;
    }

    .resume-embed-wrapper {
        height: 300px;
    }

    .story-timeline {
        padding-left: 20px;
    }

    .story-chapter-marker {
        left: -20px;
    }

    .story-year {
        font-size: 0.6rem;
    }

    .story-dot {
        width: 10px;
        height: 10px;
    }

    .tips-tabs {
        gap: 0.4rem;
    }

    .tips-tab {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }

    .tips-tab img {
        display: none;
    }

    .tip-card {
        padding: 1.2rem;
    }

    .tip-code {
        font-size: 0.7rem;
    }
}

/* ============================================================
   TIPS & TRICKS SECTION
   ============================================================ */
.tips-section {
    position: relative;
}

.tips-tabs {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.tips-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tips-tab img {
    width: 16px;
    height: 16px;
}

.tips-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.tips-tab.active {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.2), rgba(116, 39, 116, 0.2));
    border-color: rgba(0, 120, 212, 0.5);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.15);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 120, 212, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tip-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.tip-card:hover::before {
    opacity: 1;
}

.tip-card.hidden {
    display: none;
}

.tip-card.tip-extra {
    display: none;
}

.tips-grid.expanded .tip-card.tip-extra,
.tips-grid.filter-active .tip-card.tip-extra:not(.hidden) {
    display: block;
}

.tips-show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(0, 120, 212, 0.4);
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(116, 39, 116, 0.1));
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tips-show-more-btn:hover {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.2), rgba(116, 39, 116, 0.2));
    border-color: rgba(0, 120, 212, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.2);
}

.tips-btn-icon {
    transition: transform 0.3s ease;
}

.tips-show-more-btn.expanded .tips-btn-icon {
    transform: rotate(180deg);
}

.tip-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.tip-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-icon img {
    width: 24px;
    height: 24px;
}

.tip-icon-purple {
    background: rgba(116, 39, 116, 0.15);
}

.tip-icon-blue {
    background: rgba(0, 120, 212, 0.15);
}

.tip-icon-yellow {
    background: rgba(250, 186, 15, 0.15);
}

.tip-icon-teal {
    background: rgba(0, 130, 114, 0.15);
}

.tip-icon-cyan {
    background: rgba(0, 188, 242, 0.15);
}

.tip-icon-green {
    background: rgba(16, 124, 65, 0.15);
}

.tip-badge {
    font-size: 0.68rem;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tip-badge-performance {
    background: rgba(0, 188, 242, 0.12);
    color: #00bcf2;
    border: 1px solid rgba(0, 188, 242, 0.2);
}

.tip-badge-bestpractice {
    background: rgba(250, 186, 15, 0.12);
    color: #faba0f;
    border: 1px solid rgba(250, 186, 15, 0.2);
}

.tip-badge-trick {
    background: rgba(116, 39, 116, 0.15);
    color: #c77dff;
    border: 1px solid rgba(116, 39, 116, 0.3);
}

/* New badge styles for expanded categories */
.tip-badge-resource {
    background: rgba(255, 140, 50, 0.12);
    color: #ff9f43;
    border: 1px solid rgba(255, 140, 50, 0.25);
}

.tip-badge-essential {
    background: rgba(255, 107, 107, 0.12);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.25);
}

.tip-badge-community {
    background: rgba(72, 199, 142, 0.12);
    color: #48c78e;
    border: 1px solid rgba(72, 199, 142, 0.25);
}

.tip-badge-strategy {
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.tip-badge-advice {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.tip-badge-growth {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.tip-badge-protip {
    background: rgba(244, 114, 182, 0.12);
    color: #f472b6;
    border: 1px solid rgba(244, 114, 182, 0.25);
}

.tip-badge-tooling {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.tip-badge-efficiency {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.tip-badge-discipline {
    background: rgba(20, 184, 166, 0.12);
    color: #2dd4bf;
    border: 1px solid rgba(20, 184, 166, 0.25);
}

.tip-badge-mindset {
    background: rgba(192, 132, 252, 0.12);
    color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.25);
}

.tip-badge-curated {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.tip-badge-bookmark {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.tip-badge-future {
    background: rgba(6, 182, 212, 0.12);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.tip-badge-design {
    background: rgba(236, 72, 153, 0.12);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.25);
}

/* New icon color variants */
.tip-icon-orange {
    background: rgba(255, 140, 50, 0.15);
    color: #ff9f43;
}

.tip-icon-indigo {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.tip-icon-pink {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
}

.tip-icon-red {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.tip-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
    line-height: 1.3;
}

.tip-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.tip-card code {
    background: rgba(0, 120, 212, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #6db3f2;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
}

.tip-code {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1rem;
    overflow-x: auto;
    position: relative;
}

.tip-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 120, 212, 0.3), rgba(116, 39, 116, 0.3), rgba(0, 188, 242, 0.3));
}

.tip-code code {
    display: block;
    background: none;
    padding: 0;
    font-size: 0.78rem;
    line-height: 1.6;
    white-space: pre;
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   ENTERPRISE READINESS SECTION (Merged Gov + Licensing)
   ============================================================ */
.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.enterprise-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.enterprise-card:hover {
    border-color: rgba(0, 120, 212, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.enterprise-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.15), rgba(116, 39, 116, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.4rem;
    color: var(--ms-blue);
    transition: all 0.3s ease;
}

.enterprise-card:hover .enterprise-icon {
    transform: scale(1.1) rotate(5deg);
}

.enterprise-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.enterprise-card p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .enterprise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- PREMIUM HERO GRID OUTSIDE OF INLINE HTML --- */
.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 2rem;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-text-col .hero-title,
.hero-text-col .hero-text {
    text-align: left;
}

.hero-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.portrait-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    border: 4px solid rgba(0, 188, 242, 0.2);
    z-index: 2;
}

.tip-badge-curated {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.tip-badge-bookmark {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.tip-badge-future {
    background: rgba(6, 182, 212, 0.12);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.tip-badge-design {
    background: rgba(236, 72, 153, 0.12);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.25);
}

/* New icon color variants */
.tip-icon-orange {
    background: rgba(255, 140, 50, 0.15);
    color: #ff9f43;
}

.tip-icon-indigo {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.tip-icon-pink {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
}

.tip-icon-red {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.tip-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
    line-height: 1.3;
}

.tip-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.tip-card code {
    background: rgba(0, 120, 212, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #6db3f2;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
}

.tip-code {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1rem;
    overflow-x: auto;
    position: relative;
}

.tip-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 120, 212, 0.3), rgba(116, 39, 116, 0.3), rgba(0, 188, 242, 0.3));
}

.tip-code code {
    display: block;
    background: none;
    padding: 0;
    font-size: 0.78rem;
    line-height: 1.6;
    white-space: pre;
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   ENTERPRISE READINESS SECTION (Merged Gov + Licensing)
   ============================================================ */
.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.enterprise-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.enterprise-card:hover {
    border-color: rgba(0, 120, 212, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.enterprise-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.15), rgba(116, 39, 116, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.4rem;
    color: var(--ms-blue);
    transition: all 0.3s ease;
}

.enterprise-card:hover .enterprise-icon {
    transform: scale(1.1) rotate(5deg);
}

.enterprise-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.enterprise-card p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .enterprise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- PREMIUM HERO GRID OUTSIDE OF INLINE HTML --- */
.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: -3rem;
    /* Pulled up significantly to utilize the empty top space */
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-text-col .hero-title,
.hero-text-col .hero-text {
    text-align: left;
}

.hero-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.portrait-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    border: 4px solid rgba(0, 188, 242, 0.2);
    z-index: 2;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
    position: relative;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.5s ease;
}

.portrait-img:hover {
    transform: scale(1.03);
    border-color: rgba(0, 188, 242, 0.6);
    box-shadow: 0 30px 60px rgba(0, 188, 242, 0.3);
}

.hero-visual-col .hero-orbit-container {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1 !important;
    pointer-events: none;
    width: 0px !important;
    height: 0px !important;
}

/* Fix for icons pooling bottom right. We mathematically force their visual center to origin 0,0! */
.portrait-wrapper .orbit-icon {
    top: 0 !important;
    left: 0 !important;
    margin-top: -24px !important;
    /* Half of 48px height */
    margin-left: -24px !important;
    /* Half of 48px width */
}

/* Tighter orbits that beautifully wrap exactly outside the 360px portrait boundary */
@keyframes orbit-tight {
    0% {
        transform: rotate(0deg) translateX(210px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(210px) rotate(-360deg);
    }
}

@keyframes orbit-tight-reverse {
    0% {
        transform: rotate(360deg) translateX(190px) rotate(-360deg);
    }

    100% {
        transform: rotate(0deg) translateX(190px) rotate(0deg);
    }
}

.portrait-wrapper .orbit-icon:nth-child(2n+1) {
    animation-name: orbit-tight !important;
}

.portrait-wrapper .orbit-icon:nth-child(2n) {
    animation-name: orbit-tight-reverse !important;
}

/* Hero Component Chips Layout */
.hero-tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
    max-width: 650px;
}

.tech-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.tech-chip img {
    width: 20px;
    height: 20px;
}

.tech-chip:hover {
    background: rgba(0, 188, 242, 0.1);
    border-color: rgba(0, 188, 242, 0.4);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 188, 242, 0.2);
}

@media (max-width: 960px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 1rem;
    }

    .hero-text-col {
        align-items: center;
        text-align: center;
        order: 2;
    }

    .hero-text-col .hero-title,
    .hero-text-col .hero-text {
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-visual-col {
        order: 1;
    }

    .portrait-wrapper {
        max-width: 250px;
        margin: 0 auto;
    }

    /* Disable orbits on mobile to prevent squishing layout issues completely */
    .hero-visual-col .hero-orbit-container {
        display: none !important;
    }

    .hero-tech-chips {
        justify-content: center;
        transform: none;
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
        width: 100%;
    }

    .hero-greeting-badge {
        margin-left: auto;
        margin-right: auto;
    }

    /* Change navigation to hamburger menu earlier (at 960px) to fix landscape overlap */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* =============================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Full coverage: all screen sizes, orientations,
   notched devices, and accessibility preferences
   ============================================= */

/* --- MOBILE NAVIGATION MENU (proper CSS) --- */
.nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(6, 7, 11, 0.97);
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: 0.4rem;
    z-index: 999;
    animation: mobileMenuSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes mobileMenuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links.mobile-open li {
    padding: 0.5rem 0;
}

.nav-links.mobile-open li a {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    display: inline-block;
}

.nav-links.mobile-open li a.btn-primary-sm {
    margin-top: 0.5rem;
    padding: 0.6rem 1.5rem;
}

/* --- SAFE AREA INSETS (notched devices like iPhone) --- */
@supports (padding: env(safe-area-inset-top)) {
    .navbar {
        padding-top: env(safe-area-inset-top);
    }

    .footer {
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }

    .back-to-top {
        bottom: calc(30px + env(safe-area-inset-bottom));
        right: calc(20px + env(safe-area-inset-right));
    }

    .loading-screen {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* --- REDUCED MOTION PREFERENCES --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll,
    .slide-left,
    .slide-right,
    .scale-up {
        opacity: 1 !important;
        transform: none !important;
    }

    .orbit-icon,
    .glow-orb,
    .loading-pulse-ring,
    .wave-icon {
        animation: none !important;
    }

    .news-ticker-text span {
        animation: none !important;
    }
}

/* =============================================
   LANDSCAPE ORIENTATION — PHONES & TABLETS
   ============================================= */
@media (orientation: landscape) and (max-height: 500px) {
    /* Hero adjustments for landscape phones */
    .hero-section {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 1.5rem;
    }

    .hero-grid-layout {
        grid-template-columns: 1.2fr 0.8fr !important;
        gap: 1.5rem;
        padding-top: 0;
        margin-top: 0;
    }

    .hero-text-col {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .hero-text-col .hero-title,
    .hero-text-col .hero-text {
        text-align: left !important;
    }

    .hero-title {
        font-size: clamp(1.4rem, 3.5vw, 2rem) !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-text {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
    }

    .hero-tech-chips {
        transform: scale(0.85) !important;
        transform-origin: left top !important;
        margin-bottom: 0.8rem !important;
    }

    .hero-cta {
        gap: 0.8rem !important;
    }

    .hero-cta .btn {
        padding: 0.6rem 1.4rem !important;
        font-size: 0.85rem !important;
    }

    .hero-greeting-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    .portrait-wrapper {
        max-width: 180px !important;
        margin-top: 0 !important;
    }

    .hero-visual-col {
        order: 2;
    }

    .scroll-indicator {
        display: none !important;
    }

    /* Loading screen in landscape */
    .loading-screen {
        flex-direction: row;
        gap: 2rem;
    }

    .loading-logo-grid {
        grid-template-columns: repeat(3, 44px);
        gap: 8px;
        margin-bottom: 0;
    }

    /* Section padding in landscape */
    .section-padding {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.6rem !important;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Reduce card sizes in landscape */
    .metrics-section {
        padding: 30px 0;
    }

    .metric-card {
        padding: 1rem 0.5rem;
    }

    .metric-card h3 {
        font-size: 2rem;
    }

    /* Back to top in landscape */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

/* Landscape for tablets */
@media (orientation: landscape) and (min-height: 501px) and (max-height: 800px) and (max-width: 1200px) {
    .hero-section {
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 2rem;
    }

    .hero-grid-layout {
        grid-template-columns: 1.1fr 0.9fr !important;
        gap: 2rem;
        margin-top: 0;
    }

    .hero-text-col {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .hero-text-col .hero-title,
    .hero-text-col .hero-text {
        text-align: left !important;
    }

    .portrait-wrapper {
        max-width: 260px;
    }

    .section-padding {
        padding: 60px 0;
    }
}

/* =============================================
   PORTRAIT ORIENTATION — SPECIFIC FIXES
   ============================================= */
@media (orientation: portrait) and (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-bottom: 2rem;
    }

    .hero-grid-layout {
        gap: 1.5rem;
        margin-top: 0;
        padding-top: 0;
    }

    .hero-visual-col {
        order: 1;
    }

    .hero-text-col {
        order: 2;
    }

    .portrait-wrapper {
        max-width: 200px;
        margin: 0 auto;
    }

    .hero-text-col {
        align-items: center;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-tech-chips {
        justify-content: center;
        transform: none;
        max-width: 100%;
    }
}

/* =============================================
   EXTRA BREAKPOINT: 820px (iPads, small tablets)
   ============================================= */
@media (max-width: 820px) and (min-width: 769px) {
    .ecosystem-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .enterprise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .arch-flow-path {
        font-size: 0.8rem;
    }

    .resume-showcase {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   BREAKPOINT: 768px — ENHANCED TABLET/MOBILE
   ============================================= */
@media (max-width: 768px) {
    /* Fix body to prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 20px;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Navigation */
    .nav-container {
        padding: 0.8rem 16px;
    }

    .nav-logo {
        font-size: 1.15rem;
        white-space: nowrap;
    }

    /* Hero section mobile */
    .hero-section {
        padding-top: 80px;
        overflow: hidden;
    }

    /* Fix glow orbs overflow */
    .hero-background {
        overflow: hidden;
    }

    .glow-orb {
        opacity: 0.2;
    }

    .orb-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        left: -80px;
    }

    .orb-2 {
        width: 350px;
        height: 350px;
        bottom: -120px;
        right: -100px;
    }

    .orb-3 {
        width: 200px;
        height: 200px;
    }

    .hero-grid-layout {
        margin-top: 0;
        padding: 0;
    }

    .hero-title {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
        line-height: 1.2;
        word-wrap: break-word;
    }

    .hero-title-sub {
        margin-top: 0.3rem;
    }

    .title-gradient-animated {
        font-size: 0.82em;
    }

    .hero-text {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-greeting-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    /* Hero CTA buttons - full width on mobile */
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .hero-cta .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 30px;
        justify-content: center;
        text-align: center;
    }

    /* Tech chips centered */
    .hero-tech-chips {
        justify-content: center;
        transform: none;
        max-width: 100%;
        gap: 0.6rem;
    }

    .tech-chip {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }

    /* Metrics */
    .metrics-section {
        padding: 40px 0;
    }

    .metric-card {
        padding: 1.5rem 0.8rem;
    }

    .metric-card h3 {
        font-size: 2.4rem;
    }

    .metric-card .plus-sign {
        font-size: 2.4rem;
    }

    .metric-card p {
        font-size: 0.72rem;
    }

    /* Story timeline */
    .story-chapter-content {
        padding: 1.2rem;
    }

    .story-chapter-content h3 {
        font-size: 1rem;
    }

    .story-chapter-content p {
        font-size: 0.88rem;
    }

    /* About section */
    .about-text p {
        font-size: 0.95rem;
    }

    .highlight-item {
        padding: 1.2rem;
        gap: 1rem;
    }

    .highlight-item i {
        font-size: 1.5rem;
    }

    .highlight-item h4 {
        font-size: 1rem;
    }

    /* Eco cards */
    .eco-card {
        padding: 1.8rem;
    }

    .eco-card p {
        font-size: 0.88rem;
    }

    /* Platform connector */
    .platform-connector {
        padding: 1.5rem;
    }

    /* Skills */
    .skill-category {
        padding: 1.2rem;
    }

    .skill-chip {
        font-size: 0.82rem;
        padding: 0.45rem 0.9rem;
    }

    /* Experience timeline */
    .timeline-item {
        padding-left: 45px;
    }

    .timeline-role {
        font-size: 1.1rem;
    }

    .timeline-company {
        font-size: 0.95rem;
    }

    .timeline-bullets li {
        font-size: 0.88rem;
    }

    /* Project cards */
    .project-image {
        height: 120px;
    }

    .project-content {
        padding: 1.4rem;
    }

    .project-content h3 {
        font-size: 1.1rem;
    }

    .project-content p {
        font-size: 0.85rem;
    }

    /* Architecture */
    .arch-diagram {
        padding: 1.5rem;
    }

    .arch-flow {
        padding: 1rem;
    }

    .arch-flow-path {
        font-size: 0.78rem;
        gap: 0.3rem;
    }

    .arch-node {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
    }

    .arch-node img {
        width: 13px;
        height: 13px;
    }

    .arch-flow-label {
        font-size: 0.9rem;
    }

    /* Certifications */
    .cert-card {
        padding: 1.5rem;
    }

    .cert-card h4 {
        font-size: 1rem;
    }

    .cert-detail {
        font-size: 0.85rem;
    }

    /* Cert learning path */
    .cert-path-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .cert-path-title {
        font-size: 1.15rem;
    }

    .cert-path-card {
        padding: 1.2rem;
    }

    .cert-path-desc {
        font-size: 0.78rem;
    }

    /* AI Philosophy */
    .ai-philosophy-card {
        padding: 1.8rem 1.5rem;
    }

    .ai-philosophy-card h3 {
        font-size: 1.1rem;
    }

    .ai-philosophy-card > p {
        font-size: 0.85rem;
    }

    .ai-feature {
        font-size: 0.8rem;
    }

    /* Integration map */
    .integration-map {
        padding: 1.5rem;
    }

    .integration-node-center {
        padding: 1rem 1.5rem;
    }

    .integration-node-center i {
        font-size: 1.4rem;
    }

    .integration-node {
        padding: 0.8rem;
    }

    .integration-node span {
        font-size: 0.75rem;
    }

    .integration-sub {
        font-size: 0.68rem;
    }

    /* Contact section */
    .cta-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }

    .cta-title br {
        display: none;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-input {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    /* Resume */
    .resume-embed-wrapper {
        height: 350px;
    }

    .resume-info-card h3 {
        font-size: 1.15rem;
    }

    /* Insights grid */
    .insight-card {
        padding: 1.4rem;
    }

    .insight-card h4 {
        font-size: 0.95rem;
    }

    .insight-card p {
        font-size: 0.82rem;
    }

    /* Articles */
    .article-card {
        padding: 1.2rem;
    }

    .article-card h4 {
        font-size: 0.92rem;
    }

    .article-card p {
        font-size: 0.78rem;
    }

    /* YouTube cards */
    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .yt-title {
        font-size: 0.95rem;
    }

    .yt-channel,
    .yt-meta {
        font-size: 0.8rem;
    }

    /* Enterprise */
    .enterprise-card {
        padding: 1.5rem 1rem;
    }

    .enterprise-card p {
        font-size: 0.78rem;
    }

    /* Roadmap process */
    .step-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .process-step h4 {
        font-size: 0.88rem;
    }

    .process-step p {
        font-size: 0.72rem;
    }

    /* News ticker */
    .news-ticker {
        max-width: 100%;
        border-radius: 16px;
        padding: 0.6rem 1rem;
    }

    .news-ticker-text span {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 0;
    }

    .footer p {
        font-size: 0.82rem;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
    }

    /* Image aura effect */
    .image-aura {
        display: none;
    }

    /* Developer Knowledge Hub / Tips Section */
    .tips-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
    }

    /* Enterprise Readiness Section */
    .enterprise-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
    }
    
    .enterprise-card {
        padding: 1.5rem 1.2rem;
    }
}

/* =============================================
   BREAKPOINT: 600px — SMALL PHONES
   ============================================= */
@media (max-width: 600px) {
    .section-title {
        font-size: 1.6rem !important;
    }

    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-label {
        font-size: 0.7rem;
        padding: 0.3rem 0.9rem;
        letter-spacing: 2px;
    }

    /* Story timeline */
    .story-timeline {
        padding-left: 25px;
    }

    .story-timeline::before {
        left: 13px;
    }

    .story-chapter-marker {
        left: -25px;
    }

    .story-chapter {
        gap: 1rem;
    }

    /* Metrics grid 2 cols tighter */
    .metrics-grid {
        gap: 0.6rem;
    }

    /* Architecture arrows flow vertical */
    .arch-flow-path {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .arch-flow-path .arrow {
        transform: rotate(90deg);
        display: inline-block;
        margin-left: 1rem;
    }

    /* Contact grid */
    .contact-availability {
        font-size: 0.82rem;
        padding: 0.6rem 1rem;
    }

    /* Tips filter tabs scrollable */
    .tips-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.5rem;
    }

    .tips-tabs::-webkit-scrollbar {
        display: none;
    }

    .tips-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* YouTube grid single column */
    .youtube-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   BREAKPOINT: 480px — VERY SMALL PHONES
   ============================================= */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Hero */
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem) !important;
    }

    .hero-text {
        font-size: 0.88rem !important;
    }

    .hero-tech-chips {
        gap: 0.5rem !important;
        transform: scale(0.85) !important;
    }

    .tech-chip {
        font-size: 0.78rem;
        padding: 0.4rem 0.7rem;
    }

    .tech-chip img {
        width: 16px;
        height: 16px;
    }

    .hero-cta {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.8rem !important;
    }

    .hero-cta .btn {
        width: 100% !important;
        justify-content: center;
        padding: 0.8rem 1.2rem !important;
        font-size: 0.9rem !important;
    }

    .portrait-wrapper {
        max-width: 180px;
    }

    /* Section padding */
    .section-padding {
        padding: 50px 0;
    }

    /* Section titles */
    .section-title {
        font-size: 1.5rem !important;
    }

    .cta-title {
        font-size: 1.5rem !important;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    /* Metric cards */
    .metric-card h3 {
        font-size: 2rem;
    }

    .metric-card .plus-sign {
        font-size: 2rem;
    }

    .metric-card p {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
    }

    /* Experience */
    .timeline-item {
        padding-left: 35px;
    }

    .timeline-dot {
        left: 12px;
        width: 14px;
        height: 14px;
    }

    .timeline-line {
        left: 18px;
    }

    .timeline-role {
        font-size: 1rem;
    }

    .timeline-content.glass-card {
        padding: 1.2rem;
    }

    /* Project cards */
    .project-image {
        height: 100px;
    }

    .project-content {
        padding: 1.2rem;
    }

    .project-content h3 {
        font-size: 1rem;
    }

    /* About highlights */
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .highlight-item i {
        margin: 0 auto;
    }

    /* Cert path cards */
    .cert-path-card h4 {
        font-size: 1.1rem;
    }

    /* Integration map */
    .integration-connections {
        grid-template-columns: 1fr !important;
    }

    .integration-node-center {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Resume */
    .resume-embed-wrapper {
        height: 280px;
    }

    .resume-highlight-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.82rem;
    }

    /* Contact */
    .contact-item {
        font-size: 0.85rem;
    }

    .contact-form h3 {
        font-size: 1.1rem;
    }

    /* Developer Knowledge Hub / Tips Section */
    .tip-card {
        padding: 1.2rem;
    }

    .tip-card-header {
        margin-bottom: 0.8rem;
    }

    .tip-card h4 {
        font-size: 1.05rem;
    }

    .tip-card p {
        font-size: 0.85rem;
    }

    .tip-code {
        padding: 0.8rem;
    }

    .tip-code code {
        font-size: 0.75rem;
    }


    /* Footer */
    .tiny-text {
        font-size: 0.72rem;
    }

    /* Loading */
    .loading-text {
        font-size: 0.95rem;
    }

    .loading-subtext {
        font-size: 0.78rem;
    }
}

/* =============================================
   BREAKPOINT: 380px — EXTRA SMALL (Galaxy Fold, etc)
   ============================================= */
@media (max-width: 380px) {
    .container {
        padding: 0 10px;
    }

    .nav-logo {
        font-size: 1.15rem;
    }

    .hero-title {
        font-size: 1.4rem !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    .cta-title {
        font-size: 1.3rem !important;
    }

    .hero-text {
        font-size: 0.82rem !important;
    }

    .hero-greeting-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .portrait-wrapper {
        max-width: 150px;
    }

    .metrics-grid {
        grid-template-columns: 1fr !important;
    }

    .metric-card {
        padding: 1.2rem;
    }

    .story-chapter-content {
        padding: 1rem;
    }

    .story-chapter-content h3 {
        font-size: 0.95rem;
    }

    .story-chapter-content p {
        font-size: 0.82rem;
    }

    .eco-card {
        padding: 1.5rem 1.2rem;
    }

    .skill-chip {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }

    /* Developer Knowledge Hub / Tips Section */
    .tip-card h4 {
        font-size: 0.95rem;
    }

    .tip-code {
        padding: 0.6rem;
    }

    .tip-code code {
        font-size: 0.7rem;
    }

    .tips-tab {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }

    .loading-logo-grid {
        grid-template-columns: repeat(3, 38px);
        gap: 6px;
    }

    .loading-logo-item {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .loading-logo-item img {
        width: 20px;
        height: 20px;
    }

    .loading-text {
        font-size: 0.85rem;
    }

    .back-to-top {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        bottom: 15px;
        right: 12px;
    }
}

/* =============================================
   LARGE SCREENS / ULTRA-WIDE (2K+)
   ============================================= */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }

    .hero-grid-layout {
        max-width: 1400px;
    }

    .section-title {
        font-size: 3.2rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 4.5vw, 4rem) !important;
    }

    .section-padding {
        padding: 120px 0;
    }
}

@media (min-width: 2000px) {
    .container {
        max-width: 1600px;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .section-subtitle {
        font-size: 1.3rem;
        max-width: 750px;
    }
}

/* =============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================= */
@media (hover: none) and (pointer: coarse) {
    /* Disable custom cursor on touch */
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body, a, button, input, textarea, select {
        cursor: auto !important;
    }

    /* Disable hover transforms that feel jarring on touch */
    .project-card:hover,
    .eco-card:hover,
    .metric-card:hover,
    .insight-card:hover,
    .cert-card:hover,
    .cert-path-card:hover,
    .ai-philosophy-card:hover,
    .enterprise-card:hover,
    .highlight-item:hover,
    .glass-card:hover {
        transform: none;
    }

    /* Make tap targets at least 44px */
    .tips-tab {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .btn {
        min-height: 44px;
    }

    .nav-links li a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .hamburger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Scroll hint for horizontal overflow areas */
    .arch-flow-path {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .tip-code {
        -webkit-overflow-scrolling: touch;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .loading-screen,
    .cursor-dot,
    .cursor-ring,
    .scroll-progress-container,
    .noise-overlay,
    .back-to-top,
    .hamburger,
    #webgl-canvas,
    .hero-background,
    .hero-orbit-container,
    .image-aura {
        display: none !important;
    }

    body {
        background: white !important;
        color: #000 !important;
    }

    .section-padding {
        padding: 30px 0 !important;
    }

    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a {
        text-decoration: underline;
    }

    .section-title {
        -webkit-text-fill-color: #000 !important;
    }
}

/* =============================================
   HIGH CONTRAST MODE
   ============================================= */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(255, 255, 255, 0.3);
        --text-secondary: #d1d5db;
        --text-muted: #9ca3af;
    }

    .glass-card,
    .eco-card,
    .project-card,
    .cert-card,
    .insight-card,
    .enterprise-card,
    .ai-philosophy-card,
    .tip-card {
        border-width: 2px;
    }

    .btn-primary {
        border: 2px solid white;
    }

    .btn-secondary {
        border-width: 2px;
    }
}