/* ============================================================
   DIGITAL PORTFOLIO CSS - COMPLETE STYLESHEET
   ============================================================
   Table of Contents:
   1. CSS Variables & Root Configuration
   2. Base Styles & Resets
   3. Background Effects & Decorative Elements
   4. Typography & Basic Elements
   5. Layout & Container Styles
   6. Header/Hero Section
   7. PDF Download Button
   8. Contact Information
   9. Main Content Sections
   10. Process/Skills Timeline
   11. Languages Section
   12. Experience Section
   13. Education Section
   14. Certifications Section
   15. Footer
   16. Animations & Keyframes
   17. Utility Classes
   18. Responsive Design
   19. Print Styles
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES & ROOT CONFIGURATION
   ============================================================ */
:root {
    /* Primary Colors */
    --primary-color: rgba(250, 252, 255, 0.9);
    --secondary-color: rgba(240, 245, 255, 0.8);
    
    /* Accent Colors */
    --accent-color: #3a6ad4;
    --accent-light: rgba(58, 106, 212, 0.1);
    --accent-secondary: #0bb588;
    
    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #555555;
    
    /* UI Colors */
    --border-color: rgba(58, 106, 212, 0.2);
    --card-bg: rgba(250, 252, 255, 0.8);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --progress-bg: rgba(0, 0, 0, 0.05);
    
    /* Gradient Colors */
    --gradient-start: #3a6ad4;
    --gradient-end: #0bb588;
    
    /* Timing */
    --transition-time: 0.3s;
}

/* ============================================================
   2. BASE STYLES & RESETS
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: transparent;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ============================================================
   3. BACKGROUND EFFECTS & DECORATIVE ELEMENTS
   ============================================================ */

/* Animated gradient background */
body:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, 
        rgba(240, 245, 255, 0.9), 
        rgba(230, 240, 250, 0.92), 
        rgba(235, 245, 255, 0.9)
    );
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
}

/* Circuit board pattern background */
.circuit-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, var(--accent-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--accent-color) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: -1;
    opacity: 0.05;
}

/* Diagonal circuit lines */
.circuit-diagonal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(45deg, var(--accent-color) 1px, transparent 1px),
        linear-gradient(-45deg, var(--accent-color) 1px, transparent 1px);
    opacity: 0.04;
    background-size: 50px 50px;
}

/* Floating particles effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: var(--accent-color);
    opacity: 0.5;
    animation: particle-float 20s linear infinite;
}

/* ============================================================
   4. TYPOGRAPHY & BASIC ELEMENTS
   ============================================================ */

/* Headings */
h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

h4 {
    font-weight: normal;
    font-style: italic;
    font-size: 0.9rem;
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-time);
}

a:hover {
    color: var(--gradient-end);
}

/* Text elements */
.title {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
}

/* ============================================================
   5. LAYOUT & CONTAINER STYLES
   ============================================================ */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   6. HEADER/HERO SECTION
   ============================================================ */
.hero {
    padding: 7rem 0 4rem;
    text-align: center;
    background: transparent;
    position: relative;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Profile image with glow effect */
.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(78, 122, 226, 0.3), 0 0 25px rgba(78, 122, 226, 0.5);
    animation: profile-glow 3s infinite alternate;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Animated circuit line under header */
.circuit-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gradient-start), var(--gradient-end), transparent);
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: 200% 100%;
    animation: circuitLineAnimation 3s linear infinite;
}

/* Tech icons in header */
.tech-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tech-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(78, 122, 226, 0.1);
    border: 1px solid rgba(78, 122, 226, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(78, 122, 226, 0.3);
    animation: tech-icon-pulse 4s infinite alternate;
}

.tech-icon:nth-child(2n) { animation-delay: 1s; }
.tech-icon:nth-child(3n) { animation-delay: 2s; }
.tech-icon:nth-child(4n) { animation-delay: 3s; }

/* ============================================================
   7. PDF DOWNLOAD BUTTON
   ============================================================ */
