/* Global Styles */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  padding-top: 100px; /* Adjust for fixed navbar and announcement bar */
}

/* Announcement Bar */
.announcement-bar {
  background: #18070a;
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  align-items: center;
  position: fixed;
  padding: 5px;
  top: 0;
  width: 100%;
  z-index: 1050;
  height: 40px;
  overflow: hidden;
}
.scroll-text {
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  font-size: 18px;
  font-weight: 500;
  animation: scrollText 12s linear infinite;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 40px; /* Adjust below announcement bar */
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}
.navbar-brand img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.navbar .nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  transition: color 0.3s ease;
}
.navbar .nav-link:hover {
  color: #ac0e28;
  text-decoration: underline;
}
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999; /* Ensures dropdown is on top of navbar */
}
.dropdown-item:hover {
  background: #ac0e28;
  color: #fff;
}
.dropdown-menu .dropdown-submenu {
  position: relative;
}

.dropdown-menu .dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
}

.dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* Hover Effects */
.nav-link:hover {
  color: #ac0e28 !important;
}

.dropdown-menu a:hover {
  background-color: #ac0e28;
  color: white !important;
}
.navbar-nav .nav-link:hover {
  color: #ac0e28 !important;
  text-decoration: underline;
  transform: scale(1.1);
}
/* Hero Section */
.hero {
  background: url("https://res.cloudinary.com/dcbay0nwt/image/upload/t_My Logo/v1733463151/6_gpea1q.jpg")
    no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.hero p {
  font-size: 1.2rem;
  margin-top: 20px;
}
.hero .btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1.1rem;
  background: #ac0e28;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}
.hero .btn:hover {
  background: #ac0e28;
}

.responsive-img-container {
  height: 85vh; /* Default height */
}

@media (max-width: 992px) {
  .responsive-img-container {
    height: 40vh; /* Tablets */
  }
}

@media (max-width: 576px) {
  .responsive-img-container {
    height: 30vh; /* Mobile */
  }
}

.card {
  transition: all 0.3s ease-in-out;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card img {
  transition: transform 0.3s ease-in-out;
}

.card:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 2.5rem;
}

.card-text {
  color: #495057;
  font-size: 1rem;
  line-height: 1.5;
}

.btn-primary {
  transition: all 0.3s ease;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-color: #ff002f;
}

.btn-primary:hover {
  background-color: #ff002f;
  transform: translateY(-2px);
}

.transform-on-hover {
  overflow: hidden;
  position: relative;
}

.card {
  transition: all 0.3s ease-in-out;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card img {
  transition: transform 0.3s ease-in-out;
}

.card:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 2.5rem;
}

.card-text {
  color: #495057;
  font-size: 1rem;
  line-height: 1.5;
}

.btn-outline-primary {
  transition: all 0.3s ease;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-color: #ff002f;
}

.btn-outline-primary:hover {
  background-color: #ff002f;
  transform: translateY(-2px);
}

.transform-on-hover {
  overflow: hidden;
  position: relative;
}

/* WhatsApp Button Styles */
.whatsapp-container {
  position: fixed;
  bottom: 30px; /* Adjust as needed */
  right: 30px; /* Adjust as needed */
  z-index: 999;
}

.whatsapp-button {
  background-color: #10ae4a; /* WhatsApp green color */
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition:
    background-color 0.3s,
    transform 0.3s;
  font-size: 32px; /* Adjust icon size */
}

.whatsapp-button:hover {
  background-color: #128c7e; /* Darker shade on hover */
  transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Tooltip Styles */
.tooltip {
  visibility: hidden;
  width: 150px; /* Adjust width */
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px; /* Increase padding */
  position: absolute;
  bottom: 50%; /* Position above the button */
  right: 110%; /* Position to the right */
  transform: translateY(50%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
  font-size: 16px; /* Larger font size */
}

.whatsapp-container:hover .tooltip {
  visibility: visible;
  opacity: 1; /* Show tooltip on hover */
}

h1 {
  font-weight: bold;

  animation: fadeIn 1s ease-in;
}

.divider {
  width: 100px;
  height: 3px;
  background: #ac0e28; /* Accent color */
  border-radius: 2px;
  animation: grow 1s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes grow {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}
