/* Hero Section */
.home-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 30px 20px 100px;
}

.text-container {
  flex: 1;
  padding-right: 20px;
}

.text-container h1 {
  font-size: 2.5rem;
  color: rgb(34, 136, 200);
}

.text-container h2 {
  font-size: 4.4rem;
  color: #000000;
}

.text-container .dynamic-text {
  color: rgb(92, 174, 233);
  display: inline-block;
  white-space: nowrap;
}

.dynamic-letter {
  display: inline-block;
  opacity: 0;
  transform: translateX(-50px);
  animation: slide-in 0.5s forwards;
}

.dynamic-letter:nth-child(odd) {
  animation-delay: 0.1s;
}

.dynamic-letter:nth-child(even) {
  animation-delay: 0.2s;
}

@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.image-container {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 10px;
}

/* Services Section */
.services-section {
  padding: 100px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.services-section h2 {
  font-size: 2rem;
  color: #00040c;
  margin-bottom: 10px;
}

.services-section p {
  color: #555555;
  margin-bottom: 40px;
  font-size: 1.5rem;
  font-weight: 400;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-item {
  flex: 1 1 calc(33.333% - 30px);
  max-width: calc(33.333% - 30px);
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.service-item .service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@keyframes text-slide {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.service-item:hover .service-content {
  animation: text-slide 0.5s ease-out forwards;
}

.service-item:hover .service-content {
  transform: scale(1.05);
}

.service-item:hover {
  box-shadow: 0 9px 15px rgb(111, 107, 107);
}

.service-item img {
  width: 60px;
  height: 65px;
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 1.5rem;
  color: #00040c;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.5;
}

.client-text-section {
  text-align: center;
  padding-top: 65px;
}

.client-text-section h2 {
  font-size: 2.5rem;
}

.client-text-section h3 {
  color: #232632;
  font-size: 1.5rem;
  font-weight: 400;
}

.client-logo-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 15px 70px 30px 70px;
}

.client-logo-section img {
  height: 100px;
  width: 200px;
  border-radius: 10px;
  object-fit: contain;
}

.client-logo-section img:hover {
  box-shadow: 0 10px 15px rgb(122, 120, 120);
}

.menu-container {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-button {
  background-image: linear-gradient(101deg, #012d64, #06b0ff);
  color: #fff;
  padding: 20px;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
  box-shadow: 1px 2px 8px #9d9df1;
  height: 60px;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  animation: bounceLogo 1.2s ease-in-out infinite;
}


@media (max-width:650px){
  .menu-button {
    height: 55px;
    width: 55px;
  }
  .menu-container {
    bottom: 15px;
    right: 22px;
  }
}

@keyframes bounceLogo {
  0% {
    transform: scale(1) translateY(0);
  }
  30% {
    transform: scale(1.1) translateY(-10px);
  }
  50% {
    transform: scale(1) translateY(0);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.menu-button:hover {
  transform: scale(1.1);
}

.icon-container {
  position: relative;
  width: 30px;
  height: 50px;
}

.icon-container .fa-comment-dots {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 22px;
  color: #fff;
  z-index: 1;
}

.icon-container .fa-phone {
  position: absolute;
  bottom: 7px;
  left: -8px;
  font-size: 22px;
  color: #fff;
  z-index: 0;
}

.menu {
  display: none;
  flex-direction: column;
  border-radius: 8px;
  /* border: 1px solid #ecf0ee; */
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 200px;
  gap: 10px;
  /* background-color: white; */
  /* box-shadow: 0px 2px 10px rgba(219, 212, 212, 0.1); */
  padding: 10px;
}

.menu.show {
  display: flex;
}

.call-button {
  display: flex;
  align-items: center;
  background-image: linear-gradient(101deg, #012d64, #06b0ff);
  border-radius: 10px;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
  outline: none;
}

.call-button:hover {
  background-color: #08738e;
}

.call-button a {
  color: inherit;
  text-decoration: none;
  margin-left: 10px;
}

.phone-icon {
  transform: rotate(5deg);
  color: white;
  font-size: 20px;
}

.whatsapp-icon {
  color: white;
  font-size: 20px;
}

/* Responsive Styles */

@media (max-width: 1024px) {
  .home-section {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }

  .text-container {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .text-container h1 {
    font-size: 2rem;
  }

  .text-container h2 {
    font-size: 2.5rem;
  }

  .image-container {
    justify-content: center;
    align-items: center;
  }

  .image-container img {
    max-height: 300px;
  }

  .services-section {
    padding: 50px 20px;
  }

  .services-list {
    gap: 20px;
  }

  .service-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  .client-logo-section {
    gap: 20px;
    padding: 20px;
  }

  .client-logo-section img {
    height: 80px;
    width: auto;
  }
}

@media (max-width: 360px) {
  .client-text-section h2 {
    font-size: 1.8rem !important;
  }
  .client-text-section h3 {
    font-size: 1rem !important;
  }
  .services-section h2 {
    font-size: 1.7rem !important;
  }
  .services-section p {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 768px) {
  .home-section {
    padding: 20px;
  }

  .text-container h1 {
    font-size: 1.8rem;
  }

  .text-container h2 {
    font-size: 2rem;
  }

  .services-section {
    padding: 30px 10px;
  }

  .services-list {
    gap: 15px;
  }

  .service-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .client-logo-section {
    gap: 25px;
    padding: 10px;
  }

  .client-text-section h2 {
    font-size: 2rem;
  }

  .client-text-section h3 {
    font-size: 1.2rem;
    padding: 5px 10px 20px 10px;
  }
}

@media (max-width: 480px) {
  .text-container h1 {
    font-size: 1.5rem;
  }

  .text-container h2 {
    font-size: 1.8rem;
  }

  .services-section {
    padding: 20px 5px;
  }

  .client-logo-section img {
    box-shadow: 0px 2px 5px #929292;
    height: 50px;
    width: 40%;
  }
}
