body { 
    font-family: 'Segoe UI', sans-serif;
}

.message {
    padding: 0.6rem 1rem;
    background-color: #d1e7dd;
    color: #0f5132;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.popup-form {
    background-color: white;
    width: 50%;
    margin: auto;
} 
.ratings{
    display: flex;
    margin: auto;
    justify-content: center;
    gap: 5rem;
}
.review-bar-div {
  width: 60%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-stat-inside{
    text-align: center;
    border: 2px solid var(--secondary-color);
    border-radius: 15rem;
    padding: 28px 17px;
}
.material-icons{
  color: #ffb407;
}
.review-bar-section{
  width: 38%;
}
.review-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
    /* width: 41%; */
    margin: 5px auto;
}

.review-bar p {
  margin: 0;
  font-size: 14px;
  width: 40px; /* fixed width for star + number */
}

.rate-bar {
    flex: 1;
    height: 14px;
    background: #eee;
    border-radius: 9px;
    overflow: hidden;
    position: relative;
    font-size: 11px;
}

.rate-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #17a44c);
  width: 0; /* will be set by JS */
  transition: width 1s ease-in-out;
  color: var(--color-bg);
}

.review-bar p {
  margin: 0;
  font-size: 14px;
}
.reviews{
  margin-top: 1rem;
} 
.user-review {
  margin-top: 20px;
}
.reviews h3{
      font-size: 25px;
    font-weight: bold;
}
.review-sec {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

.name-letter {
  background-color: #2e8b57;
  color: white;
  font-weight: bold;
  font-size: 1.2em;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
}

.review-sec i.material-icons {
  font-size: 1em;
  color: orange;
}

.review-btn {
  background-color: #2e8b57;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 0.9em;
  cursor: pointer;
  border-radius: 4px;
}

.review-btn:hover {
  background-color: #256b45;
}

.date {
  font-size: 0.7em;
  color: gray;
}
/* ///////////////////////////////////////////////////// */
/* pure css and html code instead of bootstrap */
.hero-sec {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel {
  position: relative;
  /* padding-bottom: 1rem; */
    padding-top: .5rem;
}

.carousel-slide {
  display: none;
  width: 100%;
  transition: opacity 0.8s ease-in-out;
  background-color: white;
}

.carousel-slide.active {
  display: block;
}

.carousel-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.carousel-text {
  flex: 1 1 45%;
  padding: 1rem;
}

.carousel-text h1 {
  font-size: 2rem;
}

.carousel-text p {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.carousel-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}

.carousel-image img {
 
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  
}

 
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
     border: none;
    font-size: 2rem;
    color: var(--primary-color);
    padding: 3px 18px;
    cursor: pointer;
    border-radius: 50%;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

 
@media (max-width: 768px) {
  .carousel-row {
    flex-direction: column;
    text-align: center;
  }
  .carousel-text, .carousel-image {
    flex: 1 1 100%;
  }
  .carousel-image img {
    max-height: 300px;
  }
}


 
@media (max-width: 768px) {
  .carousel-row {
    flex-direction: column;
    text-align: center;
  }
  .carousel-text h1 {
    font-size: 24px;
  }
  .carousel-text p {
    font-size: 1rem;
  }
}

/*section-3*/

.section3 {
  background-color: #12572c;
  padding: auto;
  color: white;
}

.section3 .container {
  max-width: 1200px;
  margin: 20px auto;
}

.section3 .content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.section3 .image-column {
  flex: 1 1 40%;
  text-align: center;
}

.section3 .image-column img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  padding: 7px;
}

.section3 .text-column {
  flex: 1 1 55%;
  padding: 20px;
}

.section3 .text-column h1 {
    font-size: 24px;
    text-align: center;
    line-height: 1.2;
}

.section3 .text-column p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .section3 .content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .section3 .text-column {
    padding: 10px 0;
  }
}

/*Section-4 */
.brands {
  /* padding: 4rem 4rem; */
  background: #fff;
}

.brands-container h2 {
    text-align: center;
    font-size: 25px;
    margin-bottom: -1rem;
    color: black;
    font-weight: bold;
}

.brands-container {
  width: 90%;
  margin: auto;
}

