/* Global Styles */
:root {
  --primary-color: #00a8e8; /* Bleu dynamique */
  --secondary-color: #f26522; /* Orange vif */
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --accent-color: #005a9e; /* Bleu foncé */
  --background-color: #f5f7fa;
  --text-color: #2c3e50;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  transition: background-color 0.3s ease;
}

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

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

/* Topbar */
.top-bar {
  padding: 10px 0;
  font-size: 14px;
  color: #666;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.top-bar .text-primary {
  color: var(--primary-color) !important;
}

.top-bar i {
  font-size: 16px;
}

.top-bar p {
  margin: 0;
  padding: 0 10px;
}

/* Navigation */
.navbar {
  background: var(--primary-color);
  padding: 15px 0;
  transition: all 0.3s ease;
}

/* Navbar Toggle Button */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background-color: rgba(255, 255, 255, 0.2);
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-image: none;
}

/* Navbar Collapse */
.navbar-collapse {
  max-height: calc(100vh - 4rem); /* Prevent overflow */
  overflow-y: auto;
  padding: 1rem 0;
}

.navbar-collapse.show {
  display: block !important;
}

.navbar.scrolled {
  background: rgba(0, 168, 232, 0.8) !important;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-brand img {
  height: 40px;
  transition: all 0.3s ease;
}

.navbar .navbar-brand img:hover {
  transform: scale(1.1);
}

.navbar .navbar-nav .nav-link {
  color: white;
  font-weight: 500;
  margin: 0 10px;
  padding: 10px 0;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary-color) !important;
}

/* Responsive Navigation */
@media (max-width: 991.98px) {
  .navbar .nav-link {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .navbar .nav-link {
    font-size: 0.9rem;
    padding: 0.3rem 0.7rem;
  }
}

@media (max-width: 575.98px) {
  .navbar .nav-link {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Header Carousel */
.header-carousel {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* Video Section */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 0 auto;
  max-width: 100%;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-container {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile */
  }
}

/* Adjust video section padding */
#video {
  padding: 2rem 0;
}

@media (min-width: 768px) {
  #video {
    padding: 5rem 0;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/frigo-poisson.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 400px;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content {
  width: 100%;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.header-carousel .owl-carousel-item {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.header-carousel .owl-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: all 0.5s ease;
  transform: scale(1.1);
}

.header-carousel .owl-carousel-item:hover img {
  filter: brightness(0.8);
  transform: scale(1.15);
}

.header-carousel .owl-carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 168, 232, 0.3) 0%,
    rgba(0, 87, 158, 0.3) 100%
  );
  z-index: 1;
}

.header-carousel .owl-carousel-item .container {
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.header-carousel .owl-carousel-item .row {
  height: 100%;
  margin: 0;
}

.header-carousel .owl-carousel-item .col-10 {
  padding: 0;
  max-width: 100%;
  margin-left: auto;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .header-carousel .owl-carousel-item {
    min-height: 500px;
  }

  .header-carousel .section-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
  }

  .header-carousel h5 {
    font-size: 1.5rem;
  }

  .header-carousel h1 {
    font-size: 3rem;
  }

  .header-carousel p {
    font-size: 1rem;
    margin-bottom: 35px !important;
  }

  .header-carousel .btn {
    font-size: 1rem;
    padding: 15px 35px !important;
    gap: 12px;
  }

  .header-carousel .btn i {
    font-size: 1.2rem;
  }
}

@media (max-width: 767.98px) {
  .header-carousel .owl-carousel-item {
    min-height: 400px;
  }

  .header-carousel .section-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .header-carousel h5 {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .header-carousel h1 {
    font-size: 2.5rem;
  }

  .header-carousel p {
    font-size: 0.9rem;
    margin-bottom: 30px !important;
  }

  .header-carousel .btn {
    font-size: 0.9rem;
    padding: 12px 30px !important;
    gap: 10px;
    min-width: 180px;
  }

  .header-carousel .btn i {
    font-size: 1rem;
  }

  .header-carousel .owl-nav button {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 20px !important;
  }

  .header-carousel .owl-dots button {
    width: 12px !important;
    height: 12px !important;
  }

  .header-carousel .owl-dots button.active,
  .header-carousel .owl-dots button:hover {
    width: 15px !important;
    height: 15px !important;
  }
}

@media (max-width: 575.98px) {
  .header-carousel .owl-carousel-item {
    min-height: 300px;
  }

  .header-carousel .section-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .header-carousel h5 {
    font-size: 1rem;
    letter-spacing: 1.5px;
  }

  .header-carousel h1 {
    font-size: 2rem;
  }

  .header-carousel p {
    font-size: 0.8rem;
    margin-bottom: 25px !important;
  }

  .header-carousel .btn {
    font-size: 0.8rem;
    padding: 10px 25px !important;
    gap: 8px;
    min-width: 160px;
  }

  .header-carousel .btn i {
    font-size: 0.9rem;
  }

  .header-carousel .owl-nav button {
    width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
    font-size: 18px !important;
  }

  .header-carousel .owl-dots {
    bottom: 20px !important;
  }

  .header-carousel .owl-dots button {
    width: 10px !important;
    height: 10px !important;
  }

  .header-carousel .owl-dots button.active,
  .header-carousel .owl-dots button:hover {
    width: 12px !important;
    height: 12px !important;
  }
}

.header-carousel .section-icon {
  font-size: 3rem;
  color: white;
  background: var(--primary-color);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  animation: fadeIn 1s ease-out;
}

.header-carousel h5 {
  font-size: 1.8rem;
  letter-spacing: 3px;
  margin-bottom: 25px !important;
  color: var(--secondary-color);
}

.header-carousel h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 35px !important;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-carousel p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 45px !important;
  color: rgba(255, 255, 255, 0.9);
}

.header-carousel .btn {
  font-size: 1.2rem;
  padding: 18px 45px !important;
  border-radius: 35px !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: 200px;
  justify-content: center;
}

.header-carousel .btn i {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  width: 30px;
  text-align: center;
}

.header-carousel .btn:hover i {
  transform: translateX(5px);
}

.header-carousel .btn-primary {
  background: var(--primary-color) !important;
  border: none !important;
  box-shadow: 0 5px 15px rgba(0, 168, 232, 0.3);
}

.header-carousel .btn-secondary {
  background: var(--secondary-color) !important;
  border: none !important;
  box-shadow: 0 5px 15px rgba(242, 101, 34, 0.3);
}

.header-carousel .btn:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
  letter-spacing: 1px;
}

