/*
Theme Name: Numan Iftikhar Portfolio
Theme URI: https://numaniftikhar.com
Author: Numan Iftikhar
Author URI: https://numaniftikhar.com
Description: Professional portfolio theme for Numan Iftikhar - Senior Multi-Cloud DevOps Engineer
Version: 6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: numan-portfolio
*/

/* ============================================
   PORTFOLIO WEBSITE - NUMAN IFTIKHAR
   Senior DevOps, MLOps & AI Platform Engineer
   Dark Theme - Indigo/Teal
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary: #1a1c23;
    --accent: #6366f1;
    --accent-light: #a5b4fc;
    --bg-dark: #0a0b0f;
    --bg-surface: #111318;
    --bg-card: #15171d;
    --bg-card-hover: #1c1f27;
    --text-primary: #e9eaee;
    --text-secondary: #9aa0ac;
    --text-muted: #676d79;
    --border: #23262e;
    --border-light: #313540;
    --gcp-color: #4285f4;
    --aws-color: #f0a827;
    --azure-color: #3aa0f3;
    --terraform-color: #9161d4;
    --success: #22c55e;
    --ai-accent: #2dd4bf;
    --purple-accent: #a855f7;
    --amber-accent: #d97706;
    --gradient-brand: linear-gradient(135deg, #6366f1 0%, #2dd4bf 100%);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-glow-brand: 0 10px 30px rgba(99, 102, 241, 0.28);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

::selection {
    background: rgba(79, 70, 229, 0.18);
    color: var(--text-primary);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

ul, ol { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Preloader --- */
#preloader,
.loader,
.loader-ring,
#scrollProgress {
    display: none !important;
}

/* --- Scroll Progress Bar --- */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-brand);
    z-index: 10001;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

@media (prefers-reduced-motion: reduce) {
    #scrollProgress { transition: none; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-accent:hover::before {
    left: 120%;
}

@media (prefers-reduced-motion: reduce) {
    .btn-accent::before { transition: none; display: none; }
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.btn-accent {
    background: var(--gradient-brand);
    color: #04110d;
    font-weight: 700;
}

.btn-accent:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-brand);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 11, 15, 0.95);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-bracket {
    color: var(--primary);
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.logo:hover .logo-bracket:first-child { transform: translateX(-2px); color: var(--ai-accent); }
.logo:hover .logo-bracket:last-child { transform: translateX(2px); color: var(--ai-accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    position: relative;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(79, 70, 229, 0.08);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: var(--bg-dark);
}

#hero::before,
#hero::after {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    #hero::before, #hero::after { animation: none; }
}

.hero-particles,
.particle {
    display: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.availability-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(79, 70, 229, 0.6);
}

.hero-greeting {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, var(--text-primary) 20%, var(--primary-light) 60%, var(--ai-accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .hero-name { animation: none; background-position: 0% 50%; }
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 20px;
    min-height: 40px;
}

.hero-title-prefix {
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-title-typed {
    color: var(--primary);
    font-weight: 700;
}

.typed-cursor {
    display: none;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 24px;
}

/* Hero Metrics */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-metric {
    text-align: center;
    flex: 1;
}

.metric-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-metric-divider {
    width: 1px;
    height: 36px;
    background: var(--border-light);
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-social {
    display: flex;
    gap: 10px;
}

.hero-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.hero-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(79, 70, 229, 0.06);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual {
    flex-direction: column;
    gap: 20px;
}

.hero-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.hero-profile-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    z-index: 1;
    border: 1px solid var(--border-light);
    filter: grayscale(15%);
}

.hero-image-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 2px solid var(--primary);
    z-index: 2;
}

.corner-tl {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 6px;
}

.corner-br {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 6px;
    animation-delay: 1.5s;
}

@media (prefers-reduced-motion: reduce) {
    .hero-image-wrapper, .hero-image-corner { animation: none; }
}

.hero-stack-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
}

.stack-prompt { color: var(--primary); font-weight: 600; }
.stack-sep { color: var(--text-muted); margin-right: 2px; }

.stack-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stack-item i { color: var(--text-muted); font-size: 0.85rem; }

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-scroll i { transform: translateY(0); }

/* --- Animation Classes --- */
.animate-fade-up {
    opacity: 1;
    transform: none;
}

.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Staggered reveal for grid items */
.skills-grid > .reveal:nth-child(1),
.projects-grid > .reveal:nth-child(1),
.certs-grid > .reveal:nth-child(1),
.services-grid > .reveal:nth-child(1),
.why-grid > .reveal:nth-child(1),
.testimonials-grid > .reveal:nth-child(1),
.blog-grid > .reveal:nth-child(1),
.roadmap-grid > .reveal:nth-child(1) { transition-delay: 0s; }

.skills-grid > .reveal:nth-child(2),
.projects-grid > .reveal:nth-child(2),
.certs-grid > .reveal:nth-child(2),
.services-grid > .reveal:nth-child(2),
.why-grid > .reveal:nth-child(2),
.testimonials-grid > .reveal:nth-child(2),
.blog-grid > .reveal:nth-child(2),
.roadmap-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }

