/* ============================================================
   LUXENTRA HOLDINGS — Brand Override & Enhancement Sheet
   Brand Colors: #F2ED97 (yellow) | #BA9447 (gold) | #609E37 (green)
   ============================================================ */

/* ---- 1. Typography: Precise justify — never fight text-center -----
   Strategy: justify specific content contexts, then explicitly
   re-center anything that lives inside a .text-center block.       */

/* Content paragraphs → justified */
.about-content p,
.about-item-content p,
.advisor-content p,
.executive-content p,
.executive-content blockquote,
.article-body p,
.subsidiry .about-company p,
.subsidiry .principle-card p,
.subsidiry .stat-box p,
.job-desc,
.management-bio,
.career-header p,
.hero-news-content p,
.footer-item p,
.footer p,
footer p,
.offcanvas-body p,
.contact p {
  text-align: justify;
}

/* Short single-line metas stay as-is (inline, not block content) */
.text-primary.small,
.management-role,
.job-meta,
.meta-info {
  text-align: left;
}

/* Re-center anything inside Bootstrap's text-center utility */
.text-center p,
.text-center .lead,
.text-center .text-muted,
.text-center small,
/* Section title subtitles */
.section-title p,
.gallery-header p,
.career-title p,
.gallery-header h1 {
  text-align: center !important;
}

/* Headings never justified */
h1, h2, h3, h4, h5, h6 {
  text-align: unset;
}

/* ---- 2. Topbar brand bar ---------------------------------- */
.topbar {
  background: #1a3a1a !important;   /* deep brand green */
  border-bottom: 2px solid #BA9447;
}

/* ---- 3. Navbar active/hover accent ----------------------- */
.navbar .navbar-nav .nav-item:hover .nav-link,
.navbar .navbar-nav .nav-item.active .nav-link {
  color: #609E37 !important;
}

