:root {
  --web-brand-primary: #22c55e;
  --web-brand-primary-600: #16a34a;
  --web-brand-primary-700: #15803d;
  --web-brand-primary-800: #166534;
  --web-brand-surface: #ffffff;
  --web-brand-border: #e5e7eb;
  --web-brand-text: #374151;
  --web-brand-heading: #111827;
  --web-brand-radius-sm: 10px;
  --web-brand-radius-md: 14px;
  --web-brand-radius-lg: 18px;
  --web-brand-radius-xl: 24px;
  --web-brand-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --web-brand-shadow-lg: 0 14px 36px rgba(15, 23, 42, 0.1);
}

body {
  color: var(--web-brand-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--web-brand-heading);
}

a:hover,
.main-menu ul li.current > a,
.main-menu ul li:hover > a,
.mean-container .mean-nav ul li.current a,
.footer-link ul li a:hover,
.f-contact ul li a:hover {
  color: var(--web-brand-primary) !important;
}

.btn,
.second-header-btn .btn,
.header-three .btn.ss-btn,
.cta-btn .btn,
.cta-btn2 .btn,
.pricing-btn .btn,
.contact-form .btn,
.bsingle__content .blog__btn .btn {
  background: var(--web-brand-primary) !important;
  border-color: var(--web-brand-primary) !important;
  color: #fff !important;
  border-radius: var(--web-brand-radius-sm) !important;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.22);
}

.btn::before,
.second-header-btn .btn::before,
.cta-btn .btn::before,
.cta-btn2 .btn::before,
.pricing-btn .btn::before,
.contact-form .btn::before,
.bsingle__content .blog__btn .btn::before {
  background: var(--web-brand-primary-700) !important;
}

.btn:hover,
.btn:focus,
.second-header-btn .btn:hover,
.header-three .btn.ss-btn:hover,
.cta-btn .btn:hover,
.cta-btn2 .btn:hover,
.pricing-btn .btn:hover,
.contact-form .btn:hover,
.bsingle__content .blog__btn .btn:hover {
  background: var(--web-brand-primary-700) !important;
  border-color: var(--web-brand-primary-700) !important;
}

.footer-bg,
.footer-bg.footer-p {
  background: var(--web-brand-primary-800) !important;
}

.cta-area.cta-bg,
.cta-bg {
  background: linear-gradient(180deg, #14532d 0%, #052e16 100%) !important;
}

.header-top.second-header,
#header-sticky {
  border-bottom: 1px solid var(--web-brand-border);
}

/* ─── Mobile hamburger button ─── */
.mean-container a.meanmenu-reveal {
  background: rgba(255, 255, 255, 0.62) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.3) !important;
  backdrop-filter: blur(10px) saturate(1.3) !important;
  border: 1px solid rgba(34, 197, 94, 0.26) !important;
  border-radius: 12px !important;
  width: 50px !important;
  height: 50px !important;
  padding: 10px !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin-top: 0 !important;
  color: transparent !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12) !important;
}

.mean-container a.meanmenu-reveal span {
  background: var(--web-brand-primary-700) !important;
  border-top: 3px solid var(--web-brand-primary-700) !important;
  border-radius: 3px !important;
  width: 22px !important;
  margin-top: 0 !important;
}

/* Close (×) state — plugin adds .meanclose and replaces spans with text */
.mean-container a.meanmenu-reveal.meanclose {
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: var(--web-brand-primary-700) !important;
  background: rgba(34, 197, 94, 0.08) !important;
  border-color: rgba(34, 197, 94, 0.45) !important;
}

@media (max-width: 991px) {
  .header-three .second-menu {
    position: relative;
  }

  .header-three .logo.logo-mobile-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
  }

  .header-three .logo.logo-mobile-inline > a {
    position: relative;
    z-index: 2;
  }

  .header-three .mobile-menu-inline {
    position: static;
    margin-left: auto;
    width: 50px;
    height: 50px;
    z-index: 3;
  }

  .header-three .mobile-menu-inline .mean-container {
    position: static !important;
    height: auto;
  }

  .header-three .mobile-menu-inline .mean-bar {
    position: static !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .header-three .second-menu .mean-container a.meanmenu-reveal {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
  }

  .header-three .second-menu .mean-container .mean-nav {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
}

/* ─── Mobile nav dropdown panel ─── */
.mean-container .mean-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.55) !important;
  backdrop-filter: blur(16px) saturate(1.55) !important;
  border: 1px solid rgba(34, 197, 94, 0.28) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 3px solid var(--web-brand-primary) !important;
  border-radius: 0 !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.mean-container .mean-nav ul {
  overflow: visible !important;
}

