body {
  font-family: 'Segoe UI', sans-serif;
}

.card-title {
  font-weight: bold;
}

.navbar-brand {
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
}

/* carousel start */
.carousel-caption.custom-caption {
    background: rgba(0, 0, 0, 0.5); /* Optional: semi-transparent background */
    padding: 1.5rem;
    border-radius: 0.5rem;
  }

  /* Desktop view: Bottom aligned, large text */
  @media (min-width: 768px) {
    .carousel-caption.custom-caption {
      bottom: 30px;
      top: auto;
      transform: none;
      text-align: left;
      left: 5%;
      right: auto;
    }

    .carousel-caption.custom-caption h5 {
      font-size: 2.5rem;
      font-weight: bold;
    }

    .carousel-caption.custom-caption p {
      font-size: 1.2rem;
    }
  }

  /* Mobile view: Center aligned, smaller text */
  @media (max-width: 767px) {
    .carousel-caption.custom-caption {
      top: 50%;
      bottom: auto;
      transform: translateY(-50%);
      text-align: center;
    }

    .carousel-caption.custom-caption h5 {
      font-size: 14px;
      font-weight: 500;
    }

    .carousel-caption.custom-caption p {
      font-size: 12px;
    }
  }

/* carousel end */

/* services cards styles */
.service-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }

    .service-card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .service-card a.stretched-link {
        z-index: 1;
    }

/* features styles on home page*/
.feature-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* chat box styles */

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.shake {
    animation: shake 0.5s;
}
