html {
  scroll-behavior: smooth;
}

section {
  max-width: 90vw;
  height: 100vh;
}

header,
section,
.logos {
  margin-left: 5vw;
  margin-right: 5vw;
}

/* Global styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

/* Navbar */
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
  font-size: 1rem;
}

a:hover {
  text-shadow: -1px -1px 15px rgba(0, 0, 0, 1);
}

header {
  position: relative;
}

.navbar {
  width: 100%;
  max-width: 90vw;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo a {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar .nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-left: auto;
}

.navbar .menu {
  color: #000000;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.navbar .highlight {
  display: block;
  margin-left: 0;
  margin-right: 1rem;
}

.highlight {
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.highlight:hover {
  transform: scale(1.05);
  color: #000;
}

.highlight:active {
  transform: scale(0.95);
}

.dropdown-menu {
  position: absolute;
  top: 60px;
  width: 250px;
  height: 0;
  background-color:black;
  opacity: 0.9;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);

}

.dropdown-menu li  {

  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-menu li > a {
  color: #f2f2f2;
}

.dropdown-menu .highlight {
  width: 80%;
  display: flex;
  justify-content: center;
}

.dropdown-menu.open {
  height: 180px;
  width: 100%;
  max-width: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  background-color: transparent;
}

/* Responsive Navbar */
@media (max-width: 992px) {
  .navbar .nav ul {
    display: none;
  }

  .navbar .menu {
    display: flex;
  }

  .navbar .highlight {
    display: none;
  }

  .dropdown-menu {
    display: block;
  }

  .dropdown-menu .highlight {
    display: block;
    margin-top: 1rem;
  }
}

/* Introduction Section */
#intro {
  display: flex;
  flex-direction: column;

  height: auto;
}

#intro > .text {
  padding-right: 5vw;
}
#intro > img {
  height: auto;
  width: 90vw;
}

.text > h1 {
  font-size: clamp(1.5rem, 3vw + 1rem, 6rem);
}
.text > p {
  margin-top: 10px;
  margin-bottom: 15px;
}

/* #intro > .intro-img {

  max-width: 600px;
  max-height: 700px;
  height: auto;

}

#intro .intro-img img {
  width: 100%;
  height: auto;
  transition: opacity 1s ease-in-out;
} */

.btn-cntct {
  margin: 100px 0 20px 0;
  background-color: #000;
  color: #fff;
  border: 1px solid black;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}

.btn-cntct:hover {
  background-color: #ffffff;
  color: #000;
  border: 2px solid black;
}

/* Logo Section */
.logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  margin-top: 2.5rem;
}

.logos > img {
  width: 150px;
  height: 150px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.logos > img:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Products Section */
#import {
  margin-top: 5vh;
  margin-bottom: 20vh;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

#import.animate {
  opacity: 1;
  transform: translateY(0);
}

#import > h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 6rem);
  text-align: center;
}

#import > p {
  text-align: center;
  padding: 30px;
}

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-wrap: wrap;
  gap: 35px;
}

.product {
  border-radius: 20px;
  box-shadow: -1px -1px 5px rgba(0, 0, 0, 0.186);
  overflow: hidden;
  width: calc(45vw - 26px);
  height: 40vh;
  display: flex;
}

.ptext {
  padding: 20px 20px 0 20px;
  min-width: 50%;
}

.product > .ptext > h3 {
  font-size: 1.5rem;
}

.product > img {
  height: auto;
  min-width: 50%;
}

/* info */

.info {
  background-color: #f8f7f7;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-top: 50px;
}

.info-box {
  display: flex;
  align-items: center;
  padding: 50px;
  margin-top: 30px;
  margin-bottom: 30px;
  justify-content: space-between;
}

.info-box > .fa {
  font-size: 6rem;
  text-align: center;
}

.bg-text {
  text-align: center;
  font-size: 2rem;
  /* width: 60%;
  transition: width 1s; */
}

/* .bg-text:hover {
  width: 100%;
} */

.info-text {
  font-size: 2.5rem;
}

.info > .info-box {
  width: 300px;
  height: 150px;
  border: 2px solid rgb(0, 0, 0);
}

/* About Section */
#about {
  margin-top: 10vh;
  margin-bottom: 10vh;
  height: 80vh;
  border-radius: 20px;
  overflow: hidden;
  background-color: #000000;
  color: #fff;
  position: relative;
}

