* {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #f59e0b;
    
    --bg-color: #0b1120; 
    --bg-light: #172033; 
    
    --text-heading: #e0f2fe;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 4px;
    border-radius: 2px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1rem; 
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

p {
    max-width: 65ch;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem; 
}

.highlight {
    color: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-heading);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color); 
    margin: 10px auto 0;
    border-radius: 2px;
}

.container {
    padding: 6rem 10%;
}

.bg-dark {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: var(--secondary-color);
    color: #000000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
}

.btn:hover, .btn:active {
    background: #d97706;
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline:hover, .btn-outline:active {
    background: var(--secondary-color);
    color: #000000;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(29, 78, 216, 0.95), rgba(37, 99, 235, 0.95)); 
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 3px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.logo span {
    color: #bae6fd;
    font-size: 1rem;
    font-weight: 500;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #fef3c7; 
}

.hero-section {
    min-height: 100vh; 
    display: flex;
    align-items: center;
    padding: 8rem 10% 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #e0f2fe, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.stat-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-light);
    border-radius: 0 8px 8px 0;
    margin-bottom: 1rem;
}

.stat-box h3 {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    background: var(--bg-color);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 4px solid var(--bg-light);
    z-index: 2;
}

.timeline-content {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content .date {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: left;
    border-top: 4px solid var(--primary-light);
    transition: var(--transition);
}

.skill-card:hover {
    border-top-color: var(--secondary-color);
    background: #1e293b;
}

.skill-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--text-heading);
}

footer {
    background: linear-gradient(180deg, var(--bg-color) 0%, #1e3a8a 100%);
    text-align: center;
    padding: 5rem 10% 2rem;
    border-top: 2px solid rgba(37, 99, 235, 0.3);
}

.footer-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-content p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    color: #e0f2fe;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bae6fd;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    .timeline::before {
        left: 0;
    }
    .timeline-dot {
        left: -10px;
    }
    .timeline-item {
        padding-left: 30px;
    }
}
/* END OF LINE */