a.pdf-download-btn {
    /* Positioning */
    position: fixed !important;
    top: 30px;
    right: 30px;
    z-index: 1000;
    
    /* Styling */
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 12px;
    
    /* Typography */
    font-size: 14px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
    
    /* Layout */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    
    /* Effects */
    box-shadow: 0 4px 15px rgba(58, 106, 212, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

/* Ensure consistent text color */
a.pdf-download-btn,
a.pdf-download-btn:visited,
a.pdf-download-btn:link {
    color: white;
    text-decoration: none;
}

/* PDF button icon */
.pdf-download-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: white;
    position: relative;
    z-index: 1;
}

/* PDF button text */
.pdf-download-btn .btn-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.5s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* PDF button hover state */
.pdf-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 106, 212, 0.4);
    padding-right: 30px;
    animation: glow-pulse 2s ease-in-out infinite;
    background: linear-gradient(135deg, #4575de 0%, #0dc795 100%);
    color: white;
}

.pdf-download-btn:hover .btn-text {
    max-width: 150px;
}

.pdf-download-btn:hover i {
    transform: translateY(-2px) scale(1.1);
}

/* PDF button ripple effect */
.pdf-download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.pdf-download-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* PDF button states */
.pdf-download-btn:focus {
    outline: 3px solid rgba(58, 106, 212, 0.5);
    outline-offset: 2px;
}

.pdf-download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(58, 106, 212, 0.3);
}

/* PDF button success state */
.pdf-download-btn.download-success {
    background: linear-gradient(135deg, #0bb588 0%, #18c99b 100%);
}

.pdf-download-btn.download-success i::before {
    content: "\f00c"; /* Font Awesome check icon */
}

/* ============================================================
   8. CONTACT INFORMATION
   ============================================================ */
.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    transition: transform var(--transition-time);
    background-color: rgba(78, 122, 226, 0.1);
    border: 1px solid rgba(78, 122, 226, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.contact-item:hover {
    transform: translateY(-3px);
    background-color: rgba(78, 122, 226, 0.3);
    box-shadow: 0 5px 15px rgba(78, 122, 226, 0.3);
    border-color: var(--accent-color);
}

.contact-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: #0077b5;
    border-color: #0077b5;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.contact-btn:hover i,
.contact-btn:hover span {
    color: white;
}

.contact-btn:hover i {
    animation: pulse-icon 1s infinite alternate;
}

.contact-item i {
    width: 25px;
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* ============================================================
   9. MAIN CONTENT SECTIONS
   ============================================================ */
.section {
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.section:last-child {
    border-bottom: none;
}

/* Section animated border line */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transform: translateX(-100%);
    animation: section-line 1s ease forwards;
    opacity: 0;
}

.section.appear::before {
    opacity: 1;
}

/* Section headers */
.section-header {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
    animation: header-line-glow 2s infinite alternate;
}

.section-header h2 {
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.section-header h2 i {
    color: var(--accent-color);
}

/* Subsection titles */
.subsection-title {
    font-size: 1.3rem;
    margin: 2rem 0 1.5rem;
    color: var(--text-primary);
}

/* ============================================================
   10. PROCESS/SKILLS TIMELINE
   ============================================================ */
.process-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Vertical timeline line */
.process-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 15px rgba(78, 122, 226, 0.4);
    animation: process-line-pulse 3s infinite alternate;
}

.process-steps {
    position: relative;
    z-index: 2;
}

/* Individual process steps */
.process-step {
    display: flex;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.process-step.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Alternate step alignment */
.process-step:nth-child(odd) {
    flex-direction: row-reverse;
}

/* Process content cards */
.process-content {
    flex: 0 0 45%;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    backdrop-filter: blur(5px);
}

.process-step:hover .process-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(78, 122, 226, 0.3);
    border-color: var(--accent-color);
}

/* Process content arrow indicators */
.process-content::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--card-bg);
    transform: rotate(45deg);
    border: 1px solid var(--border-color);
    z-index: -1;
}

.process-step:nth-child(odd) .process-content::after {
    left: -10px;
    border-right: none;
    border-top: none;
}

.process-step:nth-child(even) .process-content::after {
    right: -10px;
    border-left: none;
    border-bottom: none;
}

/* Process icon circles */
.process-icon {
    position: absolute;
    left: 50%;
    width: 80px;
    height: 80px;
    margin-top: 0;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 0 4px white, 0 0 0 8px var(--accent-light), 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 0 4px white, 0 0 0 8px var(--accent-color), 0 8px 25px rgba(78, 122, 226, 0.3);
}

.process-icon i {
    font-size: 32px;
    color: var(--accent-color);
    transition: all 0.3s ease;
    animation: pulse-light 3s infinite alternate;
}

.process-step:hover .process-icon i {
    color: var(--gradient-end);
}

/* Process content elements */
.process-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: 600;
}

