@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gray-25: #FCFCFD;
  --gray-50: #F9FAFB;
  --gray-100: #F2F4F7;
  --gray-200: #EAECF0;
  --gray-300: #D0D5DD;
  --gray-400: #98A2B3;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --gray-800: #1D2939;
  --gray-900: #101828;
  --gray-950: #0C111D;

  --blue-50: #EFF8FF;
  --blue-100: #D9EEFF;
  --blue-200: #B8E4FF;
  --blue-300: #79CEFF;
  --blue-400: #32B5FE;
  --blue-500: #079DF0;
  --blue-600: #007CCE;
  --blue-700: #0063A6;
  --blue-800: #035489;
  --blue-900: #094671;
  --blue-950: #062C4B;
}

.width-controller {
  max-width: 1248px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.primary-button{
  border-radius: 8px;
  border: none;
  background-color: var(--blue-950);
  color: white;
  font-family: "inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.secondary-button{
  border-radius: 8px;
  background-color: transparent;
  color: var(--blue-950);
  font-family: "inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--blue-950);
  cursor: pointer;
}

.secondary-button-white{
  padding: 14px 32px;
  border-radius: 8px;
  background-color: var(--blue-950);
  color: white;
  font-family: "inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--blue-950);
  cursor: pointer;
}

.tertiary-button{
  padding: 14px 32px;
  border-radius: 8px;
  background-color: transparent;
  /* color: white; */
  font-family: "inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid white;
  cursor: pointer;
}

body {
  font-family: "inter", sans-serif;
  background-color: #FAFDFF;
}

a {
  color: var(--gray-700);
  text-decoration: none;
}

/* <!-- ------------------------------------------------------ --> */

nav {
  font-family: "inter", sans-serif;
  background-color: #FAFDFF;
  width: 100%;
  height: 72px;
  position: fixed;
  padding: 0 80px;
  display: flex;
  justify-content: space-between;
  align-items: center; 
  border-bottom: 1px solid var(--gray-200);
  z-index: 10;
}
ul {
  /* need to add 16 spacing */
  cursor: pointer;
}

.nav-li {
  float: left;
  display: flex;
  padding: 8px 16px;
  font-weight: 500;
  color: var(--gray-700);
}

.logo {
  width: 124px;
  object-fit: cover;
}

/* -------------------------------------------------- */

.hero-parent-div{
  padding: 0 16px;
  display: flex;
  width: 100%;
  margin: 0 auto;
  justify-content: space-around;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: nowrap;
}

.hero-section {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  margin-top: 84px;
  padding: 80px;
  padding-bottom: 0;
  padding-right: 0;
  background: radial-gradient(circle, #D9EEFF 0%, #C2E4FF 100%);
  border-radius: 12px;
  border: 1px solid var(--blue-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 0px 12px 0px #0946711A inset;
}

.hero-title-and-button{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-title h1 {
  color: var(--blue-950);
  font-family: "inter", sans-serif;
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -3px;
}

.hero-title h2 {
  font-family: "inter", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--gray-700);
}

.hero-button-div{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px
}

.certifiactes {
  font-size: 18px;
  font-family: "inter", sans-serif;
  color: var(--gray-700);
  display: flex;
  flex-direction: column;
  gap: 16px;
} 

.certificates-div{
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.certificate-img{
  width: 80px;
  object-fit: cover;
}

/* .hero-img{
  width: 974px;
  height: auto;
  object-fit: cover;
  position: absolute; 
  bottom: 16px;     
  right: 0;
} */

/* -------------------------------------------------- */


.buttons button {
  padding: 10px 20px;
  margin-right: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

/* <!-- ------------------------------------------------------ --> */

.metrics {
  display: flex;
  justify-content: space-between;
  padding: 48px 8px;
  background-color: white;
  gap: 102px;
}

.metric h3 {
  font-size: 24px;
  color: var(--blue-600);
  font-weight: 700;
}

.metric p {
  font-size: 16px;
  color: var(--blue-600);
  font-weight: 400;
}

.metric {
  display: flex;
  align-items: center;
  max-width: 260px;
  gap: 16px;
}

.metric .item {
  display: flex;
  flex-direction: column;
}

/* <!-- ------------------------------------------------------ --> */


.products {
  padding: 80px 0;
  gap: 32px;
  text-align: center;
}

#title-subheading{
  gap: 4px;
  text-align: left;
}

.heading{
  font-family: "inter", sans-serif;
  color: var(--blue-600);
  font-size: 36px;
  font-weight: bolder;
  margin-top: 100px;
}

.sub-heading{
  font-family: "inter", sans-serif;
  font-size: 18px;
  color: var(--gray-600);
  font-weight: 400;
}

.product-cards {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 30px;
}

.product-card {
  width: 396px;
  padding: 20px;
  padding-top: 32px;
  background-color: var(--gray-100);
  border: 0.5px solid var(--gray-200);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}

.product-card img {
  max-width: 100%;
  margin-bottom: 20px;
  margin: auto;
  margin-bottom: 18px;
  max-height: 280px;
  margin-top: 0;
}

.product-card h3 {
  margin-bottom: 8px;
  text-align: left;
  font-size: 18px;
  color: var(--gray-800);
  font-weight: 600;
}

.product-card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-500);
  margin-bottom: 24px;
  text-align: left;
}


.product-card button{
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 8px;
  border: 1px solid var(--gray-300);
  width: 100%;
  padding: 10px 0;
}

/* <!-- ------------------------------------------------------ --> */

.why-us {
  background-color: var(--blue-50);
  padding: 50px 20px;
  text-align: center;
}

.features {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* <!-- ------------------------------------------------------ --> */

footer {
  background-color: var(--gray-800);
  color: white;
  padding: 50px 20px;
  text-align: center;
}

footer h2 {
  margin-bottom: 24px;
  font-size: 36px;
  font-weight: bold;
  color: white;
}


/* <!-- ------------------------------------------------------ --> */
/* <!-- ------------------------------------------------------ --> */
/* <!-- ------------------------------------------------------ --> */


.product-container {
  display: flex;
  width: 100%;
  padding: 96px;
  padding-top: 45px;
  border-radius: 20px;
  overflow: hidden;
  gap: 8px;
}
.product-image {
  background-color: #C1E3FF;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
}
.product-image img {
  max-width: 100%;
  height: auto;
  width: 95%;
}
.product-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-title {
  font-size: 40px;
  font-weight: bold;
  color: var(--gray-800);
  margin: 0;
}
.product-description {
  font-size: 16px;
  color: var(--gray-500);
}
.product-info {
  background-color: var(--gray-100);
  border-radius: 14px;
  padding: 32px;
}
.price {
  font-size: 24px;
  font-weight: bold;
  color: #1a3b5d;
}
.color-options {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}
.capacity-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.capacity-option {
  background-color: white;
  border: 1px solid #D0D5DD;
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
}

.table-container {
  /*display: none;*/
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--gray-200);
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
}

th {
  padding: 10px 24px;
  text-align: left;
  background-color: #f0f1f5;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-900);
}

td {
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  color: var(--gray-900);
}


.contact-buttons {
  display: flex;
  gap: 10px;
}
.contact-button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
.call-button {
  background-color: #1a3b5d;
  color: white;
}
.whatsapp-button {
  background-color: white;
  border: 1px solid #1a3b5d;
  color: #1a3b5d;
}
.email-button {
  background-color: white;
  border: 1px solid #1a3b5d;
  color: #1a3b5d;
}

@media (max-width: 1024px) {
    .hero-section {
      padding: 16px;
      padding-bottom: 0;
    }
}

@media (max-width: 970px) {
  .product-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  nav {
    align-items: center;
    justify-content: center;
    ul {
      display: none;
    }
  }
  .hero-section {
    padding: 20px;
    padding-top: 24px;
    padding-bottom: 0;
    .hero-title h1 {
      font-size: 30px;
      text-align: center;
      line-height: 36.31px;
      letter-spacing: normal;
    }
    .hero-title h2 {
      font-size: 14px;
      text-align: center;
      line-height: 16.94px;
      margin-top: 6px;
    }
  }
  .hero-button-div {
    align-items: center;
    justify-content: center;
    button {
      width: 100%;
      max-width: 136px;
      font-size: 12px;
      line-height: 14.52px;
      img {
        width: 15px;
      }
    }
  }
  .cert-con {
    flex-direction: column;
    align-items: center;
    .certifiactes {
      margin-bottom: 8px;
    }
    p {
      display: none;
    }
    .certificates-div {
      margin-top: 50px;
      justify-content: center;
      img {
        height: 48px;
        width: auto;
      }
    }
  }
  .metrics {
    flex-wrap: wrap;
    row-gap: 34px;
    gap: 55px;
    margin: auto;
    justify-content: space-around;
    .metric {
      width: 150px;
      gap: 8px;
      img {
        width: 40px;
      }
      h3 {
        font-size: 14px;
      }
      p {
        font-size: 12px;
      }
    }
  }
  .product-cards {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-left: 0;
    .product-card {
      gap: 16px;
      width: 100%;
      >img {
        width: 85px;
        margin: 0;
        object-fit: cover;
        height: 100%;
      }
    }
    .product-card {
      flex-direction: row;
      align-items: center;
      picture img {
        margin-bottom: 0;
      }
    }
    div:not(.product-card) {
      flex-direction: column;
    }
  }
  
    .table-container {
    display: block;
  }

  
  .why-us {
    .features {
      gap: 8px;
      .img {
        display: none;
      }
      .left, .right {
        gap: 8px;
        flex: 1 0 50%;
        .feature {
          background-color: white;
          width: 100%;
          padding-top: 18px;
          padding-bottom: 18px;
          padding-left: 22px;
          padding-right: 22px;
          border: 1px solid var(--blue-200);
          p {
            text-align: left;
          }
        }
      }
    }
  }
  .contact-options {
    flex-wrap: wrap;
  }

  .product-container {
    flex-direction: column;
    padding: 16px;
    padding-top: 20px;
    .product-image {
      border-radius: 8px;
    }
    .product-details {
      padding: 0;
      padding-top: 16px;
    }
  }
}

@media (max-width: 540px) {
  .metrics {
    .metric {
      width: 106px;
    }
  }
  .product-card {
    gap: 16px !important;
    padding-left: 14px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 16px;
    >img {
      width: 150px !important;
    }
    h3 {
      font-size: 12px;
      margin-bottom: 4px;
      line-height: 12.1px;
    }
    p {
      font-size: 10px;
      margin-bottom: 16px;
    }
    button {
      font-size: 10px;
      height: 30px;
    }
  }
  .capacity-option {
    font-size: 12px;
  }
}
