
img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}



.hero-section {
  background-color: #000000;
  border-bottom: 1px solid #dee2e6;
  color: white;
}

.hero-section p {
   color: white !important;
}

.hero-content {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

.hero-content .lead {
  font-size: 1.125rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content .lead {
    font-size: 1.25rem;
  }
}



/* top laptops section */
.laptop-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body img,
.card-body .btn {
  width: 100%;
}




.top-laptops {
  background: #f8f9fa;
  border-radius: 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
}


.badge {
    background-color: #0057B8;
}

.review {
    width: 100%;
  }

.editors-choice {
    position: relative;
}

.choice {
    position: absolute;
    top: 15px;
    border-radius: 0;
}





.laptop-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-tags .badge {
  font-size: 0.8rem;
}

.rating {
  font-size: 1rem;
  color: #f5c518;
}


/* buyers guides */

.section {
  padding: 2rem 1rem;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: none; /* No hover animation */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.card img {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}



/* FAQ Section */
.section.faq {
  background-color: #fafafa;
  padding: 3rem 1rem;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}

.section.faq {
  margin: 0 auto;
}

.faq-heading {
  font-size: 2rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 2rem;
  color: #333;
}

.faq-list {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background-color: #ffffff;
  border-left: 4px solid black;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease-in-out;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.6;
}






@media (max-width: 768px) {

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }


  .laptop-card {
    align-items: center;
    text-align: center;
  }

  .review {
    width: 389px;
  }
}

@media (max-width: 455px) {

  .review {
    width: 100%;
  }
}
