/* ==========================================================================
   Chittor Test House (CTH) — Site Stylesheet
   Base: Bootstrap 5.3 (css/bootstrap.min.css)
   Sections: 1 Tokens · 2 Base · 3 Buttons · 4 Header · 5 Hero & banners
             6 Sections & headings · 7 Cards · 8 Feature blocks · 9 Stats
             10 Facility · 11 Testimonials · 12 CTA · 13 Footer
             14 Inner pages · 15 Forms · 16 Utilities & motion
   ========================================================================== */

/* 0. Fonts — Poppins (SIL Open Font License), self-hosted WOFF2, Latin subset */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/poppins-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-medium.woff2") format("woff2"); }

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --primary-color: #2f6b1f;      /* brand green (from logo) */
  --primary-dark: #1f4d15;
  --primary-soft: #e7f1e3;
  --secondary-color: #e2803c;    /* brand orange (decorative / on dark) */
  --accent-strong: #b5541a;      /* orange for text & buttons on white (AA) */
  --accent-strong-hover: #9a4613;
  --dark-color: #0f2418;
  --dark-soft: #173426;
  --light-color: #f3f7f2;
  --text-color: #44524a;
  --heading-color: #0f2418;
  --muted-on-dark: #b9c9bf;
  --border-color: #dfe7dc;
  --white: #fff;

  /* Type scale — every font-size on the site uses one of these */
  --fs-xs: .75rem;                                        /* 12px  tags, tiny notes        */
  --fs-sm: .8125rem;                                      /* 13px  small labels & meta only */
  --fs-base: .875rem;                                     /* 14px  ALL text, links, menu, buttons */
  --fs-md: .9375rem;                                      /* 15px  hero slide description  */
  --fs-lg: 1.0625rem;                                     /* 17px  ALL card & box titles   */
  --fs-xl: 1.25rem;                                       /* 20px  brand name, number badge */
  --fs-h3: clamp(1.125rem, 1.05rem + .35vw, 1.375rem);    /* 18–22px content sub-headings */
  --fs-h2: clamp(1.375rem, 1.2rem + .75vw, 1.75rem);      /* 22–28px section headings     */
  --fs-h1: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem);     /* 26–36px page titles          */
  --fs-display: clamp(1.75rem, 1.4rem + 1.6vw, 2.625rem); /* 28–42px hero heading         */
  --fs-stat: clamp(1.75rem, 1.45rem + 1.2vw, 2.375rem);   /* 28–38px statistics numbers   */

  --font-base: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(15, 36, 24, .06);
  --shadow: 0 10px 30px rgba(15, 36, 24, .10);
  --shadow-lg: 0 20px 45px rgba(15, 36, 24, .16);
  --transition: .3s ease;
  --section-space: clamp(3.5rem, 7vw, 6rem);
  --header-h: 58px;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-base);
  --bs-body-color: var(--text-color);
  --bs-link-color-rgb: 47, 107, 31;
  --bs-link-hover-color-rgb: 31, 77, 21;
  --bs-primary-rgb: 47, 107, 31;
  --bs-border-color: var(--border-color);
}

