﻿/* Root Variables */
:root {
    --primary-color: #2a5298;
    --secondary-color: #f6921e;
    --dark-color: #1e3c72;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #666;
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f5f5f5;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out;
}

.loader-container {
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

.loader {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--secondary-color);
    border-right-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
    box-shadow: 0 0 20px rgba(246, 146, 30, 0.3);
}

.loader-text {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Navigation */
#mainNav {
    background: transparent;
    transition: var(--transition);
    padding: 1.5rem 0;
}

    #mainNav.navbar-scrolled {
        background: rgba(30, 60, 114, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: var(--transition);
    position: relative;
}

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 100%;
    }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .hero-particles::before {
        content: '';
        position: absolute;
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
        background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px), radial-gradient(circle, rgba(255,255,255,0.05) 2px, transparent 2px);
        background-size: 50px 50px, 100px 100px;
        background-position: 0 0, 25px 25px;
        animation: particleMove 20s linear infinite;
    }

@keyframes particleMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Profile Image */
.profile-container {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.profile-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Profile fallback avatar */
.profile-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-initials {
    font-size: 4rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.profile-image {
    z-index: 2;
}

.profile-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.profile-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
}

    .profile-dots::before,
    .profile-dots::after {
        content: '';
        position: absolute;
        width: 8px;
        height: 8px;
        background: var(--secondary-color);
        border-radius: 50%;
    }

    .profile-dots::before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        animation: dot-animation 3s ease-in-out infinite;
    }

    .profile-dots::after {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        animation: dot-animation 3s ease-in-out infinite 1.5s;
    }

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes dot-animation {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) scale(1.5);
        opacity: 0.5;
    }
}

/* Hero Content */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}


/* Social Links Hero */
.social-links-hero {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.social-link-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
}

    .social-link-hero:hover {
        background: var(--secondary-color);
        border-color: var(--secondary-color);
        color: white;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(246, 146, 30, 0.3);
    }

/* Contact Info Hero */
.contact-info-hero {
    margin-bottom: 3rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

    .contact-item:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
    }

    .contact-item i {
        color: var(--secondary-color);
    }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 36px;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    transition: var(--transition);
}

    .scroll-down:hover {
        color: var(--secondary-color);
        border-color: var(--secondary-color);
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3rem;
    position: relative;
}

.title-decoration {
    position: relative;
    display: inline-block;
}

    .title-decoration::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    }

/* Skills Section */
.skills-section {
    background: white;
    position: relative;
}

.skill-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: var(--border-radius);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

    .skill-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

.skill-category {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .skill-tag::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transition: left 0.3s ease;
    }

    .skill-tag:hover::before {
        left: 100%;
    }

    .skill-tag:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 5px 15px rgba(42, 82, 152, 0.3);
    }

/* Experience Section */
.experience-section {
    background: #f8f9fa;
}


/* Timeline Progress */
.timeline-progress-container {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 20px;
    position: sticky;
    top: 100px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-progress {
    position: relative;
    height: 60px;
    background: rgba(42, 82, 152, 0.1);
    border-radius: 30px;
    overflow: visible;
    border: 2px solid rgba(42, 82, 152, 0.2);
}

.timeline-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.5s ease;
    border-radius: 30px;
}

.timeline-car {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    transition: left 0.5s ease;
    z-index: 3;
    animation: carBounce 2s ease-in-out infinite;
}

    .timeline-car img {
        width: 100%;
        height: 100%;
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    }

@keyframes carBounce {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-55%) scale(1.05);
    }
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

    .timeline-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
        border-radius: 2px;
    }

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

    .timeline-item.active {
        opacity: 1;
        transform: translateY(0);
    }

    .timeline-item.left {
        padding-right: 50%;
        text-align: right;
    }

    .timeline-item.right {
        padding-left: 50%;
        text-align: left;
    }

.timeline-content {
    position: relative;
}

