/* ============================================================
   Horse & Carriage — brand overrides (loaded AFTER style.css)
   Keep customisations here so the base theme stays untouched.
   ============================================================ */
:root {
  --theme-color:     #1b6449;   /* primary brand green */
  --secondary-color: #2f8f68;   /* lighter green for title highlights */
  --body-color:      #ffffff;   /* was cream; now white bg + white text-on-dark */
  --smoke-color:     #eef2ef;   /* subtle shade to alternate white sections */
  --title-font:      "Poppins", sans-serif;  /* was Unbounded (too wide) */
}

/* Page base white; default paragraph text dark & readable on white */
body { background-color: #ffffff; }
p    { color: var(--text-color); }

/* ---- Headings: Poppins reads better tighter/bolder than Unbounded ---- */
h1, h2, h3, h4, h5, h6,
.sec-title, .hero-title, .breadcumb-title, .details-title, .service-title,
.gallery-title, .choose-title, .widget_title, .counter-number,
.text-box__title, .blog-title, .author-name, .accordion-button {
  font-family: var(--title-font) !important;
  letter-spacing: -0.01em;
}
.hero-title      { font-weight: 700; line-height: 1.12; }
.sec-title       { font-weight: 700; line-height: 1.2; }
.breadcumb-title { font-weight: 700; }

/* ---- Sidebar category pills readable on white ---- */
.widget_categories a { background-color: var(--smoke-color); color: var(--title-color); }
.widget_categories a:hover,
.widget_categories li.current-cat a { background-color: var(--theme-color); color: #fff; }

/* ---- Alternating section shade helper ---- */
.section-alt { background-color: var(--smoke-color) !important; }

/* ---- Cards need definition on white sections ---- */
.service-style2 {
  border: 1px solid #e6ece8;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}
/* Product cards have no overlapping icon badge -> normal padding */
.service-style2.no-icon .service-content { padding: 28px 26px 32px; }
.about-layout1 .img-box1 img { border-radius: 10px; }

/* ---- Inner-page breadcrumb: shorter banner, title kept centred ---- */
.breadcumb-wrapper { padding-top: 80px; padding-bottom: 0; }
.breadcumb-title { margin-bottom: 34px; }
@media (max-width: 991px) {
  .breadcumb-wrapper { padding-top: 60px; }
  .breadcumb-title { margin-bottom: 24px; }
}
@media (max-width: 767px) {
  .breadcumb-wrapper { padding-top: 42px; padding-bottom: 0; }
  .breadcumb-title { margin-bottom: 18px; }
}

/* ============================================================
   HEADER — 3 stacked rows (address+social / logo+contact / menu)
   Neutralises the theme's absolute-overlap header.
   ============================================================ */
.hc-header .header-top { background-color: var(--theme-color); padding: 8px 0 !important; }
.hc-header .header-top .header-links ul { margin: 0; padding: 0; }
.hc-header .header-top .header-links li { margin: 0 18px 0 0; font-size: 14px; font-weight: 400; color: #fff; }
.hc-header .header-top .header-links li:last-child { margin-right: 0; }
.hc-header .header-top .header-links li a { color: #fff; }
.hc-header .header-top .header-links li a:hover { color: var(--theme-color2); }
.hc-header .header-top .header-links i { margin-right: 7px; color: var(--theme-color2); }
.hc-header .header-social a {
  width: 30px; height: 30px; line-height: 30px; text-align: center;
  border-radius: 50%; background: var(--theme-color2); color: var(--theme-color);
  margin-left: 6px; font-size: 13px;
}
.hc-header .header-social a:hover { background: #fff; color: var(--theme-color); }

.hc-header .header-middle { background: #fff; padding: 10px 0; }
.hc-header .header-logo .logo { max-height: 48px; width: auto; }
.hc-header .header-info { display: flex; gap: 30px; }
.hc-header .header-info-box { display: flex; align-items: center; gap: 12px; }
.hc-header .header-info-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(27, 100, 73, 0.10); color: var(--theme-color); font-size: 18px;
}
.hc-header .header-info-text .label { display: block; color: #8f8f8f; font-size: 13px; line-height: 1.3; }
.hc-header .header-info-text a { color: var(--title-color); font-weight: 600; }
.hc-header .header-info-text a:hover { color: var(--theme-color); }
.hc-header .hc-mobile-toggle { border: none; background: transparent; font-size: 26px; color: var(--theme-color); padding: 0; line-height: 1; }

/* Stack the menu row normally instead of overlapping the top bar */
.hc-header .header-bottom {
  position: static !important; top: auto !important; width: 100%;
  text-align: left; background: #fff; border-top: 1px solid #eee;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}
/* Menu aligned left, flush (kill the theme's padding-left:20px), one line */
.hc-header .header-bottom .menu-top > .row { justify-content: center !important; }
.hc-header .header-bottom .menu-top > .row > .col-auto { flex: 0 1 auto; }
.hc-header .hc-menu-left { display: flex; align-items: center; gap: 26px; flex-wrap: nowrap; }
.hc-header .main-menu { padding-left: 0; }
.hc-header .main-menu > ul { flex-wrap: nowrap; align-items: center; justify-content: center; }
.hc-header .main-menu > ul > li { margin: 0 30px 0 0; white-space: nowrap; }
.hc-header .main-menu > ul > li:first-child { margin-left: 0; }
.hc-header .main-menu > ul > li:last-child { margin-right: 0; }
.hc-header .main-menu > ul > li > a { padding: 18px 0; font-size: 17px; font-weight: 600; }
/* Active / hover underline -> thick yellow, touching the bottom edge */
.hc-header .menu-style1 > ul > li.active > a::before,
.hc-header .menu-style1 > ul > li > a:hover::before {
  content: ""; position: absolute; left: 0; width: 100%;
  height: 4px; border-radius: 2px 2px 0 0; background-color: var(--theme-color2);
  top: auto; bottom: 0; opacity: 1; visibility: visible;
}
/* sticky-menu logo: hidden normally, shown compact only when the bar is fixed */
.hc-header .sticky-logo { display: none; }
.hc-header .sticky-logo img { max-height: 30px; width: auto; }
.hc-header .will-sticky .sticky-active.active { background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1); }
.hc-header .will-sticky .sticky-active.active .sticky-logo { display: inline-block; }
.hc-header .will-sticky .sticky-active.active .main-menu > ul > li > a { padding: 18px 0; }
@media (max-width: 1300px) {
  .hc-header .main-menu > ul > li { margin-right: 22px; }
  .hc-header .main-menu > ul > li > a { font-size: 16px; }
  .hc-header .sticky-logo img { max-height: 26px; }
}

/* Mobile offcanvas: green logo on white strip */
.vs-menu-wrapper .mobile-logo { background-color: #fff !important; padding-top: 26px; padding-bottom: 22px; }
.vs-menu-wrapper .mobile-logo .logo { max-width: 180px; }

/* Mobile sticky bar (logo + hamburger); off-screen until scrolled, then slides in */
.hc-mobile-sticky { min-height: 0 !important; }
.hc-mobile-sticky .sticky-active {
  position: fixed; top: -100%; left: 0; right: 0; z-index: 41;
  padding: 8px 0; background-color: #fff; transition: all ease 0.5s;
}
.hc-mobile-sticky.will-sticky .sticky-active.active { top: 0; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12); }
.hc-mobile-sticky-logo img { width: 220px; max-width: 62vw; height: auto; display: block; }
.hc-mobile-sticky .hc-mobile-toggle { margin: 0; }

@media (max-width: 1199px) {
  .hc-header .header-info { gap: 22px; }
  .hc-header .main-menu > ul > li { margin-right: 20px; }
  .hc-header .main-menu > ul > li > a { font-size: 16px; }
}
@media (max-width: 991px) {
  .hc-header .header-top { padding: 6px 0 !important; }
  .hc-header .header-top .header-links li { font-size: 12px; margin-right: 14px; }
  .hc-header .header-top .header-links i { margin-right: 5px; }
  /* compact mobile logo row + larger logo (wide wordmark -> size by width) */
  .hc-header .header-middle { padding: 4px 0; }
  .hc-header .header-logo .logo { width: 220px; max-width: 62vw; height: auto; max-height: none; }
}

/* ============================================================
   HERO — full-width image carousel
   ============================================================ */
.hero-slider { position: relative; background: #10361f; }
.hero-slider .hero-slide { display: none; line-height: 0; }
.hero-slider .hero-slide:first-child { display: block; }
.hero-slider.slick-initialized .hero-slide { display: block; }
.hero-slider .hero-slide img { width: 100%; height: auto; display: block; object-fit: cover; }
.hero-slider .hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border: none; border-radius: 50%;
  background: rgba(27, 100, 73, 0.75); color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .3s ease;
}
.hero-slider .hero-arrow:hover { background: var(--theme-color); }
.hero-slider .hero-prev, .hero-slider .slick-prev { left: 25px; right: auto; }
.hero-slider .hero-next, .hero-slider .slick-next { right: 25px; left: auto; }
.hero-slider .slick-arrow:before { display: none; content: ""; }
.hero-slider .slick-dots {
  position: absolute; bottom: 18px; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none;
}
.hero-slider .slick-dots li { margin: 0; line-height: 0; }
.hero-slider .slick-dots button {
  font-size: 0; width: 12px; height: 12px; padding: 0;
  border: 2px solid #fff; background: transparent; border-radius: 50%; cursor: pointer;
}
.hero-slider .slick-dots .slick-active button { background: var(--theme-color2); border-color: var(--theme-color2); }
@media (max-width: 767px) { .hero-slider .hero-arrow { display: none; } }

/* ============================================================
   GALLERY — category cards (index) + album pages
   ============================================================ */
/* Uniform cover thumbnails regardless of source aspect ratio */
.gallery-layout1 .gallery-box .gallery-img img { width: 100%; height: 280px; object-fit: cover; display: block; }
.gallery-layout1 .gallery-cover { display: block; line-height: 0; position: relative; z-index: 1; }
/* The theme's hover gradient overlay must not swallow clicks on the link/plus */
.gallery-layout1 .gallery-box .gallery-img::after { pointer-events: none; }
/* Centre the "+" over the cover (theme leaves it unpositioned here) */
.gallery-layout1 .gallery-box .gal-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
  width: 60px; height: 60px; line-height: 60px; pointer-events: none;
}
.gallery-layout1 .gallery-box:hover .gal-btn { transform: translate(-50%, -50%) scale(1); }
.gallery-box .gallery-tag { cursor: default; }
.gallery-cat .gallery-title { font-size: 20px; line-height: 1.3; margin: 0; }
.gallery-cat .gallery-title a { color: #fff; }
.gallery-cat .gallery-title a:hover { color: var(--theme-color2); }
/* Index cards: album name always visible over a soft gradient behind the title only */
.gallery-box.gallery-cat .gallery-img::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 46%; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 100%);
}
.gallery-box.gallery-cat .gallery-content {
  opacity: 1; visibility: visible; bottom: 20px; z-index: 3; padding: 0 24px;
}
@media (max-width: 991px) { .gallery-layout1 .gallery-box .gallery-img img { height: 240px; } }

/* ============================================================
   FOOTER tidy-up
   ============================================================ */
.footer-layout1 .footer-logo img { max-height: 52px; width: auto; }
.footer-layout1 .header-social { margin-top: 18px; }
.footer-layout1 .header-social a { margin: 0 10px 0 0; font-size: 16px; color: #fff; }
.footer-layout1 .header-social a:hover { color: var(--theme-color2); }
.footer-layout1 .sidebar-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 240px;
}
.footer-layout1 .sidebar-gallery a { margin: 0; }

/* ---- Footer contact band: 3 unequal columns, uniform icons ---- */
.footer-layout1 .contact-box .contact-body {
  display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: 100%;
}
.footer-layout1 .contact-box .icon {
  width: 46px; height: 46px; max-width: 46px; flex-shrink: 0; margin-right: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--theme-color2); font-size: 30px;
}
.footer-layout1 .contact-box .contact-inner { flex: 1 1 auto; min-width: 0; }
.footer-layout1 .contact-box .title,
.footer-layout1 .contact-box .title a { font-size: 14px; line-height: 1.5; font-weight: 600; overflow-wrap: break-word; word-break: normal; }
.footer-layout1 .contact-box .sub-title { font-size: 12px; margin-bottom: 3px; }
/* Centre the vertical dividers so they don't hang below the content */
.footer-layout1 .contact-box .border-right:not(:last-child)::after {
  top: 50%; transform: translateY(-50%); height: 46px;
}
@media (max-width: 991px) {
  .footer-layout1 .contact-box .container { padding-left: 15px; padding-right: 15px; max-width: 100%; }
  .footer-layout1 .contact-box .row { --bs-gutter-x: 0; margin: 0; }
  .footer-layout1 .contact-box [class*="col-"] { width: 100%; max-width: 100%; flex: 0 0 100%; padding: 14px 0; }
  .footer-layout1 .contact-box .border-right { border-right: none !important; }
  .footer-layout1 .contact-box .border-right::after { display: none !important; }
  .footer-layout1 .contact-box [class*="col-"]:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.15); }
  .footer-layout1 .contact-box [class*="col-"]:last-child { padding-bottom: 0; }
  .footer-layout1 .contact-box .icon { width: 42px; height: 42px; max-width: 42px; font-size: 26px; }
}

/* ============================================================
   EQUAL-HEIGHT CARDS (fixes mismatched card / button heights)
   ============================================================ */
.vs-carousel.slick-initialized .slick-track { display: flex; }
.vs-carousel.slick-initialized .slick-slide { height: auto; }
.vs-carousel.slick-initialized .slick-slide > div { height: 100%; }
.service-style2 { display: flex; flex-direction: column; height: 100%; }
.service-style2 .service-img { flex-shrink: 0; }
.service-style2 .service-content { display: flex; flex-direction: column; flex-grow: 1; }
.service-style2 .service-title { min-height: 52px; }
.service-style2 .service-content .vs-btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   TESTIMONIALS — clean white cards, crisp border (no grey halo)
   ============================================================ */
.testimonial-layout1 { background: #fff; }
.testimonial-layout1 .testi-style1 {
  background: #fff !important; border: 1px solid #e2e9e5; border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05); padding: 44px 34px 38px; height: 100%;
}
.testimonial-layout1 .testi-style1 .star-rating { color: var(--theme-color2); margin-bottom: 14px; }
.testimonial-layout1 .testi-style1 .testi-text { color: var(--text-color); margin-bottom: 22px; }
.testimonial-layout1 .testi-style1 .author-inner { display: flex; align-items: center; gap: 14px; }
.testimonial-layout1 .testi-style1 .author-img img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.testimonial-layout1 .testi-style1 .author-name { margin: 0 0 2px; font-size: 18px; }
.testimonial-layout1 .testi-style1 .author-degi { color: var(--theme-color); font-size: 14px; }
.testimonial-layout1 .vs-carousel { margin: 0 -12px; }
.testimonial-layout1 .vs-carousel .slick-slide > div,
.testimonial-layout1 .vs-carousel > div[class*="col-"] { padding: 20px 15px; }

/* ============================================================
   COUNTERS — 4-in-a-row desktop (col-xl-3), 2x2 mobile (col-6)
   ============================================================ */
.counter-layout1 .media-style { height: 100%; }
@media (max-width: 767px) {
  /* compact, stacked cell so nothing gets clipped */
  .counter-layout1 .media-inner {
    flex-direction: column; text-align: center; gap: 8px;
    padding: 16px 8px; width: 100%; border-radius: 10px;
  }
  .counter-layout1 .counter-icon { margin-right: 0; }
  .counter-layout1 .icon { width: 52px; height: 52px; line-height: 52px; border-radius: 8px; }
  .counter-layout1 .counter-icon .icon img { width: 26px; height: 26px; }
  .counter-layout1 .media-count { justify-content: center; }
  .counter-layout1 .media-title,
  .counter-layout1 .media-count .counter-number { font-size: 24px; }
  .counter-layout1 .count-icon { font-size: 22px; top: -2px; }
  .counter-layout1 .media-text { font-size: 12px; line-height: 1.3; }
}

/* ============================================================
   Floating buttons — scroll progress disabled for now + WhatsApp
   ============================================================ */
/* Scroll-progress / back-to-top disabled (re-enable by removing this rule) */
.back-to-top { display: none !important; }

.hc-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 1001;
  height: 52px; padding: 0 22px 0 16px; border-radius: 30px;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); transition: transform .25s ease, background .25s ease;
}
.hc-whatsapp i { font-size: 26px; }
.hc-whatsapp:hover { color: #fff; background: #1ebe57; transform: translateY(-2px); }
@media (max-width: 767px) {
  /* icon-only circle on phones */
  .hc-whatsapp { width: 52px; height: 52px; padding: 0; border-radius: 50%; justify-content: center; right: 18px; bottom: 18px; }
  .hc-whatsapp .hc-whatsapp-text { display: none; }
  .hc-whatsapp i { font-size: 28px; }
}
@media (max-width: 991px) {
  .contact-box .title {
    max-width: 100%;
  }
   .footer-layout1 .contact-box [class*="col-"]:first-child {
    margin-top: 0;
  }
}
.service-details .service-img img { width: 100%; }
.sidebar-area .widget.bg-secondary .widget-text { color: #fff; }