.mean-container .mean-nav ul li {
  position: relative;
}

.mean-container .mean-nav ul li a {
  color: var(--web-brand-primary-800) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 12px 20px !important;
  padding-right: 56px !important;
  width: 100% !important;
  float: none !important;
  border-top: 1px solid rgba(34, 197, 94, 0.1) !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.mean-container .mean-nav ul li a:hover {
  background: rgba(34, 197, 94, 0.08) !important;
  color: var(--web-brand-primary-600) !important;
}

.mean-container .mean-nav ul li.current > a {
  color: var(--web-brand-primary) !important;
}

.mean-container .mean-nav ul li a.mean-expand {
  background: transparent !important;
  color: var(--web-brand-primary-700) !important;
  width: 44px !important;
  height: 100% !important;
  padding: 12px 0 !important;
  text-align: center !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  border-left: 1px solid rgba(34, 197, 94, 0.12) !important;
}

.mean-container .mean-nav ul li a.mean-expand:hover {
  background: rgba(34, 197, 94, 0.08) !important;
}

/* Header and top-header refinement */
.header-top.second-header,
.header-three .second-header {
  background:
    radial-gradient(circle at 15% 35%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 85% 25%, rgba(34, 197, 94, 0.24), rgba(34, 197, 94, 0) 40%),
    linear-gradient(90deg, #14532d 0%, #166534 52%, #14532d 100%) !important;
  color: #fff !important;
}

.header-top.second-header::before,
.header-three .second-header::before,
.second-header::before {
  background: var(--web-brand-primary) !important;
}

.header-top.second-header a,
.header-top.second-header span,
.header-three .second-header a,
.header-three .second-header span,
.header-cta ul li,
.header-cta .call-box .text strong a,
.header-social a {
  color: #fff !important;
}

.header-top.second-header a:hover,
.header-three .second-header a:hover,
.header-social a:hover,
.header-cta .call-box .text strong a:hover {
  color: rgba(255, 255, 255, 0.82) !important;
}

.header-top.second-header {
  position: relative;
  overflow: hidden;
}

.header-top.second-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 42%);
}

.header-top.second-header .row {
  min-height: 56px;
}

.header-top.second-header .header-social span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-top.second-header .header-cta > ul > li > a,
.header-top.second-header .header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.header-top.second-header .header-cta > ul > li > a:hover,
.header-top.second-header .header-social a:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff !important;
  transform: translateY(-1px);
}

.header-top.second-header .header-social a {
  width: 34px;
  height: 34px;
}

.header-top.second-header .header-cta ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}

.header-top.second-header .header-cta ul li {
  margin: 0 !important;
  padding: 0 !important;
  border-right: 0 !important;
}

.header-top.second-header .header-cta .call-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.header-top.second-header .header-cta .call-box:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.header-top.second-header .header-cta .call-box .text strong {
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
}

.header-top.second-header .header-cta > ul > li > a {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.header-top.second-header .header-cta > ul > li > a:hover {
  background: #fff !important;
  border-color: #fff;
  color: var(--web-brand-primary-800) !important;
}

#header-sticky.menu-area,
.header-three .menu-area {
  background:
    radial-gradient(circle at 8% 110%, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0) 45%),
    radial-gradient(circle at 92% -10%, rgba(22, 163, 74, 0.16), rgba(22, 163, 74, 0) 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(247, 255, 248, 0.58) 100%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  backdrop-filter: blur(20px) saturate(1.7);
  border-bottom: 1px solid rgba(34, 197, 94, 0.22);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.10), 0 1.5px 0 rgba(255,255,255,0.65) inset;
}

.header-three .sticky-menu,
#header-sticky.menu-area.sticky-menu {
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

/* Top navigation redesign */
.nav-shell .second-menu {
  padding: 10px 0;
}

.nav-main-wrap {
  display: flex;
  justify-content: center;
}

.main-nav-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  margin: 0;
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(1.55);
  backdrop-filter: blur(16px) saturate(1.55);
  border: 1px solid rgba(34, 197, 94, 0.26);
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255,255,255,0.88) inset;
}

