/* ==========================================================
   Vaidavi Enterprises - style.css
   ========================================================== */
:root {
  --accent: #e0442a;
  --accent-dark: #c33620;
  --dark: #222;
  --text: #666;
  --light-bg: #eaeff3;
  --font-body: "Open Sans", Arial, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); font-size: 15px; line-height: 1.7; overflow-x: hidden; }
p { font-size: 1rem; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

.skip-link { position: absolute; left: 8px; top: 8px; z-index: 2000; background: #fff; padding: 6px 12px; }
.text-accent { color: var(--accent); }
.text-justify { text-align: justify; }
.section { padding: 70px 0; }

/* One width for header, page sections and footer */
.container,
.site-container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 12px; }
@media (min-width: 1400px) {
  .container,
  .site-container { max-width: 1240px; }
}

/* ---------- Headings ---------- */
.heading-light { font-weight: 300; font-size: 2rem; color: var(--dark); line-height: 1.3; margin-bottom: 8px; }
.sub-heading { font-weight: 300; font-size: 1.15rem; color: #6a7f95; letter-spacing: .3px; }

/* ---------- Buttons ---------- */
.btn-accent { background: var(--accent); color: #fff; border: 2px solid var(--accent); border-radius: 0; padding: 6px 14px; font-size: 14px; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-accent-outline { background: #fff; color: var(--accent); border: 2px solid var(--accent); border-radius: 0; padding: 6px 14px; font-size: 14px; }
.btn-accent-outline:hover { background: var(--accent); color: #fff; }

/* ---------- Header (sticky via Bootstrap .sticky-top) ---------- */
.site-header { z-index: 1030; background: #fff; box-shadow: 0 1px 0 #eee; transition: box-shadow .3s, background .3s; }
/* slightly transparent while scrolling */
.site-header.scrolled {
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.site-header .navbar { padding: 22px 0; }
.site-header .nav-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.site-header .navbar-brand { margin-right: 20px; padding: 0; flex-shrink: 0; }
.site-header .navbar-brand img { height: 50px; width: auto; }

.site-header .nav-link {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 17px; font-weight: 600; text-transform: uppercase;
  color: #5b6773; padding: 8px 12px; white-space: nowrap;
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--accent); }

/* Facebook icon - bigger size (higher specificity so the media queries below can't shrink it) */
.site-header .nav-link.nav-social { font-size: 20px; color: #222; padding-left: 20px; }
.site-header .nav-link.nav-social:hover { color: var(--accent); }

.site-header .dropdown-menu { border: 0; border-top: 3px solid var(--accent); border-radius: 0; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.site-header .dropdown-item { font-family: "Open Sans", Arial, sans-serif; font-size: 16px; padding: 8px 18px; }
.site-header .dropdown-item:hover { background: var(--light-bg); color: var(--accent); }
.site-header .dropdown-item.active,
.site-header .dropdown-item:active { background: var(--light-bg); color: var(--accent); font-weight: 600; }

@media (min-width: 992px) {
  .site-header .nav-inner { flex-wrap: nowrap; }
  .site-header .navbar-collapse { flex-grow: 1; justify-content: flex-end; }
  .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
@media (max-width: 1199.98px) {
  .site-header .nav-link { font-size: 14px; padding: 8px 8px; }
}
@media (max-width: 991.98px) {
  .site-header .navbar { padding: 12px 0; }
  .site-header .navbar-brand img { height: 40px; }
  .site-header .navbar-collapse { max-height: 75vh; overflow-y: auto; padding-top: 10px; }
  .site-header .nav-link { font-size: 15px; padding: 8px 12px; border-bottom: 1px solid #eee; }
  .site-header .nav-link.nav-social { padding-left: 12px; }
}

/* ---------- Hero / Banner (single image) ---------- */
.hero { position: relative; background: #ddd; }
.hero-img { display: block; width: 100%; height: 600px; object-fit: cover; filter: grayscale(100%); }
@media (max-width: 991.98px) { .hero-img { height: 500px; } }
@media (max-width: 575.98px) { .hero-img { height: 220px; } }

/* ---------- Banner covers behind the header (needs <body class="home-page">) ---------- */
.home-page .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.home-page .site-header.scrolled { background: rgba(255, 255, 255, .8); }

/* mobile / tablet: open menu gets a solid white panel */
@media (max-width: 991.98px) {
  .home-page .site-header .navbar-collapse { background: #fff; padding: 10px 15px; margin-top: 10px; }
}
/* ---------- 1. Intro ---------- */
.intro-section { padding: 80px 0 70px; }
.intro-section .heading-light { font-size: 2rem; }
.intro-section .sub-heading { font-size: 1.15rem; margin: 0; }
.intro-text { font-size: 14px; }
.intro-text p { margin-bottom: 1.4rem; }

/* decorative image under the heading */
.intro-line { display: block; width: 200px; height: auto; margin-top: 40px; }
@media (max-width: 991.98px) { .intro-line { display: none; } }

/* ---------- 2. Products ---------- */
.products-section { position: relative; background: var(--light-bg); padding: 70px 0 80px; overflow: hidden; }
.product-box { display: flex; align-items: flex-start; gap: 20px; }
.product-icon { flex: 0 0 44px; width: 44px; font-size: 34px; line-height: 1; color: #222; text-align: center; margin-top: 4px; }
.product-title { font-weight: 400; font-size: 1.3rem; color: var(--dark); margin: 0 0 10px; }
.product-box p { font-size: 1rem; margin-bottom: 14px; }
.product-more { font-size: 14px; color: var(--accent); }
.product-more:hover { color: var(--accent-dark); }

/* black + red triangles, bottom right */
.products-section::before,
.products-section::after { content: ""; position: absolute; bottom: 0; pointer-events: none; }
.products-section::before {
  right: 22%; width: 110px; height: 55px; background: #000;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.products-section::after {
  right: calc(22% - 80px); width: 100px; height: 66px; background: var(--accent);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.products-section .container { position: relative; z-index: 1; }

/* ---------- 3. Projects ---------- */
.projects-section { padding: 70px 0 60px; }
.diamond-collage { width: 100%; }
.diamond-collage svg { display: block; width: 100%; height: auto; overflow: visible; }
.projects-text { max-width: 520px; margin-top: -14.5%; position: relative; z-index: 2; }
.projects-text p { font-size: 1rem; margin-bottom: 20px; text-align: justify; }

@media (max-width: 991.98px) {
  .projects-text { margin-top: 24px; max-width: none; }
  .products-section::before,
  .products-section::after { display: none; }
}

/* ---------- Lightbox: hover zoom icon (home collage) ---------- */
.lb-item { cursor: pointer; outline: none; }
.lb-shade { fill: #000; opacity: 0; transition: opacity .25s; }
.lb-plus {
  opacity: 0; transition: opacity .25s; pointer-events: none;
  fill: none; stroke: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}
.lb-item:hover .lb-shade,
.lb-item:focus-visible .lb-shade { opacity: .35; }
.lb-item:hover .lb-plus,
.lb-item:focus-visible .lb-plus { opacity: 1; }
@media (hover: none) { .lb-plus { opacity: .9; } }   /* touch screens: always show the icon */

/* ---------- Lightbox popup ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  display: none; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .85);
}
.lightbox.open { display: flex; }
.lb-wrap { margin: 0; max-width: 90vw; }
.lb-img { display: block; max-width: 90vw; max-height: 78vh; width: auto; height: auto; background: #fff; }
.lb-bar { display: flex; justify-content: space-between; gap: 20px; padding-top: 8px; color: #ddd; font-size: 15px; line-height: 1.3; }
.lb-count { white-space: nowrap; color: #bbb; font-size: 14px; }

.lb-close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff;
  font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.lb-close:hover { background: var(--accent); }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; font-size: 26px; padding: 16px 20px;
  cursor: pointer; opacity: .8;
}
.lb-btn:hover { opacity: 1; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
@media (max-width: 575.98px) {
  .lb-btn { font-size: 20px; padding: 10px; }
  .lb-close { top: 12px; right: 12px; width: 40px; height: 40px; }
}

/* ==========================================================
   Scroll animation
   ========================================================== */

/* base: fade up */
.ptc-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.ptc-fade.ptc-show {
  opacity: 1;
  transform: none;
}

/* ---------- Home page: stagger ---------- */
.intro-section .col-lg-6:nth-child(2).ptc-fade { transition-delay: .15s; }
.products-section .col-md-6:nth-child(even) .product-box.ptc-fade { transition-delay: .15s; }

/* diamonds pop in one after another (SVG) */
.diamond-collage .lb-item.ptc-fade {
  transform: scale(.7);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1);
}
.diamond-collage .lb-item.ptc-fade.ptc-show { transform: none; }

.diamond-collage .lb-item:nth-of-type(2).ptc-fade { transition-delay: .10s; }
.diamond-collage .lb-item:nth-of-type(3).ptc-fade { transition-delay: .20s; }
.diamond-collage .lb-item:nth-of-type(4).ptc-fade { transition-delay: .30s; }
.diamond-collage .lb-item:nth-of-type(5).ptc-fade { transition-delay: .40s; }
.diamond-collage .lb-item:nth-of-type(6).ptc-fade { transition-delay: .50s; }
.diamond-collage .lb-item:nth-of-type(7).ptc-fade { transition-delay: .60s; }

/* ---------- Product pages: hospital grid ---------- */
.hf-item:nth-child(even).ptc-fade { transition-delay: .15s; }

/* respect "reduce motion" settings */
@media (prefers-reduced-motion: reduce) {
  .ptc-fade,
  .diamond-collage .lb-item.ptc-fade { opacity: 1; transform: none; transition: none; }
}

/* ---------- Inner page title band ---------- */
.page-title { background: var(--light-bg); padding: 50px 0; }
.page-title h1 { margin: 0; text-align: center; font-weight: 300; font-size: 2.6rem; line-height: 1.2; color: var(--accent); }

/* ---------- FAQ accordion ---------- */
.faq-section { padding: 50px 0 80px; }
.faq-accordion { --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; }
.faq-accordion .accordion-item { border: 1px solid #e3e3e3; border-radius: 0; margin-bottom: -1px; background: #fff; }
.faq-accordion .accordion-button {
  background: #f5f5f5; color: var(--accent);
  font-size: 17px; font-weight: 400; padding: 14px 20px;
  border-radius: 0; box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { background: #f5f5f5; color: var(--accent); }
.faq-accordion .accordion-button:hover { color: var(--accent-dark); }
.faq-accordion .accordion-button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* + / - sign on the right side */
.faq-accordion .accordion-button::after {
  content: "+"; background-image: none;
  width: auto; height: auto; margin-left: auto; padding-left: 16px;
  font-size: 22px; font-weight: 300; line-height: 1; color: var(--accent); transform: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  content: "\2212"; background-image: none; transform: none;
}

.faq-accordion .accordion-body { background: #fff; padding: 22px 20px 20px; font-size: 0.95rem; color: var(--text); }
.faq-accordion .accordion-body a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden;
  padding: 60px 0 20px; font-size: 14px;
  background: url("../images/footer-construction.jpg") center / cover no-repeat;
}
.footer-title { font-weight: 300; font-size: 1.6rem; color: var(--dark); margin-bottom: 20px; }

/* quick links */
.footer-links li { border-bottom: 1px solid #c9d2da; padding: 10px 0; }
.footer-links a { color: #666; font-size: 1rem; }
.footer-links a::before { content: "\25B8"; margin-right: 8px; font-size: 12px; color: #333; }
.footer-links a:hover { color: var(--accent); }

/* contact list */
.footer-contact { margin: 0; overflow-wrap: anywhere; font-size: 1rem; }
.footer-contact .contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact .contact-item i { flex: 0 0 18px; width: 18px; text-align: center; color: #222; font-size: 16px; line-height: 1.7; }
.footer-contact .contact-item span { flex: 1; }
.footer-contact a { color: #666; }
.footer-contact a:hover { color: var(--accent); }

/* copyright */
.footer-bottom { border-top: 1px solid #d3dae0; margin-top: 40px; padding-top: 18px; color: #888; }
.footer-bottom small { font-size: 16px; }

/* logo + map */
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 50px; width: auto; }
.footer-map { border: 4px solid #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); line-height: 0; }
.footer-map iframe { width: 100%; height: 220px; display: block; }

/* black triangle in the bottom-right corner of the footer */
.site-footer::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 300px; height: 250px; background: #000;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }

/* ---------- WhatsApp floating button (right side, above back-to-top) ---------- */
.whatsapp-btn {
  position: fixed; right: 20px; bottom: 76px; width: 50px; height: 50px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25); z-index: 1040;
  transition: transform .2s, background .2s;
}
.whatsapp-btn:hover { background: #1ebe57; color: #fff; transform: scale(1.08); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border: 0;
  background: #333; color: #fff; display: none; align-items: center; justify-content: center; z-index: 1040;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--accent); }

/* ---------- Contact page ---------- */
.contact-section { padding: 60px 0 80px; }

/* form card */
.ct-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e3e8ec;
  border-top: 4px solid var(--accent);
  padding: 34px 34px 38px;
}
.ct-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.ct-form .form-control {
  padding: 10px 12px;
  font-size: 15px;
  color: #444;
  background: #fff;
  border: 1px solid #cfd6dc;
  border-radius: 0;
  box-shadow: none;
}
.ct-form .form-control:focus { border-color: var(--accent); box-shadow: none; }
.ct-form textarea.form-control { resize: vertical; min-height: 150px; }

.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-send {
  margin-top: 22px;
  padding: 12px 26px;
  font-size: 17px;
  line-height: 1.2;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s;
}
.btn-send:hover { background: var(--accent-dark); }
.btn-send:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }

/* details panel */
.ct-info {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--light-bg);
  padding: 34px 34px 120px;
}
.ct-list { list-style: none; margin: 0 0 26px; padding: 0; }
.ct-list li { display: flex; gap: 16px; margin-bottom: 22px; font-size: 14.5px; line-height: 1.55; }
.ct-list strong { display: block; margin-bottom: 2px; font-size: 15px; color: var(--dark); }
.ct-list a { color: var(--text); }
.ct-list a:hover { color: var(--accent); }
.ct-icon {
  flex: 0 0 24px;
  width: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3px;
  background: none;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 15px;
  color: #fff;
  background: #25d366;
}
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }
.btn-whatsapp i { font-size: 20px; }

/* black + red triangles, bottom right (same motif as the Products section) */
.ct-info::before,
.ct-info::after { content: ""; position: absolute; bottom: 0; pointer-events: none; }
.ct-info::before {
  right: 70px; width: 90px; height: 46px; background: #000;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.ct-info::after {
  right: 10px; width: 82px; height: 54px; background: var(--accent);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.ct-info > * { position: relative; z-index: 1; }

/* map (full width) */
.ct-map-section { padding: 0; }
.ct-map-title { font-size: 1.6rem; margin: 0 0 18px; }
.ct-map { width: 100%; line-height: 0; border: 0; box-shadow: none; margin-bottom: 70px; }
.ct-map iframe { width: 100%; height: 450px; display: block; border: 0; }

@media (max-width: 767.98px) {
  .contact-section { padding: 35px 0 50px; }
  .ct-card, .ct-info { padding: 24px 20px; }
  .ct-info { padding-bottom: 90px; }
  .ct-map iframe { height: 320px; }
  .ct-map { margin-bottom: 45px; }
}

/* ---------- Certificates page ---------- */
.cert-section { padding: 60px 0 90px; }

.cert-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;                 /* portrait frame, like a printed certificate */
  padding: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dde3e8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  transition: box-shadow .3s, transform .3s;
}

/* full certificate, nothing cut off */
.cert-item img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .35s ease;
}

/* red line that slides in along the bottom */
.cert-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.cert-item:hover,
.cert-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}
.cert-item:hover img,
.cert-item:focus-visible img { transform: scale(1.03); }
.cert-item:hover::after,
.cert-item:focus-visible::after { transform: scaleX(1); }
.cert-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .cert-item,
  .cert-item img,
  .cert-item::after { transition: none; }
}

@media (max-width: 767.98px) {
  .cert-section { padding: 35px 0 55px; }
  .cert-item { max-width: 420px; margin-inline: auto; }
}

/* ---------- About page ---------- */
.about-section { padding: 40px 0 10px; }

/* sliders */
.ab-slider { position: relative; }
.ab-slider .carousel-item img { width: 100%; height: 480px; object-fit: cover; }
.ab-slider-sm .carousel-item img { height: 340px; }

/* small prev / next arrows */
.ab-arrow {
  top: 50%; bottom: auto; transform: translateY(-50%);
  width: 34px; height: 34px; padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff; font-size: 14px; opacity: 1;
  transition: background .2s;
}
.carousel-control-prev.ab-arrow { left: 12px; }
.carousel-control-next.ab-arrow { right: 12px; }
.ab-arrow:hover,
.ab-arrow:focus-visible { background: var(--accent); color: #fff; }

/* dots sit below the image, on the right */
.ab-dots {
  position: static; margin: 12px 0 0; padding: 0;
  justify-content: flex-end; gap: 10px;
}
.ab-dots [data-bs-target] {
  width: 8px; height: 8px; margin: 0; padding: 0; flex: none;
  border: 2px solid #333; border-radius: 50%;
  background: #333; opacity: 1; box-sizing: content-box;
  transition: background .2s;
}
.ab-dots .active { background: #fff; }

/* caption bar on the small slider */
.ab-fig { position: relative; margin: 0; }
.ab-fig figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 6px 10px; font-size: 12px; color: #fff;
  background: rgba(0, 0, 0, .75);
}

/* intro text */
.ab-intro { margin-top: 36px; }
.ab-heading { font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; line-height: 1.3; }
.ab-intro p { font-size: 1rem; margin-bottom: 1.1rem; }
.ab-mentor { margin-top: 2rem; }

/* links inside bold red keywords */
.ab-intro strong a,
.ab-list strong a { color: inherit; font-weight: inherit; }
.ab-intro strong a:hover,
.ab-list strong a:hover { color: var(--accent-dark); text-decoration: none; }

/* divider lines */
.ab-rule { border: 0; border-top: 1px solid #ddd; opacity: 1; margin: 44px 0; }
.ab-rule-last { margin-bottom: 0; }

/* lists */
.ab-title { font-size: 1.6rem; font-weight: 300; color: var(--dark); margin-bottom: 24px; }
.ab-list { margin: 0; padding-left: 30px; font-size: 1rem; }
.ab-list li { margin-bottom: 4px; }
.ab-list li::marker { color: #888; }

/* mission / vision / values */
.ab-mvv { padding-top: 6px; }
.ab-mvv-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.6rem; font-weight: 400; color: var(--dark); margin-bottom: 18px;
}
.ab-mvv-title i { color: var(--accent); font-size: 1.5rem; }

@media (max-width: 991.98px) {
  .ab-slider .carousel-item img { height: 380px; }
  .ab-slider-sm .carousel-item img { height: 320px; }
}
@media (max-width: 575.98px) {
  .ab-slider .carousel-item img { height: 240px; }
  .ab-slider-sm .carousel-item img { height: 230px; }
  .ab-arrow { width: 30px; height: 30px; font-size: 12px; }
  .ab-heading, .ab-title, .ab-mvv-title { font-size: 1.35rem; }
  .ab-rule { margin: 32px 0; }
}

/* ---------- About page: scroll animation (stagger) ---------- */

/* the divider lines must not keep their old opacity:1 while hidden */
.ab-rule.ptc-fade { opacity: 0; }
.ab-rule.ptc-fade.ptc-show { opacity: 1; }

/* second slider appears slightly after the first */
.ab-slider-sm.ptc-fade { transition-delay: .15s; }

/* mission / vision / values columns appear one after another */
[class*="col-"]:nth-child(2) > .ab-mvv.ptc-fade { transition-delay: .15s; }
[class*="col-"]:nth-child(3) > .ab-mvv.ptc-fade { transition-delay: .30s; }
/* ---------- Product page title band ---------- */
.pd-banner {
  background: var(--light-bg);
  padding: 40px 0;
}
.pd-banner .container { text-align: center; }
.pd-banner-title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: .3px;
}

/* ---------- Product detail pages ---------- */
.pd-section { padding: 50px 0 80px; }
.pd-title {
  font-size: 2.7rem; font-weight: 300; color: var(--dark);
  margin-bottom: 30px; line-height: 1.3;
  text-align: center;
}

/* product images: stacked vertically, no gap */
.pd-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 0 50px;
}
.pd-figure { margin: 0; padding: 0; line-height: 0; text-align: center; width: 100%; max-width: 750px; }
.pd-figure img { display: block; width: 100%; height: auto; margin: 0; }

/* description: full container width */
.pd-body { max-width: none; }
.pd-h2 { font-size: 1.6rem; font-weight: 300; color: var(--dark); line-height: 1.3; margin: 40px 0 14px; }
.pd-body > .pd-h2:first-child { margin-top: 0; }
.pd-h3 { font-size: 1.25rem; font-weight: 600; color: var(--dark); margin: 26px 0 8px; }
.pd-body p { margin-bottom: 1rem; }
.pd-body p a,
.pd-list a { font-weight: 600; }

/* checklist */
.pd-list { margin: 0 0 1rem; padding-left: 26px; font-size: 1rem; }
.pd-list li { margin-bottom: 8px; }
.pd-list li::marker { color: var(--accent); }
.pd-list strong { color: var(--dark); }

/* FAQs: full container width (reuses the .faq-accordion styles) */
.pd-faq { max-width: none; margin-top: 50px; }
.pd-faq .pd-h2 { margin-top: 0; }
.pd-faq .accordion-header { margin: 0; font-size: inherit; }

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
  .pd-banner { padding: 32px 0; }
  .pd-banner-title { font-size: 1.9rem; }
  .pd-section { padding: 42px 0 65px; }
  .pd-title { font-size: 1.8rem; }
  .pd-figure { max-width: 680px; }
  .pd-h2 { font-size: 1.5rem; margin-top: 36px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  .pd-banner { padding: 26px 0; }
  .pd-banner-title { font-size: 1.5rem; }
  .pd-section { padding: 35px 0 55px; }
  .pd-title { font-size: 1.6rem; }
  .pd-gallery { margin-bottom: 36px; }
  .pd-figure { max-width: 100%; }
  .pd-h2 { font-size: 1.35rem; margin-top: 32px; }
  .pd-h3 { font-size: 1.15rem; }
}

/* ---------- Small phones ---------- */
@media (max-width: 575.98px) {
  .pd-banner { padding: 22px 0; }
  .pd-banner-title { font-size: 1.25rem; }
  .pd-title { font-size: 1.4rem; }
  .pd-cta { flex-direction: column; }
  .pd-cta .btn { width: 100%; text-align: center; }
}

/* ---------- Hospital page: 2-column image grid, no gap ---------- */
.hf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0;
  row-gap: 0;
  margin: 0 0 56px;
}
.hf-item { margin: 0; padding: 0; line-height: 0; }
.hf-item img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

@media (max-width: 991.98px) {
  .hf-grid { column-gap: 0; row-gap: 0; margin-bottom: 44px; }
}
@media (max-width: 575.98px) {
  .hf-grid { grid-template-columns: 1fr; row-gap: 0; margin-bottom: 36px; }
}

/* ---------- Scroll animation (fade up) ---------- */
.ptc-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.ptc-fade.ptc-show {
  opacity: 1;
  transform: none;
}

/* hospital grid: right-hand image appears slightly after the left one */
.hf-item:nth-child(even).ptc-fade { transition-delay: .15s; }

/* respect "reduce motion" settings */
@media (prefers-reduced-motion: reduce) {
  .ptc-fade { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   Category pages: cable-trays-perforated-sheets, chairs,
   general-utility, tables, rack  (classes start with tray-)
   ========================================================== */

/* ---------- Common ---------- */
.tray-banner,
.tray-banner *,
.tray-section,
.tray-section * { box-sizing: border-box; }

/* Same width as header, page sections and footer */
.tray-container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 12px;
}
@media (min-width: 1400px) {
  .tray-container { max-width: 1240px; }
}

/* ---------- Page banner ---------- */
.tray-banner {
  background: #eaeef2;
  padding: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}
.tray-banner-title {
  margin: 0;
  padding: 45px 0;
  font-size: 36px;
  font-weight: 200;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  color: #e04622;
}

/* ---------- Section wrapper ---------- */
.tray-section {
  background: #fff;
  padding: 65px 0 60px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

/* ---------- Heading ---------- */
.tray-title {
  margin: 0 0 40px;
  font-size: 2.7rem;
  font-weight: 300;
  line-height: 1.3;
  color: #1d2127;
  text-align: center;
}

/* ---------- Image grid: 3 equal columns, all images the same size ---------- */
.tray-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.tray-item,
.tray-item1 {                       /* .tray-item1 kept so the Tables page works either way */
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
}
.tray-item img,
.tray-item1 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;                /* change to "contain" if you never want cropping */
}

/* desktop: a lone 4th image sits centered on its own row */
@media (min-width: 1025px) {
  .tray-grid .tray-item:nth-child(4):last-child,
  .tray-grid .tray-item1:nth-child(4):last-child { grid-column: 2; }
}

/* ---------- Rack page: one image, same size as a grid image ---------- */
.single-img-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.single-img-item {
  grid-column: 2;                   /* middle column */
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
}
.single-img-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Tablet: 2 columns ---------- */
@media (max-width: 1024px) {
  .tray-banner-title { font-size: 30px; padding: 35px 0; }
  .tray-title        { font-size: 30px; margin-bottom: 30px; }
  .tray-grid         { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .single-img-row    { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .single-img-item   { grid-column: 1 / -1; max-width: 50%; margin-inline: auto; }
}

/* ---------- Mobile: 1 column ---------- */
@media (max-width: 600px) {
  .tray-banner-title { font-size: 24px; padding: 28px 0; }
  .tray-section      { padding: 40px 0; }
  .tray-title        { font-size: 24px; margin-bottom: 20px; }
  .tray-grid         { grid-template-columns: 1fr; gap: 20px; }

  .single-img-row    { grid-template-columns: 1fr; gap: 20px; }
  .single-img-item   { max-width: 100%; }
}

/* ==========================================================
   Perforated Cable Tray page  (all classes start with ptc-)
   ========================================================== */

/* ---------- Page title band ---------- */
.ptc-banner { background: var(--light-bg); padding: 40px 0; }
.ptc-banner .container { text-align: center; }
.ptc-banner-title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: .3px;
}

/* ---------- Section ---------- */
.ptc-section { padding: 50px 0 80px; overflow-x: hidden; }

.ptc-lead  { margin: 0 0 22px; }
.ptc-quote { margin: 0 0 34px; font-style: italic; }

.ptc-title {
  font-size: 1.9rem; font-weight: 400; color: var(--dark);
  line-height: 1.3; margin: 0 0 16px;
}

/* material list */
.ptc-materials { margin: 0 0 1rem; padding-left: 40px; font-size: 1rem; }
.ptc-materials li { margin-bottom: 6px; }

/* picture on the right of the list */
.ptc-side-img { display: block; width: 100%; max-width: 400px; height: auto; margin-left: auto; }

/* ---------- Image grid: 4 columns, every box the same size ---------- */
.ptc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 60px 0 20px;
}
.ptc-card {
  position: relative;
  margin: 0;
  padding: 12px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e9ed;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  overflow: hidden;
}
.ptc-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .45s ease;
}
.ptc-card::after {                     /* red line slides in on hover */
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.ptc-card:hover img { transform: scale(1.06); }
.ptc-card:hover::after { transform: scaleX(1); }

/* ---------- Written content ---------- */
.ptc-body { margin-top: 30px; }
.ptc-h2 { font-size: 1.6rem; font-weight: 300; color: var(--dark); line-height: 1.3; margin: 40px 0 14px; }
.ptc-body > :first-child .ptc-h2 { margin-top: 0; }
.ptc-h3 { font-size: 1.25rem; font-weight: 600; color: var(--dark); margin: 26px 0 8px; }
.ptc-body p { margin-bottom: 1rem; }
.ptc-body p a,
.ptc-checklist a { font-weight: 600; }

.ptc-checklist { margin: 0 0 1rem; padding-left: 26px; font-size: 1rem; }
.ptc-checklist li { margin-bottom: 8px; }
.ptc-checklist li::marker { color: var(--accent); }
.ptc-checklist strong { color: var(--dark); }

/* ---------- FAQs ---------- */
.ptc-faq { margin-top: 50px; }
.ptc-faq .ptc-h2 { margin-top: 0; }
.ptc-faq .accordion-header { margin: 0; font-size: inherit; }

.ptc-acc { --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; }
.ptc-acc .accordion-item { border: 1px solid #e3e3e3; border-radius: 0; margin-bottom: -1px; background: #fff; }
.ptc-acc .accordion-button {
  background: #f5f5f5; color: var(--accent);
  font-size: 17px; font-weight: 400; padding: 14px 20px;
  border-radius: 0; box-shadow: none;
}
.ptc-acc .accordion-button:not(.collapsed) { background: #f5f5f5; color: var(--accent); }
.ptc-acc .accordion-button:hover { color: var(--accent-dark); }
.ptc-acc .accordion-button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ptc-acc .accordion-button::after {    /* + / - on the right */
  content: "+"; background-image: none;
  width: auto; height: auto; margin-left: auto; padding-left: 16px;
  font-size: 22px; font-weight: 300; line-height: 1; color: var(--accent); transform: none;
}
.ptc-acc .accordion-button:not(.collapsed)::after { content: "\2212"; background-image: none; transform: none; }
.ptc-acc .accordion-body { background: #fff; padding: 22px 20px 20px; font-size: .95rem; color: var(--text); }

/* ---------- Scroll animation ---------- */
.ptc-anim .ptc-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
.ptc-anim .ptc-fade-right { transform: translateX(34px); }
.ptc-anim .ptc-fade.ptc-show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ptc-anim .ptc-fade { opacity: 1; transform: none; transition: none; }
  .ptc-card img, .ptc-card::after { transition: none; }
}

/* ---------- Tablet: 3 columns ---------- */
@media (max-width: 991.98px) {
  .ptc-banner { padding: 32px 0; }
  .ptc-banner-title { font-size: 1.9rem; }
  .ptc-section { padding: 42px 0 65px; }
  .ptc-title { font-size: 1.6rem; }
  .ptc-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
  .ptc-side-img { margin-left: 0; }
  .ptc-h2 { font-size: 1.5rem; margin-top: 36px; }
  .ptc-anim .ptc-fade-right { transform: translateY(28px); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  .ptc-banner { padding: 26px 0; }
  .ptc-banner-title { font-size: 1.5rem; }
  .ptc-h2 { font-size: 1.35rem; margin-top: 32px; }
  .ptc-h3 { font-size: 1.15rem; }
}

/* ---------- Small phones: 2 columns ---------- */
@media (max-width: 575.98px) {
  .ptc-banner { padding: 22px 0; }
  .ptc-banner-title { font-size: 1.25rem; }
  .ptc-section { padding: 32px 0 50px; }
  .ptc-title { font-size: 1.4rem; }
  .ptc-materials { padding-left: 28px; }
  .ptc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
  .ptc-card { padding: 8px; }
  .ptc-anim .ptc-fade { transition-delay: 0s; }
}

/* ==========================================================
   Ladder Cable Tray page and other product pages (lct-)
   ========================================================== */

/* ---------- Page title band ---------- */
.lct-banner { background: var(--light-bg); padding: 40px 0; }
.lct-banner .container { text-align: center; }
.lct-banner-title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: .3px;
}

/* ---------- Section ---------- */
.lct-section { padding: 50px 0 80px; overflow-x: hidden; }

.lct-title {
  font-size: 1.9rem; font-weight: 400; color: var(--dark);
  line-height: 1.3; margin: 0 0 16px;
}

/* material list */
.lct-materials { margin: 0 0 1rem; padding-left: 40px; font-size: 1rem; }
.lct-materials li { margin-bottom: 6px; }

/* ---------- Image grid: 4 per row, every box the same size, last row centred ---------- */
.lct-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 50px 0 20px;
}
.lct-card {
  position: relative;
  flex: 0 0 calc((100% - 90px) / 4);   /* 4 per row */
  margin: 0;
  padding: 12px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e9ed;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  overflow: hidden;
}
.lct-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .45s ease;
}
.lct-card::after {                     /* red line slides in on hover */
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.lct-card:hover img { transform: scale(1.06); }
.lct-card:hover::after { transform: scaleX(1); }

/* ---------- 2-image grid (cable management page) ---------- */
.lct-grid-2 .lct-card {
  flex: 0 0 calc((100% - 30px) / 2);
  max-width: 420px;
  aspect-ratio: 4 / 3;
}

/* ---------- 3-image grid (solid bottom, heavy angular, grating, solar, high mast, accessories) ---------- */
.lct-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0 20px;
}
.lct-grid-3 .lct-card {
  flex: none;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.sbc-caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 1rem;
  color: var(--dark);
}

/* ---------- Written content ---------- */
.lct-body { margin-top: 30px; }
.lct-h2 { font-size: 1.6rem; font-weight: 300; color: var(--dark); line-height: 1.3; margin: 40px 0 14px; }
.lct-body > :first-child .lct-h2 { margin-top: 0; }
.lct-h3 { font-size: 1.25rem; font-weight: 600; color: var(--dark); margin: 26px 0 8px; }
.lct-body p { margin-bottom: 1rem; }
.lct-body p a,
.lct-checklist a { font-weight: 600; }

.lct-checklist { margin: 0 0 1rem; padding-left: 26px; font-size: 1rem; }
.lct-checklist li { margin-bottom: 8px; }
.lct-checklist li::marker { color: var(--accent); }
.lct-checklist strong { color: var(--dark); }

/* ---------- FAQs ---------- */
.lct-faq { margin-top: 50px; }
.lct-faq .lct-h2 { margin-top: 0; }
.lct-faq .accordion-header { margin: 0; font-size: inherit; }

.lct-acc { --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; }
.lct-acc .accordion-item { border: 1px solid #e3e3e3; border-radius: 0; margin-bottom: -1px; background: #fff; }
.lct-acc .accordion-button {
  background: #f5f5f5; color: var(--accent);
  font-size: 17px; font-weight: 400; padding: 14px 20px;
  border-radius: 0; box-shadow: none;
}
.lct-acc .accordion-button:not(.collapsed) { background: #f5f5f5; color: var(--accent); }
.lct-acc .accordion-button:hover { color: var(--accent-dark); }
.lct-acc .accordion-button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.lct-acc .accordion-button::after {    /* + / - on the right */
  content: "+"; background-image: none;
  width: auto; height: auto; margin-left: auto; padding-left: 16px;
  font-size: 22px; font-weight: 300; line-height: 1; color: var(--accent); transform: none;
}
.lct-acc .accordion-button:not(.collapsed)::after { content: "\2212"; background-image: none; transform: none; }
.lct-acc .accordion-body { background: #fff; padding: 22px 20px 20px; font-size: .95rem; color: var(--text); }
.lct-acc .accordion-body a { font-weight: 600; }

/* ---------- Scroll animation ---------- */
.lct-anim .lct-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
.lct-anim .lct-fade.lct-show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lct-anim .lct-fade { opacity: 1; transform: none; transition: none; }
  .lct-card img, .lct-card::after { transition: none; }
}

/* ---------- Tablet: 3 per row ---------- */
@media (max-width: 991.98px) {
  .lct-banner { padding: 32px 0; }
  .lct-banner-title { font-size: 1.9rem; }
  .lct-section { padding: 42px 0 65px; }
  .lct-title { font-size: 1.6rem; }
  .lct-grid { gap: 22px; margin-top: 40px; }
  .lct-card { flex-basis: calc((100% - 44px) / 3); }
  .lct-h2 { font-size: 1.5rem; margin-top: 36px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  .lct-banner { padding: 26px 0; }
  .lct-banner-title { font-size: 1.5rem; }
  .lct-h2 { font-size: 1.35rem; margin-top: 32px; }
  .lct-h3 { font-size: 1.15rem; }
  .lct-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ---------- Small phones: 2 per row ---------- */
@media (max-width: 575.98px) {
  .lct-banner { padding: 22px 0; }
  .lct-banner-title { font-size: 1.25rem; }
  .lct-section { padding: 32px 0 50px; }
  .lct-title { font-size: 1.4rem; }
  .lct-materials { padding-left: 28px; }
  .lct-grid { gap: 14px; margin-top: 32px; }
  .lct-card { flex-basis: calc((100% - 14px) / 2); padding: 8px; }
  .lct-grid-2 .lct-card { flex-basis: 100%; max-width: 100%; }
  .lct-anim .lct-fade { transition-delay: 0s; }
}
@media (max-width: 479.98px) {
  .lct-grid-3 { grid-template-columns: 1fr; }
}

/* ---------- Image boxes: zoom overlay + lightbox on click ---------- */
.ptc-card,
.lct-card { cursor: zoom-in; }

.ptc-card:focus-visible,
.lct-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.card-zoom {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .35);
  color: #fff; font-size: 34px;
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.ptc-card:hover .card-zoom,
.ptc-card:focus-visible .card-zoom,
.lct-card:hover .card-zoom,
.lct-card:focus-visible .card-zoom { opacity: 1; }

/* touch screens have no hover: show a small zoom badge in the corner instead */
@media (hover: none) {
  .card-zoom {
    inset: auto 8px 8px auto;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    font-size: 16px; opacity: .9;
  }
}

/* ---------- Home: location cards (no slider) ---------- */
.loc-section { background: var(--light-bg); padding: 70px 0 80px; margin-bottom: 60px; }

.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.loc-card {
  display: flex;
  flex-direction: column;
  align-items: center;        /* centers icon, title, text and link */
  text-align: center;
  padding: 22px 22px 26px;
  background: #fbfcff;
  border: 2px solid var(--accent);
  border-radius: 30px;
  color: var(--text);
  transition: transform .3s, box-shadow .3s;
}
.loc-card:hover,
.loc-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .15);
  color: var(--text);
}
.loc-card:focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; }

.loc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;        /* centered circle */
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
  color: var(--accent);
  font-size: 34px;
}

.loc-title { margin: 0 0 8px; font-size: 1.35rem; font-weight: 600; color: var(--dark); }
.loc-text {
  flex: 1;
  width: 100%;
  margin: 0 0 14px;
  font-size: .95rem;
  line-height: 1.6;
  text-align: justify;        /* justified text */
  text-align-last: center;    /* last line stays centered */
}
.loc-more { font-size: 14px; font-weight: 600; color: var(--accent); }
.loc-card:hover .loc-more { color: var(--accent-dark); }

@media (max-width: 1199.98px) {
  .loc-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 767.98px) {
  .loc-section { padding: 45px 0 55px; margin-bottom: 35px; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .loc-card { padding: 16px 14px 20px; border-radius: 22px; }
  .loc-icon { width: 64px; height: 64px; font-size: 26px; }
  .loc-title { font-size: 1.15rem; }
}
@media (max-width: 479.98px) {
  .loc-grid { grid-template-columns: 1fr; }
}

/* ---------- Enquiry floating button ---------- */
.enquiry-btn {
  position: fixed;
  right: 20px;
  bottom: 136px;                 /* WhatsApp is at 76px, 50px tall */
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  z-index: 1040;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.enquiry-btn:hover { background: var(--accent-dark); transform: scale(1.08); }
.enquiry-btn:focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; }

/* pulse ring */
.enquiry-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: enq-pulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes enq-pulse {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* label that slides out on hover */
.enquiry-tip {
  position: absolute;
  right: 62px;
  padding: 6px 12px;
  border-radius: 4px;
  background: #222;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.enquiry-btn:hover .enquiry-tip,
.enquiry-btn:focus-visible .enquiry-tip { opacity: 1; transform: none; }

/* ---------- Enquiry popup ---------- */
.enq-modal .modal-content {
  position: relative;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.enq-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .08);
  color: #333;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.enq-close:hover { background: var(--accent); color: #fff; }

/* left panel */
.enq-side {
  position: relative;
  overflow: hidden;
  padding: 40px 30px 110px;
  background: #1d2127;
  color: #cfd6dc;
}
.enq-side-title { margin: 0 0 12px; font-size: 1.8rem; font-weight: 600; color: #fff; }
.enq-side-text { margin: 0 0 26px; font-size: .95rem; line-height: 1.6; }
.enq-side-list { margin: 0; padding: 0; list-style: none; }
.enq-side-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: .92rem; overflow-wrap: anywhere; }
.enq-side-list i { color: var(--accent); font-size: 17px; margin-top: 3px; }
.enq-side-list a { color: #cfd6dc; }
.enq-side-list a:hover { color: #fff; }

/* black + red triangles, bottom right */
.enq-side::before,
.enq-side::after { content: ""; position: absolute; bottom: 0; pointer-events: none; }
.enq-side::before {
  right: 60px; width: 90px; height: 46px; background: #000;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.enq-side::after {
  right: 10px; width: 82px; height: 54px; background: var(--accent);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

/* right panel */
.enq-main { padding: 40px 32px 32px; background: #fff; }

.enq-field { position: relative; margin-bottom: 16px; }
.enq-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa5b1;
  font-size: 15px;
  pointer-events: none;
}
.enq-field input,
.enq-field select,
.enq-field textarea {
  width: 100%;
  padding: 12px 14px 12px 40px;
  font: inherit;
  font-size: 15px;
  color: #333;
  background: #f4f6f8;
  border: 2px solid transparent;
  border-radius: 8px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.enq-field input:focus,
.enq-field select:focus,
.enq-field textarea:focus { background: #fff; border-color: var(--accent); }
.enq-field-area i { top: 18px; transform: none; }
.enq-field textarea { resize: vertical; min-height: 110px; }
.enq-modal .row.g-3 .enq-field { margin-bottom: 0; }
.enq-modal .row.g-3 { margin-bottom: 16px; }

.enq-submit {
  width: 100%;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.enq-submit:hover { background: var(--accent-dark); transform: translateY(-1px); }
.enq-submit:disabled { opacity: .7; cursor: wait; transform: none; }

.enq-status { margin-bottom: 10px; font-size: 14px; }
.enq-status.success { color: #198754; font-weight: 600; }
.enq-status.error { color: #dc3545; font-weight: 600; }

@media (max-width: 767.98px) {
  .enq-side { padding: 28px 24px 90px; }
  .enq-main { padding: 28px 22px 24px; }
  .enq-side-title { font-size: 1.5rem; }
}
@media (max-width: 575.98px) {
  .enquiry-btn { right: 14px; bottom: 126px; }
  .enquiry-tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .enquiry-btn::before { animation: none; }
}
/* ==========================================================
   MOBILE FIXES: banner, fonts, floating buttons
   (keep this block at the very bottom of style.css)
   ========================================================== */

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
  .page-title { padding: 36px 0; }
  .page-title h1 { font-size: 2rem; }

  .heading-light { font-size: 1.7rem; }
  .sub-heading { font-size: 1.05rem; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  body { font-size: 14px; line-height: 1.65; }
  p { font-size: .95rem; }

  /* page title banner: smaller height and font */
  .page-title { padding: 24px 0; }
  .page-title h1 { font-size: 1.45rem; line-height: 1.3; }

  /* general headings */
  .heading-light { font-size: 1.4rem; }
  .sub-heading { font-size: .95rem; }
  .section { padding: 40px 0; }

  /* footer */
  .site-footer { padding: 40px 0 16px; }
  .footer-title { font-size: 1.3rem; margin-bottom: 14px; }
  .footer-bottom { margin-top: 28px; padding-top: 14px; }
  .footer-bottom small { font-size: 13px; }

  /* floating buttons: smaller, tidy stack on the right */
  .back-to-top {
    right: 12px; bottom: 14px;
    width: 38px; height: 38px;
  }
  .whatsapp-btn {
    right: 12px; bottom: 62px;
    width: 42px; height: 42px;
    font-size: 23px;
  }
  .enquiry-btn {
    right: 12px; bottom: 112px;
    width: 42px; height: 42px;
    font-size: 18px;
  }
  .enquiry-tip { display: none; }

  /* enquiry popup */
  .enq-side { padding: 22px 20px 80px; }
  .enq-side-title { font-size: 1.3rem; }
  .enq-side-text { font-size: .88rem; margin-bottom: 16px; }
  .enq-main { padding: 22px 18px 20px; }
  .enq-field input,
  .enq-field select,
  .enq-field textarea { font-size: 14px; padding: 10px 12px 10px 38px; }
  .enq-submit { font-size: 15px; padding: 11px 16px; }

  /* contact page */
  .ct-form label { font-size: 13px; }
  .btn-send { font-size: 15px; padding: 11px 20px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 575.98px) {
  .page-title { padding: 20px 0; }
  .page-title h1 { font-size: 1.25rem; }

  .heading-light { font-size: 1.25rem; }
  .footer-title { font-size: 1.15rem; }

  .whatsapp-btn { bottom: 58px; width: 40px; height: 40px; font-size: 22px; }
  .enquiry-btn  { bottom: 106px; width: 40px; height: 40px; font-size: 17px; }
}