/* 2. Base ---------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-size: var(--fs-base); line-height: 1.7; color: var(--text-color); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 500; line-height: 1.3; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-lg); }
p { margin-bottom: 1rem; }
b, strong, th, dt, legend { font-weight: 500; }
small, .small { font-size: var(--fs-sm); }
img { max-width: 100%; height: auto; }
a { transition: color var(--transition); }
:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 2px; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--dark-color); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.2em; }

/* 3. Buttons ------------------------------------------------------------- */
.btn { --bs-btn-font-size: var(--fs-base); --bs-btn-padding-x: 1.5rem; --bs-btn-padding-y: .75rem; --bs-btn-font-weight: 500; --bs-btn-border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: all var(--transition); }
.btn-sm { --bs-btn-font-size: var(--fs-base); --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .45rem; }
.btn-accent {
  --bs-btn-color: var(--white); --bs-btn-bg: var(--accent-strong); --bs-btn-border-color: var(--accent-strong);
  --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--accent-strong-hover); --bs-btn-hover-border-color: var(--accent-strong-hover);
  --bs-btn-active-bg: var(--accent-strong-hover); --bs-btn-active-color: var(--white);
}
.btn-brand {
  --bs-btn-color: var(--white); --bs-btn-bg: var(--primary-color); --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--primary-dark); --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-active-bg: var(--primary-dark); --bs-btn-active-color: var(--white);
}
.btn-outline-brand {
  --bs-btn-color: var(--primary-color); --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--primary-color); --bs-btn-hover-border-color: var(--primary-color);
  --bs-btn-active-bg: var(--primary-dark); --bs-btn-active-color: var(--white);
}
.btn-outline-light { --bs-btn-hover-color: var(--dark-color); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn .icon { transition: transform var(--transition); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; color: var(--accent-strong); text-decoration: none; }
.link-arrow:hover { color: var(--accent-strong-hover); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform var(--transition); }

/* 4. Header (two-tier: brand bar + dark navigation bar) ------------------ */
.site-header { background: var(--white); position: relative; z-index: 1031; border-bottom: 1px solid var(--border-color); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 92px; padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; min-width: 0; }
.brand img { height: 66px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; padding-left: 1rem; border-left: 2px solid var(--border-color); }
.brand-name { font-size: var(--fs-xl); font-weight: 500; color: var(--primary-dark); }
.brand-tag { font-size: var(--fs-sm); font-weight: 500; color: var(--accent-strong); }
.brand-note { font-size: var(--fs-xs); color: var(--text-color); }
.header-contact { display: flex; align-items: center; gap: 1.75rem; }
.header-contact-item { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--heading-color); }
.header-contact-item + .header-contact-item { padding-left: 1.75rem; border-left: 1px solid var(--border-color); }
.header-contact-item small { display: block; font-size: var(--fs-xs); color: var(--text-color); }
.header-contact-item strong { display: block; font-size: var(--fs-base); font-weight: 500; color: var(--heading-color); transition: color var(--transition); }
.header-contact-item:hover strong { color: var(--primary-color); }
.header-contact-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-color); flex-shrink: 0; }
.header-contact-icon .icon { width: 22px; height: 22px; }

.main-nav { background: var(--dark-color); padding: 0; z-index: 1030; transition: box-shadow var(--transition); }
.main-nav.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.dropdown-menu {
  --bs-dropdown-border-color: var(--border-color); --bs-dropdown-link-active-bg: var(--primary-color);
  --bs-dropdown-link-hover-bg: var(--primary-soft); --bs-dropdown-link-hover-color: var(--primary-dark);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: .5rem; min-width: 15rem; border-top: 3px solid var(--secondary-color);
}
.dropdown-item { border-radius: var(--radius-sm); padding: .55rem .9rem; font-weight: 500; font-size: var(--fs-base); }
.nav-split { display: flex; align-items: center; }
.nav-split .dropdown-toggle { border: 0; background: none; line-height: 1; }
.navbar-nav .nav-link { font-weight: 500; position: relative; }