.main-nav-list > li {
  margin: 0 !important;
}

.main-nav-list > li > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--web-brand-primary-800) !important;
  transition: all 0.25s ease;
}

/* Active/current page — stable, no lift */
.main-nav-list > li.current > a {
  background: var(--web-brand-primary-700) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transform: none;
  position: relative;
}

/* Tiny dot indicator under active item */
.main-nav-list > li.current > a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

/* Hover on non-active items only */
.main-nav-list > li:not(.current):hover > a {
  background: rgba(34, 197, 94, 0.12) !important;
  color: var(--web-brand-primary-700) !important;
  transform: translateY(-1px);
  box-shadow: none;
}

.nav-action-wrap .btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (max-width: 1199px) {
  .main-nav-list {
    gap: 4px;
  }

  .main-nav-list > li > a {
    padding: 9px 10px !important;
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .nav-shell .second-menu {
    padding: 8px 0;
  }

  .logo img {
    max-height: 52px;
    width: auto;
  }
}

@media (max-width: 767px) {
  #header-sticky.menu-area,
  .header-three .menu-area,
  .header-three .sticky-menu,
  #header-sticky.menu-area.sticky-menu {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

.header-three .main-menu ul li a,
.main-menu ul li a,
.login li a {
  color: var(--web-brand-heading) !important;
}

.header-three .main-menu ul li.current > a,
.header-three .main-menu ul li:hover > a,
.main-menu ul li.current > a,
.main-menu ul li:hover > a,
.main-menu .has-sub a:hover {
  color: var(--web-brand-primary) !important;
}

.main-menu .main-nav-list > li.current > a {
  color: #fff !important;
}

.main-menu .main-nav-list > li:not(.current):hover > a {
  color: var(--web-brand-primary-700) !important;
}

.main-menu .sub-menu,
.main-menu .has-sub > ul {
  border-radius: var(--web-brand-radius-sm);
  border: 1px solid var(--web-brand-border);
  box-shadow: var(--web-brand-shadow);
}

/* Footer refinement */
.footer-bg,
.footer-bg.footer-p {
  background: linear-gradient(180deg, var(--web-brand-primary-800) 0%, #14532d 100%) !important;
  color: rgba(255, 255, 255, 0.86) !important;
}

.footer-bg .f-widget-title h2,
.footer-bg .footer-widget .widgettitle,
.footer-bg h2,
.footer-bg h3,
.footer-bg h4 {
  color: #fff !important;
}

.footer-bg .f-widget-title h2::before,
.footer-bg .footer-widget .widgettitle::before {
  background: rgba(255, 255, 255, 0.32) !important;
}

.footer-bg .footer-link ul li a,
.footer-bg .f-contact,
.footer-bg .f-contact span,
.footer-bg .f-contact a,
.footer-bg .footer-widget p,
.footer-bg .footer-widget li,
.footer-bg .footer-widget a {
  color: rgba(255, 255, 255, 0.86) !important;
}

.footer-bg .footer-link ul li a:hover,
.footer-bg .f-contact a:hover,
.footer-bg .footer-widget a:hover,
.footer-bg .footer-social a:hover {
  color: #fff !important;
}

.footer-bg .footer-social a {
  background-color: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.footer-bg .footer-social a:hover {
  background-color: var(--web-brand-primary) !important;
  border-color: var(--web-brand-primary);
}

.footer-bg .f-contact .icon {
  color: var(--web-brand-heading) !important;
}

.copyright-wrap {
  background: rgba(0, 0, 0, 0.18) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92) !important;
}

.copyright-wrap .dropdown .btn,
.copyright-wrap .dropdown .btn:focus,
.copyright-wrap .dropdown .btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.copyright-wrap .dropdown-menu {
  border-radius: var(--web-brand-radius-sm);
  border: 1px solid var(--web-brand-border);
}

/* Softer, less boxy presentation for web cards/blocks */
.single-services,
.s-single-services,
.single-team,
.single-project,
.single-post,
.single-post2,
.single-testimonial,
.single-testimonial-bg,
.pricing-box,
.faq-wrap .card,
.blog-deatails-box.single,
.course-item,
.event-item,
.contact-bg02,
.features-services-area .container,
.counter-area .single-counter,
.ab-coutner .single-counter {
  border-radius: var(--web-brand-radius-md) !important;
  box-shadow: var(--web-brand-shadow);
  border-color: var(--web-brand-border);
}

/* Global anti-boxy layer for common frontend shells */
.services-box,
.services-box2,
.services-box07,
.service-details-two,
.service-details-three,
.event-item,
.courses-item,
.portfolio-box,
.blog-content,
.news-text,
.sidebar-widget,
.pricing-head,
.pricing-body,
.pricing-box2,
.brochures-box,
.contact-bg,
.contact-bg02,
.contact-form,
.comment-box,
.testimonial-active .single-testimonial,
.testimonial-active2 .single-testimonial,
.faq-wrap .card,
.accordion .card,
.main-menu .has-sub > ul,
.main-menu .sub-menu,
.dropdown-menu {
  border-radius: var(--web-brand-radius-md) !important;
}

.services-box,
.services-box2,
.services-box07,
.event-item,
.courses-item,
.portfolio-box,
.blog-content,
.sidebar-widget,
.pricing-box,
.pricing-box2,
.brochures-box,
.contact-bg,
.contact-bg02,
.comment-box,
.testimonial-active .single-testimonial,
.testimonial-active2 .single-testimonial {
  box-shadow: var(--web-brand-shadow-lg);
}

.single-post img,
.single-project img,
.single-team img,
.courses-item img,
.event-item img,
.brochures-box img,
.gallery-image img,
.portfolio-box img {
  border-radius: var(--web-brand-radius-md);
}

.cta-area.cta-bg,
.features-services-area .container,
.counter-area .single-counter,
.ab-coutner .single-counter {
  border-radius: var(--web-brand-radius-xl);
}

.accordion .card-header,
.accordion .card-body,
.faq-wrap .card-header,
.faq-wrap .card-body,
.comment-box,
.sidebar-widget {
  border-color: var(--web-brand-border) !important;
}

.faq-wrap .card-header {
  border-top-left-radius: var(--web-brand-radius-md) !important;
  border-top-right-radius: var(--web-brand-radius-md) !important;
}

.faq-wrap .card-body {
  border-bottom-left-radius: var(--web-brand-radius-md) !important;
  border-bottom-right-radius: var(--web-brand-radius-md) !important;
}

input,
textarea,
select,
.form-control,
.contact-field input,
.contact-field textarea {
  border-radius: var(--web-brand-radius-sm) !important;
  border-color: var(--web-brand-border);
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  border-color: var(--web-brand-primary-600) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18) !important;
}

.pagination .page-link,
.page-link,
.tag-cloud-link,
.post-tag ul li a {
  border-radius: var(--web-brand-radius-sm) !important;
}

/* Icons and scroll refinement */
html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #ecfdf5;
}

::-webkit-scrollbar-thumb {
  background: var(--web-brand-primary-600);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--web-brand-primary-700);
}