.brand-category h3 {
    text-align: center;
    font-size: 18px;
    margin: 1.5rem 0;
    color: #d4a815;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  justify-items: center;
  align-items: center;
}

.brand-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-image {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.brand-image:hover {
  transform: scale(1.05);
}
/* =============================================
============================================= */
body {
    font-family: 'Segoe UI', sans-serif;
}

.message {
    padding: 0.6rem 1rem;
    background-color: #d1e7dd;
    color: #0f5132;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.popup-form {
    background-color: white;
    width: 50%;
    margin: auto;
}

/* --- Review stats (top summary) --- */
.reviews {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px lightgray;
  background-color: white;
}

.rating {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
}

.review-stat {
  text-align: center;
  padding: 5px 20px;
}

.review-stat-inside h1 {
  font-size: 3em;
  margin: 0;
  color: orange;
}

.review-stat-inside i {
  color: orange;
}

.review-stat p {
  font-size: 1em;
  font-weight: bold;
}

.review-bar-div {
  flex-grow: 1;
  padding: 0px 30px;
}

.review-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-bar p {
  margin: 0px 10px;
}

.rate-bar {
  width: 100%;
  height: 10px;
  background-color: lightgray;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.rate-fill {
  height: 10px;
  background-color: orange;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
}

/* --- Individual User Reviews --- */
.user-review {
  margin-top: 20px;
}

/* Make each review look like a card */
.review-sec {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  transition: transform 0.2s ease-in-out;
}

.review-sec:hover {
  transform: translateY(-4px);
}

/* Circle with first letter */
.name-letter {
  background-color: #2e8b57;
  color: white;
  font-weight: bold;
  font-size: 1.2em;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Stars */
.review-sec i.material-icons {
  font-size: 1em;
  color: orange;
}

/* "View more reviews" button */
.review-btn {
  background-color: #2e8b57;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 0.9em;
  cursor: pointer;
  border-radius: 20px;
  transition: background 0.2s ease-in-out;
}

.review-btn:hover {
  background-color: #256b45;
}

.date {
  font-size: 0.75em;
  color: gray;
  display: block;
  margin-bottom: 5px;
}

/* make reviews grid-like */
.review-col {
  display: flex;
}

.review-sec {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
  padding: 15px;
  display: flex;
  align-items: flex-start;
  transition: transform 0.2s ease-in-out;
}

.review-sec:hover {
  transform: translateY(-4px);
}
.rating-card {
  width: 50%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: #0f0c29;
  background: linear-gradient(to right bottom, #0d5353, #061a19);
  padding: 20px 20px;
  border-radius: 10px;
  gap: 10px;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.058);
  margin-top: 2rem;
}
/* Tablet */
@media (max-width: 992px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 auto;
        width:50%;
    }
}
/* Mobile */
@media (max-width: 576px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rating-card {
    width: 93%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #0f0c29;
    background: linear-gradient(to right bottom, #0d5353, #061a19);
    padding: 20px 20px;
    border-radius: 10px;
    gap: 10px;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.058);
    margin-top: 2rem;
}
.ratings {
    display: flex;
    margin: auto;
    justify-content: center;
    gap: 1rem;
}
.review-stat-inside i {
    color: orange;
    font-size: 19px;
}
.review-stat-inside h1 {
    font-size: 25px;
    margin: 0;
    color: orange;
}
.review-stat-inside {
    text-align: center;
    border: none;
}
.review-bar-section {
    width: 63%;
}
.review-bar p {
    margin: 0px;
}
.carousel-control.prev {
    left: 10px;
    display: none;
}
.carousel-control.next {
    left: 10px;
    display: none;
}
}


.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  width: 100%;
}

.carousel-slide.active {
  display: block;
}

.carousel-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.carousel-image {
  width: 100%;
  text-align: center;
  
}

.carousel-image img {
  /* width: 100%;*/
  height: auto;        
  object-fit: contain;  
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* 📱 Mobile */
@media (max-width: 767px) {
  .carousel-image img {
    max-height: 250px;  /* Adjust if banner is too tall */
  }
}

/* 💻 Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .carousel-image img {
    max-height: 350px;
  }
}
.hhighlight{
  background-color: whitesmoke;
}