/* ===== NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(233, 233, 233, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(233, 233, 233, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: #0056b3; /* Blue color for the link */
}

.logo-text {
  color: inherit; /* Inherit blue color from parent */
}

.logo .highlight {
  color: #ffc107; /* Yellow color for Nasri */
  margin-left: 2px; /* Add small space between words */
}

/* Ensure the blue color is not overridden */
.logo a,
.logo a .logo-text,
.logo a span:not(.highlight) {
  color: #0056b3 !important; /* Force blue color for Remorquage */
}

/* Force yellow color for Nasri */
.logo a .highlight {
  color: #ffc107 !important;
}

.nav-list {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: #333;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0056b3;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0056b3;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #0056b3;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 280px;
  height: 100vh;
  background-color: #0056b3;
  z-index: 1000;
  transition: left 0.4s ease;
  overflow-y: auto;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header .logo-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.mobile-menu-header .highlight {
  color: #ffc107;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  display: block;
  padding: 15px 25px;
  font-size: 1rem;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 30px;
  color: white;
}

/* Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-list {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-color: #fbbc07;
    --primary-dark: #371dc8;
    --primary-light: #7697f8;
    --secondary-color: #1d3557;
    --secondary-dark: #102035;
    --secondary-light: #2f5183;
    --accent-color: #457b9d;
    --accent-light: #76a9c7;
    --light-color: #f1faee;
    --dark-color: #0a1323;
    --gray-color: #2d3870;
    --light-gray: #f8f9fa;
    --medium-gray: #dee2e6;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --container-width: 1340px;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }
  
  ul,
  ol {
    list-style-type: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
  }
  
  .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transition: width 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .btn:hover::before {
    width: 100%;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: white;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
  
  .btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
  }
  
  .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
  }
  
  .btn-light {
    background-color: white;
    color: var(--secondary-color);
  }
  
  .btn-light:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
  }
  
  .btn i {
    margin-right: 0.5rem;
  }
  
  /* Container */
  .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  /* Header Styles */
  .site-header {
    background-color: #3f0118;
    color: #fff;
    box-shadow: none;
    border-bottom: none;
    transition: background 0.3s, color 0.3s;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .site-header .main-nav a,
  .site-header .logo h1,
  .site-header .logo span {
    color: #fff;
    transition: color 0.3s;
  }
  
  .site-header .main-nav a::after {
    background-color: #fff;
  }
  
  .site-header.scrolled {
    background-color: #e9e9e9;
    color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  
  .site-header.scrolled .main-nav a,
  .site-header.scrolled .logo h1,
  .site-header.scrolled .logo span {
    color: var(--secondary-color);
  }
  
  .site-header.scrolled .main-nav a::after {
    background-color: var(--secondary-color);
  }
  
  .header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
  }
  
  .logo span {
    color: #fbbc07;
    position: relative;
  }
  
  .logo span::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: -3px;
    right: -8px;
  }
  
  .tagline {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
    margin-top: -0.25rem;
    letter-spacing: 0.3px;
  }
  
  .main-nav ul {
    display: flex;
    gap: 2rem;
  }
  
  .main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
  }
  
  .main-nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
  }
  
  .main-nav a:hover::after,
  .main-nav a.active::after {
    width: 100%;
  }
  
  .contact-info {
    display: flex;
    align-items: center;
  }
  
  .phone-link {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
  }
  
  .phone-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
  
  .phone-link i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
  }
  
  .mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }
  
  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
  }

  .main-nav.show {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--primary-color);
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow);
    z-index: 1000;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Hero Section */
  .hero-section {
    background: linear-gradient(rgb(65, 0, 22), rgb(38, 5, 46)), url("img/01.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 1.5rem;
    text-align: center;
    position: relative;
  }
  
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .hero-subtitle {
    display: inline-block;
    background-color: rgba(57, 161, 230, 0.9);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
  }
  
  .hero-content h2 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 300;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  /* Section Styles */
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
  }
  
  .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
  }
  
  .section-subtitle {
    color: var(--gray-color);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  /* Gallery Section */
  .gallery-section {
    padding: 6rem 0;
    background-color: white;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    margin-top: -4rem;
  }
  
  .gallery-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  
  /* Filter Buttons */
  .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--light-gray);
    border: 1px solid var(--medium-gray);
    color: var(--secondary-color);
  }
  
  .filter-btn:hover {
    background-color: var(--medium-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }
  
  .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
  }
  
  /* Mobile Filter */
  .mobile-filter {
    display: none;
    margin-bottom: 2rem;
  }
  
  .mobile-filter-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background-color: var(--light-gray);
    border: 1px solid var(--medium-gray);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .mobile-filter-btn:hover {
    background-color: var(--medium-gray);
  }
  
  .mobile-filter-dropdown {
    display: none;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 0.5rem;
    padding: 1rem;
    z-index: 100;
    position: relative;
    border: 1px solid var(--medium-gray);
  }
  
  .mobile-filter-dropdown.show {
    display: grid;
    gap: 0.75rem;
  }
  
  .mobile-btn {
    text-align: left;
    width: 100%;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
  }
  
  .gallery-item {
    background-color: rgb(255, 255, 255);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    height: 300px; /* Set a fixed height for all gallery items */
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover the entire container */
  }
  
  .gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .gallery-item.hidden {
    display: none;
  }
  
  .gallery-item.animate-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  
  .gallery-item.animate-out {
    animation: fadeOut 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.95);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  @keyframes fadeOut {
    from {
      opacity: 1;
      transform: scale(1);
    }
    to {
      opacity: 0;
      transform: scale(0.95);
    }
  }
  
  .image-container {
    position: relative;
    height: 320px;
    overflow: hidden;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .gallery-item:hover .image-container img {
    transform: scale(1.08);
  }
  
  .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.25rem 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .gallery-item:hover .image-overlay {
    opacity: 1;
  }
  
  .category-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  
  .badge-vehicules-volumineux {
    background-color: #3b82f6;
    color: white;
  }
  
  .badge-remorquage {
    background-color: var(--primary-color);
    color: white;
  }
  
  .badge-materiel-agricole {
    background-color: #10b981;
    color: white;
  }
  
  .badge-conteneurs-cabines {
    background-color: #f59e0b;
    color: white;
  }
  
  .badge-vehicules-retractables {
    background-color: #8b5cf6;
    color: white;
  }
  
  .item-content {
    padding: 1.5rem;
  }
  
  .item-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
  }
  
  /* Lightbox */
  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .lightbox.active {
    opacity: 1;
    visibility: visible;
  }
  
  .lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
  }
  
  .lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
  }
  
  .lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: var(--transition);
  }
  
  .lightbox-close:hover {
    background-color: var(--primary-color);
    transform: rotate(90deg);
  }
  
  .lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 2001;
  }
  
  .lightbox-prev,
  .lightbox-next {
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: var(--transition);
  }
  
  .lightbox-prev:hover,
  .lightbox-next:hover {
    background-color: var(--primary-color);
  }
  
  /* Masonry Layout */
  .masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: 10px;
    grid-gap: 1.5rem;
  }
  
  .masonry-item {
    grid-row-end: span var(--span);
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
  }
  
  .masonry-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .masonry-image-container {
    position: relative;
    overflow: hidden;
  }
  
  .masonry-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .masonry-item:hover .masonry-image-container img {
    transform: scale(1.08);
  }
  
  /* Gallery Layout Toggle */
  .gallery-layout-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  .layout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    margin: 0 5px;
  }
  
  .layout-btn:hover {
    background-color: var(--medium-gray);
  }
  
  .layout-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }
  
  /* Empty State */
  .empty-state {
    text-align: center;
    padding: 4rem 0;
    color: var(--gray-color);
    display: none;
  }
  
  .empty-state i {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
  }
  
  .empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
  }
  
  /* Call to Action Section */
  .cta-section {
    background: linear-gradient(100deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: 4rem 0;
    margin: 6rem 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  
  .cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("img/02.jpg") center / cover no-repeat;
    opacity: 0.15;
    z-index: 0;
  }
  
  .cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
  }
  
  .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
  }
  
  /* Stats Section */
  .stats-section {
    margin-bottom: 6rem;
  }
  
  .stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius);
    background-color: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
  }
  
  .stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 1.75rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
  }
  
  .stat-title {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 500;
  }
  
  /* Footer Styles */
  .site-footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 5rem 0 0;
    position: relative;
  }
  
  .site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-dark);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
    z-index: 0;
  }
  
  .footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
  }
  
  .footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
  }
  
  .footer-info span {
    color: var(--primary-color);
  }
  
  .footer-info p {
    margin-bottom: 1.5rem;
    opacity: 0.85;
    line-height: 1.8;
  }
  
  .footer-contact h4,
  .footer-links h4,
  .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
  }
  
  .footer-contact h4::after,
  .footer-links h4::after,
  .footer-social h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
  }
  
  .footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
  }
  
  .footer-contact i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    font-size: 1rem;
  }
  
  .footer-contact a:hover {
    color: var(--primary-color);
    text-decoration: underline;
  }
  
  .footer-links ul {
    display: grid;
    gap: 0.75rem;
  }
  
  .footer-links a {
    display: inline-flex;
    align-items: center;
  }
  
  .footer-links a::before {
    content: "→";
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
  }
  
  .social-icons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: white;
  }
  
  .social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
  }
  
  .certification {
    margin-top: 1.5rem;
  }
  
  .certification p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  .cert-icons {
    display: flex;
    gap: 0.75rem;
  }
  
  .cert-icons img {
    border-radius: var(--radius-sm);
  }
  
  .footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
  }
  
  .footer-bottom a {
    text-decoration: underline;
  }
  
  .footer-bottom a:hover {
    color: var(--primary-color);
  }
  
  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
  }
  
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
  }
  
  /* Responsive Styles */
  @media (max-width: 1200px) {
    .section-title {
      font-size: 2rem;
    }
  
    .hero-content h2 {
      font-size: 2.8rem;
    }
  
    .cta-content h2 {
      font-size: 2.2rem;
    }
  
    .gallery-grid,
    .masonry-grid {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
  }
  
  @media (max-width: 992px) {
    .main-nav {
      display: none;
    }
  
    .mobile-menu-btn {
      display: flex;
    }
  
    .hero-content h2 {
      font-size: 2.4rem;
    }
  
    .section-title {
      font-size: 1.8rem;
    }
  
    .hero-content p {
      font-size: 1.1rem;
    }
  
    .gallery-section {
      padding: 4rem 0;
    }
  
    .gallery-grid,
    .masonry-grid {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
  
    .image-container {
      height: 280px;
    }
  }
  
  @media (max-width: 768px) {
    .desktop-filters {
      display: none;
    }
  
    .mobile-filter {
      display: block;
    }
  
    .gallery-grid,
    .masonry-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  
    .hero-content h2 {
      font-size: 2rem;
    }
  
    .hero-section {
      padding: 6rem 1rem;
    }
  
    .hero-buttons {
      flex-direction: column;
      gap: 1rem;
    }
  
    .btn {
      width: 100%;
    }
  
    .section-title {
      font-size: 1.6rem;
    }
  
    .cta-content h2 {
      font-size: 1.8rem;
    }
  
    .footer-container {
      grid-template-columns: 1fr;
    }
  
    .image-container {
      height: 250px;
    }
  }
  
  @media (max-width: 576px) {
    .gallery-grid,
    .masonry-grid {
      grid-template-columns: 1fr;
    }
  
    .section-title {
      font-size: 1.5rem;
    }
  
    .header-container {
      padding: 0 1rem;
    }
  
    .logo h1 {
      font-size: 1.6rem;
    }
  
    .section-subtitle {
      font-size: 0.95rem;
    }
  
    .stat-item {
      padding: 2rem 1rem;
    }
  
    .stat-number {
      font-size: 2rem;
    }
  
    .back-to-top {
      width: 40px;
      height: 40px;
      right: 1rem;
      bottom: 1rem;
    }
  
    .image-container {
      height: 280px;
    }
  }

