
        :where([class^="ri-"])::before {
            content: "\f3c2";
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: #1f2937;
            background-color: #ffffff;
        }
        .textjustify {
		  text-align: justify;
		}	
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }
        
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #f3f4f6;
        }
        
        .nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 1.5rem;
            max-width: 1280px;
            margin: 0 auto;
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1f2937;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        
        .nav-link {
            text-decoration: none;
            color: #6b7280;
            font-weight: 500;
            transition: color 0.3s ease;
        }
        
        .nav-link:hover {
            color: #c3d8cc;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1.5rem;
            color: #1f2937;
        }
        
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 5rem;
            background-image: url('https://readdy.ai/api/search-image?query=Modern%20minimalist%20tech%20workspace%20with%20clean%20desk%20setup%2C%20laptop%2C%20multiple%20monitors%2C%20soft%20natural%20lighting%2C%20contemporary%20office%20environment%2C%20professional%20developer%20workspace%2C%20clean%20white%20and%20blue%20tones%2C%20left%20side%20gradient%20fade%20to%20white%2C%20technical%20innovation%20atmosphere&width=1920&height=1080&seq=hero-bg&orientation=landscape');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 64, 175, 0.05) 100%);
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
            width: 100%;
        }
        
        .hero-text {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(8px);
            padding: 2rem;
            border-radius: 1rem;
        }
        
        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            color: #1f2937;
            line-height: 1.1;
            margin-bottom: 1.5rem;
        }
        
        .hero-title .primary {
            color: #c3d8cc;
        }
        
        .hero-description {
            font-size: 1.25rem;
            color: #6b7280;
            line-height: 1.6;
            margin-bottom: 2rem;
        }
        
        .hero-buttons {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            white-space: nowrap;
        }
        
        .btn-primary {
            background-color: #c3d8cc;
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #78877e;
        }
        
        .btn-outline {
            background-color: transparent;
            color: #c3d8cc;
            border: 2px solid #c3d8cc;
        }
        
        .btn-outline:hover {
            background-color: #c3d8cc;
            color: white;
        }
        
        .section {
            padding: 5rem 0;
        }
        
        .bg-gray {
            background-color: #f9fafb;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 1rem;
        }
        
        .section-description {
            font-size: 1.25rem;
            color: #6b7280;
            max-width: 48rem;
            margin: 0 auto;
        }
        
        .projects-filters {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
        }
        
        .filter-btn {
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }
        
        .filter-btn.active {
            background-color: #c3d8cc;
            color: white;
        }
        
        .filter-btn:not(.active) {
            background-color: white;
            color: #6b7280;
        }
        
        .filter-btn:not(.active):hover {
            background-color: #f3f4f6;
        }
        
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .project-card {
            background: white;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }
        
        .project-image {
            height: 12rem;
            background-color: #f3f4f6;
            overflow: hidden;
        }
        
        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
        }
        
        .project-content {
            padding: 1.5rem;
        }
        
        .project-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.5rem;
        }
        
        .project-description {
            color: #6b7280;
            margin-bottom: 1rem;
        }
        
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .tag {
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
        }
        
        .tag-blue {
            background-color: #dbeafe;
            color: #78877e;
        }
        
        .tag-green {
            background-color: #d1fae5;
            color: #065f46;
        }
        
        .tag-purple {
            background-color: #e9d5ff;
            color: #581c87;
        }
        
        .tag-orange {
            background-color: #fed7aa;
            color: #9a3412;
        }
        
        .tag-red {
            background-color: #fecaca;
            color: #991b1b;
        }
        
        .tag-yellow {
            background-color: #fef3c7;
            color: #92400e;
        }
        
        .tag-gray {
            background-color: #f3f4f6;
            color: #374151;
        }
        
        .tag-cyan {
            background-color: #cffafe;
            color: #0e7490;
        }
        
        .tag-pink {
            background-color: #fce7f3;
            color: #be185d;
        }
        
        .tag-indigo {
            background-color: #e0e7ff;
            color: #3730a3;
        }
        
        .project-buttons {
            display: flex;
            gap: 0.75rem;
        }
        
        .btn-small {
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
        }
        
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .skill-category {
            background-color: #f9fafb;
            padding: 2rem;
            border-radius: 1rem;
        }
        
        .skill-icon {
            width: 4rem;
            height: 4rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.75rem;
            margin-bottom: 1.5rem;
        }
        
        .skill-icon-blue {
            background-color: #dbeafe;
            color: #2563eb;
        }
        
        .skill-icon-green {
            background-color: #d1fae5;
            color: #16a34a;
        }
        
        .skill-icon-purple {
            background-color: #e9d5ff;
            color: #9333ea;
        }
        
        .skill-icon i {
            font-size: 1.5rem;
        }
        
        .skill-category-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 1.5rem;
        }
        
        .skill-items {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .skill-item {
            
        }
        
        .skill-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }
        
        .skill-name {
            font-weight: 500;
            color: #374151;
        }
        
        .skill-percentage {
            font-size: 0.875rem;
            color: #6b7280;
        }
        
        .skill-bar-container {
            width: 100%;
            background-color: #e5e7eb;
            border-radius: 9999px;
            height: 0.5rem;
        }
        
        .skill-bar {
            height: 0.5rem;
            border-radius: 9999px;
            transition: width 1s ease-in-out;
            width: 0;
        }
        
        .skill-bar-blue {
            background-color: #c3d8cc;
        }
        
        .skill-bar-green {
            background-color: #10b981;
        }
        
        .skill-bar-yellow {
            background-color: #f59e0b;
        }
        
        .skill-bar-purple {
            background-color: #8b5cf6;
        }
        
        .skill-bar-pink {
            background-color: #ec4899;
        }
        
        .skill-bar-orange {
            background-color: #f97316;
        }
        
        .skill-bar-cyan {
            background-color: #06b6d4;
        }
        
        .skill-bar-gray {
            background-color: #6b7280;
        }
        
        .skill-bar-indigo {
            background-color: #6366f1;
        }
        
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }
        
        .about-content {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .about-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1f2937;
        }
        
        .about-text {
            font-size: 1.125rem;
            color: #6b7280;
            line-height: 1.7;
        }
        
        .about-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        
        .stat-item h4 {
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.5rem;
        }
        
        .stat-item p {
            color: #6b7280;
        }
        
        .about-buttons {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
        }
        
        .social-link {
            width: 3rem;
            height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 50%;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            color: #374151;
            text-decoration: none;
            transition: box-shadow 0.3s ease;
        }
        
        .social-link:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .about-image {
            display: flex;
            justify-content: center;
        }
        
        .about-photo {
            width: 20rem;
            height: 24rem;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }
        
        .about-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
        }
        
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        
        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }
        
        .contact-icon {
            width: 3rem;
            height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.75rem;
        }
        
        .contact-icon-blue {
            background-color: #dbeafe;
            color: #2563eb;
        }
        
        .contact-icon-green {
            background-color: #d1fae5;
            color: #16a34a;
        }
        
        .contact-icon-purple {
            background-color: #e9d5ff;
            color: #9333ea;
        }
        
        .contact-details h3 {
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.25rem;
        }
        
        .contact-details p {
            color: #6b7280;
        }
        
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
        }
        
        .form-label {
            font-size: 0.875rem;
            font-weight: 500;
            color: #374151;
            margin-bottom: 0.5rem;
        }
        
        .form-input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            transition: all 0.3s ease;
        }
        
        .form-input:focus {
            outline: none;
            ring: 2px;
            ring-color: #c3d8cc;
            border-color: transparent;
        }
        
        .form-textarea {
            resize: none;
        }
        
        .dropdown {
            position: relative;
        }
        
        .dropdown-btn {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            background: white;
            text-align: left;
            font-size: 0.875rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .dropdown-btn:focus {
            outline: none;
            ring: 2px;
            ring-color: #c3d8cc;
            border-color: transparent;
        }
        
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            margin-top: 0.25rem;
            background: white;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            z-index: 10;
        }
        
        .dropdown-menu.hidden {
            display: none;
        }
        
        .dropdown-item {
            width: 100%;
            padding: 0.5rem 1rem;
            text-align: left;
            background: none;
            border: none;
            font-size: 0.875rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .dropdown-item:hover {
            background-color: #f9fafb;
        }
        
        .form-message {
            padding: 1rem;
            border-radius: 0.5rem;
            font-size: 0.875rem;
        }
        
        .form-message.hidden {
            display: none;
        }
        
        .form-message.success {
            background-color: #d1fae5;
            color: #065f46;
        }
        
        .form-message.error {
            background-color: #fecaca;
            color: #991b1b;
        }
        
        .footer {
            background-color: #111827;
            color: white;
            padding: 3rem 0;
        }
        
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
        }
        
        .footer-brand {
            text-align: center;
        }
        
        .footer-logo {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .footer-tagline {
            color: #9ca3af;
        }
        
        .footer-nav {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }
        
        .footer-link {
            color: #9ca3af;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-link:hover {
            color: white;
        }
        
        .footer-social {
            display: flex;
            gap: 1rem;
        }
        
        .footer-social-link {
            width: 2.5rem;
            height: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #374151;
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }
        
        .footer-social-link:hover {
            background-color: #4b5563;
        }
        
        .footer-bottom {
            border-top: 1px solid #374151;
            margin-top: 2rem;
            padding-top: 2rem;
            text-align: center;
        }
        
        .footer-copyright {
            color: #9ca3af;
        }
        
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 3rem;
            height: 3rem;
            background-color: #c3d8cc;
            color: white;
            border: none;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            cursor: pointer;
            transition: all 0.3s ease;
            opacity: 0;
            pointer-events: none;
        }
        
        .back-to-top:hover {
            background-color: #78877e;
        }
        
        .back-to-top.visible {
            opacity: 1;
            pointer-events: auto;
        }
        
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero-content {
                grid-template-columns: 1fr;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-buttons {
                flex-direction: column;
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
            }
            
            .skills-grid {
                grid-template-columns: 1fr;
            }
            
            .about-grid {
                grid-template-columns: 1fr;
            }
            
            .contact-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                flex-direction: column;
                text-align: center;
            }
            
            .footer-nav {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        
        @media (min-width: 768px) {
            .hero-buttons {
                flex-direction: row;
            }
            
            .about-buttons {
                flex-direction: row;
            }
            
            .footer-content {
                flex-direction: row;
            }
        }
		
	#contact-block{
    min-height: 420px;   /* hauteur proche de ton formulaire */
    position: relative;
}
.contact-success,
.contact-error{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    height:100%;
    text-align:center;
}