/* Reset & Basics */
/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

/* Header */
.header {
    background: #AB7595;
}

.navbar {
    background-color: #AB7595;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    height: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo img {
    width: 50px;
}

/* Nav links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-right: 4rem;
}

/* Login Button - aligned to the left in RTL */
.login-btn {
    margin-right: auto; /* Pushes to the left side in RTL */
}

.login-btn a {
    background: white;
    color: #AB7595;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}


.login-btn a:hover {
    background-color: #f0e2eb;
}

/* Hero */
.hero {
    background-image: url('images/home1.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    text-align: center;
    color: #9a628a;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 10px;
}

.overlay h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.overlay p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #444;
}

.cta-button {
    background-color: #b685a8;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #9a628a;
}

/* Features Section */
.features {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f5f0eb;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.highlight {
    color: #9a628a;
}

.container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background-color: #efe4dc;
    border-radius: 20px;
    padding: 2rem;
    width: 300px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.icon {
    background-color: #a9718f;
    padding: 1rem;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    width: 30px;
    height: 30px;
    filter: invert(100%);
}

.card h3 {
    font-size: 1.3rem;
    margin: 1rem 0 0.5rem 0;
    color: #000;
}

.card p {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.5;
}

.card a {
    display: inline-block;
    margin-top: 1rem;
    color: #a9718f;
    font-weight: bold;
    text-decoration: none;
}


/* Path Section */
.path-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}

.path-section .image-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.path-section .image-container img {
  border-radius: 9999px 9999px 0 0;
  height: 380px;
  width: auto;
  object-fit: cover;
  border: 15px solid #b27aa2;
}

.path-section .text-content {
  flex: 1;
  padding-left: 40px;
}

.path-section .text-content h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}

.path-section .text-content h2 .highlight {
  color: #b27aa2;
}

.path-section .text-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.path-section .buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.path-section .buttons .btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.path-section .buttons .btn.primary {
  background-color: #b27aa2;
  color: #fff;
}

.path-section .buttons .btn.secondary {
  background-color: #e5ddd5;
  color: #333;
}


/* Equal Chance Section */
.equal-chance-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 40px;
  background-color: #f7f0f0;
  font-family: 'Poppins', sans-serif;
  color: #000;
}

.equal-chance-section .text-content {
  flex: 1 1 50%;
  max-width: 50%;
}

.equal-chance-section .text-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

.equal-chance-section .text-content h2 .highlight {
  color: #b27aa2;
}

.equal-chance-section .text-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.equal-chance-section .text-columns {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.equal-chance-section .text-columns .column {
  flex: 1;
}

.equal-chance-section .text-columns .column h4 {
  font-size: 18px;
  font-weight: 600;
  color: #b27aa2;
  margin-bottom: 10px;
}

.equal-chance-section .text-columns .column p {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

/* New Image Layout */
.equal-chance-section .image-layout {
  flex: 1 1 45%;
  max-width: 45%;
  display: flex;
  gap: 15px;
}

.image-layout .left-image {
  flex: 1;
}

.image-layout .left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid #b27aa2;
}

.image-layout .right-images {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.image-layout .right-images img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid #b27aa2;
}


/* Availability Section */
/* Availability Section */
.availability {
    background-color: #D9D9D9; /* Fond gris clair */
    padding: 5rem 2rem;
    text-align: center;
    /* Suppression du dégradé et de l'image de fond */
}

.availability .content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: white; /* Fond blanc pour la carte de contenu */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.availability h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.4;
}

.availability .highlight {
    color: #b27aa2;
    font-weight: bold;
}

.availability p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.6;
}

.availability .buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.availability .btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.availability .btn.primary {
    background-color: #b27aa2;
    color: #fff;
}

.availability .btn.primary:hover {
    background-color: #9a628a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.availability .btn.secondary {
    background-color: #e5e5e5; /* Gris plus clair pour le bouton secondaire */
    color: #333;
}

.availability .btn.secondary:hover {
    background-color: #d0d0d0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/*FAQ*/
:root {
    --primary: #b27aa2;
    --background: #f8f8f8;
    --text-dark: #333;
    --text-light: #555;
    --white: #fff;
    --shadow: rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background);
}

.faq {
    background-color: var(--background);
    padding: 5rem 2rem;
    text-align: center;
}

.faq h3 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.faq h3 .highlight {
    color: var(--primary);
}

.faq h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: var(--white);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
    gap: 1rem;
}

.faq-question:hover {
    background-color: #f0ebf0;
}

.faq-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: solid var(--primary);
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(-135deg);
}

.faq-answer {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-light);
    border-top: 1px solid #eee;
}

.faq-answer-bar {
    width: 4px;
    background-color: var(--primary);
    display: none;
    border-radius: 2px;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-answer-bar {
    display: block;
}


/* Footer */
.footer {
    background-color: #e6d6c5;
    padding: 2.5rem 2rem;
    color: #3a0e28;
    font-family: 'Segoe UI', sans-serif;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 60px;
    object-fit: contain;
    margin-left: -120px; /* ajuste la valeur selon ton besoin */

}

.footer-contact .contact-label {
    font-weight: bold;
    opacity: 0.6;
}

.footer-contact a {
    text-decoration: none;
    color: #3a0e28;
    font-weight: 600;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-socials img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.footer-socials img:hover {
    transform: scale(1.1);
}

.footer-right {
    display: flex;
    gap: 4rem;
}

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

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

.footer-links a {
    text-decoration: none;
    color: #3a0e28;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-right {
        flex-direction: column;
        gap: 1.5rem;
    }
}