/* ---------------------------------------------------- */
/* VARIABLES ET STYLES DE BASE */
/* ---------------------------------------------------- */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #f1f5f9;
    --card-bg: #ffffff;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --secondary-color: #e2e8f0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    word-wrap: break-word;
}
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.3;
    font-size: 14px;
    filter: brightness(0.98);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
.action-button, #theme-toggle, #print-btn {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #266fe7;
    color: white;
    border: none;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    font-size: 1rem;
    top: 3px;
}
.action-button:hover, #theme-toggle:hover, #print-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}
.header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: var(--primary-color);
    color: white;
}
.contact-info {
    padding: 12px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
    max-width: 100%;
    margin-top: 2px;
}
.contact-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 3px 7px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    letter-spacing: 0.2px;
}
.contact-item i {
    margin-right: 6px;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.contact-item:hover i {
    transform: scale(1.2);
}
.contact-item a, .contact-item span {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    letter-spacing: 0.2px;
}
.contact-item.website-link a {
    font-weight: 600;
    color: #FFD700 !important;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
.main-content {
    display: flex;
    padding: 8px 0;
    width: 100%;
    overflow-x: hidden;
}
.left-column {
    flex: 1;
    padding: 0 12px;
    border-right: 1px solid #eee;
    min-width: 0;
}
.right-column {
    flex: 2;
    padding: 0 12px;
    min-width: 0;
}
.dual-sections {
    display: flex;
    gap: 25px;
    margin-bottom: 5px;
}
.dual-sections .section {
    flex: 1;
    min-width: 0;
}
.section {
    margin-bottom: 15px;
}
.section-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--primary-color);
}
.skills-list li {
    margin-bottom: 10px;
    display: flex;
}
.skill-icon {
    margin-right: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.skill-name:hover .skill-icon {
    transform: scale(1.2);
    color: var(--primary-dark);
    animation: bounce 0.6s ease infinite alternate;
}
.skill-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 3px;
    display: flex;
    align-items: center;
    margin-bottom: 1px;
}
.skill-bar {
    height: 10px;
    margin: 0 10px;
    border-radius: 5px;
    overflow: hidden;
    flex: 1;
}
.skill-level {
    height: 100%;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--primary-color);
}
.skill-percentage {
    text-align: right;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}
.language-item {
    margin-bottom: 4px;
    padding: 3px 5px;
    transition: all 0.3s ease;
}
.language-info {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.language-level-text {
    font-size: 0.7rem;
    color: var(--text-light);
    font-style: italic;
    margin-right: 5px;
}
.language-level {
    gap: 1px;
}
.qualities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.quality-tag {
    padding: 6px 12px;
    border-radius: 12px;
}
.interests-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.interest-item {
    padding: 5px 10px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.9rem;
}
.interest-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}
.interest-item i {
    margin-right: 7px;
    font-size: 1.1rem;
}
.education-item, .experience-item {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    list-style-type: none;
}
.item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}
.item-title {
    font-size: 1rem;
    font-weight: 600;
}
.item-date {
    color: var(--text-light);
    font-size: 0.73rem;
}
.item-subtitle {
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.experience-list {
    margin-left: 16px;
    margin-top: 6px;
    list-style-type: none;
}
.experience-list li {
    margin-bottom: 4px;
    font-size: 0.85rem;
}
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.project-item {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}
.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    text-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
    letter-spacing: 0.5px;
    padding-bottom: 4px;
}
.project-title a {
    color: var(--primary-color);
    text-decoration: none;
}

/* ---------------------------------------------------- */
/* THEME SOMBRE ET RESPONSIVE DESIGN */
/* ---------------------------------------------------- */

