/* Reset and base styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #ef4444;
    --secondary: #1A1A1A;
    --text: #666666;
    --light-bg: #F8F8F8;
    --white: #FFFFFF;
    --color-text: #000000;
    --except-color: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
  }
  
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Header styles */
  .header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../images/divers.png");
    background-size: cover;
    background-position: center;
    color: white;
  }
  
  .hero {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
  }
  
  .breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
  }

  .breadcrumb a:hover {
    color: #bfbfbf;
  }
  
  .breadcrumb .breadService {
    font-weight: 500;
    color: var(--except-color);
  }
  
  /* Features section */
  .features {
    padding: 2.5rem 0;
    background-color: #f3f4f6;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: box-shadow 0.3s;
  }
  
  .feature-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  
  .icon-wrapper {
    display: inline-flex;
    padding: 1rem;
    background-color: #fef2f2;
    border-radius: 9999px;
    margin-bottom: 1rem;
  }
  
  .icon-wrapper i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--except-color);
  }
  
  .feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--except-color);
  }
  
  /* Services section */
  .services {
    padding: 4rem 0;
    background: white;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--except-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }
  
  .section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .service-card {
    background: white;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s;
  }

  .service-card.hidden {
    display: none;
  }
  
  .service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  
  .image-container {
    position: relative;
    height: 15rem;
    overflow: hidden;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  
  .service-card:hover .image-container img {
    transform: scale(1.05);
  }
  
  .content {
    padding: 1.5rem;
    position: relative;
  }
  
  .icon-circle {
    position: absolute;
    top: -1.5rem;
    left: 1.5rem;
    width: 3em;
    height: 3em;
    background: rgb(220, 212, 212);
    padding: 0.75rem;
    border-radius: 70%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .icon-circle i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--except-color);
  }
  
  .content h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
  }
  
  .content p {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  
  .learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--except-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
  }
  
  .learn-more:hover {
    color: var(--except-color);
  }
  
  .learn-more i {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
    transition: transform 0.2s;
  }
  
  .learn-more:hover i {
    transform: translateX(0.25rem);
  }

  /* Show more button */
  .show-more-container {
    text-align: center;
    margin-top: 2rem;
  }

  .show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.60rem 1.5rem;
    background-color: var(--except-color);
    color: white;
    border: none;
    /* border-radius: 0.375rem; */
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .show-more-btn:hover {
    background-color: #dc2626;
  }

  .show-more-btn i {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  /* Footer styles */
  .footer {
    background-color: #111827;
    color: white;
    padding: 2rem 0 2rem;
  }
  
  
  .footer-bottom {
    /* padding-top: 2rem; */
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }
  
    .nav-links.active {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background-color: #111827;
      padding: 1rem;
    }
  
    .mobile-menu-btn {
      display: block;
    }
  
    .hero h1 {
      font-size: 2rem;
    }
  
    .section-header h2 {
      font-size: 1.875rem;
    }
  }


 /* Start button scroll Up */

 .back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}




.back-to-top:hover {
  background-color: #ef4444bb;;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
  font-size: 20px;
}

@media (max-width: 768px) {
  .back-to-top {
      width: 40px;
      height: 40px;
      bottom: 20px;
      left: 20px;
  }
  
  .back-to-top i {
      font-size: 16px;
  }
}
