/* Certificate Carousel Modal Controls */
#certificateCarousel .carousel-control-prev,
#certificateCarousel .carousel-control-next {
  border: 1px solid var(--bs-primary) !important;
  color: var(--bs-primary) !important;
}

#certificateCarousel .carousel-control-prev:hover,
#certificateCarousel .carousel-control-next:hover {
  border: 1px solid var(--bs-primary) !important;
  color: white !important;
  background-color: var(--bs-primary) !important;
}

/* Responsive image sizing for modal carousel */
@media (max-width: 768px) {
  #certificateCarousel .carousel-item img {
    height: 300px !important;
    max-width: 100% !important;
  }
}

@media (max-width: 576px) {
  #certificateCarousel .carousel-item img {
    height: 250px !important;
    max-width: 100% !important;
  }
}

@media (max-width: 400px) {
  #certificateCarousel .carousel-item img {
    height: 200px !important;
    max-width: 100% !important;
  }
}

/* Quote paragraph styling */
.quote-paragraph {
  border-left: 4px solid #0d6efd;
  background: none;
}

#transformation p {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.65;
}

/* Override Bootstrap bg-light color */
:root {
  --bs-light: rgb(155, 180, 200); /*rgb(202, 208, 188)*/
  --bs-font-sans-serif: "Inter", sans-serif;
}

.bg-light {
  background-color: rgb(218, 218, 218) !important; /*rgb(202, 208, 188)*/
}

/* Thicker bottom border utility */
.border-bottom-thick {
  border-bottom-width: 3px !important;
}

/* Introduction hero with full-width background portrait */
.introduction-hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background-image: url('../img/portrait_1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding-bottom: 50px;
}

.introduction-hero-btn {
  font-family: var(--bs-font-sans-serif);
  font-style: normal;
  background-color: #fff;
  color: var(--bs-dark);
  border-color: #fff;
  margin-top: 2rem;
}

.introduction-hero-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--bs-dark);
}

.site-header {
  background-color: rgb(252, 252, 252);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header .nav-link {
  color: var(--bs-dark);
  font-size: 0.9rem;
}

.introduction-mobile-cta .introduction-hero-btn {
  background-color: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
  margin-top: 0;
}

.introduction-mobile-cta .introduction-hero-btn:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  color: #fff;
}

@media (max-width: 768px) {
  .introduction-hero {
    /* dvh accounts for mobile browser chrome (address bar); vh is fallback */
    min-height: 85dvh;
    min-height: 85vh;
    padding-bottom: 2rem;
  }

  .introduction-tagline {
    margin-top: 1rem !important;
  }
}

/* Q&A accordion */
#qnaAccordion .accordion-item {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.1);
}

#qnaAccordion .accordion-button {
  background: transparent;
  box-shadow: none;
  font-weight: 500;
  padding-left: 0;
  padding-right: 0;
}

#qnaAccordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--bs-primary);
}

#qnaAccordion .accordion-body {
  padding-left: 0;
  padding-right: 0;
}
