/* 
 * Feuille de style principale pour Ajmel
 * Clinique Esthétique & Médecine Préventive
 */

/* ========== RESET & BASE ========== */
:root {
  --primary-color: #59c3bb; /* Turquoise */
  --primary-dark: #3a9b94;
  --primary-light: #a8e0db;
  --secondary-color: #7bc798; /* Vert menthe */
  --secondary-dark: #5ba97a;
  --secondary-light: #b0e0c5;
  --accent-color: #f9f5ad; /* Jaune pâle */
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333333;
  --border-color: #e1e1e1;
  --success-color: #28a745;
  --font-primary: "Playfair Display", serif;
  --font-secondary: "Nunito", sans-serif;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

/* Importation des polices Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Nunito:wght@300;400;600;700&display=swap");

/* ========== CLASSES UTILITAIRES ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--dark-color);
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-in {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in.active {
  opacity: 1;
  transform: translateX(0);
}

/* ========== HEADER ========== */
header {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  text-align: center;
}

.logo-image {
  height: 60px;
  width: auto;
  display: block;
  margin: 0 auto 5px;
}

.logo a {
  text-decoration: none;
  display: block;
}

.logo h1 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0;
}

.logo p {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-top: -5px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  transition: var(--transition);
  padding: 8px 0;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero {
  background-image: url("../images/bannièrev2.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ========== DOCTOR INTRO ========== */
.doctor-intro {
  padding: 80px 0;
  background-color: var(--primary-light);
}

.doctor-card {
  display: flex;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.doctor-image {
  flex: 1;
  max-width: 300px;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-info {
  flex: 2;
  padding: 30px;
  text-align: center;
}

.doctor-info h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.doctor-credentials {
  font-style: italic;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.specialties {
  list-style: none;
  margin-bottom: 30px;
  margin: 0 auto;
  width: fit-content;
}

.specialties li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.specialties li i {
  color: var(--secondary-color);
  margin-right: 10px;
}

/* ========== FEATURED SERVICES ========== */
.featured-services {
  padding: 80px 0;
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  padding: 30px;
  text-align: center;
  border-bottom: 4px solid var(--primary-color);
}

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

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.service-card p {
  margin-bottom: 20px;
  color: #666;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Ajout des styles pour la liste des services */
.service-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.service-list li {
  margin-bottom: 5px;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 80px 0;
  background-color: var(--accent-color);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  text-align: center;
  padding: 20px;
}

.client-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 5px solid white;
}

.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 15px;
}

.client-name {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.rating {
  color: #ffc107; /* Jaune pour les étoiles */
  font-size: 1.2rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.slider-controls button {
  background-color: white;
  border: none;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.slider-controls button:hover {
  background-color: var(--primary-color);
  color: white;
}

/* ========== QUICK CONTACT ========== */
.quick-contact {
  padding: 80px 0;
  background-color: var(--light-color);
}

.contact-box {
  background-color: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--box-shadow);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  border-top: 5px solid var(--primary-color);
}

.contact-box h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.contact-method {
  display: flex;
  align-items: center;
  text-align: left;
}

.contact-method i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 15px;
}

.contact-method h4 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.contact-method a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-method a:hover {
  color: var(--primary-color);
}

/* ========== PAGE BANNER ========== */
.page-banner {
  background-color: var(--primary-light);
  padding: 60px 0;
  text-align: center;
}

.page-banner h2 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 1.2rem;
  color: var(--dark-color);
}

/* ========== ABOUT PAGE ========== */
.about-story {
  padding: 80px 0;
}

.about-story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-content {
  text-align: left;
}

.story-content .section-title {
  text-align: left;
}

.story-content .section-title::after {
  left: 0;
  transform: none;
}

.story-content p {
  margin-bottom: 15px;
}

.story-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.about-values {
  padding: 80px 0;
  background-color: var(--accent-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.value-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.team {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.member-photo {
  height: 300px;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .member-photo img {
  transform: scale(1.05);
}

.team-member h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  padding: 20px 20px 5px;
  color: var(--dark-color);
}

.member-title {
  color: var(--primary-color);
  font-weight: 600;
  padding: 0 20px 10px;
}

.member-bio {
  padding: 0 20px 20px;
  color: #666;
}

.quality-commitment {
  padding: 80px 0;
  background-color: var(--primary-light);
}

.commitments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.commitment-item {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.commitment-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.commitment-item h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* ========== SERVICES PAGE ========== */
.services-nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.category-nav {
  display: flex;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.category-nav a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 30px;
  transition: var(--transition);
}

.category-nav a:hover,
.category-nav a.active {
  background-color: var(--primary-color);
  color: white;
}

.service-category {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.service-category:last-child {
  border-bottom: none;
}

.category-title {
  font-family: var(--font-primary);
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--dark-color);
  text-align: center;
}

.service-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-item {
  max-height: 450px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.service-image {
  height: 100%;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-details {
  padding: 30px;
}

.service-details h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.service-duration {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.service-description {
  margin-bottom: 20px;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pricing-item {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.pricing-item h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-item ul {
  list-style: none;
}

.pricing-item ul li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-item ul li:last-child {
  border-bottom: none;
}

.pricing-item ul li span {
  font-weight: 700;
  color: var(--primary-color);
}

/* ========== GALLERY PAGE ========== */
.gallery-section {
  padding: 80px 0;
}

.gallery-nav{
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.before-after-container {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.before-after-container h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  text-align: center;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.before,
.after {
  position: relative;
}

.before img,
.after img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.before-after-container p {
  text-align: center;
  margin-top: 15px;
  color: #666;
}

.video-section {
  padding: 80px 0;
  background-color: var(--primary-light);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.video-container {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.video-container h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  text-align: center;
}

.video-wrapper {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}

.video-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(89, 195, 187, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.play-button i {
  color: white;
  font-size: 1.5rem;
}

.play-button:hover {
  background-color: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-container p {
  text-align: center;
  margin-top: 15px;
  color: #666;
}

/* ========== APPOINTMENT PAGE ========== */
.appointment-form {
  padding: 80px 0;
}

.appointment-form .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.form-container {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  padding: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: var(--font-secondary);
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.form-submit {
  text-align: center;
  margin-top: 20px;
}

.info-card {
  text-align: center;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 30px;
}

.info-card:last-child {
  margin-bottom: 0;
}

.info-card h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
  text-align: center;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: var(--primary-light);
  border-radius: 5px;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  transition: var(--transition);
}

.contact-option:hover {
  background-color: var(--primary-color);
  color: white;
}

/* ========== CONTACT PAGE ========== */
.contact-section {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  margin-bottom: 30px;
}

.info-item {
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.info-item h3 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.info-item p,
.info-item a {
  color: #666;
  text-decoration: none;
  transition: var(--transition);
}

.info-item a:hover {
  color: var(--primary-color);
}

.hours li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}

.social-box {
  margin-top: 30px;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.map-section {
  padding: 80px 0;
  background-color: var(--accent-color);
}

.map-container {
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 40px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.access-info {
  text-align: center;
}

.access-info h3 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--dark-color);
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.access-item {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.access-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.access-item h4 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

/* ========== FOOTER ========== */
footer {
  background-color: var(--dark-color);
  padding: 60px 0 20px;
  color: white;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: var(--primary-light);
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-column .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-column .social-icons a:hover {
  background-color: var(--primary-color);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul.hours li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  opacity: 0.8;
}

.footer-column ul.hours li span {
  font-weight: 600;
  min-width: 100px;
}

.footer-column ul.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-column ul.contact-info li i {
  min-width: 20px;
  margin-top: 5px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  padding: 80px 0;
  background-color: var(--accent-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.faq-item {
  background-color: white;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
  padding: 25px;
  background-color: white;
  border-bottom: 2px solid var(--primary-light);
}

.faq-question h3 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 0;
  text-align: center;
}

.faq-answer {
  padding: 20px 25px;
  background-color: white;
  flex-grow: 1;
}

.faq-answer p {
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .doctor-card {
    flex-direction: column;
  }

  .doctor-image {
    max-width: 100%;
    height: 300px;
  }

  .about-story .container {
    grid-template-columns: 1fr;
  }

  .story-content {
    order: 2;
  }

  .story-image {
    order: 1;
  }

  .appointment-form .container,
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.5rem;
  }

  .service-item {
    grid-template-columns: 1fr;
    max-height: 2000px;
  }

  .service-image {
    height: 250px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .burger-menu {
    display: flex;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    text-align: center;
  }

  nav.active ul {
    display: flex;
  }

  nav ul li {
    margin: 0;
    padding: 10px 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 250px;
    margin-bottom: 15px;
  }

  .category-nav {
    flex-direction: column;
    align-items: center;
  }

  .category-nav a {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .faq-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Ajout des styles pour la page de redirection Doctolib */
.appointment-doctolib {
  padding: 80px 0;
  background-color: var(--light-color);
}

.doctolib-container {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.doctolib-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.doctolib-content h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.doctolib-content p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #666;
}

.doctolib-button {
  margin: 30px 0;
}

.doctolib-button .btn {
  font-size: 1.2rem;
  padding: 15px 30px;
}

.doctolib-info {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 30px;
}

.doctolib-info p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-alternative {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.contact-alternative h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .contact-methods {
    align-items: center;
  }
  
  .service-item {
  max-height: 2000px;
  }
}


