/* ============================================
   FENOUTECH - Main Stylesheet
   ============================================ */

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

:root {
    --primary: #0EA5E9;
    --primary-dark: #0284C7;
    --primary-light: #38BDF8;
    --dark: #1E293B;
    --dark-card: #263238;
    --accent: #38BDF8;
    --text-light: #78909C;
    --navy-dark: #0F172A;
    --navy: #1E293B;
}

body {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #1E293B;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
}

.animated-bg span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: var(--primary);
    animation: float 25s infinite;
    border-radius: 50%;
}

.animated-bg span:nth-child(1) { left: 10%; animation-delay: 0s; }
.animated-bg span:nth-child(2) { left: 20%; animation-delay: 2s; }
.animated-bg span:nth-child(3) { left: 30%; animation-delay: 4s; }
.animated-bg span:nth-child(4) { left: 40%; animation-delay: 6s; }
.animated-bg span:nth-child(5) { left: 50%; animation-delay: 8s; }
.animated-bg span:nth-child(6) { left: 60%; animation-delay: 10s; }
.animated-bg span:nth-child(7) { left: 70%; animation-delay: 12s; }
.animated-bg span:nth-child(8) { left: 80%; animation-delay: 14s; }
.animated-bg span:nth-child(9) { left: 90%; animation-delay: 16s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

/* Navigation */
        nav {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            padding: 1.3rem 5%;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 10000;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            animation: slideDown 0.6s ease;
        }

        @keyframes slideDown {
            from { transform: translateY(-100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        nav.scrolled {
            padding: 0.9rem 5%;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo-placeholder {
            width: 60px;
            height: 60px;
            background: transparent;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
            overflow: hidden;
        }

        .logo-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 12px;
        }

        .logo-text {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--dark);
            letter-spacing: 1px;
        }

        .nav-menu {
            display: flex;
            gap: 0.5rem;
            list-style: none;
            align-items: center;
        }

        .nav-menu > li {
            position: relative;
        }

        .nav-menu > li > a {
            color: #1E293B;
            text-decoration: none;
            font-size: 1.05rem;
            font-weight: 600;
            padding: 0.9rem 1.8rem;
            border-radius: 10px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            letter-spacing: 0.3px;
        }

        .nav-menu > li > a:hover,
        .nav-menu > li > a.active {
            background: rgba(14, 165, 233, 0.1);
            color: #0EA5E9;
        }

        .dropdown-icon {
            font-size: 0.7rem;
            transition: transform 0.3s ease;
        }

        .nav-menu > li:hover .dropdown-icon {
            transform: rotate(180deg);
        }

        /* Mega Menu - WITH SCROLLING */
        .mega-menu {
            position: absolute;
            top: calc(100% + 1rem);
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(30px);
            border: 1px solid rgba(14, 165, 233, 0.15);
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
            border-radius: 20px;
            padding: 3rem 3.5rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
            min-width: 800px;
            max-width: 1200px;
            max-height: 75vh;
            overflow-y: auto;
            overflow-x: visible;
        }

        /* Custom Scrollbar */
        .mega-menu::-webkit-scrollbar {
            width: 8px;
        }

        .mega-menu::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .mega-menu::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 10px;
        }

        .mega-menu::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        .nav-menu > li:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
            pointer-events: all;
        }

        .mega-menu::before {
            content: '';
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            border-bottom: 12px solid rgba(255, 255, 255, 0.98);
            filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, 0.05));
        }

        .mega-menu-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3.5rem;
        }

        .mega-menu-column {
            position: relative;
            overflow: visible;
        }

        .mega-menu-column h4 {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.8rem;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 2.5px;
            margin-bottom: 1.5rem;
            font-weight: 700;
            position: relative;
            padding-bottom: 0.8rem;
        }

        .mega-menu-column h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
            border-radius: 10px;
        }

        .mega-menu-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .mega-menu-links li {
            position: relative;
        }

        .mega-menu-links a {
            color: #475569;
            font-size: 1rem;
            font-weight: 500;
            padding: 1.1rem 1.3rem;
            border-radius: 10px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.8rem;
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }

        .mega-menu-links a .arrow {
            color: #E74C3C;
            font-weight: 700;
            font-size: 0.9rem;
            margin-left: auto;
            transition: transform 0.3s ease;
        }

        .mega-menu-links a:hover .arrow {
            transform: translateX(5px);
        }

        .mega-menu-links a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: var(--primary);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .mega-menu-links a:hover {
            background: linear-gradient(90deg, rgba(14, 165, 233, 0.08) 0%, transparent 100%);
            color: var(--primary);
            padding-left: 1.5rem;
        }

        .mega-menu-links a:hover::before {
            transform: scaleY(1);
        }

        /* Submenu styling */
        .submenu {
            display: none;
            position: absolute;
            left: 100%;
            top: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(30px);
            border: 1px solid rgba(14, 165, 233, 0.15);
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
            border-radius: 16px;
            padding: 2rem;
            min-width: 320px;
            z-index: 10002;
            margin-left: 0.8rem;
        }

        .mega-menu-links li:hover > .submenu {
            display: block;
        }

        .submenu-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.75rem;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 1rem;
            font-weight: 700;
            padding-bottom: 0.8rem;
            border-bottom: 2px solid rgba(14, 165, 233, 0.2);
        }

        .submenu ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        .submenu a {
            color: #475569;
            font-size: 0.95rem;
            font-weight: 500;
            padding: 1rem 1.2rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            display: block;
            text-decoration: none;
        }

        .submenu a:hover {
            background: rgba(14, 165, 233, 0.08);
            color: var(--primary);
            padding-left: 1.5rem;
        }

        /* Third level submenu */
        .submenu li {
            position: relative;
        }

        .submenu li .submenu {
            left: 100%;
            top: 0;
            z-index: 10003;
        }

        .mega-featured {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            padding: 1.8rem;
            border-radius: 14px;
            margin-top: 1.5rem;
            box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
            animation: glow 3s ease-in-out infinite;
        }

        @keyframes glow {
            0%, 100% { box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3); }
            50% { box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5); }
        }

        .mega-featured h4 {
            color: #ffffff !important;
            font-size: 1rem !important;
            margin-bottom: 0.5rem !important;
        }

        .mega-featured h4::after {
            display: none;
        }

        .mega-featured p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .mega-featured-btn {
            background: #ffffff;
            color: var(--primary);
            padding: 0.7rem 1.5rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.9rem;
            display: inline-block;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .mega-featured-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .btn-contact {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: #ffffff;
            padding: 0.9rem 2.2rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            box-shadow: 0 6px 25px rgba(14, 165, 233, 0.3);
            position: relative;
            overflow: hidden;
        }

        .btn-contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s ease;
        }

        .btn-contact:hover::before {
            left: 100%;
        }

        .btn-contact:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 35px rgba(14, 165, 233, 0.5);
        }

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.8rem;
            color: var(--dark);
            cursor: pointer;
            padding: 0.5rem;
            transition: transform 0.3s ease;
        }

        .mobile-menu-toggle:active {
            transform: scale(0.9);
        }

        /* BEAUTIFUL SIDEBAR MENU */
        .sidebar-menu {
            position: fixed;
            top: 0;
            right: -450px;
            width: 450px;
            height: 100vh;
            background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
            box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
            z-index: 99999;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
        }

        .sidebar-menu.active {
            right: 0;
        }

        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            z-index: 99998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .sidebar-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .sidebar-header {
            padding: 2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .sidebar-logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .sidebar-logo img {
            width: 50px;
            height: 50px;
            object-fit: contain;
        }

        .sidebar-logo-text {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
        }

        .sidebar-close {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            color: #ffffff;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sidebar-close:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        .sidebar-content {
            padding: 2rem;
        }

        .sidebar-nav {
            list-style: none;
        }

        .sidebar-nav > li {
            margin-bottom: 0.5rem;
        }

        .sidebar-nav > li > a,
        .sidebar-nav > li > button {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.2rem 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: #ffffff;
            text-decoration: none;
            font-size: 1.05rem;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            width: 100%;
            text-align: left;
        }

        .sidebar-nav > li > a:hover,
        .sidebar-nav > li > button:hover {
            background: rgba(14, 165, 233, 0.2);
            border-color: var(--primary);
            transform: translateX(-5px);
        }

        .sidebar-nav > li > a.active,
        .sidebar-nav > li > button.active {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-color: transparent;
        }

        .sidebar-dropdown-icon {
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }

        .sidebar-nav > li > button.active .sidebar-dropdown-icon {
            transform: rotate(180deg);
        }

        /* Sidebar Submenu */
        .sidebar-submenu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            padding-left: 1rem;
            margin-top: 0.5rem;
        }

        .sidebar-submenu.active {
            max-height: 2000px;
        }

        .sidebar-submenu-item {
            margin-bottom: 0.3rem;
        }

        .sidebar-submenu-item > a,
        .sidebar-submenu-item > button {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 1.2rem;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 10px;
            color: #94A3B8;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
            width: 100%;
            text-align: left;
            border: 1px solid transparent;
        }

        .sidebar-submenu-item > a:hover,
        .sidebar-submenu-item > button:hover {
            background: rgba(14, 165, 233, 0.1);
            color: var(--primary-light);
            padding-left: 1.5rem;
            border-color: rgba(14, 165, 233, 0.3);
        }

        /* Third Level Submenu */
        .sidebar-submenu-level3 {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            padding-left: 1rem;
            margin-top: 0.3rem;
        }

        .sidebar-submenu-level3.active {
            max-height: 1500px;
        }

        .sidebar-submenu-level3 a {
            display: block;
            padding: 0.9rem 1.2rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 8px;
            color: #64748B;
            text-decoration: none;
            font-size: 0.9rem;
            margin-bottom: 0.3rem;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }

        .sidebar-submenu-level3 a:hover {
            background: rgba(14, 165, 233, 0.08);
            color: var(--primary-light);
            border-left-color: var(--primary);
            padding-left: 1.5rem;
        }

        .sidebar-cta {
            margin-top: 2rem;
            padding: 2rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: 16px;
            text-align: center;
        }

        .sidebar-cta h4 {
            color: #ffffff;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .sidebar-cta p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }

        .sidebar-cta-btn {
            display: inline-block;
            padding: 0.9rem 2rem;
            background: #ffffff;
            color: var(--primary);
            border-radius: 10px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .sidebar-cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        /* Hamburger Menu Icon */
        .menu-icon {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 24px;
            position: relative;
            cursor: pointer;
            z-index: 100000;
        }

        .menu-icon span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: var(--dark);
            border-radius: 3px;
            opacity: 1;
            left: 0;
            transition: all 0.3s ease;
        }

        .menu-icon span:nth-child(1) {
            top: 0;
        }

        .menu-icon span:nth-child(2) {
            top: 10px;
        }

        .menu-icon span:nth-child(3) {
            top: 20px;
        }

        .menu-icon.active span:nth-child(1) {
            top: 10px;
            transform: rotate(135deg);
        }

        .menu-icon.active span:nth-child(2) {
            opacity: 0;
            left: -60px;
        }

        .menu-icon.active span:nth-child(3) {
            top: 10px;
            transform: rotate(-135deg);
        }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 12rem 5% 6rem;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 85px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.page-header-list {
    list-style: none;
}

.page-header-list li {
    color: #94A3B8;
    font-size: 1.1rem;
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.page-header-list li::before {
    content: '•';
    color: var(--primary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.page-header-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(14, 165, 233, 0.3));
    animation: float-image 6s ease-in-out infinite;
}

@keyframes float-image {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            background: rgba(14, 165, 233, 0.15);
            border: 1px solid rgba(14, 165, 233, 0.3);
            padding: 0.7rem 1.8rem;
            border-radius: 50px;
            color: var(--primary-light);
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 2.5rem;
            animation: badge-float 3s ease-in-out infinite;
        }

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--navy-dark);
    color: #94A3B8;
    padding: 6rem 5% 3rem;
    border-top: 1px solid rgba(14, 165, 233, 0.1);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.9rem;
}

