/*
 * MPS Sanskriti — modern playschool theme (design layer only)
 * Loaded after style.css and responsive.css. Only visual rules here:
 * colours, type, radius, shadows, spacing and fluid sizing.
 * No display/position changes to menus, sliders or scripted widgets.
 * Breakpoints: mobile <= 575px · tablet 576–991px · laptop 992–1279px · desktop >= 1280px
 */

@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700;800&family=Nunito:wght@400;600;700;800&display=swap");

:root {
  --ps-sky: #29b6f6;
  --ps-sun: #ffb020;
  --ps-pink: #ff5c8a;
  --ps-grass: #6cc66b;
  --ps-violet: #7c5cff;
  --ps-ink: #1f2a44;
  --ps-muted: #5b6b8a;
  --ps-paper: #fffdf7;
  --ps-card: #ffffff;
  --ps-radius-lg: 28px;
  --ps-radius: 18px;
  --ps-radius-sm: 12px;
  --ps-shadow: 0 10px 30px rgba(31, 42, 68, 0.10);
  --ps-shadow-hover: 0 18px 40px rgba(31, 42, 68, 0.18);
  --ps-gradient: linear-gradient(135deg, #29b6f6 0%, #7c5cff 55%, #ff5c8a 100%);
  --ps-fluid-h1: clamp(1.9rem, 1.2rem + 3vw, 3.4rem);
  --ps-fluid-h2: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  --ps-fluid-h3: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  --ps-fluid-body: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--ps-fluid-body);
  line-height: 1.65;
  color: var(--ps-ink);
  background: var(--ps-paper);
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; }
h1, h2, h3, h4, .title-hd, .slider-title { font-family: "Baloo 2", "Nunito", sans-serif; letter-spacing: -0.01em; color: var(--ps-ink); }
h1 { font-size: var(--ps-fluid-h1); line-height: 1.12; }
h2 { font-size: var(--ps-fluid-h2); line-height: 1.18; }
h3 { font-size: var(--ps-fluid-h3); line-height: 1.3; }
p { color: var(--ps-muted); }
a { transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ps-sun);
  outline-offset: 3px;
  border-radius: 6px;
}
.container { padding-left: 20px; padding-right: 20px; }

/* ---------- Header ---------- */
header {
  background: rgba(255, 253, 247, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 2px 0 rgba(31, 42, 68, 0.04), 0 8px 24px rgba(31, 42, 68, 0.06);
}
header .logo img { max-height: 64px; width: auto; }
header .header-contact ul li a,
header .header-contact a { color: var(--ps-muted); font-weight: 600; }
header .header-contact i { color: var(--ps-pink); }
header nav > ul > li > a,
header nav ul li a { font-family: "Baloo 2", sans-serif; font-weight: 700; color: var(--ps-ink); }
header nav > ul > li > a:hover { color: var(--ps-pink); }
header .cms-about-text a {
  border-radius: 999px !important;
  background: var(--ps-gradient);
  color: #fff !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.28);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
}
header .cms-about-text a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 92, 138, 0.32); }

/* ---------- Hero / slider ---------- */
.main-slider .slide-content .container { padding-top: 0; padding-bottom: 0; }
.main-slider .slider-title {
  font-size: var(--ps-fluid-h1);
  font-weight: 800;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6), 0 6px 24px rgba(31, 42, 68, 0.25);
}
.main-slider .slider-desc {
  color: #fff;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(31, 42, 68, 0.35);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.main-slider .item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 68, 0.05) 0%, rgba(31, 42, 68, 0.45) 100%);
  pointer-events: none;
}

