@font-face {
  font-family: "Montserrat_Regular";
  src: url("../assets/fonts/Montserrat-Regular.ttf");
}
@font-face {
  font-family: "Montserrat_SemiBold";
  src: url("../assets/fonts/Montserrat-SemiBold.ttf");
}
* {
  font-family: "Montserrat_Regular";
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

#navbar {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#navbar_logo {
  width: 400px;
}

.nav-item {
  font-size: 15px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #000;
  transition: all 0.2s ease;
}

.nav-item:hover {
  border-top: 2px solid #B9252E;
  border-bottom: 2px solid #B9252E;
}

#getquote {
  width: 150px;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
}

#getquote:hover {
  border-radius: 20px;
  color: #fff !important;
  background-color: #B9252E;
  border: 2px solid #B9252E;
}

#search {
  height: 27px;
  width: 27px;
  display: inline-block;
  background-image: url("../assets/icons/search.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-color 0.3s ease, background-image 0.3s ease;
}

#search:hover {
  background-color: #B9252E;
  background-image: url("../assets/icons/search_white.svg");
}

#custom-modal {
  color: #fff;
  max-width: 1000vh !important;
  padding: 2rem;
  border-radius: 1rem;
  background-color: #B9252E;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.custom-width {
  max-width: 800px !important;
}

/* Carousel indicators */
#slider .carousel-indicators [data-bs-target] {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50%;
  background-color: white !important;
  margin: 0 6px;
  transition: opacity 0.3s ease;
}

#slider .carousel-indicators button {
  opacity: 1;
  background-color: white !important;
}

#slider .carousel-indicators .active {
  opacity: 1;
  background-color: #B9252E !important;
}

/* Carousel item buttons and links */
#slider .carousel-item button a {
  color: #B9252E;
}

#slider .carousel-item button {
  background-color: white;
}

/* Pump Selection Tool */
#pumpSelectionTool h1 {
  font-family: "Montserrat_SemiBold";
  color: #B9252E;
}

#pumpSelectionTool p {
  margin-block: 4%;
  font-size: 20px;
  color: #B9252E;
  font-family: "Montserrat_Regular";
}

#pumpSelectionTool select {
  border: 3px solid #B9252E;
  color: #000;
  font-weight: bold;
}

#pumpSelectionTool button {
  color: white;
  font-size: 15px;
  font-family: "Montserrat_SemiBold";
  background-color: #000;
  width: 60%;
}

/* Products section */
#products h4 {
  color: #B9252E;
  font-family: "Montserrat_Regular";
}

/* Category Products */
#category_products .header_box {
  padding-inline: 1%;
  border-left: 6px solid #B9252E;
  border-right: 6px solid #B9252E;
  width: -moz-fit-content;
  width: fit-content;
}

#category_products .header_box #header_title {
  color: #B9252E;
  font-size: 45px;
  font-family: "Montserrat_SemiBold";
}

#category_products #productCard img {
  border: 1px solid #B9252E;
  width: 312.486px;
  height: 310.704px;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 1%;
}

#category_products #productCard .card-title {
  font-size: 30px;
  color: #B9252E;
}

#category_products #productCard .btn {
  padding-inline: 20px;
  width: -moz-fit-content;
  width: fit-content;
  background-color: white;
  border: 1px solid #B9252E;
}

#category_products #productCard .btn a {
  color: #B9252E;
}

#category_products #productCard .btn:hover {
  width: -moz-fit-content;
  width: fit-content;
  background-color: #B9252E;
  border: 1px solid #B9252E;
  color: white;
}

#category_products #productCard .btn:hover svg path {
  fill: white !important;
}

/* About Us Section */
#about_us .diagonal-section {
  position: relative;
  z-index: 0;
}

#about_us .diagonal-video {
  clip-path: polygon(65% 0%, 172% 0%, 103% 112%, 0% 227%);
  z-index: 0;
}

#about_us .diagonal-section .container {
  position: relative;
  z-index: 2;
}

#about_us video.object-fit-cover {
  -o-object-fit: contain;
     object-fit: contain;
}

