/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  transition: 0.5s;
  z-index: 99;
}

/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 32px;
  height: 32px;
}

.btn-sm-square {
  width: 34px;
  height: 34px;
}

.btn-md-square {
  width: 44px;
  height: 44px;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
}

.btn-xl-square {
  width: 66px;
  height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn.btn-primary {
  border: none;
}

.btn.btn-primary:hover {
  background:#162C6A;
}

.btn.btn-secondary {
  color: #e9e9e9 ;
  border: none;
}

.btn.btn-secondary:hover {
  background: #B91C1C;
  /* border: 1px solid #0d1b2a; */
  color: #e9e9e9;
}
.btn-primary {
  color: #e9e9e9;
  background-color: #1E3A8A;
  border-color: #001659;
}
.btn-secondary {
  color: #000;
  background-color: #DC2626;
  border-color: #DC2626;
}
.text-secondary {
  color: #DC2626 !important;
}
.text-primary {
  color: #0d1b2a !important;
}
.border-secondary {
  border-color: #DC2626 !important;
}
.btn-secondary,
.btn-check:checked + .btn-secondary,
.btn-check:active + .btn-secondary,
.btn-secondary:active,
.btn-secondary.active,
.show > .btn-secondary.dropdown-toggle {
  color: #fff; /* better contrast on black */
  background-color: #DC2626 !important; /* solid black */
}
.btn-secondary:focus,
.btn-check:checked + .btn-secondary:focus,
.btn-check:active + .btn-secondary:focus,
.btn-secondary:active:focus,
.btn-secondary.active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: #DC2626 !important; 
  outline: none !important;
}


.text-muted {
    color: #e9e9e9 !important;
}
/*** Topbar Start ***/
.topbar {
  padding: 2px 10px 2px 20px;
  background: #1E3A8A;
}
.bg-light {
  background-color: #e0e1dd !important;
}
.btn-outline-primary {
  color: #e0e1dd;
  border-color: #001659;
  background: #1E3A8A;
}
.btn-outline-primary:hover {
  color: #e0e1dd;
  background-color: #162C6A;
  /* border-color: #001659; */
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top {
  transition: 1s;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
  color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link {
  position: relative;
  padding: 10px;
  font-weight: 400;
  font-family: "Playfair Display", serif;
  font-size: 17px;
  transition: 0.5s;
  z-index: 99;
}

.navbar .navbar-nav .nav-item {
  margin: 0 5px;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  border: 2px solid #DC2626;
  opacity: 0;
  transition: 0.5s;
  z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
  top: 0;
  left: 0;
  border-bottom: 0;
  border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
  bottom: 0;
  right: 0;
  border-top: 0;
  border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
  width: 50%;
  height: 50%;
  opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
  color: #DC2626 !important;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107" !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
}

.navbar .navbar-toggler {
  padding: 8px 15px;
  color: var(--bs-dark);
  background: var(--bs-secondary);
}

.nav-bar .navbar-toggler {
  color: var(--bs-dark);
  box-shadow: none !important;
}

.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light);
  transition: 0.5s;
  opacity: 1;
}

.navbar .nav-item .dropdown-menu {
  background: var(--bs-light);
  transition: 0.5s;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
  transition: 0.5s;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
  background: #DC2626;
  color: var(--bs-white);
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    margin-top: 15% !important;
    transform: rotateX(-75deg);
    transform-origin: 0 0;
    border: 0;
    transition: 0.5s;
    opacity: 0;
    z-index: 9;
  }
}

@media (max-width: 991px) {
  .navbar .nav-item .dropdown-menu {
    position: relative;
    margin-top: 0;
    transition: 0.5s;
  }

  .navbar .navbar-nav .nav-item::after,
  .navbar .navbar-nav .nav-item::before {
    display: none;
  }

  .navbar .navbar-nav .nav-item:hover::after,
  .navbar .navbar-nav .nav-item:hover::before,
  .navbar .navbar-nav .nav-item.active::after,
  .navbar .navbar-nav .nav-item.active::before {
    display: none;
  }

  .navbar .navbar-nav .nav-link {
    padding: 12px 0;
  }

  .navbar .navbar-nav .nav-item {
    margin: 0;
  }

  .navbar .navbar-nav .nav-item.nav-link {
    padding: 12px 0;
  }
}

