/****************************************
 *          GLOBAL STYLES
 ****************************************/
body {
  margin: 0;
  padding: 0;
  min-height: 200vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  font-size: 100%; /* Default to 16px */
  line-height: 1.5;
  box-sizing: border-box;
}

/****************************************
 *     HEADER / TOP ROW (STICKY)
 ****************************************/
.top-row {
  background-color: black;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-row img {
  height: 50px;
  width: auto;
}

.top-row nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  margin-left: 10px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  display: block;
}

nav ul li a:hover {
  color: #F4B203;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  min-width: 180px;
  z-index: 999;
}

.submenu li {
  border-bottom: 1px solid #ddd;
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu li a {
  color: #333;
  padding-left: 20px;
}

li.has-submenu.open .submenu {
  display: block;
}

img {
  max-width: 100%; /* The image will not exceed the width of its container */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Removes inline whitespace around images */
}

/****************************************
 *         REVIEWS SECTION
 ****************************************/
.reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 5px;
  background-color: #f5f5f5;
  margin: 10px 0;
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 16px; /* Base font size */
  line-height: 1.5;
}

.user-style {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
}

.review-container {
  width: 95%;
  max-width: 600px;
  position: relative;
  height: 150px;
  background-color: white;
  border: 1px solid black;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 5px;
}

.review-slide {
  position: relative;
  width: 100%;
  text-align: left;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  padding: 15px 20px;
  display: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.review-slide h2 {
  font-family: Arial, sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
}

.review-slide strong {
  font-weight: bold;
}

.review-slide.active {
  opacity: 1;
  display: block;
}

/* Desktop h2 size */
h2 {
    font-size: 1.5rem; /* 24px if base font is 16px */
}

/****************************************
 *          MAIN CONTENT ROW
 ****************************************/
.content-row {
  display: flex;
  flex-direction: row;
  padding: 20px;
  gap: 20px;
  background-color: #f0f0f0;
  box-sizing: border-box;
  width: 100%;
  min-height: 0; /* Allow content to shrink */
}

/* Base styles for all columns */
.left-column,
.middle-column,
.right-column {
  padding: 20px;
  border-radius: 8px;
  min-width: 0; /* Allow columns to shrink */
}

/* Individual column styles */
.left-column {
  flex: 1;
  background-color: #e0e0e0;
}

.middle-column {
  flex: 2;
  background-color: white;
}

.right-column {
  flex: 1;
  background-color: orange;
}

/****************************************
 *           ICON GRID
 ****************************************/
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(145deg, #333333, #000000);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
}

.icon img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}

.icon:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/****************************************
 *          CTA SECTION
 ****************************************/
.cta {
  margin: 5px;
  padding: 5px;
  background-color: lightgray;
  border: 1px solid #ccc;
  text-align: center;
  border-radius: 4px;
}

.cta-btn {
  display: inline-block;
  margin-top: 10px;
  background-color: green;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.cta-btn:hover {
  background-color: darkgreen;
}

/****************************************
 *          FOOTER
 ****************************************/
.bottom-row {
  background-color: black;
  color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

/****************************************
 *        RESPONSIVE MEDIA QUERIES
 ****************************************/
@media screen and (max-width: 1024px) {
  .content-row {
    flex-direction: column;
  }

  .left-column,
  .middle-column,
  .right-column {
    width: 100%;
  }

  .middle-column {
    order: 1;
  }

  .left-column {
    order: 2;
  }

  .right-column {
    order: 3;
  }
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: black;
    border: 1px solid #ddd;
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 15px;
    width: auto;
    z-index: 1000;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li a {
    color: white;
    padding: 10px;
    text-align: left;
    width: 100%;
  }

  nav ul li a:hover {
    background-color: #333;
  }

  .icon-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .icon {
    width: 60px;
    height: 60px;
    font-size: 12px;
  }

  .top-row img {
    height: 40px;
  }
	
	  .product-image {
    max-width: 400px;
  }
	
	  .above-top-row h1 {
    display: none;
  }

.reviews {
    font-size: 14px;
  }

  .user-style {
    font-size: 16px;
  }

  .review-slide {
    font-size: 14px;
  }

  .review-slide h2 {
    font-size: 18px;
  }
 
/* Tablet screens */
@media screen and (max-width: 768px) {
    h2 {
        font-size: 1.25rem; /* 20px if base font is 16px */
    }
}

@media screen and (max-width: 480px) {
  .icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .icon {
    width: 50px;
    height: 50px;
    font-size: 10px;
  }

  .top-row {
    flex-direction: column;
    text-align: center;
  }
  
  .cta {
    padding: 10px;
  }
	  .product-image {
    max-width: 300px;
  }
  .above-top-row h1 {
    display: none;
  }
	.reviews {
    font-size: 12px;
  }

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

  .review-slide {
    font-size: 12px;
  }

  .review-slide h2 {
    font-size: 16px;
  }
	/* Mobile screens */
@media screen and (max-width: 480px) {
    h2 {
        font-size: 1.125rem; /* 18px if base font is 16px */
    }

	