.header-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  line-height: 50px !important;
  font-size: 24px !important;
  transition: all 0.3s ease;
  z-index: 3;
}

.header-carousel .owl-nav button:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.header-carousel .owl-dots {
  bottom: 30px !important;
  z-index: 3;
}

.header-carousel .owl-dots button {
  width: 15px !important;
  height: 15px !important;
  margin: 0 8px !important;
  background: rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease;
  position: relative;
}

.header-carousel .owl-nav .owl-prev {
  left: 20px;
}

.header-carousel .owl-nav .owl-next {
  right: 20px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

.header-carousel .owl-dots {
  bottom: 30px !important;
  z-index: 3;
}

.header-carousel .owl-dots button {
  background: rgba(255, 255, 255, 0.5) !important;
  width: 12px !important;
  height: 12px !important;
  margin: 0 5px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease;
}

.header-carousel .owl-dots button.active,
.header-carousel .owl-dots button:hover {
  background: white !important;
  width: 16px !important;
  height: 16px !important;
}

.header-carousel .owl-dots {
  bottom: 30px !important;
}

.header-carousel .animated {
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: both;
}

.header-carousel .animated.slideInDown {
  animation-name: slideInDown;
}

.header-carousel .animated.slideInLeft {
  animation-name: slideInLeft;
}

.header-carousel .animated.slideInRight {
  animation-name: slideInRight;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Carousel Content */
.header-carousel .col-10 {
  padding: 0 30px;
}

.header-carousel h5 {
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 20px !important;
}

.header-carousel h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px !important;
}

.header-carousel p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px !important;
}

.header-carousel .btn {
  font-size: 1.1rem;
  padding: 15px 40px !important;
  border-radius: 30px !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-carousel .btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.header-carousel .btn:hover i {
  transform: translateX(5px);
}

/* Icônes de section */
.header-carousel .section-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  animation: fadeIn 1s ease-out;
}

/* Icônes de services */
.header-carousel .service-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  animation: fadeIn 1s ease-out;
}

.header-carousel .btn-primary {
  background: var(--primary-color) !important;
  border: none !important;
}

.header-carousel .btn-secondary {
  background: var(--secondary-color) !important;
  border: none !important;
}

.header-carousel .btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  color: white;
  text-align: left;
  padding: 4rem 0;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel .carousel-item {
  height: 100%;
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 5%;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 30px;
  height: 30px;
  background-image: none;
  border-radius: 50%;
  border: 2px solid white;
}

.hero-carousel .carousel-control-prev-icon::before,
.hero-carousel .carousel-control-next-icon::before {
  content: "\f104";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 20px;
  color: white;
}

.hero-carousel .carousel-control-next-icon::before {
  content: "\f105";
}

/* Services Section */
.service-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  margin-bottom: 1rem;
}

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

.service-item .service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
}

.service-item h4 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-item p {
  color: #666;
  margin-bottom: 1.5rem;
}

.service-item ul {
  padding-left: 0;
  list-style: none;
}

.service-item ul li {
  margin-bottom: 0.5rem;
}

.service-item ul li i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-item {
    margin-bottom: 1.5rem;
  }
}

/* Bulles Animées */
.bubbles {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.bubble1 {
  animation: float 20s linear infinite;
}

.bubble2 {
  animation: float 25s linear infinite;
}

.bubble3 {
  animation: float 30s linear infinite;
}

.bubble4 {
  animation: float 35s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-1000px);
    opacity: 0.4;
  }
}