#scrollUp {
  background: var(--web-brand-primary) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.32);
}

#scrollUp:hover {
  background: var(--web-brand-primary-700) !important;
  transform: translateY(-2px);
}

#scrollUp i,
#scrollUp svg {
  color: #fff !important;
}

.header-social a,
.side-social a,
.team-social a,
.widget-social a,
.product-social a,
.cta-bg .social a,
.team-area-content .social a {
  background-color: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
  color: var(--web-brand-primary-700) !important;
  border-radius: 999px !important;
}

.header-social a:hover,
.side-social a:hover,
.team-social a:hover,
.widget-social a:hover,
.product-social a:hover,
.cta-bg .social a:hover,
.team-area-content .social a:hover {
  background-color: var(--web-brand-primary) !important;
  border-color: var(--web-brand-primary) !important;
  color: #fff !important;
}

.f-contact .icon,
.call-box .icon,
.services-icon i,
.services-icon .glyph-icon::before,
.process-icon,
.c-icon i,
.newslater-title .icon {
  color: var(--web-brand-primary-700) !important;
}

.services-icon i,
.brochures-box .icon,
.process-icon,
.services-box2 .services-content2 .icon,
.team-area-content .social a,
.gallery-image figcaption .icon {
  border-color: var(--web-brand-primary-600) !important;
  background-color: var(--web-brand-primary-600) !important;
  color: #fff !important;
}

