/* GENERAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #fff;
}

/* NAVBAR STYLING */
.navbar .nav-link:hover,
.navbar .nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* HERO SECTION STYLING */
.hero {
  min-height: 90vh;
}

.social-icons a {
  color: white;
  font-size: 24px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffd700;
}

.hero-right lottie-player {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ABOUT US SECTION STYLING */
.about-us {
    border-radius: 20px;
    padding: 60px 20px;
}

.read-more {
    background-color: #660a5e;
    color: white;
    transition: background-color 0.3s ease;
    border: none;
}

.read-more:hover {
    background-color: #cc14bd;
    color: #fff;
}

.about-img, .about-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-img, .about-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-img.animate-fadeInUp {
    opacity: 1;
    transform: translateY(0);
}

.about-text.animate-fadeInDown {
    opacity: 1;
    transform: translateY(0);
}
/* ANIMATE.CSS DURATION */
.animate__animated {
  animation-duration: 1s;
}

/* RESPONSIVE OVERRIDERS IF NEEDED */
@media (max-width: 576px) {
  .hero {
    text-align: center;
  }

  .social-icons a {
    font-size: 20px;
  }
}

/* SERVICES SECTION STYLING */
.services {
  background: linear-gradient(to right, #660a5e, #cc14c3);
}

.service-card {
  background-color: #ffffff;
  color: #660a5e;
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease-out, transform 0.8s ease-out;
  opacity: 0;
  transform: translateY(30px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-card i {
  color: #ffd700;
}

.service-card.animate-fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

.certification {
  background-color: #fff;
  color: #000;
}

/* Horizontal scrolling container adjustment */
.d-flex.flex-nowrap {
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

/* Certificates initial state */
.certificate img {
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateX(-50px);
  max-height: 250px;
  object-fit: contain;
}

/* Show when in viewport */
.certificate.in-view img {
  opacity: 1;
  transform: translateX(0);
}

/* TESTIMONIALS SECTION STYLING */

/* FOOTER SECTION STYLING */
.footer {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer a.footer-link:hover {
  text-decoration: underline;
  color: #cc14c3;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer i {
  color: #cc14c3;
}

/* Responsive adjustments for small devices */
@media (max-width: 767.98px) {
  .footer .d-flex {
    flex-direction: column;
  }

  .footer .form-control {
    margin-bottom: 0.5rem;
  }
}