.footer-section a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(8px);
}

.footer-certifications {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.certification-badge {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
    transition: transform 0.3s ease;
}

.certification-badge:hover {
    transform: translateY(-10px) scale(1.05);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #64748B;
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .page-header-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .sidebar-menu {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
 /* Responsive */
        @media (max-width: 1024px) {
            .hero h1 { font-size: 3.5rem; }
            .section-title { font-size: 2.5rem; }
            .mega-menu { 
                width: 90vw;
                left: 5%;
                transform: none;
                max-height: 70vh;
            }
            .mega-menu-grid { grid-template-columns: 1fr 1fr; }
            .welcome-grid { grid-template-columns: 1fr; gap: 3rem; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .nav-menu:not(.active), .btn-contact { display: none; }
            .mobile-menu-toggle { display: block; }
            
            /* Mobile active menu */
            .nav-menu.active {
                display: flex;
                flex-direction: column;
                position: fixed;
                top: 85px;
                left: 0;
                right: 0;
                background: #ffffff;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
                padding: 1rem 0;
                max-height: calc(100vh - 85px);
                overflow-y: auto;
                z-index: 9998;
            }
            
            .nav-menu.active > li {
                width: 100%;
                border-bottom: 1px solid #f0f0f0;
            }
            
            .nav-menu.active > li > a {
                padding: 1.2rem 5%;
                border-radius: 0;
            }
            
            /* Mobile mega menu - expand in place */
            .mega-menu {
                position: static !important;
                width: 100% !important;
                left: auto !important;
                transform: none !important;
                max-height: 0 !important;
                overflow: hidden !important;
                padding: 0 !important;
                opacity: 0 !important;
                visibility: hidden !important;
                border: none !important;
                box-shadow: none !important;
                transition: max-height 0.3s ease !important;
            }
            
            .nav-menu.active li:hover .mega-menu {
                opacity: 1 !important;
                visibility: visible !important;
                max-height: 2000px !important;
                padding: 1.5rem 5% !important;
                background: #f8f9fa !important;
                overflow-y: auto !important;
            }
            
            .mega-menu::before { display: none !important; }
            
            .mega-menu-grid { 
                grid-template-columns: 1fr !important;
                gap: 1.5rem !important;
            }
            
            .mega-menu-links a {
                font-size: 0.95rem;
                padding: 0.8rem 1rem;
            }
            
            .hero { padding: 6rem 5% 4rem; margin-top: 75px; }
            .hero h1 { font-size: 2.5rem; }
            .hero p { font-size: 1.1rem; }
            .section-title { font-size: 2rem; }
            .services-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            .trust-content { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
        }

/* Hero Section */
.about-hero {
    padding: 14rem 5% 8rem;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
    overflow: hidden;
    margin-top: 85px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
    animation: bgMove 15s ease-in-out infinite;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

.about-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 10px 40px rgba(14, 165, 233, 0.3);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #94A3B8;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(14, 165, 233, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-hero-cta:hover::before {
    left: 100%;
}

.btn-hero-cta:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.6);
}

.hero-logo-feature {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease;
}

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

.hero-logo-feature img {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 30px 80px rgba(14, 165, 233, 0.5));
    animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

/* Mission Section */
.mission-section {
    padding: 8rem 5%;
    background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
    position: relative;
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(56, 189, 248, 0.03) 100%);
    padding: 5rem;
    border-radius: 32px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease;
}

.mission-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.mission-logo {
    position: relative;
    z-index: 2;
}

.mission-logo img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(14, 165, 233, 0.3));
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 15px 40px rgba(14, 165, 233, 0.3)); }
    50% { filter: drop-shadow(0 20px 50px rgba(14, 165, 233, 0.5)); }
}