.services-icon2 .glyph-icon::before,
.services-item .glyph-icon:before,
.pricing-head .glyph-icon::before,
.single-counter .icon,
.event02 .event-content .icon,
.event03 .event-content .icon,
.courses-item .icon,
.portfolio-box .caption .arrow-icon,
.project-detail .project-info li .icon {
  border-color: var(--web-brand-primary-600) !important;
  background-color: var(--web-brand-primary-600) !important;
  color: #fff !important;
}

.news-text ul li i,
.quote-post ul li i,
.blist li i,
.f-widget-title i,
.footer-link ul li i {
  color: var(--web-brand-primary-600) !important;
}

/* Services 07 legacy color cleanup */
.services-box07 {
  background: rgba(22, 101, 52, 0.86) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.services-box07:hover,
.services-box07.active {
  background: var(--web-brand-primary-600) !important;
}

.services-box07 .sr-contner .text h5,
.services-box07 .sr-contner .text p,
.services-box07 .sr-contner .text a {
  color: #fff !important;
}

.sbox div:nth-child(1) .services-box07,
.sbox div:nth-child(2) .services-box07,
.sbox div:nth-child(3) .services-box07,
.sbox div:nth-child(4) .services-box07 {
  background: rgba(22, 101, 52, 0.86) !important;
}

.header-cta .call-box .icon i {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
}

.header-cta .call-box .icon img {
  display: none;
}

.prospect-search-shell,
.course-filter-panel {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 55%, #ecfdf5 100%);
  border: 1px solid rgba(34, 197, 94, 0.14);
  border-radius: var(--web-brand-radius-xl);
  box-shadow: var(--web-brand-shadow-lg);
  padding: 36px;
}

.school-highlights-video {
  position: relative;
}

.school-highlight-video-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.school-highlight-video-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(5, 46, 22, 0.72);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.school-highlight-video-btn:hover,
.school-highlight-video-btn:focus {
  background: var(--web-brand-primary) !important;
  border-color: var(--web-brand-primary) !important;
  color: #fff !important;
}

.school-highlight-video-btn i {
  font-size: 16px;
}

.prospect-search-form .form-control,
.course-filter-form .form-control {
  min-height: 54px;
  background: rgba(255, 255, 255, 0.92);
}

.prospect-search-links,
.course-level-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.prospect-search-links a,
.course-level-pill,
.course-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.08);
  color: var(--web-brand-primary-800) !important;
  font-weight: 600;
}

.prospect-search-links a,
.course-level-pill {
  padding: 12px 18px;
}

.prospect-search-links a:hover,
.course-level-pill:hover,
.course-level-pill.active,
.course-level-badge {
  background: var(--web-brand-primary) !important;
  border-color: var(--web-brand-primary) !important;
  color: #fff !important;
}

.course-level-pill span {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.course-level-badge {
  padding: 8px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.course-empty-state {
  background: #fff;
  border: 1px solid var(--web-brand-border);
  border-radius: var(--web-brand-radius-lg);
  box-shadow: var(--web-brand-shadow);
  padding: 48px 24px;
}

.about-hero-area {
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 46, 22, 0.78), rgba(21, 128, 61, 0.58));
}

.about-hero-content,
.about-hero-breadcrumb {
  position: relative;
  z-index: 2;
}

.about-hero-content h5,
.about-hero-content h1,
.about-hero-content p,
.about-hero-breadcrumb .breadcrumb-item,
.about-hero-breadcrumb .breadcrumb-item a {
  color: #fff !important;
}

.about-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}

.about-hero-content p {
  max-width: 760px;
  margin: 0 auto 24px;
}