/* Admin Login button */
.navbar .btn[href*="login"],
.navbar a.btn.btn-sm {
  background: #F2ED97 !important;
  color: #1a1a1a !important;
  font-weight: 700;
  border: none;
  transition: background 0.3s, transform 0.2s;
}
.navbar .btn[href*="login"]:hover,
.navbar a.btn.btn-sm:hover {
  background: #BA9447 !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ---- 4. Breadcrumb banner --------------------------------- */
.bg-breadcrumb {
  background:
    linear-gradient(rgba(26, 58, 26, 0.88), rgba(0, 0, 0, 0.25)),
    url("/assets/website/img/bg-breadcrumb.jpg") center/cover no-repeat !important;
}

/* ---- 5. Back-to-top button -------------------------------- */
.back-to-top {
  background: #609E37 !important;
  color: #fff !important;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(96, 158, 55, 0.4);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.back-to-top:hover {
  background: #BA9447 !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(186, 148, 71, 0.45);
}

/* ---- 6. Buttons ------------------------------------------ */
.btn-primary {
  background: #609E37 !important;
  border-color: #609E37 !important;
}
.btn-primary:hover, .btn-primary:focus {
  background: #4a7d2b !important;
  border-color: #4a7d2b !important;
}

/* Outline primary */
.btn-outline-primary {
  border-color: #609E37 !important;
  color: #609E37 !important;
}
.btn-outline-primary:hover {
  background: #609E37 !important;
  color: #fff !important;
}

/* btn-toggle (read more) */
.btn-toggle {
  background: linear-gradient(135deg, #609E37, #BA9447) !important;
}
.btn-toggle:hover {
  background: linear-gradient(135deg, #4a7d2b, #9a7a35) !important;
}

/* apply / CTA pill buttons */
.apply-btn, .view-btn {
  background: linear-gradient(90deg, #609E37, #BA9447) !important;
}
.apply-btn:hover, .view-btn:hover {
  background: linear-gradient(90deg, #4a7d2b, #9a7a35) !important;
  color: #fff !important;
}

/* ---- 7. Feature icon circles ----------------------------- */
.feature-icon {
  background: linear-gradient(135deg, #609E37, #BA9447) !important;
}

/* ---- 8. Career header ------------------------------------ */
.career-header,
.header-section {
  background: linear-gradient(135deg, #1a3a1a, #609E37) !important;
}

/* ---- 9. Tab active (gallery / subsidiary) ---------------- */
.tab:hover, .tab.active,
.subsidiry .tab:hover, .subsidiry .tab.active {
  background: linear-gradient(90deg, #609E37, #BA9447) !important;
  box-shadow: 0 4px 12px rgba(96, 158, 55, 0.35) !important;
}

/* ---- 10. Achievement hover overlay ----------------------- */
.achievement-card:hover .achievement-title,
.subsidiry .achievement-card:hover .achievement-title {
  background: rgba(96, 158, 55, 0.9) !important;
}

/* Active dot (subsidiary slider) */
.subsidiry .achievement-dots .dot.active {
  background-color: #609E37 !important;
}

/* ---- 11. Management card top border ---------------------- */
.management-card:hover {
  border-top: 5px solid #609E37 !important;
  box-shadow: 0 8px 30px rgba(96, 158, 55, 0.18) !important;
}

/* Management role text */
.management-role {
  color: #609E37 !important;
}

/* View btn */
.view-btn {
  background: #609E37 !important;
}
.view-btn:hover {
  background: #BA9447 !important;
}

/* ---- 12. Job card top border hover ----------------------- */
.job-card:hover {
  border-top: 4px solid #609E37 !important;
  box-shadow: 0 6px 25px rgba(96, 158, 55, 0.2) !important;
}

/* ---- 13. Dropdown indicator color ----------------------- */
.nav-item.dropdown .dropdown-toggle::after {
  border-top-color: #609E37 !important;
}
.dropdown-menu .dropdown-item:hover {
  background: linear-gradient(90deg, #e8f5e2, #f0f7e8) !important;
  color: #609E37 !important;
  border-left: 4px solid #609E37 !important;
}
.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
  color: #609E37 !important;
}

/* ---- 14. Blockquote / About title ------------------------ */
blockquote {
  border-left: 4px solid #609E37 !important;
}
.about-content .title {
  color: #609E37 !important;
}
.section-title h2 {
  color: #609E37 !important;
}
.advisor-content h2,
.executive-content h2 {
  color: #609E37 !important;
}
.advisor-content h2::after {
  background: #BA9447 !important;
}

/* ---- 15. Executive/Advisor photo borders ----------------- */
.executive-photo img {
  border-color: #609E37 !important;
  box-shadow: 0 10px 22px rgba(96, 158, 55, 0.3) !important;
}
.advisor-photo img {
  border-color: #BA9447 !important;
  box-shadow: 0 6px 15px rgba(96, 158, 55, 0.3) !important;
}
.advisor-photo img:hover {
  box-shadow: 0 10px 25px rgba(96, 158, 55, 0.5) !important;
}
.advisor-photo {
  background: linear-gradient(135deg, #e8f5e2, #f5f9f0) !important;
}

/* ---- 16. Lightbox close/arrow hover ---------------------- */
.lightbox .close-btn:hover,
.arrow:hover,
.subsidiry .lightbox .close-btn:hover,
.subsidiry .arrow:hover {
  color: #609E37 !important;
}
.close-btn:hover {
  color: #609E37 !important;
}

/* ---- 17. Subsidiary principle card icon ------------------ */
.subsidiry .principle-card i {
  color: #609E37 !important;
}

/* ---- 18. Footer link hover ------------------------------- */
.footer .footer-item a:hover {
  color: #F2ED97 !important;
}
.footer .footer-item .footer-btn a {
  color: #609E37 !important;
}
.footer .footer-item .footer-btn a:hover {
  background: #609E37 !important;
  border-color: #609E37 !important;
}
.footer .footer-item .footer-btn a:hover i {
  color: #F2ED97 !important;
}

/* ---- 19. Spinner & loading ------------------------------- */
.spinner-border.text-primary {
  color: #609E37 !important;
}

/* ---- 20. Scroll-entrance animation (WOW-ready) ----------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes zoomInSoft {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(96, 158, 55, 0.55); }
  50%       { box-shadow: 0 0 0 10px rgba(96, 158, 55, 0); }
}

/* Button pulse on hover */
.btn-primary:hover,
.apply-btn:hover,
.view-btn:hover {
  animation: pulse-green 0.6s ease;
}

/* ---- 21. Responsive improvements ------------------------- */
/* XS: < 576px */
@media (max-width: 575.98px) {
  .header-carousel .header-carousel-item { height: 520px; }
  .hero-news-content {
    left: 15px !important;
    right: 15px;
    bottom: 20px !important;
    max-width: 100%;
  }
  .hero-news-content h1 { font-size: 1.4rem !important; }
  .video-banner-container { height: 35vh; }
  .video-overlay h1 { font-size: 14px !important; }
  .advisor-photo { padding: 25px !important; }
  .advisor-content { padding: 20px !important; }
  .executive-card { padding: 20px !important; gap: 20px !important; }
  .executive-photo { flex: none !important; }
  .career-header h1 { font-size: 28px !important; }
  .header-section h1 { font-size: 28px !important; }
  .section-title h2 { font-size: 22px !important; }
  .gallery-container { column-count: 1 !important; }
  .hero-btns { flex-direction: column; align-items: center; }
  .lightbox .close-btn { top: 80px !important; right: 15px !important; font-size: 28px !important; }
  .arrow.left { left: 10px !important; }
  .arrow.right { right: 10px !important; }
}

/* SM: 576–767px */
@media (min-width: 576px) and (max-width: 767.98px) {
  .header-carousel .header-carousel-item { height: 700px; }
  .hero-news-content { left: 20px !important; bottom: 30px !important; max-width: 90%; }
  .hero-news-content h1 { font-size: 1.8rem !important; }
  .executive-card { padding: 25px !important; }
  .career-header h1 { font-size: 34px !important; }
  .gallery-container { column-count: 2 !important; }
}

/* MD: 768–991px */
@media (min-width: 768px) and (max-width: 991.98px) {
  .header-carousel .header-carousel-item { height: 800px; }
  .advisor-card { flex-direction: column; }
  .executive-card { flex-direction: column; text-align: center; }
  .executive-photo { flex: none !important; }
}

/* LG: 992–1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-news-content h1 { font-size: 2.2rem !important; }
}

/* Fix hero-news on all mobiles */
@media (max-width: 767.98px) {
  .hero-news {
    height: 50vh !important;
    border-radius: 10px !important;
  }
  .subsidiry .hero-section { height: 45vh; }
  .subsidiry .hero-content h1 { font-size: 1.8rem !important; }
  .video-lightbox iframe { width: 95% !important; height: 50% !important; }
  .lightbox img { max-width: 95% !important; max-height: 70vh !important; }
}

/* Management card responsive */
@media (max-width: 575.98px) {
  .management-img { width: 100px !important; height: 100px !important; }
  .management-name { font-size: 16px !important; }
}

/* ---- 22. Image hover smooth zoom for all card imgs ------- */
.news-card .card-img-top,
.blog .blog-item .blog-img img,
.service .service-item .service-img img {
  transition: transform 0.45s ease, filter 0.45s ease !important;
}

/* ---- 23. Topbar border accent ---------------------------- */
.topbar .border-end {
  border-color: rgba(242, 237, 151, 0.3) !important;
}

/* ---- 24. Job image border -------------------------------- */
.job-img {
  border-color: #BA9447 !important;
}

/* ---- 25. Subsidiary stats box accent --------------------- */
.subsidiry .stat-box h2 {
  color: #609E37 !important;
}
.subsidiry .stats-smart {
  background: linear-gradient(135deg, #e8f5e2, #f5f9f0) !important;
}

/* ---- 26. News sidebar hover ------------------------------ */
.sidebar-news h6:hover {
  color: #609E37 !important;
}

/* ---- 27. Share icons ------------------------------------- */
.share-icons a {
  border-color: #609E37 !important;
  color: #609E37 !important;
}
.share-icons a:hover {
  background: #609E37 !important;
}

/* ---- 28. Tag pill ---------------------------------------- */
.tag-pill {
  color: #609E37 !important;
}
.tag-pill:hover {
  background: #609E37 !important;
}

/* ---- 29. Testimonial hover accent ------------------------ */
.testimonial-item:hover h4 {
  color: #609E37 !important;
}

/* ---- 30. Footer newsletter input focus ------------------- */
.footer input:focus {
  border-color: #609E37 !important;
  box-shadow: 0 0 0 0.2rem rgba(96, 158, 55, 0.25) !important;
}

/* ---- 31. General card uniform min-height fix ------------- */
@media (min-width: 992px) {
  .management-card { min-height: 340px; }
}

/* ---- 32. Bootstrap focus ring override ------------------- */
.btn-primary:focus, .btn-primary.focus,
.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(96, 158, 55, 0.35) !important;
}
.form-control:focus, .form-select:focus {
  border-color: #609E37 !important;
  box-shadow: 0 0 0 0.25rem rgba(96, 158, 55, 0.25) !important;
}

/* ---- 33. Subsidiary-page tab animation ------------------- */
.tab {
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
}

/* ---- 34. Smooth section reveal (applied via JS / WOW) ---- */
.wow { visibility: hidden; }

/* ================================================================
   SENIOR REVIEW FIXES — Cards, Images, Testimonials, Navbar
   ================================================================ */

/* ---- 35. Vision/Mission/Values card images ----------------
   Responsive image heights — tall enough to show, not so tall
   they dominate on small screens.                              */
.vmv-card-img {
  height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
  display: block;
  width: 100%;
}
.news-card:hover .vmv-card-img {
  transform: scale(1.06);
}

/* ---- 36. VMV description — line-clamp, no fixed px height - */
.vmv-desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
  text-align: justify;
}

/* ---- 37. News / Notable Works card image ------------------ */
.news-card-img {
  height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease, filter 0.4s ease;
  display: block;
  width: 100%;
}
.news-card:hover .news-card-img {
  transform: scale(1.07);
  filter: brightness(90%);
}

/* ---- 38. News card title — 2-line clamp ------------------- */
.news-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: calc(1.4em * 2);
  text-align: left;
}

/* ---- 39. News card description — 3-line clamp ------------- */
.news-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.65;
  text-align: justify;
}

/* ---- 40. Notable Works swiper slide ----------------------- */
.news-swiper-slide {
  height: auto !important;
  min-height: 460px;
}
@media (max-width: 575.98px) {
  .news-swiper-slide { min-height: 380px; }
  .news-card-img { height: 180px; }
  .vmv-card-img  { height: 180px; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .news-card-img { height: 200px; }
  .vmv-card-img  { height: 200px; }
}

/* ---- 41. Testimonial / Director card image height --------- */
.testimonial-img {
  width: 100%;
  object-fit: cover;
  object-position: top center;
  min-height: 220px;
  max-height: 300px;
}
.testimonial-img-wrap {
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .testimonial-img {
    max-height: 220px;
    border-radius: 0.375rem 0.375rem 0 0 !important;
  }
}
@media (min-width: 768px) {
  .testimonial-img {
    height: 100%;
    max-height: none;
    min-height: 180px;
  }
}

/* ---- 42. Testimonial director designation readability ----- */
.testimonial-item .text-primary.small {
  color: #609E37 !important;
  font-size: 0.85rem;
}
.testimonial-item .text-muted.fst-italic {
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---- 43. Navbar: remove fixed left margin, keep centered -- */
.navbar .collapse.navbar-collapse {
  margin-left: 0 !important;
}
@media (min-width: 992px) {
  .navbar .collapse.navbar-collapse {
    display: flex !important;
    justify-content: center;
  }
  .navbar .navbar-nav {
    flex: 1;
    justify-content: center;
  }
}

/* ---- 44. Feature section container spacing ---------------- */
.container-fluid.feature {
  background: #f9fafc;
}
.container-fluid.feature .news-card {
  border-top: 3px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.container-fluid.feature .news-card:hover {
  border-top: 3px solid #609E37;
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(96, 158, 55, 0.15) !important;
}

/* ---- 45. About page header section ------------------------ */
.page-header {
  background: linear-gradient(135deg, #f0f7e8, #e8f5e2) !important;
  border-bottom: 3px solid #BA9447;
}
.page-header h1 { color: #1a3a1a; }
.page-header .breadcrumb-item a { color: #609E37; }
.page-header .breadcrumb-item.active { color: #555; }

/* ---- 46. Counter text colour ------------------------------ */
.counter-item .text-primary,
.counter .text-primary,
h2.counter.text-primary {
  color: #609E37 !important;
}

/* ---- 47. About page read-more toggle padding on mobile ---- */
@media (max-width: 575.98px) {
  .about-content .read-more { max-height: 200px; }
  .about-area .row { gap: 2rem !important; }
}

/* ---- 48. Footer contact p — left aligned (short address) -- */
.footer .btn-xl-square + div p {
  text-align: left;
}

/* ---- 49. Section divider accent line on h2 titles --------- */
.section-accent-line {
  display: block;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #609E37, #BA9447);
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ---- 50. Mobile: swiper bullets visible ------------------- */
.swiper-pagination-bullet-active {
  background: #609E37 !important;
}
.swiper-button-next,
.swiper-button-prev {
  color: #609E37 !important;
}

/* ---- 51. Offcanvas mobile menu polish --------------------- */
.offcanvas .nav-link { color: #222 !important; font-weight: 500; }
.offcanvas .nav-link:hover { color: #609E37 !important; }
.offcanvas .sub-menu-item { color: #555; }
.offcanvas .sub-menu-item:hover { color: #609E37 !important; }

/* ---- 52. Breadcrumb/page-hero text visibility ------------- */
.bg-breadcrumb h1,
.bg-breadcrumb .breadcrumb-item,
.bg-breadcrumb .breadcrumb-item.active,
.bg-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #fff !important;
}
.bg-breadcrumb .breadcrumb-item a { color: #F2ED97 !important; }

/* ---- 53. Video overlay text visibility on all sizes ------- */
.video-overlay h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.65);
  line-height: 1.2;
}
@media (max-width: 575.98px) {
  .video-overlay h1 { font-size: 1.1rem !important; }
}

/* ---- 54. Footer dark-bg paragraph colour fix -------------- */
.footer p, .footer .text-muted {
  color: rgba(255,255,255,0.75) !important;
}
.footer h4 { color: #F2ED97; }

/* ---- 55. Global line-height for readability --------------- */
body { line-height: 1.75; }
p    { line-height: 1.75; }

/* ---- 57. Footer (.footer) — extracted & responsive -------- */

.footer {
    background: linear-gradient(180deg, #0b2a3a 0%, #06202a 100%);
    color: rgba(255,255,255,0.80);
    font-size: 0.9375rem;
    line-height: 1.75;
}

.footer-logo {
    width: 200px;
    height: auto;
    display: block;
    margin-bottom: 16px;
}

.footer .footer-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.4px;
    margin-bottom: 1.25rem;
}

.footer .footer-item a {
    color: rgba(223,239,255,0.82);
    display: block;
    margin-bottom: 7px;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.footer .footer-item a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer p { color: rgba(255,255,255,0.72); }

.footer .footer-btn a {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75);
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}
.footer .footer-btn a:hover {
    background: #609E37;
    border-color: #609E37;
    color: #fff;
    transform: translateY(-3px);
}

.footer-instagram {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.footer-instagram img {
    display: block;
    width: 100%;
    height: 90px;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.footer-instagram:hover img { transform: scale(1.08); }

.footer-search-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(0,0,0,0.40);
    transition: opacity 0.2s ease;
}
.footer-instagram:hover .footer-search-icon { opacity: 1; }

.btn-xl-square {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.footer-contact-strip {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 32px;
}
.footer-contact-strip h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.footer-contact-strip p,
.footer-contact-strip a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact-strip a:hover { color: #F2ED97; }

.footer-newsletter-wrap .form-control {
    border-radius: 50px;
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.footer-newsletter-wrap .form-control::placeholder { color: rgba(255,255,255,0.45); }
.footer-newsletter-wrap .form-control:focus {
    background: rgba(255,255,255,0.10);
    border-color: #609E37;
    box-shadow: 0 0 0 0.2rem rgba(96,158,55,0.25);
    color: #fff;
}

.copyright {
    background: #031017;
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
}
.copyright a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: color 0.2s;
}
.copyright a:hover { color: #F2ED97; }

@media (max-width: 1199.98px) {
    .footer-logo { width: 175px; }
    .btn-xl-square { width: 52px; height: 52px; }
}
@media (max-width: 991.98px) {
    .footer .footer-item { margin-bottom: 4px; }
    .footer-newsletter { margin-top: 8px; }
}
@media (max-width: 767.98px) {
    .footer-logo { width: 155px; }
    .footer .footer-btn { justify-content: flex-start !important; }
    .btn-xl-square { width: 48px; height: 48px; }
    .footer-instagram img { height: 75px; }
}
@media (max-width: 575.98px) {
    .footer-logo { width: 135px; }
    .footer-instagram img { height: 65px; }
    .btn-xl-square { width: 44px; height: 44px; }
    .footer-contact-strip { padding-top: 24px; }
}

/* ---- 58. About Us page — responsive fixes ----------------- */

/* Fluid title */
.about-content .title {
    font-size: clamp(1.3rem, 4vw, 2rem) !important;
    margin-bottom: 1rem;
}

/* Button group — flex-wrap prevents any overlap */
.about-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.25rem;
}

/* Outline variant for Company Profile */
.btn-toggle--outline {
    background: transparent !important;
    border: 2px solid #609E37 !important;
    color: #609E37 !important;
}
.btn-toggle--outline:hover {
    background: #609E37 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Image column — full width on all breakpoints */
.about-left-img img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}
.about-left-img img:hover { transform: scale(1.02); }

/* Read-more collapse */
.read-more {
    max-height: 260px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.6s ease;
}
.read-more.expanded { max-height: 4000px; }
.fade-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to top, #fff 0%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.4s;
}
.read-more.expanded .fade-overlay { opacity: 0; }

/* Advisor leader photo — responsive sizing */
.advisor-leader-img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    max-width: 100%;
    border: 6px solid #BA9447;
    box-shadow: 0 6px 15px rgba(96,158,55,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advisor-leader-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(96,158,55,0.5);
}

/* Advisor content heading — fluid */
.advisor-content h2 {
    font-size: clamp(1.2rem, 3vw, 2rem) !important;
    word-break: break-word;
}
.advisor-content h2::after { margin-left: 0; }

/* Counter numbers — fluid */
.counter-item .counter {
    font-size: clamp(1.4rem, 4vw, 2.125rem) !important;
}

/* About-page counter card — scoped padding that adapts to card width */
.counter-item--about {
    padding: clamp(0.5rem, 2vw, 1rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 80px;
}
.counter-item--about .counter {
    font-size: clamp(1.3rem, 3.5vw, 2rem) !important;
    line-height: 1.15;
}
.counter-item--about p {
    font-size: clamp(0.68rem, 1.5vw, 0.8rem) !important;
    white-space: nowrap;
    line-height: 1.2;
}

/* ── Breakpoints ── */

/* XL / XXL — default above already handles it */

/* LG: 992–1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .advisor-leader-img { width: 230px; height: 230px; }
    .advisor-photo { padding: 36px 28px; }
    .advisor-content { padding: 40px 36px; }
}

/* MD: 768–991px — advisor stacks, about text shows first */
@media (max-width: 991.98px) {
    .advisor-card { text-align: center; }
    .advisor-photo { padding: 28px 20px; }
    .advisor-content { padding: 28px 20px; }
    .advisor-content h2::after { margin: 8px auto 0; }
    .advisor-leader-img { width: 200px; height: 200px; }
    .about-area .g-4 { --bs-gutter-y: 1.5rem; }
}

/* SM: 576–767px */
@media (max-width: 767.98px) {
    .advisor-photo { padding: 22px 16px; }
    .advisor-content { padding: 22px 16px; }
    .advisor-leader-img { width: 170px; height: 170px; }
    .advisor-section { padding: 12px 4px; }
    .read-more { max-height: 220px; }
}

/* XS: < 576px */
@media (max-width: 575.98px) {
    .about-content .title { font-size: 1.3rem !important; }
    .advisor-photo { padding: 18px 12px; }
    .advisor-content { padding: 18px 12px; }
    .advisor-leader-img { width: 140px; height: 140px; border-width: 4px; }
    .read-more { max-height: 180px; }
    .about-btn-group { flex-direction: column; }
    .about-btn-group .btn-toggle { width: 100%; text-align: center; }
    .counter-item--about { min-height: 70px; }
}


