/* ============================================================
   CUSTOM PROPERTIES
============================================================ */
:root {
    --black:        #000000;
    --black-off:    #0a0a0a;
    --grey-900:     #111111;
    --grey-800:     #1a1a1a;
    --grey-700:     #242424;
    --grey-600:     #2e2e2e;
    --grey-500:     #3a3a3a;
    --grey-400:     #555555;
    --grey-300:     #888888;
    --grey-200:     #aaaaaa;
    --grey-100:     #cccccc;
    --white:        #ffffff;
    --white-off:    #f5f5f5;
    --border:       #222222;
    --border-hover: #404040;
    --accent:       #4fc3f7;
    --accent-dim:   rgba(79, 195, 247, 0.1);
    --accent-border:rgba(79, 195, 247, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================================
   NAVIGATION
============================================================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

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

.logo {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.03em;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.125rem;
}

.nav-links a {
    color: var(--grey-200);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

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

/* Hamburger button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    border-radius: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
    position: fixed;
    top: 61px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1.25rem;
    z-index: 999;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--grey-200);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.mobile-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--black);
}

/* Subtle grid background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

/* Radial accent glow */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 5rem;
}

.hero-text {
    min-width: 0;
}

.hero-photo {
    flex-shrink: 0;
}

.hero-photo img {
    width: 300px;
    height: 360px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: block;
    filter: grayscale(15%);
}

/* "Currently at" badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: fadeUp 0.7s ease-out both;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero-name {
    font-size: clamp(2.8rem, 7.5vw, 5.5rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    background: linear-gradient(160deg, var(--white) 30%, var(--grey-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 0.7s ease-out 0.1s both;
}

.hero-title {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    color: var(--grey-300);
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    animation: fadeUp 0.7s ease-out 0.2s both;
}

.hero-title strong {
    color: var(--white);
    font-weight: 700;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--grey-300);
    max-width: 560px;
    margin: 0 0 2.75rem;
    line-height: 1.8;
    animation: fadeUp 0.7s ease-out 0.3s both;
}

.hero-description strong {
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    animation: fadeUp 0.7s ease-out 0.4s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 1.65rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--white-off);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.14);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--border-hover);
}

.btn-secondary:hover {
    border-color: var(--grey-300);
    background: rgba(255, 255, 255, 0.05);
}

.btn-accent {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1.5px solid var(--accent-border);
}

.btn-accent:hover {
    background: rgba(79, 195, 247, 0.18);
    border-color: rgba(79, 195, 247, 0.45);
}

/* ============================================================
   SHARED SECTION LAYOUT
============================================================ */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--white) 0%, var(--grey-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--grey-300);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin: 0 2rem;
}

@media (min-width: 1264px) {
    .section-divider { margin: 0 auto; }
}

/* ============================================================
   ABOUT
============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.about-text p {
    color: var(--grey-200);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 0.96rem;
}

.about-text p strong {
    color: var(--white);
}

.about-cta {
    margin-top: 1.75rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat-card {
    background: var(--grey-900);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.stat-card:hover { border-color: var(--border-hover); }

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

.stat-label {
    font-size: 0.8rem;
    color: var(--grey-300);
    font-weight: 500;
    line-height: 1.4;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 1.25rem;
}

.highlight-card {
    background: var(--grey-900);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.highlight-icon {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: block;
}

.highlight-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--white);
    letter-spacing: -0.01em;
}

.highlight-card p {
    color: var(--grey-300);
    font-size: 0.875rem;
    line-height: 1.65;
}

/* ============================================================
   SKILLS
============================================================ */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.skill-group {
    background: var(--grey-900);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
}

.skill-group:hover { border-color: var(--border-hover); }

.skill-group-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.skill-group-icon { font-size: 1.1rem; }

.skill-group-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.skill-tag {
    padding: 0.3rem 0.75rem;
    background: var(--grey-700);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.775rem;
    font-weight: 500;
    color: var(--grey-100);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.skill-tag:hover {
    background: var(--grey-600);
    border-color: var(--border-hover);
    color: var(--white);
}

.skill-tag.primary {
    background: var(--accent-dim);
    border-color: var(--accent-border);
    color: var(--accent);
}

/* ============================================================
   EXPERIENCE TIMELINE
============================================================ */
.timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

.timeline-track {
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--border) 40%, transparent 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 2.25rem;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--grey-500);
    border: 2px solid var(--black);
    transition: background 0.2s;
}

.timeline-item.current .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(79, 195, 247, 0.14);
}

.timeline-content {
    background: var(--grey-900);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.6rem;
    transition: border-color 0.2s ease;
}

.timeline-content:hover { border-color: var(--border-hover); }

.timeline-item.current .timeline-content {
    border-color: var(--accent-border);
    background: linear-gradient(135deg, var(--grey-900), rgba(79, 195, 247, 0.04));
}

