/* ══════════════════════════════════════════════════════
   Home Advantage NEW – Main Stylesheet (Namespaced)
   Dependencies: Bootstrap 5, Bootstrap Icons, Google Fonts (Montserrat, Playfair Display)
══════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────── */
.new-homepage-template {
  --ha-new-teal: #54c1bd;
  --ha-new-teal-dark: #3da8a4;
  --ha-new-teal-light: #e8f8f7;
  --ha-new-dark: #52464a;
  --ha-new-dark-alt: #3b3237;
  --ha-new-mid: #7a6e72;
  --ha-new-light-bg: #f5fafa;
  --ha-new-white: #ffffff;
  --ha-new-orange: #FFA565;
  --ha-new-black: #000;
}

/* ── Base ─────────────────────────────────────────── */
.new-homepage-template body {
  font-family: 'Montserrat', sans-serif !important;
  color: var(--ha-new-black);
  overflow-x: hidden;
}

.new-homepage-template h1,
.new-homepage-template h2,
.new-homepage-template h3,
.new-homepage-template h4,
.new-homepage-template h5,
.new-homepage-template h6,
.new-homepage-template p {
  font-family: 'Montserrat', sans-serif;
}

.new-homepage-template p {
      font-size: 19.2px !important;
  }

.new-homepage-template a {
  text-decoration: none;
}

/* ── Utilities ────────────────────────────────────── */
.new-homepage-template .ha-new-btn-teal {
  background-color: var(--ha-new-orange);
  color: #fff !important;
  font-weight: 700;
  font-size: .875rem;
  border: none;
  border-radius: 25px;
  padding: .75rem 1.75rem !important;
  transition: background .25s, transform .2s;
}

.new-homepage-template .ha-new-btn-teal:hover {
  background-color: var(--ha-new-teal-dark);
  color: #fff;
  transform: translateY(-1px);
}

.new-homepage-template .ha-new-btn-outline-teal {
  border: 2px solid var(--ha-new-teal);
  color: var(--ha-new-teal);
  font-weight: 700;
  font-size: .875rem;
  border-radius: 4px;
  padding: .7rem 1.75rem;
  background: transparent;
  transition: all .25s;
}

.new-homepage-template .ha-new-btn-outline-teal:hover {
  background: var(--ha-new-teal);
  color: #fff;
}

.new-homepage-template .ha-new-section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--ha-new-dark);
}

.new-homepage-template .ha-new-section-sub {
  color: var(--ha-new-mid);
  font-size: .95rem !important;
  line-height: 1.75;
}

.new-homepage-template .ha-new-teal-text {
  color: var(--ha-new-teal);
}

.new-homepage-template section {
    overflow: hidden;
    padding-left: 30px;
    padding-right: 30px;
}

