/* ===========================
   Reset and Base Styles
   =========================== */

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

:root {
    /* Colors */
    --primary-color: #2c5aa0;
    --primary-dark: #1e3f75;
    --secondary-color: #e74c3c;
    --accent-color: #27ae60;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    
    /* Typography */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

/* ===========================
   Header & Navigation
   =========================== */

.header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8rem var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.nav-menu-left,
.nav-menu-right {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    flex: 1;
}

.nav-menu-left {
    justify-content: flex-start;
}

.nav-menu-right {
    justify-content: flex-end;
}

.logo-center {
    text-decoration: none;
    display: block;
    transition: var(--transition-fast);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.logo-center:hover {
    transform: translateX(-50%) translateY(-2px);
}

.logo-image {
    height: 300px;
    width: auto;
    display: block;
    transition: var(--transition-fast);
}

.logo {
    text-decoration: none;
    display: block;
    transition: var(--transition-fast);
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-city {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo-slogan {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a,
.nav-menu-left a,
.nav-menu-right a {
    color: var(--primary-color);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu-left a:hover,
.nav-menu-left a.active,
.nav-menu-right a:hover,
.nav-menu-right a.active {
    color: var(--bg-white);
    background: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-title .highlight {
    color: #ffd700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--bg-white);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background: #c0392b;
    border-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

/* ===========================
   Sections
   =========================== */

.about-section,
.priorities-section,
.team-section,
.cta-section,
.contact-section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.about-section {
    background: var(--bg-white);
}

.priorities-section {
    background: var(--bg-light);
}

.team-section {
    background: var(--bg-white);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
}

.contact-section {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    font-size: 2.2rem;
}

.cta-section .section-title {
    color: var(--bg-white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.1rem;
}

.about-content,
.team-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p,
.team-content p {
    margin-bottom: var(--spacing-md);
}

/* ===========================
   Priorities Grid
   =========================== */

.priorities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.priority-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition-normal);
}

.priority-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.priority-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.priority-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

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

/* ===========================
   CTA Text
   =========================== */

.cta-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.cta-text-bold {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Contact Form
   =========================== */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-logo h3 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}

.footer-slogan {
    color: var(--secondary-color) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs) !important;
}

.footer-logo p {
    color: var(--text-light);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--bg-white);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ===========================
   Programme Page
   =========================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.page-header h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.programme-intro {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-white);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.coming-soon-box {
    background: var(--bg-white);
    border-radius: 12px;
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
}

.coming-soon-box h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
}

.coming-soon-box p {
    margin-bottom: var(--spacing-md);
}

.priority-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.priority-list li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.stay-tuned {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.1rem;
}

.programme-sections {
    padding: var(--spacing-md);
    background: var(--bg-light);
}

.programme-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.programme-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.programme-card h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.programme-description {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    line-height: 1.8;
}

.programme-measures h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.programme-measures ul {
    list-style: none;
    padding: 0;
}

.programme-measures li {
    margin-bottom: var(--spacing-md);
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
}

.programme-measures li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.programme-measures strong {
    color: var(--primary-color);
}

/* ===========================
   Liste Page (Team)
   =========================== */

.team-intro-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-white);
}

.team-members-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-light);
}

.team-leader {
    margin-bottom: var(--spacing-xl);
}

.leader-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.member-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
    overflow: hidden;
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.member-photo {
    flex-shrink: 0;
}

.photo-placeholder {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
}

.leader-card .photo-placeholder {
    width: 200px;
    height: 200px;
    margin: 0;
    border-radius: 12px;
}

.initials {
    color: var(--bg-white);
    font-size: 6rem;
    font-weight: bold;
}

.leader-card .initials {
    font-size: 4rem;
}

.member-info {
    flex: 1;
    padding: 0.5rem;
}

.member-name {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.member-expertise {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.member-bio,
.member-bio-short {
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.team-grid .member-card {
    text-align: center;
}

.team-grid .member-card .btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    margin-top: 0.3rem;
}

.clickable-card {
    cursor: pointer;
    position: relative;
}

.clickable-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 90, 160, 0.05);
    opacity: 0;
    transition: var(--transition-fast);
    pointer-events: none;
    border-radius: 12px;
}

.clickable-card:hover::after {
    opacity: 1;
}

.click-info {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: var(--spacing-sm);
    font-style: italic;
}

.team-note {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.values-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.value-card {
    text-align: center;
    padding: var(--spacing-md);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .nav-container-new {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu-left,
    .nav-menu-right {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: var(--spacing-md) 0;
        z-index: 99;
    }

    .nav-menu-left.active,
    .nav-menu-right.active {
        left: 0;
    }

    .nav-menu-right.active {
        top: 200px;
    }

    .logo-center {
        position: relative;
        left: auto;
        transform: none;
        order: -1;
        margin-bottom: var(--spacing-sm);
    }

    .logo-center:hover {
        transform: translateY(-2px);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: var(--spacing-md) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

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

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

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

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

    .leader-card {
        flex-direction: column;
        text-align: center;
    }

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

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

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

/* ===========================
   Animations
   =========================== */

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

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

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

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Hero animation */
.hero-content {
    animation: fadeIn 1s ease-out;
}

.hero-badge {
    animation: slideInRight 0.8s ease-out 0.2s backwards;
}

.hero-title {
    animation: scaleUp 0.8s ease-out 0.4s backwards;
}

.hero-subtitle {
    animation: fadeIn 0.8s ease-out 0.6s backwards;
}

.hero-description {
    animation: fadeIn 0.8s ease-out 0.8s backwards;
}

.hero-buttons {
    animation: fadeIn 0.8s ease-out 1s backwards;
}

/* Cards hover animations */
.priority-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.priority-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 90, 160, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.priority-card:hover::before {
    transform: scale(1);
}

.priority-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.priority-card:hover .priority-icon {
    animation: bounce 0.6s ease;
}

.priority-icon {
    transition: transform 0.3s ease;
}

/* Member cards animations */
.member-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.member-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.3);
}

.member-card:hover .photo-placeholder {
    transform: rotate(5deg) scale(1.1);
}

.photo-placeholder {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-card:hover .member-name {
    color: var(--secondary-color);
}

.member-name {
    transition: color 0.3s ease;
}

/* Button animations */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: translateY(1px);
}

/* Gallery images zoom and lightbox effect */
.gallery-image {
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-image:hover::after {
    opacity: 1;
}

.gallery-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.gallery-image:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Image highlight sections animation */
.image-highlight-row {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-highlight-row.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.image-highlight-image img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-highlight-row:hover .image-highlight-image img {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Value cards hover effect */
.value-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: var(--bg-light);
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.15);
}

.value-card:hover .value-icon {
    animation: pulse 0.8s ease infinite;
}

.value-icon {
    transition: transform 0.3s ease;
}

/* Form inputs animation */
.form-group input,
.form-group textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.2);
}

.form-group label {
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--primary-color);
}

/* Section titles animation */
.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation hover effects */
.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

/* Logo animation */
.logo-text {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-city {
    transform: translateX(5px);
    color: var(--secondary-color);
}

.logo:hover .logo-slogan {
    transform: translateX(5px);
    opacity: 0.8;
}

.logo-city,
.logo-slogan {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer links animation */
.footer-links a {
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    left: -15px;
    opacity: 1;
}

/* Stagger animation for grids */
.priority-card:nth-child(1) { animation: fadeIn 0.6s ease-out 0.1s backwards; }
.priority-card:nth-child(2) { animation: fadeIn 0.6s ease-out 0.2s backwards; }
.priority-card:nth-child(3) { animation: fadeIn 0.6s ease-out 0.3s backwards; }
.priority-card:nth-child(4) { animation: fadeIn 0.6s ease-out 0.4s backwards; }

.gallery-image:nth-child(1) { animation: scaleUp 0.5s ease-out 0.1s backwards; }
.gallery-image:nth-child(2) { animation: scaleUp 0.5s ease-out 0.2s backwards; }
.gallery-image:nth-child(3) { animation: scaleUp 0.5s ease-out 0.3s backwards; }
.gallery-image:nth-child(4) { animation: scaleUp 0.5s ease-out 0.4s backwards; }
.gallery-image:nth-child(5) { animation: scaleUp 0.5s ease-out 0.5s backwards; }
.gallery-image:nth-child(6) { animation: scaleUp 0.5s ease-out 0.6s backwards; }

/* Click effect for clickable cards */
.clickable-card:active {
    transform: scale(0.98);
}

/* RGPD cards animation */
.right-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.right-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.2);
    border-top-width: 6px;
}

/* Programme card hover */
.programme-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.6s ease-out;
}

