*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.products-page{
    font-family: 'Poppins', cursive;
    margin-bottom: 20px;
}

.about-head-info{
      font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: -0.5rem;
    position: relative;
    color: #b60000;
    padding: 14p

}

.index {
  max-width: 900px;
  margin: 3px auto;
  font-family: Arial, sans-serif;
  padding: 20px;
}

.index-head p {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff3434;
}
.index-head {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #b60000;
  margin-bottom: 2rem;
  position: relative; /* Needed for ::after to align correctly */
}

.index-head::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffc107;
  margin: 10px auto 0;
  border-radius: 10px;
}

.card-container {
   display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1300px;
  margin: auto;   
}

.card {
  flex: 1 1 220px;  
  max-width: 260px; 
  background: #ffffff;
  border-radius: 18px;
  padding: 46px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
  cursor: pointer;
}


.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.3s; }
.card:nth-child(3) { animation-delay: 0.5s; }
.card:nth-child(4) { animation-delay: 0.7s; }
.card:nth-child(5) { animation-delay: 0.9s; }

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
}


.card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.card p {
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-section {
  gap: 2.5rem;
  padding: 5px;
  max-width: 1300px;
  margin: 0 auto;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 4rem;
  text-align: center;
  color: #b60000; /* Deep blue for emphasis */
  letter-spacing: 0.05em;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffc107;
  margin: 10px auto 0;
  border-radius: 10px;
}

.services-container {
  display: flex;
  flex-direction: row;
  gap: 2.8rem;
}

.service-card {
  border-left: 5px solid #ff2c00; 
  padding: 1.8rem 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(91, 141, 239, 0.12);
  transition: box-shadow 0.1s ease;
  cursor: pointer;
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
 /* Ensures consistent height in grid layouts */
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #b60000;
}

.service-card p {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: auto; /* Pushes link to bottom */
}

.service-card a {
  margin-top: 1.5rem;
  align-self: flex-start;
  text-decoration: underline;
  color: #0b26bd;
  /* font-weight: 600; */
  transition: background-color 0.3s ease;
}


/* === Tablet View (max-width: 992px) === */
@media (max-width: 768px) {
  .card-container,
  .services-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    flex: 1 1 45%;
    max-width: 100%;
    padding: 32px;
    margin-bottom: 1.5rem;
  }

  .service-card {
    flex: 1 1 100%;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .card p,
  .service-card p {
    font-size: 1rem;
  }

  .service-card h3 {
    font-size: 1.25rem;
  }
}

/* Mobile navbar hidden by default */
@media (max-width: 1200px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1001;
  }

 

  .container {
    display: none;
    flex-direction: column;
    background-color: #fff;
    padding: 1rem;
    border-top: 2px solid red;
  }

  .container.active {
    display: flex;
    background: linear-gradient(to right, red, yellow);
  }

  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-link {
    font-size: 18px;
    border: none;
    padding: 10px;
    color: red;
  }

  .nav-link:hover {
    background-color: red;
    color: yellow;
    border-radius: 8px;
  }
}
/* === Mobile View (max-width: 600px) === */
@media (max-width: 600px) {
  .about-head-info,
  .section-title,
  .index-head {
    font-size: 1.6rem;
  }
      

  .card-container,
  .services-container {
    flex-direction: column;
    padding: 1rem;
  }

  .card {
    padding: 24px;
    margin: 1rem auto;
    width: 100%;
    max-width: 320px;
  }

  .card-icon {
    width: 70px;
    height: 70px;
  }

  .service-card {
    width: 100%;
    padding: 1.2rem;
  }

  .index-head p {
    font-size: 1.2rem;
  }

  .card p,
  .service-card p {
    font-size: 0.95rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }
}
