body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(90deg, white, #e6ddda, white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.text-primary {
  color: #0b2240 !important;
}

.btn-primary {
  background-color: #e14504;
  border: none;
}
.btn-primary:hover {
  background-color: #c13a03;
}

.btn-outline-primary {
  color: #e14504;
  border-color: #e14504;
}
.btn-outline-primary:hover {
  background-color: #e14504;
  color: #fff;
}

.navbar-brand img {
  max-height: 40px;
}

.card {
  border: 2px solid #e14504 !important;
  transition: all 0.3s ease-in-out;
}
.card:hover {
  box-shadow: 0 0 15px rgba(225, 69, 4, 0.4);
  transform: scale(1.02);
}
.card-title {
  color: #0b2240;
  font-weight: 600;
}
.card-text, p {
  color: #444;
}

footer {
  background-color: #0b2240;
}
footer p, footer small {
  color: #eee;
}

.bg-light {
  background-color: #f9f9f9 !important;
}

/* Hero Section with Background Video */
.hero-section {
  background: url('img/bloomtech4.mp4') no-repeat center center;
  background-size: cover;
  min-height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.background-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
}

/* SEO-focused header text */
h1 {
  font-weight: bold;
  background: #e14504;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  font-size: 3rem;      /* Default for desktop (~48px) */
  line-height: 1.2;
}

h1 span {
  animation: wave 1.5s infinite;
  animation-delay: calc(0.1s * var(--i));
}

/* Responsive font sizes */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;   /* ~40px */
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;     /* ~32px */
    white-space: normal; /* allow wrapping on smaller screens */
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.75rem;  /* ~28px */
    white-space: normal; /* wrap to avoid overflow */
    text-align: center;
  }
}

@keyframes wave {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-10px); }
}

/* Icon Hover Effect */
.pulse-icon {
  transition: transform 0.3s ease-in-out;
}
.pulse-icon:hover {
  transform: scale(1.2);
}

/* Chatbot floating button */
.chatbot-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}
.chatbot-btn button:hover {
  transform: scale(1.1);
  transition: 0.3s ease-in-out;
}

/* Infinite Loop Slider */
.loop-slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.loop-slider-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: scrollLoop 20s linear infinite;
}
.loop-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s;
}
.loop-slide:hover {
  transform: scale(1.2);
}
.loop-slide img {
  width: 50px;
  height: 50px;
  margin-bottom: 5px;
  object-fit: contain;
}
.loop-slide p {
  font-size: 0.8rem;
  margin: 0;
  color: #0b2240;
}

@keyframes scrollLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