.timeline-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.timeline-role {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.timeline-badge {
    font-size: 0.67rem;
    font-weight: 700;
    padding: 0.22rem 0.6rem;
    border-radius: 100px;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    white-space: nowrap;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.timeline-company {
    font-size: 0.88rem;
    color: var(--grey-200);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

/* FIX: was var(--grey-400) = #555 — too dark to read on dark background */
.timeline-date {
    font-size: 0.78rem;
    color: var(--grey-200);
    margin-bottom: 1.1rem;
}

.timeline-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

/* FIX: was display:flex which split inline <strong> into separate flex items */
.timeline-bullets li {
    display: block;
    position: relative;
    padding-left: 1.3rem;
    color: var(--grey-200);
    font-size: 0.875rem;
    line-height: 1.65;
}

.timeline-bullets li::before {
    content: '→';
    color: var(--grey-400);
    position: absolute;
    left: 0;
    top: 0.05rem;
}

.timeline-bullets li strong { color: var(--white); }

/* ============================================================
   PROJECTS
============================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.25rem;
}

.project-card {
    background: var(--grey-900);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.project-card.featured {
    border-color: var(--accent-border);
}

.project-card.featured:hover {
    border-color: rgba(79, 195, 247, 0.5);
    box-shadow: 0 24px 60px rgba(79, 195, 247, 0.08);
}

.project-image {
    width: 100%;
    height: 185px;
    position: relative;
    overflow: hidden;
    background: var(--grey-800);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img { transform: scale(1.06); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    font-size: 0.67rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1.1rem;
    background: var(--white);
    color: var(--black);
    border-radius: 7px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.2s;
}

.project-link-btn:hover { background: var(--white-off); }

.project-internal-note {
    font-size: 0.78rem;
    color: var(--grey-400);
    text-align: center;
}

.project-content { padding: 1.4rem; }

.project-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.project-description {
    color: var(--grey-300);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.tech-tag {
    padding: 0.22rem 0.6rem;
    background: var(--grey-700);
    border: 1px solid var(--border);
    color: var(--grey-100);
    border-radius: 100px;
    font-size: 0.73rem;
    font-weight: 500;
}

/* ============================================================
   EDUCATION & CERTIFICATIONS
============================================================ */
.edu-certs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.edu-section-title,
.cert-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    letter-spacing: -0.01em;
}

.edu-item,
.cert-item {
    background: var(--grey-900);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.15rem 1.35rem;
    margin-bottom: 0.875rem;
    transition: border-color 0.2s ease;
}

.edu-item:last-child,
.cert-item:last-child { margin-bottom: 0; }

.edu-item:hover,
.cert-item:hover { border-color: var(--border-hover); }

.edu-degree {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.edu-school {
    font-size: 0.82rem;
    color: var(--grey-200);
    margin-bottom: 0.2rem;
}

/* FIX: was var(--grey-400) = #555 — too low contrast on dark background */
.edu-year {
    font-size: 0.75rem;
    color: var(--grey-200);
}

.cert-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

/* FIX: was var(--grey-300) = #888 — bumped up for readability */
.cert-provider {
    font-size: 0.8rem;
    color: var(--grey-200);
}

/* ============================================================
   CONTACT
============================================================ */
.contact-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.contact-info-panel {
    background: var(--grey-900);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
}

.contact-info-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.contact-intro {
    color: var(--grey-300);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    flex: 1;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1.2rem;
    background: var(--grey-900);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
    border-color: var(--border-hover);
    background: var(--grey-800);
}

.contact-card-static { cursor: default; }
.contact-card-static:hover { border-color: var(--border); background: var(--grey-900); }

.contact-icon {
    width: 38px;
    height: 38px;
    background: var(--grey-700);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--grey-100);
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.contact-card-text { flex: 1; min-width: 0; }

.contact-card-label {
    font-size: 0.7rem;
    color: var(--grey-300);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.2rem;
}

.contact-card-value {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: var(--black-off);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 2.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 2rem;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    background: var(--grey-900);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-300);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-3px);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--grey-400);
    text-decoration: none;
    font-size: 0.83rem;
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-copy {
    color: var(--grey-500);
    font-size: 0.8rem;
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .edu-certs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 860px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-photo {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .hero-photo img {
        width: 200px;
        height: 240px;
        border-radius: 50%;
    }

    .hero-description {
        margin: 0 auto 2.75rem;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }

    .section { padding: 4rem 1.25rem; }

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

    .section-divider { margin: 0 1.25rem; }
}

@media (max-width: 480px) {
    .section { padding: 3.5rem 1rem; }
    .nav { padding: 0.9rem 1rem; }

    .highlights-grid { grid-template-columns: 1fr; }
    .stats-grid { gap: 0.875rem; }
    .skills-wrapper { grid-template-columns: 1fr; }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn { justify-content: center; }

    .hero-name { font-size: clamp(2.2rem, 11vw, 3rem); }
}
