        :root {
            --primary-green: #87C13E;
            --primary-terracotta: #BC2C21;
            --primary-navy: #1B234D;
            --bg-light: #F4F7F6;
            --white: #FFFFFF;
            --text-main: #1B234D;
            --text-muted: #636E72;
            --radius-lg: 20px;
            --radius-md: 12px;
            --shadow-soft: 0 10px 40px rgba(27, 35, 77, 0.06);
            --shadow-hover: 0 20px 50px rgba(27, 35, 77, 0.12);
            --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        /* Modern Pre-loader */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out, visibility 0.5s;
        }

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

        .loader-logo {
            width: 120px;
            margin-bottom: 20px;
            animation: pulse 2s infinite ease-in-out;
        }

        .loader-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--primary-terracotta);
            border-radius: 50%;
            margin: 0 auto;
            animation: spin 1s linear infinite;
        }

        @keyframes pulse {
            0% { transform: scale(0.95); opacity: 0.8; }
            50% { transform: scale(1.05); opacity: 1; }
            100% { transform: scale(0.95); opacity: 0.8; }
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

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

        body {
            font-family: 'Outfit', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-main);
            overflow-x: hidden;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Premium Header */
        header {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 12px 0;
            border-bottom: 1px solid rgba(27, 35, 77, 0.05);
            transition: var(--transition);
        }

        .nav-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-img {
            height: 50px;
            transition: var(--transition);
        }

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

        .btn-portal {
            background: var(--primary-terracotta);
            color: white;
            padding: 10px 24px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(188, 44, 33, 0.2);
        }

        .btn-portal:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(188, 44, 33, 0.3);
            background: #a32219;
        }

        /* Dropdown Styles */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            background: #fff;
            min-width: 240px;
            box-shadow: var(--shadow-hover);
            border-radius: var(--radius-md);
            padding: 10px 0;
            z-index: 1001;
            border: 1px solid rgba(27, 35, 77, 0.05);
            margin-top: 10px;
            animation: fadeInDown 0.3s ease-out;
            text-align: left;
        }

        /* Fix SweetAlert z-index behind the portal modal */
        .swal2-container-high-zindex {
            z-index: 100000 !important;
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .dropdown:hover .dropdown-menu {
            display: block;
        }

        /* User Profile Header & Status Badge */
        .user-profile-nav {
            display: flex;
            align-items: center;
            margin-right: 15px;
        }

        .user-info-pill {
            display: flex;
            align-items: center;
            background: #fff;
            padding: 6px 16px 6px 8px;
            border-radius: 50px;
            border: 1px solid rgba(27, 35, 77, 0.1);
            box-shadow: 0 4px 12px rgba(27, 35, 77, 0.04);
            transition: var(--transition);
            cursor: pointer;
        }

        .user-info-pill:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-soft);
            border-color: var(--primary-green);
        }

        .user-avatar {
            width: 32px;
            height: 32px;
            background: var(--primary-green);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.9rem;
            margin-right: 10px;
        }

        .user-name-text {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary-navy);
        }

        .status-badge {
            display: flex;
            align-items: center;
            background: rgba(135, 193, 62, 0.1);
            padding: 4px 10px;
            border-radius: 20px;
            border: 1px solid var(--primary-green);
            margin-right: 12px;
        }

        .status-badge i {
            color: var(--primary-green);
            font-size: 0.75rem;
            margin-right: 5px;
        }

        .status-badge span {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--primary-navy);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .dropdown-item {
            padding: 12px 25px;
            display: block;
            color: var(--primary-navy);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            font-size: 0.95rem;
        }

        .dropdown-item:hover {
            background: rgba(188, 44, 33, 0.05);
            color: var(--primary-terracotta);
            padding-left: 30px;
        }

        .dropdown-item i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }

        /* Content spacing */
        main { min-height: 80vh; }

        /* Typography & Utilities */
        h1, h2, h3, h4 { color: var(--primary-navy); font-weight: 700; }
        .text-terracotta { color: var(--primary-terracotta); }
        .bg-terracotta { background-color: var(--primary-terracotta); }

        /* Glassmorphism Cards */
        .glass-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: var(--radius-lg);
            padding: 40px 30px 30px; /* Reduced bottom padding to bring buttons closer to edge */
            box-shadow: var(--shadow-soft);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            text-align: center;
            overflow: hidden;
            height: 100%;
        }

        .services-grid .glass-card {
            min-height: 480px; /* Consistent minimum height */
        }

        .card-body-content {
            flex-grow: 1; /* Pushes the next element (buttons) to the bottom */
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .card-actions {
            margin-top: auto;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 15px; /* Explicit forced gap between buttons */
            padding-top: 25px;
        }

        .glass-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
            background: rgba(255, 255, 255, 0.9);
        }

        /* Buttons Redesign */
        .btn {
            border-radius: 50px;
            padding: 12px 28px;
            font-weight: 600;
            transition: var(--transition);
            cursor: pointer;
            border: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-primary { background: var(--primary-terracotta); color: white; }
        .btn-primary:hover { background: #a32219; transform: scale(1.02); }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary-navy);
            color: var(--primary-navy);
        }
        .btn-outline:hover { background: var(--primary-navy); color: white; }

        /* Custom Pagination */
        .experiences-pagination {
            margin-top: 4rem !important; /* Descendre légèrement */
        }
        
        .experiences-pagination .pagination {
            display: flex;
            justify-content: center;
            list-style: none;
            gap: 12px;
            padding: 0;
        }

        .experiences-pagination .page-item .page-link {
            padding: 0 20px;
            height: 45px;
            min-width: 45px;
            border-radius: 30px !important;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-navy);
            border: 1px solid rgba(135, 193, 62, 0.3);
            font-weight: 600;
            background: #fff;
            transition: all 0.3s ease;
            text-decoration: none;
            font-size: 0.9rem;
        }

        /* Si c'est juste un numéro, on force le cercle */
        .experiences-pagination .page-item:not(:first-child):not(:last-child) .page-link {
            padding: 0;
            width: 45px;
        }

        .experiences-pagination .page-item.active .page-link {
            background-color: var(--primary-green);
            border-color: var(--primary-green);
            color: #fff;
            box-shadow: 0 6px 15px rgba(135, 193, 62, 0.3);
        }

        .experiences-pagination .page-item.disabled .page-link {
            opacity: 0.5;
            cursor: not-allowed;
            background: #f8f9fa;
        }

        .experiences-pagination .page-item .page-link:hover:not(.active):not(.disabled) {
            background-color: rgba(135, 193, 62, 0.1);
            border-color: var(--primary-green);
            color: var(--primary-green);
            transform: translateY(-3px);
        }

        /* Footer */
        footer {
            padding: 80px 0 40px;
            background: var(--primary-navy);
            color: rgba(255,255,255,0.8);
            text-align: center;
        }

        .footer-logo { height: 40px; filter: brightness(0) invert(1); margin-bottom: 20px; opacity: 0.8; }

        /* Service Cards */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
            margin-top: -30px;
            margin-bottom: 60px;
            align-items: stretch; /* Ensure grid items stretch to same height */
            justify-content: center;
        }

        /* Simple Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(27, 35, 77, 0.6);
            backdrop-filter: blur(8px);
            overflow-y: auto;
            padding: 20px 0;
        }

        body.modal-open {
            overflow: hidden;
        }

        .modal-content {
            background: #fff;
            margin: 5vh auto;
            padding: 40px;
            border-radius: var(--radius-lg);
            width: 90%;
            max-width: 550px;
            box-shadow: 0 30px 60px rgba(0,0,0,0.2);
            position: relative;
            animation: modalSlideUp 0.5s ease-out;
        }

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

        .close {
            position: absolute;
            right: 25px;
            top: 25px;
            font-size: 20px;
            cursor: pointer;
            color: var(--text-muted);
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--bg-light);
            transition: var(--transition);
        }

        .close:hover { background: #eee; color: var(--primary-terracotta); }

        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
        .form-control {
            width: 100%;
            padding: 12px 18px;
            border-radius: 10px;
            border: 1px solid #E6E9EE;
            background: #F9FAFB;
            font-family: inherit;
            transition: var(--transition);
        }
        .form-control:focus { outline: none; border-color: var(--primary-terracotta); background: #fff; box-shadow: 0 0 0 4px rgba(188, 44, 33, 0.1); }

        /* New Footer Styles - Compact Version */
        .footer-section {
            background: var(--primary-navy);
            padding: 50px 0 30px;
            color: #fff;
            text-align: left;
        }

        .single-footer {
            margin-bottom: 25px;
        }

        .single-footer h4 {
            color: #fff;
            margin-bottom: 20px;
            font-weight: 700;
            text-transform: capitalize;
            font-size: 18px;
            position: relative;
            padding-bottom: 10px;
        }

        .single-footer h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background: var(--primary-green);
        }

        .single-footer ul li {
            margin-bottom: 8px;
        }

        .single-footer ul li a {
            color: rgba(255,255,255,0.7);
            font-size: 0.9rem;
            text-decoration: none;
            transition: var(--transition);
        }

        .single-footer ul li a:hover {
            color: var(--primary-green);
        }

        .footer-social {
            display: flex;
            gap: 12px;
            margin-top: 15px;
        }

        .footer-social a {
            width: 35px;
            height: 35px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 0.9rem;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-contact-item {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
        }

        .footer-contact-item i {
            color: var(--primary-green);
            font-size: 1rem;
            margin-top: 3px;
        }

        .footer-contact-item h5 {
            color: #fff;
            margin-bottom: 2px;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .footer-contact-item p {
            color: rgba(255,255,255,0.6);
            font-size: 0.85rem;
        }

        /* Partners Section (Integrated in Footer) */
        .footer-partners {
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            margin-bottom: 40px;
            text-align: center;
        }

        .footer-partners h3 {
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 25px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .partners-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 30px;
        }

        .partner-logo {
            height: 40px;
            opacity: 1; /* Full visibility */
            transition: var(--transition);
        }

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

        .footer-bottom {
            margin-top: 60px;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            color: rgba(255,255,255,0.5);
            font-size: 0.9rem;
        }

        @media (max-width: 991px) {
            .footer-section { text-align: center; }
            .single-footer h4::after { left: 50%; transform: translateX(-50%); }
            .footer-social { justify-content: center; }
            .footer-contact-item { flex-direction: column; align-items: center; gap: 5px; }
        }

        /* Layout Grid for Footer */
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }

        @media (max-width: 991px) {
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 576px) {
            .footer-grid { grid-template-columns: 1fr; }
        }