.skills-grid > .reveal:nth-child(3),
.projects-grid > .reveal:nth-child(3),
.certs-grid > .reveal:nth-child(3),
.services-grid > .reveal:nth-child(3),
.why-grid > .reveal:nth-child(3),
.testimonials-grid > .reveal:nth-child(3),
.blog-grid > .reveal:nth-child(3),
.roadmap-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }

.skills-grid > .reveal:nth-child(4),
.projects-grid > .reveal:nth-child(4),
.certs-grid > .reveal:nth-child(4),
.services-grid > .reveal:nth-child(4),
.why-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }

.projects-grid > .reveal:nth-child(5),
.certs-grid > .reveal:nth-child(5),
.services-grid > .reveal:nth-child(5),
.why-grid > .reveal:nth-child(5) { transition-delay: 0.32s; }

.projects-grid > .reveal:nth-child(6),
.certs-grid > .reveal:nth-child(6),
.services-grid > .reveal:nth-child(6),
.why-grid > .reveal:nth-child(6) { transition-delay: 0.4s; }

.certs-grid > .reveal:nth-child(7) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.active { transition: none; }
    .animate-fade-up { animation: none; opacity: 1; transform: none; }
}

/* --- Trusted By Strip --- */
#trusted-by {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.trusted-label {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 20px;
}

.trusted-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.trusted-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;
    padding-right: 40px;
}

.trusted-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

@media (prefers-reduced-motion: reduce) {
    .trusted-track { animation: none; }
    .trusted-marquee { overflow-x: auto; }
}

.trusted-item i {
    font-size: 1.4rem;
}

.trusted-item:hover {
    color: var(--primary);
}

/* --- Section Styles --- */
section {
    padding: 100px 0;
    position: relative;
}

section:nth-child(odd) { background: var(--bg-dark); }
section:nth-child(even) { background: var(--bg-surface); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    color: var(--accent);
    font-size: 0.82rem;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-line {
    width: 50px;
    height: 3px;
    background: var(--gradient-brand);
    margin: 0 auto;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.section-header.reveal.active .section-line {
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    .section-line { transform: scaleX(1); transition: none; }
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.about-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 32px;
}

.stat-card {
    text-align: center;
    padding: 20px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
}

.stat-number.counted {
    animation: stat-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes stat-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .stat-number.counted { animation: none; }
}

.stat-plus {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child { border-bottom: none; }

.info-item i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.info-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.info-value.available { color: var(--accent); }

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.2rem;
    margin-bottom: 18px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.12) rotate(-4deg);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-includes {
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.service-includes li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.service-includes li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.7rem;
}

/* How I Work */
.how-i-work {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.how-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.how-title i { color: var(--primary); }

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.process-step {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--bg-dark);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.process-step h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.process-step p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.process-arrow {
    color: var(--border-light);
    font-size: 1rem;
    flex-shrink: 0;
}

/* --- Skills Section --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
}

.skill-card:hover::after { opacity: 1; }

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.skill-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-card:hover .skill-icon {
    transform: scale(1.12) rotate(-4deg);
}

.skill-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
}

.skill-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tags span {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.skill-tags span:hover {
    transform: translateY(-2px);
    background: var(--primary);
    color: #fff;
}

.skill-card.ai .skill-icon {
    background: rgba(13, 148, 136, 0.1);
    color: var(--ai-accent);
}

.skill-card.ai::after { background: var(--gradient-brand); }

.skill-card.ai:hover { border-color: rgba(45, 212, 191, 0.4); }

.skills-explore {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(79, 70, 229, 0.04);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius);
    padding: 18px 22px;
}

.skills-explore i {
    color: var(--text-muted);
    margin-top: 3px;
    flex-shrink: 0;
}

.skills-explore p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

.skills-explore strong { color: var(--text-primary); }

/* --- MLOps Focus Banner --- */
#mlops-focus {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(45, 212, 191, 0.05));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
    position: relative;
}

.mlops-focus-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.mlops-focus-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 10px 0 16px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.mlops-focus-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* --- Experience / Timeline --- */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 3px solid var(--bg-dark);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.timeline-item.reveal {
    transform: translateX(-30px);
}

.timeline-item.reveal.active {
    transform: translateX(0);
}

.timeline-item.reveal .timeline-dot {
    animation: none;
}

.timeline-item.reveal.active .timeline-dot {
    animation: dot-ping 1.5s ease-out 0.3s 1;
}

@keyframes dot-ping {
    0% { box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15); }
    50% { box-shadow: 0 0 0 9px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15); }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-item.reveal.active .timeline-dot { animation: none; }
}

