/* 
 * Portfolio Styles
 * Author: Gautam Aryal
 * Professional Portfolio CSS - Job-Optimized Design
 */

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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #10b981;
    --success-color: #22c55e;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-color: #f3f4f6;
    --text-light: #9ca3af;
    --light-bg: #111827;
    --white: #1f2937;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.7);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
    transition: var(--transition);
}

/* ==================== Scroll Progress ==================== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 10000;
}

/* ==================== Header ==================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

[data-theme="dark"] header {
    background: rgba(31, 41, 55, 0.95);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.resume-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resume-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.resume-btn::after {
    display: none;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 3px;
}

.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);
}

/* ==================== Layout ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    margin-top: 70px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== Hero Section ==================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-position: bottom;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid var(--success-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero .role {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.hero .tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

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

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

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

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

.social-links-hero {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* ==================== About Section ==================== */
#about {
    background: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
}

.about-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

[data-theme="dark"] .highlight-item {
    background: rgba(255, 255, 255, 0.05);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.highlight-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==================== Projects Section ==================== */
#projects {
    background: var(--light-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

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

.project-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.project-image.java { 
    background: linear-gradient(135deg, #f89b29, #ff6f00); 
}

.project-image.python { 
    background: linear-gradient(135deg, #3776ab, #ffd43b); 
}

.project-image.web { 
    background: linear-gradient(135deg, #61dafb, #21a1f1); 
}

.project-image.ml { 
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4); 
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd700;
    color: #1f2937;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.project-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-meta {
    margin-bottom: 15px;
}

.project-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.project-meta-item i {
    color: var(--primary-color);
    margin-top: 3px;
}

.project-meta-item strong {
    color: var(--text-color);
    min-width: 80px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    padding: 5px 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.project-link {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.project-link.primary {
    background: var(--primary-color);
    color: var(--white);
}

.project-link.primary:hover {
    background: var(--secondary-color);
}

.project-link.secondary {
    background: var(--light-bg);
    color: var(--text-color);
}

[data-theme="dark"] .project-link.secondary {
    background: rgba(255, 255, 255, 0.1);
}

.project-link.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==================== Experience Section ==================== */
#experience {
    background: var(--white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--white);
}

[data-theme="dark"] .timeline-item::before {
    border-color: var(--white);
}

.timeline-content {
    background: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .timeline-content {
    background: rgba(255, 255, 255, 0.05);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.timeline-content .company {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-content .date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

.timeline-content li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==================== Skills Section ==================== */
#skills {
    background: var(--light-bg);
}

.skills-container {
    max-width: 900px;
    margin: 0 auto;
}

.skill-category {
    margin-bottom: 50px;
}

.skill-category h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.skill-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

[data-theme="dark"] .skill-item {
    background: rgba(255, 255, 255, 0.05);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.skill-name {
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-level {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.skill-item.animate .skill-progress {
    width: var(--progress);
}

/* ==================== Education Section ==================== */
#education {
    background: var(--white);
}

.education-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .education-card {
    background: rgba(255, 255, 255, 0.05);
}

.education-card h3 {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.education-card .university {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.education-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    color: var(--text-light);
}

.education-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coursework {
    margin-top: 20px;
}

.coursework h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 12px;
}

.coursework-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-tag {
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--text-color);
    border-radius: 6px;
    font-size: 0.9rem;
}

[data-theme="dark"] .course-tag {
    background: rgba(255, 255, 255, 0.05);
}

/* ==================== Contact Section ==================== */
#contact {
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

[data-theme="dark"] .contact-card {
    background: rgba(255, 255, 255, 0.05);
}

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

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.contact-card a:hover {
    background: var(--secondary-color);
}

.copy-btn {
    background: var(--light-bg);
    color: var(--text-color);
    margin-left: 10px;
    cursor: pointer;
    border: 2px solid var(--primary-color);
}

[data-theme="dark"] .copy-btn {
    background: rgba(255, 255, 255, 0.1);
}

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

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .contact-form {
    background: rgba(255, 255, 255, 0.05);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-color);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ==================== Utility Components ==================== */

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    z-index: 10000;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
}

#back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

#back-to-top.show {
    display: flex;
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

[data-theme="dark"] footer {
    background: #0f172a;
}

/* Loading Screen */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    transition: opacity 0.5s ease;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow);
        gap: 0;
    }

    [data-theme="dark"] nav {
        background: var(--white);
    }

    nav.active {
        left: 0;
    }

    nav a {
        padding: 15px;
        width: 100%;
        text-align: center;
    }

    .resume-btn {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }

    .theme-toggle {
        margin-top: 20px;
    }

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

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

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

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

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

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

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

    .hero .role {
        font-size: 1.2rem;
    }

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

    .contact-form,
    .education-card {
        padding: 25px;
    }
}