/* ---------- Announcement strip ---------- */
.block .descp-sec {
  background: #fff;
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
  padding: 14px 20px;
  border-left: 6px solid var(--ps-sun);
}
.block .descp-sec { display: flex; align-items: center; gap: 14px; }
.block .descp-sec > .col-sm-2,
.block .descp-sec > .col-sm-10 { float: none !important; width: auto !important; padding: 0; }
.block .descp-sec > .col-sm-2 { flex: 0 0 auto; }
.block .descp-sec > .col-sm-2 .marquees { display: inline-block; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--ps-gradient); color: #fff !important; font-size: .95rem; }
.block .descp-sec > .col-sm-10 { flex: 1 1 0; min-width: 0; overflow: hidden; contain: paint; position: relative; padding-left: 18px; border-left: 2px solid #e6ebf5; }
.block .descp-sec marquee { overflow: hidden; }
.block .descp-sec h3 { font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.4; margin: 0; white-space: nowrap; }
.block .descp-sec marquee { display: block; width: 100%; }
/* announcement items alternate white/cyan inline; on a white strip they vanish, so use one readable colour */
.block .descp-sec marquee font { color: var(--ps-violet) !important; }
.marquees { color: var(--ps-pink); font-weight: 800; }

/* ---------- Section rhythm ---------- */
section { position: relative; }
.block, .block4, .block5, .block6 { padding-top: clamp(40px, 6vw, 90px); padding-bottom: clamp(40px, 6vw, 90px); }

/* Titles */
.title-hd, .heading h2, .heading h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: var(--ps-fluid-h2);
  font-weight: 800;
  margin-bottom: 12px;
}
.heading.clr span, .heading span { color: var(--ps-pink); }

/* ---------- Cards (bento style) ---------- */
.service-info, .price-table, .pricing-content, .facnybox-info, .testi-comment, .room-info, .cms-about-text, .blg-info, .widget, .home-gallery, .gallery-ms, .item.text-center {
  border-radius: var(--ps-radius);
}
.service-info, .price-table, .pricing-content, .facnybox-info, .room-info, .blg-info {
  background: var(--ps-card);
  box-shadow: var(--ps-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-info:hover, .price-table:hover, .pricing-content:hover, .facnybox-info:hover, .room-info:hover, .blg-info:hover {
  transform: translateY(-6px);
  box-shadow: var(--ps-shadow-hover);
}
.service-info, .room-info { overflow: hidden; }
.service-details, .facnybox-info, .room-info > a {
  font-family: "Nunito", sans-serif;
}
.more-info a, .room-info > a, .btn, .button, button.btn {
  border-radius: 999px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
}
.more-info a, .room-info > a {
  background: var(--ps-gradient);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.25);
  padding: 10px 24px;
  display: inline-block;
}
.more-info a:hover, .room-info > a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 92, 138, 0.3); }

/* Gallery tiles */
.home-gallery, .gallery-ms { overflow: hidden; box-shadow: var(--ps-shadow); }
.home-gallery img, .gallery-ms img, .fancyboxes-item img, .staff-carousel .slick-slide img {
  border-radius: var(--ps-radius);
  transition: transform .5s ease;
}
.home-gallery:hover img, .gallery-ms:hover img { transform: scale(1.06); }
.home-gallery img, .gallery-ms img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Testimonials */
.testi-comment {
  background: var(--ps-card);
  box-shadow: var(--ps-shadow);
  padding: clamp(18px, 2.5vw, 30px);
}
.tb-img img { border-radius: 50%; border: 4px solid #fff; box-shadow: var(--ps-shadow); }
/* Testimonial text was white inline on a white card; keep it readable */
.testi-comment p { color: var(--ps-muted) !important; }
.testi-comment span:not(.fa) { color: var(--ps-ink) !important; }
.testi-comment h3, .testi-comment h4 { color: var(--ps-ink) !important; }

/* Home: leadership / team cards (block6) */
.block6 { background: linear-gradient(180deg, #f3f8ff 0%, var(--ps-paper) 100%); }
.block6 .container-fluid { padding-left: 16px; padding-right: 16px; }
.block6 .pricing-tables { padding-top: 40px; }
.block6 .pricing-tables > .row { margin-left: -12px; margin-right: -12px; justify-content: center; }
.block6 .pricing-tables .row > .col {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 12px 48px;
}
.block6 .price-table {
  max-width: 380px;
  margin: 0 auto;
  padding: 84px 18px 26px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--ps-shadow);
  float: none;
}
.block6 .price-table .ico {
  width: 124px;
  height: 124px;
  margin-top: -62px;
  margin-bottom: 14px;
  padding: 5px;
  box-shadow: 0 8px 22px rgba(31, 42, 68, 0.18);
  background: linear-gradient(135deg, #29b6f6, #7c5cff);
  line-height: normal;
}
.block6 .price-table .ico img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid #fff; }
.block6 .price-table > h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ps-ink);
  margin-bottom: 6px;
  padding: 0 6px;
}
.block6 .price-table > span {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ps-pink);
  margin-bottom: 14px;
  padding: 0 6px;
}
.block6 .pricing-tables .row > .col { display: flex; }
.block6 .price-table { display: flex; flex-direction: column; height: 100%; width: 100%; }
.block6 .pricing-content {
  position: relative;
  height: auto;
  max-height: 168px;
  overflow: hidden;
  text-align: left;
  font-size: .95rem;
  line-height: 1.6;
  padding: 0 6px;
  margin-bottom: 14px;
}
.block6 .pricing-content::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 90%);
  pointer-events: none;
}
.block6 .pricing-content p { color: var(--ps-muted); margin-bottom: 8px; }
.block6 .more-info { text-align: center; margin-top: auto; }
.block6 .more-info a { font-size: .95rem; padding: 9px 22px; }
@media (min-width: 576px) {
  .block6 .pricing-tables .row > .col { flex-basis: 50%; max-width: 50%; }
}
@media (min-width: 992px) {
  .block6 .pricing-tables .row > .col { flex-basis: 25%; max-width: 25%; }
  .block6 .price-table { max-width: none; }
  .block6 .pricing-content { max-height: 190px; }
}

