header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 5;
  transition: 0.4s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: black;
}

header .navbar {
  position: unset;
}

header .navbar-nav .nav-item a.nav-link {
  padding: 5px 25px;
  position: relative;
  color: #fff;
  transition: color 0.3s ease;
}

.rtl-link a {
    color: rgb(179, 1, 1);
}

header .navbar-nav .nav-item a.nav-link.active::after {
  position: absolute;
  content: "";
  width: 100%;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  background-color: #b30101;
}

/* Submenu Styles */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 5;
  transition: 0.4s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: black;
}

header .navbar {
  position: unset;
}

/* Navigation Links */
header .navbar-nav .nav-item a.nav-link {
  padding: 5px 25px;
  position: relative;
  color: #fff;
  transition: color 0.3s ease;
}

header .navbar-nav .nav-item a.nav-link.active::after {
  position: absolute;
  content: "";
  width: 100%;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  background-color: #b30101;
}

/* Submenu Styles */
header .navbar-nav .nav-item .submenu {
  position: absolute;
  width: 100%;
  top: 98px;
  left: 0;
  background-color: #fff;
  opacity: 0;
  transition: 0.4s;
  transform-origin: top;
  transform: scaleY(0);
}

header .navbar-nav .nav-item .submenu .container {
  display: block;
}

header .navbar-nav .nav-item .submenu.opened {
  transform: scaleY(100%);
  transition: 0.4s;
  display: block;
  opacity: 1;
}

header .navbar-nav .nav-item .submenu h4.product-category-title {
  min-height: 45px;
}

header .navbar-nav .nav-item .submenu h4.product-category-title a {
  text-decoration: none;
  color: #b30101;
  font-size: 18px;
}

header .navbar-nav .nav-item .submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

header .navbar-nav .nav-item .submenu ul li {
  padding: 10px 0 10px 15px;
  position: relative;
}

header .navbar-nav .nav-item .submenu ul li a {
  color: #595757;
  text-decoration: none;
  font-size: 16px;
}

header .navbar-nav .nav-item .submenu ul li::before {
  position: absolute;
  top: 18px;
  left: 0;
  content: "";
  width: 5px;
  height: 5px;
  background-color: #b30101;
}

/* Free Quote Button - Updated with proper spacing */
.free-quote-btn {
  padding: 4px 10px;
  border: 0;
  outline: 0;
  font-size: 15px;
  color: #b30101 !important;
  background-color: #fff;
  transition: 0.4s;
  text-decoration: none !important;
  margin-left: 1.25rem; /* Equivalent to ml-xl-5 in Bootstrap */
}

.free-quote-btn:hover {
  background-color: #b30101;
  color: #fff !important;
}

.free-quote-btn.menu_btn {
  font-size: 18px !important;
  padding: 8px 18px;
}

/* Menu Button - Updated with proper spacing */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1.25rem; /* Equivalent to ml-5 in Bootstrap - spacing from quote button */
}

.menu-btn svg {
  width: 30px;
  height: 30px;
}

.menu-btn svg .line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
}

header .navbar .rtl-link a.en::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 25px;
    width: 2px;
    background-color: rgb(179, 1, 1);
    right: -3px;
}

.menu-btn svg .line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.menu-btn svg .line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}

.menu-btn svg .line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  background: none;
  border: none;
  padding: 0;
}

/* Header Hover Effects */
header:hover {
  background-color: white;
}

@media (max-width: 992px) {
  header:hover {
    background-color: transparent !important;
  }
}

header:hover .navbar-nav .nav-item .nav-link {
  color: #000;
}

header:hover .navbar-nav .nav-item.active .nav-link {
  color: #b30101;
}

header:hover .navbar-nav .nav-item:hover .nav-link {
  color: #b30101;
}

header:hover .menu-btn svg path {
  stroke: #000;
}

header:hover .free-quote-btn {
  background-color: #b30101;
  color: #fff !important;
}

/* White Header Variant */
header.white {
  background: #fff;
}

header.white .navbar-nav .nav-item .nav-link {
  color: #000;
}

