/* ============================================================
   Rakesh Pookat — Career Portfolio Stylesheet
   Theme: Premium Dark Finance | Navy · Teal · Gold
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --navy: #040d1a;
    --navy-mid: #071428;
    --navy-light: #0d2040;
    --navy-card: #0a192f;
    --navy-card2: #0f2440;
    --teal: #3dd9eb;
    --teal-dark: #1bb8cc;
    --gold: #e9b84a;
    --gold-light: #f0c966;
    --purple: #a78bfa;
    --green: #34d399;
    --orange: #fb923c;
    --pink: #f472b6;
    --text-main: #e8f1fb;
    --text-muted: #8aabc8;
    --text-dim: #526a85;
    --border: rgba(61, 217, 235, 0.12);
    --border-gold: rgba(233, 184, 74, 0.25);
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    --font-body: 'Inter', system-ui, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    background: var(--navy);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

ul {
    list-style: none;
}

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

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

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 2.5rem;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(4, 13, 26, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 2.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 500;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 0.9rem;
}

.nav-brand strong {
    color: var(--teal);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links li a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--teal);
    background: rgba(61, 217, 235, 0.08);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #040d1a 0%, #061525 40%, #0a1f3d 70%, #040d1a 100%);
    overflow: hidden;
    padding: 7rem 5% 4rem;
}

/* Animated grid background */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(61, 217, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 217, 235, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(60px);
    }
}

/* Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(61, 217, 235, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 184, 74, 0.1) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 40%;
    animation-delay: -6s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: center;
    gap: 4rem;
}

/* Profile image */
.profile-wrapper {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-ring {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--teal), var(--gold), var(--purple));
    animation: ringRotate 4s linear infinite;
}

@keyframes ringRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.profile-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--navy);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: var(--green);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge i {
    font-size: 0.55rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Hero text */
.hero-text {
    flex: 1;
}

.hero-label {
    display: inline-block;
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border-left: 3px solid var(--teal);
    padding-left: 0.75rem;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

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

.gold {
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 760px;
}

.hero-desc strong {
    color: var(--text-main);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-dim);
    font-size: 0.83rem;
}

.hero-meta i {
    color: var(--teal);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-primary,
.btn-outline,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--navy);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 217, 235, 0.4);
    color: var(--navy);
}

.btn-outline {
    border: 1.5px solid var(--teal);
    color: var(--teal);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(61, 217, 235, 0.1);
    transform: translateY(-2px);
    color: var(--teal);
}

.btn-ghost {
    border: 1.5px solid var(--border-gold);
    color: var(--gold);
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(233, 184, 74, 0.08);
    transform: translateY(-2px);
    color: var(--gold);
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--teal), transparent);
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* ---------- Stats Banner ---------- */
.stats-banner {
    background: linear-gradient(135deg, var(--navy-card), var(--navy-card2));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
}

.stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 0.5rem 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.stat.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}

.stat-num span {
    font-size: 1.5rem;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* ---------- Generic Section ---------- */
.section {
    padding: 6rem 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--navy-card) 0%, rgba(10, 25, 47, 0.5) 100%);
}

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

.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--tag-color, rgba(61, 217, 235, 0.1));
    border: 1px solid rgba(61, 217, 235, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

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

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 0.975rem;
}

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

.about-lead {
    font-size: 1.1rem !important;
    color: var(--text-main) !important;
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2rem;
}

.highlight-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(61, 217, 235, 0.06);
    border: 1px solid rgba(61, 217, 235, 0.18);
    color: var(--teal);
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.highlight-chip:hover {
    background: rgba(61, 217, 235, 0.15);
    transform: translateY(-1px);
}

.highlight-chip i {
    font-size: 0.75rem;
}

/* Sidebar cards */
.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.sidebar-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.current-role-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.current-role-company {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.current-role-since {
    font-size: 0.8rem;
    color: var(--teal);
    font-weight: 600;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.detail-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.detail-list li i {
    color: var(--teal);
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 14px;
}

.detail-list li strong {
    color: var(--text-main);
}

.detail-list li a {
    color: var(--teal);
}

.detail-list li a:hover {
    color: var(--gold);
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tl-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 0 1.5rem;
}

.tl-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.5rem;
}

.tl-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: var(--transition);
    z-index: 2;
}

.tl-dot--active {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-color: var(--teal);
    color: var(--navy);
    box-shadow: 0 0 0 6px rgba(61, 217, 235, 0.15);
}

.tl-dot--first {
    background: var(--navy-card);
    border-color: var(--gold);
    color: var(--gold);
}

.tl-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, var(--border), transparent);
    min-height: 40px;
}

.tl-card {
    margin-bottom: 2.5rem;
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(20px);
}

.tl-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.tl-card:hover {
    border-color: rgba(61, 217, 235, 0.25);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px) translateX(0);
}