#searchModal .modal-content {
  background: rgba(255, 255, 255, 0.6);
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../img/new-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb {
  position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
  color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

/*** Carousel Start ***/
.carousel .carousel-inner .carousel-item {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

/* Smooth Zoom Animation (No Blur) */
.carousel .carousel-inner .carousel-item img {
  animation-name: image-zoom;
  animation-duration: 10s;
  animation-delay: 1s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  transition: 0.5s;
}

/* Keyframes without blur */
@keyframes image-zoom {
  0% {
    width: 100%;
    height: 100%;
    opacity: 1;
    transform: scale(1);
  }

  50% {
    width: 110%;
    height: 110%;
    opacity: 0.95;
    transform: scale(1.1);
  }

  100% {
    width: 100%;
    height: 100%;
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 992px) {
  .carousel .carousel-inner .carousel-item img {
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 991px) {
  .carousel .carousel-inner .carousel-item {
    height: 700px;
  }
  .carousel .carousel-inner .carousel-item img {
    height: 700px;
    object-fit: cover;
  }
}

@media (max-width: 576px) {
  .carousel-item .carousel-caption h1 {
    font-size: 36px;
  }

  .carousel-item .carousel-caption p.fs-5 {
    font-size: 15px;
  }
}

/* Dark overlay */
.carousel .carousel-inner .carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Caption Centered */
.carousel .carousel-inner .carousel-item .carousel-caption {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

/* Indicators */
.carousel .carousel-indicators {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  z-index: 5;
}

.carousel .carousel-indicators li {
  margin-right: 30px !important;
  width: 10px;
  height: 10px;
  border: 6px solid #0d1b2a;
  background: var(--bs-white);
  transition: 0.5s;
}

.carousel .carousel-indicators li.active {
  border: 10px solid #1E3A8A;
}

/* Controls */
.carousel .carousel-control-prev,
.carousel .carousel-control-next {
  background: transparent;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
  position: absolute;
  left: 0;
  padding: 25px 30px;
  background: #1E3A8A;
}

.carousel .carousel-control-next .carousel-control-next-icon {
  position: absolute;
  right: 0;
  padding: 25px 30px;
  background: #1E3A8A;
}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
  background: #DC2626;
  color: var(--bs-white);
}
/*** Carousel End ***/


/*** About Start ***/
.about-img {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.about-img-container {
  position: relative;
  overflow: hidden;
}

.about-img-container::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
  z-index: 2;
}

.about-img:hover .about-img-container::after {
  height: 100%;
}

/* Border animation */
.about-border-style-1,
.about-border-style-2 {
  width: 50%;
  height: 50%;
  position: absolute;
  background: #DC2626;
  transition: 0.5s;
  z-index: -1;
}

.about-border-style-1 {
  top: 0;
  left: 0;
}

.about-border-style-2 {
  right: 0;
  bottom: 0;
}

.about-border-style-3,
.about-border-style-4 {
  width: 0;
  height: 0;
  position: absolute;
  background: #DC2626;
  transition: 0.5s;
  z-index: -1;
}

.about-border-style-3 {
  top: 0;
  right: 0;
}

.about-border-style-4 {
  left: 0;
  bottom: 0;
}

.about-img:hover .about-border-style-1,
.about-img:hover .about-border-style-2 {
  width: 0%;
  height: 0%;
}

.about-img:hover .about-border-style-3,
.about-img:hover .about-border-style-4 {
  width: 50%;
  height: 50%;
}
/*** About End ***/

/*** Services Start ***/
.service .service-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: 1;
}

.service .service-item .service-img img {
  transition: 0.5s;
}

.service .service-item:hover .service-img img {
  transform: scale(1.2);
}

.service .service-item::after {
  content: "";
  width: 100%;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
  z-index: 2;
}

.service .service-item:hover:after {
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.service .service-item .service-content {
  position: absolute;
  width: 100%;
  height: auto;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: 0.5s;
  opacity: 0;
  z-index: 3;
}

.service .service-item:hover .service-content {
  opacity: 1;
}

.service .service-item:hover .service-content a.fs-4 {
  color: var(--bs-white);
  transition: 0.5s;
}

.service .service-item:hover .service-content a.fs-4:hover {
  color: var(--bs-secondary);
}

.service .service-item .service-tytle {
  position: absolute;
  width: 100%;
  height: 80px;
  bottom: 0;
  right: 0;
  background: var(--bs-white);
  display: flex;
  transition: 0.5s;
  z-index: 3;
}

.service .service-item:hover .service-tytle {
  margin-right: -100%;
}
/*** Services End ***/

/*** Fact Counter ***/
/* Background */
.counter {
  background: #0e266a;
  /* background: linear-gradient(rgba(30, 58, 138, 0.95), rgba(220, 38, 38, 0.9)), */
    /* url(../img/counter.jpg) center/cover no-repeat; */
  position: relative;
  margin-bottom: 60px;
}

/* Industrial Counter Card */
.counter-card-industrial {
  background: #0e266a; /* Deep Blue */
  border: 2px solid #DC2626; /* Red Border */
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.counter-card-industrial:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.5);
}

/* Hexagon Icon */
.icon-hex {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  background: #DC2626; /* Red */
  color: #fff;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Counter Numbers */
.counter-value {
  font-size: 2.8rem;
  color: #DC2626; /* Red Numbers */
  text-shadow: 0 0 10px rgba(220, 38, 38, 0.6);
}

/* Button */
.btn-primary-industrial {
  background: #DC2626; /* Red */
  color: #fff;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-primary-industrial:hover {
  background: #1E3A8A; /* Blue Hover */
  color: #fff;
  box-shadow: 0 0 20px rgba(30, 58, 138, 0.6);
}

/* Icon Colors */
.fa-thumbs-up:before,
.fa-users:before,
.fa-user-cog:before,
.fa-industry:before {
  color: #fff; /* White inside red hex */
}

/* .counter {
    background: linear-gradient(rgba(0, 18, 72, 0.9), rgba(0, 22, 89, 1)), url(../img/counter.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.counter .counter-btn:hover {
    background: var(--bs-white);
    color: var(--bs-secondary);
}

.counter .counter-box {
    padding-right: 20px; 
    padding-bottom: 20px;
}

.counter .counter-item {
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.counter .counter-item .counter-item-style {
    position: absolute;
    width: calc(100% - 20px);
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    z-index: 2;
}

.counter .counter-item .counter-item-inner {
    position: relative;
    top: 20px;
    left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    background: var(--bs-white);
    box-shadow: 20px 20px rgba(255, 94, 21, 1);
    z-index: 3;
}

.counter .counter-item .counter-counting {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-primary);
    font-size: 30px;
} */
/*** Fact Counter ***/

/*** Projects Start ***/
.project .project-item .project-img {
  position: relative;
}

.project .project-item .project-img::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  top: 0;
  left: 0;
  /* background: var(--bs-secondary); */
  z-index: -1;
  /* border: 2px solid rgb(25, 18, 18); */
}

.project .project-item .project-content a.h4 {
  transition: 0.5s;
}

.project .project-item:hover .project-content a.h4:hover {
  color: var(--bs-secondary);
}
/*** Projects End ***/

/*** Team Start ***/
.team .team-item {
  position: relative;
  z-index: 1;
}

.team .team-item .team-img {
  position: relative;
  overflow: hidden;
}

.team .team-item .team-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
  z-index: 2;
}

.team .team-item:hover .team-img::after {
  height: 100%;
}

.team .team-item .team-img .team-icon {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  transform: scale(-1);
  margin-bottom: 100%;
  background: transparent;
  transition: 0.5s;
  opacity: 0;
  z-index: 5;
}

.team .team-item:hover .team-img .team-icon {
  transform: scale(1);
  margin-bottom: 0;
  opacity: 1;
}

.team .team-item .team-border-style-1,
.team .team-item .team-border-style-2 {
  width: 50%;
  height: 50%;
  position: absolute;
  background: #DC2626;
  transition: 0.5s;
  z-index: -1;
}

.team .team-item .team-border-style-1 {
  top: 0;
  left: 0;
}

.team .team-item .team-border-style-2 {
  right: 0;
  bottom: 0;
}

.team .team-item .team-border-style-3,
.team .team-item .team-border-style-4 {
  width: 0;
  height: 0;
  position: absolute;
  background: #DC2626;
  transition: 0.5s;
  z-index: -1;
}

.team .team-item .team-border-style-3 {
  top: 0;
  right: 0;
}

.team .team-item .team-border-style-4 {
  left: 0;
  bottom: 0;
}

.team .team-item:hover .team-border-style-1,
.team .team-item:hover .team-border-style-2 {
  width: 0%;
  height: 0%;
}

.team .team-item:hover .team-border-style-3,
.team .team-item:hover .team-border-style-4 {
  width: 50%;
  height: 50%;
}
/*** Team End ***/

/*** Blog Start ***/
.blog .blog-item .blog-img {
  position: relative;
  overflow: hidden;
}

.blog .blog-item .blog-img img {
  transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
  transform: scale(1.2);
}

.blog .blog-item .blog-content {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.blog .blog-item .blog-content a {
  transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
  color: var(--bs-secondary);
}
/*** Blog End ***/

/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
  position: absolute;
  top: -58px;
  right: 0;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-secondary);
  transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
  position: absolute;
  top: -58px;
  right: 88px;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-secondary);
  transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
  display: flex;
  justify-content: center;
  margin-left: 20px;
  margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  border: 1px solid var(--bs-secondary);
  background: var(--bs-primary);
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  width: 20px;
  height: 20px;
  border: 1px solid var(--bs-primary);
  background: var(--bs-secondary) !important;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
  position: relative;
  margin-top: 50%;
  margin-left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bs-white);
}

