/* ============================= home section ====================================== */

.home-section {
  background: url(/media/heroBg.avif) center no-repeat;
  background-size: cover;
  padding: 0;
  min-height: 90vh;
}
.home-section > .hero-content {
  width: 100%;
  height: 100%;
  padding: 3rem 1rem;
  box-sizing: border-box;
  position: relative;
  background: var(--transparent-bg);
  backdrop-filter: blur(3px);
  align-items: center;
  /* justify-content: center; */
}

/* ============================= home 2 ====================================== */

.home-2 {
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  /* text-align: center; */
}
.tagline {
  color: var(--font-color-2);
  font-size: clamp(1.7rem, 5vw, 2.5rem);
}
.tagline span {
  color: var(--color-accent-third);
}
.hr-points {
  width: 100%;
  font-size: clamp(1rem, 5vw, 1.1);
  color: var(--font-color-2);
  text-wrap: wrap;
  max-width: 100ch;
  margin: 2rem 0;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 15px;
}
.hr-points > li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hr-points > li > svg {
  background-color: var(--color-whatsapp-g);
  border-radius: 50%;
  width: 15px;
  padding: 3px;
}
.hr-cta-cont {
  gap: 10px;
  width: 100%;
}
.home-2 .cta {
  gap: 10px;
  padding: 2px 20px 2px 2px;

  text-decoration: none;
  border-radius: 5px;
  color: var(--font-color-2);
  font-weight: bold;
  background-color: rgba(213, 120, 145, 0.6);
  border: 2px solid var(--color-accent-third);

  font-size: 1.1rem;
  border-radius: 30px;

  margin: 2rem 0 0 0;
  box-shadow: var(--shadow-hard);
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-2 .cta svg {
  width: 30px;
  background-color: white;
  padding: 5px;
  border-radius: 50%;
  color: var(--color-accent-primary);
}
.home-2 .cta:last-child {
  background-color: rgba(12, 193, 66, 0.6);
  border: 2px solid var(--color-whatsapp-g);
  color: var(--color-whatsapp-w);
}
.home-2 .cta:last-child > svg {
  background-color: var(--color-whatsapp-w);
  color: var(--color-whatsapp-g);
}

/* ============================= counter section ====================================== */

.counter-holder {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  padding: 10px 0;
  justify-content: center;
}
.counter-cards {
  text-align: center;
  color: var(--color-text-secondary);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 10px;
}
.counter-cards:last-child {
  border-right: none;
}
.counter-cards .number {
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: white;
}
.counter-cards span {
  font-size: 0.6rem;
  color: var(--font-color-2);
}

/* ============================= machines section ====================================== */
.machine-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #fff, #fdeff3);
  text-align: center;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 0.9rem;
  opacity: 0.6;
}
.swiper-wrapper {
  padding: 2rem 0 2rem 0 !important ;
  box-sizing: border-box;
}
.swiper-slide {
  padding: 0 2.5rem;
  box-sizing: border-box;
}
.mach-card {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  gap: 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-hard);
  transition: 0.3s ease;
  padding: 10px 10px 1rem 10px;
  box-sizing: border-box;
}
.mach-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.mach-card img {
  width: 100%;
  aspect-ratio: 1/.8;
  object-fit: contain;
  border-radius: 10px 10px;
  background: linear-gradient(
    to left bottom,
    rgb(241, 241, 241),
    rgb(188, 188, 188)
  );
  box-shadow: var(--shadow-soft);
}
.mach-name {
  margin: 10px 0 5px;
  font-size: 1.4rem;
  position: relative;
}
.mach-name::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;

  transform: translateX(-50%);

  width: 30%;
  height: 2px;
  background-color: var(--color-accent-third);
}
.mach-desc {
  font-size: 0.8rem;
  padding: 0 10px;
  opacity: 0.7;
  line-height: 1.4;
}
.mach-features {
  margin-top: 10px;
  background: #ffecf1;
  display: flex;
  justify-content: space-around;
  padding: 15px 10px;
  font-size: 0.8rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mach-features svg {
  color: var(--color-accent-primary);
  width: 20px;
}
.mach-features div {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  color: gray;
}
.center-feat {
  padding: 0 10px;
  border-right: 1px solid rgba(125, 125, 125, 0.4);
  border-left: 1px solid rgba(125, 125, 125, 0.4);
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
  padding: 2px;
  /* border: black 1px solid; */
  height: fit-content !important;
}
.slider-controls > button > svg {
  width: 30px;
}
.swiper-button-next,
.swiper-button-prev {
  position: static !important;
  transition: transform 0.3s ease;

  margin: 0;
  background-color: var(--col-acc-trd-low);
  border: 2px solid var(--color-accent-third);
  color: var(--font-color-2) !important;
  padding: 10px;
  height: fit-content !important;
  border-radius: 50%;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}
.swiper-pagination {
  position: static !important;
  width: fit-content !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 0.8;
}
.swiper-button-next:active,
.swiper-button-prev:active {
  transform: scale(0.8);
}
.swiper-pagination-bullet-active {
  background: #d67b93 !important;
}

/* ============================= defore after section ====================================== */
.bef-aft-section {
  min-height: fit-content;
}
.bef-aft-container {
  grid-template-columns: repeat(auto-fit, minmax(280px, auto));
  gap: 2rem;
  padding: 1.5rem;
}
.bef-aft-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.534);
  box-shadow: var(--shadow-hard);
  border-radius: 20px;
}
.bef-aft-card > h4 {
  font-size: 1.3rem;
}
.bef-aft-card > img {
  width: 100%;
  aspect-ratio: 1/0.7;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: 5px solid white;
}
.bef-aft-card > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bef-aft-card > div > h4 {
  color: var(--color-accent-secondary);
}
.bef-aft-card > div > p {
  margin-bottom: 1rem;
}
/* ============================= services section ====================================== */

