:root {
    /* Colors */
    --primary-color: #06486e;
    /* Travel Pro Blue */
    --primary-dark: #04324d;
    --secondary-color: #24b35a;
    /* Travel Pro Green */
    --accent-color: #0066CC;
    /* Bright Blue */
    --text-dark: #1A1A1A;
    --text-gray: #4A4A4A;
    --text-light: #F4F4F4;
    --bg-white: #FFFFFF;
    --bg-off-white: #F9FAFB;
    --bg-light-gray: #E5E7EB;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-padding: 2rem;
    --section-spacing: 5rem;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
div[role="button"]:focus-visible,
.indicator:focus-visible,
.mobile-toggle:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
    /* Optional for aesthetics */
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    z-index: 9999;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 8px 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-spacing) 0;
}

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

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-medium);
    border: 2px solid transparent;
    text-transform: capitalize;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    /* Force color for header contrast */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(6, 72, 110, 0.2);
}

/* Header Button Specifics */
.nav-links .btn-primary {
    color: white !important;
    /* Force white text to override .nav-links a */
    border-color: var(--primary-color);
}

.nav-links .btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(6, 72, 110, 0.2);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(6, 72, 110, 0.2);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    /* More transparent for glass effect */
    backdrop-filter: blur(15px);
    /* Stronger blur */
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 1.3rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    white-space: nowrap;
}

/* Exclude buttons and language toggle from nav underline */
.nav-links a:not(.btn):not(.lang-toggle)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition-medium);
}

.nav-links a:not(.btn):not(.lang-toggle):hover::after,
.nav-links a:not(.btn):not(.lang-toggle).active::after {
    width: 100%;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    padding: 10px 0;
    /* Increase hit area */
}

.lang-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 160px;
    display: none;
    flex-direction: column;
    z-index: 1001;
    margin-top: 0.5rem;
}

.lang-dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: transparent;
}

.lang-dropdown:hover .dropdown-menu {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--bg-off-white);
    color: var(--primary-color);
}

.dropdown-menu a::after {
    display: none;
    /* Remove underline effect */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}


.lang-toggle .flag-icon {
    margin-right: 5px;
}

.dropdown-menu .flag-icon {
    margin-right: 8px;
}

/* Responsive adjustments for mid-sized screens (e.g. large tablets/small laptops) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .nav-links .btn {
        padding: 5px 15px !important;
        /* Override inline styles to save space */
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.3rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        /* Changed via JS */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        padding: 0.5rem;
        color: var(--primary-color);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .mobile-toggle:focus-visible {
        outline: 3px solid var(--accent-color);
        outline-offset: 2px;
        border-radius: 4px;
    }

    .nav-container nav {
        position: absolute;
        width: 100%;
        left: 0;
        top: 0;
    }

    :root {
        --section-spacing: 3rem;
    }
}