@media (max-width: 992px) {
  .owl-carousel.testimonial-carousel {
    padding-top: 30px;
  }

  .testimonial .owl-nav .owl-prev,
  .testimonial .owl-nav .owl-next {
    top: -30px;
  }
}
.fa-cogs:before {
  content: "\f085";
  color: #DC2626;
}
.fa-globe:before {
  content: "\f0ac";
  color: #DC2626;
}
.fa-truck:before {
  content: "\f0d1";
  color: #DC2626;
}
.fa-tools:before {
  content: "\f7d9";
  color: #DC2626;
}

/*** testimonial End ***/

/*** Contact Start ***/
.contact .contact-map {
  position: relative;
  overflow: hidden;
  padding: 20px;
  z-index: 1;
}

.contact .contact-map::before {
  content: "";
  width: 70%;
  height: 70%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--bs-primary);
  z-index: -1;
}

.contact .contact-map::after {
  content: "";
  width: 70%;
  height: 70%;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--bs-secondary);
  z-index: -1;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
  background: linear-gradient(rgba(38, 38, 38, 0.9), rgb(44, 44, 44)),
    url(../img/footer-img.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}
.footer .footer-item a {
  line-height: 35px;
  color: var(--bs-body);
  transition: 0.5s;
}

.footer .footer-item p {
  line-height: 35px;
}

