:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --text-muted: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Navigation */
.navbar {
    background: rgba(33, 37, 41, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('../images/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.profile-image-wrapper {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid rgba(25, 135, 84, 0.7);
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.availability-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    animation: pulse 2s infinite;
    white-space: nowrap;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(25, 135, 84, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}

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

.social-link {
    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.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* About Section */
.about-intro {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-headline {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Statistics Cards */
.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    line-height: 1;
}

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

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    color: white;
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

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

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 41px;
    top: 0;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.timeline-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timeline-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-position {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.timeline-position h4 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.25rem;
}

.company-name {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contract-note {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 3px solid var(--primary-color);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contract-note i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contract-note span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.contract-logos img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: white;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contract-logos img:hover {
    transform: scale(2);
    cursor: pointer;
}

.timeline-description {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-description li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Skills Section */
.skills-overview {
    margin-bottom: 3rem;
}

.skill-metric {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.skill-metric:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.metric-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0.5rem 0;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Skill Category Cards */
.skill-category-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.skill-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.skill-category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    color: white;
    transform: rotate(5deg);
}

.category-header h4 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.25rem;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.skill-badge.expert {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.skill-badge.advanced {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.skill-badge.intermediate {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
}

.skill-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.skill-badge.small {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
}

/* Skill Icons */
.skill-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.skill-icon-colored {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    filter: none;
    background: white;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.skill-icon-bi {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Skill Legend */
.skill-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

/* Personal Skills */
.personal-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.personal-skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
}

.personal-skill-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Languages */
.language-items {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Interests */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.interest-item i {
    color: var(--primary-color);
}

/* Education */
.education-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.education-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.education-card h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.education-card h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.institution {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.certification-card {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    margin-top: 2rem;
}

/* Open Source Contributions Section */
.opensource-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.opensource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.project-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.project-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.project-meta {
    flex: 1;
}

.project-meta h4 {
    margin: 0 0 0.75rem 0;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags .tag {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.project-description {
    margin-bottom: 1.5rem;
}

.project-description p {
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

.project-features {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.project-features h5 {
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-features ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #495057;
}

.project-features ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

.project-actions .btn {
    flex: 1;
    padding: 0.5rem 1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.opensource-philosophy {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.philosophy-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.philosophy-text {
    flex: 1;
}

.philosophy-text h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.philosophy-text p {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    color: white;
    transform: translateY(-3px);
}

.value-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.value-item:hover i {
    color: white;
}

.value-item span {
    font-weight: 600;
    color: var(--dark-color);
}

.value-item:hover span {
    color: white;
}

/* Certificates & Achievements Section */
.certificates-gallery {
    padding: 2rem 0;
}

.certificate-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.certificate-image {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.certificate-actions {
    display: flex;
    gap: 1rem;
}

.cert-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.certificate-card:hover .cert-btn {
    background: var(--primary-color);
    color: white;
}

.certificate-card:hover .cert-btn:nth-child(2) {
    transition-delay: 0.2s;
}

.cert-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.2);
}

.cert-btn.view:hover {
    background: #28a745;
}

.cert-btn.download:hover {
    background: #17a2b8;
}

.certificate-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.certificate-info h5 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.certificate-card:hover .certificate-info h5 {
    color: var(--primary-color);
}

.cert-issuer {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cert-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.cert-date i {
    margin-right: 0.25rem;
}

/* Certificate placeholder styling for PDF */
.certificate-image::before {
    content: '\F1C1';
    font-family: 'Bootstrap Icons';
    font-size: 4rem;
    color: white;
    position: absolute;
    z-index: 1;
    opacity: 0.3;
}

/* References Section */
.reference-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.reference-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.reference-info {
    flex: 1;
}

.reference-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.reference-info h4 {
    color: var(--dark-color);
    margin: 0;
    font-size: 1.25rem;
}

.reference-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reference-tag.current {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.reference-tag.former {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.reference-tag.colleague {
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    color: white;
}

.reference-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.reference-former {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.reference-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

.reference-contact i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Contact */
.contact-item i {
    color: var(--primary-color);
}

.contact-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white !important;
}

.social-link-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 21px;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .contract-note {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .contract-logos {
        margin-left: 0;
        margin-top: 0.5rem;
        justify-content: center;
        width: 100%;
    }
    
    .reference-card {
        flex-direction: column;
        text-align: center;
    }
    
    .reference-avatar {
        margin: 0 auto;
    }
    
    .reference-info {
        width: 100%;
    }
    
    .reference-header {
        align-items: center;
    }
    
    .certificate-card {
        margin-bottom: 2rem;
    }
    
    .certificate-image {
        height: 200px;
    }
    
    .skill-legend {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .skill-category-card {
        margin-bottom: 1rem;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
}