@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

.trail {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(0, 150, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0.8);
  animation: shrink 0.6s forwards;
}

@keyframes shrink {
  0% {
      transform: scale(1);
      opacity: 1;
  }
  100% {
      transform: scale(0);
      opacity: 0;
  }
}
html {
  scroll-behavior: smooth;
  font-family: "Open Sans", serif;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  overflow-x: hidden;
}

/* -------------------------------------navbar  section----------------------------------- */

header .first-navbar {
  background-color:rgb(236, 236, 245);
  padding: 15px 15px;
  box-shadow: 0 4px 8px #1E90FF;
  box-shadow: 0 4px 8px #bcbcbc;
  position: relative;
  z-index: 999;

}

header .first-navbar h1 {
  font-size: 36px;
  font-family: "Oswald", serif;
  font-weight: 700;
  padding-left: 50px;
  color: #1E90FF;

}

header .first-navbar span {
  color: #333;
}

/* ---------------------------------------banner section------------------------------------ */

.banner-section img {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}
.slick-slide img{
  display: inline !important;
}
.slick-prev.slick-arrow{
  width: 20%;
  position: absolute;
  top: 35%;
  left: 0;
  background-color: aqua;
  z-index: 999;
  background-image: url('/images/left\ arrow.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  border: none;
  padding: 30px 10px;
  font-size: 0;

}
.slick-next.slick-arrow{
  width: 20%;
  position: absolute;
  top: 40%;
  right: 0;
  color: #1E90FF;
  z-index: 999;
  background-image: url('/images/right\ arrow.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  border: none;
  padding: 17px 10px;
  font-size: 0;

}

/* --------------------------------------domain section----------------------------------- */

.domain-name-section {
  background-color: rgb(229, 229, 248);
  position: relative;
  z-index: 999;
}

.domain-name-section a {
  font-size: 38px;
  font-family: "Oswald", serif;
  font-weight: 700;
  color: black;
  padding-left: 50px;
  display: flex;
  justify-content: center;
  text-decoration: none;
  padding-top: 10px;

}


/* ----------------------------------------machineries section--------------------------- */


.machineries-section {
  padding-top: 10px;
  padding-bottom: 0 !important;
  background-color: rgb(229, 229, 248);
}

.machineries-section h3 {
  font-size: 30px;
  font-family: "Oswald", serif;
  font-weight: 700;
  color: black;
  padding-left: 50px;
  text-align: center;
  padding-top: 10px;

}


:root {

  --brand-color: hsl(46, 100%, 50%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);


}


*,
*::before,
*::after {
  box-sizing: border-box;
}


.machineries-section body,
h2,
p {
  margin: 0;
}
.machineries-section h2 {
  font-size: 2.25rem;
  font-family: var(--font-title);
  color: var(--white);
  line-height: 1.1;
}

.machineries-section p {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
}

.machineries-section .flow>*+* {
  margin-top: var(--flow-space, 1em);
}

.machineries-section .card {
  display: flex;
  place-items: center;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
  margin: auto;
  margin-bottom: 10%;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;

  transition: transform 0.3s ease;
}

.machineries-section .card:hover {
  transform: scale(1.1);

}
.machineries-section img{
  width: 100%;
  background-repeat: no-repeat;
 background-size: cover;
}
.machineries-section .card__background {
  object-fit: cover;
  max-width: 100%;
  height: 350px;
  padding: 5px;
  border: 2px solid #1E90FF;
  border-radius: 5px;
  animation: spin 2s linear infinite;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
}

.machineries-section .card__content {
  --flow-space: 0.9375rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: flex-end;
  padding: 12% 1.25rem 1.875rem;
  background: rgb(16,89,159);
  background: linear-gradient(0deg, rgba(16,89,159,1) 56%, rgba(255,255,255,1) 100%);
}

.machineries-section .card__content--container {
  --flow-space: 1.25rem;
}

.machineries-section .card__title {
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
  font-size: 26px;
  color: black;
  font-weight: 600;
}

.machineries-section .card__title::after {
  content: "";
  position: absolute;
  height: 0.3125rem;
  width: calc(100% + 1.25rem);
  bottom: calc((1.25rem - 0.5rem) * -1);
  left: -1.25rem;
  background-color: var(--brand-color);
}
.machineries-section .card__description{
  color: white;
}
.machineries-section a {
  padding: 0.75em 1.6em;
  width: fit-content;
  width: -moz-fit-content;
  font-variant: small-caps;
  font-weight: bold;
  border-radius: 0.45em;
  border: none;
  background-color: black;
  font-size: 16px;
  color: white !important;
  text-decoration: none !important;
}

.machineries-section a:hover {
  background-color: white;
  color: black !important;
}


/* ----------------------------footer section---------------------------- */


.footer-section {
  background-color: black;
  padding: 20px 20px;
  margin-top:-85px;
}

.footer-section .footer-bottom {
  text-align: center;
}

.footer-section .footer-bottom p {
  font-size: 18px;
  font-family: "Open Sans", serif;
  color: white;
}

.footer-section .footer-bottom a {
  font-size: 18px;
  font-family: "Open Sans", serif;
  color: white;
  text-decoration: none;

}

/* -----------------------------media query---------------------------------------- */

@media only screen and (max-width: 1024px) {

  body {
    overflow-x: hidden;
  }
  header .first-navbar h1 {
    font-size: 26px;
    padding-left: 5PX;
  }

  .machineries-section .card-section {
    padding-left: 0;
  }

  .domain-name-section a {
    text-decoration: underline #1E90FF;
    text-underline-offset: 0.3em;
  }
  .footer-section{
 margin-top: 0;
  }

}

@media only screen and (max-width: 768px) {
  header .first-navbar h1 {
    font-size: 24px;
    padding-left: 2PX;
  }
  .machineries-section .container {
    overflow: hidden;
    justify-content: center;
  }

  .domain-name-section a::after {
    display: none;
  }

}

@media screen and (max-width:576px) {
  header .first-navbar h1 {
    font-size: 24px;
    padding-left: 0;
  }

  .domain-name-section a {
    font-size: 28px;
    padding-left: 0;
  }

  .machineries-section h3 {
    font-size: 22px;
    padding-left: 0;
    ;
  }
}

@media screen and (max-width: 425px) {
  header .first-navbar h1 {
    font-size: 19px;
    padding-left: 0;
  }


  .domain-name-section a {
    font-size: 30px;
    padding-left: 0;
  }

  .machineries-section .container {
    overflow: hidden;
  }

  .machineries-section h3 {
    font-size: 24px;
    padding-left: 0;
    ;
  }

  .machineries-section .card {
    max-width: 90%;
    overflow: hidden
  }
  .banner-section .slick-prev.slick-arrow{
     display: none !important;
  }
  .banner-section .slick-next.slick-arrow{
    display: none !important;
  }
  .machineries-section .card__title{
    font-size: 24px;
  }
  .machineries-section .card__description{
    font-size: 16px;
  }
  .machineries-section a {
    font-size: 14px;
  }
  .footer-section .footer-bottom p {
    font-size: 14px;

  }

  .footer-section .footer-bottom a {
    font-size: 14px;
  }
}

@media screen and (max-width: 356px) {
  header .first-navbar h1 {
    font-size: 16px;

  }

  .domain-name-section a {
    font-size: 26px;
    padding-left: 0;
  }
  .slick-prev.slick-arrow{
    padding: 20px 10px;
  }
  .slick-next.slick-arrow{
    padding: 12px 10px;
  }
  
}

@media screen and (max-width: 320px) {
  header .first-navbar h1 {
    font-size: 20px;
    padding-left: 0;
  }

  .domain-name-section a {
    font-size: 24px;
    padding-left: 0;
  }

  .machineries-section h3 {
    font-size: 20px;
    padding-left: 0;
    ;
  }


  .machineries-section .card {
    max-width: 95%;
    overflow: hidden
  }

  .footer-section .footer-bottom p {
    font-size: 12px;

  }

  .footer-section .footer-bottom a {
    font-size: 12px;
  }
}