.mission-text {
    font-size: 1.3rem;
    line-height: 1.9;
    color: #475569;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* Expertise Section */
.expertise-section {
    padding: 0 5% 8rem;
    background: linear-gradient(180deg, #F8FAFC 0%, #ffffff 100%);
}

.expertise-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.expertise-card {
    background: #ffffff;
    padding: 4rem 3.5rem;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    animation: fadeInUp 1s ease both;
}

.expertise-card:nth-child(1) { animation-delay: 0.2s; }
.expertise-card:nth-child(2) { animation-delay: 0.3s; }

.card-business {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(14, 165, 233, 0.2);
}

.card-expert {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(56, 189, 248, 0.2);
}

.card-glow {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.expertise-card:hover .card-glow {
    top: -50%;
    left: -50%;
}

.expertise-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(14, 165, 233, 0.2);
    border-color: var(--primary);
}

.expertise-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.expertise-card p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #64748B;
    position: relative;
    z-index: 2;
}

/* News Section */
.news-section {
    padding: 8rem 5%;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.news-header {
    max-width: 1400px;
    margin: 0 auto 5rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.news-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-light);
    margin-bottom: 1rem;
    text-shadow: 0 10px 40px rgba(14, 165, 233, 0.4);
}

.news-subtitle {
    font-size: 1.3rem;
    color: #94A3B8;
}

.news-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease both;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }

.news-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(14, 165, 233, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.news-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(56, 189, 248, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 2.5rem;
}

.news-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.news-content h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.news-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.news-link:hover {
    gap: 1rem;
    color: #ffffff;
}

.news-cta {
    text-align: center;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
}

/* Responsive */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        padding: 10rem 5% 6rem;
    }

    .hero-logo-feature {
        order: -1;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .mission-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 3rem;
    }

    .expertise-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .mission-logo img {
        width: 150px;
        height: 150px;
    }

    .mission-text {
        font-size: 1.1rem;
    }

    .news-header h2 {
        font-size: 2.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
/* ============================================
   FORMATIONS MODALITÉS - EXTRAORDINARY DESIGN
   ============================================ */

/* Hero Section with Diagonal Split */
.modalites-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 85px;
    padding: 4rem 5%;
}

.hero-diagonal-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0F172A 0%, #0F172A 45%, var(--primary) 45%, var(--primary-light) 100%);
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: 1;
}

.hero-diagonal-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-main-content {
    max-width: 700px;
    animation: heroFadeIn 1.2s ease;
}

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

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    text-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}
.hero-title-1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    text-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.highlight-gradient {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.highlight-gradient::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.hero-description {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 500;
}

.btn-hero-action {
    display: inline-flex;
    align-items: center;
    padding: 1.5rem 3.5rem;
    background: #ffffff;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.btn-hero-action:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Tab Navigation */
.tabs-navigation {
    background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
    padding: 4rem 5% 0;
    position: relative;
}

.tabs-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 4rem;
}

.tab-button {
    background: #ffffff;
    border: 3px solid #E2E8F0;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: tabFadeIn 0.8s ease both;
}

.tab-button:nth-child(1) { animation-delay: 0.1s; }
.tab-button:nth-child(2) { animation-delay: 0.2s; }
.tab-button:nth-child(3) { animation-delay: 0.3s; }
.tab-button:nth-child(4) { animation-delay: 0.4s; }

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

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tab-button:hover::before,
.tab-button.active::before {
    transform: scaleX(1);
}

.tab-button:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.2);
}

