/* ------------------------------------------------------------
   Front Page (Stylish Portfolio alignment)
   Scope: front page only
------------------------------------------------------------- */

body.home .content-section {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

@media (max-width: 576px) {
  body.home .content-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* Match the Stylish Portfolio heading rhythm */
body.home .content-section-heading h3 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home .content-section-heading h2 {
  font-weight: 700;
  line-height: 1.15;
}

/* ------------------------------------------------------------
   Masthead polish (keeps your gradient fallback)
   Your theme already sets a readable background for .masthead.
------------------------------------------------------------- */

/* Modern-business hero layout (text left, media right) */
body.home .masthead {
  color: #fff;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 992px) {
  body.home .masthead {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

body.home .vh-hero-title {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 4.8vw, 4.25rem);
}

body.home .vh-hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 38rem;
}

body.home .vh-hero-media {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

body.home .vh-hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

body.home .vh-hero-placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: 3.5rem;
  letter-spacing: 0.08em;
}

@media (max-width: 576px) {
  body.home .vh-hero-placeholder {
    min-height: 220px;
    font-size: 2.5rem;
  }
}

body.home .masthead .btn.btn-xl {
  border-radius: 0.5rem;
}

body.home .masthead .btn.btn-dark {
  background-color: #212529;
  border-color: #212529;
}

body.home .masthead .btn.btn-primary {
  background-color: #1d809f;
  border-color: #1d809f;
}

body.home .masthead .btn.btn-primary:hover,
body.home .masthead .btn.btn-primary:focus {
  background-color: #155d74;
  border-color: #155d74;
}

/* ------------------------------------------------------------
   Services section
   front-page.php uses:
   <section id="services" class="content-section bg-primary text-white">
   and inside: .card (white) + .btn-dark (requested)
------------------------------------------------------------- */

body.home #services.bg-primary {
  background-color: #1d809f !important;
}

/* Icon above the image (Stylish Portfolio inspired, but modernized) */
body.home #services .service-icon {
  width: 4.5rem;
  height: 4.5rem;
  background-color: #1d809f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2);
}

body.home #services .card {
  border: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.home #services .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.16);
}

body.home #services .card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

body.home #services .card img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

body.home #services .card h3 a {
  color: #0f172a;
  text-decoration: none;
}

body.home #services .card h3 a:hover {
  text-decoration: underline;
}

/* Keep the Learn more button black, but make it feel intentional */
body.home #services .card .btn.btn-dark {
  background-color: #111827;
  border-color: #111827;
}

body.home #services .card .btn.btn-dark:hover,
body.home #services .card .btn.btn-dark:focus {
  background-color: #0b1220;
  border-color: #0b1220;
}

/* ------------------------------------------------------------
   FAQ section
   front-page.php wraps accordion with inline max-width + margin auto.
   We'll style the accordion items to match the template’s clean look.
------------------------------------------------------------- */

body.home #front-faq .accordion {
  max-width: 920px; /* matches your inline intent */
  margin-left: auto;
  margin-right: auto;
}

body.home #front-faq .accordion-item {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
}

body.home #front-faq .accordion-item + .accordion-item {
  margin-top: 0.75rem;
}

body.home #front-faq .accordion-button {
  font-weight: 600;
  padding: 1rem 1.25rem;
}

body.home #front-faq .accordion-button .badge {
  font-weight: 600;
  border: 1px solid rgba(17, 24, 39, 0.12);
}

body.home #front-faq .accordion-body {
  color: #374151;
}

body.home #front-faq a {
  color: #1d809f;
  text-decoration: none;
}

body.home #front-faq a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------
   Portfolio section
   front-page.php uses Stylish Portfolio .portfolio-item grid.
------------------------------------------------------------- */

 .vh-front-portfolio-grid {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.16);
}

 .vh-front-portfolio-grid > [class*="col-"] {
  padding: 0;
}

/* Consistent tile height; image is cropped intentionally for a clean grid */
 .portfolio-item {
  height: 18rem;
}

