* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* nav */

#product {
  color: #ffc642;
  text-decoration: underline;
}

/* mobile */

#productDropdown {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

#productDropdown a {
  text-decoration: none;
}

/* nav end */

/* ---------------------  body --------------------- */

/* hero */
@media (max-width: 580px) {
  #hero {
    /* border: solid 3px red; */
    margin: 40px 0 4vw 0;
  }
}
@media (min-width: 580px) and (max-width: 770px) {
  #hero {
    /* border: solid 3px red; */
    margin: 50px 0 2vw 0;
  }
}

.hero {
  margin: 80px 0 3vw 0;
}

.hero img {
  width: 100%;
}

/* hero end */

/* grid seletor btns */

.gridSelectors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  /* border: solid 1px red; */
}

.selectBtn {
  border: solid 1px rgba(255, 198, 49, 1);
  color: rgba(0, 8, 16, 1);
  height: 48px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  color: #000810;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
}

.selectBtn.active {
  background-color: rgba(255, 198, 49, 1);
}

/* grid seletor btns end */

/* grid */

@media (max-width: 580px) {
  #gridBox {
    /* border: solid 1px red; */
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    justify-content: center;
    /* margin: auto; */
    padding: auto;
  }

  #gridBox .grids {
    width: 90%;
    margin: auto;
  }
}

@media (min-width: 580px) and (max-width: 772px) {
  #gridBox {
    /* border: solid 1px red; */
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* New two-column layout for series detail */
.series-main-wrapper {
  display: flex;
  width: 90%;
  max-width: 1400px;
  margin: 60px auto;
  gap: 40px;
  align-items: flex-start;
}

.series-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 120px;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #efefef;
}

.series-sidebar h4 {
  font-size: 14px;
  color: #a9a9a9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 600;
}

.sidebar-btn {
  text-align: left;
  padding: 12px 18px;
  border: 1px solid transparent;
  background: #fdfdfd;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  color: #4d5765;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-btn:hover {
  background: #f0f7f5;
  color: #0da574;
}

.sidebar-btn.active {
  background: #ffc631;
  border-color: #ffc631;
  color: #000810;
  box-shadow: 0 4px 10px rgba(255, 198, 49, 0.3);
}

.sidebar-btn::after {
  content: "→";
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.sidebar-btn.active::after {
  opacity: 1;
  transform: translateX(0);
}

.series-content-area {
  flex-grow: 1;
  width: 100%;
}

.gridBox {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.series-description {
  margin-bottom: 40px;
  text-align: left;
}

.series-description h2 {
  font-size: 2.5rem !important;
  margin-bottom: 20px !important;
}

/* Mobile responsive sidebar */
@media (max-width: 1024px) {
  .series-main-wrapper {
    flex-direction: column;
    width: 95%;
    gap: 30px;
    margin: 40px auto;
  }
  
  .series-sidebar {
    width: 100%;
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding: 15px;
    gap: 10px;
    box-shadow: none;
    background: transparent;
    border: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .series-sidebar::-webkit-scrollbar {
    display: none;
  }
  
  .series-sidebar h4 {
    display: none;
  }
  
  .sidebar-btn {
    white-space: nowrap;
    padding: 10px 20px;
    border: 1px solid #efefef;
    background: white;
  }
  
  .sidebar-btn::after {
    display: none;
  }
  
  .gridBox {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .gridBox {
    grid-template-columns: repeat(1, 1fr);
  }
}

.grids {
  /* border: solid 1px green; */
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.3s ease;
  background: #fff;
}

.grids:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grids img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 16px;
}

.grids h3 {
  color: #000;
  /* color: red; */
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  margin: 0;
  margin-bottom: 8px;
  padding: 0;
  min-height: 40px; /* Ensure 2 lines of text */
  display: -webkit-box;
  /* standard property for compatibility */
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grids p {
  color: #4d5765;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  padding: 0;
  flex-grow: 1; /* Push button to bottom */
  margin-bottom: 16px;
  display: -webkit-box;
  /* standard property for compatibility */
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grids p {
  color: #4d5765;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.gridBtn a {
  color: rgba(13, 165, 116, 1);
  margin-top: 6px;
  cursor: pointer;
  text-decoration: none;
}

/* grid end */

/* ready  */

@media (max-width: 580px) {
  #transform .transBox {
    width: 90% !important;
  }

  #transform .transBox h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }

  #transform .transBox p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  #transform .transBtn {
    font-size: 12px !important;
    width: auto !important;
    height: auto !important;
    min-height: 40px !important;
    padding: 10px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
  }
}

@media (min-width: 580px) and (max-width: 780px) {
  #transform .transBox {
    width: 90% !important;
  }

  #transform .transBox h1 {
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }

  #transform .transBox p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  #transform .transBtn {
    font-size: 13px !important;
    width: auto !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 10px 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
  }
}

