/* ===== CSS Variables ===== */
:root {
    /* Dark Mode Colors (Default) */
    --bg-primary: #0a0e27;
    --bg-secondary: #151932;
    --bg-tertiary: #1f2348;
    --text-primary: #e6f1ff;
    --text-secondary: #b4c7e7;
    --text-muted: #8892b0;
    --accent-primary: #ef4444;
    --accent-secondary: #b91c1c;
    --accent-tertiary: #fb7185;
    --accent-quaternary: #f97316;
    --accent-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    --accent-gradient-alt: linear-gradient(135deg, #fb7185 0%, #ef4444 100%);
    --accent-gradient-blue: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    --accent-gradient-green: linear-gradient(135deg, #f43f5e 0%, #ef4444 100%);
    --accent-gradient-orange: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    --shadow-sm: 0 2px 12px rgba(239, 68, 68, 0.12);
    --shadow-md: 0 4px 20px rgba(239, 68, 68, 0.18);
    --shadow-lg: 0 8px 40px rgba(239, 68, 68, 0.24);
    --shadow-glow: 0 0 20px rgba(239, 68, 68, 0.35);
    --border-color: #2d3561;
    --card-bg: #151932;
    --navbar-bg: rgba(10, 14, 39, 0.95);
    --overlay-bg: rgba(10, 14, 39, 0.75);
}

[data-theme="light"] {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6c757d;
    --accent-primary: #ef4444;
    --accent-secondary: #b91c1c;
    --accent-tertiary: #fb7185;
    --accent-quaternary: #f97316;
    --accent-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    --accent-gradient-alt: linear-gradient(135deg, #fb7185 0%, #ef4444 100%);
    --accent-gradient-blue: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    --accent-gradient-green: linear-gradient(135deg, #f43f5e 0%, #ef4444 100%);
    --accent-gradient-orange: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 15px rgba(239, 68, 68, 0.25);
    --border-color: #dee2e6;
    --card-bg: #ffffff;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --overlay-bg: rgba(0, 0, 0, 0.5);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
}

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

/* ===== Particles Background ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    width: 100%;
}

.logo {
    text-decoration: none;
    color: var(--text-primary);
    z-index: 1001;
    margin-right: 3rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.dot {
    color: var(--accent-primary);
    -webkit-text-fill-color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
}

.theme-toggle {
    background: var(--bg-secondary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.sun-icon,
.moon-icon {
    position: absolute;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.sun-icon {
    color: #ffd700;
}

.moon-icon {
    color: #ef4444;
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Section Common Styles ===== */
section {
    position: relative;
    padding: 6rem 0;
    z-index: 1;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: calc(100vh + 250px);
    display: flex;
    align-items: center;
    padding: 100px 0 250px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    max-width: 100%;
}

/* .hero-text { */
    /* animation: fadeInUp 0.8s ease; */
/* } */

.greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: bold;
}

.hero-title {
    font-size: clamp(1.1rem, 5.4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
    white-space: nowrap;
}

.hero-alias {
    margin: 0.35rem 0 0.15rem;
    font-size: clamp(0.88rem, 1.7vw, 1rem);
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--text-secondary);
    margin-bottom: 0;
    min-height: clamp(50px, 8vh, 60px);
}

.typing-text {
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent-primary);
}

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

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Credentials Bar */
.credentials-bar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.credential-item i {
    color: var(--accent-primary);
    font-size: 1rem;
    min-width: 20px;
}

.credential-item strong {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: clamp(0.75rem, 1.5vw, 1rem);
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.stat-item div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stat-item strong {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.stat-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.25rem;
    animation: fadeInRight 0.8s ease;
    align-items: center;
    margin-top: 3rem;
}

.profile-card {
    position: relative;
    width: 400px;
    height: 400px;
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    border-radius: 30px;
    opacity: 0.5;
    filter: blur(20px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.profile-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 4px solid var(--bg-primary);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 20px;
    height: 20px;
    background: #4ade80;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
}

/* ===== About Section ===== */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

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

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

/* Different colors for each stat */
.stat-card:nth-child(1) .stat-icon {
    background: var(--accent-gradient);
}

.stat-card:nth-child(2) .stat-icon {
    background: var(--accent-gradient-alt);
}

.stat-card:nth-child(3) .stat-icon {
    background: var(--accent-gradient-blue);
}

.stat-card:nth-child(4) .stat-icon {
    background: var(--accent-gradient-green);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.skills-section {
    margin-top: 3rem;
}

.skills-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.skill-category {
    display: block;
    margin: 0;
    background: var(--card-bg);
    padding: 1.2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.skill-category h4 i {
    color: var(--accent-primary);
}

.skill-tags {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
}

.skill-groups {
    column-count: 2;
    column-gap: 0.75rem;
}

.skill-group {
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    gap: 0.45rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem;
    margin: 0 0 0.75rem;
    break-inside: avoid;
    transition: all 0.3s ease;
}

.skill-group:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.12);
}

.skill-group-label {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-tag {
    background: var(--bg-secondary);
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
    text-align: center;
    border: 1px solid var(--border-color);
}

.skill-tag:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
}

.skill-category.flat-list .skill-tags {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

[data-theme="light"] .skill-group:hover .skill-group-label {
    color: #dc2626;
}

.certificate-verify-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.certificate-verify-link:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* ===== Projects Section ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

.project-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.featured-badge {
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.tech-tag {
    background: var(--bg-tertiary);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Add different colored borders to project cards */
.project-card:nth-child(6n+1) {
    border-top: 3px solid;
    border-image: var(--accent-gradient) 1;
}

.project-card:nth-child(6n+2) {
    border-top: 3px solid;
    border-image: var(--accent-gradient-alt) 1;
}

.project-card:nth-child(6n+3) {
    border-top: 3px solid;
    border-image: var(--accent-gradient-blue) 1;
}

.project-card:nth-child(6n+4) {
    border-top: 3px solid;
    border-image: var(--accent-gradient-green) 1;
}

.project-card:nth-child(6n+5) {
    border-top: 3px solid;
    border-image: var(--accent-gradient-orange) 1;
}

.project-card:nth-child(6n+6) {
    border-top: 3px solid;
    border-image: var(--accent-gradient) 1;
}

/* ===== Experience Section ===== */
.experience-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 30%;
    height: 120%;
    background: var(--accent-gradient-blue);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(120px);
}

.timeline {
    position: relative;
    padding-left: 0;
    max-width: 900px;
    margin: 0 auto;
}

/* Gradient flowing timeline line */
.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        var(--accent-primary) 5%,
        var(--accent-tertiary) 50%,
        var(--accent-quaternary) 95%,
        transparent 100%
    );
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.25rem;
    padding-left: 3rem;
    display: block;
}

/* Colorful dot marker */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    color: white;
    font-size: 0;
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 0 6px var(--accent-primary);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Different gradient for each timeline item */
.timeline-item:nth-child(1) .timeline-marker {
    background: var(--accent-gradient);
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 0 6px var(--accent-primary), 0 0 20px rgba(239, 68, 68, 0.4);
}

.profile-badges-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    max-width: 560px;
}

.profile-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.profile-badge-icon {
    width: 128px;
    height: 128px;
    border-radius: 12px;
    object-fit: contain;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 10px;
}

.profile-badge-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

.timeline-item:nth-child(2) .timeline-marker {
    background: var(--accent-gradient-alt);
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 0 6px #fb7185, 0 0 20px rgba(251, 113, 133, 0.4);
}

.timeline-item:nth-child(3) .timeline-marker {
    background: var(--accent-gradient-blue);
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 0 6px #f97316, 0 0 20px rgba(249, 115, 22, 0.35);
}

.timeline-item:nth-child(4) .timeline-marker {
    background: var(--accent-gradient-green);
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 0 6px #f43f5e, 0 0 20px rgba(244, 63, 94, 0.35);
}

.timeline-item:nth-child(5) .timeline-marker {
    background: var(--accent-gradient-orange);
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 0 6px #f97316, 0 0 20px rgba(249, 115, 22, 0.35);
}

/* Glowing effect on hover */
.timeline-item:hover .timeline-marker {
    transform: scale(1.5);
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 0 8px var(--accent-primary), 0 0 30px rgba(239, 68, 68, 0.6);
}

/* Current position pulse animation */
.timeline-marker.current::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Content card with flowing design */
.timeline-content {
    background: var(--card-bg);
    padding: 1.65rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    border-left: 3px solid var(--accent-primary);
}

/* Gradient border on hover */
.timeline-content::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-bg);
    border-radius: 20px;
    z-index: -1;
}

.timeline-item:nth-child(1) .timeline-content {
    border-left-color: var(--accent-primary);
}

.timeline-item:nth-child(2) .timeline-content {
    border-left-color: #fb7185;
}

.timeline-item:nth-child(3) .timeline-content {
    border-left-color: #f97316;
}

.timeline-item:nth-child(4) .timeline-content {
    border-left-color: #f43f5e;
}

.timeline-item:nth-child(5) .timeline-content {
    border-left-color: #f97316;
}

.timeline-content:hover {
    transform: translateX(5px) translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-width: 5px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.95rem;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: flex-start;
}

.timeline-info {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.timeline-company {
    color: var(--accent-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timeline-company::before {
    content: '🏢';
    font-size: 0.9rem;
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
}

/* Current badge */
.current-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.current-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.timeline-location,
.timeline-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.timeline-location i,
.timeline-date i {
    color: var(--accent-primary);
    font-size: 0.85rem;
}

.timeline-location {
    width: fit-content;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0.1rem 0 0;
    font-size: 0.95rem;
}

/* Highlights section */
.timeline-highlights {
    margin-bottom: 0;
}

.timeline-highlights h4 {
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.timeline-highlights ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timeline-highlights li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.timeline-highlights li:hover {
    color: var(--text-primary);
    transform: translateX(3px);
}

.timeline-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 5px;
    height: 5px;
    background: var(--accent-gradient);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(102, 126, 234, 0.5);
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* ===== Education Section ===== */
.education-section {
    position: relative;
    overflow: hidden;
}

.education-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 40%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(100px);
}

.education-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding: 1rem 0;
}

/* Flowing connector line */
.education-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, 
        var(--accent-primary) 0%, 
        var(--accent-tertiary) 50%, 
        var(--accent-quaternary) 100%);
    border-radius: 2px;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.education-card {
    background: var(--card-bg);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border-color);
    width: min(820px, calc(50% - 1.75rem));
    margin: 0;
}

/* Alternating flow layout */
.education-card:nth-child(odd) {
    align-self: flex-start;
    transform-origin: right center;
}

.education-card:nth-child(even) {
    align-self: flex-end;
    transform-origin: left center;
    flex-direction: row-reverse;
}

/* Gradient border animation */
.education-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.education-card:hover::before {
    opacity: 1;
}

/* Inner card to mask gradient */
.education-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-bg);
    border-radius: 20px;
    z-index: -1;
}