.timeline-badge {
    position: absolute;
    top: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item.left .timeline-badge {
    right: -25px;
}

.timeline-item.right .timeline-badge {
    left: -25px;
}

.timeline-panel {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: var(--transition);
}

    .timeline-panel:hover {
        transform: scale(1.02);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

.timeline-item.left .timeline-panel {
    margin-right: 30px;
}

.timeline-item.right .timeline-panel {
    margin-left: 30px;
}

.timeline-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.timeline-meta {
    margin-bottom: 15px;
}

.experience-type-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-work {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.badge-intern {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
}

.badge-project {
    background: linear-gradient(135deg, #6f42c1, #a855f7);
    color: white;
}

.badge-education {
    background: linear-gradient(135deg, #fd7e14, #ffc107);
    color: white;
}

.badge-volunteer {
    background: linear-gradient(135deg, #e83e8c, #f783ac);
    color: white;
}

.badge-default {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    color: white;
}

.timeline-body p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.skill-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(42, 82, 152, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

    .skill-badge:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }

/* Contact Section */
.contact-section {
    background: white;
}

.contact-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

.contact-info-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    height: 100%;
    transition: var(--transition);
}

    .contact-info-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .contact-info-item i {
        font-size: 3rem;
        color: var(--secondary-color);
        margin-bottom: 20px;
        display: block;
    }

    .contact-info-item h5 {
        color: var(--dark-color);
        margin-bottom: 10px;
    }

    .contact-info-item a {
        color: var(--primary-color);
        text-decoration: none;
        transition: var(--transition);
    }

        .contact-info-item a:hover {
            color: var(--secondary-color);
        }

.social-links-contact {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

    .social-link-contact:hover {
        background: var(--secondary-color);
        transform: translateY(-5px) rotate(360deg);
        box-shadow: 0 10px 20px rgba(246, 146, 30, 0.3);
    }

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: var(--secondary-color);
        transform: translateY(-5px);
        color: white;
    }

/* Skill Explanation Tooltip */
.skill-explanation {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    animation: slideDown 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.explanation-text {
    margin: 0;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Experience Image */
.experience-image {
    float: right;
    margin: 0 0 15px 15px;
    max-width: 80px;
    max-height: 80px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.exp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

    .exp-img:hover {
        transform: scale(1.1);
    }

/* Timeline Years Highlight */
.timeline-year {
    font-weight: bold;
    color: var(--secondary-color) !important;
    background: rgba(246, 146, 30, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Cover Letter Section in Hero */
.cover-letter-hero {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.cover-letter-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

    .cover-letter-card:hover {
        transform: translateY(-5px);
    }

.cover-letter-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
}

    .cover-letter-title i {
        color: var(--secondary-color);
        font-size: 1.4rem;
    }

.cover-letter-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-align: justify;
    font-size: 1rem;
}

    .cover-letter-content p {
        margin-bottom: 0;
    }

/* Cover Letter Section (Keep for compatibility) */
.cover-letter-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .cover-letter-section:hover {
        transform: translateY(-2px);
    }

    .cover-letter-section .cover-letter-title {
        color: var(--primary-color);
        font-weight: 600;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .cover-letter-section .cover-letter-title i {
            color: var(--secondary-color);
            font-size: 1.2rem;
        }

    .cover-letter-section .cover-letter-content {
        color: var(--text-muted);
        line-height: 1.7;
        text-align: justify;
    }

        .cover-letter-section .cover-letter-content p {
            margin-bottom: 0;
        }

/* Experience URL Button */
.experience-url .btn {
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

    .experience-url .btn:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(42, 82, 152, 0.3);
    }

/* Enhanced skill tags with tooltip functionality */
.skill-tag {
    cursor: pointer;
    position: relative;
}

    .skill-tag:hover {
        background: linear-gradient(135deg, var(--secondary-color), #ff8c00);
    }

    .skill-tag.active {
        background: linear-gradient(135deg, var(--secondary-color), #ff8c00);
        box-shadow: 0 0 15px rgba(246, 146, 30, 0.5);
        transform: translateY(-2px) scale(1.05);
    }

/* Enhanced skill badges with tooltip functionality */
.skill-badge {
    cursor: pointer;
    position: relative;
}

    .skill-badge:hover {
        background: var(--secondary-color) !important;
        color: white !important;
    }

    .skill-badge.active {
        background: var(--secondary-color) !important;
        color: white !important;
        box-shadow: 0 0 15px rgba(246, 146, 30, 0.5);
        transform: translateY(-2px) scale(1.05);
    }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 80px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-badge {
        left: 5px !important;
        right: auto !important;
    }

    .timeline-panel {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }

        .navbar-nav .nav-link {
            margin: 5px 0;
        }

    .profile-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .contact-info-hero .row {
        flex-direction: column;
    }

    .skill-card {
        margin-bottom: 20px;
    }

    .timeline-progress-container {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
        padding: 15px;
    }

    .timeline-car {
        width: 40px;
        height: 40px;
    }

    .contact-card {
        padding: 30px;
    }

    .experience-image {
        float: none;
        margin: 0 auto 15px;
        display: block;
        max-width: 60px;
        max-height: 60px;
    }

    .cover-letter-section {
        padding: 20px;
    }

        .cover-letter-section .cover-letter-content {
            font-size: 0.9rem;
        }

    .cover-letter-card {
        padding: 20px;
        margin: 1rem;
    }

        .cover-letter-card .cover-letter-content {
            font-size: 0.9rem;
            text-align: left;
        }

    .cover-letter-title {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .social-links-hero {
        gap: 10px;
    }

    .social-link-hero {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-panel {
        padding: 20px;
    }

    .timeline-title {
        font-size: 1.2rem;
    }
}
