/*
  static Color kBlue303543 = Color(0xFF303543);
  static Color kGreen4bc984 = Color(0xFF4bc984);
  static Color kGreyF0F0F0 = Color(0xFFf0f0f0);
  static Color kGreyF7F7F7 = Color(0xFFF7F7F7);
  red = EB675B
  */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 1%;
}

.logo img {
  width: 100px;
}

.logo a {
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
}

nav a:hover {
  color: #EB675B;
  font-weight: bold;
}

nav a.active {
  color: #EB675B; 
  font-weight: bold;
  border-bottom: 2px solid #EB675B;
}

.header-title {
  font-size: 32px;
  font-weight: bold;
  text-underline-position: below;
  color: #000;
  text-align: center;
  text-decoration-line: underline;
  text-decoration-color: #EB675B;
}

.content-style {
  font-size: 18px;
  font-weight: normal;
  color: #000;
}

/* HERO */
.hero {
  position: relative;
  height: 60vh;
  overflow-x: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  background: rgba(0,0,0,0.0);
  color: #fff;
  position: absolute;
  bottom: 20%;
  left: 5%;
  font-size: 25px;
}

/* ABOUT */
.home-about {
  padding: 25px 2%;
}

/* PRODUCTS */
.home-products {
  padding: 25px 2%;
}

.home-product-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  height: 350px;
}

.home-product-slider::-webkit-scrollbar {
  display: none;
}

.home-product-card {
  height: 100%;
  max-width: 300px;
  border-radius: 10px;
  border: 1px solid #ddd;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  background: #fff;
  flex-direction: column;
  display: flex;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  justify-content: space-between;
}

.home-product-card:hover {
  transform: translateY(-5px);
}

.home-product-card h4 {
  font-size: 16px;
  font-weight: 600;
  padding: 10px;
  color: #000;
  background-color: #EB675B;
  flex-shrink: 0;
}

.home-product-card img {
  flex: 1 1 auto;
  min-height: 10%;
  width: 100%;
  object-fit: contain;
}

/* FEATURES */
.home-features {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 20px;
  padding: 10px 2%;
  background: #fff;
}

.home-feature-box {
  background: #f5f5f5;
  padding: 30px;
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  border-radius: 20px;
  /* color: #EB675B */
}

/* BOTTOM BAR */
.bottom-bar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 5%;
  background: #4bc984;
  color: #fff;
  margin-top: 50px;
  justify-content: space-between;
}

.bottom-bar a {
  color: #fff;
  display: column;
  text-decoration: none;
}
.about-section {
  flex: 0 0 50%;
}
.links-section {
  flex: 0 0 10%;
  margin-left: 70px;
  gap: 5px;
  display: flex;
  flex-direction: column;
}
.contact-section {
  flex: 0 0 20%;
  margin-left: 10px;
}

.bottom-bar-contact {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 5px;
}

/* FOOTER */
footer {
  background: #000;
  color: #aaa;
  text-align: center;
  padding: 15px;
}

.developer-name {
  color: #aaa;
  font-weight: bolder;
}

.separator {
  border-top: 2px solid #c2bbbb;
  width: 100%;
  margin: 15px 0%;
}

/*ABOUT US PAGE*/
.about-content-page {
  gap: 15px;
  color: #000;
  display: flex;
  flex-direction: column;
}

/*CONTACT US PAGE*/
.contactus-main-div {
  gap: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: start;
}

.contactus-sub-div {
  gap: 15px;
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
}

.contactus-location-item {
  margin-bottom: 20px;
}

.contactus-location-item p {
  margin: 0 0 6px 0;
  color: #000;
  line-height: 1.5;
}