.timeline-date { margin-bottom: 10px; }

.timeline-date span {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
}

.timeline-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-header .company {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-header .location {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.timeline-header .location i { margin-right: 4px; }

.timeline-details { list-style: none; padding: 0; }

.timeline-details li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

.timeline-details li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-family: monospace;
}

.timeline-details li strong { color: var(--text-primary); }

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.timeline-tags span {
    padding: 3px 10px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
}

/* --- Certifications Section --- */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
}

.cert-card:hover::before { opacity: 1; }

.cert-card.gcp::before { background: #4285f4; }
.cert-card.aws-cert::before { background: #ff9900; }
.cert-card.azure-cert::before { background: #00bcf2; }
.cert-card.terraform::before { background: #7b42bc; }

.cert-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cert-card:hover .cert-icon {
    transform: scale(1.12) rotate(-4deg);
}

.cert-card.gcp .cert-icon { background: rgba(66, 133, 244, 0.08); color: var(--gcp-color); }
.cert-card.aws-cert .cert-icon { background: rgba(255, 153, 0, 0.08); color: var(--aws-color); }
.cert-card.azure-cert .cert-icon { background: rgba(0, 188, 242, 0.08); color: var(--azure-color); }
.cert-card.terraform .cert-icon { background: rgba(123, 66, 188, 0.08); color: var(--terraform-color); }
.cert-card.other .cert-icon { background: rgba(79, 70, 229, 0.08); color: var(--primary); }

.cert-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}

.cert-provider {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Why Hire Me Section --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
}

.why-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 3.5rem;
    color: rgba(79, 70, 229, 0.06);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: 0.8rem;
    display: inline-block;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card.reveal.active .testimonial-stars i {
    transform: scale(1);
}

.testimonial-stars i:nth-child(1) { transition-delay: 0.05s; }
.testimonial-stars i:nth-child(2) { transition-delay: 0.1s; }
.testimonial-stars i:nth-child(3) { transition-delay: 0.15s; }
.testimonial-stars i:nth-child(4) { transition-delay: 0.2s; }
.testimonial-stars i:nth-child(5) { transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
    .testimonial-stars i { transform: scale(1); transition: none; }
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 18px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.author-avatar {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.6;
}

.author-name {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
}

.author-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.testimonials-cta {
    text-align: center;
    padding-top: 16px;
}

.testimonials-cta p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 14px;
    font-weight: 500;
}

/* --- Hire Me Banner (closing CTA inside Why Hire section) --- */
.hire-banner-content {
    text-align: center;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid var(--border);
}

.hire-text h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.hire-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.hire-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Featured Projects Section --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 24px;
}

.project-card {
    --rx: 0deg;
    --ry: 0deg;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-4px) perspective(800px) rotateX(var(--ry)) rotateY(var(--rx));
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
}

@media (prefers-reduced-motion: reduce) {
    .project-card:hover { transform: translateY(-4px); }
}

.project-card:hover::after { opacity: 1; }

.project-card.flagship::after { background: var(--gradient-brand); opacity: 1; }

.project-card.flagship {
    border-color: rgba(45, 212, 191, 0.25);
}

.project-card.flagship:hover {
    box-shadow: var(--shadow-glow-brand);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.project-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .project-icon {
    transform: scale(1.12) rotate(-4deg);
}

@media (prefers-reduced-motion: reduce) {
    .service-icon, .skill-icon, .cert-icon, .project-icon { transition: none; }
    .service-card:hover .service-icon,
    .skill-card:hover .skill-icon,
    .cert-card:hover .cert-icon,
    .project-card:hover .project-icon { transform: none; }
}

.project-links { display: flex; gap: 8px; }

.project-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.project-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.project-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.flagship-tag {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-brand);
    color: #04110d;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 50px;
}

.reference-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 50px;
}