/* ────────────────────────────────────────────────────
   1. NAVBAR
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-mainNav {
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, .08);
  padding: .9rem 0;
  transition: padding .3s;
}

.new-homepage-template #ha-new-mainNav .navbar-brand img {
  height: 48px;
  width: auto;
}

.new-homepage-template #ha-new-mainNav .navbar-nav .nav-link {
  font-weight: 500;
  font-size: .95rem;
  color: var(--ha-new-dark) !important;
  padding: .4rem .75rem;
  transition: color .2s;
}

.new-homepage-template #ha-new-mainNav .navbar-nav .nav-link:hover,
.new-homepage-template #ha-new-mainNav .navbar-nav .nav-link.active {
  color: var(--ha-new-teal) !important;
  font-weight: 700;
}

.new-homepage-template #ha-new-mainNav .navbar-toggler {
  border: none;
}

.new-homepage-template #ha-new-mainNav .navbar-toggler:focus {
  box-shadow: none;
}

/* ────────────────────────────────────────────────────
   2. HERO
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.new-homepage-template #ha-new-hero .ha-new-hero-bg {
  position: absolute;
  inset: 0;
  background: url(../images-new/hero_img.jpg) center/cover no-repeat;
}

.new-homepage-template #ha-new-hero .ha-new-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(42, 34, 38, .82) 0%, rgba(42, 34, 38, .55) 55%, transparent 100%);
}

.new-homepage-template #ha-new-hero .ha-new-hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4rem;
}

.new-homepage-template #ha-new-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: .75rem;
}

.new-homepage-template #ha-new-hero .ha-new-tagline {
  font-size: 1.15rem;
  color: var(--ha-new-white);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.new-homepage-template #ha-new-hero .ha-new-disclaimer {
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, .7);
  margin-top: .75rem !important;
}

.new-homepage-template #ha-new-hero h1 span {
  color: var(--ha-new-teal);
}

/* ────────────────────────────────────────────────────
   3. STATS / INTRO
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-stats {
  background: #fff;
  padding: 5rem 0;
  background: url(../images-new/second_img.jpg) center / cover no-repeat;
}

.new-homepage-template #ha-new-stats .ha-new-intro-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ha-new-mid);
}

.new-homepage-template #ha-new-stats .ha-new-intro-text strong {
  color: var(--ha-new-dark);
}

.new-homepage-template .ha-new-stat-card {
  background: var(--ha-new-teal-light);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--ha-new-teal);
  height: 100%;
}

.new-homepage-template .ha-new-stat-card .ha-new-stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ha-new-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: #fff;
}

.new-homepage-template .ha-new-stat-card p {
  font-size: .9rem;
  color: var(--ha-new-dark);
  font-weight: 600;
  margin: 0;
}

/* ────────────────────────────────────────────────────
   4. WHY THIS MATTERS
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-why-matters {
  background: var(--ha-new-light-bg);
  padding: 5rem 0;
}

.new-homepage-template #ha-new-why-matters .ha-new-img-wrap {
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(82, 70, 74, .15);
}

.new-homepage-template #ha-new-why-matters .ha-new-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-homepage-template #ha-new-why-matters .ha-new-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ha-new-teal);
  margin-bottom: .5rem;
}

/* ────────────────────────────────────────────────────
   5. WHY CHOOSE US
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-why-choose {
  background: #fff;
  padding: 5rem 0 5rem;
}

.new-homepage-template #ha-new-why-choose .row {
  overflow: visible;
}

.new-homepage-template .ha-new-feature-card-col {
  margin-top: 80px;
}

.new-homepage-template .ha-new-feature-card {
  position: relative;
  border: 1px solid var(--ha-new-teal);
  padding: 7.75rem 1.5rem 3rem;
  text-align: center;
  height: 100%;
  background: #fff;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  overflow: visible;
}

.new-homepage-template .ha-new-feature-card:hover {
  box-shadow: 0 10px 36px rgba(84, 193, 189, .2);
  transform: translateY(-5px);
  border-color: var(--ha-new-teal);
}

.new-homepage-template .ha-new-feature-card .ha-new-icon-wrap {
  position: absolute;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid var(--ha-new-teal);
  background: var(--ha-new-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(84, 193, 189, .45);
  flex-shrink: 0;
  z-index: 1;
}

.new-homepage-template .ha-new-feature-card h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ha-new-dark);
  margin-bottom: .6rem;
}

.new-homepage-template .ha-new-feature-card p {
  font-size: .85rem !important;
  color: var(--ha-new-dark);
  line-height: 1.75;
  margin: 0;
}

/* ────────────────────────────────────────────────────
   6. WHERE OTHERS WORK IN SILOS
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-silos {
  background: var(--ha-new-light-bg);
  padding: 5rem 0;
}

.new-homepage-template .ha-new-silos-tab-list {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.new-homepage-template .ha-new-silos-tab-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.25rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ha-new-mid);
  border-left: 3px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}

.new-homepage-template .ha-new-silos-tab-btn:hover {
  background: var(--ha-new-teal-light);
  color: var(--ha-new-teal);
  border-left-color: var(--ha-new-teal);
}

.new-homepage-template .ha-new-silos-tab-btn.active {
  background: var(--ha-new-teal-light);
  color: var(--ha-new-teal);
  border-left-color: var(--ha-new-teal);
}

.new-homepage-template .ha-new-silos-tab-btn .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.new-homepage-template .ha-new-silos-panel {
  position: relative;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 12px 40px rgba(82, 70, 74, .18);
}

.new-homepage-template .ha-new-silos-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s ease;
}

.new-homepage-template .ha-new-silos-panel img.fading {
  opacity: 0;
}

.new-homepage-template .ha-new-silos-panel .ha-new-panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2rem 1.75rem 1.75rem;
  width: 50%;
  height: 100%;
  background: rgba(84, 193, 189, 0.90);
}

.new-homepage-template .ha-new-silos-panel .ha-new-panel-overlay h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .4rem;
  transition: opacity .25s ease;
}

.new-homepage-template .ha-new-silos-panel .ha-new-panel-overlay p {
  color: rgba(255, 255, 255, .82);
  font-size: .875rem !important;
  line-height: 1.65;
  margin: 0;
  transition: opacity .25s ease;
}

/* ────────────────────────────────────────────────────
   7. HOW IT WORKS
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-how-it-works {
  background: var(--ha-new-light-bg);
  padding: 5rem 0;
}

.new-homepage-template #ha-new-how-it-works .ha-new-section-title {
  color: var(--ha-new-dark);
}

.new-homepage-template .ha-new-hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.new-homepage-template .ha-new-hiw-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.new-homepage-template .ha-new-hiw-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ha-new-teal);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(84, 193, 189, .4);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.new-homepage-template .ha-new-hiw-body {
  padding: 0 1rem;
}

.new-homepage-template .ha-new-hiw-body h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ha-new-dark);
  margin-bottom: .6rem;
}

.new-homepage-template .ha-new-hiw-body p {
  font-size: .875rem !important;
  color: var(--ha-new-mid);
  line-height: 1.75;
  margin: 0;
}

.new-homepage-template .ha-new-hiw-connector {
  flex: 0 0 60px;
  height: 2px;
  border-top: 2px solid var(--ha-new-teal);
  opacity: .45;
  margin-top: 35px;
  align-self: flex-start;
}

@media (max-width: 767.98px) {
  .new-homepage-template .ha-new-hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .new-homepage-template .ha-new-hiw-step {
    width: 100%;
    max-width: 360px;
  }

  .new-homepage-template .ha-new-hiw-connector {
    width: 2px;
    height: 40px;
    border-top: none;
    border-left: 2px solid var(--ha-new-teal);
    margin-top: 0;
    margin-bottom: 0;
    align-self: center;
  }
}

/* ────────────────────────────────────────────────────
   8. WHAT YOU CAN EXPECT
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-expect {
  background: #fff;
  padding: 5rem 0;
}

.new-homepage-template .ha-new-expect-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
  flex-direction: column;
}

.new-homepage-template .ha-new-expect-item .ha-new-check-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #047874;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.new-homepage-template .ha-new-expect-item p {
  font-size: .9rem !important;
  font-weight: 600;
  color: var(--ha-new-dark);
  margin: 0;
}

.new-homepage-template .ha-new-stats-block {
  background: var(--ha-new-teal-light);
  border-radius: 12px;
  padding: 1.5rem;
  font-size: .95rem;
  color: var(--ha-new-dark);
  line-height: 1.7;
}

/* ────────────────────────────────────────────────────
   9. TESTIMONIALS
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-testimonials {
  background: var(--ha-new-light-bg);
  padding: 5rem 0;
}

.new-homepage-template .ha-new-testimonial-card {
  background: var(--ha-new-teal);
  border-radius: 5px;
  padding: 5rem 2rem 2.5rem;
  height: 100%;
  position: relative;
}

.new-homepage-template .ha-new-testimonial-card::before {
  content: '"';
  font-size: 6rem;
  color: rgba(255, 255, 255, .15);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
  font-family: 'Playfair Display', serif;
}

.new-homepage-template .ha-new-testimonial-card .ha-new-quote {
  color: rgba(255, 255, 255, .95);
  font-size: 0.87rem !important;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.new-homepage-template .ha-new-testimonial-card .ha-new-author {
  color: rgba(255, 255, 255, .7);
  font-size: .8rem !important;
  font-weight: 700;
  margin-top: 1.25rem;
}

.new-homepage-template .ha-new-testimonial-stars {
  color: #FFD700;
  font-size: 1.2rem;
  letter-spacing: 0.15rem;
  margin-top: 0.75rem;
}

/* ────────────────────────────────────────────────────
   10. OUR WHY
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-our-why {
  background: #fff;
  padding: 5rem 0;
}

.new-homepage-template #ha-new-our-why .ha-new-img-wrap {
  overflow: hidden;
  height: 100%;
}

.new-homepage-template #ha-new-our-why .ha-new-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
}

.new-homepage-template .ha-new-why-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.new-homepage-template .ha-new-why-item .ha-new-why-icon {
  width: 52px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
}

.new-homepage-template .ha-new-why-item h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.new-homepage-template .ha-new-why-item p {
  font-size: .875rem !important;
  color: var(--ha-new-mid);
  line-height: 1.7;
  margin: 0;
}

/* ────────────────────────────────────────────────────
   11. CTA BANNER
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-cta-banner {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.new-homepage-template #ha-new-cta-banner .ha-new-bg-img {
  position: absolute;
  inset: 0;
  background: url(../images-new/cta.png) center/cover no-repeat;
}

.new-homepage-template #ha-new-cta-banner .ha-new-bg-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.new-homepage-template #ha-new-cta-banner .ha-new-content {
  position: relative;
  z-index: 2;
}

.new-homepage-template #ha-new-cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
}

.new-homepage-template #ha-new-cta-banner p {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem !important;
  line-height: 1.8;
}

.new-homepage-template #ha-new-cta-banner .ha-new-note {
  font-size: .8rem !important;
  color: #fff;
}

/* ────────────────────────────────────────────────────
   12. FOOTER
──────────────────────────────────────────────────── */
.new-homepage-template #ha-new-footer {
  background: var(--ha-new-white);
  padding: 4rem 0 2rem;
}

