/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, #FAFAF8 0%, #F8FAFC 100%);
    font-weight: 400;
    letter-spacing: -0.01em;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

/* Variables CSS */
:root {
    --primary-color: #0B3D5C;
    --secondary-color: #395B73;
    --accent-color: #1D4ED8;
    --background-color: #FAFAF8;
    --surface-color: #F2F4F6;
    --text-color: #1F2937;
    --muted-text: #6B7280;
    --border-color: #E5E7EB;
    --gradient-primary: linear-gradient(135deg, #0B3D5C 0%, #395B73 50%, #1D4ED8 100%);
    --gradient-secondary: linear-gradient(45deg, #1D4ED8 0%, #3B82F6 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Boutons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    filter: brightness(1.1);
}

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

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

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    filter: brightness(1.1);
}

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

.btn-accept {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-light);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: #1E40AF;
}

/* Header et Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand h1 {
    font-size: 1.5rem;
    margin: 0;
}

.brand-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.brand-link:hover {
    color: var(--accent-color);
}

.brand-icon {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background-color: rgba(29, 78, 216, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="%23ffffff" opacity="0.1"/></svg>');
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: slideInDown 1s ease-out;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease-out 0.3s both;
}

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

.hero-image {
   
animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.hero-illustration:hover {
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-surface {
    background-color: var(--surface-color);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-icon {
    flex-shrink: 0;
}

.mission-intro,
.programme-intro,
.cours-intro,
.seminaires-intro,
.evaluation-intro,
.calendar-intro,
.testimonials-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--muted-text);
}

/* Mission Section */
.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.05;
    transition: var(--transition-slow);
}

.value-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.value-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.value-item:hover::before {
    left: 100%;
}

.value-item:hover::after {
    opacity: 1;
}

.value-item svg {
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
    filter: drop-shadow(0 4px 8px rgba(29, 78, 216, 0.2));
}

.value-item:hover svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(29, 78, 216, 0.3));
}

.value-item h3 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

/* Ensure text readability during animations */
.animate-prepare .value-item h3,
.animate-prepare .value-item p {
    color: var(--text-color);
}

.animate-in .value-item h3 {
    color: var(--primary-color);
}

.animate-in .value-item p {
    color: var(--text-color);
}

/* Programme Section */
.programmes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.programme-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.programme-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(29, 78, 216, 0.1), transparent);
    opacity: 0;
    transition: all 0.6s ease;
    animation: rotate 3s linear infinite;
}

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

.programme-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.programme-card:hover::before {
    opacity: 1;
}

.programme-card.featured {
    border: 3px solid var(--accent-color);
    transform: scale(1.05);
}

.programme-card.featured::before {
    content: "Populaire";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.programme-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.programme-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

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

/* Cours Section */
.cours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cours-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cours-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, transparent, rgba(29, 78, 216, 0.05), transparent);
    transition: right 0.6s;
}

.cours-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left-width: 6px;
}

.cours-item:hover::after {
    right: 100%;
}

.cours-item svg {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.cours-item:hover svg {
    transform: rotate(5deg) scale(1.1);
}

.cours-details {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cours-details span {
    background: var(--surface-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Séminaires Section */
.seminaires-list {
    margin-top: 2rem;
}

.seminaire-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.seminaire-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-heavy);
}

.seminaire-item:hover svg {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(29, 78, 216, 0.3));
}

.seminaire-content {
    flex: 1;
}

.seminaire-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.seminaire-meta span {
    background: var(--surface-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.date {
    color: var(--accent-color);
    font-weight: 600;
}

/* Évaluation Section */
.evaluation-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature svg {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature:hover svg {
    transform: scale(1.2) rotate(10deg);
}

.feature-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-details span {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Calendrier Section */
.calendar-events {
    margin-top: 2rem;
}

.event {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    gap: 1.5rem;
}

.event:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-heavy);
}

.event:hover svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(29, 78, 216, 0.25));
}

.event-date {
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: bold;
}

.event-date .month {
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-info svg {
    margin-bottom: 0.5rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.event-meta span {
    background: var(--surface-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(29, 78, 216, 0.05), transparent);
    opacity: 0;
    transition: var(--transition-slow);
    animation: rotate 4s linear infinite;
}

.testimonial-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.testimonial-item:hover::before {
    opacity: 1;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
    left: -20px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    box-shadow: var(--shadow-light);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.avatar-image:hover {
    transform: scale(1.1);
}

.author-info h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.author-info span {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-item {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--surface-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item svg {
    flex-shrink: 0;
}

/* Formulaires */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1), var(--shadow-medium);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-medium);
}

/* Contact Form Specific Styling */
#contact-form {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

#contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

#contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

#contact-form .btn-primary {
    width: 100%;
    margin-top: 1rem;
    padding: 16px;
    font-size: 1.1rem;
}

.error-message {
    color: #DC2626;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--muted-text);
}

.close:hover {
    color: var(--text-color);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    color: #1F2937;
    padding: 1rem;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #1E40AF;
    z-index: 1500;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-link {
    color: #1E40AF;
    text-decoration: underline;
}

.btn-accept {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #fff;
}

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

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}
.footer-bottom p{
    color: #ffff;
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 934px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-content p {
        font-size: 1rem;
    }

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

    .programme-card.featured {
        transform: none;
    }

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

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

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

    .event-date {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

/* Animation Classes */
.animate-prepare {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.section-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.icon-prepare {
    opacity: 0.7;
    transform: scale(0.8) rotate(-10deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-animate {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Staggered Animation */
.animate-prepare:nth-child(1) { transition-delay: 0.1s; }
.animate-prepare:nth-child(2) { transition-delay: 0.2s; }
.animate-prepare:nth-child(3) { transition-delay: 0.3s; }
.animate-prepare:nth-child(4) { transition-delay: 0.4s; }
.animate-prepare:nth-child(5) { transition-delay: 0.5s; }
.animate-prepare:nth-child(6) { transition-delay: 0.6s; }

/* Pulse Animation for Icons */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.icon-animate:hover {
    animation: pulse 2s infinite;
}

/* Glow Effect */
@keyframes glow {
    0%, 100% { box-shadow: var(--shadow-light); }
    50% { box-shadow: 0 0 30px rgba(29, 78, 216, 0.3), var(--shadow-medium); }
}

.animate-in:hover {
    animation: glow 3s ease-in-out infinite;
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .nav-brand h1 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .programme-card {
        padding: 1.5rem;
    }

    .section {
        padding: 40px 0;
    }

    /* Mobile Animation Adjustments */
    .animate-prepare {
        transform: translateY(30px) scale(0.98);
    }
}