.programme-card:hover {
    transform: translateX(10px);
    box-shadow: -5px 5px 30px rgba(44, 90, 160, 0.2);
}

.programme-icon {
    transition: all 0.3s ease;
}

.programme-card:hover .programme-icon {
    transform: scale(1.2) rotate(10deg);
}

/* ===========================
   Modal Styles
   =========================== */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-white);
    margin: auto;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Modal content grande version pour les présentations */
.modal-content-large {
    background-color: var(--bg-white);
    margin: auto;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 2rem;
}

/* Photo duo (candidat + Christian Landreau) */
.modal-duo-photo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.duo-photo-placeholder {
    width: 100%;
    max-width: 700px;
    height: 450px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.initials-duo {
    font-size: 8rem;
    color: var(--bg-white);
}

.modal-caption {
    text-align: center;
    padding: 0 1rem;
}

.modal-description {
    padding: 0 2rem;
}

.modal-footer-phrase {
    border-top: 2px solid var(--primary-color);
    margin-top: 2rem;
    padding-top: 1rem;
}

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

.close-modal {
    color: var(--text-dark);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition-fast);
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
}

.close-modal:hover,
.close-modal:focus {
    color: var(--secondary-color);
    background: var(--border-color);
}

.modal-body {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    align-items: flex-start;
}