.srvis-container {
  padding: 2rem;
  border-radius: 10px;
}
.srvis-cards {
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  gap: 3rem;
  width: 100%;
}
.srvis-container > span {
  color: rgb(131, 131, 131);
}
.srvis-container > h3 {
  margin: 0 0 1rem 0;
}
.srvis-card {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 150px;
  height: fit-content;
  border-radius: 15px;
  background-color: rgb(255, 255, 255);
  padding: 1.5rem 1.5rem;
  border: 1px solid #ffffff29;
  box-shadow: var(--shadow-hard);
  border: 2px solid var(--color-accent-primary);
}
.srvis-card:nth-of-type(odd) {
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-accent-third);
}
.srvis-card h5 {
  color: var(--font-color-1);
  font-size: 1.1rem;
  min-height: 2lh;
  text-align: center;
}
.srvis-card h5 > span {
  color: var(--color-accent-third);
}
.srvis-card:nth-of-type(even) > h5 {
  color: var(--color-accent-third);
}
.srvis-card:nth-of-type(odd) > h5 {
  color: var(--color-accent-primary);
}
.srvis-card > p {
  text-align: center;
  font-size: 0.8rem;
  min-height: 3lh;
}
.srvis-card > a {
  color: var(--color-accent-secondary);
  width: 100%;
  gap: 5px;
  margin-top: 0;
}
.srvis-card:nth-of-type(odd) > a {
  color: var(--color-accent-third);
}
.srvis-card > a:hover {
  opacity: 0.6;
}

/* ============================= FAQs section ====================================== */

.faqs-container {
  gap: 1rem;
  align-items: start;
  padding: 2rem 1rem;
}
.faqs-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  background-color: #f4f4f4;
  box-sizing: border-box;
  padding: 1.5rem 0;
  border-radius: 10px;
  box-shadow: var(--shadow-hard);
  cursor: pointer;
}
.faqs-card > p {
  width: 100%;
  padding: 0 1rem;
  box-sizing: inherit;
}
.faq-que {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  color: var(--color-accent-third);
}
.faq-awns {
  font-size: 1rem;
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.3s ease,
    margin-top 0.3s ease;
  margin-top: 0;
  color: var(--color-accent-primary);
}

.faq-awns.toggle {
  max-height: 300px;
  margin-top: 2rem;
}
.faq-que svg {
  width: 50px;
  color: var(--color-accent-third);
}
.faq-que svg.toggle {
  transform: rotateZ(-180deg);
}
/* ============================= testimonials section ====================================== */

