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

:root {
    /* Brand Colors - Primary */
    --rouge-bordeaux: #A02020;
    --jaune: #FFC107;
    --bleu: #0288D1;
    --noir: #000000;
    --blanc: #FFFFFF;
    
    /* Brand Colors - Secondary */
    --gris-clair: #F5F5F5;
    --gris-fonce: #424242;
    --corail-doux: #FF6F61;
    --vert-menthe: #80CBC4;
    --violet-profond: #7B1FA2;
    --brun-fonce: #4E342E;
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    background: var(--blanc);
    color: var(--noir);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography following brand guidelines */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.subtitle {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-style: italic;
    color: var(--gris-fonce);
    text-transform: none;
    font-weight: 300;
}

/* Header with brand colors */
header {
    background: var(--blanc);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Styling for the new image logo */
.header-logo-image {
    height: 60px;
    width: auto;
    margin-right: 1rem;
}

.logo {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--rouge-bordeaux);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

.header-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.status-badge {
    background: var(--gris-clair);
    color: var(--gris-fonce);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 2px solid var(--corail-doux);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Language Toggle with brand colors */
.language-toggle {
    display: flex;
    background: var(--gris-clair);
    border-radius: 25px;
    padding: 0.3rem;
    border: 2px solid var(--bleu);
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--gris-fonce);
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--bleu);
    color: var(--blanc);
}

.lang-btn:hover {
    background: var(--jaune);
    color: var(--noir);
}

/* Hero Section with brand styling */
.hero {
    background: var(--blanc); /* Solid white background for no weird transparency */
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--noir);
}

/* Ensure hero-content is above stem-icons */
.hero-content {
    font-weight: bold;
    position: relative;
    z-index: 2; /* Higher z-index to ensure text is on top */
}

/* Apply gradient and adjust spacing to the main heading */
.hero h1 {
    background: linear-gradient(135deg, var(--rouge-bordeaux) 0%, var(--violet-profond) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem; /* Reduced space below the heading */
    line-height: 1.1;
}

/* Subtitle with better spacing */
.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem; /* Added space between subtitle and description */
    color: var(--gris-fonce);
    font-style: italic;
    font-weight: 600; /* As requested in our previous conversation */
}

/* Description with top and bottom margin */
.hero .description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem; /* Adjusted top margin for consistent spacing */
    color: var(--gris-fonce);
    line-height: 1.7;
    font-weight: 300;
}

/* Language Content */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* STEM Icons Background */
.stem-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1; /* Keep it behind hero-content */
}

.stem-icon {
    position: absolute;
    opacity: 0.8; /* A very low opacity for a natural, subtle look */
    font-size: 3rem;
    background: linear-gradient(135deg, var(--rouge-bordeaux) 0%, var(--violet-profond) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: float 6s ease-in-out infinite;
}

/* Positioning to keep them in the extremities */
.stem-icon:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.stem-icon:nth-child(2) { top: 80%; left: 10%; animation-delay: 2s; }
.stem-icon:nth-child(3) { top: 5%; right: 8%; animation-delay: 4s; }
.stem-icon:nth-child(4) { bottom: 15%; right: 5%; animation-delay: 1s; }
.stem-icon:nth-child(5) { top: 25%; left: 15%; animation-delay: 3s; }
.stem-icon:nth-child(6) { bottom: 20%; right: 15%; animation-delay: 1.5s; }
.stem-icon:nth-child(7) { top: 60%; left: 5%; animation-delay: 5s; }
.stem-icon:nth-child(8) { bottom: 60%; right: 5%; animation-delay: 2.5s; }
.stem-icon:nth-child(9) { top: 5%; left: 70%; animation-delay: 6s; }
.stem-icon:nth-child(10) { bottom: 5%; right: 70%; animation-delay: 7s; }


@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Values Section */
.values {
    padding: 6rem 0;
    background: var(--blanc);
}

.values h2 {
    text-align: center;
    color: var(--rouge-bordeaux);
    margin-bottom: 1rem;
}

.values .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gris-fonce);
    margin-bottom: 4rem;
    font-style: italic;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.value-card {
    background: var(--blanc);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.value-card:nth-child(1) {
    border-color: var(--rouge-bordeaux);
}

.value-card:nth-child(2) {
    border-color: var(--jaune);
}

.value-card:nth-child(3) {
    border-color: var(--bleu);
}

.value-card:nth-child(4) {
    border-color: var(--corail-doux);
}

.value-card:nth-child(5) {
    border-color: var(--violet-profond);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: currentColor;
}

.value-card:nth-child(1)::before {
    background: var(--rouge-bordeaux);
}

.value-card:nth-child(2)::before {
    background: var(--jaune);
}

.value-card:nth-child(3)::before {
    background: var(--bleu);
}

.value-card:nth-child(4)::before {
    background: var(--corail-doux);
}

.value-card:nth-child(5)::before {
    background: var(--violet-profond);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--noir);
}

.value-card p {
    color: var(--gris-fonce);
    font-size: 1rem;
    line-height: 1.6;
}

/* SHE DARES Section */
.she-dares {
    background: linear-gradient(135deg, var(--rouge-bordeaux) 0%, var(--violet-profond) 100%);
    padding: 6rem 0;
    color: var(--blanc);
    text-align: center;
    position: relative;
}

.she-dares::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-opacity='0.1'%3E%3Ccircle fill='%23FFC107' cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.she-dares-content {
    position: relative;
    z-index: 2;
}

.she-dares h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--jaune);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.she-dares .section-subtitle {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

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

.dare-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.dare-item:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: var(--jaune);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dare-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--jaune);
}

.dare-item p {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--blanc);
}

/* Vision Section */
.vision {
    padding: 6rem 0;
    background: var(--gris-clair);
    text-align: center;
}

.vision h2 {
    color: var(--rouge-bordeaux);
    margin-bottom: 2rem;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--blanc);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--bleu);
}

.vision-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--gris-fonce);
    font-weight: 300;
}

/* Coming Soon Section */
.coming-soon {
    background: linear-gradient(135deg, var(--bleu) 0%, var(--vert-menthe) 100%);
    padding: 6rem 0;
    color: var(--blanc);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.coming-soon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 193, 7, 0.2), transparent);
    animation: rotate 6s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.coming-soon-content {
    position: relative;
    z-index: 2;
}

.coming-soon h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--blanc);
}

.coming-soon p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.progress-container {
    max-width: 400px;
    margin: 3rem auto;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--jaune), var(--corail-doux));
    width: 0%;
    animation: progress 4s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 85%;
    }
    100% {
        width: 0%;
    }
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Footer */
footer {
    background: var(--violet-profond);
    color: var(--blanc);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--jaune);
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .hero .description {
        font-size: 1rem;
    }

    .values-grid,
    .dares-grid {
        grid-template-columns: 1fr;
    }

    .she-dares h2 {
        font-size: 2.5rem;
    }

    .header-controls {
        flex-direction: column;
        gap: 0.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

    .stem-icon,
    .progress-fill,
    .coming-soon::before {
        animation: none;
    }
}

/* Focus styles for accessibility */
.lang-btn:focus,
.value-card:focus,
.dare-item:focus {
    outline: 3px solid var(--jaune);
    outline-offset: 2px;
}