@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap'); 
body, html {
  margin: 0;
  padding: 0;
  font-family: "Playfair Display", serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f7f7f7;
}

.header-content {
  flex: 1;
  margin-right: 20px;
}

.header-content h1 {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

.header-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.cta-button {
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

.header-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  width: 350px;
  height: 500px;
  background-color: #007BFF; /* Top color */
  border-radius: 20px;
  overflow: hidden;
  top: 68px;
}

.header-image-container .circle {
  position: absolute;
  top: 80px; /* Center the circle above the box */
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-image-container .header-image {
  max-width: 400px;
  height: 500px;
  object-fit: cover;
}

.contact-info {
  position: absolute;
  bottom: 0;
  background-color: black;
  color: white;
  width: 100%;
  padding: 15px;
  text-align: center;
}

.contact-info h3 {
  margin: 5px 0;
  font-size: 1.2em;
}

.contact-info p {
  margin: 3px 0;
  font-size: 1em;
}

.navbar {
  position: absolute;
  top: 20px;
  width: 80%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between; /* Distributes space between items */
  align-items: center;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  padding: 10px;
  border-radius: 5px;
  
}
.navbar .nav-links li {
  display: inline-block;
  margin-right: 20px;
}
.navbar .logo {
  flex: 1;
  margin-left: 30px;
}

.navbar .logo a {
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.navbar .nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  margin-right: 100px;
}

.navbar .nav-links li {
  margin: 0;
}

.navbar .nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}



.header-content {
  
  color: #0c2560;
}

.header-content h1 {
  font-size: 4rem;
  margin: 0;
}

.header-content p {
  font-size: 1.5rem;
  margin: 20px 0;
  margin-right: 200px;
}
.cta-button {
  display: inline-block;
  padding: 10px 20px; /* Adjust padding as needed */
  border: 2px solid #1679AB; /* Border color */
  border-radius: 25px; /* Rounded edges */
  background-color: rgba(22, 121, 171, 0.2); /* Semi-transparent background */
  color: #1679AB; /* Text color */
  text-decoration: none; /* Remove underline */
  font-size: 16px; /* Adjust font size as needed */
  font-weight: bold; /* Optional: make text bold */
  position: relative;
  transition: background-color 0.3s, color 0.3s; /* Smooth transition */
  left: 50px;
}

.cta-button:hover {
  background-color: rgba(22, 121, 171, 0.4); /* Darker semi-transparent background on hover */
  color: #fff; /* Text color on hover */
}

.cta-button::after {
  content: '▼'; /* Arrow symbol */
  font-size: 18px; /* Adjust arrow size as needed */
  display: block;
  text-align: center;
  margin-top: 5px; /* Space between text and arrow */
}

/*biorgraphy section*/
.timeline-container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  margin-left: 70px;
}

h2 {
  text-align: center;
  color: #333;
}
.section-title {
  font-family: 'Playfair Display', serif; /* Apply the imported font */
  font-size: 2.2rem; /* Adjust font size as needed */
  color: #333; /* Set the text color */
  position: relative; /* For positioning the underline */
  margin: 0;
  padding-bottom: 10px; /* Space for the underline */
  margin-right: 410px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 5px; /* Thickness of the underline */
 
  border-bottom: 3px solid #0b56a6; /* Border color */
  
}
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  
  border-left: 2px dashed #273a4f;;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 40px 0;
  display: flex;
  align-items: center;
}

.left-side {
  flex: 1;
  text-align: right;
  padding-right: 20px;
}

.right-side {
  flex: 1;
  padding-left: 20px;
}

.dot {
  width: 20px;
  height: 20px;
  background: #749ac1;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.dates p {
  margin: 5px 0;
  color: #007bff;
}

.left-side h3,
.right-side h3 {
  margin: 0;
  color: #333;
}

.left-side p,
.right-side p {
  margin: 5px 0 0;
  color: #555;
}

/* animation for js*/
.skills-container {
  margin: auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  display: flex; /* Use flexbox layout */
    flex-wrap: wrap; /* Allow wrapping to next line if needed */
    justify-content: center; /* Center align items horizontally */
    margin-bottom: 60px;
}

.section-title2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #333;
  position: relative;
  margin: 0;
  padding-bottom: 10px;
  
}


.skill-card {
  perspective: 1000px;
  margin: 20px;
}

.skill-card-inner {
  position: relative;
  width: 150px;
  height: 150px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.skill-card:hover .skill-card-inner {
  transform: rotateY(180deg);
}

.skill-card-front,
.skill-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid #ddd;
}

.skill-card-front {
  background: #fff;
}

.skill-card-back {
  background: #7f92a6;
  color: #fff;
  transform: rotateY(180deg);
}

.skill-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.progress-ring{
  position: relative;
  top: 68px;
  left: 40px;
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.5s;
}

.skill-icon-content {
  margin-top: 10px;
  text-align: center;
  top: -100px;
  position: relative;
}

.skill-icon i {
  font-size: 40px;
  color: #007bff;
}

.skill-icon p {
  margin-top: 5px;
}

/* testimonials */
.containerT {
  display: flex;
}
.leftside, .rightside {
  flex: 1;
  padding: 20px;
}