.footer .footer-item a:hover {
  letter-spacing: 1px;
  color: #DC2626;
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
  transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
  background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
  color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #1E3A8A;
}
/*** copyright end ***/

/* cart design  */
.cart-design {
  border: 1px solid #e3e3e3;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  padding: 20px 20px 30px 20px;
  border-radius: 20px;
}
.new-border {
  border: 1px solid #e3e3e3;
}
.rounded {
  border-radius: 8px !important;
}
/* Cart design End  */

/* Start table data  */
.table-data {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.table-data th {
  background-color: #f5f5f5;
  color: black;
  text-align: left;
  padding: 12px 15px;
  font-weight: bold;
  border: 1px solid #ddd;
}

.table-data td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 14px;
  color: #000;
}

.unique {
  background-color: #f2f2f2;
  font-weight: bold;
}

.unique-2 {
  /* font-style: italic; */
}

.table-data tr:hover {
  background-color: #f1f1f1;
}

.product-description {
  background: linear-gradient(rgba(12, 24, 68, 0.7), rgba(12, 24, 68, 0.7)),
    url(../img/fastners-back.jpg);
  color: white;
}
/* end table data  */
.header-4 {
  margin-top: 25px;
  /* color:  #e5941d; */
  font-size: 1.5rem;
}
.adjust {
  line-height: 27px;
  letter-spacing: 1px;
}
/* .image-wrapper {
    display: inline-block;
    border: 3px solid #2a2927;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin-top: 30px;
} */
.red-border {
  border: 4px solid #DC2626;
  border-radius: 40px;
  padding: 4px;
  box-shadow: 0 6px 15px rgba(6, 163, 218, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.red-border:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(6, 163, 218, 0.3);
}

@media (max-width: 768px) {
  .content-section {
    padding: 10px;
  }
  .image-wrapper {
    margin-top: 1px;
  }
}

/* for image bottom of the products  */
/* Basic styles */
/* Basic styles */
.image-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto;
}

.image-item {
  text-align: center;
  flex: 1 1 30%; /* Ensure the items take up 30% width (adjustable for 3 items) */
  position: relative;
  padding: 0; /* Ensure no padding inside image item */
  margin: 0; /* Ensure no margin around image items */
}

.image-wrapper {
  position: relative; /* This is required for positioning the overlay */
  overflow: hidden; /* Ensure no part of the overlay goes outside the image */
  border: none; /* Remove any border around the image wrapper */
}

.image-item img {
  width: 100%;
  height: auto;
  border-radius: 0; /* Remove any border-radius or rounded corners */
  display: block; /* Ensures the image is displayed without any extra space below it */
  margin: 0; /* Remove margin around the image */
  padding: 0; /* Remove padding around the image */
  transition: transform 0.3s ease; /* Smooth zoom-in effect on hover */
}

