html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  height: 60vh;
  min-height: 450px;
  overflow: hidden;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.hero-carousel h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease;
}

.hero-carousel p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease 0.6s both;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  right: 20px;
  left: auto;
}

.carousel-control-next {
  left: 20px;
  right: auto;
}

.carousel-indicators {
  bottom: 30px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* Slide-specific backgrounds */
.slide-1 {
  background-image: url("../img/images/index hero 1.png");
}

.slide-2 {
  background-image: url("../img/images/index hero 2.jpeg");
}

.slide-3 {
  background-image: url("../img/images/index hero 3.jpeg");
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-carousel {
    height: 80vh;
    min-height: 500px;
  }

  .hero-carousel h1 {
    font-size: 2.5rem;
  }

  .hero-carousel p {
    font-size: 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .hero-carousel {
    height: 70vh;
    min-height: 400px;
  }

  .hero-carousel h1 {
    font-size: 2rem;
  }
}

.section-title {
  position: relative;
  margin-bottom: 50px;
  color: var(--secondary-color);
  font-weight: 700;
}



@keyframes lineGrow {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}
/* Services Section Styles */
  .carousel-controls .carousel-control-prev,
  .carousel-controls .carousel-control-next {
    position: static;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
  }



  .carousel-controls .carousel-control-prev-icon,
  .carousel-controls .carousel-control-next-icon {
    filter: brightness(0) invert(1);
    width: 20px;
    height: 20px;
  }

  .carousel-indicators {
    position: static;
    margin: 15px 0 25px;
  }

  .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    margin: 0 5px;
    transition: all 0.3s;
  }

  .carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
  }
/* Services Section - Mobile View */
@media (max-width: 767.98px) {
  .services-section {
    padding: 2rem 0;
  }

  .services-container {
    padding: 0;
  }

  .service-card {
    margin-bottom: 20px;
  }

  .service-card .card-body {
    padding: 1.5rem;
  }

  .service-icon {
    font-size: 2rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  /* Hide carousel controls on mobile */
  .services-container .carousel-controls {
    display: none;
  }
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  position: relative;
  overflow: visible;
  background-color: #f8f9fa;
}

.services-container {
  position: relative;
  padding: 20px 0 40px;
  margin: 0 -15px;
}

.service-card {
  border: none;
  border-radius: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 18px rgba(192, 227, 255, 0.3);
  height: 100%;
  margin-bottom: 30px;
  transform: translateY(0);
  background-color: white;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(65, 174, 217, 0.25);
  z-index: 10;
}

.service-card .card-body {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card .card-text {
  flex-grow: 1;
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2);
}

.card-title {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Carousel adjustments */
.services-carousel .carousel-inner {
  padding: 50px 0;
  min-height: 450px;
}

/* Navigation controls */
.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  gap: 15px;
}

.testimonial-prev,
.testimonial-next {
  position: relative;
  width: auto;
  height: auto;
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
}

.testimonial-control-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  transition: all 0.3s ease;
}

.testimonial-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.testimonial-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.testimonial-prev:hover .testimonial-prev-icon,
.testimonial-next:hover .testimonial-next-icon {
  background-color: var(--secondary-color);
}

/* Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .services-section {
    padding: 3rem 0;
  }

  .service-card {
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .services-carousel .carousel-inner {
    min-height: 500px;
  }

  .service-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-icon {
    font-size: 2rem;
  }

  .card-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 2rem 0;
  }

  .service-card .card-body {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Counter Section */
.counter-section {
  background-color: var(--secondary-color);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-image: url("path-to-your-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* optional - creates parallax effect */
}

.counter-section:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(5, 50, 68, 0.7) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 0;
}

.counter-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.counter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  border-color: rgba(65, 174, 217, 0.3);
}

.counter-card:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  z-index: -1;
  transition: all 0.5s ease;
  opacity: 0;
}

.counter-card:hover:before {
  animation: shine 1.5s;
}

