/* ===== Reset & Variables ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050508;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text: #e8e8ed;
    --text-secondary: #9898a6;
    --text-muted: #5a5a6e;
    --accent: #0078d4;
    --accent-2: #00e5a0;
    --accent-glow: rgba(0, 120, 212, 0.15);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --radius: 16px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Space Grotesk', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

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

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

::selection {
    background: var(--accent);
    color: #fff;
}

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

/* ===== Grid Background ===== */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ===== Cursor Glow ===== */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s;
}

/* ===== Glass Card ===== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    transition: all var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

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

.nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--mono);
    letter-spacing: -1px;
}

.logo-bracket {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
}

.nav-links a::before {
    content: attr(data-num);
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--accent);
    margin-right: 0.35rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 8px !important;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav-cta::before {
    display: none !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);
    transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent-2);
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(0, 229, 160, 0.2);
    border-radius: 20px;
    background: rgba(0, 229, 160, 0.05);
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 229, 160, 0); }
}

.hero-name {
    margin-bottom: 1.5rem;
}

.hero-name .line {
    display: block;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.05;
}

.line-outline {
    -webkit-text-stroke: 2px var(--text);
    color: transparent;
    transition: all 0.5s;
}

.line-outline:hover {
    color: var(--text);
    -webkit-text-stroke: 0;
}

.hero-role {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.role-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.typed-text {
    font-family: var(--mono);
    font-size: 1.05rem;
    color: var(--accent);
}

.cursor-blink {
    animation: blink 1s step-end infinite;
    color: var(--accent);
    font-family: var(--mono);
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-description em {
    color: var(--text);
    font-style: normal;
    border-bottom: 2px solid var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero side - code block + terminal */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.code-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 1.8;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.code-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-key { color: #c678dd; }
.code-var { color: #e06c75; }
.code-prop { color: #e5c07b; }
.code-str { color: #98c379; }
.code-bool { color: #d19a66; }

/* Terminal Widget */
.terminal-widget {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    font-family: var(--mono);
    font-size: 0.8rem;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

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

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.terminal-body {
    padding: 1rem;
    line-height: 1.9;
}

.terminal-body p {
    color: var(--text-secondary);
}

.t-prompt {
    color: var(--accent-2);
    font-weight: 600;
    margin-right: 0.5rem;
}

.t-output {
    color: var(--text-muted) !important;
    padding-left: 1.2rem;
}

.t-green {
    color: var(--accent-2);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: var(--font);
    position: relative;
    overflow: hidden;
}

.btn-glitch {
    background: var(--accent);
    color: #fff;
}

.btn-glitch::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-2);
    color: var(--bg);
    font-weight: 600;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glitch:hover::before {
    clip-path: inset(0);
}

.btn-glitch:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 120, 212, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.8rem 0;
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    animation: bounce-down 2s infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ===== Section Styles ===== */
.section {
    padding: 7rem 0;
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.section-num {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.highlight {
    color: var(--accent);
}

/* ===== About ===== */
.about-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-card {
    padding: 2rem;
    text-align: center;
    position: sticky;
    top: 100px;
}

.photo-frame {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 2px dashed var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    position: relative;
}

.photo-decoration {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--accent-2);
    border-radius: 50%;
    border: 3px solid var(--bg);
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-lead {
    font-size: 1.25rem !important;
    color: var(--text) !important;
    font-weight: 500;
    line-height: 1.6;
}

.about-metrics {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.metric {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 1rem;
    align-items: center;
}

.metric-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--mono);
    grid-row: 1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    grid-row: 1;
}

.metric-bar {
    grid-column: 1 / -1;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.metric-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-bar.animated::after {
    width: var(--bar-width);
}

/* ===== Skills ===== */
.skills-orbit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.skill-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-col:nth-child(2) {
    margin-top: 3rem;
}

.skill-card {
    padding: 2rem;
}

.skill-icon {
    font-family: var(--mono);
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 700;
}

.skill-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.skill-dot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== Projects ===== */
.projects-stack {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.project-row.reverse {
    direction: rtl;
}

.project-row.reverse > * {
    direction: ltr;
}

.project-mock {
    padding: 1rem;
    aspect-ratio: 16 / 11;
    display: flex;
    flex-direction: column;
}

.mock-bar {
    display: flex;
    gap: 5px;
    margin-bottom: 0.75rem;
}

.mock-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
}

.mock-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.mock-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.w80 { width: 80%; }
.w70 { width: 70%; }
.w60 { width: 60%; }

.mock-grid-sm {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.mock-box {
    aspect-ratio: 1;
    background: rgba(0, 120, 212, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(0, 120, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--accent);
}

/* Infrastructure mockup */
.mock-infra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.infra-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.infra-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.infra-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.infra-connectors {
    display: flex;
    gap: 2rem;
}

.connector {
    width: 1px;
    height: 16px;
    background: var(--accent);
    opacity: 0.4;
}

/* Monitor mockup */
.mock-monitor {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.monitor-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.green {
    background: var(--accent-2);
    box-shadow: 0 0 6px rgba(0, 229, 160, 0.4);
}

.status-indicator.red {
    background: #ff5f57;
    box-shadow: 0 0 6px rgba(255, 95, 87, 0.4);
}

/* Pipeline mockup */
.mock-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pipeline-stage {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
}

.pipeline-stage.done {
    background: rgba(0, 229, 160, 0.1);
    color: var(--accent-2);
    border: 1px solid rgba(0, 229, 160, 0.2);
}

.pipeline-stage.active {
    background: rgba(0, 120, 212, 0.15);
    color: var(--accent);
    border: 1px solid rgba(0, 120, 212, 0.3);
    animation: pulse-stage 2s infinite;
}

@keyframes pulse-stage {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 120, 212, 0.3); }
    50% { box-shadow: 0 0 0 6px rgba(0, 120, 212, 0); }
}

.pipeline-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Chat mockup */
.mock-chat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-bubble {
    height: 16px;
    border-radius: 8px;
    width: 65%;
}

.chat-bubble.left {
    background: rgba(0, 120, 212, 0.15);
    align-self: flex-start;
}

.chat-bubble.right {
    background: rgba(0, 229, 160, 0.12);
    align-self: flex-end;
}

.chat-bubble.short {
    width: 40%;
}

/* Chart mockup */
.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    height: 100%;
    padding-top: 1rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent), var(--accent-2));
    border-radius: 4px 4px 0 0;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.chart-bar.alert {
    background: linear-gradient(to top, #ff5f57, #febc2e);
}

.project-mock:hover .chart-bar {
    opacity: 1;
}

.project-details {
    padding: 1rem 0;
}

.project-num {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

.project-details h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0.5rem 0 0.75rem;
    letter-spacing: -0.5px;
}

.project-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    font-family: var(--mono);
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: rgba(0, 120, 212, 0.08);
    color: var(--accent);
    border: 1px solid rgba(0, 120, 212, 0.12);
}

.project-actions {
    display: flex;
    gap: 1.5rem;
}

.action-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all var(--transition);
}

.action-link span {
    transition: transform var(--transition);
}

.action-link:hover {
    color: var(--accent);
}

.action-link:hover span {
    transform: translate(3px, -3px);
}

/* ===== Experience ===== */
.exp-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
}

.exp-main {
    padding: 2.5rem;
}

.exp-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.exp-date {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--accent);
}

.exp-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--accent-2);
    font-weight: 500;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-2);
    border-radius: 50%;
}

