/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Grid System */
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-fluid {
  width: 100%;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-md-6 {
  width: 50%;
  padding: 0 15px;
}

.col-md-7 {
  width: 58.33%;
  padding: 0 15px;
}

.col-md-8 {
  width: 66.66%;
  padding: 0 15px;
}

.col-md-12 {
  width: 100%;
  padding: 0 15px;
}

.col-md-offset-2 {
  margin-left: 16.66%;
}

.col-sm-6 {
  width: 50%;
  padding: 0 15px;
}

.col-sm-12 {
  width: 100%;
  padding: 0 15px;
}

.col-xs-12 {
  width: 100%;
  padding: 0 15px;
}

/* Main Content Wrapper */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

/* Navbar Styles */
.navbar {
  transition: all 0.3s ease;
  padding: 15px 0;
  z-index: 1030;
  background: #333;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background: #333 !important;
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Navbar Brand Container */
.navbar-brand-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.navbar-brand {
  font-weight: 700;
  font-size: 28px;
  color: #fff !important;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
}

.navbar-brand:hover {
  color: #b9524e;
  transform: scale(1.05);
}

.avocat {
  color: white;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: -2px;
  margin-left: 8px;
}

/* Navigation Links */
.navbar-nav {
  align-items: center;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  padding: 12px 20px;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 25px;
  margin: 0 5px;
  transform: scale(1);
}

.navbar-nav .nav-link:hover {
  color: #b9524e;
  background: rgba(185, 82, 78, 0.1);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: #b9524e !important;
  background: rgba(185, 82, 78, 0.2);
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: #b9524e;
  border-radius: 2px;
}

/* Mobile Menu Toggle */
.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  border-color: #b9524e;
  background: rgba(185, 82, 78, 0.1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(185, 82, 78, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
}

/* Section Transition Animations */
section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

section.slide-in-up {
  opacity: 1;
  transform: translateY(0);
  animation: slideInUp 0.6s ease-out;
}

section.slide-in-down {
  opacity: 1;
  transform: translateY(0);
  animation: slideInDown 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced scroll animations */
section {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

section:hover {
  /* transform: translateY(-2px); */
}

/* Navbar Active State */
.navbar-nav .nav-link.active {
  color: #b9524e !important;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: #b9524e;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  section {
    transition: none !important;
  }
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
  .navbar {
    padding: 10px 0;
  }

  .navbar-brand-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .navbar-brand {
    font-size: 24px;
    line-height: 1;
  }

  .avocat {
    font-size: 8px;
    margin-top: -2px;
  }

  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    margin-top: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .navbar-nav {
    margin: 0;
    flex-direction: column;
    gap: 5px;
  }

  .navbar-nav .nav-item {
    margin: 0;
    width: 100%;
  }

  .navbar-nav .nav-link {
    color: white !important;
    padding: 15px 20px;
    display: block;
    text-align: center;
    border-radius: 10px;
    margin: 5px 0;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .navbar-nav .nav-link:hover {
    background: rgba(185, 82, 78, 0.2);
    transform: translateX(5px);
  }

  .navbar-nav .nav-link.active {
    background: rgba(185, 82, 78, 0.3);
    color: #b9524e !important;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }
}

.icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 3px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Hero Section */
#slider {
  /* height: 91vh; */
  height: 90vh !important;
  position: relative;
  overflow: hidden;
  flex-shrink: 0; 
}

.carousel-inner {
height: 90vh !important;
  width: 100%;
}


.item {
  height: 90vh !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: #fff;
  z-index: 2;
  width: 100%;
}

.carousel-caption h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.carousel-caption p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 600px;
}

/* About Section */
#about {
  padding: 50px 0;
  background: #ffffff;
}

.heading {
  text-align: center;
  margin-bottom: 40px;
}

.heading h2 {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.heading h2 span {
  color: #b9524e;
}

.heading p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.ab-sec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.ab-sec .col-md-6:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2;
}

.ab-sec .col-md-6:first-child {
  order: 1;
  text-align: left;
  max-width: 800px;
  width: 100%;
}

.ab-sec .col-md-6:last-child img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Desktop layout for about section */
@media (min-width: 769px) {
  .ab-sec {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .ab-sec .col-md-6:first-child {
    order: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
  }

  .ab-sec .col-md-6:last-child {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .ab-sec .col-md-6:last-child {
    background: none;
  }

  .ab-sec .col-md-6:last-child img {
    max-width: 600px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: none;
  }
}

.ab-sec h3 {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
}

.ab-sec h3 span {
  color: #b9524e;
}

.ab-sec p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  background: transparent !important;
}

/* Actualités Section */
#actualites {
  padding: 50px 0;
  background: #ffffff;
}

#actualites .heading h2 {
  font-size: 36px;
  margin-bottom: 60px;
  text-transform: uppercase;
  font-weight: 700;
  color: #333;
}

#actualites .heading h2 span {
  color: #b9524e;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  cursor: pointer;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  background: transparent !important;
}

.video-card:hover .video-thumbnail-img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 45px;
  background: rgba(185, 82, 78, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-button i {
  color: white;
  font-size: 16px;
  margin-left: 3px;
}

.video-card:hover .play-button {
  background: rgba(185, 82, 78, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Facebook Video Styles */
.facebook-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(24, 119, 242, 0.9);
  border-radius: 8px;
  padding: 8px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.facebook-icon {
  color: white;
  font-size: 20px;
  display: block;
}

.video-thumbnail:hover .facebook-overlay {
  background: rgba(24, 119, 242, 1);
  transform: scale(1.05);
}

.video-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.video-info h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.3;
  text-align: center;
}

.video-info p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
  text-align: center;
}

/* Image Card Styles - Clean Gallery Cards */
.image-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100% !important;
  height: 500px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  background: #f8f9fa;
}

.image-card:hover img {
  transform: scale(1.05);
}

/* Gallery images specific grid layout - only for actualites section */
#actualites .row .col-lg-6,
#actualites .row .col-md-6 {
  display: flex;
  flex-direction: column;
}

