:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #2c5aa0;
    --accent-gold: #f59e0b;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =============================== */
/* HERO SECTION AVEC ANIMATIONS */
/* =============================== */
.hero {
    padding: 140px 20px 100px;
    background: linear-gradient(135deg, 
                rgba(44, 90, 160, 0.9), 
                rgba(30, 58, 138, 0.9)),
                url('image/2.jpg') center/cover no-repeat fixed;
    color: var(--white);
    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" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideDown 1s ease-out;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =============================== */
/* BOUTONS STYLES */
/* =============================== */
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    background: #e6900b;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* =============================== */
/* SECTION TITRES */
/* =============================== */
.section {
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================== */
/* FEATURES GRID AMÉLIORÉ */
/* =============================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* =============================== */
/* STEPS SECTION AVEC ANIMATIONS */
/* =============================== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    z-index: 1;
}

.step {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.step h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.step p {
    color: var(--text-light);
}

/* =============================== */
/* TESTIMONIALS AVEC CAROUSEL */
/* =============================== */
.testimonials-section {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 20px;
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--accent-gold);
    position: absolute;
    top: 10px;
    left: 30px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =============================== */
/* STATISTIQUES */
/* =============================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 80px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =============================== */
/* NEWSLETTER */
/* =============================== */
.newsletter {
    background: var(--white);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: -50px auto 0;
    position: relative;
    z-index: 3;
    text-align: center;
}

.newsletter h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.newsletter p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--primary-blue);
}

/* =============================== */
/* RESPONSIVE DESIGN */
/* =============================== */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 20px 80px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .feature-card, .step, .testimonial-card {
        padding: 30px 20px;
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.floating-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 15%;
    animation-delay: 4s;
}


/* Footer */
footer {
    background: #1e3a8a;
    color: white;
    padding: 60px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}


    .social-links {
      margin-bottom: 20px;
    }

    .social-links a {
      color: var(--white);
      font-size: 1.5rem;
      margin: 0 15px;
      transition: all 0.3s ease;
    }

    .social-links a:hover {
      color: var(--accent-gold);
      transform: translateY(-3px);
    }

.copyright {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



/* tete Styles */
header {
    background: #ffffff;
    color: #1e3a8a;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo i {
    margin-right: 10px;
    color: #f59e0b; /* or doré accent */
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #f59e0b;
}

nav ul li a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-outline {
    border: 2px solid #1e3a8a;
    color: #1e3a8a;
}

.btn-outline:hover {
    background: #1e3a8a;
    color: white;
}

.btn-primary {
    background: #f59e0b;
    color: #fff;
    border: 2px solid #f59e0b;
}

.btn-primary:hover {
    background: transparent;
    color: #f59e0b;
}





/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin: 1rem 0;
    }

    nav ul li {
        margin: 0 0.5rem;
    }

     
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



/* tete Styles */
header {
    background: #ffffff;
    color: #1e3a8a;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo i {
    margin-right: 10px;
    color: #f59e0b; /* or doré accent */
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #f59e0b;
}

nav ul li a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-outline {
    border: 2px solid #1e3a8a;
    color: #1e3a8a;
}

.btn-outline:hover {
    background: #1e3a8a;
    color: white;
}

.btn-primary {
    background: #f59e0b;
    color: #fff;
    border: 2px solid #f59e0b;
}

.btn-primary:hover {
    background: transparent;
    color: #f59e0b;
}





/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin: 1rem 0;
    }

    nav ul li {
        margin: 0 0.5rem;
    }

     
}



 

    /* page evenement HERO */
    .hero-evenement {
      padding: 150px 20px 120px;
      background: linear-gradient(135deg, rgba(44, 90, 160, 0.85), rgba(30, 58, 138, 0.85)),
                  url('image/evenement-bg.jpg') center/cover no-repeat;
      color: var(--white);
      text-align: center;
      background-attachment: fixed;
      position: relative;
    }

    .hero-evenement h1 {
      font-size: 3.2rem;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .hero-evenement p {
      font-size: 1.2rem;
      opacity: 0.95;
      max-width: 700px;
      margin: 0 auto;
    }

    /* LISTE DES ÉVÉNEMENTS */
    .events-section {
      padding: 100px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title h2 {
      font-size: 2.5rem;
      color: var(--primary-blue);
      margin-bottom: 10px;
      position: relative;
      display: inline-block;
    }

    .section-title h2::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--accent-gold);
      border-radius: 2px;
    }

    .section-title p {
      color: var(--text-light);
      font-size: 1.1rem;
      margin-top: 10px;
    }

    .events-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 40px;
    }

    .event-card {
      background: var(--white);
      border-radius: 18px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.08);
      overflow: hidden;
      transition: all 0.3s ease;
      position: relative;
    }

    .event-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

    .event-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .event-content {
      padding: 30px;
      text-align: center;
    }

    .event-content h3 {
      color: var(--primary-blue);
      font-size: 1.3rem;
      margin-bottom: 10px;
    }

    .event-date {
      display: block;
      font-weight: 600;
      color: var(--secondary-blue);
      margin-bottom: 10px;
    }

    .event-desc {
      font-size: 0.95rem;
      color: var(--text-light);
      margin-bottom: 20px;
      line-height: 1.7;
    }

    .event-btn {
      display: inline-block;
      background: var(--accent-gold);
      color: var(--white);
      padding: 12px 30px;
      border-radius: 30px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(245,158,11,0.3);
    }

    .event-btn:hover {
      background: #e6900b;
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(245,158,11,0.4);
    }

    /* MAP */
    .map-container {
      margin-top: 100px;
      text-align: center;
    }

    .map-container h2 {
      color: var(--primary-blue);
      font-size: 2rem;
      margin-bottom: 30px;
    }

    .map-container iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 15px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .hero-evenement h1 {
        font-size: 2.3rem;
      }

      .hero-evenement p {
        font-size: 1.05rem;
      }

      .events-section {
        padding: 60px 20px;
      }

      .section-title h2 {
        font-size: 2rem;
      }
    }

    @media (max-width: 480px) {
      .hero-evenement {
        padding: 120px 20px 80px;
      }

      .event-content {
        padding: 20px;
      }
    }
  
  
  