@media (min-width: 992px) {
   .portfolio-item {
    height: 24rem;
  }
}

@media (max-width: 576px) {
   .portfolio-item {
    height: 15rem;
  }
}

 .portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Make the overlay content fit the smaller tile height */
 .portfolio-item .caption .caption-content {
  margin: auto 1.75rem 1.75rem;
}

@media (min-width: 992px) {
   .portfolio-item .caption .caption-content {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

 .vh-portfolio-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

/* ------------------------------------------------------------
   Testimonials
   front-page.php outputs a grid of testimonial cards.
------------------------------------------------------------- */

body.home #front-testimonials .row {
  max-width: 920px; /* matches your inline intent */
  margin-left: auto;
  margin-right: auto;
}

body.home #front-testimonials .card {
  border: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.10);
}

body.home #front-testimonials .card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Carousel indicators (mobile) */
body.home #front-testimonials .carousel-indicators {
  position: static;
  margin-top: 1rem;
}

body.home #front-testimonials .carousel-indicators [data-bs-target] {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background-color: rgba(29, 128, 159, 0.45);
}

body.home #front-testimonials .carousel-indicators .active {
  background-color: #1d809f;
}

/* ------------------------------------------------------------
   Above-fold social proof strip
------------------------------------------------------------- */

body.home .vh-hero-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 0.75rem;
  max-width: 40rem;
}

body.home .vh-avatar-stack {
  display: flex;
  align-items: center;
}

body.home .vh-avatar-stack .vh-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  object-fit: cover;
  margin-left: -10px;
}

body.home .vh-avatar-stack .vh-avatar:first-child {
  margin-left: 0;
}

body.home .vh-proof-text .vh-rating {
  font-weight: 700;
  line-height: 1.1;
}

body.home .vh-proof-text .vh-proof-line {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   Value anchors strip
------------------------------------------------------------- */

body.home .vh-anchors {
  background: #fff;
  padding: 1.25rem 0;
}

body.home .vh-anchor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
  height: 100%;
}

body.home .vh-anchor i {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: rgba(29, 128, 159, 0.10);
  color: #1d809f;
}

body.home .vh-anchor span {
  font-weight: 600;
  color: #111827;
}

/* ------------------------------------------------------------
   Features + objections
------------------------------------------------------------- */

body.home .vh-feature {
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
}

body.home .vh-feature + .vh-feature {
  margin-top: 0.9rem;
}

body.home .vh-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  background: rgba(29, 128, 159, 0.10);
  color: #1d809f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

body.home .vh-feature-title {
  font-weight: 700;
  color: #111827;
}

body.home .vh-feature-text {
  color: #4b5563;
}

body.home .vh-objection {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
}

body.home .vh-objection + .vh-objection {
  margin-top: 0.9rem;
}

body.home .vh-objection-q {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

body.home .vh-objection-a {
  color: #4b5563;
}

/* ------------------------------------------------------------
   Second CTA + Founder note
------------------------------------------------------------- */

body.home .vh-cta2 {
  padding: 4rem 0;
  background: #0b1220;
  color: #fff;
}

body.home .vh-cta2-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.28);
  padding: 2rem;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

body.home .vh-cta2-title {
  font-weight: 800;
  margin-bottom: 0.75rem;
}

body.home .vh-cta2-text {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.25rem;
}

body.home .vh-founder-card {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.10);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (max-width: 576px) {
  body.home .vh-founder-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
}

body.home .vh-founder-photo {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(17, 24, 39, 0.12);
}

body.home .vh-founder-text {
  color: #374151;
}

body.home .vh-founder-signature {
  margin-top: 0.75rem;
  font-weight: 700;
  color: #111827;
}

/* ------------------------------------------------------------
   Footer social dots (if you’re using Stylish Portfolio footer markup)
------------------------------------------------------------- */

body.home footer.footer .social-link {
  border-radius: 999px;
}
