/* Reset de base et styles généraux */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #128821;
  margin-left:60px;
  padding: 20px;
}

.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
  padding: 0 20px;
}

/* Header */
header {
  background: #ffffff9a;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
}

.logo img {
  max-height: 60px;
}

.contact-info {
  font-size: 1.1em;
  font-weight: bold;
}

.social-icons a {
  color: #333;
  font-size: 1.5em;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #007bff;
}
.side-nav {
position: fixed;
height: 100vh;
left: 0;
top: 0;
}

/* To hide the sub-nav */
.wrapper {
background: #333;
height: 100vh;
width: 75px;
}

.three-dots-container {
display: flex;
justify-content: center;
align-items: center;
height: 60px;
}
.dot {
flex-shrink: 0;
margin: 10px 3px;
width: 10px;
height: 10px;
border-radius: 50%;
background: #000;
}
.d1 {background: crimson;}
.d2 {background: yellow;}
.d3 {background: lightgreen;}

.nav-bloc {
margin-bottom: 10px;
padding: 10px 0;
display: flex;
justify-content: center;
cursor: pointer;
border-bottom: 1px solid #f2f2f21e;
z-index: 50;
}
.nav-bloc:hover {
background: rgb(15, 199, 184);
}
.nav-bloc:hover .sub-nav {
transform: translateX(75px);
}
.nav-bloc svg {
width: 25px;
fill: #f2f2f2;
transition:  0.2s ease-in-out ;
}
.nav-bloc:hover  svg {
fill: #50bddf;
}
.sub-nav {
padding: 0px;
width: 200px;
height: 100vh;
position: absolute;
top: 0;
left: 0;
background: #333;
z-index: -1;
color: white;
/* Hidden at the left side */
transform: translateX(-100%);
transition: transform 0.2s ease-in-out;
border-right: 2px solid #000;
border-left: 2px solid #000;
}
.sub-nav h2 {
font-family: open sans, sans-serif;
height: 60px;
display: flex;
color: #007bff;
justify-content: center;
align-items: center;
background: #222;
}
.sub-nav ul {
list-style-type: none;
}
.sub-nav li {
padding: 15px 20px;
}
.sub-nav li:hover {
background: rgba(160, 160, 160, 0.555);
}
.sub-nav li a {
 color: #f2f2f2;
 text-decoration: none;
}
.wrapper-2
{
  width: auto;
  margin: 0 auto;
  padding: 0 10px;
}
.tabs-component {
  margin: 100px auto 0;
  max-width: 400px;
  min-height: 300px;
  background: #333;
  border-radius: 2px;
  position: absolute;
  /*border: 2px solid #f1f1f125*/
  
}
.tabs-container {
  background: #333;
  display: flex;
  border-bottom: 1px solid #333;
  margin-right: 75;
}
.tabs {
  flex-grow: 1;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-bottom: 1px solid #f1f1f125;
  background: #333;
  color: #f1f1f1;
}
.tabs:not(:nth-child(3)) {
  border-right: 1px solid #f1f1f125;
}

.content {
  width: 100%;
  display: none;
  color: #f1f1f1;
  padding: 20px;
}
.content h3 {
  font-family: Raleway;
  font-weight: 600;
  font-size: 25px;
  margin-bottom: 10px;
}
.content p {
  font-family: Open sans;
  font-weight: 100;
  font-size: 20px;
  line-height: 1.4;
}

/* Anim */
.active-content {
  display: block;
}
.active {
  background: linear-gradient(to right, #e66747, #db8b4d);
}



/* Main content */
main {
  padding: 40px 5%;
}

section {
  background: #1fd9a4;
  margin-bottom: 30px;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
  color: #007bff;
  margin-bottom: 20px;
}

/* Services */
#services ul {
  list-style-type: none;
}

#services li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

#services li:last-child {
  border-bottom: none;
}

/* Contact form */
form {
  display: grid;
  gap: 50px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #0056b3;
}

/* Google Map */
#google-map {
  height: 400px;
  width: 100%;
  border-radius: 4px;
}

/* Blog */
#blog article {
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

#blog article:last-child {
  border-bottom: none;
}

#blog img, #blog video {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
}

#blog h3 {
  color: #007bff;
  margin-bottom: 10px;
}

#blog a {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
}

#blog a:hover {
  text-decoration: underline;
}
:root {
--primary-color: #2c3e50; /* Marron foncé */
--secondary-color: #ecf0f1; /* Blanc clair */
--accent-color: #e74c3c; /* Rouge vif */
--hover-color: #c0392b; /* Rouge plus sombre */
}
.pathologies-section {
  display: flex;
  justify-content: space-between;
  height: 550px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.column {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.left-column, .right-column {
  width: 25%;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.center-column {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-image {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.5rem;
}

.pathology-list {
  list-style: none;
  padding: 0;
  width: 100%;
}

.pathology-list li {
  margin: 10px 0;
}

.pathology-list a {
  display: block;
  padding: 12px 15px;
  color: #34495e;
  text-decoration: none;
  background-color: white;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pathology-list a:hover {
  background-color: #3498db;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .pathologies-section {
      flex-direction: column;
      height: auto;
  }
  
  .left-column, .right-column, .center-column {
      width: 100%;
      margin: 10px 0;
  }
  
  .center-column img {
      max-width: 100%;
      height: auto;
  }
}


/* Footer */
footer {
  background: #333;
  color: #fff;
  padding: 40px 15% 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-contact, .footer-info {
  flex: 1;
  min-width: 300px;
  margin-bottom: 20px;
}

.footer-contact h3 {
  margin-bottom: 20px;
}

.footer-info p {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #555;
}

/* Responsive design */
@media (max-width: 768px) {
  .banner {
      flex-direction: column;
      text-align: center;
      padding: 10px;
  }

  .logo img {
      max-width: 80%;
      height: auto;
  }

  .contact-info {
      margin: 10px 0;
  }

  .social-icons {
      margin-top: 10px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

section {
  animation: fadeIn 1s ease-in;
}

/* Accessibility */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #007bff;
}

/* File input styling */
input[type="file"] {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 4px;
}

/* Error state for form inputs */
input.error, textarea.error {
  border-color: #ff0000;
}
.video-article-section {
    display: flex;
    height: 550px;
    margin: 20px auto;
    gap: 20px;
    padding: 20px;
}

.video-column {
    flex: 1;
    height: 100%;
}

.video-column video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tabs {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-btn.active {
    background: #007bff;
    color: white;
}

.tab-content {
    flex: 1;
    overflow-y: auto;
}

.tab-panel {
    display: none;
    padding: 20px;
    height: 100%;
}

.tab-panel.active {
    display: block;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

section {
  animation: fadeIn 1s ease-in;
}

/* Accessibility */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #007bff;
}

/* File input styling */
input[type="file"] {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 4px;
}

/* Error state for form inputs */
input.error, textarea.error {
  border-color: #ff0000;
}
/* Style pour le formulaire de rendez-vous */
.appointment-section {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
}

#appointment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#appointment-form input,
#appointment-form select,
#appointment-form textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

#appointment-form button {
  padding: 12px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

#appointment-form button:hover {
  background: #0056b3;
}