.testimonial-section {
  text-align: center;
  padding-bottom: 10rem;
}
.testo-container {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 4rem;
  padding: 0rem 2rem;
  box-sizing: border-box;
}
.testo-cards {
  background: var(--color-bg-primary);

  border: 2px solid transparent;
  padding: 1rem 2rem;
  box-sizing: border-box;
  border-radius: 15px;
  display: flex;
  flex-direction: column;

  text-align: left;
  box-shadow: var(--shadow-hard);
  color: var(--font-color-1);
  flex-direction: column-reverse;
  position: relative;
}
.testo-cards p {
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-y: scroll;
  scrollbar-width: none;
  height: calc(1.5rem * 4);
  color: var(--font-color-1);
}
::-webkit-scrollbar {
  display: none;
}
.testo-cards .child-last {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: bold;
  padding-bottom: 1rem;
  color: var(--color-accent-primary);
}

.testo-img {
  background-color: var(--bgcolor);
  width: 3rem;
  height: 3rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}
.testo-cards .stream {
  color: rgba(0, 0, 0, 0.611);
  font-size: small;
}
.test-g-icon {
  width: 1.5rem !important;
  border: none !important;
  margin-left: auto;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* ====================== Experience Page ============================== */

.experience-section {
  display: flex;
  flex-direction: column;
  place-items: center;
  gap: 3rem;

  padding: 2rem 0.5rem 4rem 0.5rem;
}
.exp-container {
  background-color: var(--color-bg-secondary);
  padding: 2rem 0;
  box-shadow: var(--shadow-hard);
  border-radius: 20px;
  max-width: clamp(300px, 100%, 800px);
}
.exp-cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}
.exp-card {
  width: 100%;
  border-bottom: 1px solid rgba(128, 128, 128, 0.362);
  background-color: var(--color-bg-primary);
  padding: 2rem 1rem;
  box-sizing: border-box;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-soft);
}
.exp-card > svg {
  color: var(--color-accent-primary);
  background-color: var(--color-bg-secondary);
  padding: 10px;
  border-radius: 50%;
  width: clamp(60px, 1.2rem, 90px);
}
.exp-card > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
}
.exp-card h5 {
  font-size: 1.1rem;
  color: black;
  font-weight: bold;
}
.exp-card h5 span {
  color: var(--color-accent-third);
}
.paragraph {
  font-size: small;
  color: var(--WhiteColor);
  line-height: 1.3;
}
/* ============================= wcu section ====================================== */

.wcu-section {
  padding: 2rem 2%;
}
.wcu-container {
  padding: 2rem 5%;
  border-radius: 10px;
  gap: 2rem;
  flex-direction: column;
}
.wcu-cards {
  gap: 2rem;
  flex-direction: column;
}

.wcu-img {
  width: 100%;
  gap: 1rem;
}
.wcu-img > p {
  text-align: center;
}
.wcu-img img {
  width: 100%;
  border-radius: 20px;
}

.wcu-card {
  flex: 1;
  min-width: 200px;
  gap: 1rem;
  border-radius: 10px;

  background-color: rgb(255, 255, 255);

  padding: 2rem 1rem;

  border: 1px solid #ffffff29;
  box-shadow: var(--shadow-hard);
}
.wcu-card > svg {
  color: var(--color-accent-primary);
  width: 40px;
}
.wcu-card h5 {
  font-size: 1.2rem;
  color: var(--color-accent-primary);
}
.wcu-card h5 > span {
  color: var(--color-accent-third);
}
.wcu-card p {
  color: var(--font-color-1);
  font-size: 0.9rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ====================== loaction section ============================== */

.location-section {
  color: white;
  gap: 2rem;
  padding: 2rem 5% 8rem 5%;
}
.loc-container {
  display: flex;
  justify-content: center;
  flex-direction: column;

  text-align: center;
  box-shadow: 0px 0px 10px rgb(68, 68, 68);
  border-radius: 10px;
  overflow: hidden;
}
.ifram-wrapper {
  min-width: 200px;
  aspect-ratio: 1/1;
  flex: 1;
  padding: 0;
  margin: 0;
}

.ifram-wrapper iframe {
  min-width: 100%;
  margin: 0;
  border: none;

  background-color: var(--color-accent-third);
}
.loc-left {
  min-width: 200px;
  aspect-ratio: 1/1;
  flex: 1;
  background-color: var(--color-bg-secondary);
  color: black;
}

.loc-left-inner {
  gap: 1rem;
  padding: 2rem 5%;
}
.loc-left-inner h4 {
  font-size: 1.5rem;
}

.loc-left-inner > p {
  font-size: 0.8rem;
  color: rgb(0, 0, 0);

  line-height: 1.7;
  margin: 0 0 1rem 0;
  padding: 0 0 2rem 0;

  border-bottom: 1px solid rgba(157, 157, 157, 0.247);
}

.loc-left-inner strong {
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 1rem;
}
.loc-num-em {
  gap: 1rem;
}
.loc-num-em svg {
  color: var(--color-accent-primary);
}

.loc-num-em div > :first-child {
  font-size: 1.4rem;
  color: rgb(0, 0, 0);
  text-decoration: none;
  transition: opacity 0.3s ease;
  margin-bottom: 10px;
}
.loc-num-em div > :last-child {
  transition: opacity 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent-third);
}