.about-hero-btns {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-hero-btns .btn-outline {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.about-mv-card {
  background: #fff;
  border: 1px solid var(--web-brand-border);
  border-radius: var(--web-brand-radius-md);
  box-shadow: var(--web-brand-shadow);
  padding: 18px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--web-brand-border);
  border-radius: var(--web-brand-radius-sm);
  padding: 14px 16px;
}

.about-feature-item span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--web-brand-primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-item p {
  margin: 0;
}

.about-staff-card {
  background: #fff;
  border: 1px solid var(--web-brand-border);
  border-radius: var(--web-brand-radius-lg);
  box-shadow: var(--web-brand-shadow);
  overflow: hidden;
  height: 100%;
}

.about-staff-photo {
  background: #f8fafc;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.about-staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-staff-content {
  padding: 16px;
  text-align: center;
}

.about-staff-content h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.about-staff-content p {
  margin-bottom: 0;
  color: var(--web-brand-primary-700);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .prospect-search-shell,
  .course-filter-panel {
    padding: 24px;
  }

  .school-highlight-video-controls {
    right: 14px;
    bottom: 14px;
  }

  .school-highlight-video-btn {
    width: 42px;
    height: 42px;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Defensive fallback: remap any legacy orange injected inline/runtime */
[style*="#ff7350"],
[style*="#FF7350"],
[style*="#fe7350"],
[style*="#FE7350"],
[style*="rgb(255, 115, 80)"],
[style*="rgb(254, 115, 80)"] {
  color: var(--web-brand-primary-600) !important;
  border-color: var(--web-brand-primary-600) !important;
}

[style*="background:#ff7350"],
[style*="background: #ff7350"],
[style*="background-color:#ff7350"],
[style*="background-color: #ff7350"],
[style*="background:#FE7350"],
[style*="background: #FE7350"],
[style*="background-color:#FE7350"],
[style*="background-color: #FE7350"],
[style*="background:rgb(255, 115, 80)"],
[style*="background: rgb(255, 115, 80)"],
[style*="background-color:rgb(255, 115, 80)"],
[style*="background-color: rgb(255, 115, 80)"] {
  background: var(--web-brand-primary-600) !important;
  background-color: var(--web-brand-primary-600) !important;
  border-color: var(--web-brand-primary-600) !important;
  color: #fff !important;
}

/* ─── Application Form Alerts & Badges ─── */

/* Alert success — brand green with light background */
.alert-success {
  background-color: rgba(34, 197, 94, 0.1) !important;
  border-color: var(--web-brand-primary) !important;
  color: var(--web-brand-primary-800) !important;
}

.alert-success .alert-link {
  color: var(--web-brand-primary-700) !important;
  font-weight: 600;
}

/* Alert warning — amber/yellow */
.alert-warning {
  background-color: rgba(251, 191, 36, 0.1) !important;
  border-color: #fbbf24 !important;
  color: #78350f !important;
}

.alert-warning .alert-link {
  color: #d97706 !important;
  font-weight: 600;
}

/* Alert danger — red */
.alert-danger {
  background-color: rgba(239, 68, 68, 0.1) !important;
  border-color: #ef4444 !important;
  color: #7f1d1d !important;
}

.alert-danger .alert-link {
  color: #dc2626 !important;
  font-weight: 600;
}

/* Badge success — brand green solid */
.badge-success {
  background-color: var(--web-brand-primary) !important;
  color: #fff !important;
  font-weight: 600;
}

/* Badge warning — amber/yellow */
.badge-warning {
  background-color: #fbbf24 !important;
  color: #78350f !important;
  font-weight: 600;
}

/* Badge danger — red */
.badge-danger {
  background-color: #ef4444 !important;
  color: #fff !important;
  font-weight: 600;
}

/* ─── Text Color Utilities (Bootstrap overrides) ─── */

/* Success text — brand green */
.text-success {
  color: var(--web-brand-primary) !important;
}

/* Warning text — amber/yellow */
.text-warning {
  color: #f59e0b !important;
}

/* Danger text — red */
.text-danger {
  color: #ef4444 !important;

/* ─── Wizard Form Steps (Admin Application & Forms) ─── */

/* Current step — brand green */
.wizard>.steps .current a,
.wizard>.steps .current a:hover,
.wizard>.steps .current a:active {
  background: var(--web-brand-primary) !important;
  color: #fff !important;
  cursor: default !important;
}

/* Completed step — brand green */
.wizard>.steps .done a,
.wizard>.steps .done a:hover,
.wizard>.steps .done a:active {
  background: var(--web-brand-primary-600) !important;
  color: #fff !important;
  cursor: default !important;
}

/* Smart wizard variations */
.smartwizard .nav-tabs .nav-item.active > .nav-link {
  background: var(--web-brand-primary) !important;
  border-color: var(--web-brand-primary) !important;
  color: #fff !important;
}

.smartwizard .nav-tabs .nav-item > .nav-link:hover {
  background: rgba(34, 197, 94, 0.1) !important;
  border-color: var(--web-brand-primary-600) !important;
  color: var(--web-brand-primary-700) !important;
}
}