@keyframes shine {
  0% {
    left: -50%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

.counter-icon {
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.counter-card:hover .counter-icon {
  transform: scale(1.1);
}

.counter {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 15px 0;
  display: block;
  transition: all 0.3s ease;
}

.counter-line {
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 20px auto;
  transition: all 0.3s ease;
}

.counter-card:hover .counter-line {
  width: 100px;
  background: white;
}


/* Testimonials Section - Mobile View */
@media (max-width: 767.98px) {
  .testimonials-section {
    padding: 2rem 0;
  }

  .testimonial-card {
    margin-bottom: 20px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }

  /* Hide carousel controls on mobile */
  .testimonial-controls {
    display: none !important;
  }

  /* Adjust spacing for stacked testimonials */
  .testimonial-card .card-body {
    padding: 1.5rem;
  }
}

/* Testimonials Section - Desktop/Tablet View */
@media (min-width: 768px) {
  .testimonial-controls {
  display: flex;
  justify-content: flex-end; /* This moves content to the right */
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}
}


/* Testimonials */
/* Testimonials Section */
.testimonials-section {
  position: relative;
}

.testimonial-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 7px 16px rgba(192, 227, 255, 0.25);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(65, 174, 217, 0.15);
}

.testimonial-quote {
  color: var(--primary-color);
  opacity: 0.3;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  margin-bottom: 1rem;
}

.testimonial-author h5 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: #777;
  font-size: 0.85rem;
}

/* Testimonial Carousel - Unique Classes */
.testimonial-carousel {
  position: relative;
}

.testimonial-controls {
  display: flex;
  justify-content: flex-end; /* Moves content to the right */
  align-items: center;
  margin-bottom: 20px;
}


.testimonial-prev,
.testimonial-next {
  position: relative;
  width: auto;
  height: auto;
  display: inline-block;
  background: none;
  border: none;
}

.testimonial-control-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  transition: all 0.3s ease;
}

.testimonial-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.testimonial-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.testimonial-prev:hover .testimonial-prev-icon,
.testimonial-next:hover .testimonial-next-icon {
  background-color: var(--secondary-color);
}

.testimonial-indicators {
  display: inline-block;
  margin: 0 15px;
}

.testimonial-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  border: none;
  margin: 0 8px;
  transition: all 0.3s;
}

.testimonial-indicators button.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}


/* Responsive Adjustments */
@media (max-width: 992px) {
  .testimonial-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 1.8rem;
  }

  .testimonial-card {
    padding: 20px;
  }
}

/* Features Section */
.feature-box {
  text-align: center;
  padding: 40px 25px;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 7px 16px rgba(192, 227, 255, 0.25);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-box:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 0;
  z-index: -1;
  transition: all 0.4s ease;
}

.feature-icon {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
  transform: rotateY(180deg);
}

/* Project Cards */
.project-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   box-shadow: 0 7px 16px rgba(192, 227, 255, 0.25);
  height: 100%;
}

.project-card img {
  transition: all 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card .card-body {
  position: relative;
  z-index: 1;
}

.project-card:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover:after {
  opacity: 1;
}

.project-card .card-title {
  transition: all 0.3s ease;
}

.project-card:hover .card-title {
  color: rgb(9, 8, 8);
}

/* Buttons */
.btn {
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

  /* Investment button positioning */
  .btn-primary.mt-auto {
    margin-right: 40px;
    align-self: flex-end;
  }

  /* Mobile investment button improvements */
  @media (max-width: 768px) {
    .btn-primary.mt-auto {
      margin-right: 0;
      margin-top: 15px;
      align-self: flex-end;
      width: auto;
      min-width: 160px;
      max-width: 200px;
    }
  }

.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #3a9cc8;
  border-color: #3a9cc8;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(65, 174, 217, 0.3);
}

.btn-whatsapp {
  background-color: var(--accent-color);
  color: white;
}

.btn-whatsapp:hover {
  background-color: #1da851;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.3);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(65, 174, 217, 0.3);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

footer:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(65, 174, 217, 0.1) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 0;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  display: inline-block;
}

.footer-links a:after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(-5px);
}