.tab-button.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.15);
    transform: translateY(-10px);
}

.tab-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.5rem;
}

.tab-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    display: block;
}

/* Content Sections */
.content-sections {
    background: linear-gradient(180deg, #F8FAFC 0%, #ffffff 100%);
    padding: 0 5% 8rem;
}

.content-panel {
    display: none;
    max-width: 1400px;
    margin: 0 auto;
    animation: panelFadeIn 0.6s ease;
}

.content-panel.active {
    display: block;
}

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

.panel-container {
    background: #ffffff;
    border-radius: 32px;
    padding: 5rem 4rem;
    box-shadow: 0 25px 70px rgba(14, 165, 233, 0.08);
    border: 2px solid rgba(14, 165, 233, 0.1);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.panel-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
}

.panel-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--dark);
    margin: 0;
}

.panel-intro {
    margin-bottom: 4rem;
}

.panel-intro p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #475569;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 2px solid rgba(14, 165, 233, 0.15);
    position: relative;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(14, 165, 233, 0.2);
}

.benefit-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.benefit-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748B;
}

/* Content Split Layout */
.panel-content-split {
    display: grid;
    gap: 3rem;
}

.content-main {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, transparent 100%);
    padding: 3rem;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.feature-icon {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    padding: 3rem 4rem;
    border-radius: 24px;
    font-size: 1.3rem;
    line-height: 1.9;
    font-weight: 600;
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.3);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 8rem 5%;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.3rem;
    color: #94A3B8;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(14, 165, 233, 0.4);
    transition: all 0.4s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.6);
}
.btn-cta-primary-p {
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(14, 165, 233, 0.4);
    transition: all 0.4s ease;
}

