/* Base Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
.container {
  padding: 20px;
}

/* Header */
header {
  background: #f8f9fa;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}
header img {
  height: 60px;
  transition: transform 0.3s ease;
}
header img:hover {
  transform: scale(1.05);
}
header h1 {
  font-size: 1.5rem;
}

/* Navbar */
nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav a:hover,
nav a.active {
  color: #007bff;
  font-weight: 700;
  border-bottom: 2px solid #007bff;
}
.navbar-nav {
  gap: 1rem;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  header h1 {
    font-size: 1.2rem;
  }
}

/* Sections */
section {
  padding: 60px 20px;
  scroll-margin-top: 100px; /* Fix nav scroll offset */
  transition: background-color 0.3s ease;
}
section:hover {
  background-color: #f1f1f1;
}
h2 {
  animation: fadeInDown 1s ease-in-out;
}

/* Footer */
footer {
  background: #343a40;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  margin: auto;
}
input, textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
button {
  padding: 10px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #0056b3;
}

/* Contact */
.contact-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px;
  margin-top: 20px;
  transition: transform 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
}
.contact-form {
  margin-top: 30px;
}
iframe {
  width: 100%;
  height: 400px;
  border: 1px solid #ccc;
  border-radius: 12px;
}

/* Testimonials */
.testimonial-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
}
.testimonial-card img {
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.star-rating {
  color: #f8c12c;
}

/* Video */
video {
  width: 100%;
  border-radius: 0.5rem;
}

/* Legal Docs */
.legal-docs {
  margin-top: 30px;
}
.legal-docs iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  padding: 12px;
  border-radius: 50%;
  font-size: 24px;
  z-index: 1000;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}
.whatsapp-float:hover {
  background-color: #1ebea5;
  text-decoration: none;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Carousel container fixed height and centered content */
.carousel-inner {
  height: 100%;
  background-color: #000; /* optional */
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Images scale to fit fully inside carousel */
.carousel-inner img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Smaller, transparent carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 30px;
  height: 30px;
  opacity: 0.5;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.3));
  transition: opacity 0.3s;
  position: absolute;
  top: 50%; /* vertically center */
  transform: translateY(-50%); /* adjust to true center */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* Smaller icon size */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 30px 30px;
}
.carousel-control-prev {
  left: 10px; /* or whatever spacing you prefer */
}

.carousel-control-next {
  right: 10px;
}
section h2 + hr {
  margin-top: -10px;
  margin-bottom: 30px;
}