.footer-links a:hover:after {
  width: 100%;
  right: auto;
  left: 0;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: white;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 7px 18px rgba(65, 174, 217, 0.35);
}

.payment-methods img {
  height: 30px;
  margin-left: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.7;
}

.payment-methods img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
   box-shadow: 0 7px 16px rgba(192, 227, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.contact-form:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
}

/* Mobile Contact Form Improvements */
@media (max-width: 768px) {
  .contact-form {
    padding: 25px 20px;
    margin: 0 15px;
    border-radius: 12px;
  }

  .contact-form .btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a9cc8 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(65, 174, 217, 0.2);
    transition: all 0.3s ease;
  }

  .contact-form .btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 10px rgba(65, 174, 217, 0.3);
  }
}

.form-control {
  border-radius: 8px;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
   box-shadow: 0 7px 16px rgba(192, 227, 255, 0.25);
}

.form-label {
  position: absolute;
  right: 15px;
  top: 12px;
  color: #6c757d;
  transition: all 0.3s;
  pointer-events: none;
  background-color: white;

  padding: 0 5px;
  border-radius: 4px;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  top: -10px;
  right: 10px;
  font-size: 12px;
  color: var(--primary-color);
  transform: translateY(0);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--accent-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  color: white;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.35);
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile Button Optimizations */
@media (max-width: 768px) {
  /* Hero Buttons Mobile Styles */
  .hero-buttons {
    flex-direction: column !important;
    align-items: center;
    gap: 15px !important;
    width: 100%;
    padding: 0 25px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s ease;
  }

  .hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a9cc8 100%);
    color: white;
  }

  .hero-buttons .btn-whatsapp {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1da851 100%);
    color: white;
  }

  .hero-buttons .btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
  }

  /* Button hover effects for mobile */
  .hero-buttons .btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .hero-buttons .btn-primary:active {
    background: linear-gradient(135deg, #3a9cc8 0%, var(--primary-color) 100%);
  }

  .hero-buttons .btn-whatsapp:active {
    background: linear-gradient(135deg, #1da851 0%, var(--accent-color) 100%);
  }

  .hero-buttons .btn-outline-light:active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
  }

  /* Other mobile adjustments */
  .hero-section {
    padding: 100px 0;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    left: 20px;
  }

  .feature-box,
  .service-card,
  .counter-card {
    margin-bottom: 20px;
  }

  .testimonial-box {
    margin: 0 5px;
  }

  .client-img-container {
    width: 60px;
    height: 60px;
  }
}

/* Mobile Small Screens - Extra Optimization */
@media (max-width: 576px) {
  .hero-buttons {
    padding: 0 15px;
  }

  .hero-buttons .btn {
    max-width: 300px;
    padding: 15px 25px;
    font-size: 17px;
    margin-bottom: 3px;
  }

  .hero-carousel h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-carousel p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  /* Investment buttons and other CTA buttons */
  .btn-primary.mt-auto,
  .text-center .btn {
    width: auto;
    min-width: 180px;
    max-width: 220px;
    margin: 0;
    margin-right: auto;
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 8px;
  }

  /* Counter section buttons */
  .counter-section .btn {
    width: auto;
    min-width: 180px;
    margin: 5px;
  }
}

/* Touch-friendly improvements for all mobile devices */
@media (max-width: 768px) {
  /* Improve touch targets */
  .btn {
    min-height: 44px; /* Apple recommended touch target size */
    min-width: 44px;
  }

  /* Add subtle pulse animation for important buttons */
  .hero-buttons .btn-primary {
    animation: subtlePulse 3s infinite;
  }
}

@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 6px 20px rgba(65, 174, 217, 0.2);
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/images/maplying.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}