@media (min-width: 992px) {
  .main-nav { position: sticky; top: 0; min-height: 58px; }
  .navbar-nav .nav-link { color: #e6eee8; padding: 1.1rem 1rem; font-size: var(--fs-base); }
  .navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus-visible,
  .navbar-nav .nav-link[aria-current="page"], .navbar-nav .nav-item.active > .nav-link { color: var(--secondary-color); }
  .navbar-nav > .nav-item:first-child > .nav-link { padding-left: 0; }
  .navbar-nav .nav-link::after {
    content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 3px;
    background: var(--secondary-color); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
  }
  .navbar-nav > .nav-item:first-child > .nav-link::after { left: 0; }
  .navbar-nav .nav-link:hover::after, .navbar-nav .nav-link[aria-current="page"]::after,
  .navbar-nav .nav-item.active > .nav-link::after { transform: scaleX(1); }
  .nav-split .nav-link { padding-right: .3rem; }
  .nav-split .nav-link::after { right: .3rem; }
  .nav-split .dropdown-toggle { color: #e6eee8; padding: 1.1rem .9rem 1.1rem 0; }
  .nav-split .dropdown-toggle:hover, .nav-split:hover .dropdown-toggle { color: var(--secondary-color); }
  .header-cta { --bs-btn-padding-y: .55rem; font-size: var(--fs-base); border-radius: 50px; }
  /* open dropdowns on hover / keyboard focus for desktop pointers */
  .navbar .dropdown-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s; margin-top: 0; top: 100%; left: 0; }
  .navbar .dropdown:hover > .dropdown-menu, .navbar .dropdown:focus-within > .dropdown-menu,
  .navbar .dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
  .navbar .dropdown { position: relative; }
  .navbar-toggler { display: none; }
}
@media (max-width: 1199.98px) {
  .header-contact-item:last-child { display: none; }
  .header-contact-item + .header-contact-item { padding-left: 0; border: 0; }
  .navbar-nav .nav-link { padding-left: .75rem; padding-right: .75rem; }
}

.navbar-toggler { border: 1px solid var(--border-color); padding: .5rem .65rem; color: var(--heading-color); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(226, 128, 60, .45); }
@media (max-width: 991.98px) {
  :root { --header-h: 76px; }
  .site-header { position: sticky; top: 0; transition: box-shadow var(--transition); }
  .site-header.is-scrolled { box-shadow: var(--shadow); }
  .header-bar { min-height: 76px; }
  .header-contact { display: none; }
  .brand img { height: 52px; }
  .brand-text { padding-left: .75rem; }
  .brand-name { font-size: var(--fs-md); }
  .brand-tag { font-size: var(--fs-xs); }
  .brand-note { display: none; }
  .main-nav { min-height: 0; }
  .navbar .offcanvas { --bs-offcanvas-width: min(340px, 88vw); }
  .navbar .offcanvas-body { flex-direction: column; align-items: stretch !important; }
  .navbar-nav .nav-item { border-bottom: 1px solid var(--border-color); }
  .navbar-nav .nav-link { color: var(--heading-color); padding: .75rem 0; }
  .navbar-nav .nav-link[aria-current="page"], .navbar-nav .nav-item.active > .nav-link { color: var(--primary-color); }
  .nav-split { justify-content: space-between; flex-wrap: wrap; }
  .nav-split .dropdown-toggle { padding: .75rem; color: var(--heading-color); }
  .navbar-nav .dropdown-menu { box-shadow: none; border: 0; padding: 0 0 .5rem .75rem; width: 100%; flex-basis: 100%; }
  .header-cta { margin-top: 1.25rem; width: 100%; }
}
@media (max-width: 399.98px) {
  .brand-text { display: none; }
}

/* 5. Hero slider & page banners ------------------------------------------ */
.hero { position: relative; color: var(--white); background: var(--dark-color); }
.hero-slide { position: relative; isolation: isolate; min-height: clamp(540px, 78vh, 720px); display: flex; align-items: center; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 24, 15, .92) 0%, rgba(10, 24, 15, .7) 48%, rgba(10, 24, 15, .2) 100%); }
.hero-content { padding: 4.5rem 0 5.5rem; max-width: 700px; }
.hero h1, .hero-title { color: var(--white); margin-bottom: 1.25rem; font-size: var(--fs-display); font-weight: 500; line-height: 1.2; }
.hero h1 span, .hero-title span { color: var(--secondary-color); }
.hero-lead { font-size: var(--fs-md); color: #dce6df; margin-bottom: 2rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50px; font-size: var(--fs-sm); font-weight: 500; margin-bottom: 1.25rem; background: rgba(255, 255, 255, .06); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 52px; height: 52px; top: 50%; transform: translateY(-50%); border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); opacity: 1; margin: 0 1rem; transition: background var(--transition); }
.hero .carousel-control-prev:hover, .hero .carousel-control-next:hover { background: var(--accent-strong); }
.hero .carousel-control-prev-icon, .hero .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }
.hero .carousel-indicators { margin-bottom: 1.75rem; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 2px; border: 0; background: var(--white); opacity: .45; }
.hero .carousel-indicators .active { background: var(--secondary-color); opacity: 1; }
@media (max-width: 1399.98px) { .hero .carousel-control-prev, .hero .carousel-control-next { display: none; } }
@media (max-width: 767.98px) {
  .hero-slide::before { background: linear-gradient(180deg, rgba(10, 24, 15, .75), rgba(10, 24, 15, .92)); }
  .hero-slide { min-height: 600px; }
}