/* Home Page Sections */
.hero-section {
    height: 90vh;
    min-height: 600px;
    /* Background managed by slider */
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin-top: var(--header-height);
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 72, 110, 0.9) 0%, rgba(6, 72, 110, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-content .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-content .btn-primary:hover {
    color: white !important;
    border-color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Bar */
.trust-bar {
    background-color: var(--bg-white);
    padding: 3rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    margin-top: -3rem;
    /* Overlap hero */
    border-radius: 8px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 2rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s;
}

.trust-item:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.trust-item div {
    display: flex;
    flex-direction: column;
}

/* Core Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pillar-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.pillar-content {
    padding: 2rem;
}

.pillar-content h3 {
    margin-bottom: 1rem;
}

.learn-more {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.learn-more:hover {
    color: var(--secondary-color);
}

/* Network Section */
.network-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Footer Grid */


@media (max-width: 1024px) {

    .network-content,
    .footer-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .trust-bar {
        margin-top: 0;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Subpage Hero */
.page-hero {
    height: 60vh;
    min-height: 550px;
    /* Increased min-height to ensure space */
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 1rem;
    /* Ensure text doesn't touch sides */
}

.page-hero.large {
    height: 60vh;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 var(--container-padding);
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styling */
input,
select {
    transition: border-color var(--transition-fast);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(6, 72, 110, 0.1);
}

/* Language Grid */
.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--bg-off-white);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.lang-item:hover {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.lang-item img {
    width: 24px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .page-hero-content h1 {
        font-size: 2.25rem;
    }

    .section {
        padding: 3rem 0;
    }
}

/* Responsive Grid Utilities */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

@media (max-width: 1024px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-auto-fit {
        gap: 2rem;
    }
}

.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

@media (max-width: 600px) {
    .grid-4-cols {
        grid-template-columns: 1fr;
    }
}

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

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

@media (max-width: 768px) {
    .grid-3-cols {
        grid-template-columns: 1fr;
    }
}

/* Team Carousel */
.team-section {
    background-color: var(--bg-off-white);
    padding: var(--section-spacing) 0;
}

.carousel-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    scrollbar-width: none;
    /* Firefox */
}

/* Custom DMC Responsive Utilities */
.stats-flex {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.composition-container {
    position: relative;
    height: 550px;
}

@media (max-width: 600px) {
    .stats-flex {
        gap: 2rem;
    }

    .image-grid-2 {
        grid-template-columns: 1fr;
    }

    .composition-container {
        height: 400px;
    }
}

.floating-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    z-index: 2;
}

.floating-badge span {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .floating-badge {
        width: 90%;
        justify-content: center;
        white-space: normal;
        text-align: center;
        padding: 0.5rem 1rem;
    }

    .floating-badge span {
        font-size: 0.85rem;
    }
}

.team-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Main styling for the Swiper container to prevent shadow clipping */
.team-swiper {
    padding: 20px !important;
    /* Allow shadow to be visible */
    margin: -20px !important;
    /* Compensate for padding */
}

.team-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    /* Stronger shadow and border for better delimitation */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
    transition: transform var(--transition-medium);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.team-img {
    height: 320px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    /* Ensure no negative margin pulls it up */
    margin-top: 0 !important;
    display: block;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.team-info p {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.control-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: white;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-arrow.prev {
    left: 2rem;
}

.slider-arrow.next {
    right: 2rem;
}

/* Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .slider-arrow.prev {
        left: 1rem;
    }

    .slider-arrow.next {
        right: 1rem;
    }

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

.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.slg-link img {
    opacity: 0.8;
    transition: var(--transition-fast);
    display: block;
}

.slg-link:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Team Carousel Touch Support */
.team-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 2rem 0;
    scrollbar-width: none;
    cursor: grab;
    /* Show grab cursor */
    user-select: none;
    /* Prevent text selection while dragging */
}

.team-carousel.active {
    cursor: grabbing;
    /* Show grabbing cursor when active */
    scroll-snap-type: none;
    /* Disable snap while dragging for smoothness */
    scroll-behavior: auto;
    /* Disable smooth scroll while dragging */
}

.team-carousel::-webkit-scrollbar {
    display: none;
}

.team-card {
    height: auto;
    /* Ensure equal height */
    width: 280px;
    /* Fixed width for better centering on mobile */
    /* Remove flex: 0 0 300px as it conflicts with Swiper */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

@media (min-width: 1025px) {
    .team-card {
        width: 100%;
        /* On larger screens, let Swiper grid handle it */
    }
}

.team-card:hover {
    transform: translateY(-10px);
}

/* --- Partners Section (Deep Clone of travel-pro.lu) --- */
/* Partners Section (Exact Clone) */
.partners-section {
    background-color: #E9F5FD;
    /* Very light blue */
    padding: 3rem 0;
    overflow: hidden;
    /* For edge bleeding */
}

.partners-section .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: max(2rem, calc((100% - 1200px) / 2));
    /* Start text aligned with standard container */
    padding-right: 0;
    /* Let slider bleed out */
}

.partners-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    /* Standard gap */
}

.partners-text {
    flex: 0 0 auto;
    width: 300px;
    /* Fixed width for text area */
    position: relative;
    padding-right: 2rem;
}

/* Vertical divider line */
.partners-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(5, 44, 70, 0.2);
}

.partners-text h2 {
    font-size: 28px;
    color: #052C46;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    /* Fallback to Outfit, resembles Futura */
    line-height: 1.2;
}

.partners-text p {
    font-size: 16px;
    color: #052C46;
    font-family: var(--font-body);
    font-weight: 400;
}

.partners-wrapper {
    flex: 1;
    min-width: 0;
    /* Prevent flex overflow issues */
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 100%);
}

.partner-slide {
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    /* Standardize loading height */
}

.partner-logo {
    max-height: 40px;
    width: auto;
    filter: none;
    transition: transform 0.3s ease;
}

/* Continuous Linear Scroll Override */
.partners-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

@media (max-width: 992px) {
    .partners-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .partners-text {
        width: 100%;
        padding-right: 0;
        margin-bottom: 1rem;
        padding-right: 2rem;
        /* Keep container padding on right for mobile */
    }

    .partners-text::after {
        display: none;
    }

    .partners-section .container-fluid {
        padding-right: 0;
    }
}

/* Detailed Services Section */
.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(6, 72, 110, 0.2);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: var(--bg-off-white);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Grid Utility */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Swiper Overlay Fix */
.carousel-container {
    overflow: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .images-container {
        height: 400px !important;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Legal Content Styling */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-light-gray);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.legal-content p,
.legal-content li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.legal-content ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
}

/* Table Styling */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    font-size: 0.95rem;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--bg-light-gray);
}

.table th {
    background-color: var(--bg-off-white);
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Bordered Table */
.table-bordered th,
.table-bordered td {
    border: 1px solid var(--bg-light-gray);
    /* Explicit borders as requested */
    border-color: #d1d5db;
    /* Slightly darker for visibility */
}


/* Legal Notice Cards */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.legal-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--bg-light-gray);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

/* Main Icon (Top of Card) */
.legal-card>i {
    display: block;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.legal-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* List Icons (Inside ul/li) */
.legal-card li i {
    font-size: 1rem !important;
    /* Override inline styles if any or previous defaults */
    width: 24px !important;
    text-align: center;
    margin-right: 10px;
    margin-bottom: 0;
    color: var(--primary-color);
    vertical-align: middle;
}

.legal-card li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.legal-highlight {
    background-color: var(--bg-off-white);
    border-left: 4px solid var(--secondary-color);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 4px 4px 0;
}