.dark-mode .project-title a {
    color: #a5b4fc;
}
.dark-mode .project-title a:hover {
    color: #c7d2fe;
    text-shadow: 0 2px 4px rgba(165, 180, 252, 0.3);
}
.dark-mode {
    --primary-color: #3b82f6;
    --primary-color: #3b82f6;
    --primary-dark: #3b82f6;
    --secondary-color: #1e293b;
    --text-color: #f1f5f9;
    --text-light: #cbd5e1;
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.dark-mode .skill-bar {
    background-color: #101e25;
}
.dark-mode .tech-item, .dark-mode .quality-tag {
    background-color: transparent;
}
.dark-mode a {
    color: var(--primary-color);
}
.dark-mode .item-header {
    border-color: #37474f;
}
.dark-mode .about-text, .dark-mode .item-description, .dark-mode .project-description {
    color: var(--text-light);
}
.dark-mode .interest-item {
    background-color: transparent;
    border-radius: 1px solid #37474f;
}
.dark-mode .level-dot {
    background-color: #455a64;
}
.dark-mode .contact-item:hover {
    background-color: rgba(38, 50, 56, 0.8);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.dark-mode .contact-item.website-link i {
    color: var(--primary-color);
    animation: pulse-glow-dark 1.5s infinite alternate;
}
#theme-toggle {
    right: 60px;
}
#print-btn {
    right: 120px;
}
.language-item:hover .language-icon {
    transform: scale(1.2);
    color: var(--primary-dark);
}
.dark-mode .flag-img {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}
.language-item:hover .flag-icon {
    transform: scale(1.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.certification-icon {
    margin-right: 5px;
    font-size: 1.1rem;
}
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
.skill-bar {
    position: relative;
    overflow: hidden;
}
.interest-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: transparent 
}
.modern-tech-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

/* ---------------------------------------------------- */
/* COMPOSANTS TECHNIQUES ET ICÔNES */
/* ---------------------------------------------------- */

.tech-category-modern {
    flex: 1;
    min-width: 160px;
    padding: 4px;
    border-radius: 8px;
    background-color: rgba(248, 249, 250, 0.7);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: transparent;
}
.tech-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 4px;
}
.tech-header i {
    margin-right: 6px;
    color: var(--primary-color);
}
.tech-category-title {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}
.tech-items-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.tech-item-modern {
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}
.tech-item-modern i {
    margin-right: 6px;
    font-size: 0.85rem;
    color: var(--primary-color);
    min-width: 14px;
    text-align: center;
}
.tech-item-modern:hover i {
    color: white;
}
.dark-mode .tech-category-modern {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dark-mode .tech-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dark-mode .tech-category-modern:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}
.dark-mode .tech-item-modern {
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dark-mode .tech-item-modern:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
.dark-mode .tech-item-modern i {
    color: var(--primary-color);
    text-shadow: 0 0 3px rgba(77, 182, 172, 0.3);
}
.dark-mode .tech-header i {
    color: var(--primary-color);
    text-shadow: 0 0 3px rgba(77, 182, 172, 0.3);
}
.dark-mode .contact-item a, .dark-mode .contact-item span {
    color: white;
}
.dark-mode .contact-item i {
    color: #b0bec5;
}
.dark-mode .contact-item.website-link a {
    color: #FFD700 !important;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
}
.tech-item-modern .fa-html5 {
    color: #E34F26 !important;
}
.tech-item-modern .fa-css3-alt {
    color: #1572B6 !important;
}
.tech-item-modern .fa-js {
    color: #F7DF1E !important;
    background-color: black;
    border-radius: 2px;
    padding: 0 2px;
}
.tech-item-modern .fa-python {
    color: transparent !important;
    background: linear-gradient(135deg, #306998, #FFD43B) !important;
    background-clip: text !important;
}
.tech-item-modern .fa-php {
    color: #777BB4 !important;
}
.tech-item-modern .fa-database {
    color: #F29111 !important;
}
.tech-item-modern .fa-git-alt {
    color: #F05032 !important;
}
.tech-item-modern .fa-windows {
    color: #0078D6 !important;
}
.tech-item-modern .fa-linux {
    color: #FCC624 !important;
}
.tech-item-modern .fa-server {
    color: #00BCF2 !important;
}
.skill-icon.fa-network-wired {
    color: #0078D7 !important;
}
.skill-icon.fa-code {
    color: #E44D26 !important;
}
.skill-icon.fa-python {
    color: transparent !important;
    background: linear-gradient(135deg, #306998, #FFD43B) !important;
    background-clip: text !important;
}
.skill-icon.fa-project-diagram {
    color: #6495ED !important;
}
.skill-icon.fa-desktop {
    color: #444444 !important;
    background: linear-gradient(135deg, #555555, #999999) !important;
    background-clip: text !important;
}
.tech-item-modern .fa-network-wired, .tech-item-modern .fa-wifi, .tech-item-modern .fa-router, .tech-item-modern .fa-cloud {
    color: #0078D7 !important;
}
.tech-item-modern .fa-vpn {
    color: #4CAF50 !important;
}
.tech-item-modern .fa-shield-alt, .tech-item-modern .fa-lock, .tech-item-modern .fa-firewall {
    color: #D32F2F !important;
}
.interest-item .fa-server {
    color: #2196F3 !important;
    background: linear-gradient(135deg, #2196F3, #42A5F5);
    -webkit-background-clip: text;
    background-clip: text;
}
.interest-item .fa-shield-alt {
    color: #F44336 !important;
    background: linear-gradient(135deg, #F44336, #FF5252);
    -webkit-background-clip: text;
    background-clip: text;
}
.interest-item .fa-running {
    color: #4CAF50 !important;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    -webkit-background-clip: text;
    background-clip: text;
}
.interest-item .fa-gamepad {
    color: #673AB7 !important;
    background: linear-gradient(135deg, #673AB7, #9575CD);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.interest-item .fa-globe {
    color: #009688 !important;
    background: linear-gradient(135deg, #009688, #4DB6AC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.interest-item .fa-code .fa- {
    color: #FF9800 !important;
    background: linear-gradient(135deg, #FF9800, #FFB74D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.interest-item:hover i {
    color: white !important;
    background: none;
    -webkit-text-fill-color: white;
    background-clip: text;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
.dark-mode .interest-item i {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
}
.dark-mode .interest-item:hover i {
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}
.language-item:hover .flag-badge {
    transform: scale(1.15);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
.contact-item .fa-envelope {
    color: #EA4335;
}
.contact-item .fa-phone {
    color: #25D366;
}
.contact-item .fa-map-marker-alt {
    color: #EA4335;
}
.contact-item .fa-linkedin {
    color: #074c91;
}
.contact-item .fa-globe {
    color: #2196F3;
}
.contact-item .fa-file-alt {
    color: #4285F4;
}
.dark-mode .contact-item .fa-envelope {
    color: #FF6B6B ;
}
.dark-mode .contact-item .fa-phone {
    color: #00E676 ;
}
.dark-mode .contact-item .fa-map-marker-alt {
    color: #FF5252 !important;
}
.dark-mode .contact-item .fa-linkedin {
    color: #074c91 !important;
}
.dark-mode .contact-item .fa-globe {
    color: #64B5F6 !important;
}
.dark-mode .contact-item .fa-file-alt {
    color: #90CAF9 !important;
}
.dark-mode .skill-name .fa-desktop {
    color: #00A4EF !important;
}
.contact-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}
.languages {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.language-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}
.language-item span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}
.flag-img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.language-level {
    display: flex;
    gap: 2px;
}
.level-dot {
    width: auto;
    height: auto;
    background-color: transparent !important;
    color: #ccc !important;
    -webkit-text-fill-color: #ccc !important;
    background-clip: text;
    font-size: 0.75rem !important;
    line-height: 1 !important;
    margin-right: 2px !important;
}
.dark-mode .level-dot {
    color: #777 !important;
    -webkit-text-fill-color: #777 !important;
    background-clip: text;
}
.language-level .level-dot::before {
    color: inherit !important;
    content: '\f005' !important;
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands' !important;
    font-weight: 900 !important;
    background: transparent !important;
    -webkit-text-fill-color: currentColor !important;
    background-clip: text;
}
:root .level-dot {
    color: #ccc !important;
    background-color: transparent !important;
    background-image: none !important;
    background: none !important;
    -webkit-text-fill-color: #ccc !important;
    background-clip: text;
    margin: 0 1px;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ---------------------------------------------------- */
/* EFFETS VISUELS ET ANIMATIONS */
/* ---------------------------------------------------- */

:root .level-dot.active {
    color: #FFD700 !important;
    -webkit-text-fill-color: #FFD700 !important;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.4) !important;
}
.contact-item.website-link i {
    background: -webkit-linear-gradient(135deg, #FFD700, #DAA520);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
    animation: pulse-glow 1.5s infinite alternate;
    transform-origin: center;
    transform: scale(1.1);
    color: #D4AF37 !important;
}
.contact-item.website-link:hover i {
    filter: drop-shadow(0 0 4px gold);
    transform: scale(1.3) rotate(15deg);
    background: -webkit-linear-gradient(135deg, #FFD700, #FFC107);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}
.flag-img {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    margin-right: 8px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: pulse-flag 2s infinite alternate;
}
.language-item:hover .flag-img {
    transform: rotate(5deg) scale(1.2);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    animation: wave-flag 1s infinite alternate;
}
.language-name {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    min-width: 90px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.dark-mode .language-name {
    color: white;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
}
.dark-mode .language-item:hover .language-name {
    color: #4da6ff;
    text-shadow: 0 0 4px rgba(77, 166, 255, 0.4);
}
.tech-item-modern i {
    transition: all 0.4s ease;
}
.tech-item-modern:hover i {
    transform: scale(1.3) rotate(10deg);
}
.tech-item-modern .fa-html5:hover {
    color: #E44D26 !important;
    text-shadow: 0 0 10px rgba(228, 77, 38, 0.5);
}
.tech-item-modern .fa-css3-alt:hover {
    color: #1572B6 !important;
    text-shadow: 0 0 10px rgba(21, 114, 182, 0.5);
}
.tech-item-modern .fa-js:hover {
    color: #F7DF1E !important;
    text-shadow: 0 0 10px rgba(247, 223, 30, 0.5);
    animation: shake 0.5s ease infinite;
}
.tech-item-modern .fa-python:hover {
    color: #3776AB !important;
    text-shadow: 0 0 10px rgba(55, 118, 171, 0.5);
    animation: bounce 0.5s ease infinite alternate;
}
.tech-item-modern .fa-php:hover {
    color: #777BB4 !important;
    text-shadow: 0 0 10px rgba(119, 123, 180, 0.5);
}
.tech-item-modern .fa-database:hover {
    color: #336791 !important;
    text-shadow: 0 0 10px rgba(51, 103, 145, 0.5);
    animation: pulse 1s ease infinite;
}
.tech-item-modern .fa-git-alt:hover {
    color: #F05032 !important;
    text-shadow: 0 0 10px rgba(240, 80, 50, 0.5);
    animation: rotate 2s linear infinite;
}
.tech-item-modern .fa-network-wired:hover, .tech-item-modern .fa-sitemap:hover {
    color: #0078D7 !important;
    text-shadow: 0 0 10px rgba(0, 120, 215, 0.5);
    animation: blink 1s ease infinite alternate;
}
.tech-item-modern .fa-project-diagram:hover {
    color: #0078D7 !important;
    text-shadow: 0 0 10px rgba(0, 120, 215, 0.5);
}
.tech-item-modern .fa-route:hover {
    color: #00A1F1 !important;
    text-shadow: 0 0 10px rgba(0, 161, 241, 0.5);
    animation: moveLeftRight 2s ease infinite;
}
.tech-item-modern .fa-shield-alt:hover {
    color: #FF6B6B !important;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    animation: pulse 1s ease infinite;
}
.tech-item-modern .fa-fire:hover {
    color: #FF5722 !important;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
    animation: burn 0.5s ease infinite alternate;
}
.tech-item-modern .fa-windows:hover {
    color: #0078D7 !important;
    text-shadow: 0 0 10px rgba(0, 120, 215, 0.5);
    animation: wave 1s ease infinite;
}
.tech-item-modern .fa-linux:hover {
    color: #FCC624 !important;
    text-shadow: 0 0 10px rgba(252, 198, 36, 0.5);
    animation: bounce 0.5s ease infinite alternate;
}
.tech-item-modern .fa-server:hover {
    color: #4CAF50 !important;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    animation: pulse 1s ease infinite;
}
.tech-item-modern .fa-users-cog:hover {
    color: #1E88E5 !important;
    text-shadow: 0 0 10px rgba(30, 136, 229, 0.5);
    animation: rotate 3s linear infinite;
}   
.tech-tag:hover::before {
    left: 100%;
}
.tech-tag.html5 {
    background-color: #E44D26 !important;
    color: white !important;
    border-color: #E44D26 !important;
}
.tech-tag.css3 {
    background-color: #1572B6 !important;
    color: white !important;
    border-color: #1572B6 !important;
}
.tech-tag.js {
    background-color: #F7DF1E !important;
    color: #333 !important;
    border-color: #F7DF1E !important;
}
.tech-tag.php {
    background-color: #777BB4 !important;
    color: white !important;
    border-color: #777BB4 !important;
}
.tech-tag.api {
    background-color: #009688 !important;
    color: white !important;
    border-color: #009688 !important;
}
.tech-tag.calculateur {
    background-color: #2196F3 !important;
    color: white !important;
    border-color: #2196F3 !important;
}
.tech-tag.smtp {
    background-color: #FF5722 !important;
    color: white !important;
    border-color: #FF5722 !important;
}
.tech-tag.itineraire {
    background-color: #4CAF50 !important;
    color: white !important;
    border-color: #4CAF50 !important;
}
.tech-tag.flyer {
    background-color: #9C27B0 !important;
    color: white !important;
    border-color: #9C27B0 !important;
}
.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}
.dark-mode .tech-tag {
    filter: brightness(1.1);
}
.dark-mode .tech-tag:hover {
    filter: brightness(1.3);
}
.project-tech:hover .tech-tag {
    animation: tech-badge-pulse 1.5s infinite;
}
/* ------------------------------------------------------------ */
.tech-tag {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    padding: 0;
    margin: 0 4px 4px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.tech-tag i {
    font-size: 13px;
    transition: all 0.3s ease;
}
.tech-tag:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    margin-top: 6px;
    gap: 6px;
}
.tech-tag:hover i {
    transform: rotate(5deg);
}
.experience-icon {
    color: #FF5722;
    margin-left: 8px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    animation: rotate-pizza 4s linear infinite;
}
/* ------------------------------------------ */
/* Parties logos Formations avec effets , couleurs */
.item-title:hover .experience-icon {
    color: #FF8A65;
    transform: scale(1.2) rotate(30deg);
    animation: none;
}
.dark-mode .experience-icon {
    color: #FF8A65;
    text-shadow: 0 0 5px rgba(255, 138, 101, 0.5);
}
.sport-icon {
    color: #4CAF50;
    margin-left: 8px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    animation: run-animation 3s linear infinite;
}
.item-title:hover .sport-icon {
    color: #66BB6A;
    animation-duration: 1.5s;
    transform: translateY(-2px);
}
.dark-mode .sport-icon {
    color: #81C784;
    text-shadow: 0 0 5px rgba(129, 199, 132, 0.5);
}
.education-icon {
    color: #0078D7;
    margin-left: 8px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    animation: typing-animation 3s linear infinite;


}
.item-title:hover .education-icon {
    color: #1E88E5;
    animation-duration: 1.5s;
    transform: translateY(-2px) scale(1.1);
}
.dark-mode .education-icon {
    color: #4DA6FF;
    text-shadow: 0 0 5px rgba(77, 166, 255, 0.5);

}
/* ------------------------------------------ */

/* Responsive j'ai travaillé selon les standars de google chrome */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .profile-img {
        border: 3px solid white !important;
        width: 150px !important;
        height: 150px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        margin-right: 20px !important;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08) !important;
        position: relative !important;
   }
}
@media screen and (max-width: 1440px) and (min-width: 993px) {
    .page-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    .header {
        width: 100%;
        max-width: 100%;
    }
    .main-content {
        gap: 15px;
    }
    .modern-tech-container {
        gap: 12px;
    }
}
@media screen and (max-width: 992px) {

    .dual-sections {
        flex-direction: column;
            gap: 8px;
    }
    .page-container {
            margin: 3px auto;
            max-width: 99%;
    }
    .header {
            padding: 10px;
    }
    .header-content h1 {
            font-size: 1.5rem;
    }
    .header-content .title {
            font-size: 0.85rem;
    }
    .profile-img {
            width: 110px;
            height: 110px;
            margin-right: 12px;
       }
    .main-content {
            padding: 8px 0;
    }
    .left-column, .right-column {
            padding: 0 10px;
       }
        .modern-tech-container {
            gap: 8px;
       }
        .tech-category-modern {
            min-width: 140px;
            padding: 5px;
       }
        .tech-item-modern {
            font-size: 0.7rem;
            padding: 2px 5px;
       }
        .tech-item-modern i {
        font-size: 0.8rem;
            margin-right: 4px;
       }
        .project-item {
            flex-direction: row;
       }
        .project-content {
            padding: 10px;
       }
        .item-title, .project-title, .tech-category-title, .skill-name {
            font-size: calc(0.85rem + 0.2vw) !important;
       }
        .project-description, .about-text, .item-subtitle, .experience-list li {
            font-size: calc(0.75rem + 0.15vw) !important;
            line-height: 1.4 !important;
       }
        .contact-item, .tech-tag, .interest-item, .quality-tag {
            font-size: calc(0.7rem + 0.1vw) !important;
       }
        .item-date {
            font-size: 0.73rem !important;
       }
    }

@media screen and (max-width: 991px) and (min-width: 769px) {
    .contact-info {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }
    .contact-item {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}

@media screen and (max-width: 850px) and (orientation: landscape) {
    .main-content {
        flex-direction: row;
   }
    .left-column {
        width: 40%;
        border-right: 1px solid #eee;
        border-bottom: none;
        padding-right: 10px;
        margin-bottom: 0;
   }
    .right-column {
        width: 60%;
        padding-left: 10px;
   }
    .header {
        padding: 8px 10px;
   }
    .profile-img {
        width: 65px;
        height: 65px;
   }
    .project-item {
        margin-bottom: 8px;
   }
    .project-content {
        padding: 8px;
   }
    .modern-tech-container {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
   }
    .tech-category-modern {
        flex: 0 0 calc(50% - 8px);
        min-width: auto;
   }
}
    
@media screen and (max-width: 768px) {
    .page-container {
        width: 92%;
        max-width: 92%;
        margin: 0 auto;
    }
    .dual-sections {
        flex-direction: column;
        gap: 10px;
    }
    .main-content {
        flex-direction: column;
        padding: 5px 0;
    }
    .left-column {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 10px;
        width: 100%;
    }
    .right-column {
        width: 100%;
    }
    .contact-info {
        gap: 6px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .contact-item {
        font-size: 0.76rem;
        padding: 3px 7px;
    }
    .contact-item i {
        font-size: 0.85rem;
        margin-right: 5px;
    }
    .section-title {
        font-size: 1.15rem;
    }
    .skills-list li {
        margin-bottom: 14px;
   }
}

@media screen and (max-width: 768px) {
        .page-container {
            max-width: 99%;
       }
        .dual-sections {
            flex-direction: column;
        gap: 5px;
    }
        .main-content {
            flex-direction: column;
       }
        .left-column {
            border-right: none;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
            margin-bottom: 10px;
       }
        .contact-info {
            gap: 5px;
            justify-content: center;
            flex-wrap: wrap;
       }
        .contact-item {
        font-size: 0.75rem;
            padding: 3px 6px;
       }
        .contact-item i {
            font-size: 0.8rem;
        margin-right: 5px;
    }
        .section-title {
            font-size: 1.1rem;
       }
        .modern-tech-container {
            flex-direction: column;
            gap: 8px;
       }
        .tech-category-modern {
            min-width: 100%;
            width: 100%;
            background-color: transparent;
       }
        .tech-items-modern {
            gap: 4px;
       }
        .tech-item-modern {
            padding: 2px 4px;
            font-size: 0.7rem;
            margin-bottom: 2px;
       }
        .interest-item {
            padding: 5px 10px;
            font-size: 0.8rem;
       }
        .interest-item i {
            font-size: 1rem;
        margin-right: 5px;
       }
        .project-description {
        font-size: 1rem;
    }
        .project-tech {
            margin-bottom: 5px;
       }
    }
    .restore-responsive .main-content {
        flex-direction: column !important;
    }

@media screen and (max-width: 650px) and (orientation: landscape) {
    .profile-img {
        width: 55px;
        height: 55px;
   }
    .header-content h1 {
        font-size: 1.1rem;
   }
    .header-content .title {
        font-size: 0.7rem;
   }
    .section-title {
        font-size: 0.9rem;
        margin-bottom: 6px;
   }
    .project-description {
        font-size: 1rem;
   }
    .project-link {
        font-size: 1rem;
   }
}

@media screen and (max-width: 576px) {
    .page-container {
        width: 90%;
        max-width: 90%;
    }
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }
    .profile-img {
        margin-right: 0;
        margin-bottom: 10px;
        width: 120px;
        height: 120px;
    }
    .header-content h1 {
        font-size: 1.4rem;
    }
    .header-content .title {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    .contact-info {
        justify-content: center;
        gap: 5px;
    }
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    .project-item {
        flex-direction: row;
    }
    .project-title {
        font-size: 0.9rem;
        margin-bottom: 5px;
   }
    .project-description {
        font-size: 1rem;
        margin-bottom: 8px;
   }
}

@media screen and (max-width: 576px) {
        .header {
            flex-direction: column;
            text-align: center;
       }
        .profile-img {
            margin-right: 0;
            margin-bottom: 8px;
            width: 120px;
            height: 120px;
       }
        .header-content h1 {
            font-size: 1.4rem;
       }
        .contact-info {
            justify-content: center;
       }
        .left-column, .right-column {
            padding: 0 8px;
       }
        .section-title {
            font-size: 1rem;
       }
        .about-text {
            font-size: 0.78rem;
       }
    .skill-name {
            font-size: 0.78rem;
    }
        .project-title {
            font-size: 1.1rem;
    }
    .project-description {
            font-size: 0.88rem;
    }
        .project-item {
            flex-direction: row;
    }
        .tech-tag {
            font-size: 0.6rem;
            padding: 1px 3px;
}
    .skills-list li {
            margin-bottom: 12px;
       }
        .skill-percentage {
        font-size: 0.75rem;
       }
        .tech-header i {
            font-size: 0.8rem;
       }
        .tech-category-title {
            font-size: 0.85rem;
       }
        .interests-container {
            gap: 8px;
       }
        .item-description, .experience-list li, .language-item {
            font-size: 0.75rem;
       }
    }
    

@media screen and (max-width: 576px) {
    #print-btn {
        left: 30px;
   }
    #theme-toggle {
        right: 30px;
   }
}

@media screen and (min-width: 421px) and (max-width: 760px) {
    .page-container {
        width: 98%;
        max-width: 98%;
        margin: 0 auto;
    }
    .header {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }
    .main-content {
        width: 100%;
    }
}

@media screen and (max-width: 420px) {
    .page-container {
        width: 95%;
        max-width: 95%;
        margin: 0 auto;
        padding: 0;
    }
    .header {
        padding: 8px;
    }
    .profile-img {
        width: 90px;
        height: 90px;
    }
    .header-content h1 {
        font-size: 1.3rem;
    }
    .header-content .title {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    .section {
        margin-bottom: 12px;
    }
    .section-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .project-item {
        margin-bottom: 10px;
    }
    .project-content {
        padding: 8px;
    }
    .project-title {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }
    .project-description {
        font-size: 1rem;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    .tech-tag {
        padding: 2px 4px;
        font-size: 0.65rem;
        margin-right: 3px;
    }
    .tech-category-modern {
        padding: 6px;
    }
    .tech-item-modern {
        font-size: 0.7rem;
        padding: 3px 5px;
    }
    .tech-item-modern i {
        font-size: 0.75rem;
        margin-right: 3px;
    }
    .interest-item {
        padding: 3px 7px;
        font-size: 0.7rem;
    }
    .interest-item i {
        font-size: 0.8rem;
        margin-right: 3px;
    }
    .quality-tag {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    .project-link {
        font-size: 1rem;
   }
   
}

/* ---------------------------------------------------- */
/* LIENS DE PROJETS ET ICÔNES */
/* ---------------------------------------------------- */

.project-link {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
}
.project-link:hover {
    color: var(--primary-dark) !important;
    background-color: transparent;
    transform: none;
    box-shadow: none;
    text-decoration: underline;
}
.dark-mode .project-link {
    color: var(--primary-color-light) !important;
    background-color: transparent;
}
.dark-mode .project-link:hover {
    color: white !important;
    background-color: transparent;
}
.contact-item .fa-birthday-cake {
    color: white !important;
    font-size: 1.1em;
    margin-right: 10px;
    transition: transform 0.3s ease;
}
.contact-item:hover .fa-birthday-cake {
    transform: rotate(15deg);
}

:root .dark-mode .level-dot {
    color: #888 !important;
    -webkit-text-fill-color: #888 !important;
}

:root .dark-mode .level-dot.active {
    color: #FFDF00 !important;
    -webkit-text-fill-color: #FFDF00 !important;
    text-shadow: 0 0 7px rgba(255, 223, 0, 0.7) !important;
}

/* Classe temporaire pour forcer le rafraîchissement du responsive après impression */
.restore-responsive {
    min-width: 100%;
    width: 100%;
    display: block;
}

.restore-responsive .main-content {
    display: flex !important;
    flex-direction: row !important;
}

/* Copyright discret */
.copyright-mini {
    position: fixed;
    bottom: 5px;
    right: 10px;
    font-size: 1rem;
    color: #000000;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}



.dark-mode .copyright-mini {
    color: #f7f7f7;
}

@media screen and (max-width: 768px) {
    .copyright-mini {
        font-size: 0.8rem;
        bottom: 3px;
        right: 5px;
    }
}

@media screen and (max-width: 576px) {
    .copyright-mini {
        font-size: 0.7rem;

    }
}



