/* Homepage — modern elegant layout */

.home-hero {
  position: relative;
  background: #14171d;
  color: #fff;
  overflow: hidden;
}
.home-hero-carousel,
.home-hero-carousel .owl-stage-outer,
.home-hero-carousel .owl-stage,
.home-hero-carousel .owl-item {
  height: 100%;
}
.home-hero-slide {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}
.home-hero-slide--solid {
  background: #14171d;
  align-items: center;
}
.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 23, 29, 0.88) 0%, rgba(20, 23, 29, 0.55) 48%, rgba(20, 23, 29, 0.28) 100%),
    linear-gradient(0deg, rgba(20, 23, 29, 0.55) 0%, transparent 45%);
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  padding: 7.5rem 15px 4rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.home-hero .container.home-hero-inner {
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1200px) {
  .home-hero-inner {
    margin-left: calc((100% - 1140px) / 2 + 15px);
  }
}
.home-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.85rem;
}
.home-eyebrow--dark {
  color: var(--webiste-primary-color, #eb403a);
}
.home-hero h1 {
  font-family: "Chakra Petch", "Montserrat", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff !important;
  margin: 0 0 1rem;
  max-width: 14ch;
}
.home-hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.6rem;
  max-width: 34rem;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.home-btn--primary {
  background: var(--webiste-primary-color, #eb403a);
  color: #fff !important;
  border: 1px solid var(--webiste-primary-color, #eb403a);
}
.home-btn--primary:hover {
  opacity: 0.92;
  color: #fff !important;
}
.home-btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.home-btn--ghost:hover {
  border-color: #fff;
  color: #fff !important;
}
.home-btn--dark {
  background: #14171d;
  color: #fff !important;
  border: 1px solid #14171d;
}
.home-btn--dark:hover {
  background: var(--webiste-primary-color, #eb403a);
  border-color: var(--webiste-primary-color, #eb403a);
  color: #fff !important;
}
.home-hero-carousel .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  text-align: center;
}
.home-hero-carousel .owl-dot span {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.35) !important;
  margin: 0 4px;
}
.home-hero-carousel .owl-dot.active span {
  background: var(--webiste-primary-color, #eb403a) !important;
}

.home-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fff;
}
.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.home-section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-section-head h2,
.home-about-body h2,
.home-cta-card h3 {
  font-family: "Chakra Petch", "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111827 !important;
  margin: 0;
}
.home-section-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}
.home-link {
  color: var(--webiste-primary-color, #eb403a);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  white-space: nowrap;
}
.home-link:hover {
  color: #111827;
}

.home-pathways {
  padding-top: 0;
  margin-top: -2.5rem;
  position: relative;
  z-index: 3;
  background: transparent;
}
.home-pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.home-pathway {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
  text-decoration: none !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease;
}
.home-pathway:hover {
  border-color: rgba(235, 64, 58, 0.35);
}
.home-pathway-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 64, 58, 0.08);
  color: var(--webiste-primary-color, #eb403a);
  margin-bottom: 0.55rem;
}
.home-pathway strong {
  color: #111827;
  font-size: 1rem;
}
.home-pathway em {
  font-style: normal;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.home-stats {
  background: #14171d;
  color: #fff;
  position: relative;
}
.home-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(120px, 30%);
  height: 3px;
  background: var(--webiste-primary-color, #eb403a);
  border-radius: 2px;
  display:none !important;
}
.home-stats .home-section-head {
  margin-bottom: 2rem;
}
.home-stats .home-section-head h2 {
  color: #fff !important;
}
.home-stats .home-eyebrow {
  color: rgba(255, 255, 255, 0.55);
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.home-stat {
  text-align: center;
  padding: 1.65rem 1.1rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.home-stat:hover {
  border-color: rgba(235, 64, 58, 0.45);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
.home-stat-value {
  display: block;
  font-family: "Chakra Petch", "Montserrat", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.7rem;
}
.home-stat-label {
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.home-about {
  background: #f8fafb;
}
.home-about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 44%) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.home-about-media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}
.home-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-about-body h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0 0 1rem;
}
.home-about-lead {
  color: #5b6472;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 1.4rem;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.home-card {
  display: flex;
  flex-direction: column;
  background: #f8fafb;
  border: 1px solid #e8edf2;
  border-radius: 18px;
  padding: 1.35rem 1.35rem 1.15rem;
  text-decoration: none !important;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-card:hover {
  border-color: rgba(235, 64, 58, 0.25);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  color: inherit;
}
.home-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--webiste-primary-color, #eb403a);
  background: rgba(235, 64, 58, 0.06);
  border: 1px solid rgba(235, 64, 58, 0.14);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  margin-bottom: 0.75rem;
}
.home-card h3 {
  font-family: "Chakra Petch", "Montserrat", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #111827 !important;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}
.home-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.home-card-meta .fa {
  color: var(--webiste-primary-color, #eb403a);
  margin-right: 4px;
}
.home-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid #e8edf2;
}
.home-card-price {
  font-weight: 700;
  color: #111827;
}
.home-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #14171d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.home-card:hover .home-card-arrow {
  background: var(--webiste-primary-color, #eb403a);
}

.home-micro {
  background: #f8fafb;
}

.home-themes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}
.home-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #f8fafb;
  border: 1px solid #e8edf2;
  color: #111827;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92rem;
}
.home-theme:hover {
  border-color: rgba(235, 64, 58, 0.3);
  color: var(--webiste-primary-color, #eb403a);
}
.home-theme .fa {
  color: var(--webiste-primary-color, #eb403a);
}

.home-news {
  background: #fff;
}
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.home-news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8edf2;
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafb;
  text-decoration: none !important;
  color: inherit;
}
.home-news-card:hover {
  border-color: rgba(235, 64, 58, 0.25);
  color: inherit;
}
.home-news-media {
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
  overflow: hidden;
}
.home-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-news-media.is-empty {
  background: linear-gradient(160deg, #f1f5f9, #e2e8f0);
}
.home-news-body {
  padding: 1.15rem 1.25rem 1.35rem;
}
.home-news-body h3 {
  font-family: "Chakra Petch", "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827 !important;
  margin: 0 0 0.55rem;
  line-height: 1.35;
}
.home-news-body p {
  margin: 0;
  color: #5b6472;
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-partners {
  background: #f8fafb;
}
.home-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  align-items: center;
}
.home-partner {
  max-width: 160px;
  opacity: 0.85;
}
.home-partner img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.home-partner:hover img {
  filter: none;
  opacity: 1;
}

.home-cta {
  background: #14171d;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.home-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.home-cta-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.03);
}
.home-cta-card h3 {
  color: #fff !important;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin: 0 0 0.55rem;
}
.home-cta-card p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .home-pathways-grid,
  .home-cards,
  .home-news-grid,
  .home-cta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .home-themes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-about-grid {
    grid-template-columns: 1fr;
  }
  .home-hero h1 {
    max-width: none;
  }
}

@media screen and (max-width: 760px) {
  .home-hero-inner {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }
  .home-pathways {
    margin-top: -1.5rem;
  }
  .home-pathways-grid,
  .home-cards,
  .home-news-grid,
  .home-cta-grid,
  .home-themes-grid {
    grid-template-columns: 1fr;
  }
  .home-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
