/* Bootstrap overrides and custom styles */

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #000000;
}

.title {
  color: #CA2027;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

/* Header styles */
.navbar {
  background-color: #ffffff !important;
}

.navbar-brand,
.nav-link {
  color: #3D5F2D !important;
}

.nav-link:hover {
  color: #1B8242 !important;
}

/* Hero Section */
.hero {
  background-image: url('../images/hero.jpg');
  color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.25rem;
}

/* Product Cards */
.card {
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
  border-color: #1B8242;
}

.card-title {
  color: #CA2027;
}

/* Testimonials */
.testimonial {
  color: #fff;
  overflow-x: hidden;
  height: 100%;
  background-image: linear-gradient(180deg, #CA2027, #fff);
  background-repeat: no-repeat;
}

.testimonial-card {
  box-shadow: 0px 4px 8px 0px #BDBDBD;
}

.profile-pic {
  width: 100px !important;
  height: 100px;
  box-shadow: 0px 4px 8px 0px #BDBDBD;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  background: 0 0;
  color: #1E88E5 !important;
  border: none;
  padding: 5px 20px !important;
  font: inherit;
  font-size: 50px !important;
}

.owl-stage {
  margin-top: 50px !important;
}

.owl-carousel .owl-nav.disabled {
  display: block !important;
}

.owl-carousel .owl-item {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
  transform: scale(0.6);
  z-index: 1;
  filter: blur(1px);
}

.owl-carousel .owl-item.active.center {
  /* transform: scale(1.1);
  opacity: 1;
  z-index: 2; */
  filter: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.15) translateY(-10px);
}


/* .owl-carousel .owl-item {
  filter: blur(1px);
}

.owl-carousel .owl-item.active.center {
  filter: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.15) translateY(-10px);
} */

.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover {
  color: #0D47A1 !important;
  background-color: transparent !important;
}

.owl-dots {
  display: none;
}

button:focus {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline-width: 0;
}

.next {
  display: block !important;
  position: relative;
  transform: scale(0.8);
  transition-duration: 0.3s;
  opacity: 0.6;
}

.prev {
  display: block !important;
  position: relative;
  transform: scale(0.8);
  transition-duration: 0.3s;
  opacity: 0.6;
}

.item.show {
  display: block;
  transition-duration: 0.4s;
}

@media screen and (max-width: 999px) {

  .next,
  .prev {
    transform: scale(1);
    opacity: 1;
  }

  .item {
    display: block !important;
  }
}

/* Footer */
.footer {
  background-color: #3D5F2D;
  color: #ffffff;
  padding: 2rem 0;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Decorative divider */
.decorative-divider {
  display: block;
  margin: 2rem auto;
  height: 30px;
  max-width: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease-in-out;
}

.decorative-divider:hover {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .decorative-divider {
    width: auto;
    /* or a fixed value like 400px */
  }
}

/* About Us */
.blockquote {
  padding-left: 1rem;
  color: #3D5F2D;
}

.mission-vision {
  background-color: #CA2027;
  color: #ffffff;
}

/* Contact Us */
.contact-section {
  padding: 20px 20px;
}

.contact-title {
  color: #CA2027;
  font-weight: 700;
  margin-bottom: 30px;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: #3D5F2D;
  margin-bottom: 20px;
}

.contact-block {
  margin-bottom: 40px;
}

.icon {
  color: #1B8242;
  margin-right: 10px;
}

/* Products */
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
}

.product-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  margin: 15px;
  font-size: 1.3rem;
  color: #d35400;
}

.product-card p {
  margin: 0 15px 15px;
  font-size: 0.95rem;
  color: #555;
}