.tl-card--current {
    border-color: rgba(61, 217, 235, 0.3);
    background: linear-gradient(135deg, rgba(13, 32, 64, 0.9), rgba(7, 20, 40, 0.9));
    position: relative;
    overflow: hidden;
}

.tl-card--current::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--gold), var(--purple));
}

.tl-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.tl-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hsbc-logo {
    background: rgba(220, 36, 36, 0.12);
    color: #e03030;
    border: 1px solid rgba(220, 36, 36, 0.2);
}

.rbs-logo {
    background: rgba(30, 90, 180, 0.12);
    color: #4080e0;
    border: 1px solid rgba(30, 90, 180, 0.2);
}

.abn-logo {
    background: rgba(233, 184, 74, 0.12);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.sc-logo {
    background: rgba(52, 211, 153, 0.1);
    color: var(--green);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.tl-date {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.tl-role {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.tl-company {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.tl-dept {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.tl-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 0.4rem;
}

.tl-badge--current {
    background: rgba(61, 217, 235, 0.12);
    color: var(--teal);
    border: 1px solid rgba(61, 217, 235, 0.25);
}

.tl-scope {
    background: rgba(61, 217, 235, 0.04);
    border-left: 3px solid var(--teal);
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.tl-scope strong {
    color: var(--teal);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.tl-scope p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.tl-scope p strong {
    color: var(--text-main);
}

.tl-bullets {
    padding-left: 0;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tl-bullets li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
}

.tl-bullets li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 0.85rem;
}

.tl-bullets li strong {
    color: var(--text-main);
}

.tl-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.tl-tools strong {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.tool-tag {
    background: rgba(233, 184, 74, 0.08);
    border: 1px solid rgba(233, 184, 74, 0.2);
    color: var(--gold);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ---------- Expertise Grid ---------- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.expertise-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.expertise-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.expertise-card:hover {
    border-color: rgba(61, 217, 235, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.exp-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    background: color-mix(in srgb, var(--clr) 10%, transparent);
    color: var(--clr);
    border: 1px solid color-mix(in srgb, var(--clr) 25%, transparent);
}

.expertise-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.expertise-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.expertise-card ul li {
    font-size: 0.825rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}

.expertise-card ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 1.1rem;
    line-height: 1.2;
}

/* Tools Section */
.tools-section {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
}

.tools-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tools-heading i {
    color: var(--teal);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tool-group {
    display: flex;
    flex-direction: column;
}

.tg-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.tg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tg-tag {
    background: rgba(61, 217, 235, 0.07);
    border: 1px solid rgba(61, 217, 235, 0.15);
    color: var(--teal);
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ---------- Education ---------- */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.edu-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.edu-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.edu-card:hover {
    border-color: rgba(233, 184, 74, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.edu-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: rgba(233, 184, 74, 0.1);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.edu-year {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.edu-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.edu-inst {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.edu-inst i {
    color: var(--teal);
    font-size: 0.75rem;
}

/* ---------- Footer / Contact ---------- */
.footer {
    position: relative;
    background: linear-gradient(135deg, #020810 0%, #04111f 50%, #020810 100%);
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.footer-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(61, 217, 235, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 217, 235, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
}

.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    background: rgba(61, 217, 235, 0.07);
    border-color: rgba(61, 217, 235, 0.25);
    transform: translateY(-4px);
    color: inherit;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.35rem;
}

.contact-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    word-break: break-all;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.35rem;
}

.footer-tagline {
    font-size: 0.75rem !important;
    color: rgba(61, 217, 235, 0.4) !important;
}

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* Override for specific elements */
.tl-card.reveal {
    transform: translateX(20px);
}

.tl-card.reveal.visible {
    transform: translateX(0);
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 220px 1fr;
        gap: 2.5rem;
    }

    .profile-ring {
        width: 180px;
        height: 180px;
    }

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

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

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

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.25rem;
    }

    .navbar.scrolled {
        padding: 0.6rem 1.25rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--navy-card);
        flex-direction: column;
        padding: 1.5rem 1.25rem;
        border-bottom: 1px solid var(--border);
        gap: 0.25rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
    }

    .hero {
        padding: 6rem 1.25rem 4rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-label {
        border-left: none;
        border-bottom: 2px solid var(--teal);
        padding: 0 0 0.25rem;
    }

    .hero-meta {
        justify-content: center;
    }

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

    .hero-desc {
        margin: 0 auto 1.5rem;
    }

    .stats-inner {
        gap: 0;
    }

    .stat {
        padding: 0.75rem 1.25rem;
    }

    .stat-divider {
        display: none;
    }

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

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

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

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

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

    .tl-item {
        grid-template-columns: 40px 1fr;
        gap: 0 1rem;
    }

    .tl-dot {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }

    .tl-card {
        padding: 1.25rem;
    }

    .tl-card-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .tl-logo {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .profile-ring {
        width: 160px;
        height: 160px;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-outline,
    .btn-ghost {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}