.status-dot.pulse {
    animation: pulse-dot 2s infinite;
}

.exp-main h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.exp-company {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.exp-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exp-highlight-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.exp-highlight-item p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.exp-highlight-item strong {
    color: var(--text);
}

.exp-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
}

.exp-stat {
    padding: 1.5rem;
    text-align: center;
}

.stat-big {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--mono);
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ===== Certifications ===== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cert-card {
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.cert-card:hover {
    transform: translateY(-4px);
}

.cert-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 1rem;
}

.cert-badge.azure {
    background: rgba(0, 120, 212, 0.15);
    color: var(--accent);
    border: 1px solid rgba(0, 120, 212, 0.25);
}

.cert-badge.devops {
    background: rgba(0, 229, 160, 0.1);
    color: var(--accent-2);
    border: 1px solid rgba(0, 229, 160, 0.2);
}

.cert-badge.cat {
    background: rgba(255, 187, 46, 0.1);
    color: #febc2e;
    border: 1px solid rgba(255, 187, 46, 0.2);
}

.cert-badge.cloud {
    background: rgba(0, 120, 212, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 120, 212, 0.2);
    font-size: 1.5rem;
}

.cert-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cert-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Contact ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-heading {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.contact-link:hover {
    color: var(--text);
    transform: translateX(4px);
}

.link-arrow {
    margin-left: auto;
    opacity: 0;
    transition: all var(--transition);
}

.contact-link:hover .link-arrow {
    opacity: 1;
}

.contact-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

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

.footer-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-code {
    font-family: var(--mono);
    color: var(--accent);
    font-size: 0.8rem;
}

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

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 8rem 2rem 4rem;
        gap: 3rem;
    }

    .hero-side {
        order: -1;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-card {
        position: static;
    }

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

    .skill-col:nth-child(2) {
        margin-top: 0;
    }

    .project-row,
    .project-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .exp-layout {
        grid-template-columns: 1fr;
    }

    .exp-side {
        flex-direction: row;
        position: static;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: rgba(5, 5, 8, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        border-left: 1px solid var(--border);
        transition: right var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a::before {
        opacity: 1;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 4rem 0;
    }

    .cert-grid {
        grid-template-columns: 1fr 1fr;
    }

    .exp-side {
        flex-direction: column;
    }
}