.btn-cta-primary-p:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.6);
}

.btn-cta-secondary {
    padding: 1.5rem 3.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1200px) {
    .tabs-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .tabs-container {
        grid-template-columns: 1fr;
    }

    .panel-container {
        padding: 3rem 2rem;
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
    }

    .panel-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
/* ============================================
   DÉROULÉ DE LA FORMATION - EXTRAORDINARY DESIGN
   ============================================ */

/* Hero Section with Illustration */
.deroule-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 5%;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
    overflow: hidden;
    margin-top: 85px;
}

.deroule-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    animation: bgMove 10s ease-in-out infinite;
}

.hero-split {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Lightbulb Illustration */
.hero-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: heroFadeIn 1s ease;
}

.lightbulb-container {
    position: relative;
    width: 350px;
    height: 450px;
}

.lightbulb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 30px)); }
}

.bulb {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #FCD34D 0%, #FFA500 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: 
        0 0 60px rgba(252, 211, 77, 0.6),
        0 0 120px rgba(252, 211, 77, 0.4),
        inset 0 20px 40px rgba(255, 255, 255, 0.3);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 
            0 0 60px rgba(252, 211, 77, 0.6),
            0 0 120px rgba(252, 211, 77, 0.4),
            inset 0 20px 40px rgba(255, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 80px rgba(252, 211, 77, 0.8),
            0 0 150px rgba(252, 211, 77, 0.6),
            inset 0 20px 40px rgba(255, 255, 255, 0.4);
    }
}

.bulb-shine {
    position: absolute;
    top: 20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
}

.bulb-base {
    width: 100px;
    height: 40px;
    background: linear-gradient(135deg, #94A3B8 0%, #64748B 100%);
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
    position: relative;
    top: -10px;
}

.bulb-stand {
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    border-radius: 0 0 30px 30px;
    margin: 0 auto;
    position: relative;
    top: -10px;
}

.bulb-shadow {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    font-size: 2rem;
    animation: sparkle 3s ease-in-out infinite;
}

.sparkle:nth-child(1) { animation-delay: 0s; }
.sparkle:nth-child(2) { animation-delay: 0.5s; }
.sparkle:nth-child(3) { animation-delay: 1s; }
.sparkle:nth-child(4) { animation-delay: 1.5s; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

/* Hero Text */
.hero-text {
    animation: heroFadeIn 1s ease 0.3s both;
}

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

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #94A3B8;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(14, 165, 233, 0.4);
    transition: all 0.4s ease;
}

.btn-hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.6);
}