/* Business Section */
.business_section {
  width: 75%;
  margin: 0 auto;
}

.business_section .header_box {
  padding-inline: 1%;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.business_section .header_box #header_title {
  color: #B9252E;
  font-size: 45px;
  font-family: "Montserrat_Regular";
}

.business_section .info-box {
  border: 2px solid #D9D9D9;
  border-radius: 30px;
  padding: 30px 20px;
  background-color: rgb(217, 217, 217);
  font-family: "Montserrat_SemiBold";
  font-size: 18px;
  color: black;
  transition: transform 0.3s ease;
}

/* Products Section */
.products-section {
  width: 75%;
  margin: 0 auto;
}

.products-section .header_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 1%;
  width: 100%;
}

.products-section .header_box #header_title {
  padding-inline: 1%;
  border-left: 6px solid #B9252E;
  border-right: 6px solid #B9252E;
  color: #B9252E;
  font-size: 45px;
  font-family: "Montserrat_SemiBold";
}

.products-section .productsSwiper .swiper-slide {
  transition: transform 0.4s ease;
  transform: scale(0.7);
  opacity: 0.5;
  z-index: 1;
}

.products-section .productsSwiper .swiper-slide-active {
  transform: scale(0.7);
  opacity: 1;
  z-index: 3;
}

.products-section .productsSwiper img {
  width: 100%;
  border-radius: 10px;
  display: block;
  border-bottom: 2px solid #B9252E;
  border-bottom-left-radius: 20%;
  border-bottom-right-radius: 20%;
}

/* Wrap the image container */
.products-section .swiper-slide .card {
  position: relative;
  /* Needed for absolute overlay */
  overflow: hidden;
  /* Hide overflow for smooth overlay */
}

/* Overlay div */
.products-section .swiper-slide .card .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(185, 37, 46, 0.6);
  /* semi-transparent red */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  /* Prevent blocking clicks when hidden */
}

/* Show overlay on hover */
.products-section .swiper-slide .card:hover .image-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Buttons inside overlay */
.products-section .swiper-slide .card .image-overlay button {
  background-color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  font-size: 18px;
  font-weight: 600;
  color: #B9252E;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: "Montserrat_SemiBold", sans-serif;
}

/* Button hover effect */
.products-section .swiper-slide .card .image-overlay button:hover {
  background-color: #B9252E;
  color: white;
}

.custom-button-prev,
.custom-button-next {
  position: static;
  transform: none;
  z-index: 10;
  cursor: pointer;
  margin-left: 10px;
}

.custom-button-prev img,
.custom-button-next img {
  width: 30px;
  height: 30px;
}

#contact {
  position: relative;
  top: 3%;
  z-index: -1;
  border: 1px solid #B9252E;
  margin: 0 auto;
  background-color: #B9252E;
  width: 80%;
  border-radius: 40px;
}
#contact .col-md-6:nth-child(2) {
  border-left: 2px solid white;
  /* vertical line color and thickness */
  padding-left: 2rem;
  /* space between line and content */
}

/* Footer */
footer {
  position: relative;
  bottom: 0;
  z-index: 9999;
  width: 100%;
  border-top: 1px solid #B9252E;
  background-color: white;
}

#copyright {
  margin: 0 auto;
}

#socialmedia img {
  width: 25px;
}

/* Desktop menu */
.desktop-menu {
  display: flex;
}

/* Mobile menu */
#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1050;
  overflow-y: auto;
}

#mobile-menu.active {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  #mobile-menu {
    display: none !important;
  }
}
#mobile-menu .nav-item {
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  font-size: 1.1rem;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

#mobile-menu .nav-item:hover {
  color: #B9252E;
  background-color: #f9eaea;
  border-radius: 4px;
}

#mobile-menu #getquote {
  font-weight: 600;
  border: 2px solid #B9252E;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  text-align: center;
  color: #B9252E;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#mobile-menu #getquote:hover {
  background-color: #B9252E;
  color: #fff;
}

#mobile-menu .social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

#mobile-menu .social-icons a img {
  width: 28px;
  height: 28px;
  transition: filter 0.3s ease;
}

