/* Base Styles */
body .hero {
  height: 50vh !important;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero Header with Background Image */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.0)),
              url('../images/g.jpg') center/cover no-repeat;
  color: #fff;
           /* 👈 makes header half of screen height */
  display: flex;            /* centers content vertically */
  flex-direction: column;
  justify-content: center;  /* centers text vertically */

  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}


/* Floating Logo (if needed) */
.service-logo {
  width: 80px;
  display: block;
  margin: 0 auto;
  animation: float 3s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Services Section Container */
.service-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
}

/* Individual Service Cards */
.service-card {
  flex: 0 1 calc(33.333% - 20px); /* 3 columns */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Service Icon (GIFs or Images) */
.service-icon img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Service Info Text */
.service-info h4 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: #222;
}

.service-info .text-primary {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.service-info p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
  .service-card {
    flex: 0 1 calc(50% - 20px); /* 2 per row on medium screens */
  }
}

@media (max-width: 600px) {
  .service-card {
    flex: 0 1 100%; /* 1 per row on small screens */
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .service-icon img {
    width: 80px;
    height: 80px;
  }
}
