* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Inter;
}

.hero-section {
  height: 300px;
  background-image: url("/images/learnMore/landing.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

h1 {
  margin-bottom: 16px !important;
  font-size: 32px;
}

.hero-section p {
  font-weight: 500;
  margin-bottom: 38px;
}

.hero-section button {
  background-color: transparent;
  border: 2px solid white;
  padding: 6px 12px;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-section button:hover {
  background-color: white;
  color: #904141;
}

.chooseReasons {
  /* height: 400px; */
  padding: 24px;
}

.chooseReasons h2 {
  margin-bottom: 26px;
  font-size: 24px;
}

.reasons {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  gap: 16px;
  /* background-color: red; */
}

.reasons .icon_reason {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}
.reasons .icon_reason .icon svg {
  width: 24px !important;
  height: 24px !important;
}

.reasons .icon_reason .reason-sub p {
  font-size: 12px;
  line-height: 1.35;
}

.reasons .icon_reason:nth-child(1) {
  animation-delay: 0.2s;
}

.reasons .icon_reason:nth-child(2) {
  animation-delay: 0.5s;
}

.reasons .icon_reason:nth-child(3) {
  animation-delay: 0.9s;
}

.reasons .icon_reason:nth-child(4) {
  animation-delay: 1.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.chooseReasons .icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  background-color: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chooseReasons .reason-sub {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chooseReasons .reason-sub h5 {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
}
.chooseReasons .reason-sub p {
  margin: 0;
  font-size: 12px;
  color: #5f5f5f;
  line-height: 1.35;
}

.gallery {
  padding: 24px;
  /* background-color: rebeccapurple; */
  font-weight: 600;
  color: #5f5f5f;
}

.gallery h2 {
  /* color: red; */
  font-size: 24px;
}

.pictures-grid {
  margin-top: 12px;
  margin-bottom: 6px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pictures-grid-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pictures-grid-item.video-container {
  background-color: #f5f5f5;
}

.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  z-index: 1;
}

.video-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e0e0e0;
  border-top: 4px solid #904141;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pictures-grid-item video {
  position: relative;
  z-index: 2;
}

.pictures-grid-item:last-child {
  grid-column: 1 / span 2;
}

.pictures-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.pictures-grid-item img,
.pictures-grid-item video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.social-media {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.social-media svg {
  width: 24px;
  height: 24px;
}
.social-media p {
  /* line-height: 1; */
  margin-bottom: 0;
  display: block;
}

.social-media .social-media-icons {
  display: flex;
  gap: 25px;
}

.social-media-icons a {
  display: inline-flex;
  transition: transform 0.3s ease;
}

.social-media-icons a:hover {
  transform: scale(1.1);
}

.social-media-icons svg {
  cursor: pointer;
}

.reviews-info {
  padding: 24px;
  padding-bottom: 0;
}

.reviews {
  padding-bottom: 40px;
}

.reviews h2 {
  margin-bottom: 14px;
  display: inline-block;
  font-size: 24px;
}

.google {
  margin: 0;
  /* color: #5f5f5f; */
  font-weight: 600;
}

.rating_score {
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5f5f5f;
  font-size: 18px;
}

.rating_score h4 {
  margin: 0;
  /* font-size: 15px; */
}

.client-score {
  display: flex;
  /* flex-direction:; */
  justify-content: center;
  /* align-: center; */
  gap: 16px;
  margin-bottom: 6px;
}

.client-stars svg {
  display: inline;
}

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.stars svg {
  display: block;
}

.carousel {
  padding: 0px !important;
  margin-top: 16px;
  /* height: 200px; */
  background-color: #fff;
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.08);
  color: #5f5f5f;
}

.carousel-item {
  padding: 20px 80px;
  text-align: center;
  /* background-color: red; */
}

.carousel-item h5 {
  font-size: 14px;
  font-weight: 600;
  color: black;
  margin: 0;
}

.carousel-item p {
  font-size: 12px;
  padding-bottom: 12px;
  /* background-color: blue; */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(27%) sepia(28%) saturate(1500%) hue-rotate(320deg)
    brightness(90%) contrast(90%);
}

.carousel-indicators button {
  background-color: #904141 !important;
}

.carousel-indicators {
  margin-bottom: 20px;
}
.all-google-reviews {
  margin-top: 6px;
  padding-left: 24px;
  color: #5f5f5f;
  font-weight: 500;
}

.all-google-reviews span {
  color: blue;
}

.desktop-review {
  display: none;
}

.book-cta {
  padding: 0 24px;
  margin-bottom: 20px;
}

.book-cta h2 {
  margin-bottom: 0;
  font-size: 24px;
}
.book-cta p {
  color: #5f5f5f;
}

.book-cta button {
  padding: 6px 12px;
  border-radius: 6px;
  background-color: #904141;
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.book-cta button:hover {
  background-color: #7a3636;
}

/* responsive design tablet */
@media (min-width: 576px) and (max-width: 991px) {
  h1 {
    font-size: 55px !important;
  }

  .hero-section p {
    font-size: 20px;
  }
  .hero-section button {
    padding: 8px 14px;
    font-size: 19px;
  }

  .chooseReasons .icon {
    width: 50px !important;
    height: 50px !important;
  }
  .chooseReasons .icon svg {
    width: 24px;
    height: 24px;
  }
  .reasons {
    gap: 20px;
  }

  .reason-sub h5 {
    font-size: 18px !important;
  }

  .reason-sub p {
    font-size: 16px !important;
    margin: 0;
  }

  .pictures-grid {
    gap: 16px;
  }
  .social-media p {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .social-media-icons svg {
    width: 26px !important;
    height: 26px !important;
  }

  .google {
    font-size: 20px;
  }

  .carousel-item h5 {
    font-size: 22px;
  }
  .carousel-item p {
    font-size: 16px;
  }
  .all-google-reviews {
    font-size: 22px !important;
  }

  .book-cta button {
    padding: 8px 14px;
    font-size: 19px;
  }
}

/* responsive design - for desktop */
@media (min-width: 991px) {
  .hero-section {
    height: 85vh;
  }

  h1 {
    font-size: 50px !important;
    margin-bottom: 30px !important;
  }
  .hero-section p {
    font-size: 18px !important;
  }

  .hero-section button {
    padding: 8px 16px;
    font-size: 18px;
  }

  h2 {
    font-size: 30px !important;
  }

  .chooseReasons .icon {
    width: 50px !important;
    height: 50px !important;
  }
  .chooseReasons .icon svg {
    width: 25px;
    height: 25px;
  }

  .reason-sub h5 {
    font-size: 18px !important;
  }

  .reason-sub p {
    font-size: 14px !important;
    color: red;
  }

  .social-media-icons svg {
    width: 25px;
    height: 25px;
  }

  .pictures-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .carousel {
    display: none;
  }

  .desktop-review {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .desktop-card {
    position: relative;
    padding: 35px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.05),
      0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
  }

  .desktop-card h5 {
    font-size: 17px;
  }
  .desktop-card p {
    font-size: 14px;
  }
  .desktop-card .open-quote {
    position: absolute;
    top: 8px;
    left: 30px;
    width: 30px;
    height: 30px;
  }

  .desktop-card .close-quote {
    position: absolute;
    bottom: 8px;
    right: 30px;
    width: 50px;
    height: 50px;
  }

  h2 {
    font-size: 26px !important;
  }

  .book-cta button {
    padding: 8px 16px;
    font-size: 18px;
  }
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 30px;
  z-index: 10000;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

.lightbox-title {
  color: #904141;
  font-size: 32px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
  z-index: 10001;
}

.lightbox-close:hover {
  color: #904141;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 30px;
  padding: 16px 20px;
  cursor: pointer;
  z-index: 10000;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(144, 65, 65, 0.8);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 8px 16px;
  border-radius: 20px;
  z-index: 10000;
}

.pictures-grid-item {
  cursor: pointer;
}

@media (max-width: 576px) {
  .lightbox-header {
    padding: 15px 20px;
  }

  .lightbox-title {
    font-size: 22px;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 24px;
    padding: 12px 16px;
  }

  .lightbox-close {
    font-size: 32px;
    top: 15px;
    right: 20px;
  }

  .lightbox-counter {
    font-size: 14px;
    bottom: 10px;
  }
}