/* Icons & decorative bits */
.ico, .fa-star { color: var(--ps-sun); }
.fixed-bg { opacity: .35; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  width: 100%;
  border: 2px solid #e6ebf5;
  border-radius: var(--ps-radius-sm);
  padding: 12px 16px;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  color: var(--ps-ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--ps-sky); box-shadow: 0 0 0 4px rgba(41, 182, 246, 0.18); }

/* ---------- Footer ---------- */
.footer-data {
  background: linear-gradient(160deg, #1f2a44 0%, #2e3d6e 100%) !important;
  color: #e9eefc;
  position: relative;
  overflow: hidden;
}
.footer-data .widget p, .footer-data .widget a, .footer-data p { color: #e9eefc; }
/* One footer background only: the <footer> carries the colour, inner blocks stay transparent */
/* Footer: one solid brand purple, copyright bar included; footer logo hidden */
footer {
  background: #5e3a8c !important;
  background-image: none !important;
  color: #f3eefe;
}
footer .footer-data,
footer .footer-bottom,
footer .container {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #f3eefe;
}
/* The copyright bar is a sibling section outside <footer>, so it is styled directly */
.footer-bottom {
  background: #5e3a8c !important;
  background-image: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #f3eefe !important;
}
.footer-bottom *,
.footer-bottom .container,
.footer-bottom .row {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #f3eefe !important;
}
.footer-bottom .pull-right, .footer-bottom .text-right { display: none !important; }
.footer-bottom ul, .footer-bottom li, .footer-bottom li::before, .footer-bottom li::after,
.footer-bottom *::before, .footer-bottom *::after { display: none !important; content: none !important; background: transparent !important; }
.footer-bottom .footer-data { background: #5e3a8c !important; }
footer .fxlogo,
.fxlogo,
.footer-bottom img,
footer .footer-bottom img { display: none !important; }
/* Contact text carries inline text-align:justify from the content, which spaces words unevenly */
.footer-data p,
.footer-data .widget p[style] { text-align: left !important; line-height: 1.7; margin-bottom: 8px; }
.footer-data .widget a:hover { color: var(--ps-sun); }
.footer-data .widget-title, .footer-data .widget span {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  color: #fff;
  border-bottom: 3px solid var(--ps-sun);
  padding-bottom: 8px;
  display: inline-block;
  margin-bottom: 12px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: #c9d3ee;
  font-size: .95rem;
}
.footer-bottom a { color: var(--ps-sun); }
.footer-data .input-field input { border-radius: 999px; }

/* Social */
.footer-data .facebook, .footer-data .twitter, .footer-data .instagram, .footer-data .youtube {
  border-radius: 50%;
  transition: transform .2s ease;
}
.footer-data .facebook:hover, .footer-data .twitter:hover, .footer-data .instagram:hover, .footer-data .youtube:hover { transform: translateY(-3px) scale(1.06); }

/* Back to top */
.scrollTop {
  border-radius: 50%;
  background: var(--ps-gradient);
  box-shadow: var(--ps-shadow-hover);
  color: #fff;
}

/* ---------- Fluid grid rules (tablet/laptop/desktop) ---------- */

/* Mobile first: gutters and stacking */
@media (max-width: 575px) {
  :root { --ps-radius-lg: 22px; --ps-radius: 16px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .block, .block4, .block5, .block6 { padding-top: 36px; padding-bottom: 36px; }
  .block .descp-sec { padding: 12px 14px; }
  .main-slider .slider-title { font-size: 1.85rem; line-height: 1.15; }
  .main-slider .slider-desc { font-size: .95rem; }
  .service-info, .price-table, .pricing-content, .facnybox-info, .room-info { margin-bottom: 18px; }
  .home-gallery img, .gallery-ms img { border-radius: 14px; }
  header .logo img { max-height: 52px; }
  .footer-data .widget-title, .footer-data .widget span { font-size: 1.15rem; }
  .footer-bottom { text-align: center; }
  .footer-bottom .pull-right, .footer-bottom .text-right { float: none !important; text-align: center; display: block; margin-top: 8px; }
  .footer-data .col-lg-4, .footer-data .col-lg-8, .footer-data .col-md-6 { margin-bottom: 24px; }
  h1 { font-size: 1.9rem; }
  h2, .title-hd { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }
  .testi-comment { padding: 18px; }
}

/* Tablet (576–991px): two-up grids, larger touch targets */
@media (min-width: 576px) and (max-width: 991px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .block, .block4, .block5, .block6 { padding-top: 56px; padding-bottom: 56px; }
  .main-slider .slider-title { font-size: 2.6rem; }
  .service-info, .price-table, .pricing-content, .facnybox-info { margin-bottom: 24px; }
  .footer-data .widget { margin-bottom: 28px; }
  .footer-bottom .pull-right, .footer-bottom .text-right { float: none !important; text-align: center; }
  .footer-bottom { text-align: center; }
  .tb-img img { max-width: 100%; }
}

/* Laptop (992–1279px) */
@media (min-width: 992px) and (max-width: 1279px) {
  .container { max-width: 1040px; }
  .main-slider .slider-title { font-size: 3rem; }
  .block, .block4, .block5, .block6 { padding-top: 72px; padding-bottom: 72px; }
  .service-info, .price-table, .pricing-content, .facnybox-info { margin-bottom: 30px; }
}

/* Desktop (>= 1280px) */
@media (min-width: 1280px) {
  .container { max-width: 1200px; }
  .main-slider .slider-title { font-size: 3.6rem; }
  .block, .block4, .block5, .block6 { padding-top: 96px; padding-bottom: 96px; }
  .service-info, .price-table, .pricing-content, .facnybox-info { margin-bottom: 32px; }
}

/* Large desktop (>= 1600px): comfortable reading width */
@media (min-width: 1600px) {
  .container { max-width: 1320px; }
  body { font-size: 1.1rem; }
}

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

/* Contrast fixes (WCAG-friendly darker tones for small text on light backgrounds) */
.block5 h2 span, .block5 h3 span, .block5 .title-hd span { color: #0b7fb0 !important; }
.block6 .price-table > span { color: #b5234f !important; }
.our-services .service-info h3 { color: #4a7d24 !important; }
.block5 .facnybox-info p { color: #3f4d6b !important; }
.feature-services .tab-pane { text-shadow: 0 1px 2px rgba(31, 42, 68, 0.35); }
.feature-services .nav-tabs .nav-link { text-shadow: 0 1px 2px rgba(31, 42, 68, 0.3); }
.block4 .gallery-title, .block4 h2, .block4 h3 { text-shadow: 0 2px 12px rgba(31, 42, 68, 0.45); }
.block4 a { text-shadow: 0 1px 2px rgba(31, 42, 68, 0.35); }
.block4 a.nav-profile-tab { background-color: #0b7d96 !important; border-color: #0b7d96 !important; }
/* ===== Important Information: tabbed info panel (clean, responsive) ===== */
.our-features-sec { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.features-list-tab { margin-bottom: 26px; }
.features-list-tab .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  border: 0 !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.features-list-tab .nav-tabs > li { float: none; margin: 0; }
.features-list-tab .nav-tabs .nav-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px !important;
  border: 1px solid #e6ebf5 !important;
  background: #fff !important;
  color: var(--ps-ink) !important;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  text-shadow: none !important;
  box-shadow: 0 4px 12px rgba(31, 42, 68, 0.06);
}
.features-list-tab .nav-tabs .nav-link:hover,
.features-list-tab .nav-tabs .nav-link.active {
  background: var(--ps-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(124, 92, 255, 0.28);
}
@media (max-width: 767px) {
  .features-list-tab .nav-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 10px;
  }
  .features-list-tab .nav-tabs .nav-link { font-size: .95rem; padding: 9px 16px; }
}

.feature-services .tab-content { position: relative; }
.feature-services .tab-pane {
  height: auto !important;
  min-height: 0;
  background: #fff !important;
  border: 0 !important;
  border-radius: 24px;
  box-shadow: var(--ps-shadow);
  padding: clamp(22px, 3vw, 40px);
}
.feature-services .tab-pane .row { display: flex; flex-wrap: wrap; align-items: center; margin: 0 -12px; }
.feature-services .tab-pane .row > [class*="col-"] { padding: 0 12px; }
.feature-services .cws-inp-details h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  font-weight: 800;
  color: var(--ps-ink);
  margin: 0 0 14px;
  padding-bottom: 12px;
  position: relative;
}
.feature-services .cws-inp-details h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--ps-gradient);
}
.feature-services .cws-inp-details,
.feature-services .cws-inp-details p,
.feature-services .cws-inp-details span,
.feature-services .cws-inp-details div {
  color: var(--ps-muted) !important;
  text-shadow: none !important;
  font-size: var(--ps-fluid-body);
  line-height: 1.7;
}
.feature-services .cws-inp-details strong,
.feature-services .cws-inp-details b { color: var(--ps-ink) !important; }
.feature-services .cws-inp-details ol,
.feature-services .cws-inp-details ul { list-style: none; padding: 0; margin: 0; }
.feature-services .cws-inp-details li {
  position: relative;
  padding: 9px 0 9px 40px;
  border-bottom: 1px dashed #e6ebf5;
  color: var(--ps-ink) !important;
}
.feature-services .cws-inp-details li:last-child { border-bottom: 0; }
.feature-services .cws-inp-details li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ps-gradient);
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: .85rem;
  line-height: 26px;
  text-align: center;
}
.feature-services .cws-inp-details ol,
.feature-services .cws-inp-details ul { counter-reset: item; }
.feature-services .tb-img { margin-top: 0; }
.feature-services,
.feature-services .tab-content,
.feature-services .tab-pane { overflow: visible !important; height: auto !important; }
.feature-services .tab-pane .row { align-items: flex-start; }
.feature-services .tb-img { float: none; height: auto; }
.feature-services .tb-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 0;
  overflow: visible;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: var(--ps-shadow);
}
@media (max-width: 991px) {
  .feature-services .tab-pane .row > [class*="col-"] { width: 100%; max-width: 100%; flex: 0 0 100%; }
  .feature-services .tb-img { margin-top: 24px; }
}
@media (max-width: 575px) {
  .feature-services .tab-pane { padding: 20px 18px; border-radius: 20px; }
  .feature-services .cws-inp-details li { padding-left: 36px; }
}

/* Programs cards (our-services): equal height, centred */
.our-services .row { display: flex; flex-wrap: wrap; justify-content: center; }
.our-services .row > [class*="col-"] { display: flex; margin-bottom: 24px; }
.our-services .service-details { width: 100%; display: flex; flex-direction: column; align-items: center; }
.our-services .service-details > img { max-height: 170px; width: auto; }
.our-services .service-info { width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.our-services .service-info h3 { margin-bottom: 6px; }

/* Feature cards (block5): equal height columns */
.block5 .fancyboxes-item .row { display: flex; flex-wrap: wrap; }
.block5 .fancyboxes-item .row > [class*="col-"] { display: flex; margin-bottom: 20px; }
.block5 .facnybox-info { width: 100%; height: 100%; margin-bottom: 0; }
.block5 .facnybox-info p { margin-bottom: 0; }

/* Footer: keep headings clear of the fixed ECMS badge */
@media (max-width: 575px) {
  .footer-data { padding-left: 70px !important; }
}
@media (min-width: 576px) and (max-width: 991px) {
  .footer-data { padding-left: 88px !important; }
}

/* Fixed ECMS badge on the left edge: hidden on request */
.icon-bar { display: none !important; }

/* Fixed ECMS badge: smaller on phones so it doesn't cover content */
@media (max-width: 575px) {
  .icon-bar { width: 58px !important; }
  .icon-bar img { width: 50px !important; height: auto !important; }
}
@media (min-width: 576px) {
  .icon-bar { width: 80px !important; }
  .icon-bar img { width: 72px !important; height: auto !important; }
}

/* Dark-friendly minimum contrast for small screens */
@media (max-width: 575px) {
  .footer-data p, .footer-data .widget p { font-size: .95rem; }
}