.process-description {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.process-level {
    font-size: 0.85rem;
    display: inline-block;
    padding: 5px 12px;
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Process skills tags */
.process-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.process-skill {
    background-color: rgba(78, 122, 226, 0.1);
    border: 1px solid rgba(78, 122, 226, 0.2);
    color: var(--text-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all var(--transition-time);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.process-skill:hover {
    background-color: rgba(78, 122, 226, 0.3);
    box-shadow: 0 5px 15px rgba(78, 122, 226, 0.3);
    border-color: var(--accent-color);
}

/* ============================================================
   11. LANGUAGES SECTION
   ============================================================ */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.langue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
}

.langue-item:hover {
    box-shadow: 0 10px 25px rgba(78, 122, 226, 0.3);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

/* Language proficiency indicators */
.langue-niveau {
    display: flex;
    gap: 3px;
}

.niveau-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--progress-bg);
}

.niveau-dot.active {
    background-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

/* ============================================================
   12. EXPERIENCE SECTION
   ============================================================ */
.experience-grid {
    display: grid;
    gap: 2rem;
}

.experience-item {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-time), box-shadow var(--transition-time);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.experience-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(78, 122, 226, 0.3);
    border-color: var(--accent-color);
}

/* Experience header with date */
.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.experience-title h3 {
    margin-bottom: 0.3rem;
    color: var(--accent-color);
}

.experience-title h4 {
    color: var(--text-secondary);
    font-weight: normal;
    font-style: italic;
    font-size: 0.9rem;
}

.experience-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    background-color: var(--accent-light);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 500;
}

/* Experience bullet points */
.experience-item p {
    margin: 0;
}

.experience-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.experience-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Animated bullet points */
.experience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(78, 122, 226, 0.5);
    animation: bullet-glow 3s infinite alternate;
}

.experience-list li:hover::before {
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-color));
    box-shadow: 0 0 15px rgba(24, 200, 155, 0.8);
}

/* Alternative bullet styles */
.experience-list.tech-bullets li::before {
    content: '▶';
    font-size: 8px;
    color: var(--accent-color);
    background: none;
    box-shadow: none;
    animation: none;
    top: 0.5em;
    width: auto;
    height: auto;
    border-radius: 0;
}

.experience-list.tech-bullets li:hover::before {
    color: var(--accent-secondary);
    text-shadow: 0 0 8px var(--accent-secondary);
}

/* Circuit-style bullets */
.experience-list.circuit-bullets li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 0;
    top: 0.5em;
    box-shadow: inset 0 0 0 2px var(--accent-color);
    animation: circuit-pulse 2s infinite;
}

/* Experience tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background-color: rgba(78, 122, 226, 0.1);
    border: 1px solid rgba(78, 122, 226, 0.2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all var(--transition-time);
}

.tag:hover {
    background-color: rgba(78, 122, 226, 0.3);
    box-shadow: 0 5px 15px rgba(78, 122, 226, 0.3);
    border-color: var(--accent-color);
}

/* ============================================================
   13. EDUCATION SECTION
   ============================================================ */
.education-grid {
    display: grid;
    gap: 2rem;
}

.education-item {
    display: flex;
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-time), box-shadow var(--transition-time);
    backdrop-filter: blur(5px);
}

.education-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(78, 122, 226, 0.3);
    border-color: var(--accent-color);
}