.leftside {
  background-color: #ADD8E6; /* Light blue shade */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rightside {
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.profile-img {
  border-radius: 15px;
  width: 80%;
  max-width: 300px;
  position: relative;
  z-index: 1;
}

.parallelogram {
  position: absolute;
  bottom: -3px;
  left: 22%;
  width: 400px;
  height: 500px;
  background-color: #171E28;
  transform: skew(-20deg);
  z-index: 0;
}

.testimonial {
  border-left: 4px solid #ADD8E6; /* Blue color matching left side */
  padding-left: 20px;
  font-style: italic;
}

.testimonial footer {
  margin-top: 10px;
  font-weight: bold;
  color: #555555;
}

/* footer*/
footer {
  background-color: #10182f;
  color: #EEF7FF;
  padding: 20px 0;
  text-align: center;
}

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

.footer-section {
  flex: 1;
  margin: 10px;
  min-width: 250px;
}

.footer-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1679AB;
}

.footer-section p, 
.footer-section a {
  font-size: 14px;
  color: #EEF7FF;
  text-decoration: none;
}

.footer-section a:hover {
  color: #1679AB;
}

.social-icon {
  display: inline-block;
  margin: 5px;
  font-size: 18px;
  color: #EEF7FF;
  transition: color 0.3s;
}

.social-icon:hover {
  color: #1679AB;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 14px;
}

/* Media Query for screen width 384px */
@media screen and (max-width: 384px) {
  /* Ajuster les marges et alignements globaux */
  body {
    margin: 0;
    padding: 0;
  }

  .navbar {
    
   
    align-items: center;
    gap: 10px; /* Espacement entre les éléments */
  }

  .navbar .nav-links {
   
    align-items: center;
  }

  .header {
    padding: 20px 10px;
    text-align: center; /* Centrer le contenu */
  }

  .header h1 {
    font-size: 1.5rem; /* Réduction de la taille du titre */
  }

  .header p {
    font-size: 0.9rem; /* Ajustement de la taille du texte */
  }
.header-content{
  margin-top: 150px;
    width: 150px;
}
  .cta-button {
    font-size: 0.8rem;
    padding: 8px 12px;
    position: relative;
    left: 10px;
  }

  .header-image-container {
    width: 100%; /* S'adapte à la largeur de l'écran */
    
    margin: 20px 0;
  }

  .header-image-container img {
    width: 80%; /* Réduction de l'image */
    height: auto;
  }

  .timeline-container {
    padding: 10px;
  }

  .timeline-item {
    align-items: flex-start;
    padding: 10px 0;
  }

  .skills-container {
    display: flex;
    flex-wrap: wrap; /* Permet de répartir les cartes */
    justify-content: center; /* Centre les éléments */
    padding: 10px;
  }

  .skill-card {
    margin: 5px; /* Réduction de l'espacement entre les cartes */
   
  }

  .containerT {
    display: flex;
    flex-direction: column; /* Réorganise les témoignages verticalement */
    gap: 10px;
   
  }
.parallelogram{
  width: 200px;
  height: 450px;
  bottom: 0;

}
  .leftside, .rightside {
    text-align: center;
  }

  .footer-container {
    display: flex;
    flex-direction: column; /* Empile les sections du footer */
    text-align: center;
    padding: 10px;
  }

  .footer-section {
    margin-bottom: 10px;
  }
}
@media (max-width: 384px) {
  body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Évite les débordements horizontaux */
  }

  .container {
    width: 100%;
    padding: 0 10px; /* Ajuste les espacements internes */
  }

  .content {
    margin: 0 auto; /* Centre le contenu */
    padding: 5px; /* Réduit les espacements */
  }

  /* Si des éléments spécifiques causent un débordement ou un espace vide : */
  .specific-element {
    max-width: 100%;
    padding: 5px;
  }

  /* Gérer les titres et textes */
  h1, h2, h3 {
    font-size: 1.2rem; /* Ajuste la taille du texte */
    margin: 5px 0;
  }

  /* Réduction des espacements entre sections */
  section {
    padding: 10px 0;
  }
}


/* approche */
.approche-section {
  background-color: #f4f8fb;
  padding: 50px 20px;
  text-align: center;
}

.container {
  max-width: 900px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.intro {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  justify-content: center;
  align-items: center;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 200px;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.value-item:hover {
  background: #e3f2fd;
  transform: scale(1.05);
}

.icon {
  width: 40px;
  height: 40px;
  color: #2980b9;
  margin-bottom: 10px;
}
/*section approche thérapeutique */
.therapeutic-approach {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7f9fc;
  border-radius: 8px;
  padding: 40px;
  max-width: 1200px;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.therapeutic-approach .content {
  flex: 1;
  padding-right: 20px;
  text-align: left;
}

.therapeutic-approach h2 {
  font-size: 32px;
  color: #4a90e2;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.therapeutic-approach p {
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.therapeutic-approach .image {
  flex: 1;
  background-image: url('https://via.placeholder.com/500'); /* Remplacez par l'URL de l'image */
  background-size: cover;
  background-position: center;
  height: 300px;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .therapeutic-approach {
    flex-direction: column;
    align-items: center;
  }

  .therapeutic-approach .content {
    padding-right: 0;
    text-align: center;
  }

  .therapeutic-approach .image {
    width: 100%;
    height: 250px;
    margin-top: 20px;
  }
}
/* Dropdown Button */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {

  color: white;
  padding: 14px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 25px; /* Rounded Button */
  transition: background-color 0.3s ease;
}



/* Dropdown Content Styling */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff; /* White Background */
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 10px; /* Rounded Dropdown */
  top: 100%;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Links inside the Dropdown */
.dropdown-content a {
  color: #333333; /* Dark Gray */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  border-radius: 5px; /* Rounded Links */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover Effect for Dropdown Links */
.dropdown-content a:hover {
  color: white;
background-color: #0b56a6;
}

/* Show the Dropdown when Active */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Smooth Transition for Dropdown */
.dropdown:hover .dropbtn {
  background-color: #0c2560; /* Slightly Darker Green */
}