/* Header Top */
        .header-top {
            background-color: #3a4157;
            padding: 8px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 100;
        }

        .top-info {
            display: flex;
            gap: 30px;
            font-size: 14px;
            color: #fff;
            align-items: center;
        }

        .info-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .header-right {
            display: flex;
            gap: 20px;
            align-items: center;
            font-size: 14px;
            color: #fff;
        }

        .header-right a {
            color: #fff;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: color 0.3s;
        }

        .header-right a:hover {
            color: #27ae60;
        }

        /* Navigation avec 3 bulles */
        .navbar {
            background-color: transparent;
            padding: 20px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 30px;
            position: absolute;
            top: 40px;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: all 0.4s ease;
        }

        .navbar.scrolled {
            position: fixed;
            top: 0px;
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            padding: 15px 50px;
        }

        .navbar.scrolled .logo-bubble,
        .navbar.scrolled .nav-center-bubble,
        .navbar.scrolled .nav-cta-bubble {
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
        }

        /* Bulle 1: Logo */
        .logo-bubble {
            display: flex;
            align-items: center;
            gap: 15px;
            background-color: #fff;
            padding: 15px 30px;
            text-decoration: none;
            cursor: pointer;
            border-radius: 50px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .logo-image img{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            background-color: #fff;
            border: 3px solid #27ae60;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #27ae60;
        }

        .logo-text h1 {
            font-size: 28px;
            font-weight: bold;
            color: #2c3e50;
        }

        .logo-text p {
            font-size: 10px;
            color: #7f8c8d;
            letter-spacing: 2px;
        }

        /* Bulle 2: Menu + Recherche */
        .nav-center-bubble {
            display: flex;
            align-items: center;
            gap: 20px;
            background-color: #fff;
            padding: 15px 40px;
            border-radius: 50px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            flex: 1;
            max-width: 70%;
        }

        .nav-menu {
            display: flex;
            gap: 30px;
            list-style: none;
        }

        .nav-menu li a {
            text-decoration: none;
            color: #2c3e50;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .nav-menu li a:hover {
            color: #27ae60;
        }

        .nav-menu li a.active {
            color: #27ae60;
            font-weight: 600;
            position: relative;
        }

        .nav-menu li a.active::after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #27ae60, #2ecc71);
            border-radius: 2px;
        }

        .nav-menu .dropdown {
            position: relative;
        }

        .nav-menu .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            border: 1px solid #f0f0f0;
            min-width: 280px;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1001;
            margin-top: 15px;
        }

        .nav-menu .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-menu .dropdown-menu a {
            display: block;
            padding: 12px 15px;
            color: #2c3e50;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            font-weight: 500;
            border-left: 3px solid transparent;
            font-size: 14px;
        }

        .nav-menu .dropdown-menu a:hover {
            background-color: #f8f9fa;
            color: #27ae60;
            border-left-color: #27ae60;
            transform: translateX(5px);
        }

        .nav-menu .dropdown-menu a.active {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            color: #27ae60;
            border-left-color: #27ae60;
            font-weight: 600;
        }

        .search-box {
            display: flex;
            align-items: center;
            background-color: #f8f9fa;
            padding: 10px 20px;
            border-radius: 25px;
            margin-left: auto;
        }

        .search-box input {
            border: none;
            background: none;
            outline: none;
            width: 200px;
            font-size: 14px;
        }

        .search-box button {
            background-color: #2c3e50;
            color: #fff;
            border: none;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s;
        }

        .search-box button:hover {
            background-color: #27ae60;
        }

        /* Bulle 3: CTA */
        .nav-cta-bubble {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            border-radius: 50px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .cta-button {
            color: #fff;
            padding: 25px 25px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: bold;
            transition: transform 0.3s;
            display: inline-block;
        }

        .cta-button:hover {
            transform: translateY(-2px);
        }

        /* Chat Button */
        .chat-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
            z-index: 1000;
            transition: transform 0.3s;
            text-decoration: none;
        }

        .chat-button:hover {
            transform: scale(1.1);
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            background: #27ae60;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .mobile-menu-toggle span {
            width: 20px;
            height: 2px;
            background: white;
            margin: 2px 0;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(4px, 4px);
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(4px, -4px);
        }

        /* Mobile Navigation */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(30, 41, 59, 0.95);
            backdrop-filter: blur(10px);
            z-index: 9999;
            padding: 80px 20px 20px;
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .mobile-nav.active {
            transform: translateX(0);
        }

        .mobile-nav-content {
            max-width: 400px;
            margin: 0 auto;
        }

        .mobile-nav-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-nav-logo .logo-icon {
            width: 50px;
            height: 50px;
            background: #27ae60;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            overflow: hidden;
        }

        .mobile-nav-logo .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .mobile-nav-logo .logo-text h1 {
            color: white;
            font-size: 24px;
            margin: 0;
        }

        .mobile-nav-logo .logo-text p {
            color: #cbd5e1;
            font-size: 10px;
            letter-spacing: 2px;
            margin: 0;
        }

        .mobile-nav-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-nav-menu li {
            margin-bottom: 10px;
        }

        .mobile-nav-menu a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            color: white;
            text-decoration: none;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .mobile-nav-menu a:hover {
            background: rgba(39, 174, 96, 0.2);
            color: #27ae60;
            transform: translateX(5px);
        }

        .mobile-nav-menu a.active {
            background: rgba(39, 174, 96, 0.25);
            color: #27ae60;
            border-left: 4px solid #27ae60;
            font-weight: 600;
        }

        .mobile-nav-menu a.active-cta {
            border-left: 4px solid #fff;
        }

        .mobile-dropdown {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 8px;
            margin-top: 5px;
        }

        .mobile-dropdown.active {
            max-height: 500px;
        }

        .mobile-dropdown a {
            padding: 12px 30px;
            background: transparent;
            font-size: 14px;
            border-left: 3px solid transparent;
        }

        .mobile-dropdown a:hover {
            border-left-color: #27ae60;
            background: rgba(39, 174, 96, 0.1);
        }

        .mobile-dropdown a.active {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            color: #27ae60;
            border-left-color: #27ae60;
            font-weight: 600;
        }

        .mobile-close {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            font-size: 20px;
            transition: all 0.3s ease;
        }

        .mobile-close:hover {
            background: #27ae60;
        }


        @media (max-width: 1485px) and (min-width: 769px) {
            .nav-center-bubble {
                max-width: 50%;
            }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .header-top {
                display: none;
            }

             .logo-bubble {
                height: 60px;
                width: 230px;
            }

            .logo-image img{
                width: 40px;
            }
            .logo-icon {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }
            .logo-text h1 {
                font-size: 20px;
            }
            .logo-text p {
                font-size: 8px;
            }

            .navbar {
                padding: 15px 30px;
                flex-direction: row;
                justify-content: space-between;
                position: fixed;
                top: 0;
                background: transparent;
                backdrop-filter: none;
                box-shadow: none;
                transition: all 0.3s ease;
            }

            .navbar.scrolled {
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(10px);
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
                padding: 10px 30px;
            }

            .navbar .logo-bubble {
                background: rgba(255, 255, 255, 0.9);
                backdrop-filter: blur(10px);
                box-shadow: 0 4px 20px rgba(0,0,0,0.1);
                transition: all 0.3s ease;
            }

            .navbar.scrolled .logo-bubble {
                background: #fff;
                backdrop-filter: none;
            }

            .mobile-menu-toggle {
                background: rgba(39, 174, 96, 0.9);
                backdrop-filter: blur(10px);
                box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
            }

            .navbar.scrolled .mobile-menu-toggle {
                background: #27ae60;
                backdrop-filter: none;
                box-shadow: 0 2px 10px rgba(39, 174, 96, 0.2);
            }

            .nav-center-bubble,
            .nav-cta-bubble {
                display: none;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .mobile-nav {
                display: block;
            }
        }

    /* Footer */
        .footer {
            background: #1e293b;
            color: white;
            padding: 60px 50px 30px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 30px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            color: #27ae60;
            margin-bottom: 20px;
            font-size: 18px;
        }

        .footer-section p,
        .footer-section a {
            color: #cbd5e1;
            line-height: 1.6;
            text-decoration: none;
        }

        .footer-section a:hover {
            color: #27ae60;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .contact-details p {
            margin: 0;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .contact-details p i {
            margin-top: 2px;
            flex-shrink: 0;
        }

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

        .social-link {
            width: 40px;
            height: 40px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #27ae60;
            transition: all 0.3s;
        }

        .social-link:hover {
            background: #27ae60;
            color: white;
        }

        .footer-bottom {
            border-top: 1px solid #374151;
            padding-top: 30px;
            text-align: center;
            color: #94a3b8;
        }

        /* Tablet Responsive */
        @media (max-width: 1024px) {
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
        }

        /* Mobile Responsive for new sections */
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .social-links {
                justify-content: center;
            }

            .footer-links {
                align-items: center;
            }

            .about, .projects, .testimonials, .contact {
                padding: 60px 20px;
            }

            .footer {
                padding: 40px 20px 20px;
            }

            .chat-button {
                width: 50px;
                height: 50px;
                font-size: 20px;
                bottom: 20px;
                right: 20px;
            }

            .contact-details p {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .footer-content {
                gap: 30px;
            }

            .footer-section h3 {
                font-size: 16px;
            }

            .footer-section p,
            .footer-section a {
                font-size: 14px;
            }

            .social-link {
                width: 35px;
                height: 35px;
                font-size: 16px;
            }

            .footer-bottom {
                font-size: 13px;
            }

            .chat-button {
                width: 45px;
                height: 45px;
                font-size: 18px;
                bottom: 15px;
                right: 15px;
            }
        }

        /* ===== NEWSLETTER FORM ===== */
        .newsletter-form {
            margin-top: 1rem;
        }

        .newsletter-input-group {
            display: flex;
            gap: 0.5rem;
        }

        .newsletter-input {
            flex: 1;
            padding: 0.875rem 1rem;
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .newsletter-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .newsletter-input:focus {
            outline: none;
            border-color: #27ae60;
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
        }

        .newsletter-submit {
            padding: 0.875rem 1.25rem;
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            border: none;
            border-radius: 8px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .newsletter-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
        }

        .newsletter-submit i {
            font-size: 1rem;
        }

        .newsletter-error {
            display: block;
            color: #ff6b6b;
            font-size: 0.85rem;
            margin-top: 0.5rem;
        }

        /* Newsletter Notifications */
        .newsletter-notification {
            position: fixed;
            top: 100px;
            right: 30px;
            padding: 1rem 1.5rem;
            border-radius: 12px;
            color: white;
            font-weight: 500;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            animation: slideInRight 0.5s ease, fadeOut 0.5s ease 4.5s;
            animation-fill-mode: forwards;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            max-width: 400px;
        }

        .newsletter-notification.success {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
        }

        .newsletter-notification.info {
            background: linear-gradient(135deg, #3498db, #5dade2);
        }

        .newsletter-notification i {
            font-size: 1.25rem;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes fadeOut {
            from {
                opacity: 1;
            }
            to {
                opacity: 0;
                transform: translateX(400px);
            }
        }

        @media (max-width: 768px) {
            .newsletter-notification {
                top: 80px;
                right: 15px;
                left: 15px;
                max-width: none;
                font-size: 0.9rem;
            }

            .newsletter-input-group {
                flex-direction: column;
            }

            .newsletter-submit {
                width: 100%;
            }
        }