/* ═══════════════════════════════════════════════════════════
   PORTFOLIO — Modern Design System v2
   Colour palette: Light, elegant — ivory, soft teal, warm gold
   ═══════════════════════════════════════════════════════════ */

:root {
    --bg-primary: #faf9f6;
    --bg-secondary: #f2f0eb;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-solid: #ffffff;
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --accent: #1a7a6d;
    --accent-light: #2ba393;
    --accent-dark: #145f55;
    --accent-glow: rgba(26, 122, 109, 0.1);
    --accent-secondary: #b8860b;
    --accent-tertiary: #d4a017;
    --gradient-primary: linear-gradient(135deg, #1a7a6d, #2ba393);
    --gradient-accent: linear-gradient(135deg, #1a7a6d, #145f55);
    --gradient-warm: linear-gradient(135deg, #b8860b, #d4a017);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #78716c;
    --border: rgba(30, 41, 59, 0.08);
    --border-hover: rgba(26, 122, 109, 0.4);
    --border-glass: rgba(30, 41, 59, 0.06);
    --shadow: 0 4px 20px rgba(30, 41, 59, 0.06);
    --shadow-hover: 0 16px 48px rgba(26, 122, 109, 0.1);
    --shadow-glow: 0 0 40px rgba(26, 122, 109, 0.05);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

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

/* ─── SCROLL REVEAL ANIMATIONS ───────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(30, 41, 59, 0.06);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.nav-logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(26, 122, 109, 0.25);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 122, 109, 0.35);
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: #2ba393;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: #d4a017;
    bottom: -100px;
    left: -150px;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: #1a7a6d;
    bottom: 30%;
    right: 20%;
    opacity: 0.08;
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 56px;
    width: 100%;
}

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent);
    display: block;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.hero-name {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 14px;
    letter-spacing: -2.5px;
    background: linear-gradient(135deg, #1e293b 0%, #1a7a6d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 52px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26, 122, 109, 0.25);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26, 122, 109, 0.35);
}

.btn-outline {
    border-color: var(--border);
    color: var(--text-primary);
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    background: rgba(26, 122, 109, 0.05);
}

.hero-stats {
    display: flex;
    gap: 44px;
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Hero terminal */
.hero-terminal {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(30, 41, 59, 0.08);
    animation: terminal-appear 1s ease 0.5s both;
}

@keyframes terminal-appear {
    from { opacity: 0; transform: translateY(24px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(242, 240, 235, 0.6);
    border-bottom: 1px solid var(--border);
}

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

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #eab308; }
.terminal-dot.green { background: #22c55e; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.terminal-body {
    padding: 24px 28px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 2.1;
}

.terminal-body p {
    margin: 0;
}

.t-prompt {
    color: var(--accent);
    font-weight: 500;
}

.t-cmd {
    color: var(--text-primary);
}

.t-output {
    color: var(--text-muted);
    padding-left: 16px;
}

.t-output.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blink {
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.scroll-indicator {
    display: block;
    margin: 36px auto 0;
    text-align: center;
}

.scroll-indicator span {
    display: inline-block;
    width: 2px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: scroll-bounce 2.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* Hero particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 10s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 25%; top: 70%; animation-delay: 2s; }
.hero-particles span:nth-child(3) { left: 60%; top: 15%; animation-delay: 3.5s; }
.hero-particles span:nth-child(4) { left: 80%; top: 60%; animation-delay: 5s; }
.hero-particles span:nth-child(5) { left: 45%; top: 85%; animation-delay: 2.5s; }
.hero-particles span:nth-child(6) { left: 90%; top: 30%; animation-delay: 6s; }

@keyframes particle-float {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    15% { opacity: 0.5; transform: translateY(-20px) scale(1); }
    85% { opacity: 0.2; transform: translateY(-100px) scale(0.6); }
    100% { opacity: 0; transform: translateY(-140px) scale(0); }
}

/* Hero bottom info bar */
.hero-bottom-bar {
    display: flex;
    align-items: center;
    gap: 36px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 60px;
    padding: 16px 40px;
    margin: 52px auto 0;
    width: fit-content;
    box-shadow: 0 8px 32px rgba(30, 41, 59, 0.06);
}

.hero-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.hero-bottom-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
}

.hero-bottom-value {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-bottom-divider {
    width: 1px;
    height: 30px;
    background: var(--border);
}

/* ─── SECTION HEADERS ────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 14px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.about-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(30, 41, 59, 0.1);
    position: relative;
}

.about-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, transparent 70%, rgba(250, 249, 246, 0.4) 100%);
    pointer-events: none;
}

.about-img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    font-size: 2.1rem;
    margin-bottom: 24px;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--accent);
    font-weight: 600;
}

.about-highlights {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: var(--radius);
    background: rgba(26, 122, 109, 0.04);
    border: 1px solid transparent;
    transition: var(--transition);
}

.about-highlight-item:hover {
    border-color: var(--border);
    background: rgba(26, 122, 109, 0.07);
}

.highlight-icon {
    color: var(--accent);
    font-size: 0.7rem;
}

.about-social {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.about-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.about-social a:hover {
    border-color: var(--accent);
    background: rgba(26, 122, 109, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 122, 109, 0.12);
}

.about-social a img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(0.35);
}

.about-social a:hover img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(60%) saturate(600%) hue-rotate(140deg);
}

/* ─── EXPERIENCE ─────────────────────────────────────────── */
.experience {
    background: var(--bg-secondary);
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 122, 109, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.exp-slider .exp-slide {
    padding: 0 16px;
}

.exp-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

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

.exp-card-accent {
    height: 3px;
    width: 100%;
}

.exp-accent-aws { background: linear-gradient(90deg, #1a7a6d, #2ba393); }
.exp-accent-enlighta { background: linear-gradient(90deg, #b8860b, #d4a017); }
.exp-accent-kanaka { background: linear-gradient(90deg, #145f55, #1a7a6d); }

.exp-card-inner {
    padding: 32px 36px 28px;
}

.exp-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
}

.exp-card-company h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.exp-card-company h4 a {
    color: var(--text-primary);
    transition: var(--transition);
    border-bottom: 1px dashed rgba(30, 41, 59, 0.2);
}

.exp-card-company h4 a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.exp-card-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.exp-card-date {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-muted);
    background: rgba(26, 122, 109, 0.06);
    border: 1px solid var(--border);
    padding: 5px 14px;
    border-radius: 50px;
    white-space: nowrap;
}

.exp-card-list {
    list-style: none;
    margin-bottom: 24px;
}

.exp-card-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 18px;
    position: relative;
    margin-bottom: 10px;
}

.exp-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.exp-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.exp-card-tags span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    background: rgba(26, 122, 109, 0.06);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(26, 122, 109, 0.12);
    transition: var(--transition-fast);
}

.exp-card-tags span:hover {
    background: rgba(26, 122, 109, 0.12);
    border-color: rgba(26, 122, 109, 0.3);
}

/* ─── SKILLS ─────────────────────────────────────────────── */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    background: var(--bg-card-hover);
}

.skill-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.skill-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── CERTIFICATIONS ─────────────────────────────────────── */
.certifications {
    background: var(--bg-secondary);
    position: relative;
}

.certifications::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cert-slider .cert-slide {
    padding: 0 16px;
    outline: none;
}

.cert-slider .slick-slide:focus,
.cert-slider .slick-slide:focus-within,
.cert-slider .slick-current .cert-card {
    outline: none;
    border-color: var(--border);
}

.cert-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 340px;
    position: relative;
    overflow: hidden;
    outline: none;
}

.cert-card:focus,
.cert-card:active,
.cert-slide:focus .cert-card {
    outline: none;
    border-color: var(--border);
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 122, 109, 0.12);
}

.cert-card-badge {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cert-card:hover .cert-card-badge {
    transform: scale(1.08);
}

.cert-card-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-card h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

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

.cert-date {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-muted);
}

.cert-link {
    font-size: 0.84rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: auto;
    transition: var(--transition);
}

.cert-link:hover {
    transform: translateX(4px);
}

/* Cert accent border */
.cert-terraform { border-top: none !important; }
.cert-aws { border-top: none !important; }
.cert-redhat { border-top: none !important; }

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 1;
}

.cert-terraform::before { background: #7B42BC; }
.cert-aws::before { background: #FF9900; }
.cert-redhat::before { background: #EE0000; }

/* ─── PROJECTS ───────────────────────────────────────────── */
.projects {
    background: var(--bg-primary);
    padding: 120px 0;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(26, 122, 109, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.project-slider .project-slide {
    padding: 0 12px;
}

.project-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px 28px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

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

.project-card-number {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(26, 122, 109, 0.08), rgba(184, 134, 11, 0.06));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
    transition: var(--transition);
}

.project-card:hover .project-card-number {
    background: linear-gradient(135deg, rgba(26, 122, 109, 0.15), rgba(184, 134, 11, 0.12));
    -webkit-background-clip: text;
    background-clip: text;
}

.project-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.project-card-top h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.project-github {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 122, 109, 0.05);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.project-github:hover {
    background: rgba(26, 122, 109, 0.1);
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(26, 122, 109, 0.12);
}

.project-github img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(0.4);
}

.project-github:hover img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(60%) saturate(600%) hue-rotate(140deg);
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 22px;
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    background: rgba(26, 122, 109, 0.05);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(26, 122, 109, 0.1);
    transition: var(--transition-fast);
}

.project-tags span:hover {
    background: rgba(26, 122, 109, 0.1);
    border-color: rgba(26, 122, 109, 0.25);
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact {
    background: var(--bg-secondary);
    padding: 120px 0 80px;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 122, 109, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-top {
    text-align: center;
    margin-bottom: 60px;
}

.contact-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 540px;
    margin: 16px auto 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 840px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 24px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

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

.contact-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(26, 122, 109, 0.06);
    border: 1px solid rgba(26, 122, 109, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: var(--transition);
}

.contact-card:hover .contact-icon-wrap {
    background: rgba(26, 122, 109, 0.12);
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(26, 122, 109, 0.12);
}

.contact-icon-wrap img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(35%) sepia(60%) saturate(600%) hue-rotate(140deg);
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-card span {
    font-size: 0.82rem;
    color: var(--text-muted);
    word-break: break-all;
}

.contact-card-arrow {
    font-size: 1.3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
    margin-top: 8px;
}

.contact-card:hover .contact-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.contact-bottom {
    text-align: center;
    margin-top: 52px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.contact-bottom p {
    font-size: 0.88rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
    padding: 44px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: var(--accent);
    background: rgba(26, 122, 109, 0.06);
    transform: translateY(-2px);
}

.footer-socials a img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(0.4);
    transition: var(--transition);
}

.footer-socials a:hover img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(60%) saturate(600%) hue-rotate(140deg);
}

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

/* ─── SLICK DOTS (shared) ────────────────────────────────── */
.exp-slider-dots .dots,
.cert-slider-dots .dots,
.project-slider-dots .dots {
    list-style: none;
    display: flex !important;
    justify-content: center;
    margin-top: 36px;
}

.exp-slider-dots .dots li button,
.cert-slider-dots .dots li button,
.project-slider-dots .dots li button {
    font-size: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(148, 163, 184, 0.15);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.exp-slider-dots .dots li.slick-active button,
.cert-slider-dots .dots li.slick-active button,
.project-slider-dots .dots li.slick-active button {
    background: var(--gradient-primary);
    width: 28px;
    border-radius: 50px;
    box-shadow: 0 0 12px rgba(26, 122, 109, 0.25);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-terminal { display: none; }
    .hero-description { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { display: none; }
    .about-content .section-label,
    .about-content .section-title { text-align: center; }
    .about-highlights { align-items: center; }
    .about-social { justify-content: center; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; max-width: 360px; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
    .section { padding: 80px 0; }

    /* Hero mobile */
    .hero { min-height: auto; padding: 100px 0 40px; }
    .hero-container { padding: 0 20px; gap: 32px; }
    .hero-name { font-size: 2.8rem; letter-spacing: -1.5px; }
    .hero-title { font-size: 1.15rem; }
    .hero-greeting { font-size: 0.8rem; margin-bottom: 8px; }
    .hero-description { font-size: 0.92rem; line-height: 1.7; margin-bottom: 24px; }
    .hero-actions { gap: 12px; margin-bottom: 32px; }
    .btn { padding: 12px 24px; font-size: 0.85rem; }
    .hero-stats { gap: 28px; margin-bottom: 0; }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.7rem; }
    .hero-bottom-bar {
        flex-direction: column;
        gap: 12px;
        border-radius: var(--radius);
        padding: 20px 24px;
        margin-top: 36px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-bottom-divider { width: 60px; height: 1px; }
    .hero-bottom-label { font-size: 0.62rem; }
    .hero-bottom-value { font-size: 0.78rem; }
    .scroll-indicator { display: none; }
    .section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .skills-grid { grid-template-columns: 1fr; }
    .hero-name { font-size: 2.2rem; }
    .hero-title { font-size: 1rem; }
    .hero-stats { flex-direction: row; gap: 20px; }
    .stat-number { font-size: 1.4rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-bottom-bar { padding: 16px 20px; }
    .hero-container { padding: 0 16px; }
}
