body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

header, footer, main {
  width: 60%;
  margin: 0 auto; /* Centers the elements with 20% gap on each side */
}

main {
  flex: 1;
  overflow-y: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #BB090FFF; /* Updated background color to new red */
  color: #fff;
  padding: 20px 0;
  border-bottom: 4px solid #8A0707FF; /* Adjusted border color to match new red */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

header h1 {
    font-size: 24px;
}

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

header nav ul li {
  display: inline;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
}


.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  padding: 40px 20px;
}

.features .feature {
    background: #f9f9f9;
    padding: 0 20px; /* Added horizontal padding 20, up and down 0 */
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 40%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.features .feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.features .feature p {
  font-size: 16px;
}

.use-case-img {
    width: 210px;
    height: 140px;
    object-fit: contain;
    border-radius: 16px;
}
.tdImgTop {
    vertical-align: top;
}
.padSides{
    padding-left: 24px;
    padding-right: 24px;
}
@media (max-width: 767px) {
    header h1, h1, h2, h3, .features .feature h3 {
        font-size: 18px;
    }
    p {
        font-size: 14px;
    }
    header nav ul li a {
        font-size: 14px;
    }
    .features {
        padding: 0 10px;/* Added horizontal padding 10, up and down 0 */
    }
    .features .feature {
        width: 80%;
        padding: 0 10px;/* Added horizontal padding 10, up and down 0 */
    }
    .use-case-img {
        width: 120px;
        height: 80px; /* maintain aspect ratio */
    }
    .padSides{
        padding-left: 12px;
        padding-right: 12px;
    }
}


footer {
  position: sticky;
  bottom: 0;
  z-index: 1000;
  background: #BB090FFF; /* Updated background color to new red */
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 20px;
}

.nav-item {
  cursor: pointer;
}

.nav-item.selected {
  font-weight: bold;
  text-decoration: none;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.purchase-button {
  background-color: #BB090FFF; /* Updated button color to new red */
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

.purchase-button:hover {
  background-color: #8A0707FF; /* Updated hover color to match new red */
}

.contact-form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 400px;
  margin: 20px auto;
}

.contact-form h1 {
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
}

.contact-form p {
  font-size: 14px;
  color: #666;
  text-align: center;
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.contact-form button {
  width: 100%;
  padding: 10px;
  background-color: #BB090FFF;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #8A0707FF;
}



/* Adjust width for desktop and mobile */
@media (min-width: 768px) { /* if wider than 768px than it is desktop */
  header, footer, main {
    width: 60%;
    margin: 0 auto; /* Centers the elements with 20% gap on each side */
  }
}

@media (max-width: 767px) { /* if smaller than 768px than it is mobile */
  header, footer, main {
    width: 100%;
    margin: 0; /* Removes side gaps on mobile */
    padding: 0px 0;
  }
}

@media (max-width: 768px) {
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .container > div:first-child {
    margin-bottom: 0px;
  }
}

.customer-feedback {
    margin-bottom: 20px;
    background: #fff8e1; /* Warm, light yellow background */
    border: 1px solid #ffe0b2; /* Soft orange border */
    border-radius: 12px; /* Rounded corners for a cozy feel */
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    font-family: 'Georgia', serif; /* Classic font for a homely touch */
    color: #5d4037; /* Warm brown text color */
}

.customer-feedback h2 {
    font-size: 28px;
    color: #795548; /* Warm brown color */
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Georgia', serif; /* Classic font for a homely touch */
}

.customer-feedback p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}