/* Timeline Section */
.timeline-section {
    padding: 8rem 5%;
    background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
    position: relative;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    animation: fadeInUp 1s ease both;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }

.timeline-item.left .timeline-content {
    margin-right: 55%;
}

.timeline-item.right .timeline-content {
    margin-left: 55%;
}

.timeline-content {
    background: #ffffff;
    padding: 3.5rem 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.1);
    border: 2px solid rgba(14, 165, 233, 0.15);
    position: relative;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(14, 165, 233, 0.2);
    border-color: var(--primary);
}

.timeline-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 2rem;
    padding-right: 80px;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-block {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, transparent 100%);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.info-block:hover {
    border-left-color: var(--primary);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, transparent 100%);
}

.info-block.highlight {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(56, 189, 248, 0.05) 100%);
    border-left-color: var(--primary);
}

.info-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

.timeline-dot {
    position: absolute;
    top: 50px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border: 5px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.1);
}

.timeline-item.left .timeline-dot {
    right: -62px;
}

.timeline-item.right .timeline-dot {
    left: -62px;
}

/* Benefits Section */
.benefits-section {
    padding: 8rem 5%;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.benefits-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.benefit-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease both;
}

.benefit-box:nth-child(1) { animation-delay: 0.1s; }
.benefit-box:nth-child(2) { animation-delay: 0.2s; }
.benefit-box:nth-child(3) { animation-delay: 0.3s; }
.benefit-box:nth-child(4) { animation-delay: 0.4s; }
.benefit-box:nth-child(5) { animation-delay: 0.5s; }
.benefit-box:nth-child(6) { animation-delay: 0.6s; }

.benefit-box:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(14, 165, 233, 0.3);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-box h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.benefit-box p {
    color: #94A3B8;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* CTA Final */
.cta-final {
    padding: 8rem 5%;
    background: linear-gradient(180deg, #F8FAFC 0%, #ffffff 100%);
    text-align: center;
}

.cta-final-content {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-final h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.cta-final p {
    font-size: 1.3rem;
    color: #64748B;
    margin-bottom: 3.5rem;
}

.cta-buttons-group {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(14, 165, 233, 0.3);
    transition: all 0.4s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.5);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    padding: 1.5rem 3.5rem;
    background: transparent;
    color: var(--dark);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 16px;
    border: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-illustration {
        order: -1;
    }

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin-left: 80px;
        margin-right: 0;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 18px;
        right: auto;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .lightbulb-container {
        width: 250px;
        height: 350px;
    }

    .bulb {
        width: 140px;
        height: 140px;
        font-size: 4rem;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-final h2 {
        font-size: 2.5rem;
    }

    .cta-buttons-group {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Mega Menu 2 */
.mega-menu2 {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    padding: 2.5rem 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    min-width: 350px;
    max-width: 450px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Scrollbar */
.mega-menu2::-webkit-scrollbar {
    width: 8px;
}

.mega-menu2::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.mega-menu2::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.mega-menu2::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Hover trigger */
.nav-menu > li:hover .mega-menu2 {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.mega-menu2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, 0.05));
}

/* Grid */
.mega-menu2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Column */
.mega-menu2-column h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.8rem;
    position: relative;
}

.mega-menu2-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    border-radius: 10px;
}

/* Links */
.mega-menu2-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mega-menu2-links li a {
    color: #475569;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.mega-menu2-links li a:hover {
    background: rgba(14, 165, 233, 0.08);
    color: var(--primary);
    padding-left: 1.5rem;
}
