.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
body.dark .dropdown {
  background-color: #333;
  border: 1px solid #555;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

body.dark .dropdown a {
  color: #fff;
  border-bottom-color: #555;
}

body.dark .dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 700;
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  margin: 20px 0;
}

.service-card.expanded .service-features {
  opacity: 1;
  max-height: 300px;
}

.service-features ul {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #555;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

/* Dark mode styles */
body.dark .service-card {
  background: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark .service-card h3 {
  color: #ffffff;
}

body.dark .service-card p {
  color: #bbb;
}

body.dark .service-features li {
  color: #ccc;
}

/* ===== FOOTER STYLES ===== */
footer {
  background: #111827;
  color: #fff;
  padding: 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  color: #0077b6;
  font-size: 1.2rem;
}

.footer-col a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #0077b6;
}

.footer-col p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #0077b6;
}

.footer-credit {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-icons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-col p {
    text-align: center;
    justify-content: center;
  }
}