.transBox {
  z-index: 20;
  /* border: solid 1px red; */
}

.transform {
  width: 100%;
  /* height: 590px; */
  padding: 4vw 0;
  background:
    linear-gradient(85deg, #0da574 0%, #001f3f 100%), url(../img/products/Group.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.transBox {
  width: 61vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.3vw;
}

.transBox h1 {
  color: var(--brand-color-1, #ffc631);
  text-align: center;
  font-size: 3.75vw;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}

.transBox p {
  color: var(--off-white, #e9e6e6);
  text-align: center;
  font-size: 1.42vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1.42vw;
  width: 44vw;
}

.transBtn {
  display: inline-flex;
  height: 3.525vw;
  padding: 0.938vw 1.563vw;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: #ffc631;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
  color: #000810;
  font-size: 0.938vw;
  font-weight: 600;
  cursor: pointer;
}

/* ready end */

/* contact */

@media (max-width: 580px) {
  #contact {
    /* border: solid 1px red; */
    gap: 20px;
    padding: 2px;
    margin: auto;
    flex-direction: column;
  }

  #contact .contactForm {
    /* border: solid 1px red; */
    width: 98%;
  }

  #contact .contactForm .formBox {
    /* border: solid 1px yellow; */
    width: 100%;
  }

  #contact .contactForm h1 {
    width: 100%;
    font-size: 6vw;
    line-height: 4.5vw;
  }

  #contact .contactDetails {
    /* border: solid 1px red; */
    width: 100%;
  }

  #contact .formBox button {
    width: 100%;
    height: 62px;
    border: none;
    padding: 18px 30px;
    background: #ffc631;
  }

  #contact .formBox input,
  #contact .formBox textarea {
    height: 44px;
  }

  #contact .form-floating textarea {
    /* border: solid 1px #fd0000; */
    height: 68px !important;
  }

  #contact .contactDetails h2 {
    font-size: 6vw;
  }

  #contact .contactDetails p {
    margin: 0;
    font-size: 3vw;
  }
}

@media (min-width: 580px) and (max-width: 770px) {
  #contact {
    /* border: solid 1px red; */
    padding: auto;
    margin: auto;
    flex-direction: column;
  }

  #contact .contactForm {
    /* border: solid 1px red; */
    width: 90%;
  }

  #contact .contactForm .formBox {
    /* border: solid 1px yellow; */
    width: 100%;
  }

  #contact .contactForm h1 {
    width: 100%;
    font-size: 4.5vw;
    line-height: 4.5vw;
  }

  #contact .contactDetails {
    /* border: solid 1px red; */
    width: 100%;
  }

  #contact .formBox button {
    width: 100%;
    height: 62px;
    border: none;
    padding: 18px 30px;
    background: #ffc631;
  }

  #contact .contactDetails h2 {
    font-size: 5vw;
  }

  #contact .contactDetails p {
    margin: 0;
    font-size: 2vw;
  }
}

.lineText {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lineText p {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  /* line-height: 22px; */
  margin: 0;
  padding: 0;
}

.contact {
  padding: 9.64vw 12vw 180px 12vw;
  display: flex;
  justify-content: space-between;
  gap: 5.729vw;
}

.contactForm h1 {
  width: 21.9vw;
  color: #000810;
  font-size: 2.5vw;
  font-style: normal;
  font-weight: 700;
  line-height: 2.5vw;
  margin: 0;
  padding: 0;
}

.formBox {
  width: 34vw;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

.formBox div {
  display: flex;
  gap: 10px;
}

.formBox input,
.formBox textarea {
  flex: 1;
  width: 100%;
  height: 2.92vw;
  padding-left: 20px;
  box-sizing: border-box;
  border: 1px solid #a9a9a9;
}

#floatingTextarea2:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 1px solid #a9a9a9;
}

.formBox button {
  width: 34vw;
  border: none;
  padding: 18px 30px;
  background: #ffc631;
}

.contactDetails {
  padding-top: 50px;
}

.contactDetails h2 {
  font-size: 1.975vw;
}

.contactDetails p {
  margin: 0;
  font-size: 0.933vw;
}

.contactDetailsP1 {
  color: #a9a9a9;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  margin-top: 20px !important;
}

.contactDetailsP2 {
  color: #000810;
  width: 280px;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
}

/* Responsive overrides for page headings and card copy */
@media (max-width: 768px) {
  .page-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    margin-top: 15px !important;
  }

  .page-description {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    padding: 0 15px !important;
  }

  .grids h3 {
    font-size: 17px !important;
    line-height: 1.4 !important;
    min-height: auto !important;
    margin-top: 10px !important;
  }

  .grids p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}

/* ------------------ body end ----------------------- */