.project-subtitle {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 14px;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 18px;
}

.project-tech-stack span {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.project-tech-stack span:hover {
    transform: translateY(-2px) scale(1.05);
    background: var(--primary);
    color: #fff;
}

.project-details {
    list-style: none;
    padding: 0;
    margin-bottom: 18px;
}

.project-details li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

.project-details li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--accent);
    font-size: 0.75rem;
}

.project-details li strong { color: var(--text-primary); }

/* Project Architecture Diagram */
.project-architecture {
    position: relative;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-surface);
}

.project-architecture:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.project-architecture img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center top;
    display: block;
    padding: 8px;
    transition: transform 0.5s ease;
}

.project-architecture:hover img {
    transform: scale(1.03);
}

.arch-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #f1f2f5;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.arch-label i { color: var(--primary-light); }

/* Architecture Modal */
.arch-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: zoom-out;
}

.arch-modal.active { opacity: 1; visibility: visible; }

.arch-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.arch-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.arch-modal-close:hover {
    background: rgba(79, 70, 229, 0.8);
    border-color: transparent;
}

.project-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.badge:hover {
    transform: translateY(-2px) scale(1.06);
}

.badge-security {
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    color: var(--ai-accent);
}

.badge-cloud {
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.18);
    color: var(--primary);
}

.badge-gitops {
    background: rgba(147, 51, 234, 0.08);
    border: 1px solid rgba(147, 51, 234, 0.18);
    color: var(--purple-accent);
}

.badge-perf {
    background: rgba(180, 83, 9, 0.08);
    border: 1px solid rgba(180, 83, 9, 0.18);
    color: var(--amber-accent);
}

.badge-uptime {
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.18);
    color: var(--accent);
}

.badge-ai {
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    color: var(--ai-accent);
}

/* --- In Progress / Roadmap Section --- */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.roadmap-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius);
    padding: 26px;
}

.roadmap-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(180, 83, 9, 0.08);
    border: 1px solid rgba(180, 83, 9, 0.18);
    color: var(--amber-accent);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.roadmap-status i {
    display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
    .roadmap-status i { animation: none; }
}

.roadmap-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.roadmap-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* --- Education Section --- */
.education-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 650px;
    margin: 0 auto;
    transition: var(--transition);
}

.education-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.edu-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.edu-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.edu-school {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.edu-date, .edu-gpa {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-right: 18px;
}

.edu-date i, .edu-gpa i {
    margin-right: 5px;
    color: var(--primary);
}

/* --- Book a Call Section --- */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.booking-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.booking-highlight-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent);
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.booking-highlight-item h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.booking-highlight-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.booking-topics {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.booking-topics h4 {
    font-size: 1rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-topics h4 i { color: var(--accent); }

.booking-topics ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-topics li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.booking-topics li i {
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Booking Form */
.booking-form-wrapper { position: relative; }

.booking-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.booking-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.booking-form h3 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.booking-form h3 i { color: var(--accent); }

.booking-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.booking-note i { color: var(--accent); }

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-card:hover .contact-icon {
    transform: scale(1.12) rotate(8deg);
}

.contact-card h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.contact-card a, .contact-card span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-card a:hover { color: var(--primary); }

.contact-socials {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Forms */
.contact-form, .booking-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group { position: relative; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.form-group label {
    position: absolute;
    left: 14px;
    top: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    pointer-events: none;
    background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -9px;
    left: 10px;
    font-size: 0.72rem;
    color: var(--primary);
    background: var(--bg-card);
    padding: 0 5px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* --- Blog Section --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.blog-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    background: var(--bg-surface);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-image-placeholder {
    transform: scale(1.15) rotate(6deg);
}

.blog-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary);
}

.blog-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
    color: var(--primary);
}

.blog-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.blog-tags span {
    padding: 3px 10px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.blog-read-more i {
    transition: transform 0.25s ease;
}

.blog-read-more:hover {
    color: var(--accent);
    gap: 12px;
}

.blog-read-more:hover i {
    transform: translateX(4px);
}

/* --- Calendly Embed --- */
.calendly-embed-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.calendly-embed-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    z-index: 1;
}

/* Booking form overrides */
.booking-form .form-group select,
.booking-form .form-group input[type="date"] {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.booking-form .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e7681' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.booking-form .form-group select:focus,
.booking-form .form-group input[type="date"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

.booking-form .form-group input:focus,
.booking-form .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

.booking-form .form-group input:focus + label,
.booking-form .form-group input:not(:placeholder-shown) + label,
.booking-form .form-group textarea:focus + label,
.booking-form .form-group textarea:not(:placeholder-shown) + label {
    color: var(--accent);
}

.select-label {
    top: -9px !important;
    left: 10px !important;
    font-size: 0.72rem !important;
    color: var(--accent) !important;
    background: var(--bg-card) !important;
    padding: 0 5px !important;
}

/* --- Footer --- */
#footer {
    padding: 36px 0;
    background: var(--secondary);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.footer-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px) rotate(-8deg) scale(1.08);
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.back-to-top i {
    transition: transform 0.25s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top:hover i { animation: none; }
}

/* --- AI Chatbot Widget --- */
.chatbot-widget {
    display: none !important;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-brand);
    border: none;
    color: #04110d;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition);
}

.chatbot-toggle::before {
    display: none;
}

.chatbot-toggle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-brand);
}

.chatbot-toggle.active {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
    .chatbot-toggle::before { animation: none; }
}

.chatbot-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
}