.page-banner { position: relative; isolation: isolate; color: var(--white); padding: clamp(3.5rem, 8vw, 6rem) 0; overflow: hidden; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 24, 15, .92), rgba(10, 24, 15, .55)); }
.page-banner h1 { color: var(--white); margin-bottom: .75rem; font-size: var(--fs-h1); }
.page-banner p { font-size: var(--fs-base); color: #dce6df; max-width: 640px; margin-bottom: 1.25rem; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted-on-dark); --bs-breadcrumb-item-active-color: var(--secondary-color); margin: 0; font-size: var(--fs-base); }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { color: var(--secondary-color); }

/* 6. Sections & headings ------------------------------------------------- */
.section { padding: var(--section-space) 0; }
.section-light { background: var(--light-color); }

.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head p { margin-bottom: 0; }
.section-label { display: inline-flex; align-items: center; gap: .6rem; color: var(--accent-strong); font-weight: 500; font-size: var(--fs-sm); margin-bottom: .75rem; }
.section-label::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.section-title { margin-bottom: 1rem; }
.section-title span { color: var(--accent-strong); }


.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list .icon { color: var(--primary-color); margin-top: .2rem; }

@media (min-width: 576px) { .check-list.two-col { grid-template-columns: 1fr 1fr; } }

/* Image frame with accent */
.img-frame { position: relative; border-radius: var(--radius-lg); }
.img-frame img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; box-shadow: var(--shadow); position: relative; z-index: 1; }
.img-frame::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 55%; height: 55%;
  border: 3px solid var(--secondary-color); border-radius: var(--radius-lg); z-index: 0; }
.img-badge { position: absolute; right: -10px; bottom: 24px; z-index: 2; background: var(--primary-color); color: var(--white);
  border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-lg); max-width: 220px; line-height: 1.35; }
.img-badge strong { display: block; font-size: var(--fs-h2); }
@media (max-width: 575.98px) { .img-badge { right: 10px; } .img-frame::after { left: -8px; bottom: -8px; } }

/* 7. Cards --------------------------------------------------------------- */
.media-card { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); }
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.media-card-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--dark-soft); }
.media-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.media-card:hover .media-card-img img { transform: scale(1.07); }
.media-card-tag { position: absolute; left: 1rem; top: 1rem; z-index: 1; background: var(--white); color: var(--primary-dark);
  font-size: var(--fs-xs); font-weight: 500; padding: .3rem .7rem; border-radius: 50px; }
.media-card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.media-card-body h3 { margin-bottom: .6rem; }
.media-card-body h3 a { color: inherit; text-decoration: none; }
.media-card-body h3 a:hover { color: var(--primary-color); }
.media-card-body p { font-size: var(--fs-base); margin-bottom: 1.2rem; }
.media-card-body .card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }

/* Industry / overlay cards */
.overlay-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: var(--white); background: var(--dark-soft); }
.overlay-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.overlay-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 24, 15, .9)); }
.overlay-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.25rem 1.4rem; }
.overlay-card-body h3 { color: var(--white); margin-bottom: .2rem; font-size: var(--fs-lg); }
.overlay-card-body p { margin: 0; font-size: var(--fs-base); color: #dce6df; }
.overlay-card:hover img { transform: scale(1.07); }

/* 8. Feature blocks ------------------------------------------------------ */

.feature-icon { width: 58px; height: 58px; border-radius: var(--radius); display: grid; place-items: center; background: var(--primary-soft);
  color: var(--primary-color); margin-bottom: 1.25rem; transition: background var(--transition), color var(--transition); }
.feature-icon .icon { width: 28px; height: 28px; }

/* Quality progress bars */
.progress-item + .progress-item { margin-top: 1.6rem; }
.progress-head { display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; color: var(--heading-color); font-size: var(--fs-base); margin-bottom: .6rem; }
.progress-head span:last-child { color: var(--accent-strong); }
.progress-track { height: 10px; border-radius: 10px; background: #e3eadf; overflow: hidden; }
.progress-fill { height: 100%; width: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); transition: width 1.4s ease; }
.js .progress-list:not(.is-visible) .progress-fill { width: 0; }

/* Why-choose list (icon + title + text) */
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; }
.why-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.why-list .feature-icon { margin: 0; flex-shrink: 0; }
.why-list h3 { color: var(--accent-strong); font-size: var(--fs-lg); margin-bottom: .35rem; }
.why-list p { margin: 0; font-size: var(--fs-base); }
.why-image { border-radius: var(--radius-lg); overflow: hidden; height: 100%; min-height: 420px; box-shadow: var(--shadow-lg); }
.why-image img { width: 100%; height: 100%; object-fit: cover; }

