/* Global Styles */
body, html {
  height: 100%;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Navbar Custom Styles */
.navbar {
  background-color: #ffffff;
  transition: background-color 0.3s ease-in-out;
}

.navbar-nav .nav-link {
  color: #333;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #ff8c00;
}

.navbar-brand img {
  height: 40px;
  transition: transform 0.3s ease-in-out;
}

.navbar-brand img:hover {
  transform: rotate(360deg);
}

.navbar-toggler {
  border: none;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%2833, 37, 41%2C 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Animate Navbar on Scroll */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Background Video */
.background-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.background-video video {
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Overlay */
.overlay {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  animation: fadeIn 1.5s ease-in-out;
}

/* Title Animation */
.title {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.title .letter {
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 6rem;
  display: inline-block;
  color: white;
  animation: slideInUp 0.5s ease forwards;
}

.title .letter:hover {
  background: linear-gradient(90deg, #ff0080, #ff8c00, #ff0e9d, #00ff85);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  transform: scale(1.1);
}

/* Subtitle */
.subtitle {
  font-size: 2rem;
  margin-top: 10px;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 0.5s;
}

/* Quote Animation */
.quote {
  font-size: 1rem;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-style: italic;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 1s;
}

.quote::after {
  content: '';
  display: block;
  margin: 5px auto 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, #ff0080, #ff8c00, #ff0e9d, #00ff85);
  animation: expandWidth 1s ease-in-out forwards;
  animation-delay: 1.5s;
}

/* Content Section */
.content-section {
  padding: 100px 20px;
  background-color: #f4f4f4;
  color: #333;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.content-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.content-section p {
  margin-bottom: 25px;
  line-height: 1.6;
}

.about-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #bfbebe;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.about-button:hover {
  background-color: #ff8c00;
}

/* Recommended Services Section */
.recommended-services-section {
  padding: 50px 20px;
  background-color: #f4f4f4;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.recommended-services-section h2 {
  background: transparent;
  color: black;
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  transition: color 0.3s ease;
}

.recommended-services-section h2:hover {
  background: linear-gradient(135deg, rgba(255, 165, 0, 1) 0%, rgba(211, 211, 211, 1) 50%, rgba(0, 0, 0, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.recommended-services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.recommended-service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: fadeInUp 0.5s ease forwards;
}

.recommended-service-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, rgba(211, 211, 211, 1) 0%, rgba(0, 0, 0, 1) 100%);
  color: white;
  text-decoration: none;
}

.recommended-service-card img {
  width: 50px;
  margin-bottom: 15px;
}

.recommended-service-card h3 {
  font-size: 1.5rem;
  margin: 10px 0;
  transition: color 0.3s ease;
}

.recommended-service-card p {
  font-size: 1rem;
  color: #666;
  transition: color 0.3s ease;
}

.recommended-service-card:hover h3,
.recommended-service-card:hover p {
  color: white;
}

/* Testimonials Section */
.testimonials-section {
  padding: 50px 20px;
  background-color: #f4f4f4;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.testimonials-title {
  background: transparent;
  color: black;
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  transition: color 0.3s ease;
}

.testimonials-title:hover {
  background: linear-gradient(135deg, rgba(255, 165, 0, 1) 0%, rgba(211, 211, 211, 1) 50%, rgba(0, 0, 0, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.testimonial-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: fadeInUp 0.5s ease forwards;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, rgba(211, 211, 211, 1) 0%, rgba(0, 0, 0, 1) 100%);
  color: white;
  text-decoration: none;
}

.testimonial-card h3 {
  font-size: 1.5rem;
  margin: 10px 0;
  transition: color 0.3s ease;
  color: #2c3e50;
}

.testimonial-card p {
  font-size: 1rem;
  color: #666;
  transition: color 0.3s ease;
}

.testimonial-card:hover h3,
.testimonial-card:hover p {
  color: white;
}

.feedback {
  color: #555;
  margin-bottom: 15px;
  font-size: 1em;
}

.designation {
  font-style: italic;
  color: #34495e;
  margin-bottom: 10px;
}

.stars {
  color: gold;
  font-size: 24px;
}

/* Footer Styles */
.custom-footer {
  background-color: #1a1a1a;
  color: white;
  padding: 40px 20px;
  text-align: left;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  margin: 10px;
}

.footer-section h4 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #ff8c00;
}

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ff8c00;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from { width: 0%; }
  to { width: 100%; }
}

/* Scroll Animations */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 1s;
}

[data-aos="fade-up"] {
  transform: translateY(20px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .title .letter {
    font-size: 4rem;
  }

  .content-section {
    padding: 50px 20px;
  }

  .content-section h2 {
    font-size: 2rem;
  }

  .recommended-services-section h2,
  .testimonials-title {
    font-size: 2rem;
  }

  .recommended-service-card,
  .testimonial-card {
    width: 100%;
  }
}

/* Navbar Scroll Effect with JavaScript */