/* Section Vidéo */
#video {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(0, 168, 232, 0.1) 0%,
    rgba(0, 87, 158, 0.1) 100%
  );
}

/* Équipe */
.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  background: var(--light-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.team-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.team-info {
  background: var(--light-color);
  padding: 25px;
  border-radius: 0 0 10px 10px;
  margin-top: -50px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.team-info h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.team-info p {
  margin-bottom: 15px;
  color: var(--text-color);
}

.team-info .btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.team-info .btn:hover {
  transform: translateY(-5px);
  color: var(--primary-color) !important;
  background: rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

/* Footer */
.footer {
  background: var(--dark-color);
}

.footer-item {
  padding: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-item i {
  font-size: 1.2rem;
  width: 30px;
  text-align: center;
}

.contact-item p {
  margin: 0;
  line-height: 1.5;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.btn-social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.btn-social:hover {
  transform: translateY(-3px);
  color: var(--primary-color) !important;
}

/* Copyright */
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: none;
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-item {
    text-align: center;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
  }

  .contact-item i {
    width: auto;
    margin-bottom: 5px;
  }

  .footer .row {
    margin-bottom: 2rem;
  }
}

/* Imagerie Section */
.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 300px;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-item:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.image-item:hover .image-overlay {
  transform: translateY(0);
}

.image-overlay h5 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.image-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Service Cards */


.service-card {
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.service-card i {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-card h3 a {
  color: inherit;
  transition: color 0.3s ease;
}

.service-card h3 a:hover {
  color: var(--primary-color);
}

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

/* Contact Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-form .form-control {
  border-radius: 5px;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 232, 0.25);
}

.contact-form .btn-primary {
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar-brand img {
  height: 40px;
}

.navbar {
  background-color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* Footer */
.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/image-fond.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

footer .social-links a {
  color: white;
  margin-right: 1rem;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: var(--primary-color);
}

/* Nouveau Footer Styles */
.footer {
  background: #1a1a1a;
  padding: 5rem 0 2rem;
}

.footer .btn-link {
  color: rgba(255, 255, 255, 0.6);
  padding: 0;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer .btn-link:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.footer .btn-social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer .btn-social:hover {
  background: var(--primary-color) !important;
  color: white !important;
  transform: translateY(-3px);
}

.footer .newsletter-form {
  position: relative;
}

.footer .newsletter-form input {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: white;
  padding: 10px 20px;
}

.footer .newsletter-form button {
  position: absolute;
  right: 0;
  top: 0;
  background: var(--primary-color);
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 0 5px 5px 0;
  transition: all 0.3s ease;
}

.footer .newsletter-form button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer .copyright a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .copyright a:hover {
  color: var(--primary-color);
}

.footer .copyright .btn {
  padding: 5px 15px !important;
  margin: 0 5px;
  border-radius: 20px !important;
}

/* Responsive Footer */
@media (max-width: 991.98px) {
  .footer .row {
    text-align: left;
  }

  .footer h4 {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .footer .btn-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
  }

  .footer .btn-link:hover {
    color: var(--primary-color);
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.1);
  }

  .footer .btn-link::before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--primary-color);
  }

  .footer .btn-social {
    margin: 0 5px;
  }

  .footer .newsletter-form {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Ajustement des colonnes sur mobile */
.footer .col-lg-3 {
  margin-bottom: 30px;
}

/* Ajustement des icônes sur mobile */
.footer .btn-social {
  margin: 5px 0;
  display: inline-block;
}

/* Ajustement des liens sur mobile */
.footer .btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 5px 0;
}

/* Ajustement des titres sur mobile */
.footer h4 {
  margin-bottom: 20px;
}

/* Ajustement des paragraphes sur mobile */
.footer p {
  margin-bottom: 15px;
}

/* Domaines d'activités Section */
.service-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 24px;
  margin: 0 auto;
}

.service-item h4 {
  color: var(--primary-color);
  margin: 20px 0 15px;
  font-size: 1.2rem;
}

.service-item p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .footer {
    padding: 3rem 0 1rem;
  }

  .footer .btn-link {
    font-size: 0.9rem;
  }

  .footer .btn-social {
    width: 35px;
    height: 35px;
  }

  .footer .newsletter-form input {
    font-size: 0.9rem;
  }

  .footer .newsletter-form button {
    padding: 8px 20px;
  }
}

@media (max-width: 575.98px) {
  .footer {
    padding: 2rem 0 0.5rem;
  }

  .footer .btn-link {
    font-size: 0.8rem;
  }

  .footer .btn-social {
    width: 30px;
    height: 30px;
  }

  .footer .newsletter-form input {
    font-size: 0.8rem;
  }

  .footer .newsletter-form button {
    padding: 7px 15px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .contact-info {
    margin-top: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate__fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}