/* Numbered strengths band */
.number-band { background: var(--accent-strong); color: #fdf1e8; }
.number-band .col-md-6 { border-color: rgba(255, 255, 255, .22) !important; }
.number-item { text-align: center; padding: 2.75rem 1.5rem; height: 100%; }
.number-item .num { width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--dark-color); color: var(--white); font-weight: 500; font-size: var(--fs-xl); margin-bottom: 1rem; }
.number-item h3 { color: var(--white); font-size: var(--fs-lg); margin-bottom: .6rem; }
.number-item p { margin: 0; font-size: var(--fs-base); }
@media (min-width: 992px) { .number-band .col-lg-3 + .col-lg-3 { border-left: 1px solid rgba(255, 255, 255, .22); } }
@media (min-width: 768px) and (max-width: 991.98px) { .number-band .col-md-6:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .22); } }

/* Service cards (centered, full-width action) */
.service-card { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; text-align: center; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .media-card-img { aspect-ratio: 16 / 10; }
.service-card:hover .media-card-img img { transform: scale(1.07); }
.service-card-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: -32px auto 0; position: relative; z-index: 1;
  background: var(--primary-color); color: var(--white); border: 4px solid var(--white); }
.service-card-icon .icon { width: 26px; height: 26px; }
.service-card-body { padding: 1.1rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { margin-bottom: .6rem; }
.service-card-body p { font-size: var(--fs-base); margin-bottom: 1.4rem; }
.service-card-body .btn { margin-top: auto; width: 100%; font-size: var(--fs-base); }

/* Process steps */

/* 9. Stats --------------------------------------------------------------- */
.stats-section { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--white); border-bottom: 1px solid var(--border-color); }
.stat { text-align: center; padding: .5rem; }
.stat-icon { width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; border: 2px dashed rgba(47, 107, 31, .35); color: var(--primary-color); }
.stat-icon .icon { width: 36px; height: 36px; stroke-width: 1.6; }
.stat-number { display: block; font-size: var(--fs-stat); font-weight: 500; line-height: 1.1; color: var(--heading-color); font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: .4rem; color: var(--accent-strong); font-weight: 500; font-size: var(--fs-sm); }

/* 11. Testimonials ------------------------------------------------------- */
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 2rem 1.75rem; height: 100%; border: 1px solid var(--border-color);
  display: flex; flex-direction: column; position: relative; margin: 0; }
.testimonial-card .quote-icon { width: 40px; height: 40px; color: var(--secondary-color); margin-bottom: 1rem; }
.testimonial-card blockquote { margin: 0 0 1.5rem; font-size: var(--fs-base); font-style: italic; flex: 1; }
.testimonial-card blockquote p { margin: 0; }
.testimonial-card figcaption { display: flex; align-items: center; gap: .85rem; border-top: 1px solid var(--border-color); padding-top: 1.1rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary-color); color: var(--white); display: grid; place-items: center; font-weight: 500; flex-shrink: 0; }
.testimonial-card cite { font-style: normal; font-weight: 500; color: var(--heading-color); display: block; }
.testimonial-card .role { font-size: var(--fs-sm); }

/* 12. CTA band (light card in the same style as the homepage sections) ---- */
.cta-band { padding: 0 0 clamp(3rem, 6vw, 4.5rem); background: var(--white); }
.cta-box { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-lg); color: var(--text-color);
  background: var(--light-color); border: 1px solid var(--border-color); border-left: 5px solid var(--primary-color); box-shadow: var(--shadow-sm); }
