/* Styles for carrieres.html */
.career-section {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.career-section h2 {
    color: #ff6584;
    border-bottom: 2px solid #f9d976;
    padding-bottom: 8px;
    margin-top: 0;
}

.career-section h3 {
    color: #007bff;
    margin-top: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.benefit-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.job-posting {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.job-posting h4 {
    color: #333;
    margin-top: 0;
}

.apply-info {
    margin-top: 20px;
    padding: 16px;
    background-color: #e9f5ff;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

/* Style principal pour Academie des Curieux */

.button-group {
    display: flex;
    flex-direction: row;
    gap: 18px;
    justify-content: center;
    align-items: center;
    margin: 24px 0 10px 0;
    flex-wrap: wrap;
}
.button-group .button {
    margin: 0;
}
@media (max-width: 600px) {
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
}


/* Utility color classes for icons, backgrounds, etc. */
.icon-red, .bg-red { background: #f44336 !important; color: #fff !important; }
.icon-orange, .bg-orange { background: #ff9800 !important; color: #fff !important; }
.icon-yellow, .bg-yellow { background: #ffd600 !important; color: #222 !important; }
.icon-purple, .bg-purple { background: #8e24aa !important; color: #fff !important; }
.icon-blue, .bg-blue { background: #29b6f6 !important; color: #fff !important; }
.icon-green, .bg-green { background: #66bb6a !important; color: #fff !important; }

/* For text colors if needed: */
.text-red { color: #f44336 !important; }
.text-orange { color: #ff9800 !important; }
.text-yellow { color: #ffd600 !important; }
.text-purple { color: #8e24aa !important; }
.text-blue { color: #29b6f6 !important; }
.text-green { color: #66bb6a !important; }

body {
    font-family: 'Comic Sans MS', 'Comic Sans', cursive, Arial, sans-serif;
    background: #fff;
    color: #222;
    margin: 0;
    padding: 0;
}
header, nav, footer {
    background: #fff;
    color: #222;
    padding: 16px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(44,62,80,0.04);
} /* No gradients anywhere */
nav {
    margin-bottom: 24px;
}
nav a {
    color: #333;
    text-decoration: none;
    margin: 0 18px;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 3px;
}
nav a.active, nav a:hover {
    color: #ff9800;
    border-bottom: 2.5px solid #ffd600;
} /* Orange/yellow for nav highlights */
nav a:hover {
    color: #29b6f6;
}
.container {
    max-width: 900px;
    margin: 32px auto;
    background: #fff5e1;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(250, 180, 110, 0.09);
    padding: 32px 28px;
}
h1, h2, h3 {
    color: #ff6584;
    font-family: 'Comic Sans MS', 'Comic Sans', cursive;
}
.button {
    background: #ff9800; /* Primary: Orange */
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    transition: background 0.2s;
}
.button.purple {
    background: #8e24aa;
    color: #fff;
}
.button.yellow {
    background: #ffd600;
    color: #222;
}
.button.blue {
    background: #29b6f6;
    color: #fff;
}
.button.green {
    background: #66bb6a;
    color: #fff;
}
.button.red {
    background: #f44336;
    color: #fff;
}
.button:hover {
    filter: brightness(0.93);
}
.button.alt {
    background: #ffd600;
    color: #222;
}
.button.alt:hover {
    background: #ff9800;
    color: #fff;
}
.button:hover {
    background: #29b6f6;
    color: #fff;
}
.button:hover {
    background: #8e24aa;
    color: #ffd600;
}
.rooms-section {
    margin: 56px 0 36px 0;
    padding: 0 0 10px 0;
}
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    max-width: 1100px;
    margin: 0 auto 32px auto;
}
@media (max-width: 900px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 14px;
    }
}
@media (max-width: 600px) {
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
.room-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.08);
    padding: 18px 10px 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s;
    cursor: pointer;
    /* Remove min-height to let card fit content */
}
.room-card:hover {
    transform: translateY(-6px) scale(1.032);
    box-shadow: 0 8px 32px rgba(44,62,80,0.13);
    z-index: 1;
}
.room-img {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 4/3;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.12);
    border: 3px solid #fff;
    display: block;
}
@media (max-width: 600px) {
    .room-img {
        width: 100%;
        max-width: 90vw;
        height: auto;
        aspect-ratio: 4/3;
    }
}
.room-card h3.room-title {
    font-size: 1.16em;
    margin: 10px 0 6px 0;
    color: #333;
    font-weight: bold;
}
.room-card p {
    font-size: 0.98em;
    color: #555;
    margin-bottom: 0;
}
.carrousel-btn {
    margin-top: 10px;
    margin-bottom: 6px;
}
.room-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.08);
    padding: 18px 10px 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s;
    cursor: pointer;
}
.room-card p {
    font-size: 0.94em;
}
.room-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.12);
    border: 3px solid #fff;
}
.room-card h4 {
    font-size: 0.97em;
    margin: 0;
    color: #333;
    font-weight: bold;
}
/* No tablet 2-column breakpoint for rooms grid; always 3 columns except mobile */
@media (max-width: 600px) {
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .room-img {
        width: 80px;
        height: 80px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Testimonials Section */
.testimonials-section {
    margin: 56px 0 40px 0;
    padding: 0 0 10px 0;
}
.testimonials-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.testimonials-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 1100px;
    position: relative;
    height: 100%;
}
.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1);
    will-change: transform;
    align-items: flex-start;
}
@media (max-width: 900px) {
    .testimonials-viewport {
        max-width: 700px;
    }
}
@media (max-width: 600px) {
    .testimonials-viewport {
        max-width: 360px;
        min-width: 0;
    }
}

.testimonial-arrow {
    background: #fff;
    border: 2px solid #ffd600;
    color: #ff9800;
    font-size: 2.2em;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    cursor: pointer;
    margin: 0 12px;
    transition: background 0.16s, color 0.16s, border 0.16s;
    z-index: 2;
}
.testimonial-arrow:hover, .testimonial-arrow:focus {
    background: #ffd600;
    color: #8e24aa;
    border-color: #8e24aa;
    outline: none;
}
@media (max-width: 900px) {
    .testimonials-grid {
        gap: 18px 10px;
    }
    .testimonial-arrow {
        font-size: 1.6em;
        width: 38px;
        height: 38px;
        margin: 0 6px;
    }
}
@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .testimonial-arrow {
        font-size: 1.3em;
        width: 32px;
        height: 32px;
        margin: 0 2px;
    }
}

.testimonial-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.08);
    padding: 28px 18px 22px 18px;
    margin: 0 12px;
    min-width: 320px;
    max-width: 370px;
    height: 270px; /* Set a fixed height */

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s;
    position: relative;
    overflow: hidden;
}
.testimonial-card:hover {
    transform: translateY(-6px) scale(1.032);
    box-shadow: 0 8px 32px rgba(44,62,80,0.13);
    z-index: 1;
}
.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.12);
    border: 3px solid #fff;
}
.testimonial-card blockquote {
    font-size: 1.01em;
    font-style: italic;
    color: #8e24aa;
    margin: 0 0 14px 0;
    line-height: 1.5;
    max-height: 150px; /* Limit height and allow scrolling */
    overflow-y: auto;
    padding-right: 8px; /* Space for scrollbar */

    position: relative;
    transition: font-size 0.2s;
}
.testimonial-card blockquote::-webkit-scrollbar {
    width: 6px;
    background: #f5f5f5;
}
.testimonial-card blockquote::-webkit-scrollbar-thumb {
    background: #ffd600;
    border-radius: 8px;
}


@media (max-width: 600px) {
    .testimonial-card {
        min-width: 90vw;
        max-width: 97vw;
        min-height: 220px;
        max-height: 320px;
        padding: 18px 6vw 14px 6vw;
    }
    .testimonial-card blockquote {
        max-height: 70px;
        font-size: 0.98em;
    }
}
@media (max-width: 400px) {
    .testimonial-card blockquote {
        max-height: 48px;
        font-size: 0.93em;
    }
}

.testimonial-name {
    margin-top: auto; /* Push name/date to the bottom */
    font-size: 1em;
    color: #333;
    font-weight: bold;
    margin-top: 2px;
}

.room-card img {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    border: 2.5px solid #29b6f6;
    display: block;
    margin-left: auto;
    margin-right: auto;
} /* Blue for image border */
footer {
    font-size: 1em;
    margin-top: 32px;
    border-top: 2px solid #f5f5f5;
} /* Subtle footer border */
.feature-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    margin: 40px 0 32px 0;
    flex-wrap: nowrap;
}
.feature-box {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.06);
    padding: 18px 10px 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.22s cubic-bezier(.4,2,.6,1), box-shadow 0.22s;
    cursor: pointer;
}
.feature-box .feature-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
}
.feature-box h4 {
    color: #222 !important;
    margin: 10px 0 8px 0;
    font-size: 1.16em;
    font-weight: bold;
}
.feature-box p {
    font-size: 0.98em;
    color: #222;
    margin-bottom: 0;
}
.feature-anim:hover {
    transform: scale(1.045);
    box-shadow: 0 8px 32px rgba(44,62,80,0.13);
    z-index: 1;
}
@media (max-width: 900px) {
    .feature-row {
        flex-wrap: wrap;
        gap: 16px;
    }
    .feature-box {
        flex: 1 1 45%;
        width: 48%;
        min-width: 180px;
        max-width: none;
        margin-bottom: 0;
    }
}
@media (max-width: 600px) {
    .container { padding: 10px 2vw; }
    nav a { display: block; margin: 10px 0; }
    .room-card { flex-direction: column; }
    .room-card img { width: 90vw; height: 120px; }
    .feature-row {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 10px;
    }
    .feature-box {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    .success-content {
        flex-direction: column;
        gap: 18px;
    }
    .success-image img {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        display: block;
    }
}

/* Success Section Styles */
.success-section {
    margin: 48px 0 32px 0;
    padding: 0 0 10px 0;
}
.success-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    max-width: 1100px;
    margin: 0 auto;
}
.success-text {
    flex: 1.3;
    min-width: 230px;
}
.success-text h2 {
    margin-bottom: 18px;
    font-size: 2em;
    font-weight: bold;
}
.success-text h3 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 1.16em;
}
.success-text p {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #222;
}
.success-image {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.success-image img {
    width: 340px;
    max-width: 95vw;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.13);
    object-fit: cover;
}

