/*=============== CONTACT SECTION ===============*/
.contact {
  background: var(--body-color);
  padding: 5rem 0;
}


.contact__subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color-light);
}

.contact_section__subtitle {
  text-align: center;
  font-size: 1rem;
  /*color: #ddd;*/
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  font-weight: 100;
  letter-spacing: 0.5px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}


.contact__data-subtitle {
  color: var(--white-color);
  display: block;
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-75);
  font-size: 22px;
  text-shadow: var(--deep-shadow);
}



.contact__container {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.contact__content {
  display: flex;
  justify-content: center;
}

.contact__info {
  display: grid;
  gap: 1.5rem;
}


.contact__card {
  /* background: var(--container-color); */
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: 0.4s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact__card:hover {
  transform: translateY(-8px);
}

.contact__icon {
  font-size: 2rem;
  color: var(--first-color);
  margin-bottom: 0.5rem;
}

.contact__card-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

.contact__card-data {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}





/* Submit Button */
.button--flex {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--first-color);
  color: #fff;
  font-weight: var(--font-semi-bold);
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.8rem;
  transition: all 0.3s ease;
}

.button--flex:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 136, 255, 0.3);
}

/*==================== RESPONSIVE ====================*/
@media screen and (min-width: 768px) {
  .contact__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

/*==================== ANIMATIONS ====================*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}







/*=============== REVIEWS / RATING SUMMARY ===============*/
.reviews {
  background: var(--body-color-alt);
  text-align: center;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.reviews__subtitle {
  margin-bottom: 4rem;
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.reviews__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.review__stat {
  /* background: var(--container-color); */
  width: 200px;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.review__stat:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.review__icon {
  font-size: 2.5rem;
  color: var(--first-color);
  margin-bottom: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.review__number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--title-color);
}

.review__label {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.review__stars {
  color: #FFD700;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.reviews__images {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.reviews__img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.reviews__img {
  width: 230px;
  height: 160px;
  border-radius: 1rem;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(90%);
}

/* Hover effect – Light glow without blur */
.reviews__img-wrapper:hover .reviews__img {
  transform: scale(1.05);
  filter: brightness(120%) saturate(110%);
}

/* Overlay text */
.reviews__overlay-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  transition: opacity 0.4s ease, transform 0.4s ease;
  letter-spacing: 1px;
  white-space: nowrap;
  /* ✅ Prevents text from breaking into two lines */
}

/* Hover text fade-in with light motion */
.reviews__img-wrapper:hover .reviews__overlay-text {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
}


/*=============== CONTACT SECTION (MODERN TWO-COLUMN STYLE) ===============*/
.contact__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact__image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact__image img {
  width: 100%;
  max-width: 550px;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contact__image img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.contact__details {
  flex: 1 1 45%;
}

.contact__subtitle {
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact__btn {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  text-decoration: none;
}

/* Responsive */
@media screen and (max-width: 992px) {
  .contact__wrapper {
    flex-direction: column;
    text-align: center;
  }

  .contact__image img {
    max-width: 100%;
  }

  .contact__details {
    width: 100%;
  }

  .contact__btn {
    display: inline-flex;
    justify-content: center;
  }
}




/* Change contact card background to red in dark mode */
/* body.dark-theme .contact__card {
  background-color: red ;
} */


/*=============== IMAGE + TEXT SECTION (Fixed Alignment) ===============*/
.info-section {
  width: 100%;
  background: var(--body-color);
  padding: 5rem 0;
}

.info-section .container {
  max-width: 1120px; /* same as navbar width */
  margin: 0 auto;
  padding: 0 1.5rem; /* side padding for balance */
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.info-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.info-container.reverse {
  flex-direction: row-reverse;
}

.info-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.info-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.info-image img:hover {
  transform: scale(1.04);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.25);
}

.info-content {
  flex: 1 1 45%;
  text-align: left;
}

.info-content h2 {
  font-size: 2rem;
  color: var(--title-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.info-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
  opacity: 0.95;
}

/*=============== SCROLL REVEAL EFFECT ===============*/
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/*=============== RESPONSIVE DESIGN ===============*/
@media screen and (max-width: 992px) {
  .info-content h2 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 768px) {
  .info-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .info-container.reverse {
    flex-direction: column;
  }

  .info-image img {
    max-width: 100%;
  }
}




