html {
    scroll-behavior: smooth;
}

/* Logo CSS */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

/* Container for the logo */
.logo-container {
    flex-shrink: 0; /* Prevent the logo from shrinking */
}

/* Styling for the logo image */
.logo {
    width: 100px;
    height: auto; /* Maintain aspect ratio */
}

/* Header CSS */
header {
    border: none;
    margin: 100;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: right;
}

header h1 {
    font-family: 'Rubik', serif;
    text-align: left;
}

.hero {
    font-size: xx-large;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero img {
    padding: 10px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

/* Main CSS */
body {
    background-color: #fff;
    color: rgb(3, 3, 121);
    text-align: center;
}

h2 {
  font-family: "Calistoga", serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

h3, h4, h5, h6 {
    font-family: 'Rubik', serif;
    text-align: center;
}

nav ul li a {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    text-align: right;
}

section {
    padding: 60px 20px;
    margin-top: 50px;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
}

.about-us {
  background-color: #faf7f5;
}

.product-grid {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin: auto;
}

.product-grid img {
    width: 250px;
    height:auto;
    justify-content: space-between;

}

.slide-track {
    display: flex;
    animation: slide 12s linear infinite;
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-150%); }
}

/* Nav CSS */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

button {
    padding: 15px;
    border-radius: 10px;
    border: 2px solid black;
    background-color: #fff;
    cursor: pointer;
}

button a {
    color: rgb(3, 3, 121);
    text-decoration: none;
    list-style-type: none;
}

button a:hover {
    background: color #004;
}

/* Footer CSS */
footer {
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.social-media img {
    width: 50px;
    margin: 0 5px;
    justify-content: space-between;
}

.reviews {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #222;
}

.review-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,0.06);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.reviewer {
  font-weight: 600;
  }

.reviewer .meta {
  font-weight: 400;
  color: #4b5563;
}

.stars {
  margin-left: auto;
  display: inline-flex;
  gap: 2px;
}

.star {
  width: 18px;
  height: 18px;
  display: inline-block;
  color: #f59e0b; /* amber */
}

.star.empty {
  color: #e5e7eb; /* light gray for empty stars */
}
.review-text {
  line-height: 1.5;
  color: #374151;
  margin: 8px 0 12px;
}

.review-footer {
  display: flex;
  justify-content: flex-end;
  color: #6b7280;
  font-size: 0.92em;
}

/* REVIEWS SECTION */
.reviews-section {
  padding: 4rem 1.5rem;
  background: #faf7f5; /* soft neutral */
}

.reviews-section h2 {
  font-family: "Calistoga", serif;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  font-family: "Quicksand", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.reviewer {
  font-weight: 600;
  font-size: 0.95rem;
}

.reviewer .meta {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  opacity: 0.7;
}

.stars {
  white-space: nowrap;
}

.star {
  color: #d4af37; /* gold */
  font-size: 1rem;
}

.star.empty {
  opacity: 0.3;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

.review-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  font-family: "Quicksand", sans-serif;
}

/* FAQ SECTION */
.faq-section {
  padding: 4rem 1.5rem;
  background: #ffffff;
}

.faq-section h2 {
  font-family: "Calistoga", serif;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  opacity: 0.8;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* OPEN STATE */
.faq-item.active .faq-answer {
  max-height: 300px; /* enough for most answers */
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* + becomes × */
}

/* ======================
   GET A QUOTE SECTION
====================== */

.quote-section {
  padding: 4rem 1.5rem;
  background: #faf7f5;
}

.quote-section h2 {
  font-family: "Calistoga", serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.quote-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
  opacity: 0.8;
}

.quote-form {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  font-family: "Quicksand", sans-serif;
  font-size: 0.9rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
}

.quote-form .cta-button {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 999px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.quote-form .cta-button:hover {
  opacity: 0.85;
}

/*********************
LIVE VALIDATION (FORM)
**********************/
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: popIn 0.3s ease;
}

.popup-content h3 {
  margin-bottom: 0.5rem;
}

.popup-content p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.popup-content button {
  background: #000;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}

@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/*************
MEET THE TEAM
**************/
.team-section {
  padding: 4rem 1.5rem;
  text-align: center;
}

.team-section h2 {
  margin-bottom: 0.75rem;
}

.team-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.team-card img {
  width: 100px;
  height: 150px;
  /*object-fit: cover;*/
  border-radius: 10%;
  margin-bottom: 1rem;
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
}

.team-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