.modal-photo {
    flex-shrink: 0;
}

.modal-photo img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-photo .photo-placeholder {
    border-radius: 12px;
}

.modal-info {
    flex: 1;
}

.modal-info h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
}

.modal-role {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.modal-expertise {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.modal-bio {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.modal-bio p {
    margin-bottom: var(--spacing-sm);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        padding: var(--spacing-md);
        padding-top: calc(var(--spacing-xl) + 20px);
    }

    .modal-photo img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 35px;
        height: 35px;
    }

    .modal-info h2 {
        font-size: 1.5rem;
    }
}

/* ===========================
   RGPD Page Styles
   =========================== */

.rgpd-content {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-light);
}

.rgpd-intro {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
}

.rgpd-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.update-date {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: var(--spacing-md);
}

.rgpd-section {
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.rgpd-section h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary-color);
    font-size: 1.6rem;
}

.rgpd-section h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.rgpd-list {
    margin-left: var(--spacing-md);
    line-height: 1.9;
}

.rgpd-list li {
    margin-bottom: var(--spacing-sm);
}

.rgpd-list ul {
    margin-top: var(--spacing-xs);
    margin-left: var(--spacing-md);
}

.info-box {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin: var(--spacing-md) 0;
}

.info-box p {
    margin-bottom: var(--spacing-xs);
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.right-card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    transition: var(--transition-normal);
}

.right-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.right-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    margin-top: 0;
}

.right-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.exercise-rights {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-top: var(--spacing-md);
    border-left: 4px solid var(--secondary-color);
}

.exercise-rights p {
    margin-bottom: var(--spacing-xs);
}

/* ===========================
   Image Sections (like reference)
   =========================== */

.image-highlight-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-white);
}

.image-highlight-row {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.image-highlight-row:nth-child(even) {
    flex-direction: row-reverse;
}

.image-highlight-content {
    flex: 1;
}

.image-highlight-content h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
}

.image-highlight-content p {
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.image-highlight-image {
    flex: 1;
    max-width: 500px;
}

.image-highlight-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.highlight-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

/* Image Gallery Grid */
.image-gallery-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-light);
    text-align: center;
}

.image-gallery-title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
}

.image-gallery-subtitle {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    aspect-ratio: 4/3;
}

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: var(--spacing-md);
    font-weight: 600;
}

/* Responsive for image sections */
@media (max-width: 768px) {
    .image-highlight-row,
    .image-highlight-row:nth-child(even) {
        flex-direction: column;
    }

    .image-highlight-image {
        max-width: 100%;
    }

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

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

/* ===========================
   Image Lightbox
   =========================== */

.image-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.image-lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-lightbox img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleUp 0.4s ease;
}

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

.lightbox-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 20px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav {
        font-size: 2rem;
        padding: 10px 15px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .image-lightbox img {
        max-width: 95%;
        max-height: 70vh;
    }
}

/* ===========================
   Ripple Effect
   =========================== */

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===========================
   Loading Spinner (optional)
   =========================== */

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   Smooth Transitions for All Interactive Elements
   =========================== */

a, button, input, textarea, select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   Coming Soon Section
   =========================== */

.coming-soon-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-white);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-title {
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: bold;
}

/* ===========================
   Utility Classes
   =========================== */

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

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

