/* ===== CLEAN ACADEMIC THEME ===== */
:root {
    /* Color Palette - Light Academic Theme */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #334155;
    --text-gray: #475569;
    
    /* Primary Colors - Professional Blue */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #60a5fa;
    
    /* Accent Colors */
    --accent-teal: #0d9488;
    --accent-indigo: #4f46e5;
    
    /* Text Colors */
    --text-primary: var(--dark-gray);
    --text-secondary: var(--text-gray);
    --text-muted: #64748b;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 32px rgba(37, 99, 235, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

/* Alternate section backgrounds */
.skills {
    background-color: var(--light-gray);
}

.experience {
    background-color: var(--white);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-divider {
    width: 80px;
    height: 2px;
    background: var(--primary-blue);
    margin: var(--space-md) auto;
    opacity: 0.3;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--medium-gray);
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: var(--space-sm);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-initials {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--primary-blue);
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-normal);
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-lang {
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-lang:hover {
    background: var(--medium-gray);
    border-color: var(--primary-blue);
}

.btn-menu {
    display: none;
    background: none;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 8rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-sm);
    line-height: 1.1;
}

.highlight {
    color: var(--primary-blue);
}

.hero-role {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Profile Image */
.profile-container {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.profile-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--primary-blue);
}

.stat-icon {
    display: block;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: var(--space-xs);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--primary-blue);
    font-weight: 600;
}

.about-text p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-sm);
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.info-label {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
}

.education-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--primary-blue);
    font-weight: 600;
}

.timeline-item {
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 4px solid var(--primary-blue);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: var(--space-sm);
}

.timeline-content h4 {
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.timeline-content > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.timeline-content ul {
    list-style: none;
    padding-left: var(--space-md);
}

.timeline-content li {
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    position: relative;
}

.timeline-content li::before {
    content: '→';
    color: var(--primary-blue);
    position: absolute;
    left: calc(-1 * var(--space-md));
}

/* ===== UPDATED SKILLS SECTION ===== */
.skill-category-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--medium-gray);
    margin-bottom: var(--space-md);
    transition: all var(--transition-normal);
}

.skill-category-section:last-child {
    margin-bottom: 0;
}

.skill-category-section:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue-light);
}

.skill-category-header {
    margin-bottom: var(--space-md);
}

.skill-category-title {
    font-size: 1.25rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--light-gray);
}

.skill-category-title i {
    font-size: 1.1rem;
    background: var(--primary-blue);
    color: white;
    padding: 0.6rem;
    border-radius: var(--radius-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Updated Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: var(--space-sm);
}

.skill-box {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-align: center;
    border: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    cursor: pointer;
}

.skill-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.skill-icon {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    border: 1px solid var(--medium-gray);
    transition: all var(--transition-normal);
}

.skill-box:hover .skill-icon {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.05);
    border-color: var(--primary-blue);
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8rem;
    line-height: 1.2;
    margin-top: auto;
}

.languages-section {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.languages-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--primary-blue);
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm);
    background: var(--light-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.language-item:hover {
    background: var(--medium-gray);
    transform: translateY(-2px);
}

.language-name {
    font-weight: 600;
    color: var(--text-primary);
}

.language-level {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-md);
}

.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--medium-gray);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-icon {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-blue);
    background: var(--light-gray);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.project-content {
    padding: var(--space-md);
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.project-features {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.feature {
    font-size: 0.85rem;
    color: var(--primary-blue);
    background: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--medium-gray);
}

.project-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-fast);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    background: var(--light-gray);
    border: 1px solid transparent;
}

.project-link:hover {
    color: white;
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--primary-blue);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== EXPERIENCE SECTION ===== */
.experience-timeline {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.timeline-item {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-blue);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-blue-light);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: var(--space-xs);
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.timeline-company {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.timeline-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.timeline-description ul {
    list-style: none;
    padding-left: var(--space-md);
}

.timeline-description li {
    margin-bottom: var(--space-xs);
    position: relative;
}

.timeline-description li::before {
    content: "→";
    color: var(--primary-blue);
    position: absolute;
    left: calc(-1 * var(--space-md));
}

.timeline-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.certifications-section {
    margin-top: var(--space-xl);
}

.certifications-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--primary-blue);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.certification-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    border: 1px solid var(--medium-gray);
}

.certification-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.certification-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.certification-content h4 {
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.certification-date {
    color: var(--primary-blue);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.certification-content > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    border: 1px solid var(--medium-gray);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
}

.contact-social h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    background: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--medium-gray);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    background: white;
    border: 1px solid var(--medium-gray);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    left: var(--space-sm);
    top: var(--space-sm);
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: white;
    padding: 0 0.5rem;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-blue);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--light-gray);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--medium-gray);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-md);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--medium-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-blue);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid var(--medium-gray);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1002;
    transition: left var(--transition-normal);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--medium-gray);
}

.mobile-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.btn-close-menu {
    background: none;
    border: 1px solid var(--medium-gray);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    padding: var(--space-md);
    flex: 1;
}

.mobile-nav-links ul {
    list-style: none;
}

.mobile-nav-links li {
    margin-bottom: var(--space-sm);
}

.mobile-nav-link {
    display: block;
    padding: var(--space-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background-color: var(--light-gray);
    border-color: var(--medium-gray);
}

.mobile-menu-footer {
    padding: var(--space-md);
    border-top: 1px solid var(--medium-gray);
}

.btn-lang-mobile {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-sm);
    background: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: var(--space-md);
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero-title {
        font-size: 3rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .nav-links {
        display: none;
    }

    .btn-menu {
        display: flex;
    }

    .hero {
        padding-top: 6rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-role {
        font-size: 1.25rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
    }

    .profile-container {
        width: 280px;
        height: 280px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
    
    .skill-box {
        min-height: 100px;
        padding: 0.75rem;
    }
    
    .skill-icon {
        font-size: 1.4rem;
        height: 40px;
        width: 40px;
    }
    
    .skill-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .languages-grid {
        grid-template-columns: 1fr;
    }

    .about-info {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .skill-box {
        min-height: 95px;
        padding: 0.5rem;
    }
    
    .skill-icon {
        font-size: 1.3rem;
        height: 35px;
        width: 35px;
        margin-bottom: 0.4rem;
    }
    
    .skill-name {
        font-size: 0.7rem;
    }
}