header.white .menu-btn svg path {
  stroke: #000;
}

/* Navigation Active States */
.navbar-nav .nav-item a.nav-link:hover {
  color: #b30101;
}

.navbar-nav .nav-item.hasMenu:hover .submenu {
  opacity: 1;
  transform: scaleY(1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  header .navbar-nav .nav-item a.nav-link.active::after {
    display: none;
  }

  header .navbar-nav .nav-item .submenu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
    margin-top: 10px;
  }

  /* Reset margins on mobile */
  .free-quote-btn {
    margin-left: 0;
  }

  .menu-btn {
    margin-left: 0;
  }
}

/* Small tablet breakpoint */
@media (max-width: 768px) {
  .free-quote-btn {
    padding: 8px 18px;
  }
}

/* Menu Button - Updated with proper spacing */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1.25rem; /* Equivalent to ml-5 in Bootstrap - spacing from quote button */
}

.menu-btn svg {
  width: 30px;
  height: 30px;
}

.menu-btn svg .line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-btn svg .line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.menu-btn svg .line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}

.menu-btn svg .line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
/* Mobile Menu Button */
.mobile-menu-btn {
  background: none;
  border: none;
  padding: 0;
}

/* Navigation Active States */
.navbar-nav .nav-item a.nav-link:hover {
  color: #b30101;
}

.navbar-nav .nav-item.hasMenu:hover .submenu {
  opacity: 1;
  transform: scaleY(1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  header .navbar-nav .nav-item a.nav-link.active::after {
    display: none;
  }

  header .navbar-nav .nav-item .submenu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
    margin-top: 10px;
  }
}

/* footer */

.sidenav-products {
  font-size: 16px !important;
}

.sidenav-products-ul li {
  padding-left: 20px !important;
}

.sidenav-products-ul li > a {
  font-size: 14px;
}

.footer-btn {
  color: #fff;
  background: #c62127;
  padding: 10px 30px;
  border-radius: 8px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 800;
}

/* Footer Styles */
.footer {
  background: url("../img/sand-bg-50.jpg");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  position: relative;
  border-top: 2px solid #b30101;
}

.footer .row {
  padding: 104px 0 50px 0;
}

.footer img {
  width: 260px;
  margin-bottom: 50px;
}

/* Mobile styles for footer image */
@media (min-width: 576px) {
  .footer img {
    width: 100%;
  }
}

/* Small tablet styles for footer image */
@media (min-width: 768px) {
  .footer img {
    margin-bottom: 0;
  }
}

/* Big tablet styles for footer image */
@media (min-width: 992px) {
  .footer img {
    width: 300px;
  }
}

.footer .footer-brand-social {
  position: relative;
}

.footer .footer-brand-social .social-icons-footer {
  position: absolute;
  bottom: -20px;
  left: 0;
  border: 1px solid #b30101;
}

.footer .footer-brand-social .social-icons-footer ul li {
  border-right: 1px solid #b30101;
}

.footer .footer-brand-social .social-icons-footer ul li.rtl {
  border-right: none;
  border-left: 1px solid #b30101;
}

.footer .footer-brand-social .social-icons-footer ul li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: #b30101;
  transition: 0.4s;
}

.footer .footer-brand-social .social-icons-footer ul li a:hover {
  background-color: #b30101;
  color: #fff;
}

/* Big tablet styles for social icons */
@media (min-width: 992px) {
  .footer .footer-brand-social .social-icons-footer {
    position: absolute;
    bottom: 22px;
    left: 0;
    margin-top: 0;
  }
}

.footer .company h1,
.footer .company h5,
.footer .company h6 {
  font-weight: 600;
  position: relative;
  font-size: 18px;
  margin-bottom: 32px;
}

.footer .company h6 {
  font-weight: 200 !important;
}

/* Small tablet styles for company headings */
@media (min-width: 768px) {
  .footer .company h1,
  .footer .company h5,
  .footer .company h6 {
    margin-bottom: 40px;
    font-size: 14px;
  }
}