/* Gallery images grid layout - only for actualites section */
@media (min-width: 768px) {
  #actualites .row .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
  }
  
  #actualites .row .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
  }
}

/* Force 2x2 grid for gallery on web - only for actualites section */
@media (min-width: 992px) {
  #actualites .row .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 46% !important;
    width: 50% !important;
  }
}

/* Web view - 2 videos per row layout */
@media (min-width: 1326px) {
  #youtube-videos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  #youtube-videos-grid .col-lg-6 {
    flex: 0 0 50% !important;
    max-width:45% !important;
    width: 50% !important;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }
  
  .video-card {
    height: 100%;
  }
  .video-thumbnail {
    height: 300px;
  }
  .video-info {
    padding: 15px;
  }
  .video-info h5 {
    font-size: 16px;
  }
  .video-info p {
    font-size: 13px;
  }
}

/* Force 2 videos per row for Facebook videos */
@media (min-width: 768px) {
  #youtube-videos-grid .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

/* Additional force for Facebook videos grid */
#youtube-videos-grid .col-lg-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
  box-sizing: border-box !important;
}

/* Override Bootstrap defaults for videos */
@media (min-width: 992px) {
  #youtube-videos-grid .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    float: none !important;
    display: inline-block !important;
    vertical-align: top !important;
  }
}

/* Force 2 videos per row on all web screens */
@media (min-width: 768px) {
  #youtube-videos-grid {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  
  #youtube-videos-grid .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    float: left !important;
  }
}

/* Ultimate force for 2 videos per row */
@media (min-width: 768px) {
  #youtube-videos-grid .col-lg-6 {
    width: 50% !important;
    max-width: 50% !important;
    flex-basis: 50% !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
  }
}

/* Fix video card width and centering */
.video-card {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Ensure video cards fit in 2-column layout */
@media (min-width: 768px) {
  .video-card {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  #youtube-videos-grid .col-lg-6 {
    padding: 0 10px;
    box-sizing: border-box;
  }
}

/* Force narrow video cards for 2-column layout */
@media (min-width: 768px) {
  #youtube-videos-grid {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }
  
  #youtube-videos-grid .col-lg-6 {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    padding: 0 5px !important;
    box-sizing: border-box !important;
  }
  
  .video-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  
  .video-thumbnail {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  
  .video-thumbnail-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Center videos on mobile */
@media (max-width: 767px) {
  #youtube-videos-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #youtube-videos-grid .col-lg-6 {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
  }
  
  .video-card {
    max-width: 400px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  #actualites {
    padding: 60px 0;
  }

  #actualites .heading h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .video-thumbnail {
    height: 180px;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }

  .play-button i {
    font-size: 16px;
  }

  .video-info {
    padding: 15px;
  }

  .video-info h5 {
    font-size: 16px;
  }

  .video-info p {
    font-size: 13px;
  }

  /* Fix mobile video grid overflow */
  #youtube-videos-grid {
    margin: 0;
    padding: 0 10px;
  }

  #youtube-videos-grid .col-lg-3,
  #youtube-videos-grid .col-md-6,
  #youtube-videos-grid .col-sm-12 {
    padding: 0 5px;
    margin-bottom: 20px;
  }

  .video-card {
    margin-bottom: 20px;
  }
  
  /* Mobile image card styles */
  .image-card {
    margin-bottom: 20px;
  }
  
  .image-card img {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .video-thumbnail {
    height: 160px;
  }

  .play-button {
    width: 45px;
    height: 45px;
  }

  .play-button i {
    font-size: 14px;
  }

  .video-info {
    padding: 12px;
  }

  .video-info h5 {
    font-size: 15px;
  }

  .video-info p {
    font-size: 12px;
  }

  /* Additional mobile fixes */
  .container {
    padding: 0 10px;
  }

  #youtube-videos-grid {
    padding: 0 5px;
  }

  #youtube-videos-grid .col-lg-3,
  #youtube-videos-grid .col-md-6,
  #youtube-videos-grid .col-sm-12 {
    padding: 0 2px;
  }

  .video-card {
    margin-bottom: 15px;
  }
  
  /* Small mobile image card styles */
  .image-card {
    margin-bottom: 15px;
  }
  
  .image-card img {
    height: 350px;
  }
}

