cat > css/style.css << 'EOL'
/*
* File: /css/style.css
* Main CSS file containing base styles and layout
*/

/* CSS Variables for theming */
:root {
    /* Base colors (will be overridden by theme files) */
    --primary-color: #1e5180;
    --primary-gradient: linear-gradient(135deg, #1e5180 0%, #3498db 100%);
    --secondary-color: #f6a623;
    --text-color: #333333;
    --bg-color: #ffffff;
    --light-bg: #f5f8fa;
    --dark-color: #1c3d5a;
    --dark-gradient: linear-gradient(135deg, #121212 0%, #1e1e1e 100%);
    --accent-color: #3498db;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Layout dimensions */
    --navbar-height: 70px;
    --section-padding: 100px;
    --footer-padding: 50px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0;
}

h3.highlight {
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.loader {
    border: 6px solid rgba(0, 0, 0, 0.1);
    border-top: 6px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: transparent;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    padding: 8px 0;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--bg-color) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    font-weight: 500;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover:after,
.navbar-dark .navbar-nav .nav-link.active:after {
    width: 50%;
}

/* Sections */
.section-full {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--primary-gradient);
    color: var(--bg-color);
}

.section-padding {
    padding: var(--section-padding) 0;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.line {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

/* Theme Switcher */
.theme-switcher {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.theme-button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    margin: 5px 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    transition: var(--transition);
}

.theme-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-button:hover .theme-circle {
    transform: scale(1.2);
}

.default-theme {
    background: var(--primary-gradient);
}

.dark-theme {
    background: var(--dark-gradient);
}

/* Home Section */
.profile-photo-container {
    position: relative;
    z-index: 2;
}

.profile-photo {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.profile-photo:before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--secondary-color);
    z-index: -1;
    transition: var(--transition);
}

.profile-photo:hover:before {
    top: -25px;
    left: -25px;
}

.intro-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--bg-color);
}

.intro-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--bg-color);
}

.intro-text .highlight {
    color: var(--secondary-color);
}

.intro-text .lead {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.intro-text .location {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.social-links {
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--bg-color);
    font-size: 1.5rem;
}

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

/* Profile Section */
.profile-card {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.profile-card:hover {
    transform: translateY(-10px);
}

.objective-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--secondary-color);
}

.expertise-list {
    list-style-type: none;
    padding-left: 0;
}

.expertise-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.expertise-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Experience Timeline */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-date {
    width: 50%;
    padding-right: 50px;
    text-align: right;
    position: relative;
    font-weight: 600;
    color: var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
    padding-left: 50px;
    padding-right: 0;
}

