/* Modern Portfolio - 2024/2025 Trending Design */

/* CSS Variables */
:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--white);
    color: var(--gray-700);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* =====================
   ANIMATIONS
   ===================== */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Gradient Shift */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Underline Grow */
@keyframes underlineGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Animation utility classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Ensure content is above shine effect */
.navbar,
.hero,
.section,
.footer {
    position: relative;
    z-index: 1;
}

/* =====================
   NAVBAR - Floating Style
   ===================== */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 48px);
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    padding: 12px 24px;
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    max-width: 100%;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.05);
    color: var(--gray-700);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

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

.nav-links a:hover::after {
    width: calc(100% - 32px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

/* Hero Animations */
.hero-greeting {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.hero-name {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-summary {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-social {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero-social a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-social a:hover {
    animation: pulse 0.5s ease;
}

.hero-greeting {
    display: inline-block;
    color: var(--gray-500);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-summary {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--black);
    color: var(--black);
}

.hero-social {
    display: flex;
    gap: 12px;
}

.hero-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-600);
    border: 1.5px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.hero-social a:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-social svg {
    width: 20px;
    height: 20px;
}

/* =====================
   SECTION STYLES
   ===================== */
.section {
    padding: 120px 0;
    background: var(--white);
}

.section-alt {
    background: var(--gray-50);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Animated underline on section title */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.animated::after {
    transform: translateX(-50%) scaleX(1);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.125rem;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================
   ABOUT SECTION
   ===================== */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.9;
    font-size: 1.0625rem;
}

.about-info {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.info-item:first-child {
    padding-top: 0;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value {
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.9375rem;
}

.status-available {
    color: var(--black);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-available::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Clients Section */
.clients-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.clients-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.client-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.client-tag:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* =====================
   SKILLS SECTION
   ===================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.skill-category {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.skill-category:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow);
}

.skill-category-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.skill-tag {
    background: var(--gray-50);
    color: var(--gray-700);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--black) 0%, var(--gray-300) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 48px;
    margin-bottom: 48px;
}

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

.timeline-marker {
    position: absolute;
    left: -5px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--black);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--black);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.5);
    box-shadow: 0 0 0 4px var(--black), 0 0 20px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    letter-spacing: -0.5px;
}

.job-period {
    color: var(--gray-500);
    font-weight: 500;
    font-size: 0.875rem;
    background: var(--gray-100);
    padding: 6px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.job-company {
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.job-description {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.job-achievements {
    list-style: none;
}

.job-achievements li {
    position: relative;
    padding-left: 24px;
    color: var(--gray-600);
    margin-bottom: 10px;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.job-achievements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--gray-400);
    border-radius: 50%;
}

/* =====================
   PROJECTS GRID
   ===================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--black), var(--gray-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--gray-300);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.project-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.project-subtitle {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.project-description {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.project-achievements {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.project-achievements li {
    position: relative;
    padding-left: 20px;
    color: var(--gray-600);
    margin-bottom: 8px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.project-achievements li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gray-400);
    font-weight: 500;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.tech-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* =====================
   ACHIEVEMENTS SECTION - Modern Redesign
   ===================== */
.achievements-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.achievement-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706);
}

.achievement-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.achievement-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
    animation: float 3s ease-in-out infinite;
}

.achievement-card:nth-child(2) .achievement-icon {
    animation-delay: 0.5s;
}

.achievement-card:nth-child(3) .achievement-icon {
    animation-delay: 1s;
}

.achievement-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gray-900);
}

.achievement-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.achievement-period {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-description {
    color: var(--gray-400);
    font-size: 0.9375rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* =====================
   EDUCATION GRID
   ===================== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.education-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow);
}

.education-year {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.education-degree {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.education-school {
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.education-details {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 40px;
    font-size: 1.125rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--black);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-method:hover::before {
    transform: scaleY(1);
}

.contact-method:hover {
    border-color: var(--black);
    background: var(--white);
    transform: translateX(8px);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.contact-method svg {
    width: 24px;
    height: 24px;
    color: var(--gray-800);
    flex-shrink: 0;
}

.contact-method span {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
}

/* Contact Form */
.contact-form {
    background: var(--gray-50);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    color: var(--gray-800);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

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

.form-success {
    background: #f0fdf4;
    border: 1px solid #22c55e;
    color: #166534;
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    text-align: center;
    font-weight: 500;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #dc2626;
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    text-align: center;
    font-weight: 500;
}

.contact-form .btn {
    width: 100%;
    padding: 18px 32px;
}

/* =====================
   FOOTER
   ===================== */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.footer p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-info {
        position: static;
    }

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

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

@media (max-width: 768px) {
    .navbar {
        top: 12px;
        width: calc(100% - 24px);
        padding: 10px 16px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        border-radius: var(--radius-lg);
        border: 1px solid var(--gray-200);
        box-shadow: var(--shadow-xl);
    }

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

    .nav-links a {
        padding: 12px 16px;
        border-radius: var(--radius);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .section {
        padding: 80px 0;
    }

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

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

    .timeline-marker {
        left: -1px;
    }

    .timeline-item {
        padding-left: 32px;
    }

    .timeline-header {
        flex-direction: column;
        gap: 8px;
    }

    .job-period {
        align-self: flex-start;
    }

    .achievements-grid {
        flex-direction: column;
        align-items: center;
    }

    .achievement-card {
        max-width: 100%;
    }

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

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

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

    .hero-name {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-title {
        font-size: 1.125rem;
    }

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

    .timeline-content,
    .project-content,
    .education-card,
    .contact-form {
        padding: 24px;
    }

    .about-info {
        padding: 28px;
    }

    .achievement-card {
        padding: 32px 24px;
    }
}

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* =====================
   SCROLLBAR
   ===================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Selection */
::selection {
    background: var(--black);
    color: var(--white);
}
