
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        

#mainNav {
  transition: top 0.5s;
}




.navbar-custom {
                background-color: #003247 !important;
                transition: all 0.3s ease;
                padding: 15px 0;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            }

            .navbar-custom.scrolled {
                padding: 8px 0;
                box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
            }

            .navbar-brand-custom {
                display: flex;
                align-items: center;
                text-decoration: none;
                color: white !important;
                transition: all 0.3s ease;
            }

            .navbar-brand-custom:hover {
                color: #ffc107 !important;
            }

            .profile-img {
                width: 60px;
                height: 60px;
                margin-right: 15px;
                transition: all 0.3s ease;
                border: 2px solid #ffc107;
                border-radius: 50% !important; /* Ajout du border-radius pour le cercle */
                object-fit: cover; /* Pour que l'image garde ses proportions */
                display: inline-block;
            }

            .navbar-custom.scrolled .profile-img {
                width: 45px;
                height: 45px;
                margin-right: 10px;
            }

            .brand-info {
                transition: all 0.3s ease;
            }

            .brand-name {
                font-size: 1.4em;
                font-weight: bold;
                color: white;
                line-height: 1.2;
                transition: all 0.3s ease;
            }

            .navbar-custom.scrolled .brand-name {
                font-size: 1.2em;
            }

            .brand-title {
                font-size: 0.9em;
                color: #ffc107;
                line-height: 1.1;
                transition: all 0.3s ease;
            }

            .navbar-custom.scrolled .brand-title {
                font-size: 0.8em;
            }

            .brand-location {
                font-size: 0.75em;
                color:whitesmoke;
                line-height: 1.1;
                transition: all 0.3s ease;
            }

            .navbar-custom.scrolled .brand-location {
                font-size: 0.7em;
            }

            .navbar-nav .nav-link {
                color: rgba(255, 255, 255, 0.8) !important;
                font-weight: 500;
                margin: 0 5px;
                padding: 8px 12px !important;
                border-radius: 20px;
                transition: all 0.3s ease;
                white-space: nowrap;
            }

            .navbar-nav .nav-link:hover {
                color: #ffc107 !important;
                background-color: rgba(255, 193, 7, 0.1);
            }

            .navbar-nav .nav-link.active {
                color: #ffc107 !important;
                background-color: rgba(255, 193, 7, 0.2);
            }

            .navbar-toggler {
                border: none;
                padding: 5px 8px;
            }

            .navbar-toggler:focus {
                box-shadow: none;
            }

            .navbar-toggler-icon {
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
            }


        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #357da7 0%, #2a629b 100%);
            min-height: 100vh;
            color: #333;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
            padding-top:100px;
        }
        
        .header {
            text-align: center;
            margin-bottom: 3rem;
            color: white;
        }
        
        .header h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .project-card {
            position: relative;
            height: 300px;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s ease;
            background: linear-gradient(45deg, #1e3c72, #2a5298);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .project-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
            background: linear-gradient(135deg, #008fa4 92%);
        }
        
        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(30,60,114,0.8), rgba(42,82,152,0.8));
            transition: opacity 0.3s ease;
        }
        
        .project-card:hover::before {
            opacity: 0.6;
        }
        
        .project-content {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            color: white;
            z-index: 2;
        }
        
        .project-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .project-icon {
            font-size: 2rem;
            margin-right: 1rem;
        }
        
        .project-title {
            font-size: 1.4rem;
            font-weight: 600;
            line-height: 1.2;
        }
        
        .project-description {
            font-size: 0.95rem;
            opacity: 0.9;
            line-height: 1.5;
            margin-bottom: 1rem;
        }
        
        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: auto;
        }
        
        .tech-badge {
            background: rgba(255,255,255,0.2);
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            backdrop-filter: blur(10px);
        }
        
        .project-card.featured {
            grid-column: span 2;
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
        }
        
        @media (max-width: 768px) {
            .project-card.featured {
                grid-column: span 1;
            }
            
            .header h1 {
                font-size: 2rem;
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
            }
        }



/* Responsive adjustments */
            @media (max-width: 991px) {
                .brand-info {
                    margin-right: 10px;
                }
                
                .brand-name {
                    font-size: 1.2em;
                }
                
                .brand-title {
                    font-size: 0.8em;
                }
                
                .brand-location {
                    font-size: 0.7em;
                }

                .navbar-nav {
                    flex-direction: column !important;
                    margin-top: 10px;
                }

                .navbar-nav .nav-link {
                    margin: 2px 0;
                    text-align: center;
                }

                 .page-title {
                font-family: 'Saira Extra Condensed', sans-serif;
                font-size: 4rem;
                font-weight: 700;
                color: #003247;
                text-align: center;
                margin-bottom: 60px;
                position: relative;
                text-transform: uppercase;
                letter-spacing: 2px;
            }

            .page-title::after {
                content: '';
                position: absolute;
                bottom: -15px;
                left: 50%;
                transform: translateX(-50%);
                width: 100px;
                height: 4px;
                background: linear-gradient(90deg, #ffc107, #003247);
                border-radius: 2px;
            }

                .formation-card {
                    padding: 25px;
                }

                .date-location {
                    text-align: left;
                    margin-top: 20px;
                }
            }

            @media (max-width: 576px) {
                .profile-img {
                    width: 45px;
                    height: 45px;
                    margin-right: 10px;
                }
                
                .brand-name {
                    font-size: 1.1em;
                }
                
                .brand-title {
                    font-size: 0.75em;
                }
                
                .brand-location {
                    font-size: 0.65em;
                }

                .page-title {
                    font-size: 2.5rem;
                }

                .formation-card {
                    padding: 20px;
                    margin-bottom: 30px;
                }

                .school-name {
                    font-size: 1.6rem;
                }

                .degree-title {
                    font-size: 1.1rem;
                }
            }