#about .us,
#about .vision,
#about .mission {
  height: 100%;
  width: 100%;
  padding: 20px;
  text-align: center;
}
#about .us > img,
#about .vision > img,
#about .mission > img {
  opacity: 0.1;
  position: absolute;
  height: auto;
  width: 100vw;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#about .us h2,
#about .vision h2,
#about .mission h2 {
  padding-top: 20%;
  font-size: 3rem;
  opacity: 1;
  color: #ffffff;
}

#about .us p,
#about .vision p,
#about .mission p {
  padding: 0 20px;
  opacity: 1;
  color: rgb(255, 255, 255);
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slides */
.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Navigation buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 3px 0 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
/* Info Section */
.info {
  background-color: #f8f7f7;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 50px;
  transition: all 0.3s ease-in-out;
}

.info-box {
  display: flex;
  align-items: center;
  padding: 50px;
  margin-top: 30px;
  margin-bottom: 30px;
  justify-content: space-between;
  width: 300px;
  height: 150px;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.info-box:hover {
  transform: scale(1.1);
}

.info-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  z-index: 1;
}

.info-box:hover::after {
  opacity: 1;
}

.info-box > .fa {
  font-size: 6rem;
  text-align: center;
  z-index: 2;
}

.bg-text {
  text-align: center;
  font-size: 2rem;
  z-index: 2;
  transition: color 0.3s ease-in-out;
}

.info-box:hover .bg-text {
  color: #6a6e6d;
}

.info-text {
  font-size: 2.5rem;
  z-index: 2;
}

/* Contact Section */

#contact {
  font-family: 'Arial', sans-serif;
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100vw;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.contact-form {
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
  margin: 20px;
  width: 80%;
}

.form-left,
.form-right {
  width: 49%;
  background-color: #1b1b1b;
  padding: 30px;
  border-radius: 10px;
  color: #fff;
}

h3 {
  margin-top: 0;
  font-size: 2rem;
}

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

input,
textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
}

textarea {
  height: 120px;
}

button {
  padding: 10px;
  background-color: #0091ff;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

button:hover {
  background-color: #1100ff;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin: 10px 0;
}

i {
  margin-right: 10px;
}

.form-right {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 50px;
}

.form-right > ul > li > i {
  font-size: 2rem;
  padding-top: 20px;
  color: #0091ff;
}

.form-right > ul > li {
  font-size: 1.2rem;
  text-align: left;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 5vh;
  padding: 40px;
  background-color: #000;
  color: floralwhite;
}

/* Tablets iPads (Portrait) */
@media (max-width: 1024px) {
  #about .us > img,
  #about .vision > img,
  #about .mission > img {
    visibility: hidden;
  }

  #import {
    height: auto;
    margin-bottom: 0;
  }

  .products {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .product {
    width: 1fr;
    height: auto;
    flex-direction: column;
  }

  .ptext {
    padding: 20px 20px 0 20px;
    width: 100%;
  }

  .product > img {
    height: auto;
    max-width: 100%;
  }

  #contact {
    font-family: 'Arial', sans-serif;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .contact-form {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: auto;
    padding: 20px;
  }

  .form-left,
  .form-right {
    width: 100%;
    background-color: #1b1b1b;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
  }
  .form-right {
    margin-top: 20px;
  }
}

@media (max-width: 601px) {
  #intro {
    margin-bottom: 0;
    height: calc(100vh - 60px);
  }

  #intro > img {
    padding-top: 50px;
  }

  #import {
    height: auto;
  }
  .products {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .product {
    width: 90vw;
    height: auto;
    flex-direction: column;
  }

  .ptext {
    padding: 20px 20px 0 20px;
    min-width: 100%;
  }

  .product > img {
    height: auto;
    min-width: 100%;
  }

  #about .us > img,
  #about .vision > img,
  #about .mission > img {
    visibility: hidden;
  }

  #contact {
    font-family: 'Arial', sans-serif;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .contact-form {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    width: 90%;
    height: auto;
    padding: 0px;
    flex-direction: column;
  }

  .form-left,
  .form-right {
    width: 100%;
    background-color: #1b1b1b;
    padding: 20px;
    border-radius: 10px;
    color: white;
    overflow: scroll;
  }
  .form-right {
    margin-top: 20px;
    text-align: center;
  }

  .form-right > ul > li > i {
    display: block;
    text-align: center;
  }

  .form-right > ul > li {
    text-align: center;
    font-size: 1rem;
  }

  footer {
    padding-left: 0;
    padding-right: 0;
  }
}
