 :root {
            --primary: linear-gradient(to right, #00cab5, #003289);
            --primary-dark: #028072;
            --secondary: #023e8a;
            --secondary-dark: #001d3d;
            --bg-light: #f4f7f6;
            --card-bg: #ffffff;
            --text-dark: #2b2d42;
            --text-muted: #6c757d;
            --border: #e0e0e0;
            --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }
        body { 
            background: #e9eff4 url(https://jektis.tn/images/bg.jpg) 50% 50% no-repeat;
            color: var(--text-dark); line-height: 1.6; 
            background-size: cover;
            background-attachment: fixed;
        }

        /* Header / Navbar */
        .main-navbar {
            background-color: white;
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .brand-logo {
            font-size: 1.5em;
            font-weight: 800;
            color: var(--secondary);
            text-decoration: none;
            letter-spacing: 0.5px;
        }
        .brand-logo span { color: var(--primary); }
        .nav-links {
            display: flex;
            gap: 20px;
            list-style: none;
        }
        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 0.95em;
            transition: var(--transition);
        }
        .nav-links a:hover, .nav-links a.active { color: var(--primary); }

        /* Hero Section */
        .hero-banner {
            background: linear-gradient(rgba(2, 62, 138, 0.85), rgba(2, 62, 138, 0)), url('https://jektis.tn/images/milan.jpg') center/cover no-repeat;
            color: white;
            padding: 70px 20px;
            text-align: center;
        }
        .hero-banner h1 { font-size: 2.8em; margin-bottom: 10px; font-weight: 800; }
        .hero-banner p { font-size: 1.2em; opacity: 0.9; max-width: 600px; margin: 0 auto; }

        /* Programs Section */
        .catalog-container {
            max-width: 1440px;
            margin: 40px auto;
            padding: 0 20px;
        }
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 15px;
        }
        .section-title {
            font-size: 1.8em;
            color: var(--secondary);
            position: relative;
            padding-bottom: 8px;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }

        /* Programs Grid View */
        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
            gap: 30px;
        }

        /* Tour Card Component */
        .program-card {
            background: var(--card-bg);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            border: 1px solid var(--border);
            position: relative;
        }
        .program-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        }

        /* Card Header / Image */
        .card-image-wrapper {
            position: relative;
            height: 220px;
            overflow: hidden;
        }
        .card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .program-card:hover .card-image {
            transform: scale(1.05);
        }
        .duration-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(2, 62, 138, 0.9);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8em;
            font-weight: 700;
            backdrop-filter: blur(4px);
        }
        .date-badge {
            position: absolute;
            bottom: 15px;
            left: 15px;
            background: rgba(255, 255, 255, 0.95);
            color: var(--secondary-dark);
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 0.8em;
            font-weight: 700;
        }

        /* Card Body */
        .card-body {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        .card-title {
            font-size: 1.3em;
            color: var(--secondary);
            margin-bottom: 8px;
            line-height: 1.3;
        }
        .card-route {
            color: var(--text-muted);
            font-size: 0.9em;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .card-features ul {
            list-style: none;
            margin-bottom: 20px;
            padding: 0;
            font-size: 0.88em;
            color: var(--text-dark);
        }
        .card-features ul li {
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .card-features ul  li::before {
            content: "✓";
            color: var(--primary);
            font-weight: bold;
        }
.card-features ul li:nth-child(n+5) {
  display: none; /* Hide all list items from the 5th onward */
}
        /* Card Footer */
        .card-footer {
            margin-top: auto;
            padding-top: 15px;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .price-box {
            display: flex;
            flex-direction: column;
        }
        .price-label { font-size: 0.75em; color: var(--text-muted); text-transform: uppercase; }
        .price-value { font-size: 1.3em; font-weight: 800; color: var(--primary); }
        .price-value sup { font-size: 0.6em; }

        .btn-details {
            background: linear-gradient(to right, #00cab5, #003289);
            color: white;
            text-decoration: none;
            padding: 10px 18px;
            border-radius: 6px;
            font-weight: 700;
            font-size: 0.88em;
            transition: var(--transition);
        }
        .btn-details:hover {
            background-color: var(--primary-dark);
        }

        /* Footer */
        .main-footer {
            background-color: var(--secondary-dark);
            color: white;
            text-align: center;
            padding: 30px 20px;
            margin-top: 60px;
            font-size: 0.9em;
        }

        /* Responsive Breakpoints */
        @media (max-width: 768px) {
            .hero-banner h1 { font-size: 2.1em; }
            .nav-links { display: none; }
            .programs-grid { grid-template-columns: 1fr; }
        }
        :root {
    --primary: #00a896; 
    --secondary: #023e8a; 
    --bg-light: #f4f7f6;
    --text-dark: #333;
    --border: #e0e0e0;
}

/* Structure de la Navbar */
.main-navbar {
    background-color: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.navbar-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Liens du Menu */
.navbar-item a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar-item a:hover {
    color: var(--primary);
}

/* Onglet Actif (Italie) */
.navbar-item.active a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Menu Hamburger Mobile */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.navbar-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Version Responsive Mobile */
@media (max-width: 768px) {
    .navbar-container {
        justify-content: flex-end;
        padding: 15px 20px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        border-top: 1px solid var(--border);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
    }

    /* Affichage du menu déroulant */
    .navbar-menu.open {
        display: flex;
    }

    .navbar-item {
        width: 100%;
        text-align: center;
    }

    .navbar-item a {
        padding: 12px 20px;
        border-bottom: none;
    }

    .navbar-item.active a {
        background-color: var(--bg-light);
        color: var(--primary);
    }
    
    /* Animation du bouton Hamburger en X */
    .navbar-toggle.open span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .navbar-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .navbar-toggle.open span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
}
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Espace le logo, le bouton et le menu */
    padding: 10px 20px;
}

.navbar-logo {
    max-height: 50px; /* Ajustez la hauteur selon votre besoin */
    width: auto;
    display: block;
}
.search-widget-wrapper {
        font-family: Arial, sans-serif;
        margin: -85px auto 40px auto; /* Margin bottom to separate from "programmes disponibles" */
        max-width: 1200px;
    }

    /* Tabs */
    .search-tabs {
        list-style: none;
        padding: 0;
        margin: 0 0 10px 0;
        display: flex;
        gap: 8px;
    }

    .search-tabs li {
        background-color: #f1f2f4;
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 600;
        color: #00234b;
        cursor: pointer;
        border-radius: 4px;
        text-transform: uppercase;
        transition: background 0.3s, color 0.3s;
    }

    .search-tabs li.active {
        background-color: transparent;
        color: #e63946; /* Red color matching the image */
    }

    .search-tabs li:hover:not(.active) {
        background-color: #e2e4e8;
    }

    /* Search Container */
    .search-container {
        background-color: #089ef14a;
        border-radius: 8px;
        padding: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .search-group {
        position: relative;
        flex: 1;
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 4px;
        height: 45px;
        overflow: hidden;
    }

    .search-group.large {
        flex: 1.5; /* Makes the destination input slightly wider */
    }

    .search-group input, 
    .search-group select {
        width: 100%;
        height: 100%;
        border: none;
        padding: 0 40px 0 15px; /* Right padding to make room for icons/arrows */
        font-size: 14px;
        color: #333;
        outline: none;
        background: transparent;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    .search-group select {
        cursor: pointer;
    }

    /* Icons inside inputs */
    .input-icon {
        position: absolute;
        right: 12px;
        color: #888;
        font-size: 16px;
        pointer-events: none;
    }

    .icon-clear {
        position: absolute;
        right: 12px;
        color: #888;
        font-size: 18px;
        cursor: pointer;
        pointer-events: auto;
    }

    /* Select Dropdown Arrow */
    .select-arrow {
        position: absolute;
        right: 15px;
        font-size: 10px;
        pointer-events: none;
        color: #000;
    }

    /* Submit Button */
    .btn-submit-search {
        background-color: #e63946;
        color: #fff;
        border: none;
        height: 45px;
        padding: 0 30px;
        font-weight: bold;
        font-size: 14px;
        border-radius: 4px;
        cursor: pointer;
        text-transform: uppercase;
        transition: background 0.3s;
    }

    .btn-submit-search:hover {
        background-color: #d62839;
    }

    /* Responsive adjustments */
    @media (max-width: 992px) {
        .search-container {
            flex-wrap: wrap;
        }
        .search-group, .btn-submit-search {
            flex: 1 1 100%;
            margin-bottom: 10px;
        }
        .btn-submit-search {
            margin-bottom: 0;
        }
    }