.loc-num-em div > *:hover,
.con-card a:hover {
  opacity: 0.7;
  text-decoration: underline;
}
.loc-num-em div > *:active,
.con-card a:active {
  opacity: 0.5;
  transform: scale(0.9);
}

/* ============================= media queries ====================================== */

@media screen and (min-width: 727px) {
  .testo-container {
    gap: 2rem;
  }
}
@media screen and (min-width: 768px) {
  .home-2 {
    align-items: start;
  }
  .hr-cta-cont {
    width: 100%;
    gap: 2rem;
  }
  .counter-holder {
    width: fit-content;
    padding: 10px 20px;
  }
  .counter-cards {
    padding: 10px 20px;
  }
  .counter-cards .number {
    font-size: 2rem;
  }

  .testo-container {
    gap: 1rem;
  }

  .wcu-cards {
    gap: 2rem;
  }
  .wcu-card {
    min-width: 280px;
  }

  .exp-container {
    padding: 2rem;
    box-sizing: border-box;
  }

  .loc-left {
    padding: 0 0 0 1rem;
  }
  .loc-container {
    flex-direction: row;
  }
}
@media screen and (min-width: 900px) {
  .wcu-container {
    flex-direction: row;
    align-items: start;
    gap: 0;
  }
  .wcu-cards {
    gap: 1rem;
  }
}
@media screen and (min-width: 1024px) {
  .home-2 {
    width: 50%;
  }

  .testo-container {
    padding: 0 10%;
    gap: 2rem;
  }
}
@media screen and (min-width: 1200px) {
  .home-section {
    min-height: 100vh;
  }
  .home-section > .hero-content {
    padding: 0 5rem;
    gap: 0;
    justify-content: start;
  }

  .counter-holder {
    width: fit-content;
    display: flex;
    /* align-items: start; */
    /* justify-content: start; */
    margin: 0;
    padding: 10px 1rem;
  }

  .counter-cards {
    padding: 5px 20px;
  }

  .bef-aft-container {
    padding: 1rem 10vw;
  }

  .mach-card-cont {
    min-width: 25vw;
  }
  .swiper-slide {
    padding: 0;
  }
  .machine-section{
    position: relative;
  }
  .swiper::before,
  .swiper::after{
    content: '';
    position: absolute;
    top: 0;

    height: 100%;
    width: 20%;

    z-index: 10;
    
  }           
  
  .swiper::before{
    left: 0;
    box-shadow: 10px 0 10px  rgba(255, 231, 237, 0.2);
    background: linear-gradient(to right,rgba(255, 231, 237, 1),rgba(255, 231, 237, .6)  ,rgba(255, 231, 237, 0.2));
    
  }
  .swiper::after{
    background: linear-gradient(to left,rgba(255, 231, 237, 1),rgba(255, 231, 237, .6)  ,rgba(255, 231, 237, 0.2));
    box-shadow: -10px 0 10px  rgba(255, 231, 237, 0.2);
  right:0 ;
}
  .srvis-cards {
    padding: 0 5vw;
    gap: 1rem;
  }
  .wcu-cards {
    padding: 0 5%;
  }
  .faqs-container {
    padding: 3rem 20vw;
  }
  .loc-left {
    padding: 0 0 0 2rem;
  }
}
@media screen and (min-width: 1450px) {
  .faqs-container {
    padding: 3rem 25vw;
  }
  .mach-card img{
    aspect-ratio: 1/.8;
  }
}

/* ============================= transitions  ====================================== */
.about-cta,
.faq-que svg,
.faqs-card,
.home-2 .cta,
.home-2 .cta svg,
.testo-cards,
.srvis-card > a {
  transition: all 0.3s ease;
}
/* ============================= hover and click effects   ====================================== */

.testo-cards:hover {
  box-shadow: var(--shadow-hard);
  transform: scale(1.05);
  border: 2px solid var(--color-accent-third);
  background-color: var(--color-bg-secondary);
}