/* Contact Section */
.contact-content {
  margin-top: 20px;
}

.contact-info {
  padding-right: 40px;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-list i {
  font-size: 24px;
  color: #b9524e;
  margin-right: 20px;
  margin-top: 5px;
}

.contact-list h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.contact-list p,
.contact-list a {
  color: #666;
  margin: 0;
}

.contact-list a:hover {
  color: #b9524e;
}

.contact-form-wrapper {
  padding-left: 40px;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.contact-form-wrapper-row {

  display: flex;
  flex-direction: row;
  justify-content: space-between;
 gap: 20px;
}
.contact-form-wrapper-row .form-group {
  flex: 1; /* This makes both fields take equal width */
  min-width: 0; /* Prevents flex items from overflowing */
}
@media (max-width: 991px) {
  .contact-info,
  .contact-form-wrapper {
    padding: 0;
  }
.contact-form-wrapper-row {

  display: flex;
  flex-direction: column;
  gap: 0px !important;
}
 .contact-form-wrapper-row .form-group {
    flex: none; /* Reset flex on mobile */
    width: 100%; /* Full width on mobile */
  }
  .contact-info {
    margin-bottom: 40px;
  }

  .contact-list li {
    margin-bottom: 20px;
  }

  .contact-list i {
    font-size: 20px;
    margin-right: 15px;
  }

  .contact-list h5 {
    font-size: 16px;
  }

  .contact-form {
    padding: 20px;
  }
}
/* Form Styles */
.form-group {
  margin-bottom: 20px;
}
.contact-form-wrapper .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .contact-form-wrapper .col-md-6 {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* If the above doesn't work, try this more specific approach */
  .contact-form-wrapper .row .col-md-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #b9524e;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-send {
  background: #b9524e;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}
  
.btn-send:hover {
  background: #a04641;
  color: #fff;
  text-decoration: none;
}

/* Footer */
footer {
   height: 10vh;
  min-height: 10vh;
  background: #333;
  color: #fff;
  text-align: center;
 display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

footer p {
  margin: 0;
  font-size: 14px;
}

#footer-down {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 30px 0;
}

#footer-down p {
  margin: 0;
  font-size: 14px;
}

/* Breadcrumb Styles */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '>';
  color: #b9524e;
  font-weight: bold;
}

.breadcrumb-item a {
  color: #b9524e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #a04641;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #666;
  font-weight: 500;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 8px 0;
  }

  .navbar-brand {
    font-size: 22px;
  }

  .avocat {
    font-size: 8px;
  }

  .navbar-toggler {
    padding: 6px 10px;
  }

  .navbar-collapse {
    margin-top: 10px;
    padding: 15px;
  }

  .navbar-nav .nav-link {
    padding: 12px 15px;
    font-size: 16px;
  }

  /* Fix mobile overflow */
  .container {
    padding: 0 15px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .row {
    margin: 0;
  }

  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-sm-6 {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* Carousel Adjustments (unchanged) */
  .carousel-caption h1 {
    font-size: 32px;
  }

  .carousel-caption p {
    font-size: 16px;
  }

  /* Grid System Adjustments (unchanged) */
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-sm-6 {
    width: 100%;
    margin-bottom: 30px;
    margin-left: 10px;
  }

  .col-md-offset-2 {
    margin-left: 0;
  }

  /* About Section */
  .ab-sec {
    flex-direction: column;
    gap: 30px;
  }

  .ab-sec .col-md-6:last-child img {
    max-height: 300px;
  }

  .contact-sec-1 {
    padding-right: 0;
    margin-bottom: 40px;
  }

  /* Typography (unchanged) */
  .heading h2 {
    font-size: 32px;
  }

  .ab-sec h3 {
    font-size: 24px;
  }

  .fun-fact h3 {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 5px 0;
  }

  .navbar-brand {
    font-size: 20px;
  }

  .avocat {
    font-size: 7px;
  }

  .navbar-toggler {
    padding: 5px 8px;
  }

  .navbar-toggler-icon {
    width: 20px;
    height: 20px;
  }

  .navbar-collapse {
    margin-top: 8px;
    padding: 10px;
    border-radius: 10px;
  }

  .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 15px;
  }

  /* Carousel Adjustments */
  .carousel-caption h1 {
    font-size: 15px;
  }

  .carousel-caption p {
    font-size: 13px;
    margin-right: 100px;
    max-width: 85%;
  }

  .contact-list h5 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
  }

  .contact-list li {
    margin-bottom: 15px;
  }

  .contact-list i {
    font-size: 18px;
    margin-right: 10px;
  }

  .contact-form {
    padding: 15px;
  }

  .form-control {
    padding: 12px;
    font-size: 14px;
  }

  .btn-send {
    padding: 12px 25px;
    font-size: 14px;
  }

  .container {
    padding: 0 10px;
  }

  .heading h2 {
    font-size: 28px;
  }
}
/* Animation Classes */
.wow {
  visibility: visible !important;
}

