:root {
  --primary-color: #4361ee;
  --primary-hover: #3a56d4;
  --secondary-color: #f8f9fa;
  --text-color: #2d3748;
  --dark-bg: #1a202c;
  --dark-text: #f8f9fa;
  --dark-secondary: #2d3748;
}

body {
  font-family: 'Poppins', sans-serif;
  padding-top: 76px;
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s;
}

.navbar-brand {
  color: var(--primary-color) !important;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.navbar-text {
  color: #4a5568 !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #00b4db 0%, #0083b0 50%, #00b4db 100%);
  padding: 6rem 0 4rem;
  text-align: center;
  color: white;
}

/* Gallery */
/* Style des images de la galerie */
.gallery-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

/* Effet de survol */
.gallery-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Section Title */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Footer */
footer {
  background: var(--dark-bg);
  padding: 2rem 0;
  margin-top: 4rem;
  color: var(--dark-text);
}

/* Theme Toggle Button */
.btn-theme {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-theme:hover {
  transform: scale(1.1);
}

/* Dark Theme */
[data-bs-theme="dark"] {
  --text-color: #f8f9fa;
  --secondary-color: #2d3748;
}

[data-bs-theme="dark"] .navbar {
  background: rgba(26, 32, 44, 0.95) !important;
}

[data-bs-theme="dark"] .gallery-img {
  filter: brightness(0.9) contrast(1.1);
}

[data-bs-theme="dark"] .card {
  background-color: #2d3748;
  border-color: #4a5568;
}

[data-bs-theme="dark"] .text-muted {
  color: #a0aec0 !important;
}

/* Animations */
.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.4s;
}

.animate-delay-3 {
  animation-delay: 0.6s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0 2rem;
  }
  
  .gallery-img {
    width: 60px;
    height: 60px;
  }
}
  color: #2196f3;
}

#about ul {
  padding-left: 1.2rem;
}

#about img {
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(33,150,243,0.08);
  margin-top: 1rem;
}

/* --- Services --- */
#services {
  background: #fff;
}

.service-card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
  min-height: 320px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(33,150,243,0.15);
  transform: translateY(-8px) scale(1.03);
}

.service-card .bi {
  font-size: 3.2rem;
  margin-bottom: 1rem;
}

/* --- Galerie --- */
#gallery {
  background: #f5f7fa;
}

.gallery-img {
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery-img:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(33,150,200,0.12);
  /*box-shadow: 0 8px 32px rgba(33,150,243,0.12);*/
}

.tooltip-inner {
  font-size: 1.25rem;
}

/* --- Contact --- */
#contact {
  background: #fff;
}

#contact .form-control {
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: none;
}

#contact .btn {
  border-radius: 25px;
  font-weight: 600;
  background: linear-gradient(90deg, #2196f3 0%, #43e97b 100%);
  border: none;
}

/* --- Footer --- */
footer {
  background: linear-gradient(90deg, #2196f3 0%, #43e97b 100%);
  color: #fff;
  font-size: 1rem;
  letter-spacing: 1px;
  box-shadow: 0 -2px 8px rgba(33, 150, 243, 0.08);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }
  .service-card {
    min-height: 250px;
  }
  .gallery-img {
    height: 140px;
  }
}