.timeline-content {
    width: 50%;
    padding-left: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-right: 50px;
    padding-left: 0;
    text-align: right;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.details-content {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.details-content h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.details-content ul {
    padding-left: 20px;
}

.details-content ul li {
    margin-bottom: 8px;
}

/* Contact Section */
.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 20px;
}

.contact-icon i {
    font-size: 1.5rem;
}

.contact-text h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.contact-social a {
    display: inline-block;
    margin-right: 15px;
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-social a:hover {
    color: var(--secondary-color);
}

.contact-form-container {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: none;
    border-bottom: 2px solid var(--primary-color);
    border-radius: 0;
    padding: 15px 0;
    background-color: transparent;
    transition: var(--transition);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
    background-color: transparent;
}

/* Footer */
.footer {
    background: var(--primary-gradient);
    color: var(--bg-color);
    padding: var(--footer-padding) 0 20px;
}

.footer-logo h3 {
    color: var(--bg-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-color);
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 1s ease-in-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 991px) {
    :root {
        --section-padding: 70px;
    }
    
    .timeline-track {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date, 
    .timeline-content {
        width: 100%;
        text-align: left !important;
        padding-left: 70px !important;
        padding-right: 0 !important;
    }
    
    .timeline-item:nth-child(even) .timeline-date,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left !important;
    }
    
    .section-full {
        padding-top: 80px;
        height: auto;
        min-height: 100vh;
    }
    
    .theme-switcher {
        top: auto;
        right: 20px;
        bottom: 100px;
        transform: none;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-links a {
        display: block;
        margin-bottom: 10px;
    }
    
    .theme-switcher {
        display: none; /* Hide on mobile to save space */
    }
    
    .certification-card,
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .certification-icon,
    .contact-icon {
        margin: 0 auto 15px;
    }
}

@media (max-width: 575px) {
    :root {
        --section-padding: 50px;
    }
}

/* Utility classes */
.border-highlight {
    border: 5px solid var(--secondary-color);
}

/* Réduction de la taille des polices */
html {
    font-size: 95%; /* Réduction générale de 5% */
}

h1 {
    font-size: 2.3rem; /* Était 2.5rem */
}

h2 {
    font-size: 1.8rem; /* Était 2rem */
}

h3 {
    font-size: 1.3rem; /* Était 1.5rem */
}

h4 {
    font-size: 1.1rem; /* Était 1.2rem */
}

.intro-text h1 {
    font-size: 3.2rem; /* Était 3.5rem */
}

.intro-text h2 {
    font-size: 1.7rem; /* Était 1.8rem */
}

.timeline-content h3 {
    font-size: 1.3rem; /* Était 1.4rem */
}

.timeline-content h4 {
    font-size: 1rem; /* Était 1.1rem */
}

.details-content h5 {
    font-size: 1rem; /* Était 1.1rem */
}

.certification-details h4 {
    font-size: 1.1rem; /* Était 1.2rem */
}

.achievement-details h3 {
    font-size: 1.2rem; /* Était 1.3rem */
}

.contact-text h3 {
    font-size: 1.2rem; /* Était 1.3rem */
}

@media (max-width: 991px) {
    .intro-text h1 {
        font-size: 2.6rem; /* Était 2.8rem */
    }
    
    .intro-text h2 {
        font-size: 1.4rem; /* Était 1.5rem */
    }
}

@media (max-width: 767px) {
    .section-title h2 {
        font-size: 1.9rem; /* Était 2rem */
    }
    
    .intro-text h1 {
        font-size: 2.3rem; /* Était 2.5rem */
    }
}

@media (max-width: 575px) {
    .intro-text h1 {
        font-size: 2rem; /* Était 2.2rem */
    }
}

/* Ajustements pour les sections spécifiques */

/* Réduction de la taille des polices */
html {
    font-size: 95%; /* Réduction générale de 5% */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-color);
}

/* Style pour la section éducation */
.education-timeline {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid var(--primary-color);
    margin-top: 30px;
}

.education-year {
    position: absolute;
    left: -65px;
    background-color: var(--secondary-color);
    color: var(--bg-color);
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

.education-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Style pour la section des certifications */
.certification-card {
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: var(--transition);
}

.certification-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 20px;
}

.certification-details {
    flex-grow: 1;
}

/* Style pour la section des compétences */
.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
}

.progress {
    height: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: visible;
    margin-bottom: 20px;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: 5px;
    position: relative;
    transition: width 1.5s ease-in-out;
}

.progress-bar:after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-color);
}

/* Skill Cards */
.skill-card {
    height: 200px;
    perspective: 1000px;
    margin-bottom: 15px;
}

.skill-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.skill-card:hover .skill-card-inner {
    transform: rotateY(180deg);
}

.skill-card-front, .skill-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
}

.skill-card-front {
    background-color: var(--bg-color);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-card-front i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.skill-card-back {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: rotateY(180deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Style pour la section des réalisations */
.achievement-card {
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.achievement-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 20px;
}

.achievement-details {
    flex-grow: 1;
}

.achievement-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Ajustements responsive */
@media (max-width: 767px) {
    .certification-card,
    .achievement-card {
        flex-direction: column;
        text-align: center;
    }
    
    .certification-icon,
    .achievement-icon {
        margin: 0 auto 15px;
    }
    
    .education-year {
        left: -45px;
        font-size: 0.9rem;
        padding: 4px 10px;
    }
}

@media (max-width: 575px) {
    .education-timeline {
        padding-left: 20px;
    }
    
    .education-year {
        left: -40px;
        font-size: 0.8rem;
        padding: 3px 8px;
        min-width: 50px;
    }
}
    