/* Light black gradient shade covering the full image */
.image-wrapper::after {
  content: ""; /* Adds a pseudo-element overlay */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover effect for the light black gradient overlay */
.image-item:hover .image-wrapper::after {
  opacity: 1; /* Show the overlay on hover */
}

.image-item:hover img {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

.image-item h3 {
  margin-top: 10px;
  font-size: 18px;
  color: #333; /* Customize text color */
}

/* Responsive styles */
@media (max-width: 768px) {
  .image-item {
    flex: 1 1 45%; /* 2 items per row on medium screens (tablets) */
  }

  .image-item h3 {
    font-size: 16px; /* Slightly smaller heading on medium screens */
  }
}

@media (max-width: 480px) {
  .image-item {
    flex: 1 1 100%; /* 1 item per row on smaller screens (mobile) */
  }

  .image-item h3 {
    font-size: 14px; /* Smaller heading on mobile */
  }
}

.image-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.image-container {
  position: relative;
  overflow: hidden;
}

.image-container::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
  z-index: 2;
}

.image-wrapper:hover .image-container::after {
  height: 100%;
}

/* Border animation */
.border-style-1,
.border-style-2 {
  width: 50%;
  height: 50%;
  position: absolute;
  background: #DC2626;
  transition: 0.5s;
  z-index: -1;
}

.border-style-1 {
  top: 0;
  left: 0;
}

.border-style-2 {
  right: 0;
  bottom: 0;
}

.border-style-3,
.border-style-4 {
  width: 0;
  height: 0;
  position: absolute;
  background: #DC2626;
  transition: 0.5s;
  z-index: -1;
}

.border-style-3 {
  top: 0;
  right: 0;
}

.border-style-4 {
  left: 0;
  bottom: 0;
}

.image-wrapper:hover .border-style-1,
.image-wrapper:hover .border-style-2 {
  width: 0%;
  height: 0%;
}

.image-wrapper:hover .border-style-3,
.image-wrapper:hover .border-style-4 {
  width: 50%;
  height: 50%;
}
/* responsive table  */

/* Make the table responsive */
.custom-table {
  width: 100%;
  border-collapse: collapse;
}
.custom-table th,
.custom-table td {
  padding: 8px;
  text-align: left;
  border: 1px solid #ddd;
}
.custom-table th {
  background-color: #f2f2f2;
}
/* Add responsiveness: wrap text for smaller screens */
@media screen and (max-width: 600px) {
  .custom-table,
  .custom-table thead,
  .custom-table tbody,
  .custom-table th,
  .custom-table td,
  .custom-table tr {
    display: block;
    width: 100%;
  }
  .custom-table th {
    background-color: #f2f2f2;
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .custom-table tr {
    margin-bottom: 10px;
  }
  .custom-table td {
    border: none;
    position: relative;
    padding-left: 50%;
  }
  .custom-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
  }
}

/* table response  */

/* Add responsiveness to the table */
@media screen and (max-width: 768px) {
  .ideal {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  table {
    width: 100%;
    border: 0;
  }
  th,
  td {
    text-align: center;
    padding: 10px;
  }
  th {
    background-color: #f9f9f9;
  }
}

/* Small mobile screens (portrait view) */
@media screen and (max-width: 480px) {
  th,
  td {
    padding: 6px;
    font-size: 12px;
  }
}

/* End Table date  */

/* side bars buttons  */

/* Sidebar container */
.sidebar {
  background-color: #f5f5f5; /* Light gray background */
  padding: 15px;
  border-radius: 6px;
}

/* Buttons with dual-color theme */
.custom-btn {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #1E3A8A; /* Navy blue background */
  color: #ffffff; /* White text */
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
  border: none;
  text-align: left;
}

/* Hover effect */
.custom-btn:hover {
  background-color: #DC2626; /* Orange background on hover */
  color: #ffffff;
  transform: translateX(5px); /* Slide effect */
}

/* Active state */
.custom-btn:active,
.custom-btn.active {
  background-color: #DC2626;
  color: white; /* Navy text on orange */
  font-weight: 600;
  transform: translateX(0);
}

/* Chevron icon */
.custom-btn i {
  font-size: 13px;
  margin-right: 30px;
  color: inherit; /* Matches text color */
}

/* Sidebar list styling */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .custom-btn {
    font-size: 14px;
    padding: 8px 12px;
  }
}
