:root {
    --bg-color: #f8f9fa;
    --text-color: #a30c0c;
    --primary-color: #a30c0c;
    --primary-color-rgb: 74, 144, 226;
    --secondary-color:#a30c0c;
    --accent-color:#a30c0c;
}

/* Dark mode variables */
[data-theme="dark"] {
    --bg-color: #a30c0c;
    --text-color:#f2f20b;
    --primary-color: #f2f20b;
    --secondary-color:white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

/* Header Styles */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: 2rem;
}

.welcome-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.welcome {
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin: 0.5rem 0;
}

.subtitle {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Profile Image Styles */
.profile-container {
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
}

.profile-arch {
    position: relative;
    width: 100%;
    padding-top: 130%;
    overflow: hidden;
    border-radius: 100px 100px 100px 100px;
    background: var(--primary-color);
}

.profile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.social-sidebar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-sidebar a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-sidebar a:hover {
    color: var(--primary-color);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(var(--bg-color), 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.bottom-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.bottom-nav a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.2s;
}

.bottom-nav a:hover {
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-image {
    flex: 0 0 300px;
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: 10%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.services h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Registration Form */
.registration {
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.registration h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

#registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.2);
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: var(--accent-color);
}

/* Responsive/* Responsive Design */
@media (max-width: 768px) {
    .social-sidebar {
        display: none;
    }

    .hero {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .about,
    .services,
    .registration {
        padding: 2rem 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .hero {
        padding: 4rem 2rem;
    }

    .profile-container {
        margin-top: 3rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    .social-sidebar,
    .bottom-nav,
    #theme-toggle,
    .cta-button,
    .submit-button {
        display: none;
    }

    body {
        color: #000;
        background-color: #fff;
    }

    .about,
    .services,
    .registration {
        page-break-inside: avoid;
    }
}

/* Footer Styles */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--bg-color);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

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

.footer-section a {
    color: var(--bg-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.126);
    margin-bottom: 100px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}
.reach{
    color: rgb(228, 240, 5);
    text-decoration: none;
}

.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* Animation de pulsation */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Style pour l'icône WhatsApp */
.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Media Query pour les appareils mobiles */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }

    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}