/* Chiredzi Central Academy — 2026 visual refresh */
:root {
  --cca-navy: #0b2036;
  --cca-navy-2: #123552;
  --cca-blue: #1769c2;
  --cca-blue-bright: #2b82df;
  --cca-gold: #e1ad32;
  --cca-ink: #142437;
  --cca-copy: #4f6072;
  --cca-muted: #718096;
  --cca-surface: #f5f8fc;
  --cca-line: #dce5ef;
  --cca-white: #ffffff;
  --cca-shadow: 0 18px 45px rgba(11, 32, 54, 0.10);
  --cca-shadow-hover: 0 24px 60px rgba(11, 32, 54, 0.16);
  --cca-radius: 18px;
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  color: var(--cca-copy);
  background: var(--cca-white);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--cca-ink);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

p { color: inherit; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a:hover { text-decoration: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(43, 130, 223, .45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 99999;
  top: 12px;
  left: 12px;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--cca-gold);
  color: var(--cca-navy);
  font-weight: 800;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.auto-container { max-width: 1180px; }
.section-padding { padding: 96px 0; }
.welcome-section-padding { padding: 104px 0; }
.bg-gray, .bg-light { background: var(--cca-surface) !important; }
.bg-theme { background: var(--cca-blue) !important; }
.theme-color { color: var(--cca-blue) !important; }
.shadow, .shadow-sm { box-shadow: var(--cca-shadow) !important; }

/* Header */
.top-area {
  padding: 0;
  background: var(--cca-navy);
  border: 0;
}
.top-menu ul li a { margin-top: 0; line-height: 42px; }
.header-social ul li a { padding: 6px 12px; line-height: 30px; }
.top-area a, .top-area li, .top-area i { color: rgba(255,255,255,.86); }
.top-area a:hover { color: var(--cca-gold); }
.header-social ul li a { border: 0; }
.header-social ul li a:hover { transform: translateY(-2px); }

.logo-area {
  padding: 10px 0;
  background: #fff;
}
.logo-area .logo img { max-height: 92px; width: auto; }
.logo-area .header-info-box { margin-top: 9px; padding-left: 54px; }
.logo-area .header-info-box .header-info-icon {
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 12px;
  background: var(--cca-surface);
  color: var(--cca-blue);
}
.logo-area .header-info-box:hover .header-info-icon { background: var(--cca-blue); color: #fff; }
.logo-area .header-info-box h5 { margin-bottom: 3px; font-size: 15px; }
.logo-area .header-info-box p { color: var(--cca-muted); font-size: 14px; line-height: 1.4; }

.mainmenu-area, .mean-container .mean-bar { background: var(--cca-navy); }
.mainmenu-area .navbar { min-height: 64px; padding: 0; }
.mainmenu-area .navbar-nav { align-items: center; }
.mainmenu-area .navbar-nav .nav-link,
.mainmenu-area ul.navbar-nav li a {
  color: rgba(255,255,255,.88);
  padding: 21px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .035em;
}
.mainmenu-area ul.navbar-nav li a:before { background: transparent; }
.mainmenu-area .navbar-nav li.active:after {
  height: 3px;
  background: var(--cca-gold);
  bottom: 0;
}
.mainmenu-area .navbar-nav li.active,
.mainmenu-area .navbar-nav .active.nav-link { background: rgba(255,255,255,.05); color: #fff; }
.mainmenu-area .navbar-nav .nav-link:hover { color: var(--cca-gold); }
.mainmenu-area .navbar-nav li:nth-child(3) .nav-link {
  margin-left: 12px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--cca-gold);
  color: var(--cca-navy);
  box-shadow: 0 8px 22px rgba(225,173,50,.18);
}
.mainmenu-area .navbar-nav li:nth-child(3) .nav-link:hover { background: #f0c55e; transform: translateY(-1px); }
.mainmenu-area .navbar-nav li:nth-child(3).active:after { display: none; }
.is-sticky .mainmenu-area { box-shadow: 0 10px 30px rgba(11,32,54,.16); }

/* Hero */
.home-single-slide { height: 620px; background-position: center 34%; }
.home-single-slide-overlay {
  opacity: 1;
  background: linear-gradient(90deg, rgba(6,22,38,.92) 0%, rgba(8,30,51,.76) 46%, rgba(8,30,51,.18) 100%);
}
.home-single-slide-inner { vertical-align: middle; }
.home-single-slide-dec { position: relative; left: auto; bottom: auto; max-width: 790px; padding: 20px 0; transform: translateY(-28px); }
.home-single-slide-dec h4 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #f2c65f;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.home-single-slide-dec h4:before { content: ""; width: 34px; height: 2px; background: currentColor; }
.home-single-slide-dec h2 { max-width: 760px; margin: 0 0 18px; font-size: clamp(46px, 5.1vw, 68px); letter-spacing: -.045em; }
.home-single-slide-dec p { max-width: 650px; margin: 0; color: rgba(255,255,255,.86); font-size: 19px; line-height: 1.6; }
.slide-btn-one, .slide-btn-two, .about-us-into-btn-2, .con-btn, .news-btn, .thm-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: .035em;
  box-shadow: none;
}
.slide-btn-one { background: var(--cca-blue) !important; color: #fff !important; }
.slide-btn-two { border-color: rgba(255,255,255,.65) !important; background: var(--cca-navy) !important; color: #fff !important; backdrop-filter: blur(6px); }
.slide-btn-one:before, .slide-btn-two:before, .about-us-into-btn-2:before, .con-btn:before { display: none; }
.slide-btn-one:hover, .slide-btn-two:hover { background: var(--cca-gold) !important; border-color: var(--cca-gold) !important; color: var(--cca-navy) !important; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.home-slides.owl-carousel .owl-nav button.owl-next,
.home-slides.owl-carousel .owl-nav button.owl-prev { border-radius: 50%; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.home-slides.owl-carousel .owl-dots { bottom: 22px; }
.home-slides.owl-carousel .owl-dot span { width: 8px; height: 8px; background: rgba(255,255,255,.5); }
.home-slides.owl-carousel .owl-dot.active span { width: 28px; border-radius: 6px; background: var(--cca-gold); }

/* Content hierarchy */
.section-title { margin-bottom: 54px; }
.section-title h6, .about-wel-des > h6 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-title h2 { margin: 12px 0 18px; font-size: clamp(34px, 4vw, 46px); }
.section-title p { max-width: 690px; margin: 0 auto; color: var(--cca-copy); }
.section-title h2:after { background: var(--cca-gold); height: 3px; border-radius: 3px; }
.about-wel-des h1, .about-wel-des .h2 { font-size: clamp(35px, 4vw, 48px); }
.about-wel-des p { color: var(--cca-copy); }
.about-wel-des p b { color: var(--cca-ink); font-weight: 650; }
.about-wel-img-sec, .img-wrap { border-radius: var(--cca-radius); overflow: hidden; }
.about-wel-img-sec { box-shadow: var(--cca-shadow); }
.about-wel-img-sec img { width: 100%; min-height: 440px; object-fit: cover; }
.about-wel-img-sec:after { border-radius: var(--cca-radius); }
.about-wel-img-sec a { background: var(--cca-gold); color: var(--cca-navy); }
.about-us-into-btn-2, .con-btn { padding: 13px 27px; background: var(--cca-blue); color: #fff; }
.about-us-into-btn-2:hover, .con-btn:hover { background: var(--cca-navy); color: #fff; transform: translateY(-2px); }
.about-us-into-btn-icon { display: none; }

.single-service-item {
  height: 100%;
  padding: 38px 30px;
  border: 1px solid var(--cca-line);
  border-radius: var(--cca-radius);
  box-shadow: 0 8px 26px rgba(11,32,54,.06) !important;
  overflow: hidden;
}
.single-service-item:hover { border-color: rgba(23,105,194,.35); transform: translateY(-7px); box-shadow: var(--cca-shadow-hover) !important; }
.single-service-item .icon-holder .service-item-icon-bg {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(23,105,194,.1);
}
.single-service-item .icon-holder .service-item-icon-bg i:before { color: var(--cca-blue); }
.single-service-item:hover .icon-holder .service-item-icon-bg { background: var(--cca-blue); }
.single-service-item h4 { margin-top: 20px; font-size: 22px; }
.single-service-item p { color: var(--cca-copy); }
.single-service-item .service-item-text-holder a { color: var(--cca-blue); font-size: 13px; }
.single-service-item:hover .service-item-text-holder a { color: var(--cca-blue); }

.counter-padding { padding: 72px 0; }
.counter-section:before, .counter-padding:before { background: var(--cca-navy); opacity: .88; }
.counter-icon { color: var(--cca-gold); }
.counter-des h2 { font-size: 46px; }

.single-team-member { border-radius: var(--cca-radius); box-shadow: 0 10px 30px rgba(11,32,54,.09); overflow: hidden; }
.single-team-member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.single-team-member .single-team-member-content { background: #fff; }
.single-team-member .single-team-member-content:before { background: var(--cca-blue); }
.team-slides.owl-carousel.owl-theme .owl-dot.active span { background: var(--cca-blue); }

/* Teacher details stay readable without requiring hover. */
#team .team-slides .owl-stage { display: flex; }
#team .team-slides .owl-item { display: flex; height: auto; }
#team .single-team-wrapper { width: 100%; height: 100%; }
#team .single-team-member {
  display: flex;
  height: 100%;
  padding-bottom: 0;
  flex-direction: column;
  background: #fff;
  cursor: default;
  transition: transform .25s ease, box-shadow .25s ease;
}
#team .single-team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(11,32,54,.16);
}
#team .single-team-member .single-team-member-content {
  position: relative;
  bottom: auto;
  display: flex;
  min-height: 154px;
  padding: 20px 18px 22px;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  border-top: 4px solid var(--cca-gold);
  background: #fff;
}
#team .single-team-member .single-team-member-content:before { display: none; }
#team .single-team-member .single-team-member-text {
  position: relative;
  z-index: 2;
  color: var(--cca-ink);
}
#team .single-team-member .single-team-member-text h4 {
  margin: 0 0 10px;
  color: var(--cca-ink) !important;
  font-size: 21px;
  line-height: 1.2;
}
#team .single-team-member .single-team-member-text p {
  min-height: 48px;
  margin: 0;
  color: var(--cca-blue) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  opacity: 1 !important;
  visibility: visible !important;
}
#team .single-team-member .single-team-member-text p:before {
  content: "Teaches";
  display: block;
  margin-bottom: 4px;
  color: var(--cca-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
#team .single-team-member .single-team-member-social { display: none; }

.portfolio-sin-item { border-radius: 16px; box-shadow: 0 10px 30px rgba(11,32,54,.10); overflow: hidden; }
#galleryPage { overflow: hidden; }
#galleryPage .project-list, #galleryPage .gallery-carousel { max-width: 100%; overflow: hidden; }
.portfolio-sin-item img { aspect-ratio: 4 / 3; object-fit: cover; }
.portfolio-filter-menu ul li {
  margin: 5px 4px;
  padding: 8px 16px;
  border: 1px solid var(--cca-line);
  border-radius: 999px;
  color: var(--cca-copy);
  font-weight: 700;
}
.portfolio-filter-menu ul li.active, .portfolio-filter-menu ul li:hover { background: var(--cca-blue); border-color: var(--cca-blue); color: #fff; }

/* Modern full school gallery */
#galleryPage { background: linear-gradient(180deg, #fff 0%, #f5f8fc 100%); }
#galleryPage .section-title { margin-bottom: 38px; }
#galleryPage .section-title p { max-width: 760px; }
#galleryPage .portfolio-filter-menu { margin-bottom: 34px; }
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.gallery-filter {
  min-height: 46px;
  padding: 9px 16px;
  border: 1px solid var(--cca-line);
  border-radius: 999px;
  background: #fff;
  color: var(--cca-copy);
  font: 700 14px/1.2 "Segoe UI", Roboto, Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(11,32,54,.05);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gallery-filter span {
  display: inline-grid;
  min-width: 25px;
  height: 25px;
  margin-left: 7px;
  place-items: center;
  border-radius: 999px;
  background: var(--cca-surface);
  color: var(--cca-muted);
  font-size: 11px;
}
.gallery-filter:hover { border-color: var(--cca-blue); color: var(--cca-blue); transform: translateY(-2px); }
.gallery-filter.is-active { border-color: var(--cca-blue); background: var(--cca-blue); color: #fff; box-shadow: 0 9px 24px rgba(23,105,194,.22); }
.gallery-filter.is-active span { background: rgba(255,255,255,.18); color: #fff; }
.gallery-results { margin: 14px 0 0; color: var(--cca-muted); font-size: 13px; line-height: 1.5; }
.cca-gallery-grid { column-count: 4; column-gap: 18px; }
.gallery-photo {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  border-radius: 16px;
  background: var(--cca-navy);
  box-shadow: 0 10px 28px rgba(11,32,54,.12);
  break-inside: avoid;
  overflow: hidden;
  isolation: isolate;
}
.gallery-photo[hidden] { display: none !important; }
.gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 190px;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.65,.3,1), filter .3s ease;
}
.gallery-photo__shade {
  position: absolute;
  inset: 35% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(4,17,29,.88) 100%);
  opacity: .78;
  transition: opacity .25s ease;
}
.gallery-photo__caption {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 16px;
  left: 17px;
  display: flex;
  flex-direction: column;
  color: #fff;
  transform: translateY(6px);
  transition: transform .25s ease;
}
.gallery-photo__caption small { margin-bottom: 3px; color: #f1c45b; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.gallery-photo__caption strong { color: #fff; font-size: 16px; line-height: 1.25; }
.gallery-photo__open {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: rgba(8,29,49,.58);
  color: #fff;
  opacity: 0;
  transform: scale(.85);
  backdrop-filter: blur(8px);
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}
.gallery-photo:hover { box-shadow: 0 18px 42px rgba(11,32,54,.22); }
.gallery-photo:hover img { transform: scale(1.045); filter: saturate(1.06); }
.gallery-photo:hover .gallery-photo__shade { opacity: 1; }
.gallery-photo:hover .gallery-photo__caption { transform: translateY(0); }
.gallery-photo:hover .gallery-photo__open, .gallery-photo:focus-visible .gallery-photo__open { opacity: 1; transform: scale(1); }
.gallery-photo__open:hover { background: var(--cca-blue); }

/* Explicit readability safeguards for key content and actions */
#services .section-title h2,
#team .section-title h2,
#portfolio .section-title h2,
#blog .section-title h2,
#galleryPage .section-title h2,
#services .single-service-item h4,
#team .single-team-member h4 { color: var(--cca-ink) !important; opacity: 1 !important; visibility: visible !important; }
#services .section-title p,
#team .section-title p,
#portfolio .section-title p,
#blog .section-title p,
#services .single-service-item p { color: var(--cca-copy) !important; opacity: 1 !important; visibility: visible !important; }
.single-service-item .thm-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 44px;
  margin-top: 7px;
  padding: 10px 19px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cca-blue);
  border-radius: 999px;
  background: var(--cca-blue) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.single-service-item .thm-btn:before { display: none !important; }
.single-service-item:hover .thm-btn,
.single-service-item .thm-btn:hover { background: var(--cca-navy) !important; border-color: var(--cca-navy) !important; color: #fff !important; }
.theme-btn, .call-to-action-btn, .call-to-action-btn-2, .error-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 46px;
  padding: 11px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--cca-blue);
  color: #fff !important;
  font-weight: 750;
  line-height: 1.3;
}
.theme-btn:hover, .error-btn:hover { background: var(--cca-navy); color: #fff !important; }
.call-to-action-btn, .call-to-action-btn-2 { border-color: rgba(255,255,255,.55); background: #fff; color: var(--cca-blue) !important; }
.call-to-action-btn:hover, .call-to-action-btn-2:hover { border-color: var(--cca-gold); background: var(--cca-gold); color: var(--cca-navy) !important; }
.footer-widget-title h4 { color: #fff !important; opacity: 1; visibility: visible; }
.footer-widget-inner p, .footer-widget-inner li { color: rgba(255,255,255,.78) !important; }
.footer-widget-inner a { color: rgba(255,255,255,.88) !important; }
.footer-widget-inner a:hover { color: var(--cca-gold) !important; }
.copyright-text, .footer-menu ul li a { color: rgba(255,255,255,.76) !important; }
.copyright-text a { color: #f1c45b !important; }

.testimonial-inner, .faq-list .card {
  border-radius: var(--cca-radius);
  overflow: hidden;
}
.testimonial-wrapper .testimonial-inner .tes-quote i { color: var(--cca-gold); }
.faq-list .card { margin-bottom: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); }
.faq-list .card-header { border: 0; background: transparent; }

.blog-home-single { border-radius: var(--cca-radius); background: #fff; box-shadow: var(--cca-shadow); overflow: hidden; }
.blog-home-image img { width: 100%; max-height: 420px; object-fit: cover; }
.blog-home-des-wrap { padding: 8px 0 26px; }
.blog-home-content h4 a { color: var(--cca-ink); }

/* Inner pages */
.page-banner { height: 360px; background-position: center; }
.page-banner-overlay:before { opacity: 1; background: linear-gradient(90deg, rgba(8,29,49,.88), rgba(8,29,49,.55)); }
.page-banner-title { color: #fff; font-size: clamp(44px, 6vw, 64px); letter-spacing: -.04em; }
.page-banner-breadcrumb p { color: rgba(255,255,255,.82); }
.page-banner-breadcrumb p a { color: #f1c45b; }
.page-banner-shape { opacity: .25; }

.service-tab .nav-tabs .nav-link { border-radius: 14px; }
.service-tab .nav-tabs .nav-link.active { background: var(--cca-blue); color: #fff; }
.about-promo, .callto-action-padding { background: var(--cca-blue) !important; }

.address-box-wrap,
.contact-form-wrap,
.enrollment-form {
  border: 1px solid var(--cca-line);
  border-radius: var(--cca-radius);
  background: #fff;
  box-shadow: var(--cca-shadow);
}
.contact-form-wrap, .enrollment-form { padding: 38px; }
.enrollment-form .form-section + .form-section { margin-top: 34px; padding-top: 32px; border-top: 1px solid var(--cca-line); }
.enrollment-form .form-section h3 { margin-bottom: 22px; font-size: 23px; }
.enrollment-form .btn-secondary {
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--cca-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(23,105,194,.22);
}
.enrollment-form .btn-secondary:hover { background: var(--cca-navy); transform: translateY(-2px); }
.address-box-icon i { background: rgba(23,105,194,.1); color: var(--cca-blue); border-radius: 14px; }
.address-box-sin:hover .address-box-icon i { background: var(--cca-blue); }
.form-control, select.form-control {
  min-height: 52px;
  border: 1px solid #cfdbe7;
  border-radius: 10px;
  background: #fbfdff;
  color: var(--cca-ink);
}
textarea.form-control { min-height: 140px; }
.form-control:focus { border-color: var(--cca-blue); box-shadow: 0 0 0 4px rgba(23,105,194,.10); }
.contact-heading h2:after { background: var(--cca-gold); height: 3px; }
#gmap_canvas, .gmap_canvas { height: 460px; }

/* Newsletter and footer */
.hnewslettr-padding { padding: 58px 0; }
.hnewslettr-left h2 { color: #fff; }
.hnewslettr-left p { color: rgba(255,255,255,.82); }
.hnewslettr-form .form-control { height: 58px; border: 0; background: #fff; }
.hnewslettr-form .news-btn { border-radius: 999px; background: var(--cca-gold); color: var(--cca-navy); }
.hnewslettr-form .news-btn:hover { background: var(--cca-navy); color: #fff; }

#top-footer { padding: 76px 0 58px; }
#top-footer:before { background: var(--cca-navy); opacity: .95; }
.footer-widget-title h4 { color: #fff; font-size: 19px; }
.footer-widget-title h4:after { background: var(--cca-gold); }
.footer-widget-inner p, .footer-widget-inner li, .footer-widget-inner a { color: rgba(255,255,255,.7); }
.footer-widget-inner a:hover { color: var(--cca-gold); padding-left: 3px; }
.footer-section .logo img { max-height: 92px; width: auto; padding: 5px; border-radius: 12px; background: rgba(255,255,255,.92); }
.footer-social ul li a { border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.06); }
.footer-social ul li a:hover { background: var(--cca-gold); color: var(--cca-navy); }
#bottom-footer { padding: 20px 0; background: #071827 !important; }
.copyright-text, .footer-menu ul li a { color: rgba(255,255,255,.62); }
.copyright-text a, .footer-menu ul li a:hover { color: var(--cca-gold); }

#scrollUp, #topcontrol { border-radius: 50% !important; background: var(--cca-blue) !important; box-shadow: 0 8px 22px rgba(11,32,54,.25); }
.error-page-wrap .error-btn { border-radius: 999px; background: var(--cca-blue); color: #fff; box-shadow: 0 10px 24px rgba(23,105,194,.22); }
.error-page-wrap .error-btn:hover { background: var(--cca-navy); transform: translateY(-2px); }

/* News & Events */
.cca-news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.cca-news-filters button {
  border: 1px solid var(--cca-line);
  background: #fff;
  color: var(--cca-ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
}
.cca-news-filters button.active,
.cca-news-filters button:hover {
  background: var(--cca-navy);
  border-color: var(--cca-navy);
  color: #fff;
}
.cca-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  background: #fff;
  border: 1px solid var(--cca-line);
  border-radius: var(--cca-radius);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(11,32,54,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cca-news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23,105,194,.35);
  box-shadow: var(--cca-shadow-hover);
  color: inherit;
}
.cca-news-card-media {
  aspect-ratio: 16 / 10;
  background: var(--cca-surface);
  overflow: hidden;
}
.cca-news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cca-news-cover-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, var(--cca-navy), var(--cca-blue));
  color: rgba(255,255,255,.85);
  font-size: 42px;
}
.cca-news-card-body { padding: 22px 22px 26px; }
.cca-news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 12px;
  color: var(--cca-muted);
  font-size: 13px;
}
.cca-news-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(23,105,194,.1);
  color: var(--cca-blue);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cca-news-card-body h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}
.cca-news-card-body p {
  margin: 0;
  color: var(--cca-copy);
  font-size: 15px;
}
.cca-news-status, .cca-news-empty {
  text-align: center;
  color: var(--cca-muted);
  margin: 12px 0 28px;
}
.cca-news-detail-media {
  margin-bottom: 28px;
  border-radius: var(--cca-radius);
  overflow: hidden;
  background: var(--cca-surface);
}
.cca-news-detail-media img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.cca-news-detail-body {
  max-width: 760px;
  margin: 0 auto;
}
.cca-news-detail-body h1 {
  margin: 12px 0 16px;
  font-size: clamp(32px, 4vw, 44px);
}
.cca-news-event-meta {
  list-style: none;
  padding: 18px 20px;
  margin: 0 0 24px;
  border-left: 3px solid var(--cca-gold);
  background: var(--cca-surface);
  border-radius: 0 12px 12px 0;
}
.cca-news-event-meta li { margin: 0 0 6px; color: var(--cca-ink); }
.cca-news-event-meta li:last-child { margin-bottom: 0; }

/* Staff portal */
.cca-portal-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(43,130,223,.16), transparent 34%),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
  color: var(--cca-copy);
}
.cca-portal-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}
.cca-portal-card {
  background: #fff;
  border: 1px solid var(--cca-line);
  border-radius: 18px;
  box-shadow: var(--cca-shadow);
  padding: 28px;
}
.cca-portal-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.cca-portal-brand img { width: 56px; height: auto; }
.cca-portal-brand h1 {
  margin: 0;
  font-size: 24px;
}
.cca-portal-brand p { margin: 4px 0 0; color: var(--cca-muted); font-size: 14px; }
.cca-portal-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--cca-ink);
  font-weight: 700;
  font-size: 13px;
}
.cca-portal-form input,
.cca-portal-form select,
.cca-portal-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--cca-line);
  border-radius: 12px;
  background: #fff;
  color: var(--cca-ink);
}
.cca-portal-form input[type="file"] {
  padding: 10px;
  background: var(--cca-surface);
}
.cca-portal-form textarea { min-height: 160px; resize: vertical; }
.cca-portal-preview {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  justify-items: start;
}
.cca-portal-preview img {
  display: block;
  width: min(100%, 320px);
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--cca-line);
  background: var(--cca-surface);
}
.cca-portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cca-portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--cca-blue);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.cca-portal-btn:hover { background: var(--cca-navy); color: #fff; }
.cca-portal-btn.secondary { background: var(--cca-surface); color: var(--cca-ink); border: 1px solid var(--cca-line); }
.cca-portal-btn.danger { background: #b42318; }
.cca-portal-error, .cca-portal-note {
  margin: 0 0 14px;
  font-size: 14px;
}
.cca-portal-error { color: #b42318; }
.cca-portal-note { color: var(--cca-muted); }
.cca-portal-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
}
.cca-portal-list { display: grid; gap: 12px; }
.cca-portal-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--cca-line);
  border-radius: 14px;
  background: #fff;
}
.cca-portal-item h3 { margin: 0; font-size: 18px; }
.cca-portal-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--cca-muted);
  font-size: 13px;
}
.cca-portal-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .cca-portal-layout { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 991px) {
  .logo-area { padding: 14px 0; }
  .logo-area .logo img { max-height: 86px; }
  .logo-area .header-info-box { display: none; }
  .mean-container .mean-bar { min-height: 58px; padding: 0; }
  .mean-container a.meanmenu-reveal { width: 48px; height: 48px; padding: 15px 15px 10px; color: #fff; }
  .mean-container .mean-nav { margin-top: 58px; background: var(--cca-navy); }
  .mainmenu-area.mean-container .mean-nav ul.navbar-nav li a { padding: 15px 6%; color: rgba(255,255,255,.9); }
  .mainmenu-area .navbar-nav li:nth-child(3) .nav-link { margin: 0; border-radius: 0; background: transparent; color: rgba(255,255,255,.9); box-shadow: none; }
  .home-single-slide { height: 570px; }
  .home-single-slide-dec { padding: 30px 16px; transform: none; }
  .section-padding, .welcome-section-padding { padding: 76px 0; }
  .contact-form-wrap, .enrollment-form { padding: 28px; }
  .cca-gallery-grid { column-count: 3; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .top-area { display: none; }
  .logo-area .row > div:first-child { margin-bottom: 0 !important; padding-left: 15px !important; }
  .home-single-slide { height: 540px; background-position: 60% center; }
  .home-single-slide-overlay { background: linear-gradient(90deg, rgba(6,22,38,.94), rgba(8,30,51,.67)); }
  .home-single-slide-dec { left: auto; bottom: auto; text-align: left; }
  .home-single-slide-dec h2 { font-size: clamp(38px, 11vw, 52px); }
  .home-single-slide-dec p { font-size: 16px; }
  .home-single-slide-dec p br { display: none; }
  .home-single-slide-button a { margin: 0 7px 9px 0; }
  .slide-btn-one, .slide-btn-two { padding: 11px 17px; font-size: 12px; }
  .section-padding, .welcome-section-padding { padding: 64px 0; }
  .section-title { margin-bottom: 38px; }
  .about-wel-img-sec img { min-height: 320px; }
  .page-banner { height: 280px; }
  .page-banner-title { font-size: 42px; }
  .contact-form-wrap, .enrollment-form { padding: 22px 18px; }
  .hnewslettr-padding { padding: 46px 0; }
  #top-footer { padding: 60px 0 36px; }
  .copyright-text, .footer-menu { text-align: left; }
  .footer-menu ul li { margin: 0 14px 0 0; }
  .cca-gallery-grid { column-count: 2; column-gap: 12px; }
  .gallery-photo { margin-bottom: 12px; border-radius: 12px; }
  .gallery-photo img { min-height: 145px; }
  .gallery-photo__caption { right: 12px; bottom: 12px; left: 12px; }
  .gallery-photo__caption strong { font-size: 14px; }
  .gallery-photo__open { top: 10px; right: 10px; width: 34px; height: 34px; opacity: 1; }
  .gallery-filter-bar { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
  .gallery-filter { flex: 0 0 auto; }
}

@media (max-width: 420px) {
  .cca-gallery-grid { column-count: 1; }
  .gallery-photo img { min-height: 220px; }
}
