* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}


img{
    width: 100%;
    border-radius : 10px;
}



.container {
    width: 90%;
    margin: 0 auto;
    padding: 0;
}

/* Header */
header {
    background: #004291;
    color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 66, 145, 0.2);
}

.header-content {
    text-align: center;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Navigation */
nav {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #004291;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: #004291;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 66, 145, 0.3);
}

/* Main Content */
main {
    padding: 4rem 0;
}

.section {
    margin: 4rem 0 4rem 0;
    background: white;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 66, 145, 0.1);
}

.section h2 {
    color: #004291;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #004291, #002557);
    margin: 1rem auto;
    border-radius: 2px;
}





p {
    font-size: 1rem;
}




.tag {
    background: #004291;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.activity-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}



/* Contact Form */
.form-container {
    background: #004291;
    color: white;
    border-radius: 8px;
    padding: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #004291;
    box-shadow: 0 0 0 3px rgba(0, 66, 145, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: white;
    color: #004291;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

@media (min-width: 768px) {
    .btn-submit {
        width: auto;
        min-width: 200px;
    }
}

.btn-submit:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Footer */
footer {
    background: #002557;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive - Formulaire mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .nav-container {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        gap: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-control {
        padding: 0.75rem;
        font-size: 16px;
        /* Évite le zoom sur iOS */
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

}

/* Scroll animations */
.section {
    opacity: 1;
}


.event-card {
    background: white;
    border: 2px solid #004291;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}



.activity-card {
    background: white;
    border: 2px solid #004291;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.card-header {
    background-color: #004291;
    color: white;
    padding: 20px;
    cursor: pointer;
}

.card-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title h3 {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-title p {
    margin-top: 5px;
    opacity: 0.9;
    font-size: 1rem;
}

.expand-icon {
    font-size: 1.5rem;
    font-weight: bold;
    width: 30px;
    text-align: center;
}

.card-content {
    max-height: 0;
    overflow: hidden;
}

.activity-card.active .card-content {
    max-height: none;
    overflow: visible;
}

.content-inner {
    padding: 30px;
    background-color: #f8f9ff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #004291;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #004291;
    margin-bottom: 15px;
}

.info-text {
    color: #555;
    margin-bottom: 8px;
}

.info-text strong {
    color: #004291;
    font-weight: 600;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background-color: #004291;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.program-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.program-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #004291;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f4ff;
    padding-bottom: 10px;
}

.program-list {
    list-style: none;
    padding: 0;
}

.program-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f4ff;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.program-list li:last-child {
    border-bottom: none;
}

.program-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #004291;
    font-weight: bold;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Responsive */
@media (max-width: 768px) {
    .activities-container {
        padding: 40px 15px;
    }

    .main-title {
        font-size: 2rem;
    }

    .card-header {
        padding: 15px;
    }

    .card-title h3 {
        font-size: 1.3rem;
    }

    .content-inner {
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
    }
}