.service-logo {
  height: 30px;
  width: auto;
  margin-left: 10px;
  object-fit: contain;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.ml-2 {
  margin-left: 0.5rem;
}

.database-section {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  background-color: #fff3d4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.iot-section {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  background-color: #ffe6e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.infrastructure-section {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  background-color: #f5f5f5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-block {
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 15px;
  border-radius: 8px;
}

.service-link:hover {
  text-decoration: none;
  color: inherit;
}

.service-link:hover .service-block {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #196db8;
}

/* Add this if you want a subtle background on hover for better visual feedback */
.database-section .service-block:hover {
  background-color: rgba(25, 109, 184, 0.05);
}

.database-section .service-link {
  display: block;
  margin-top: 1.5rem;
}

.database-section .service-link:first-of-type {
  margin-top: 1rem;
}

.database-section .service-block {
  border: 1px solid transparent;
  margin-bottom: 0.5rem;
}

.database-section .service-block:hover {
  border-color: #64b5f6;
  background-color: rgba(255, 255, 255, 0.5);
}

/* Add specific styles for infrastructure section */
.infrastructure-section .service-block {
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.infrastructure-section .service-link:hover .service-block {
  border: 1px solid #196db8;
  background-color: rgba(25, 109, 184, 0.05);
  box-shadow: 0 8px 15px rgba(25, 109, 184, 0.2);
}

/* Add specific styles for iot section */
.iot-section .service-block {
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.iot-section .service-link:hover .service-block {
  border: 1px solid #196db8;
  background-color: rgba(25, 109, 184, 0.05);
  box-shadow: 0 8px 15px rgba(25, 109, 184, 0.2);
}

.iot-section .service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.iot-section .service-link:hover {
  text-decoration: none;
  color: inherit;
}

.infrastructure-block {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.infrastructure-block:hover {
  border: 1px solid #196db8;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .service-logo {
    transform: scale(1.5) !important;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  h4 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.9rem;
  }

  .service-block {
    padding: 0.5rem;
  }

  .container {
    padding: 0.5rem;
  }

  .service-box {
    margin-bottom: 1rem;
  }

  .database-section {
    padding: 1rem !important;
  }

  .infrastructure-block {
    margin-bottom: 1rem;
  }

  .flowise-logo {
    max-height: 25px;
    transform: scale(1.1);
    margin-top: 0.5rem;
    margin-left: 1.5rem;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .mr-2 {
    margin-right: 0.5rem;
  }
}

/* Base styles */
.service-link {
  text-decoration: none;
  color: inherit;
}

.service-link:hover {
  text-decoration: none;
  color: inherit;
}

.service-block {
  transition: transform 0.2s;
}

.service-block:hover {
  transform: translateY(-5px);
}

.flowise-logo {
  max-height: 30px;
  width: auto;
  transform: scale(1.2);
}
