/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: white;
    background-color: #0a1929;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- General Smoother Transitions --- */
a, button, .service-card {
    transition: all 0.3s ease-in-out;
}

/* Conteneur */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    width: 100%;
    background-color: #0a1929;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1010;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    padding-left: 1px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0070f3;
}

.desktop-nav {
    display: none;
}

.desktop-nav a {
    margin: 0 1rem;
    color: white;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: #0070f3;
}

.mobile-menu-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-button svg {
    width: 24px;
    height: 24px;
}

.hidden {
    display: none !important;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 112, 243, 0.2);
    background-color: #0a1929;
    width: 100%;
}

.mobile-nav.active {
    display: flex !important;
}

.mobile-nav a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 112, 243, 0.1);
    color: white;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover {
    color: #0070f3;
    background-color: rgba(0, 112, 243, 0.05);
}

/* Hero Section */
.hero {
    width: 100%;
    background: linear-gradient(to bottom, #0a1929, #0c223a);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: #0070f3;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e0;
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #0070f3;
}

.btn {
    display: inline-block;
    background-color: #0070f3;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 112, 243, 0.3);
}

.bounce {
    display: inline-block;
    margin-top: 4rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Services Section */
.services-section {
    width: 100%;
    background-color: #0a1929;
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 4rem;
    text-align: center;
}

.section-title span {
    color: #0070f3;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background-color: #0c223a;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 112, 243, 0.25);
    border-color: rgba(0, 112, 243, 0.5);
}

.service-icon {
    color: #0070f3;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: #cbd5e0;
}

/* Footer */
footer {
    background-color: #0a1929;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #0070f3;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-title {
    font-size: 1.25rem !important;
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.footer-contact-info {
    margin-bottom: 0.5rem !important;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.footer-links li a {
    color: #cbd5e0;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #0070f3;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #cbd5e0;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #0070f3;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 112, 243, 0.2);
}

.footer-bottom p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.scroll-top-btn {
    background-color: #0070f3;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 112, 243, 0.3);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-bottom p {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Media Queries */
@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-menu-button {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1524px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* About Section */
.about-section {
    width: 100%;
    background-color: #0c223a;
    padding: 5rem 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-card {
    width: 100%;
}

.about-card-inner {
    background-color: #0a1929;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #0070f3;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-info-item {
    display: flex;
    align-items: flex-start;
}

.about-icon {
    color: #0070f3;
    margin-right: 1rem;
    flex-shrink: 0;
}

.about-info-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about-info-content p {
    color: #cbd5e0;
}

.about-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-description p {
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.about-description p:last-child {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .about-content {
        flex-direction: row;
        align-items: stretch;
    }
    
    .about-card, 
    .about-description {
        width: 50%;
    }
}

/* Partners Section */
.partners-section {
    width: 100%;
    background-color: #0a1929;
    padding: 5rem 0;
}

.partners-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.partners-icon {
    color: #0070f3;
    margin-bottom: 1rem;
}

.partners-intro p {
    font-size: 1.25rem;
    max-width: 768px;
    color: #cbd5e0;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.partner-card {
    background-color: #0c223a;
    padding: 2rem;
    border-radius: 0.5rem;
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 112, 243, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.partner-card p {
    color: #94a3b8;
    text-align: center;
}

.partners-cta {
    text-align: center;
}

.partners-cta p {
    color: #cbd5e0;
}

.partners-cta a {
    color: #0070f3;
    transition: all 0.3s ease;
}

.partners-cta a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Section */
.contact-section {
    width: 100%;
    background-color: #0c223a;
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    color: #0070f3;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #cbd5e0;
    margin-bottom: 0.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #0a1929;
    border: 1px solid rgba(0, 112, 243, 0.3);
    border-radius: 0.375rem;
    color: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0070f3;
}

@media (min-width: 992px) {
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: #25D366;
    color: white;
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    animation: bounce 2s infinite;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Events Section */
.events-section {
    width: 100%;
    background-color: #0c223a;
    padding: 5rem 0;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 9999px;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.event-card {
    background-color: #0a1929;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 112, 243, 0.2);
}

.event-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    color: #cbd5e0;
    font-size: 0.875rem;
}

.event-meta-item svg {
    color: #0070f3;
    margin-right: 0.5rem;
}

.event-description {
    color: #cbd5e0;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-button {
    display: inline-block;
    background-color: #0070f3;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.event-button:hover {
    background-color: #0056b3;
}

.event-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-location {
    display: flex;
    align-items: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

.event-location svg {
    margin-right: 0.5rem;
    color: #0070f3;
}

.event-link {
    color: #0070f3;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.event-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.no-events {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    color: #cbd5e0;
}

.no-events svg {
    color: #0070f3;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Page Banner */
.page-banner {
    width: 100%;
    background: linear-gradient(to bottom, #0a1929, #0c223a);
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-title span {
    color: #0070f3;
}

.page-description {
    font-size: 1.125rem;
    color: #cbd5e0;
    max-width: 768px;
    margin: 0 auto;
}

/* Events Page Section */
.events-page-section {
    width: 100%;
    background-color: #0a1929;
    padding: 4rem 0;
}

.event-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #0070f3;
    padding: 0.5rem;
    border-radius: 0.25rem;
    text-align: center;
    min-width: 60px;
}

.event-date .day {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
}

/* Event Detail Page */
.event-detail-section {
    width: 100%;
    background-color: #0a1929;
    padding: 4rem 0;
}

.event-detail-back {
    margin-bottom: 2rem;
}

.event-back-link {
    display: inline-flex;
    align-items: center;
    color: #0070f3;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.event-back-link:hover {
    text-decoration: underline;
}

.event-back-link svg {
    margin-right: 0.5rem;
}

.event-detail-card {
    background-color: #0c223a;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.event-detail-image {
    width: 100%;
    height: 24rem;
    overflow: hidden;
}

.event-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-detail-content {
    padding: 2rem;
}

.event-detail-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.event-detail-description p {
    color: #cbd5e0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-gallery {
    margin-top: 3rem;
}

.event-gallery-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.event-gallery-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.event-not-found {
    text-align: center;
    padding: 3rem 0;
}

.event-not-found h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.event-not-found p {
    color: #cbd5e0;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .event-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