.cta-box::before { content: ""; position: absolute; right: -90px; top: -110px; width: 300px; height: 300px; border-radius: 50%; border: 48px solid rgba(47, 107, 31, .06); z-index: -1; }
.cta-text { flex: 1 1 420px; max-width: 680px; }
.cta-band h2 { margin-bottom: .6rem; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* 13. Footer ------------------------------------------------------------- */
.site-footer { background: #0b1b12; border-top: 4px solid var(--secondary-color); color: var(--muted-on-dark); font-size: var(--fs-base); }
.footer-main { padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem; }
.footer-logo { display: inline-block; background: var(--white); border-radius: var(--radius); padding: .5rem .75rem; margin-bottom: 1.25rem; }
.footer-logo img { height: 64px; width: auto; display: block; }
.footer-title { color: var(--white); font-size: var(--fs-lg); margin-bottom: 1.25rem; position: relative; padding-bottom: .75rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--secondary-color); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: var(--muted-on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.footer-links a:hover { color: var(--white); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact .icon { color: var(--secondary-color); margin-top: .25rem; }
.footer-contact a { color: var(--muted-on-dark); text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.footer-contact address { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.25rem 0; font-size: var(--fs-sm); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted-on-dark); }

/* Floating actions */
.back-to-top, .whatsapp-float { position: fixed; right: 1.25rem; z-index: 1020; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: opacity var(--transition), transform var(--transition), visibility var(--transition); }
.back-to-top { bottom: 1.25rem; background: var(--accent-strong); color: var(--white); border: 0; opacity: 0; visibility: hidden; transform: translateY(10px); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-strong-hover); }
.whatsapp-float { bottom: 5rem; background: #1e8a4c; color: var(--white); }
.whatsapp-float:hover { color: var(--white); transform: scale(1.06); }
.whatsapp-float .icon { width: 26px; height: 26px; }

/* 14. Inner pages -------------------------------------------------------- */

/* Product (material) detail */
.detail-gallery-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--dark-soft); box-shadow: var(--shadow); }
.detail-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.detail-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: none; aspect-ratio: 4 / 3; opacity: .7; transition: opacity var(--transition), border-color var(--transition); }
.detail-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs button:hover, .detail-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--secondary-color); }

@media (max-width: 575.98px) { .enquiry-box { padding: 1.4rem; } }
.spec-table { margin: 0; --bs-table-striped-bg: var(--light-color); }
.spec-table th { color: var(--heading-color); font-weight: 500; }
.spec-table th[scope="row"] { width: 34%; }
.spec-table th, .spec-table td { padding: .85rem 1rem; vertical-align: top; }
.table-responsive { border: 1px solid var(--border-color); border-radius: var(--radius); }
.table-responsive .table { margin: 0; }

.enquiry-box { position: relative; overflow: hidden; isolation: isolate; color: #e8f1e4; border-radius: var(--radius); padding: 2rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%); border-top: 4px solid var(--secondary-color); box-shadow: var(--shadow); }
.enquiry-box::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 190px; height: 190px; border-radius: 50%; border: 34px solid rgba(255, 255, 255, .07); z-index: -1; }
.enquiry-box h2 { color: var(--white); font-size: var(--fs-lg); }
.enquiry-box .footer-contact { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 1.1rem; }
.enquiry-box .footer-contact .icon { color: #ffe1cc; }
.enquiry-box a:not(.btn) { color: var(--white); }
.enquiry-box a:not(.btn):hover { color: #ffe1cc; }

/* Services rows */

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; grid-auto-flow: dense; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery-item { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--dark-soft); cursor: zoom-in; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; color: var(--white); font-size: var(--fs-base); font-weight: 500; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(10, 24, 15, .88)); }
.lightbox .modal-content { background: transparent; border: 0; }
.lightbox .modal-body { padding: 0; }
.lightbox img { border-radius: var(--radius); width: 100%; height: auto; }
.lightbox .btn-close { position: absolute; right: 0; top: -2.75rem; filter: invert(1); opacity: .9; }
.lightbox-caption { color: var(--white); text-align: center; margin-top: .75rem; }