.new-homepage-template #ha-new-footer .footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}

.new-homepage-template #ha-new-footer h6 {
  color: var(--ha-new-teal);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

.new-homepage-template #ha-new-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.new-homepage-template #ha-new-footer p{
  font-size: .875rem !important;
}

.new-homepage-template #ha-new-footer ul li {
  margin-bottom: .5rem;
}

.new-homepage-template #ha-new-footer ul li a {
  color: #747474;
  font-size: .875rem;
  transition: color .2s;
}

.new-homepage-template #ha-new-footer ul li a:hover {
  color: var(--ha-new-teal);
}

.new-homepage-template #ha-new-footer .ha-new-footer-contact {
  color: #747474;
  font-size: .875rem;
  line-height: 1.8;
}

.new-homepage-template #ha-new-footer .ha-new-footer-contact a {
  color: #747474;
}

.new-homepage-template #ha-new-footer .ha-new-footer-contact a:hover {
  color: var(--ha-new-teal);
}

.new-homepage-template #ha-new-footer .ha-new-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: .8rem;
  color: #747474
}

/* ────────────────────────────────────────────────────
   SCROLL REVEAL ANIMATION
──────────────────────────────────────────────────── */
.new-homepage-template .ha-new-reveal-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.new-homepage-template .ha-new-reveal-ready.visible {
  opacity: 1;
  transform: none;
}

/* ────────────────────────────────────────────────────
   RESPONSIVE TWEAKS
──────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .new-homepage-template #ha-new-hero {
    min-height: 80vh;
  }

  .new-homepage-template #ha-new-hero h1 {
    font-size: 2rem;
  }
}
