:root {
    --primary: #FF8C00;
    --primary-dark: #E67E00;
    --secondary: #1A3A5F;
    --light: #ECF0F1;
    --accent: #3498DB;
    --text: #333333;
    --background: #FFFFFF;
    --gradient: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--background);
    overflow-x: hidden;
}
/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
}

.navbar-brand span {
    color: var(--primary);
}

.logo-icon {
    font-size: 28px;
    color: var(--primary);
    margin-right: 10px;
}

.nav-link {
    color: var(--secondary);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

/* Style pour le lien LinkedIn dans la navbar */
.navbar-linkedin {
    color: var(--secondary);
    font-size: 1.9rem;
    margin-left: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-linkedin:hover {
    color: #0077B5; /* Couleur LinkedIn */
    background: rgba(0, 119, 181, 0.1);
    transform: translateY(-2px);
}
 
/* Footer */
footer {
    background-color: #1A3A5F;
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* Styles spécifiques pour le carrousel de projets - TAILLE UNIFORME */
.projects-carousel {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light) 100%);
    position: relative;
}

.projects-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.03"><polygon points="50,0 100,50 50,100 0,50" fill="%23FF6B00"/></svg>');
}

.projects-title {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.projects-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.projects-link {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 2px solid var(--primary);
    border-radius: 25px;
}

.projects-link:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* MODIFICATIONS POUR TAILLE UNIFORME */
.projects-carousel .slick-track {
    display: flex !important;
    align-items: stretch;
}

.project-item {
    height: 100%;
    display: flex !important;
}

.project-card {
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    /*width:100%;*/
}

.project-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}



.project-info {
    padding: 20px;
    color: var(--text);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.project-info h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.projects-text {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.6;
}

/* Slick carousel custom styles */
.projects-carousel .slick-list {
    padding: 20px 0;
}

.projects-carousel .slick-slide {
    padding: 0 15px;
    transition: transform 0.3s ease;
    height: auto;
}

.projects-carousel .slick-slide > div {
    height: 100%;
}

.projects-carousel .slick-slide:hover {
    transform: translateY(-5px);
}

.projects-carousel .slick-dots li button:before {
    font-size: 12px;
    color: var(--primary);
    opacity: 0.5;
}

.projects-carousel .slick-dots li.slick-active button:before {
    color: var(--primary);
    opacity: 1;
}