/* Grid Layout companies-all-page */
.companies-all-page .companies-section .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr)) !important;
  gap: 25px;
}





.companies-all-page .companies-section{
    padding: 5px 0px !important;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  text-align: justify;
} 
.services-grid a {
    text-decoration: none;
    cursor: pointer;
}

.service-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  font-size: 1.1rem;
  margin: 10px 0;
}

.service-card h3 .icon-link {
  margin-left: 8px;
  color: #006699;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.service-card h3 .icon-link.whatsapp {
  color: #25D366; /* WhatsApp green */
}

.service-card h3 .icon-link:hover {
  color: #ff6600; /* hover effect */
}
.service-card span{ 
    position: relative;
    top: 12px;
}

.service-card span img {
    height: 30px;
    width: 30px;
}
.services-section{
  background: var(--white);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
  }
  .service-card{
        width: 56%;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 per row */
  }
  .service-card{
        width: 56%;
  }
}

.heading-flex {
    display: flex;
    justify-content: space-between; /* left side & right side */
    align-items: center;            /* vertical alignment */
    gap: 10px;                      /* spacing */
}

.heading-flex .left img {
    width: 24px;   /* adjust icon size */
    height: 24px;
    margin-left: 8px;
    vertical-align: middle;
}


@media (max-width: 992px) {
  .companies-all-page .companies-section .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(570px, 1fr)) !important;
      gap: 25px;
  }
}

@media (max-width: 400px) {

  .companies-all-page .companies-section .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)) !important;
      gap: 25px;
  }

}

@media (max-width: 360px) {

  .companies-all-page .companies-section .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)) !important;
      gap: 25px;
  }

}


