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

html {
  font-size: 16px;
  /* 1rem = 16px everywhere */
}

body {
  padding-top: 50px;

  line-height: 1.6;
  color: #333;
}

.sub-header {
  background-image: url('../images/background-image.jpg');
  background-size: cover;
  background-position: center;
  height: 180px;
  /* or your preferred height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-family: 'Playfair Display', serif;
  position: relative;
}

.sub-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  /* optional overlay for better text readability */
  z-index: 0;
}

.sub-header h1 {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
}

.hero-text,
.sub-header h1 {

  font-style: italic;
  font-weight: normal;
  font-size: 50px !important;
  /* force consistent size */
  color: #ffffff;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  /* dark shadow */
}

.container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.intro {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 30px;
  font-family: 'Montserrat', sans-serif;
}

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 10px;

}

.service-card.left {
  flex-direction: row;
}

.service-card.right {
  flex-direction: row-reverse;
}

.service-card .number {
  min-width: 70px;
  min-height: 70px;
  background: #2e1100;
  color: white;
  font-size: 36px;
  font-family: 'Crimson Pro', serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card img {
  width: 400px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 13%);
}

.video-wrapper-service {
  position: relative;
  width: 400px;
  display: inline-block;
}

.service-card video {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 13%);
  background-color: #000;
  display: block;
}

.fullscreen-btn-service {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-btn-service:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.fullscreen-btn-service i {
  font-size: 22px;
}

.service-card .text {
  flex: 1;
}

.service-card h2 {
  font-size: 42px;
  color: #2e1100;
  margin-bottom: 10px;
  font-family: 'Crimson Pro', serif;
  border-bottom: solid;
  border-bottom-width: 1.5px;
  max-width: 20vh;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
  color: #555;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    margin: 40px auto;
    padding: 0 15px;
  }

  .intro {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .service-card {
    flex-direction: column !important;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    gap: 20px;
  }

  .service-card .number {
    margin-bottom: 15px;
    min-width: 60px;
    min-height: 60px;
    font-size: 30px;
  }

  .service-card img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 15px;
  }

  .video-wrapper-service {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 15px;
}

.service-card video {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
}

  .service-card .text {
    width: 100%;
  }

  .service-card h2 {
    font-size: 32px;
    max-width: 100%;
    text-align: center;
    margin: 0 auto 10px;
  }

  .service-card p {
    font-size: 14px;
    text-align: justify;
  }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .service-card {
    gap: 30px;
    padding: 25px;
  }

  .service-card img {
    width: 350px;
  }

  .video-wrapper-service {
  width: 350px;
}

.service-card video {
  width: 350px;
  height: 350px;
  object-fit: cover;
}

  .service-card h2 {
    font-size: 38px;
  }
}

/* FAQ Section Styles */
.faq-section {
  background-color: #fff;
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.container-faq {
  width: 100%;
}

.faq-section h2 {
  font-size: 40px;
  font-family: 'Crimson Pro', sans-serif;
  color: #2f1200;
  text-align: center;
  font-weight: normal;
  margin-bottom: 1rem;
  border-bottom-style: solid;
}

.description-faq {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #333;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0;
  transition: all 0.2s ease-out;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-item .icon {
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 1rem;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  color: #5a5a5a;
}

.faq-question p {
  margin: 0;
  color: #2F1200;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  display: inline;
  vertical-align: middle;
  width: calc(100% - 40px);
}

.faq-item .answer {
  font-family: 'Montserrat', sans-serif;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.15),
    padding 0.3s ease,
    opacity 0.2s ease;
  color: #2F1200;
  padding: 0 1.5rem;
  opacity: 0;
  line-height: 1.6;
}

/* Active State */
.faq-item.active {
  border-color: #2F1200;
  background-color: #faf8f7;
}

.faq-item.active .icon {
  transform: rotate(45deg);
  color: #2F1200;
}

.faq-item.active .answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
  opacity: 1;
  margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-section h2 {
    font-size: 2rem;
  }

  .faq-question {
    padding: 1.25rem;
  }

  .faq-item.active .answer {
    padding: 0 1.25rem 1.25rem;
  }
}

.video-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 40px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-wrapper-service.loading .video-loading-spinner {
  opacity: 1;
}

.video-wrapper-service.loading .video-loading-spinner i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}