.education-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow), 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: transparent;
}

/* Different gradient colors for each card */
.education-card:nth-child(1) .education-icon {
    background: var(--accent-gradient);
}

.education-card:nth-child(2) .education-icon {
    background: var(--accent-gradient-alt);
}

.education-card:nth-child(3) .education-icon {
    background: var(--accent-gradient-blue);
}

.education-card:nth-child(4) .education-icon {
    background: var(--accent-gradient-green);
}

.education-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 14px;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.4s ease;
}

.education-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: inherit;
    border-radius: 20px;
    opacity: 0.3;
    filter: blur(15px);
    transition: all 0.4s ease;
}

.education-card:hover .education-icon {
    transform: rotate(5deg) scale(1.1);
}

.education-card:hover .education-icon::before {
    opacity: 0.5;
    filter: blur(25px);
}

.education-content {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.education-degree {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
    line-height: 1.3;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.education-institution {
    color: var(--accent-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-institution::before {
    content: '🏛️';
    font-size: 1.2rem;
}

.education-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.education-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.education-meta span:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.education-meta span i {
    font-size: 0.85rem;
}

.education-gpa {
    font-weight: 600;
}

.education-description {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.education-description:empty {
    display: none;
}

.education-achievements {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.education-card:hover .education-achievements {
    border-left-width: 6px;
    box-shadow: var(--shadow-sm);
}

.education-achievements h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-achievements h4::before {
    content: '🏆';
    font-size: 1.2rem;
}

.education-achievements ul {
    list-style: none;
    padding-left: 0;
}

.education-achievements li {
    color: var(--text-secondary);
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.education-achievements li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.education-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ===== Certificates Section ===== */
.certificates-section {
    background: var(--bg-secondary);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* ===== CTF Certificates Section ===== */
.ctf-certificates-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.ctf-categories-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ctf-category-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.ctf-category-title {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ctf-category-title i {
    color: var(--accent-primary);
}

.ctf-certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.ctf-certificate-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ctf-certificate-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.ctf-certificate-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.ctf-certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ctf-certificate-content {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ctf-certificate-title {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0;
}

.ctf-certificate-meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.certificate-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-card:hover::before {
    opacity: 1;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

.certificate-badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 12px;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.certificate-badge img {
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-badge img {
    transform: scale(1.1);
}

.certificate-content {
    flex: 1;
}

.certificate-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.certificate-issuer {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.certificate-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.certificate-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.certificate-category {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.certificate-category.award {
    background: linear-gradient(135deg, #fb7185 0%, #ef4444 100%);
}

.certificate-category.achievement {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}

/* ===== Research Section (Card Layout) ===== */
.research-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.research-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 40%;
    height: 140%;
    background: var(--accent-gradient);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(120px);
}

.research-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.research-card {
    background: transparent;
    border-radius: 15px;
    padding: 1.75rem;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: var(--accent-primary);
}

.research-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    position: relative;
}

.research-number {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.research-year {
    background: transparent;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-weight: 600;
}

.research-citation {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.research-citation strong {
    color: var(--text-primary);
    font-weight: 600;
}

.research-citation a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.research-citation a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.research-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

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

.research-authors i {
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.research-category {
    background: transparent;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-color);
}

.research-category.journal {
    background: transparent;
    border-color: rgba(102, 126, 234, 0.5);
}

.research-category.conference {
    background: transparent;
    border-color: rgba(79, 172, 254, 0.5);
}

.research-category.book {
    background: transparent;
    border-color: rgba(67, 233, 123, 0.5);
}

/* Different thin gradient borders for alternating cards */
.research-card:nth-child(6n+1) {
    border-left: 1px solid;
    border-image: var(--accent-gradient) 1;
}

.research-card:nth-child(6n+2) {
    border-left: 1px solid;
    border-image: var(--accent-gradient-alt) 1;
}

.research-card:nth-child(6n+3) {
    border-left: 1px solid;
    border-image: var(--accent-gradient-blue) 1;
}

.research-card:nth-child(6n+4) {
    border-left: 1px solid;
    border-image: var(--accent-gradient-green) 1;
}

.research-card:nth-child(6n+5) {
    border-left: 1px solid;
    border-image: var(--accent-gradient-orange) 1;
}

/* ===== Hall of Fame Section ===== */
.halloffame-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.halloffame-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 40%;
    height: 140%;
    background: var(--accent-gradient-orange);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(120px);
}

.halloffame-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.halloffame-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.halloffame-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient-orange);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.halloffame-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--card-bg);
    border-radius: 14px;
    z-index: 1;
}

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

.halloffame-card:hover::before {
    opacity: 1;
}

.halloffame-content {
    position: relative;
    z-index: 2;
}

.halloffame-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0;
    box-shadow: var(--shadow-md);
}

.halloffame-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.halloffame-organization {
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.halloffame-organization i {
    font-size: 0.9rem;
}

.halloffame-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.halloffame-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.halloffame-year {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.halloffame-card:hover .halloffame-year {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.halloffame-year i {
    color: var(--accent-primary);
    font-size: 0.85rem;
}

.halloffame-card:hover .halloffame-year i {
    color: white;
}

.halloffame-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(239, 68, 68, 0.15) 100%);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.halloffame-card:hover .halloffame-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

[data-theme="light"] .halloffame-card:hover .halloffame-year,
[data-theme="light"] .halloffame-card:hover .halloffame-badge {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: var(--text-primary);
}

[data-theme="light"] .halloffame-card:hover .halloffame-year i {
    color: var(--accent-primary);
}

/* ===== Honors & Awards Section (Card Layout) ===== */
.honors-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.honors-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 40%;
    height: 140%;
    background: var(--accent-gradient-alt);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(120px);
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.honor-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.honor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.honor-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--card-bg);
    border-radius: 14px;
    z-index: 1;
}

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

.honor-card:hover::before {
    opacity: 1;
}

.honor-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.honor-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0;
    box-shadow: var(--shadow-md);
}

.honor-card:nth-child(6n+1) .honor-icon {
    background: var(--accent-gradient);
}

.honor-card:nth-child(6n+2) .honor-icon {
    background: var(--accent-gradient-alt);
}

.honor-card:nth-child(6n+3) .honor-icon {
    background: var(--accent-gradient-blue);
}

.honor-card:nth-child(6n+4) .honor-icon {
    background: var(--accent-gradient-green);
}

.honor-card:nth-child(6n+5) .honor-icon {
    background: var(--accent-gradient-orange);
}

.honor-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
    line-height: 1.4;
}

.honor-highlight {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.honor-organization {
    font-size: 0.95rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.honor-organization i {
    font-size: 0.9rem;
}

.honor-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.25rem;
}

.honor-description {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.honor-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.honor-fact {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 600;
    color: var(--accent-primary);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.honor-highlights {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
    display: grid;
    gap: 0.35rem;
}

.honor-highlights li {
    line-height: 1.45;
    font-size: 0.88rem;
}

.honor-year {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.honor-card:hover .honor-year {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.honor-year i {
    color: var(--accent-primary);
    font-size: 0.85rem;
}

.honor-card:hover .honor-year i {
    color: white;
}

.honor-type {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-color);
    align-self: flex-start;
    transition: all 0.3s ease;
}

.honor-card:hover .honor-type {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

[data-theme="light"] .honor-card:hover .honor-title,
[data-theme="light"] .honor-card:hover .honor-organization,
[data-theme="light"] .honor-card:hover .honor-description {
    color: var(--text-primary);
}

[data-theme="light"] .honor-card:hover .honor-highlights {
    color: var(--text-primary);
}

[data-theme="light"] .honor-card:hover .honor-highlight {
    color: var(--accent-secondary);
}

[data-theme="light"] .honor-card:hover .honor-year,
[data-theme="light"] .honor-card:hover .honor-type {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: var(--text-primary);
}

[data-theme="light"] .honor-card:hover .honor-year i {
    color: var(--accent-primary);
}

.honor-type.academic {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(185, 28, 28, 0.15) 100%);
    color: var(--accent-primary);
}

.honor-type.bug-bounty {
    background: linear-gradient(135deg, rgba(251, 113, 133, 0.15) 0%, rgba(239, 68, 68, 0.15) 100%);
    color: #fb7185;
}

.honor-type.research {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(239, 68, 68, 0.15) 100%);
    color: #f97316;
}

.honor-type.sports {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.15) 0%, rgba(239, 68, 68, 0.15) 100%);
    color: #f43f5e;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 10px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-details a,
.contact-details p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-primary);
}

.contact-social {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.contact-social h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
}

.social-links-contact a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links-contact a:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 4rem 0 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(100px);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Brand Section */
.footer-brand {
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.footer-tagline {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-badges .badge {
    padding: 0.4rem 0.8rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.footer-badges .badge:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gradient);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-links a:hover i {
    opacity: 1;
}

/* Contact Links */
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--accent-primary);
    font-size: 1rem;
    margin-top: 0.1rem;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-primary);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin: 0.2rem 0 0;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* Footer Stats */
.footer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.footer-stats .stat {
    background: var(--bg-primary);
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.footer-stats .stat:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-stats .stat strong {
    display: block;
    font-size: 1.25rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.footer-stats .stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-bottom-content {
    text-align: center;
}

.footer-bottom-content p {
    color: var(--text-muted);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-credit i {
    font-size: 0.85rem;
}

.footer-credit .fa-code {
    color: var(--accent-primary);
}

.footer-credit .fa-heart {
    color: #ef4444;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.15); }
    20%, 40% { transform: scale(0.95); }
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1440px) {
    .hero-content {
        gap: 2.5rem;
    }

    .credentials-bar {
        padding: 1rem;
    }

    .credential-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 1200px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        gap: 0.6rem;
    }

    .stat-item i {
        font-size: 1.3rem;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 100px 0 150px;
        min-height: calc(100vh + 150px);
    }

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

    .hero-image {
        order: -1;
        margin: 0 auto;
    }

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

    .greeting {
        justify-content: center;
    }

    .profile-card {
        width: 300px;
        height: 300px;
    }

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

    .social-links {
        justify-content: center;
    }

    .credentials-bar {
        text-align: left;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .education-card {
        max-width: 90%;
    }

    .education-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .research-container,
    .halloffame-grid,
    .honors-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .research-card,
    .halloffame-card,
    .honor-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 50%;
        right: 0;
        width: 50%;
        background: var(--navbar-bg);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-md);
        height: calc(100vh - 70px);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .hero-section {
        padding: 90px 0 120px;
        min-height: calc(100vh + 120px);
    }

    .profile-card {
        width: 250px;
        height: 250px;
    }

    .credentials-bar {
        padding: 0.9rem;
    }

    .credential-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .stat-item i {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

    .timeline {
        padding-left: 1rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-header {
        flex-direction: column;
    }

    .timeline-meta {
        align-items: flex-start;
        text-align: left;
    }

    .timeline-info {
        min-width: auto;
    }

    .education-grid::before {
        left: 20px;
    }

    .education-card {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .education-card:nth-child(even) {
        flex-direction: column;
    }

    .education-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .education-degree {
        font-size: 1.1rem;
    }

    .education-content {
        font-size: 0.9rem;
    }

    .education-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .education-achievements {
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-stats {
        grid-template-columns: 1fr;
    }

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

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

    .skill-groups {
        column-count: 1;
    }

    .skill-tags {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

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

    .ctf-certificates-grid {
        grid-template-columns: 1fr;
    }

    .profile-badges-row {
        gap: clamp(0.6rem, 2.5vw, 1rem);
        max-width: 100%;
    }

    .profile-badge-icon {
        width: clamp(72px, 24vw, 128px);
        height: clamp(72px, 24vw, 128px);
        padding: clamp(6px, 1.8vw, 10px);
    }

    .profile-badge-name {
        font-size: clamp(0.72rem, 2.6vw, 0.9rem);
    }

    .research-container,
    .halloffame-grid,
    .honors-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .research-card,
    .halloffame-card,
    .honor-card {
        padding: 1.25rem;
    }
    
    .research-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .research-number {
        order: -1;
    }
    
    .research-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .honor-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: clamp(1.1rem, 5.2vw, 1.45rem);
    }

    .hero-section {
        padding: 80px 0 100px;
        min-height: calc(100vh + 100px);
    }

    .hero-content {
        gap: 2rem;
    }

    .credentials-bar {
        padding: 0.75rem;
    }

    .credential-item {
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .credential-item i {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        max-width: 100%;
    }

    .stat-item {
        padding: 0.75rem;
        gap: 0.6rem;
    }

    .stat-item i {
        font-size: 1.25rem;
    }

    .stat-item strong {
        font-size: 1rem;
    }

    .stat-item span {
        font-size: 0.7rem;
    }

    .hero-buttons {
        max-width: 100%;
    }

    .profile-card {
        width: 250px;
        height: 250px;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .timeline::before {
        left: 6px;
    }

    .timeline-marker {
        width: 12px;
        height: 12px;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .timeline-company {
        font-size: 0.9rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .research-section,
    .halloffame-section,
    .honors-section {
        padding: 3rem 0;
    }
    
    .research-card,
    .halloffame-card,
    .honor-card {
        padding: 1rem;
    }
    
    .research-citation {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .halloffame-title,
    .honor-title {
        font-size: 1.05rem;
    }
    
    .halloffame-organization,
    .honor-organization {
        font-size: 0.9rem;
    }
}
