:root {
    /* Nouvelle palette de couleurs */
    --primary-color: #2563eb;  /* Bleu vif plus moderne */
    --primary-dark: #1d4ed8;
    --secondary-color: #3b82f6; /* Bleu plus clair */
    --accent-color: #f97316;   /* Orange vif */
    --accent-light: #fb923c;   /* Orange clair */
    --text-color: #1e293b;     /* Gris foncé */
    --text-light: #64748b;     /* Gris moyen */
    --light-gray: #f8fafc;     /* Fond très clair */
    --medium-gray: #e2e8f0;
    --dark-gray: #0f172a;      /* Noir bleuté */
    --white: #ffffff;
    --black: #000000;
    
    /* Polices */
    --font-primary: 'Inter', sans-serif; /* Plus moderne que Poppins */
    --font-secondary: 'Manrope', sans-serif; /* Alternative à Montserrat */
    
    /* Effets */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Animation plus fluide */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    /* Bordures */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    
    /* Dégradés */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
}

/* Import des polices modernes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-gray);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 2px;
    background: var(--gradient-accent);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-secondary);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary::before {
    background: var(--gradient-primary);
    opacity: 1;
}

.btn-primary:hover::before {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.25rem 0;
    position: relative;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.btn-link:hover::after {
    width: 100%;
}

.btn-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.btn-link:hover i {
    transform: translateX(4px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo img {
    height: 42px;
    margin-right: 0.75rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    color: var(--text-color);
    font-size: 1.05rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: 3rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 10%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-media video,
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-color);
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, var(--primary-color), var(--dark-gray));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--primary-color);
    cursor: pointer;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-bottom: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
    transform: rotate(45deg);
    margin: -12px;
    animation: scrollAnimation 2s infinite;
    opacity: 0.7;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: -0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: -0.4s;
}

/* About Section */
.about-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0.1;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: var(--radius-lg);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Services Section */
.services-section {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Gallery Section */
.gallery-preview {
    margin: 0 -0.5rem;
}

.gallerySwiper {
    padding: 1rem 0.5rem;
    overflow: visible;
}

.swiper-slide {
    height: auto;
    transition: var(--transition);
    transform-origin: center bottom;
}

.swiper-slide-active {
    transform: scale(1.05);
    z-index: 1;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    transform: translateY(20px);
}

.swiper-slide:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.swiper-slide:hover img {
    transform: scale(1.03);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--dark-gray);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0.1;
    z-index: 0;
}

.testimonialsSwiper {
    padding: 3rem 0;
    overflow: hidden;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid var(--accent-color);
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2.75rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Contact Page */
.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.contact-form:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    transition: var(--transition);
    background-color: var(--light-gray);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: var(--white);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.form-submit {
    margin-top: 2.5rem;
}

.error-message {
    display: block;
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 0.5rem;
    font-weight: 500;
}

.alert {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
    border: 1px solid transparent;
}

.alert i {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.info-card ul {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.info-card i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.info-card a:hover {
    color: var(--primary-color);
}

.map-container {
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--medium-gray);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Formations Page */
.formations-hero {
    display: flex;
    align-items: center;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('/assets/images/formations/hero.jpg') no-repeat center center/cover;
    position: relative;
}

.programs-tabs {
    margin-top: 4rem;
}

.tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.tab-btn {
    padding: 0.875rem 2rem;
    background-color: transparent;
    border: none;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    border: 1px solid var(--medium-gray);
}

.tab-btn.active {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.tab-btn:hover:not(.active) {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.program-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.program-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.program-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 1;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-image:hover img {
    transform: scale(1.05);
}

.program-highlights {
    margin: 2rem 0;
}

.program-highlights h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.program-highlights h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.program-highlights ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.program-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.program-highlights i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.program-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--light-gray);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.meta-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.meta-content span:first-child {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.meta-content span:last-child {
    font-size: 0.9rem;
    color: var(--text-light);
}

.program-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Timeline */
.timeline-section {
    background-color: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 3rem);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 3rem);
}

.timeline-marker {
    position: absolute;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: calc(50% - 14px);
}

.timeline-item:nth-child(even) .timeline-marker {
    left: calc(50% - 14px);
}

.timeline-content {
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Instructors */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.instructor-card {
    display: flex;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    position: relative;
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.instructor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

.instructor-image {
    width: 140px;
    flex-shrink: 0;
    position: relative;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-social {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.instructor-social a {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.instructor-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.instructor-info {
    padding: 2rem;
    flex: 1;
}

.instructor-title {
    display: block;
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.instructor-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.instructor-bio {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.instructor-expertise {
    margin-top: 1.5rem;
}

.instructor-expertise h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags span {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: var(--light-gray);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid var(--medium-gray);
}

/* Gallery Page */
.gallery-hero {
    display: flex;
    align-items: center;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('/assets/images/gallery/hero.jpg') no-repeat center center/cover;
    position: relative;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.75rem;
    background-color: transparent;
    border: 1px solid var(--medium-gray);
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.filter-btn:hover:not(.active) {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-item {
    transition: var(--transition);
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    position: relative;
}

.gallery-card:hover {
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--white);
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(20px);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.view-gallery {
    align-self: flex-start;
}

.gallery-info {
    padding: 1.75rem;
}

.gallery-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.gallery-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 2rem 0;
}

.project-modal.active {
    display: block;
    opacity: 1;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.4);
    transform: rotate(90deg);
}

.modal-content {
    padding: 3rem;
}

.modal-header {
    margin-bottom: 3rem;
}

.modal-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--text-light);
}

.modal-subtitle span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-subtitle i {
    color: var(--accent-color);
}

.project-gallery {
    margin-bottom: 3rem;
}

.projectSwiper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.projectSwiper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.project-description h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.75rem;
}

.project-description h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 4px;
}

.project-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-features {
    margin: 2rem 0;
}

.project-features h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.project-features ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--light-gray);
    border-radius: var(--radius-sm);
    border: 1px solid var(--medium-gray);
}

.project-features i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.project-testimonial {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: var(--radius-lg);
    border: 1px solid var(--medium-gray);
    position: relative;
}

.project-testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: rgba(37, 99, 235, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid var(--accent-color);
}

.testimonial-author div span:first-child {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.testimonial-author div span:last-child {
    font-size: 0.9rem;
    color: var(--text-light);
}

.project-meta {
    background-color: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--medium-gray);
    height: fit-content;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.meta-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.meta-content h5 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.meta-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--gradient-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col:first-child {
    max-width: 320px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    padding-bottom: 1rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col li {
    opacity: 0.8;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-col li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: block;
}

.footer-col li:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Animations */
@keyframes scrollAnimation {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-15px, -15px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(15px, 15px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Effets de fluidité */
.parallax-element {
    transition: transform 0.1s linear;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .about-grid,
    .contact-grid,
    .program-details,
    .project-details {
        grid-template-columns: 1fr;
    }
    
    .program-image {
        height: 400px;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: calc(2rem + 24px);
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        gap: 1.5rem;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 1.5rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .instructor-card {
        flex-direction: column;
    }
    
    .instructor-image {
        width: 100%;
        height: 250px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .project-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}