.fadeInDown {
  animation: fadeInDown 3s ease-in-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar active state */
.navbar-collapse.show {
  display: block !important;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

.animated {
  animation-duration: 2s;
  animation-fill-mode: both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fadeInDown {
  animation-name: fadeInDown;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* Carousel adjustments */
.carousel-caption h1 {
  animation-delay: 0.5s;
}
.carousel-caption p {
  animation-delay: 1.5s;
}

/* Carousel Image Styling */
.carousel-item {
  height: 100vh;
  min-height: 600px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed;
  transition: all 0.8s ease-in-out;
}

/* Smooth carousel transitions */
.carousel {
  transition: all 0.8s ease-in-out;
}

.carousel-inner {
  transition: transform 0.8s ease-in-out;
}

.carousel-item {
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

@media (max-width: 768px) {
  .carousel-item {
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }
}

/* Make sure images cover the entire slide */
.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(
    0,
    0,
    0,
    0.5
  ); /* Optional: dark overlay for better text visibility */
}

/* Adjust caption positioning */
.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: auto;
  left: 15%;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  z-index: 10;
}

/* Team Section Styles */
#equipe {
  padding: 50px 0;
  background-color: #ffffff;
}

#equipe .heading h2 {
  font-size: 36px;
  margin-bottom: 60px;
  text-transform: uppercase;
  font-weight: 700;
}

#equipe .heading h2 span {
  color: #b9524e;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.team-member {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 500px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.member-image {
  height: 350px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  flex-shrink: 0;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
  border-radius: 8px;
  background: transparent !important;
}

.team-member:hover .member-image img {
  transform: scale(1.02);
}

.member-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.member-info h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #333;
  font-weight: 700;
}

.member-info .position {
  color: #b9524e;
  font-style: italic;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 16px;
}

.member-info .bio {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.member-info .bio ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.member-info .bio li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
}

.member-info .bio li:before {
  content: '•';
  color: #b9524e;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.member-contact {
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: auto;
}

.member-contact p {
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.member-contact i {
  color: #b9524e;
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

/* Web-specific team alignment */
@media (min-width: 769px) {
  .team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    align-items: stretch;
  }

  .team-member {
    max-width: none;
    min-height: 650px;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  #equipe {
    padding: 60px 0;
  }

  #equipe .heading h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .team-members {
    gap: 20px;
    display: flex;
    flex-direction: column;
  }

  .team-member {
    min-height: auto;
  }

  .member-image {
    height: 280px;
    background: #f8f9fa;
  }

  .member-image img {
    object-fit: contain;
    padding: 10px;
  }

  .member-info {
    padding: 25px;
  }

  .member-info h3 {
    font-size: 22px;
  }

  .member-info .position {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .member-image {
    height: 250px;
    background: #f8f9fa;
  }

  .member-image img {
    object-fit: contain;
    padding: 15px;
  }

  .ab-sec .col-md-6:last-child img {
    max-height: 250px;
  }

  .member-info {
    padding: 20px;
  }

  .member-info h3 {
    font-size: 20px;
  }
}
