.new-services-section {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  overflow: hidden; /* Prevent any potential overflow issues */
}

.services-top {
  width: 100%;
  padding: 30px 0;
  border-bottom: 1px solid #1c2026;
  text-align: center;
  margin-bottom: 40px;
}

.services-top h2 {
  font-size: clamp(2rem, 5vw, 3rem); /* Responsive font size */
  color: #333;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.services-top h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #1c2026;
}

.services-top p {
  max-width: 700px;
  margin: 30px auto 0;
  color: #555;
  line-height: 1.6;
  font-size: clamp(1rem, 1.5vw, 1.1rem); /* Responsive text */
}

.services-cards {
  width: 100%;
  padding: 30px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.services-cards .card {
  width: 100%;
  padding: 40px;
  max-width: 300px;
  min-height: auto;
  border-radius: 30px;
  border-top-left-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: white;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  opacity: 0; /* Initial state for animation */
  transform: translateY(30px);
}

/* Card specific border radius */
.services-cards .card:nth-child(2),
.services-cards .card:nth-child(3) {
  border-radius: 30px;
  border-bottom-right-radius: 0;
}

.card .card-top {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card .card-top img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.card .card-top h3 {
  font-weight: 600;
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  padding-bottom: 20px;
  color: #333;
}


/* Hover Effects */
.services-cards .card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card:hover .card-top img {
  transform: scale(1.1) rotate(5deg);
}

/* Animation Classes */
.services-cards .card.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card .card-top h3{
    font-size: 1.5rem;
  }

  .services-cards .card {
    max-width: 100%;
    min-height: 100px;
  }
}

@media (max-width: 480px) {
  .new-services-section {
    padding: 40px 15px;
  }

  .services-cards .card {
    padding: 30px;
    min-height: 100px;
  }
}

/* Contact Us */
.contact-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.contact-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-section h2 > span {
  color: #1c2026;
}

.contact-description {
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #555;
}

.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.info-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 25px;
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.info-card i {
  font-size: 2rem;
  color: #1c2026;
}

.info-card-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.info-card-top p {
  color: #777;
  margin: 0;
  font-size: 0.9rem;
}

.info-card-top span {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
}

.info-card-bottom {
  width: 100%;
}

.info-card-bottom p,
.info-card-bottom a {
  color: #333;
  font-size: 1.1rem;
  margin: 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card-bottom a:hover {
  color: #1c2026;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .info-card {
    width: 100%;
    max-width: 350px;
  }

  .contact-description {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 40px 15px;
    padding-top: 100px;
  }

  .info-card {
    min-width: 100%;
    padding: 20px;
  }
}


/* Footer Styles */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 20px 0;
  font-size: 14px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-text p {
  margin: 0;
  color: #ecf0f1;
}

.copyright-text span {
  font-weight: 600;
}

.quick-links ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.quick-links a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.quick-links a:hover {
  color: #1c2026;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .quick-links ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
  }
}