/* Simple content pages (prose + sidebar) */
.content-section { background: var(--white); }
.prose { font-size: var(--fs-base); }
.prose > h2, .prose .service-block > h2 { font-size: var(--fs-h3); margin: 2.5rem 0 1rem; padding-left: 1rem; border-left: 4px solid var(--secondary-color); }
.prose > h2:first-child, .prose > .prose-figure:first-child + h2 { margin-top: 0; }
.prose h3 { font-size: var(--fs-lg); margin: 1.75rem 0 .6rem; color: var(--primary-dark); }
.prose p { margin-bottom: 1.1rem; }
.lead-text { font-size: var(--fs-base); color: var(--heading-color); }
.prose-figure { margin: 0 0 1.75rem; }
.prose-figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.prose-figure figcaption { margin-top: .5rem; font-size: var(--fs-base); font-weight: 500; color: var(--text-color); }
.prose-gallery .prose-figure { margin-bottom: 0; }
.prose-gallery .prose-figure img { aspect-ratio: 4 / 3; object-fit: cover; }
.service-block .prose-figure img { aspect-ratio: 16 / 9; object-fit: cover; }
.service-block + .service-block, .prose > .service-block:first-of-type { padding-top: .25rem; }
.material-block { padding: 1.5rem 1.6rem; border: 1px solid var(--border-color); border-radius: var(--radius); background: var(--light-color); margin-bottom: 1.25rem; }
.material-block h3 { margin-top: 0; }
.material-block .check-list { margin-bottom: 1rem; }
.material-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }
.steps-list { padding-left: 1.25rem; display: grid; gap: .75rem; }
.steps-list li::marker { color: var(--accent-strong); font-weight: 500; }
.related-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; }
.related-list a { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--border-color); border-radius: 50px; text-decoration: none; font-weight: 500; font-size: var(--fs-base); color: var(--heading-color); }
.related-list a:hover { background: var(--primary-color); border-color: var(--primary-color); color: var(--white); }

.sidebar { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .sidebar { position: sticky; top: calc(var(--header-h) + 20px); } }

/* 15. Forms & contact ---------------------------------------------------- */
.contact-info { padding: clamp(2rem, 4vw, 3rem) 0; }
.contact-card { display: flex; align-items: flex-start; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--border-color); height: 100%; transition: border-color var(--transition), box-shadow var(--transition); }
.contact-card:hover { border-color: var(--primary-color); box-shadow: var(--shadow-sm); }
.contact-card .feature-icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; border-radius: 50%; }
.contact-card .feature-icon .icon { width: 20px; height: 20px; }
.contact-card h2 { font-size: var(--fs-lg); margin: .1rem 0 .3rem; }
.contact-card p, .contact-card address { margin: 0; font-size: var(--fs-base); line-height: 1.6; }
.contact-card a { color: var(--text-color); text-decoration: none; word-break: break-word; }
.contact-card a:hover { color: var(--primary-color); }
.contact-card .contact-main, .contact-card .contact-main a, .hours-list li span:first-child { color: var(--heading-color); font-weight: 500; }
.contact-card .contact-sub { color: var(--accent-strong); font-weight: 500; }
.contact-card .contact-sub:hover { color: var(--accent-strong-hover); }
.form-panel { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); border: 1px solid var(--border-color); }
.form-label { font-weight: 500; color: var(--heading-color); font-size: var(--fs-base); }
.form-label .req { color: var(--accent-strong); }
.form-control, .form-select { font-size: var(--fs-base); padding: .75rem 1rem; border-radius: var(--radius-sm); border-color: #cfd9cb; }
.form-control:focus, .form-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 .2rem rgba(47, 107, 31, .18); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; height: 100%; background: var(--light-color); border: 1px solid var(--border-color); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; flex-wrap: wrap; column-gap: .5rem; line-height: 1.6; font-size: var(--fs-base); }
.hours-list li span { white-space: nowrap; }
.hours-list li span:first-child { min-width: 4.25rem; }

/* 16. Utilities & motion ------------------------------------------------- */
.text-accent { color: var(--accent-strong) !important; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .main-nav, .back-to-top, .whatsapp-float, .cta-band { display: none !important; }
}