#mobile-menu .social-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(82%) saturate(749%) hue-rotate(345deg) brightness(92%) contrast(90%);
}

#mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1100;
}

@media (max-width: 900px) {
  #mobile-menu-toggle {
    display: block;
  }
}
#mobile-menu-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #000;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

#mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Responsive Media Queries */
/* Small phones (up to 480px) */
@media (max-width: 480px) {
  #category_products #productCard {
    padding: 10px;
  }
  #category_products #productCard img {
    width: 180px !important;
    height: 180px !important;
    -o-object-fit: contain;
       object-fit: contain;
    padding: 0.5rem;
  }
  #category_products .card-title {
    font-size: 18px !important;
    margin-top: 0.5rem;
  }
  #category_products .btn {
    font-size: 13px !important;
    padding: 0.4rem 1rem !important;
    width: auto !important;
  }
  #slider .carousel-item {
    padding: 1rem 0.5rem;
  }
  #slider h1 {
    font-size: 1.5rem !important;
    line-height: 1.2;
  }
  #slider p {
    font-size: 0.9rem !important;
  }
  #slider img {
    max-width: 100% !important;
    height: auto !important;
    margin-top: 1rem;
  }
  #slider .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 18px !important;
  }
  #navbar_logo {
    width: 191px !important;
  }
  .desktop-menu {
    display: none !important;
  }
  .products-section .header_box {
    flex-direction: column;
  }
  #header_title {
    font-size: 27px !important;
  }
  #contact {
    display: none;
  }
}
/* Tablets (481px to 900px) */
@media (min-width: 481px) and (max-width: 900px) {
  #category_products #productCard img {
    width: 150px !important;
    height: 150px !important;
    -o-object-fit: contain;
       object-fit: contain;
    padding: 0.5rem;
  }
  #category_products .card-title {
    font-size: 18px !important;
  }
  #category_products .btn {
    font-size: 14px !important;
    padding: 0.5rem 1.2rem !important;
  }
  #slider .carousel-item {
    padding: 2rem 1rem;
  }
  #slider h1 {
    font-size: 2.2rem !important;
  }
  #slider p {
    font-size: 1.1rem !important;
  }
  #slider img {
    max-width: 80% !important;
    height: auto !important;
    margin-top: 1rem;
  }
  #slider .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  #navbar_logo {
    width: 243px !important;
  }
  .desktop-menu {
    display: none !important;
  }
  #contact {
    display: none;
  }
}
/* Laptops (901px to 1200px) */
@media (min-width: 901px) and (max-width: 1200px) {
  #category_products #productCard img {
    width: 160px !important;
    height: 160px !important;
    -o-object-fit: contain;
       object-fit: contain;
  }
  #category_products .card-title {
    font-size: 22px !important;
  }
  #category_products .btn {
    font-size: 12px !important;
  }
  #slider h1 {
    font-size: 2.3rem !important;
  }
  #slider p {
    font-size: 1.1rem !important;
  }
  #slider img {
    max-width: 90% !important;
    height: auto !important;
  }
  #slider .d-flex {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #navbar_logo {
    width: 300px !important;
  }
  .desktop-menu {
    display: flex !important;
  }
}
/* Laptops (901px to 1200px) */
@media (min-width: 1201px) and (max-width: 1400px) {
  #category_products #productCard img {
    width: 160px !important;
    height: 160px !important;
    -o-object-fit: contain;
       object-fit: contain;
  }
  #category_products .card-title {
    font-size: 22px !important;
  }
  #category_products .btn {
    font-size: 12px !important;
  }
  #slider h1 {
    font-size: 2.8rem !important;
  }
  #slider p {
    font-size: 1.3rem !important;
  }
  #slider img {
    max-width: 100% !important;
    height: auto !important;
  }
  #slider .d-flex {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
  }
  #navbar_logo {
    width: 300px !important;
  }
  .desktop-menu {
    display: flex !important;
  }
  #contact {
    display: none;
  }
}/*# sourceMappingURL=index.css.map */