/* Big tablet styles for company headings */
@media (min-width: 992px) {
  .footer .company h1,
  .footer .company h5,
  .footer .company h6 {
    margin-bottom: 52px;
    font-size: 20px;
  }
}

/* Desktop styles for company headings */
@media (min-width: 1200px) {
  .footer .company h1,
  .footer .company h5,
  .footer .company h6 {
    font-size: 22px;
  }
}

.footer .company h1::before,
.footer .company h5::before,
.footer .company h6::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 1px;
  background: #b30101;
  bottom: -10px;
}

.footer .company ul li {
  list-style: none;
  padding-bottom: 15px;
}

.footer .company ul li:last-child {
  padding-bottom: 0px;
}

.footer .company ul li a {
  color: #7f7f7f;
  text-decoration: none;
}

/* Small tablet styles for company links */
@media (min-width: 768px) {
  .footer .company ul li a {
    font-size: 0.7rem;
  }
}

/* Big tablet styles for company links */
@media (min-width: 992px) {
  .footer .company ul li a {
    font-size: 1rem;
  }
}

.footer .products h1,
.footer .products h5,
.footer .products h6 {
  font-weight: 600;
  position: relative;
  padding: 30px 0 0;
  font-size: 18px;
  margin-bottom: 32px;
}

/* Small tablet styles for products headings */
@media (min-width: 768px) {
  .footer .products h1,
  .footer .products h5,
  .footer .products h6 {
    padding: 0;
    font-size: 14px;
    margin-bottom: 40px;
  }
}

/* Big tablet styles for products headings */
@media (min-width: 992px) {
  .footer .products h1,
  .footer .products h5,
  .footer .products h6 {
    margin-bottom: 52px;
    font-size: 20px;
  }
}

/* Desktop styles for products headings */
@media (min-width: 1200px) {
  .footer .products h1,
  .footer .products h5,
  .footer .products h6 {
    font-size: 22px;
  }
}

.footer .products h1::before,
.footer .products h5::before,
.footer .products h6::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 1px;
  background: #b30101;
  bottom: -10px;
}

.footer .products ul li {
  color: #7f7f7f;
  list-style: none;
  padding-bottom: 15px;
}

.footer .products ul li:last-child {
  padding-bottom: 0px;
}

.footer .products ul li a {
  color: #7f7f7f;
  text-decoration: none;
  white-space: nowrap;
}

/* Small tablet styles for products links */
@media (min-width: 768px) {
  .footer .products ul li a {
    font-size: 0.7rem;
  }
}

/* Big tablet styles for products links */
@media (min-width: 992px) {
  .footer .products ul li a {
    font-size: 1rem;
    text-wrap: unset;
  }
}

.footer .products ul li p {
  color: #7f7f7f;
  text-decoration: none;
}

/* Small tablet styles for products paragraphs */
@media (min-width: 768px) {
  .footer .products ul li p {
    font-size: 0.7rem;
  }
}

/* Big tablet styles for products paragraphs */
@media (min-width: 992px) {
  .footer .products ul li p {
    font-size: 1rem;
  }
}

/* Small tablet styles for ids section */
@media (min-width: 768px) {
  .footer .ids ul {
    margin-top: 56px;
  }
}

/* Big tablet styles for ids section */
@media (min-width: 992px) {
  .footer .ids ul {
    margin-top: 76px;
  }
}

/* Desktop styles for ids section */
@media (min-width: 1200px) {
  .footer .ids ul {
    margin-top: 78px;
  }
}

.footer .ids ul li {
  list-style: none;
  padding-bottom: 15px;
}

.footer .ids ul li:last-child {
  padding-bottom: 0px;
}

.footer .ids ul li a {
  color: #7f7f7f;
  text-decoration: none;
}

/* Small tablet styles for ids links */
@media (min-width: 768px) {
  .footer .ids ul li a {
    font-size: 0.7rem;
  }
}

/* Big tablet styles for ids links */
@media (min-width: 992px) {
  .footer .ids ul li a {
    font-size: 1rem;
  }
}