.chatbot-badge.pulse { animation: pulse-dot 1.5s infinite; }

.chatbot-window {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 48px);
    height: 500px;
    max-height: 70vh;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.97);
    transform-origin: bottom right;
    transition: var(--transition);
}

.chatbot-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar-sm {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.chatbot-header-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.chatbot-close {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chatbot-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message { display: flex; animation: message-in 0.3s ease; }
.chat-message.user { justify-content: flex-end; }

@keyframes message-in {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .chat-message { animation: none; }
}

.chat-bubble {
    max-width: 84%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.chat-message.bot .chat-bubble {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-message.bot .chat-bubble a {
    color: var(--primary);
    text-decoration: underline;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.suggestion-btn {
    padding: 7px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    opacity: 0;
    transform: translateY(6px);
    animation: message-in 0.35s ease forwards;
}

.suggestion-btn:nth-child(1) { animation-delay: 0.05s; }
.suggestion-btn:nth-child(2) { animation-delay: 0.1s; }
.suggestion-btn:nth-child(3) { animation-delay: 0.15s; }
.suggestion-btn:nth-child(4) { animation-delay: 0.2s; }
.suggestion-btn:nth-child(5) { animation-delay: 0.25s; }

.suggestion-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .suggestion-btn { animation: none; opacity: 1; transform: none; }
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 2px 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing-bounce 1.2s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chatbot-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
    flex-shrink: 0;
}

.chatbot-input input {
    flex: 1;
    min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.chatbot-input input:focus { border-color: var(--primary); }

.chatbot-input button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.chatbot-input button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description { margin: 0 auto 24px; }
    .hero-metrics { justify-content: center; }
    .hero-cta { justify-content: center; }
    .hero-social { justify-content: center; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .booking-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        gap: 2px;
        transition: right 0.3s ease;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .nav-links.open { right: 0; }

    .nav-links a {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hero-name { font-size: 2.5rem; }

    .hero-title-wrapper {
        flex-direction: column;
        gap: 4px;
        font-size: 1rem;
    }

    .hero-metrics {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 8px;
    }

    .hero-metric-divider { display: none; }

    .section-title { font-size: 1.8rem; }

    .services-grid,
    .why-grid,
    .testimonials-grid,
    .projects-grid { grid-template-columns: 1fr; }

    .certs-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

    .education-card {
        flex-direction: column;
        text-align: center;
    }

    .timeline { padding-left: 30px; }
    .timeline-dot { left: -26px; }
    .timeline-content { padding: 20px; }
    .contact-socials { flex-direction: column; }
    .trusted-logos { gap: 24px; }

    .process-steps {
        flex-direction: column;
        gap: 16px;
    }

    .process-arrow { transform: rotate(90deg); }

    .hire-text h3 { font-size: 1.5rem; }
    .hire-actions { flex-direction: column; align-items: center; }

    .chatbot-window {
        width: calc(100vw - 32px);
        height: 65vh;
        right: -8px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    section { padding: 70px 0; }
    .hero-name { font-size: 2rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .about-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 14px 8px; }
    .stat-number { font-size: 1.4rem; }
    .nav-actions .btn { display: none; }

    .chatbot-widget { bottom: 16px; right: 16px; }
    .chatbot-toggle { width: 52px; height: 52px; font-size: 1.1rem; }
    .back-to-top { bottom: 80px; right: 16px; }
}