.contactus-direction-link {
  color: red;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contactus-direction-link:hover {
  font-weight: 800;
}

.contact-form {
  gap: 15px;
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
  margin: auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form h3 {
  margin-bottom: 15px;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  min-height: 40px;
}

.contact-form button {
  width: 100%;
  padding: 10px;
  background: #d60000;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  height: 50px;
}

.contact-form button:hover {
  background: #b50000;
}

.phone-field {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  height: 40px;
  width: 100%;
}

.country-code {
  padding: 8px;
  height: 40px;
}

.phone-field input {
  flex: 1;
  height: 40px;
  margin-top: 10px;
  border: 0px solid #ccc;
  background-color: transparent;
  border-radius: 10px;
}

/* PRODUCTS PAGE*/
.category-bar {
  position: sticky;
  top: calc(var(--header-height, 150px));
  z-index: 998;
  background: #fff;
  padding: 15px 15px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

/* Hide scrollbar (optional) */
.category-bar::-webkit-scrollbar {
  display: none;
}

/* Buttons */
.category-bar button {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  height: 40px;
  font-size: 18px;
  color:#000
}

.category-bar button.active {
  background: #EB675B;
  color: #fff;
  border-color: #EB675B;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Product card */
.product-card {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
  display: flex;
  gap: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 15px;
  background: #fff;
  flex-direction: column;
}

.product-card.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
}

/* Product image */
.image-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;       
  justify-content: end;   
  flex-direction: column;
  gap: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.slides {
  width: 100%;
  height: 100%;
}

.slides img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  align-self: center;
  justify-self: center;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* .product-slider-nav-arrows {
  flex-direction: row;
  justify-content: space-between;
  width: 90%;
  display: flex;
  color: #4bc984;
} */

.slides img.active {
  opacity: 1;
  /* position: relative; */
  /* display: block; */
}

/* Navigation arrows */
.image-slider .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: 1px solid #ddd;
  font-size: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  text-align: center;
  margin-left: 3%;
  margin-right: 3%;
}

.image-slider .prev { left: 5px; }
.image-slider .next { right: 5px; }

/* Product info */
.product-info {
  flex: 1;
  flex-direction: column;
  display: flex;
  gap: 10px;
  text-align: left;
  padding-left: 20px;
}

.product-info h3 {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}

.product-info table {
  width: 100%;
  table-layout: auto;
  border: 1.5px solid #000; 
  margin-top: 10px;
  font-size: 14px;
  border-radius: 5px;
  max-width: 1200px;
  justify-self: left;
  align-self: left;
}

.product-info table td {
  padding: 6px 10px;
  vertical-align: top;
}

/* Grey separator between rows */
.product-info table tr:not(:last-child) td {
  border-bottom: 1px solid #ccc; /* Grey separator */
}

/* Left column (keys) */
.product-info table td:first-child {
  white-space: nowrap; 
  font-weight: 600;
  color: #000;
  border-right: 1px solid #ccc; /* Optional vertical separator */
}

/* Right column (values) */
.product-info table td:last-child {
  color: #333;
  width: 100%;
  word-break: break-word;
}

.product-info table td:nth-child(1) {
  background: #ecebeb;
} 

/*=========================================== RESPONSIVE ======================================*/

@media(max-width:1000px) {
  .bottom-bar {
    flex-direction: column;
    gap: 30px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .header-inner {
    flex-direction: column;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    margin: 0 10px;
  }
  
  .about-section {
    flex: 0 0 100%;
  }
  .links-section {
    flex: 0 0 100%;
    margin-left: 0px;
  }
  .contact-section {
    flex: 0 0 100%;
    margin-left: 0px;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    gap: 20px;
    padding: 20px;
  }

  .product-card {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .product-info {
    padding-left: 0;
  }

  .image-slider {
    width: 100%;
    height: 250px;
  }

  body {
    font-size: 14px;
  }

  .header-title {
    font-size: 25px;
  }

  .content-style {
    font-size: 14px;
  }

  .product-info h3 {
    font-size: 18px;
  }
}

@media(max-width:600px) {
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 20px;
    padding: 20px;
  }
}

@media(max-width:1200px) {
  .about-section {
    flex: 0 0 40%;
  }
  .links-section {
    flex: 0 0 10%;
  }
}