/* Bottom Footer */
footer {
  background: #3e3c39;
  position: relative;
}

footer .row {
  padding: 30px 0;
}

/* Small tablet styles for footer row */
@media (min-width: 768px) {
  footer .row {
    padding: 0;
  }
}

footer p {
  color: #fff;
  text-align: center;
  font-size: 14px;
}

/* Mobile styles for footer paragraphs */
@media (min-width: 576px) {
  footer p {
    font-size: 16px;
  }
}

/* Small tablet styles for footer paragraphs */
@media (min-width: 768px) {
  footer p {
    font-size: 10px;
    padding: 35px 0 25px;
  }
}

/* Big tablet styles for footer paragraphs */
@media (min-width: 992px) {
  footer p {
    padding: 40px 0 30px;
    font-size: 16px;
  }
}

footer p a {
  text-decoration: none;
  color: #fff;
}

footer p a:hover {
  color: #fff;
  text-decoration: none;
}

/* Side Menu Wrapper */
.side-menu-wrapper {
  position: fixed;
  height: 100%;
  width: 100%;
  background: #000;
  top: -106vh;
  z-index: 9999999;
  padding: 20px;
  overflow-y: auto;
}

.side-menu-wrapper .side-menu {
  margin-top: 50px;
}

.side-menu-wrapper .side-menu ul li {
  padding: 10px 0;
}

.side-menu-wrapper .side-menu ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 26px;
}

.side-menu-wrapper .side-menu ul li.has-submenu {
  transition: 0.4s;
}

.side-menu-wrapper .side-menu ul li.has-submenu ul li .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.side-menu-wrapper .side-menu ul li.has-submenu ul li .title a {
  display: block;
  font-size: 18px;
  font-weight: 400;
}

.side-menu-wrapper .side-menu ul li.has-submenu ul li .title button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  outline: 0;
  background-color: transparent;
  color: #fff;
  font-size: 25px;
}

.side-menu-wrapper .side-menu ul li.has-submenu ul li > ul li {
  padding: 5px 0;
}

.side-menu-wrapper .side-menu ul li.has-submenu ul li > ul li a {
  font-size: 16px;
}

.side-menu-wrapper .bottom-side-menu .contact-details a {
  text-decoration: none;
  color: #fff;
}

.side-menu-wrapper .bottom-side-menu .contact-details a i {
  color: #fff;
}

.side-menu-wrapper .bottom-side-menu .social-icons {
  border: 1px solid #fff;
  max-width: 145px;
  margin-left: auto;
}

.side-menu-wrapper .bottom-side-menu .social-icons ul li {
  border-right: 1px solid #fff;
}

.side-menu-wrapper .bottom-side-menu .social-icons ul li a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-menu-wrapper .bottom-side-menu .social-icons ul li a i {
  color: #fff;
}

/* Menu Button Styles */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1.25rem;
}

.menu-btn svg {
  width: 30px;
  height: 30px;
}

.menu-btn svg .line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-btn svg .line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.menu-btn svg .line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}

.menu-btn svg .line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

/* Menu Button Open State */
.menu-btn.opened svg .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.menu-btn.opened svg .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
}

.menu-btn.opened svg .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

/* Header hover effects for menu button */
header:hover .menu-btn svg .line {
  stroke: #000;
}

header.white .menu-btn svg .line {
  stroke: #000;
}



/* Hero section updated styles */

.hero-banner{
  position: absolute;
  top: 30%;
  bottom: 0;
  left: 8%;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


@media screen and (max-width: 1199.98px) {
  .hero-banner-logo{
    width: 100% !important;
  }

}


.hero-banner-logo{
  max-width: fit-content !important;
}

.hero-main-img{
  height: 100% !important;
}
.hero-banner-image{
  height: 500px !important;
  object-fit: cover !important;
}

@media screen and (min-width: 1199.98px) {
  .hero-banner-image{
    height: 600px !important;
  }

}
/* Hero section updated styles end*/

@media (min-width: 1200px) {
    .ml-xl-4, .mx-xl-4 {
        margin-left: 1.5rem !important;
    }
}