.education-date {
    flex: 0 0 80px;
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.education-content {
    flex: 1;
}

.education-content h3 {
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.education-content h4 {
    color: var(--text-secondary);
    font-weight: normal;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Project cards (similar to education) */
.project-card {
    animation: float 3s ease-in-out infinite;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(78, 122, 226, 0.3);
    border-color: var(--accent-color);
}

.project-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1rem;
    flex: 0 0 auto;
    background: var(--accent-light);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(78, 122, 226, 0.5);
}

.project-card:hover .project-icon {
    box-shadow: 0 0 25px rgba(78, 122, 226, 0.8);
}

.project-icon i {
    animation: pulse-light 3s infinite alternate;
}

.project-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

/* ============================================================
   14. CERTIFICATIONS SECTION
   ============================================================ */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.certification-item {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: all var(--transition-time);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.certification-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(78, 122, 226, 0.3);
    border-color: var(--accent-color);
}

/* Certification scan line effect */
.certification-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    opacity: 0;
    transition: opacity var(--transition-time);
}

.certification-item:hover::before {
    opacity: 1;
    animation: cert-scan 0.8s ease;
}

/* Certification header */
.certification-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.certification-icon {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(78, 122, 226, 0.4);
    animation: cert-icon-pulse 4s infinite alternate;
}

.certification-item:hover .certification-icon {
    color: var(--accent-secondary);
    box-shadow: 0 0 25px rgba(24, 200, 155, 0.8);
}

.certification-content {
    flex: 1;
}

.certification-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.certification-issuer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.certification-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    background-color: var(--accent-light);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.certification-description {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Certification skills */
.certification-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.certification-skill {
    background-color: rgba(78, 122, 226, 0.08);
    border: 1px solid rgba(78, 122, 226, 0.15);
    color: var(--text-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    transition: all var(--transition-time);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.certification-skill:hover {
    background-color: rgba(78, 122, 226, 0.2);
    box-shadow: 0 4px 12px rgba(78, 122, 226, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

/* Certification status badges */
.certification-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.certification-status.active {
    background-color: rgba(24, 200, 155, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(24, 200, 155, 0.3);
    box-shadow: 0 0 10px rgba(24, 200, 155, 0.2);
}

.certification-status.expired {
    background-color: rgba(255, 165, 0, 0.1);
    color: #ff8c00;
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
}

.certification-status.in-progress {
    background-color: rgba(78, 122, 226, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(78, 122, 226, 0.3);
    box-shadow: 0 0 10px rgba(78, 122, 226, 0.2);
}

/* Certification link */
.certification-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.85rem;
    margin-top: 0.8rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    transition: all var(--transition-time);
    background-color: rgba(78, 122, 226, 0.05);
}

.certification-link:hover {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 122, 226, 0.3);
    transform: translateY(-2px);
}

.certification-link i {
    font-size: 0.8rem;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
footer {
    background: linear-gradient(180deg, transparent, rgba(240, 245, 255, 0.95));
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* ============================================================
   16. ANIMATIONS & KEYFRAMES
   ============================================================ */

/* Background gradient animation */
@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Profile image glow */
@keyframes profile-glow {
    0% {
        box-shadow: 0 0 0 3px rgba(78, 122, 226, 0.3), 0 0 25px rgba(78, 122, 226, 0.5);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(78, 122, 226, 0.5), 0 0 35px rgba(78, 122, 226, 0.8);
    }
}

/* Circuit line animation */
@keyframes circuitLineAnimation {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Section line slide */
@keyframes section-line {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* Header line glow */
@keyframes header-line-glow {
    0% { box-shadow: 0 0 5px rgba(78, 122, 226, 0.5); }
    100% { box-shadow: 0 0 15px rgba(78, 122, 226, 0.8); }
}

/* Process line pulse */
@keyframes process-line-pulse {
    0% {
        opacity: 0.7;
        box-shadow: 0 0 10px rgba(78, 122, 226, 0.4);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(78, 122, 226, 0.7);
    }
}

/* Icon pulse light */
@keyframes pulse-light {
    0% {
        text-shadow: 0 0 5px rgba(78, 122, 226, 0.5);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 15px rgba(78, 122, 226, 0.8), 0 0 30px rgba(24, 200, 155, 0.5);
        transform: scale(1.1);
    }
}

/* Tech icon pulse */
@keyframes tech-icon-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(78, 122, 226, 0.3);
    }
    100% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(78, 122, 226, 0.7), 0 0 30px rgba(24, 200, 155, 0.3);
    }
}

/* Particle float */
@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

/* Float animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Glow pulse */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(58, 106, 212, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(58, 106, 212, 0.5), 0 0 30px rgba(11, 181, 136, 0.3);
    }
}

/* Pulse icon */
@keyframes pulse-icon {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* Bullet glow */
@keyframes bullet-glow {
    0% {
        box-shadow: 0 0 5px rgba(78, 122, 226, 0.5);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 12px rgba(78, 122, 226, 0.8), 0 0 20px rgba(24, 200, 155, 0.3);
        transform: scale(1.2);
    }
}

/* Circuit pulse */
@keyframes circuit-pulse {
    0%, 100% {
        border-color: var(--accent-color);
        box-shadow: inset 0 0 0 1px var(--accent-color), 0 0 5px rgba(78, 122, 226, 0.3);
    }
    50% {
        border-color: var(--accent-secondary);
        box-shadow: inset 0 0 0 1px var(--accent-secondary), 0 0 10px rgba(24, 200, 155, 0.5);
    }
}

/* Card scan effect */
@keyframes card-scan {
    0% {
        top: 0;
        opacity: 0.5;
    }
    100% {
        top: 100%;
        opacity: 0.8;
    }
}

/* Certification scan */
@keyframes cert-scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* Certification icon pulse */
@keyframes cert-icon-pulse {
    0% {
        box-shadow: 0 0 10px rgba(78, 122, 226, 0.4);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 20px rgba(78, 122, 226, 0.7), 0 0 30px rgba(24, 200, 155, 0.3);
        transform: scale(1.05);
    }
}

/* Text scan effect */
@keyframes text-scan {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Cursor blink */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Glitch effect */
@keyframes glitch {
    0% {
        transform: translate(0);
        text-shadow: 0 0 0 transparent;
    }
    20% {
        transform: translate(-3px, 3px);
        text-shadow: -2px 2px 0 rgba(24, 200, 155, 0.5);
    }
    40% {
        transform: translate(-3px, -3px);
        text-shadow: 2px -2px 0 rgba(78, 122, 226, 0.5);
    }
    60% {
        transform: translate(3px, 3px);
        text-shadow: 2px 2px 0 rgba(24, 200, 155, 0.5);
    }
    80% {
        transform: translate(3px, -3px);
        text-shadow: -2px -2px 0 rgba(78, 122, 226, 0.5);
    }
    100% {
        transform: translate(0);
        text-shadow: 0 0 0 transparent;
    }
}

/* Pulse animation (general) */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* ============================================================
   17. UTILITY CLASSES
   ============================================================ */

/* Typing cursor */
.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--accent-secondary);
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: middle;
    box-shadow: 0 0 8px var(--accent-secondary);
}

/* Scan effect overlay */
.scan-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(78, 122, 226, 0.2), 
        transparent
    );
    opacity: 0.7;
    animation: text-scan 1.5s linear;
}

/* Tech glitch effect */
.tech-glitch {
    animation: glitch 0.3s ease forwards;
}

/* ============================================================
   18. RESPONSIVE DESIGN
   ============================================================ */

/* Tablet devices */
@media (max-width: 1024px) and (min-width: 769px) {
    .pdf-download-btn {
        top: 25px;
        right: 25px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {   
    
    /* PDF button mobile adjustments - absolute within hero */
    .pdf-download-btn {
        top: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .pdf-download-btn i {
        font-size: 14px;
    }
    
    .pdf-download-btn:hover {
        padding-right: 20px;
    }
    
    /* Contact info mobile layout */
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    /* Grid layouts for mobile */
    .skills-grid,
    .languages-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Education mobile layout */
    .education-item {
        flex-direction: column;
    }
    
    .education-date {
        margin-bottom: 0.5rem;
    }
    
    /* Experience mobile layout */
    .experience-header {
        flex-direction: column;
    }
    
    .experience-date {
        margin-top: 0.5rem;
    }
    
    /* Process timeline mobile layout */
    .process-step, 
    .process-step:nth-child(odd) {
        flex-direction: column;
        align-items: center;
        margin-bottom: 60px;
    }
    
    .process-content {
        width: 100%;
        margin-top: 40px;
    }
    
    .process-content::after {
        display: none;
    }
    
    .process-icon {
        position: relative;
        margin-bottom: -40px;
    }
    
    /* Certification mobile adjustments */
    .certification-header {
        gap: 0.8rem;
    }
    
    .certification-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .certification-status {
        position: static;
        margin-top: 0.5rem;
        display: inline-block;
    }
    
    /* Experience list mobile */
    .experience-list li {
        padding-left: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .experience-list li::before {
        width: 5px;
        height: 5px;
        top: 0.5em;
    }
    
    /* Tech icons mobile */
    .tech-icons {
        gap: 1rem;
    }
}

/* ============================================================
   19. PRINT STYLES
   ============================================================ */
@media print {
    /* Page setup */
    @page {
        margin: 0.75in 0.5in;
        size: A4;
    }
    
    /* Remove all decorative elements and colors */
    *,
    *::before,
    *::after {
        background: white !important;
        color: black !important;
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    /* Hide non-essential elements */
    .circuit-background,
    .circuit-diagonal,
    .particles,
    .cursor,
    .circuit-line,
    .tech-icons,
    .pdf-download-btn {
        display: none !important;
    }
    
    /* Basic layout for print */
    body {
        background: white !important;
        color: #333 !important;
        font-size: 11pt !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .container {
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* Typography for print */
    h1 {
        color: #2c5aa0 !important;
        -webkit-text-fill-color: #2c5aa0 !important;
        background: none !important;
        font-size: 22pt !important;
        margin-bottom: 8pt !important;
        page-break-after: avoid !important;
    }
    
    h2 {
        color: #2c5aa0 !important;
        -webkit-text-fill-color: #2c5aa0 !important;
        background: none !important;
        font-size: 16pt !important;
        margin-top: 20pt !important;
        margin-bottom: 12pt !important;
        page-break-after: avoid !important;
        border-bottom: 1pt solid #2c5aa0 !important;
        padding-bottom: 4pt !important;
    }
    
    h3 {
        color: #2c5aa0 !important;
        font-size: 12pt !important;
        margin-top: 12pt !important;
        margin-bottom: 6pt !important;
        page-break-after: avoid !important;
        font-weight: 600 !important;
    }
    
    h4 {
        color: #666 !important;
        font-size: 10pt !important;
        font-style: italic !important;
        margin: 3pt 0 !important;
    }
    
    /* Hero/Profile section for print */
    .hero {
        padding: 20pt 0 16pt !important;
        page-break-inside: avoid !important;
        border-bottom: 2pt solid #2c5aa0 !important;
        margin-bottom: 16pt !important;
        text-align: center !important;
    }
    
    .profile-img {
        width: 60pt !important;
        height: 60pt !important;
        border: 2pt solid #2c5aa0 !important;
        margin: 0 auto 8pt !important;
        display: block !important;
    }
    
    .profile-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .title {
        font-size: 12pt !important;
        color: #666 !important;
        margin-bottom: 12pt !important;
    }
    
    /* Contact info for print */
    .contact-info {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8pt !important;
        margin-top: 8pt !important;
        font-size: 9pt !important;
    }
    
    .contact-item {
        background: none !important;
        border: 1pt solid #2c5aa0 !important;
        padding: 3pt 6pt !important;
        border-radius: 12pt !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 3pt !important;
    }
    
    .contact-item i {
        color: #2c5aa0 !important;
        width: auto !important;
        margin-right: 3pt !important;
    }
    
    /* Sections for print */
    .section {
        margin-bottom: 20pt !important;
        padding-bottom: 8pt !important;
        page-break-inside: auto !important;
        border-bottom: none !important;
    }
    
    .section:last-child {
        margin-bottom: 0 !important;
    }
    
    .section-header {
        margin-bottom: 12pt !important;
        page-break-after: avoid !important;
    }
    
    .section-header::after {
        display: none !important;
    }
    
    .section-header h2 i {
        color: #2c5aa0 !important;
        margin-right: 6pt !important;
    }
    
    /* Introduction text for print */
    .intro-text {
        font-size: 10pt !important;
        line-height: 1.5 !important;
        color: #333 !important;
        margin-bottom: 16pt !important;
        text-align: justify !important;
    }
    
    /* Languages for print */
    .subsection-title {
        font-size: 12pt !important;
        margin: 16pt 0 8pt !important;
        color: #2c5aa0 !important;
        font-weight: 600 !important;
        page-break-after: avoid !important;
    }
    
    .languages-grid {
        display: block !important;
        margin-bottom: 12pt !important;
    }
    
    .langue-item {
        background: white !important;
        border: 1pt solid #ccc !important;
        margin-bottom: 6pt !important;
        padding: 6pt 8pt !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        page-break-inside: avoid !important;
    }
    
    .langue-niveau {
        display: flex !important;
        gap: 3pt !important;
    }
    
    .niveau-dot {
        width: 6pt !important;
        height: 6pt !important;
        border-radius: 50% !important;
        background-color: #ddd !important;
        border: 0.5pt solid #999 !important;
    }
    
    .niveau-dot.active {
        background-color: #2c5aa0 !important;
        border-color: #2c5aa0 !important;
    }
    
    /* Process/Skills for print */
    .process-container {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .process-line {
        display: none !important;
    }
    
    .process-steps {
        display: block !important;
    }
    
    .process-step {
        display: block !important;
        margin-bottom: 16pt !important;
        page-break-inside: avoid !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .process-content {
        background: white !important;
        border: 1pt solid #ccc !important;
        padding: 8pt !important;
        border-radius: 0 !important;
        position: relative !important;
    }
    
    .process-content::after {
        display: none !important;
    }
    
    .process-icon {
        display: none !important;
    }
    
    .process-level {
        background: #f0f0f0 !important;
        color: #2c5aa0 !important;
        border: 1pt solid #2c5aa0 !important;
        font-size: 8pt !important;
        padding: 2pt 6pt !important;
        border-radius: 8pt !important;
        display: inline-block !important;
        margin-bottom: 6pt !important;
        font-weight: 600 !important;
    }
    
    .process-title {
        font-size: 11pt !important;
        color: #2c5aa0 !important;
        margin-bottom: 6pt !important;
        font-weight: 600 !important;
    }
    
    .process-description {
        font-size: 9pt !important;
        line-height: 1.4 !important;
        color: #333 !important;
        margin-bottom: 8pt !important;
    }
    
    .process-skills {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 3pt !important;
        margin-top: 6pt !important;
    }
    
    .process-skill {
        background: #f5f5f5 !important;
        border: 1pt solid #2c5aa0 !important;
        color: #333 !important;
        padding: 1pt 4pt !important;
        font-size: 7pt !important;
        border-radius: 6pt !important;
    }
    
    /* Experience, Education, Certifications for print */
    .experience-grid,
    .education-grid,
    .certifications-grid {
        display: block !important;
    }
    
    .experience-item,
    .education-item,
    .certification-item {
        background: white !important;
        border: 1pt solid #ccc !important;
        margin-bottom: 12pt !important;
        padding: 8pt !important;
        page-break-inside: avoid !important;
        border-radius: 0 !important;
    }
    
    .experience-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        margin-bottom: 8pt !important;
        page-break-after: avoid !important;
    }
    
    .experience-title h3 {
        margin-bottom: 2pt !important;
        font-size: 11pt !important;
    }
    
    .experience-title h4 {
        font-size: 9pt !important;
        color: #666 !important;
    }
    
    .experience-date,
    .certification-date {
        background: #f0f0f0 !important;
        color: #2c5aa0 !important;
        border: 1pt solid #2c5aa0 !important;
        font-size: 8pt !important;
        padding: 2pt 6pt !important;
        border-radius: 8pt !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }
    
    /* Lists for print */
    .experience-list {
        margin: 6pt 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    .experience-list li {
        margin-bottom: 4pt !important;
        font-size: 9pt !important;
        line-height: 1.4 !important;
        padding-left: 12pt !important;
        position: relative !important;
    }
    
    .experience-list li::before {
        content: "•" !important;
        color: #2c5aa0 !important;
        font-weight: bold !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        border-radius: 0 !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        font-size: 9pt !important;
    }
    
    /* Tags and skills for print */
    .tags,
    .certification-skills {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 3pt !important;
        margin-top: 6pt !important;
    }
    
    .tag,
    .certification-skill {
        background: #f5f5f5 !important;
        border: 1pt solid #2c5aa0 !important;
        color: #333 !important;
        padding: 1pt 4pt !important;
        font-size: 7pt !important;
        border-radius: 6pt !important;
    }
    
    /* Education specific for print */
    .education-item {
        display: flex !important;
        gap: 12pt !important;
        align-items: flex-start !important;
    }
    
    .education-date {
        flex: 0 0 60pt !important;
        font-weight: bold !important;
        color: #2c5aa0 !important;
        font-size: 10pt !important;
        background: #f0f0f0 !important;
        border: 1pt solid #2c5aa0 !important;
        padding: 3pt 6pt !important;
        border-radius: 8pt !important;
        text-align: center !important;
    }
    
    .education-content {
        flex: 1 !important;
    }
    
    .education-content h3 {
        margin-bottom: 3pt !important;
        color: #2c5aa0 !important;
        font-size: 11pt !important;
    }
    
    .education-content h4 {
        color: #666 !important;
        font-weight: normal !important;
        margin-bottom: 4pt !important;
        font-size: 9pt !important;
    }
    
    .education-content p {
        font-size: 9pt !important;
        color: #333 !important;
        margin: 0 !important;
    }
    
    /* Certification specific for print */
    .certification-status {
        position: absolute !important;
        top: 8pt !important;
        right: 8pt !important;
        font-size: 7pt !important;
        padding: 2pt 6pt !important;
        border-radius: 8pt !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
    }
    
    .certification-status.active {
        background: #e8f5e8 !important;
        color: #0a6b3a !important;
        border: 1pt solid #0a6b3a !important;
    }
    
    .certification-status.in-progress {
        background: #e8f0ff !important;
        color: #2c5aa0 !important;
        border: 1pt solid #2c5aa0 !important;
    }
    
    .certification-status.expired {
        background: #fff8e8 !important;
        color: #cc7a00 !important;
        border: 1pt solid #cc7a00 !important;
    }
    
    .certification-header {
        display: block !important;
        margin-bottom: 8pt !important;
        padding-right: 60pt !important;
    }
    
    .certification-icon {
        display: none !important;
    }
    
    .certification-title {
        font-size: 11pt !important;
        color: #2c5aa0 !important;
        margin-bottom: 3pt !important;
        font-weight: 600 !important;
    }
    
    .certification-issuer {
        font-size: 9pt !important;
        color: #666 !important;
        font-style: italic !important;
        margin-bottom: 4pt !important;
    }
    
    .certification-description {
        font-size: 9pt !important;
        color: #333 !important;
        line-height: 1.4 !important;
        margin-bottom: 8pt !important;
    }
    
    .certification-link {
        display: none !important;
    }
    
    /* Footer for print */
    footer {
        background: none !important;
        border-top: 1pt solid #ccc !important;
        padding: 8pt 0 !important;
        margin-top: 20pt !important;
        font-size: 8pt !important;
        text-align: center !important;
        page-break-inside: avoid !important;
    }
    
    /* Page break control */
    .section#profil {
        page-break-inside: avoid !important;
        page-break-after: always !important;
    }
    
    .section#competences {
        page-break-inside: avoid !important;
        page-break-after: always !important;
    }
    
    .section#experience {
        page-break-before: auto !important;
    }
    
    .section#formation {
        page-break-before: avoid !important;
    }
    
    .section#certifications {
        page-break-before: auto !important;
    }
    
    /* Ensure proper content flow */
    .experience-item:nth-child(-n+2) {
        page-break-after: avoid !important;
    }
    
    /* Remove absolute positioning except where needed */
    * {
        position: static !important;
    }
    
    .certification-status {
        position: absolute !important;
    }
    
    /* Text rendering optimization */
    body, p, li, span {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        text-rendering: optimizeLegibility !important;
    }
    
    /* Languages section specific */
    .languages {
        margin-top: 16pt !important;
        page-break-inside: avoid !important;
    }
    
    /* Fix layout issues */
    .hero-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Responsive print adjustments */
    @media print and (max-width: 210mm) {
        .contact-info {
            flex-direction: column !important;
            align-items: center !important;
        }
        
        .experience-header {
            flex-direction: column !important;
        }
        
        .education-item {
            flex-direction: column !important;
        }
        
        .education-date {
            margin-bottom: 6pt !important;
        }
    }
}

/* ============================================================
   END OF STYLESHEET
   ============================================================ */