/*
 * Homepage component refinements.
 * These rules extend the original Boitekanelo/EduBlink theme without changing
 * navigation, routes, CMS content, or the hero structure.
 */

:root {
  --bc-navy: #1d347f;
  --bc-navy-dark: #071d43;
  --bc-green: #149b63;
  --bc-gold: #d7a62a;
  --bc-light: #f4f8f7;
  --bc-text: #17233c;
  --bc-muted: #647086;
  --bc-border: #dfe7ec;
  --bc-shadow-sm: 0 12px 32px rgba(18, 42, 74, 0.08);
  --bc-shadow-md: 0 20px 54px rgba(18, 42, 74, 0.12);
}

/* Graduate stories are college-wide content and are presented once on Home. */
.home-page .bc-home-graduates {
  padding: clamp(54px, 7vw, 88px) 0;
  overflow: hidden;
  background: transparent;
}

@media only screen and (min-width: 1200px) {
  .home-page .bc-home-graduates > .container {
    width: calc(100% - 60px);
    max-width: 1400px;
  }
}

.home-page .bc-home-graduates__header {
  max-width: 930px;
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}

.home-page .bc-home-graduates__header h2 {
  margin: 8px 0 0;
  color: var(--bc-navy-dark);
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.08;
}

.home-page .bc-home-graduates__title-mark {
  display: block;
  width: 100px;
  height: 5px;
  margin: 20px auto;
  border-radius: 999px;
  background: var(--bc-gold);
}

.home-page .bc-home-graduates__intro,
.home-page .bc-home-graduates__intro p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--bc-muted);
  font-size: 17px;
  line-height: 1.7;
}

.home-page .bc-home-graduates__navigation {
  display: flex;
  width: max-content;
  margin: 22px auto 0;
  align-items: center;
  gap: 14px;
}

.home-page .bc-home-graduates__position {
  min-width: 72px;
  color: var(--bc-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-page .bc-home-graduates__controls {
  display: flex;
  gap: 9px;
}

.home-page .bc-home-graduates__control {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 44, 110, 0.18);
  border-radius: 50%;
  color: var(--bc-navy);
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 31, 82, 0.08);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-page .bc-home-graduates__control:hover,
.home-page .bc-home-graduates__control:focus-visible {
  color: #fff;
  background: var(--bc-navy);
  transform: translateY(-2px);
}

.home-page .bc-home-graduates__control:disabled {
  border-color: rgba(20, 44, 110, 0.08);
  color: rgba(20, 44, 110, 0.28);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.home-page .bc-home-graduates__viewport {
  overflow-x: hidden;
  padding: 3px 3px 22px;
  background: transparent;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-page .bc-home-graduates__viewport::-webkit-scrollbar {
  display: none;
}

.home-page .bc-home-graduates__grid {
  display: grid;
  align-items: stretch;
  gap: 24px;
}

.home-page .bc-home-graduates__grid--static {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .bc-home-graduates__grid--count-1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 290px;
  margin-inline: auto;
}

.home-page .bc-home-graduates__grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 598px;
  margin-inline: auto;
}

.home-page .bc-home-graduates__grid--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 906px;
  margin-inline: auto;
}

.home-page .bc-home-graduates__grid--scroll {
  grid-auto-columns: calc((100% - 72px) / 4);
  grid-auto-flow: column;
  grid-template-rows: minmax(0, 1fr);
}

.home-page .bc-home-graduates__card {
  display: flex;
  width: 100%;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 44, 110, 0.11);
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
  color: inherit;
  font: inherit;
  scroll-snap-align: start;
  text-align: left;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.home-page .bc-home-graduates__card:hover,
.home-page .bc-home-graduates__card:focus-visible {
  outline: none;
  box-shadow: none;
  transform: translateY(-5px);
}

.home-page .bc-home-graduates__card:focus-visible {
  box-shadow: 0 0 0 4px rgba(20, 155, 99, 0.2);
}

.home-page .bc-home-graduates__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bc-navy), var(--bc-green));
}

.home-page .bc-home-graduates__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 350ms ease;
}

.home-page .bc-home-graduates__card:hover .bc-home-graduates__media img {
  transform: scale(1.035);
}

.home-page .bc-home-graduates__media > span {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 48px;
}

.home-page .bc-home-graduates__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px 18px 22px;
}

.home-page .bc-home-graduates__body small {
  color: var(--bc-green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .bc-home-graduates__body > strong {
  display: block;
  margin: 7px 0 0;
  color: var(--bc-navy-dark);
  font-size: clamp(19px, 1.4vw, 23px);
  font-weight: 850;
  line-height: 1.18;
}

.home-page .bc-home-graduates__summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 0;
  color: #6a778d;
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-page .bc-home-graduates__story-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 16px;
  color: #117f4b;
  font-size: 14px;
  font-weight: 850;
}

.home-page .bc-home-graduates__story-link i {
  transition: transform 180ms ease;
}

.home-page .bc-home-graduates__card:hover .bc-home-graduates__story-link i,
.home-page .bc-home-graduates__card:focus-visible .bc-home-graduates__story-link i {
  transform: translateX(4px);
}

@media only screen and (max-width: 1199px) {
  .home-page .bc-home-graduates__grid--static {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page .bc-home-graduates__grid--scroll {
    grid-auto-columns: calc((100% - 48px) / 3);
  }
}

@media only screen and (max-width: 767px) {
  .home-page .bc-home-graduates__grid--static {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .bc-home-graduates__grid--scroll {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media only screen and (max-width: 575px) {
  .home-page .bc-home-graduates__grid--static {
    grid-template-columns: 1fr;
  }

  .home-page .bc-home-graduates__grid--scroll {
    grid-auto-columns: min(86vw, 330px);
  }

  .home-page .bc-home-graduates__media {
    aspect-ratio: 4 / 3;
  }

  .home-page .bc-home-graduates__navigation {
    width: 100%;
    justify-content: space-between;
  }
}

/* Content-only graduate story popup; profile photos intentionally stay on cards. */
.home-page .bc-graduate-story-modal .modal-dialog {
  width: min(900px, calc(100vw - 34px));
  max-width: 900px;
}

.home-page .bc-managed-modal.bc-graduate-story-modal .modal-content {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  max-height: min(760px, calc(100vh - 34px)) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(4, 21, 57, 0.3);
}

.home-page .bc-graduate-story-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--bc-navy);
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 31, 82, 0.16);
}

.home-page .bc-graduate-story-modal__layout--content-only,
.home-page .bc-graduate-story-modal__layout--content-only .bc-graduate-story-modal__content {
  max-height: min(720px, calc(100vh - 34px));
}

.home-page .bc-graduate-story-modal__content {
  min-width: 0;
  overflow-y: auto;
  padding: clamp(38px, 5vw, 64px);
}

.home-page .bc-home-graduate-modal__eyebrow {
  color: var(--bc-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-page .bc-graduate-story-modal__content h3 {
  margin: 9px 58px 24px 0;
  color: var(--bc-navy-dark);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.home-page .bc-graduate-story-modal__programme {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 15px 17px;
  border-radius: 16px;
  color: var(--bc-navy);
  background: rgba(20, 155, 99, 0.08);
}

.home-page .bc-graduate-story-modal__programme > i {
  color: var(--bc-green);
  font-size: 22px;
}

.home-page .bc-graduate-story-modal__programme span {
  display: grid;
  gap: 2px;
}

.home-page .bc-graduate-story-modal__programme small,
.home-page .bc-graduate-story-modal__facts small {
  color: #718096;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .bc-graduate-story-modal__programme strong {
  font-size: 14px;
}

.home-page .bc-graduate-story-modal__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.home-page .bc-graduate-story-modal__facts > span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(20, 44, 110, 0.08);
  border-radius: 14px;
}

.home-page .bc-graduate-story-modal__facts strong {
  overflow-wrap: anywhere;
  color: var(--bc-navy);
  font-size: 13px;
}

.home-page .bc-graduate-story-modal__rating {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 16px;
  width: 100%;
  max-width: 430px;
  margin: 0 0 16px;
  padding: 18px 20px;
  border: 1px solid rgba(20, 44, 110, 0.08);
  border-radius: 18px;
  background: #f8fbfa;
}

.home-page .bc-graduate-story-modal__rating span {
  color: var(--bc-gold);
  font-size: 15px;
}

.home-page .bc-graduate-story-modal__rating strong {
  color: var(--bc-navy);
  font-size: 15px;
}

.home-page .bc-graduate-story-modal__rating small {
  grid-column: 1 / -1;
  color: #718096;
  font-size: 11px;
}

.home-page .bc-graduate-story-modal__section {
  margin-top: 28px;
}

.home-page .bc-graduate-story-modal__section h4 {
  margin: 0 0 10px;
  color: var(--bc-navy);
  font-size: 21px;
  font-weight: 850;
}

.home-page .bc-graduate-story-modal__story,
.home-page .bc-graduate-story-modal__story p,
.home-page .bc-graduate-story-modal__story li {
  color: #68758b;
  font-size: 15px;
  line-height: 1.75;
}

.home-page .bc-graduate-story-modal__story > :last-child {
  margin-bottom: 0;
}

.home-page .bc-graduate-story-modal__recommendation {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border-radius: 18px;
  background: #fff8dd;
}

.home-page .bc-graduate-story-modal__recommendation > span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--bc-navy);
  background: var(--bc-gold);
}

@media only screen and (max-width: 767px) {
  .home-page .bc-managed-modal.bc-graduate-story-modal .modal-content {
    overflow-y: auto;
  }

  .home-page .bc-graduate-story-modal__content {
    overflow: visible;
    padding: 34px 28px 42px;
  }

  .home-page .bc-graduate-story-modal__facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media only screen and (max-width: 575px) {
  .home-page .bc-graduate-story-modal .modal-dialog {
    width: calc(100vw - 18px);
    margin: 9px;
  }

  .home-page .bc-managed-modal.bc-graduate-story-modal .modal-content {
    max-height: calc(100vh - 18px) !important;
    border-radius: 20px;
  }
}

/* Give homepage content a little more room on wide screens without changing
   the original header, navigation or mobile container behaviour. */
@media only screen and (min-width: 1200px) {
  .home-page .advertisement-section > .container,
  .home-page .features-area-5 > .container,
  .home-page .edu-about-area.about-style-3 > .container,
  .home-page .edu-blog-area.blog-area-1 > .container,
  .home-page .edu-gallery-area > .container,
  .home-page .edu-faq-area.faq-style-3 > .container,
  .home-page .edu-brand-area.brand-area-1 > .container {
    max-width: 1280px;
  }
}

/* Compact CMS-managed announcement carousel */
.home-page .advertisement-section {
  position: relative;
  z-index: 4;
  margin: 0 !important;
  padding: 14px 0 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
}

@media only screen and (min-width: 1200px) {
  .home-page .advertisement-section {
    margin-top: -24px !important;
  }
}

.home-page .advertisement-section + .features-area-5 {
  padding-top: 34px !important;
}

/* Preserve a comfortable hand-off when the CMS has no active announcements. */
.home-page .hero-banner.hero-style-9 + .features-area-5 {
  padding-top: 42px !important;
}

.home-page .advertisement-section .announcement-section-header {
  display: flex;
  margin-bottom: 12px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.home-page .advertisement-section .announcement-kicker {
  display: inline-flex;
  margin-bottom: 4px;
  align-items: center;
  gap: 7px;
  color: var(--bc-green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-page .advertisement-section .announcement-kicker i {
  font-size: 16px;
  letter-spacing: 0;
}

.home-page .advertisement-section .announcement-section-header h2 {
  margin: 0;
  color: var(--bc-navy-dark);
  font-size: 22px;
  line-height: 1.25;
}

.home-page .advertisement-section .announcement-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-page .advertisement-section .custom-carousel-control {
  position: static;
  display: inline-flex;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bc-border);
  border-radius: 50%;
  color: var(--bc-navy);
  background: #ffffff;
  opacity: 1;
  filter: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.home-page .advertisement-section .custom-carousel-control i {
  font-size: 22px;
  line-height: 1;
}

.home-page .advertisement-section .custom-carousel-control:hover {
  border-color: var(--bc-navy);
  color: #ffffff;
  background: var(--bc-navy);
}

.home-page .advertisement-section .carousel-inner {
  min-height: 220px;
  overflow: hidden;
  border-radius: 16px;
}

.home-page .advertisement-section .ad-box {
  position: relative;
  display: flex;
  min-height: 220px;
  padding: 20px 26px 20px 30px !important;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  border-left: 5px solid var(--bc-green);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(18, 42, 74, 0.07);
  text-align: left !important;
}

.home-page .advertisement-section .ad-box::after {
  content: "";
  position: absolute;
  top: -42px;
  right: -24px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(20, 155, 99, 0.06);
  pointer-events: none;
}

.home-page .advertisement-section .announcement-meta {
  position: relative;
  z-index: 1;
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-page .advertisement-section .announcement-meta span {
  display: inline-flex;
  min-height: 28px;
  padding: 4px 10px;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  color: var(--bc-muted);
  background: var(--bc-light);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.home-page .advertisement-section .announcement-meta .announcement-type {
  color: var(--bc-green);
  background: rgba(20, 155, 99, 0.09);
}

.home-page .advertisement-section .announcement-meta i {
  font-size: 14px;
}

.home-page .advertisement-section .ad-box h3 {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 0 7px;
  color: var(--bc-navy-dark);
  font-size: 22px !important;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: left;
}

.home-page .advertisement-section .announcement-copy {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  color: var(--bc-muted);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

.home-page .advertisement-section .announcement-copy p,
.home-page .advertisement-section .announcement-copy ul,
.home-page .advertisement-section .announcement-copy ol {
  margin: 0 0 10px;
}

/* Preserve CMS paragraph structure and let the card grow with its content. */
.home-page .advertisement-section .announcement-copy > p {
  display: block;
  margin: 0 0 10px;
}

.home-page .advertisement-section .announcement-copy > :last-child {
  margin-bottom: 0;
}

.home-page .advertisement-section .announcement-copy a {
  color: var(--bc-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-page .advertisement-section .announcement-actions {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: auto;
  padding-top: 12px;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-page .advertisement-section .announcement-action {
  display: inline-flex;
  width: auto;
  min-height: 36px;
  margin: 0;
  padding: 7px 13px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(29, 52, 127, 0.32);
  border-radius: 8px;
  color: var(--bc-navy);
  background: #ffffff;
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.home-page .advertisement-section .announcement-action:hover {
  border-color: var(--bc-navy);
  color: #ffffff;
  background: var(--bc-navy);
}

.home-page .advertisement-section .announcement-action-file {
  border-color: rgba(20, 155, 99, 0.35);
  color: #08784b;
}

.home-page .advertisement-section .announcement-action i {
  font-size: 16px;
  line-height: 1;
}

.home-page .announcement-modal {
  z-index: 1120 !important;
  padding: 0 !important;
}

body.announcement-modal-open #chat-toggle,
body.announcement-modal-open #chat-box {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.home-page .announcement-modal .modal-dialog {
  width: min(96vw, 1500px);
  max-width: 1500px;
  height: calc(100vh - 32px);
  min-height: 0;
  margin: 16px auto;
}

.home-page .announcement-modal .modal-content {
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 0;
  height: 100%;
  max-height: none !important;
  margin: 0 !important;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(7, 29, 67, 0.3);
}

.home-page .announcement-modal .modal-header {
  flex: 0 0 auto;
  min-height: 64px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--bc-border);
}

.home-page .announcement-modal .modal-title {
  margin: 0;
  padding-right: 18px;
  color: var(--bc-navy-dark);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.3;
}

.home-page .announcement-modal .btn-close {
  flex: 0 0 auto;
  margin: 0;
  opacity: 0.75;
}

.home-page .announcement-modal .btn-close:hover,
.home-page .announcement-modal .btn-close:focus {
  opacity: 1;
}

.home-page .announcement-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px;
  overflow: auto;
  background: var(--bc-light);
}

.home-page .announcement-modal-file {
  display: flex;
  height: 100%;
  min-height: 520px;
  flex-direction: column;
}

.home-page .announcement-modal-file + .announcement-modal-file {
  height: 78vh;
  margin-top: 16px;
}

.home-page .announcement-modal-toolbar {
  display: flex;
  min-height: 42px;
  padding: 8px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--bc-border);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  color: var(--bc-text-muted);
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.home-page .announcement-modal-toolbar span,
.home-page .announcement-modal-toolbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-page .announcement-modal-toolbar a {
  color: var(--bc-navy);
  text-decoration: none;
}

.home-page .announcement-modal-toolbar a:hover {
  text-decoration: underline;
}

.home-page .announcement-modal-document,
.home-page .announcement-modal-image-wrap,
.home-page .announcement-modal-fallback {
  display: block;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 1px solid var(--bc-border);
  border-radius: 0 0 10px 10px;
  background: #ffffff;
}

.home-page .announcement-modal-document {
  height: 100%;
}

.home-page .announcement-modal-image-wrap {
  display: flex;
  padding: 12px;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.home-page .announcement-modal-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.home-page .announcement-modal-fallback {
  display: flex;
  padding: 32px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.home-page .announcement-modal-fallback > i {
  color: var(--bc-navy);
  font-size: 52px;
}

.home-page .announcement-modal-fallback p {
  margin: 0;
}

.home-page .announcement-modal-fallback a {
  padding: 9px 16px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--bc-navy);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 767px) {
  .home-page .announcement-modal .modal-dialog {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    margin: 8px auto;
  }

  .home-page .announcement-modal .modal-content {
    border-radius: 12px;
  }

  .home-page .announcement-modal .modal-header {
    min-height: 56px;
    padding: 10px 14px;
  }

  .home-page .announcement-modal .modal-title {
    font-size: 16px;
  }

  .home-page .announcement-modal .modal-body {
    padding: 8px;
  }

  .home-page .announcement-modal-file {
    min-height: 420px;
  }

  .home-page .announcement-modal-toolbar {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .advertisement-section .carousel-item {
    transition: none !important;
  }
}

/* Shared homepage rhythm and headings */
.home-page .section-title .pre-title {
  color: var(--bc-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-page .section-title .title {
  color: var(--bc-navy-dark);
  line-height: 1.15;
}

.home-page .section-title .shape-line {
  color: var(--bc-gold);
}

/* Compact hero call-to-action */
.home-page .hero-banner.hero-style-9 .slider-custom2 a {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(29, 52, 127, 0.18);
  font-size: 15px !important;
  font-weight: 600;
  line-height: 46px !important;
}

.home-page .hero-banner.hero-style-9 .slider-custom2 a:hover {
  box-shadow: 0 14px 30px rgba(29, 52, 127, 0.25);
  transform: translateY(-2px);
}

/* Statistics */
.home-page .features-area-5 {
  position: relative;
  z-index: 3;
  padding: 54px 0 52px !important;
  background: linear-gradient(180deg, #f7faf9 0%, #ffffff 100%);
}

.home-page .features-area-5 .row {
  align-items: stretch;
}

.home-page .features-area-5 [class*="col-"] {
  display: flex;
}

.home-page .features-area-5 .features-box {
  display: block;
  width: 100%;
  min-height: 190px;
  padding: 28px !important;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  border-top: 4px solid var(--bc-navy);
  border-radius: 18px;
  background: #ffffff !important;
  box-shadow: var(--bc-shadow-sm) !important;
  text-align: left;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.home-page .features-area-5 .features-box::after {
  content: "";
  display: table;
  clear: both;
}

.home-page .features-area-5 [class*="col-"]:nth-child(2) .features-box {
  border-top-color: var(--bc-green);
}

.home-page .features-area-5 [class*="col-"]:nth-child(3) .features-box {
  border-top-color: var(--bc-gold);
}

.home-page .features-area-5 .features-box:hover {
  box-shadow: var(--bc-shadow-md) !important;
  transform: translateY(-5px);
}

.home-page .features-area-5 .features-box .icon {
  display: flex;
  float: left;
  width: 72px;
  height: 72px;
  margin: 0 18px 10px 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  background: rgba(29, 52, 127, 0.08);
  box-shadow: none;
}

.home-page .features-area-5 [class*="col-"]:nth-child(2) .icon {
  background: rgba(20, 155, 99, 0.1);
}

.home-page .features-area-5 [class*="col-"]:nth-child(3) .icon {
  background: rgba(215, 166, 42, 0.12);
}

.home-page .features-area-5 .features-box .icon i {
  color: var(--bc-navy);
  font-size: 34px !important;
  line-height: 1;
}

.home-page .features-area-5 [class*="col-"]:nth-child(2) .icon i {
  color: var(--bc-green);
}

.home-page .features-area-5 [class*="col-"]:nth-child(3) .icon i {
  color: var(--bc-gold);
}

.home-page .features-area-5 .features-box .content {
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .features-area-5 .features-box .content .title {
  margin: 2px 0 8px;
  color: var(--bc-navy-dark);
  font-size: 21px;
  line-height: 1.25;
}

.home-page .features-area-5 .features-box .content p {
  margin: 0;
  color: var(--bc-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* About */
.home-page .edu-about-area.about-style-3 {
  padding: 56px 0 !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(20, 155, 99, 0.08), transparent 28%),
    #ffffff;
}

.home-page .about-style-3 .about-image-gallery {
  position: relative;
  padding: 22px 68px 52px 0;
}

.home-page .about-style-3 .about-image-gallery .main-img-1 {
  width: 82%;
  height: 455px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--bc-shadow-md);
}

.home-page .about-style-3 .about-image-gallery .main-img-2 {
  width: 50%;
  height: 260px;
  overflow: hidden;
  border: 8px solid #ffffff;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--bc-shadow-sm);
}

.home-page .about-style-3 .about-content {
  display: flex;
  padding: 38px !important;
  flex-direction: column;
  border: 1px solid var(--bc-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--bc-shadow-sm);
}

@media only screen and (min-width: 992px) {
  .home-page .about-style-3 .about-content {
    height: 540px;
  }
}

.home-page .about-style-3 .about-content .section-title {
  margin-bottom: 24px;
}

.home-page .about-style-3 .about-content .nav-tabs {
  display: flex;
  gap: 7px;
  margin: 0 0 24px;
  padding: 6px;
  flex-wrap: wrap;
  border-radius: 12px;
  background: #f1f5f6;
}

.home-page .about-style-3 .about-content .nav-tabs .nav-item {
  margin: 0;
}

.home-page .about-style-3 .about-content .nav-tabs .nav-item::after,
.home-page .about-style-3 .about-content .nav-tabs .nav-link::after {
  display: none;
}

.home-page .about-style-3 .about-content .nav-tabs .nav-link {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--bc-text);
  font-size: 14px;
}

.home-page .about-style-3 .about-content .nav-tabs .nav-link:hover,
.home-page .about-style-3 .about-content .nav-tabs .nav-link.active {
  color: #ffffff;
  background: var(--bc-navy);
  box-shadow: 0 6px 18px rgba(29, 52, 127, 0.18);
}

.home-page .about-style-3 .about-content .tab-content {
  min-height: 250px;
  flex: 1;
  color: var(--bc-muted);
  font-size: 16px;
  line-height: 1.75;
}

.home-page .about-style-3 .about-content .tab-content p:last-child {
  margin-bottom: 0;
}

.home-page .about-style-3 #about-values .features-list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  align-items: start;
}

.home-page .about-style-3 #about-values .features-list li {
  min-width: 0;
  margin: 0;
  padding: 0 0 0 34px;
  line-height: 1.45;
  text-align: left;
}

.home-page .about-style-3 #about-values .features-list li::before {
  top: 1px;
}

/* Events / news cards */
.home-page .edu-blog-area.blog-area-1 {
  padding: 68px 0 60px !important;
  background: #f4faf8;
}

.home-page .blog-area-1 .section-title {
  margin-bottom: 40px;
}

.home-page .bc-home-happening-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .bc-home-happening-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--bc-shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  flex-direction: column;
}

.home-page .bc-home-happening-card:hover {
  box-shadow: var(--bc-shadow-md);
  transform: translateY(-4px);
}

.home-page .bc-home-happening-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #edf4f7;
}

.home-page .bc-home-happening-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-page .bc-home-happening-card:hover .bc-home-happening-card__image img {
  transform: scale(1.035);
}

.home-page .bc-home-happening-card__body {
  display: flex;
  min-height: 330px;
  padding: 24px 24px 28px;
  flex: 1;
  flex-direction: column;
}

.home-page .bc-home-happening-card__badges {
  display: flex;
  margin-bottom: 22px;
  gap: 10px;
  flex-wrap: wrap;
}

.home-page .bc-home-happening-badge {
  display: inline-flex;
  min-height: 34px;
  padding: 7px 14px;
  align-items: center;
  border-radius: 999px;
  color: #8c6b00;
  background: #fff2bd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-page .bc-home-happening-badge--owner {
  color: #172b75;
  background: #edf3ff;
}

.home-page .bc-home-happening-card time {
  display: block;
  margin-bottom: 13px;
  color: #748198;
  font-size: 15px;
  line-height: 1.3;
}

.home-page .bc-home-happening-card h3 {
  display: -webkit-box;
  min-height: 70px;
  margin: 0 0 16px;
  overflow: hidden;
  color: #061f4f;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-page .bc-home-happening-card h3 a {
  color: inherit;
}

.home-page .bc-home-happening-card h3 a:hover {
  color: var(--bc-green);
}

.home-page .bc-home-happening-card p {
  display: -webkit-box;
  margin: 0 0 24px;
  overflow: hidden;
  color: var(--bc-muted);
  font-size: 16px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-page .bc-home-happening-card__link {
  display: inline-flex;
  margin-top: 10px;
  min-height: 34px;
  padding: 7px 12px;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  border: 1px solid rgba(23, 43, 117, 0.34);
  border-radius: 8px;
  color: var(--bc-navy);
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.home-page .bc-home-happening-card__link:hover {
  border-color: rgba(22, 160, 90, 0.6);
  color: var(--bc-green);
  background: #f3fbf7;
}

.home-page .bc-home-happening-card__link i {
  font-size: 12px;
}

.home-page .blog-area-1 .event-view-all-btn {
  margin-top: 30px;
}

.home-page .bc-home-happening-cta {
  display: flex;
  width: 100%;
  min-height: 56px;
  padding: 15px 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(23, 43, 117, 0.24);
  border-radius: 8px;
  color: var(--bc-navy);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(7, 23, 49, 0.06);
  /* font-size: 17px; */
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.home-page .bc-home-happening-cta:hover {
  border-color: rgba(22, 160, 90, 0.55);
  color: var(--bc-green);
  box-shadow: 0 18px 42px rgba(7, 23, 49, 0.1);
  transform: translateY(-2px);
}

/* Campus and facilities gallery */
.home-page .edu-gallery-area {
  position: relative;
  margin-top: 0 !important;
  padding: 40px 0 52px !important;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 96% 12%,
      rgba(215, 166, 42, 0.08),
      transparent 22%
    ),
    #ffffff;
}

.home-page .edu-gallery-area .section-title {
  margin-bottom: 26px;
}

.home-page .edu-gallery-area .isotop-button.button-transparent {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 34px;
  padding: 6px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  border: 1px solid var(--bc-border);
  border-radius: 999px;
  background: #f1f5f6;
}

.home-page .edu-gallery-area .isotop-button.button-transparent button {
  height: 42px;
  min-width: 92px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--bc-text);
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  text-transform: none;
  box-shadow: 0 3px 10px rgba(18, 42, 74, 0.05);
}

.home-page .edu-gallery-area .isotop-button.button-transparent button::after {
  display: none;
}

.home-page .edu-gallery-area .isotop-button.button-transparent button:hover,
.home-page
  .edu-gallery-area
  .isotop-button.button-transparent
  button.is-checked {
  border-color: var(--bc-navy);
  color: #ffffff;
  background: var(--bc-navy);
  box-shadow: 0 8px 18px rgba(29, 52, 127, 0.18);
}

.home-page .edu-gallery-area .gallery-grid-wrap {
  margin: -10px;
}

.home-page .edu-gallery-area .edu-gallery-grid {
  padding: 10px;
}

.home-page .edu-gallery-area .edu-gallery-grid .thumbnail {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  border-radius: 18px;
  background: var(--bc-light);
  box-shadow: var(--bc-shadow-sm);
}

.home-page .edu-gallery-area .edu-gallery-grid .thumbnail > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-page .edu-gallery-area .edu-gallery-grid .thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.home-page .edu-gallery-area .edu-gallery-grid .thumbnail::before {
  z-index: 1;
  border-radius: 17px;
  background: linear-gradient(
    180deg,
    rgba(7, 29, 67, 0.08),
    rgba(7, 29, 67, 0.7)
  );
}

.home-page .edu-gallery-area .edu-gallery-grid .zoom-icon {
  z-index: 2;
  width: 50px;
  height: 50px;
  line-height: 50px;
  color: var(--bc-navy);
  box-shadow: 0 12px 28px rgba(7, 29, 67, 0.24);
}

.home-page .edu-gallery-area .edu-gallery-grid:hover .thumbnail img {
  transform: scale(1.045);
}

/* FAQ */
.home-page .edu-faq-area.faq-style-3 {
  padding: 56px 0 64px !important;
  background:
    linear-gradient(135deg, rgba(29, 52, 127, 0.06), rgba(20, 155, 99, 0.06)),
    #f8fafc !important;
}

.home-page .faq-style-3 > .container > ul {
  display: flex;
  margin: 0 0 38px;
  align-items: flex-end;
  justify-content: space-between;
}

.home-page .faq-style-3 > .container > ul .section-title {
  margin: 0;
}

.home-page .faq-style-3 .course-view-all {
  margin: 0 !important;
}

.home-page .faq-style-3 .course-view-all .edu-btn {
  height: 46px !important;
  min-height: 46px;
  padding: 0 20px !important;
  border-radius: 8px;
  font-size: 14px;
  line-height: 46px !important;
}

.home-page .faq-style-3 .accordion-item {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  border-radius: 14px !important;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 42, 74, 0.06);
}

.home-page .faq-style-3 .accordion-button {
  padding: 20px 56px 20px 22px;
  color: var(--bc-navy-dark);
  background: #ffffff;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
}

.home-page .faq-style-3 .accordion-button:not(.collapsed) {
  color: #ffffff;
  background: var(--bc-navy);
  box-shadow: none;
}

.home-page .faq-style-3 .accordion-body {
  padding: 4px 22px 22px;
  color: var(--bc-muted);
  font-size: 15px;
  line-height: 1.7;
}

.home-page .faq-style-3 .edu-faq-gallery .thumbnail-1 {
  display: block;
  padding: 0;
  overflow: hidden;
  border: 8px solid #ffffff;
  border-radius: 22px;
  box-shadow: var(--bc-shadow-md);
}

.home-page .faq-style-3 .edu-faq-gallery .thumbnail-1 img {
  width: 100%;
  height: auto !important;
  border-radius: 15px;
  object-fit: contain;
}

/* Accreditation / brand area */
.home-page .edu-brand-area.brand-area-1 {
  padding: 64px 0 !important;
  background: #ffffff;
}

.home-page .brand-area-1 .row {
  align-items: center;
}

.home-page .brand-area-1 .brand-section-heading {
  padding-right: 38px;
}

.home-page .brand-area-1 .brand-section-heading p {
  margin: 18px 0 0;
  color: var(--bc-muted);
  font-size: 15px;
  line-height: 1.7;
}

.home-page .brand-area-1 .brand-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 34px;
  margin: 0 !important;
}

.home-page .brand-area-1 .brand-grid-wrap::after {
  display: none;
}

.home-page .brand-area-1 .brand-grid {
  display: flex;
  min-height: 0;
  margin: 0 !important;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.home-page .brand-area-1 .brand-grid:hover {
  box-shadow: none;
  transform: translateY(-4px);
}

.home-page .brand-area-1 .brand-grid img {
  width: min(100%, 210px);
  height: auto;
  max-width: 210px;
  max-height: none;
  object-fit: contain;
}

/* Subtle health and research accents for the lower homepage sections. */
@media only screen and (min-width: 992px) {
  .home-page .edu-about-area.about-style-3::after,
  .home-page .edu-blog-area.blog-area-1::before,
  .home-page .edu-faq-area.faq-style-3::before,
  .home-page .edu-brand-area.brand-area-1::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 160px;
    height: 160px;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.12;
  }

  .home-page .edu-about-area.about-style-3::after {
    top: 34px;
    right: -30px;
    background-image: url("../images/home/shape/shape-41.png");
  }

  .home-page .edu-blog-area.blog-area-1 {
    position: relative;
    overflow: hidden;
  }

  .home-page .edu-blog-area.blog-area-1::before {
    top: 72px;
    left: -58px;
    background-image: url("../images/home/shape/shape-25.png");
  }

  .home-page .edu-faq-area.faq-style-3::before {
    right: -42px;
    bottom: 36px;
    background-image: url("../images/home/shape/shape-13.png");
  }

  .home-page .edu-brand-area.brand-area-1 {
    position: relative;
    overflow: hidden;
  }

  .home-page .edu-brand-area.brand-area-1::after {
    top: 28px;
    right: 24px;
    width: 92px;
    height: 110px;
    background-image: url("../images/home/shape/icon-1.png");
    opacity: 0.1;
  }

  .home-page .edu-about-area.about-style-3 > .container,
  .home-page .edu-blog-area.blog-area-1 > .container,
  .home-page .edu-faq-area.faq-style-3 > .container,
  .home-page .edu-brand-area.brand-area-1 > .container {
    position: relative;
    z-index: 1;
  }
}

/* Public footer */
.edu-footer.bc-site-footer {
  background: var(--bc-navy-dark);
}

.edu-footer.bc-site-footer .footer-top {
  padding: 70px 0 54px;
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(20, 155, 99, 0.18),
      transparent 26%
    ),
    linear-gradient(135deg, #071d43, #0c2854);
}

.edu-footer.bc-site-footer .footer-top::before {
  display: none !important;
}

.edu-footer.bc-site-footer .footer-top .row {
  row-gap: 38px;
}

.edu-footer.bc-site-footer .footer-top [class*="col-"] {
  margin-top: 0 !important;
}

.edu-footer.bc-site-footer .edu-footer-widget .logo img {
  width: 122px !important;
  height: auto !important;
}

.edu-footer.bc-site-footer .edu-footer-widget .logo a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.edu-footer.bc-site-footer .edu-footer-widget .inner {
  margin-top: 22px;
}

.edu-footer.bc-site-footer .edu-footer-widget.explore-widget {
  margin-left: 30px;
}

.edu-footer.bc-site-footer .widget-title {
  margin: 0;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 700;
}

.edu-footer.bc-site-footer .widget-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--bc-green);
}

.edu-footer.bc-site-footer p,
.edu-footer.bc-site-footer li,
.edu-footer.bc-site-footer a {
  color: #d4deec !important;
}

.edu-footer.bc-site-footer .description {
  max-width: 390px;
  margin: 16px 0;
  font-size: 14px;
  margin-top: 12px !important;
  line-height: 1.7;
}

.edu-footer.bc-site-footer .information-list li {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.55;
}

.edu-footer.bc-site-footer .information-list li + li {
  margin-top: 8px;
}

.edu-footer.bc-site-footer .information-list li span {
  color: #ffffff;
  font-weight: 650;
}

.edu-footer.bc-site-footer a:hover,
.edu-footer.bc-site-footer .footer-link li:hover a {
  color: #73d4a8 !important;
}

.edu-footer.bc-site-footer .footer-link {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}

.edu-footer.bc-site-footer .footer-link li,
.edu-footer.bc-site-footer .footer-link li + li {
  margin: 0;
}

.edu-footer.bc-site-footer .footer-link li a {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.edu-footer.bc-site-footer .footer-link li a::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bc-green);
}

.edu-footer.bc-site-footer .footer-subscription-form {
  display: flex;
  margin-bottom: 0 !important;
  flex-wrap: nowrap;
}

.edu-footer.bc-site-footer .footer-subscription-form .form-control {
  min-width: 0;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
}

.edu-footer.bc-site-footer
  .footer-subscription-form
  .form-control::placeholder {
  color: #b9c6d8;
}

.edu-footer.bc-site-footer .footer-subscription-form button {
  height: 50px !important;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 9px !important;
  background: var(--bc-green);
  font-size: 14px;
  line-height: 1.2;
}

.edu-footer.bc-site-footer .social-share {
  gap: 9px;
}

.edu-footer.bc-site-footer .social-share li a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.edu-footer.bc-site-footer .social-share li a:hover {
  border-color: var(--bc-green);
  background: var(--bc-green);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.edu-footer.bc-site-footer .copyright-area {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #051633;
}

.edu-footer.bc-site-footer .copyright-area p {
  margin: 0;
  color: #b9c6d8 !important;
  font-size: 13px;
}

@media only screen and (max-width: 1199px) {
  .home-page .features-area-5 {
    padding: 48px 0 52px !important;
  }

  .home-page .features-area-5 .features-box {
    min-height: 175px;
    padding: 24px !important;
  }

  .home-page .features-area-5 .features-box .icon {
    width: 64px;
    height: 64px;
    margin-right: 16px;
  }

  .home-page .about-style-3 .about-content {
    padding: 30px !important;
  }

  .home-page .bc-home-happening-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edu-footer.bc-site-footer .edu-footer-widget.explore-widget {
    margin-left: 0;
  }
}

@media only screen and (max-width: 991px) {
  .home-page .features-area-5 [class*="col-"] {
    width: 100%;
  }

  .home-page .edu-about-area.about-style-3,
  .home-page .edu-blog-area.blog-area-1,
  .home-page .edu-faq-area.faq-style-3 {
    padding: 56px 0 !important;
  }

  .home-page .about-style-3 .about-image-gallery {
    max-width: 680px;
    margin: 0 auto;
    padding: 10px 70px 54px 0;
  }

  .home-page .faq-style-3 > .container > ul {
    align-items: center;
    flex-direction: column;
    gap: 22px;
    text-align: center;
  }

  .home-page .faq-style-3 .edu-faq-gallery {
    margin-top: 20px;
  }

  .home-page .brand-area-1 .brand-section-heading {
    margin-bottom: 34px;
    padding-right: 0;
    text-align: center;
  }

  .home-page .brand-area-1 .brand-grid-wrap {
    max-width: 720px;
    margin: 0 auto !important;
  }

  .edu-footer.bc-site-footer .footer-link {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 767px) {
  .home-page .advertisement-section {
    margin: 0 !important;
    padding: 14px 0 16px !important;
  }

  .home-page .advertisement-section + .features-area-5 {
    padding-top: 30px !important;
  }

  .home-page .hero-banner.hero-style-9 + .features-area-5 {
    padding-top: 32px !important;
  }

  .home-page .advertisement-section .announcement-section-header {
    margin-bottom: 10px;
    align-items: center;
  }

  .home-page .advertisement-section .announcement-section-header h2 {
    font-size: 18px;
  }

  .home-page .advertisement-section .announcement-kicker {
    font-size: 10px;
  }

  .home-page .advertisement-section .custom-carousel-control {
    width: 34px;
    height: 34px;
  }

  .home-page .advertisement-section .carousel-inner,
  .home-page .advertisement-section .ad-box {
    min-height: 250px;
  }

  .home-page .advertisement-section .ad-box {
    padding: 17px 18px 17px 20px !important;
    border-left-width: 4px;
    border-radius: 14px;
  }

  .home-page .advertisement-section .ad-box h3 {
    font-size: 18px !important;
  }

  .home-page .advertisement-section .announcement-copy {
    font-size: 13px;
    line-height: 1.6;
  }

  .home-page .advertisement-section .announcement-meta span {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .home-page .advertisement-section .announcement-actions {
    padding-top: 10px;
  }

  .home-page .advertisement-section .announcement-action {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .home-page .hero-banner.hero-style-9 .slider-custom2 a {
    display: flex !important;
    width: fit-content !important;
    height: 40px !important;
    min-height: 40px;
    margin: 14px auto 0 !important;
    padding: 0 14px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  .home-page .hero-banner.hero-style-9 .health-slider-mobile .slider-custom2 p {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .home-page .hero-banner.hero-style-9 .slider-custom2 a::after {
    content: "\2192";
    flex: 0 0 auto;
    font-family: Arial, sans-serif;
    line-height: 1;
  }

  .home-page .features-area-5 {
    padding: 38px 0 46px !important;
  }

  .home-page .features-area-5 .features-box {
    min-height: 0;
    padding: 22px !important;
  }

  .home-page .features-area-5 .features-box .icon {
    width: 58px;
    height: 58px;
    margin: 0 14px 8px 0;
    border-radius: 15px;
  }

  .home-page .features-area-5 .features-box .icon i {
    font-size: 29px !important;
  }

  .home-page .features-area-5 .features-box .content .title {
    font-size: 18px;
  }

  .home-page .edu-about-area.about-style-3,
  .home-page .edu-blog-area.blog-area-1,
  .home-page .edu-gallery-area,
  .home-page .edu-faq-area.faq-style-3,
  .home-page .edu-brand-area.brand-area-1 {
    padding: 46px 0 !important;
  }

  .home-page .edu-gallery-area .isotop-button.button-transparent {
    width: 100%;
    padding: 6px;
    border-radius: 16px;
  }

  .home-page .edu-gallery-area .isotop-button.button-transparent button {
    min-width: 0;
    padding: 0 14px;
    flex: 1 1 auto;
  }

  .home-page .edu-gallery-area .gallery-grid-wrap {
    margin: -6px;
  }

  .home-page .edu-gallery-area .edu-gallery-grid {
    padding: 6px;
  }

  .home-page .edu-gallery-area .edu-gallery-grid .thumbnail {
    border-radius: 14px;
  }

  .home-page .about-style-3 .about-image-gallery {
    padding: 0 42px 42px 0;
  }

  .home-page .about-style-3 .about-image-gallery .main-img-1 {
    width: 90%;
    height: 330px;
    border-radius: 18px;
  }

  .home-page .about-style-3 .about-image-gallery .main-img-2 {
    display: block;
    width: 52%;
    height: 185px;
    border-width: 6px;
    border-radius: 15px;
  }

  .home-page .about-style-3 .about-content {
    padding: 24px !important;
    border-radius: 18px;
  }

  .home-page .about-style-3 .about-content .nav-tabs {
    gap: 5px;
  }

  .home-page .about-style-3 .about-content .nav-tabs .nav-link {
    padding: 8px 10px;
    font-size: 13px;
  }

  .home-page .about-style-3 #about-values .features-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-page .bc-home-happening-grid {
    grid-template-columns: 1fr;
  }

  .home-page .bc-home-happening-card__body {
    min-height: 0;
    padding: 22px;
  }

  .home-page .bc-home-happening-card h3 {
    min-height: 0;
    font-size: 18px;
  }

  .home-page .bc-home-happening-cta {
    min-height: 54px;
    padding: 14px 18px;
    font-size: 15px;
  }

  .home-page .faq-style-3 .accordion-button {
    padding: 17px 50px 17px 18px;
    font-size: 15px;
  }

  .home-page .faq-style-3 .accordion-body {
    padding: 2px 18px 18px;
  }

  .home-page .faq-style-3 .edu-faq-gallery .thumbnail-1 img {
    height: auto !important;
  }

  /* Keep the portrait centred even before the scroll-animation observer runs. */
  .home-page .faq-style-3 .edu-faq-gallery .thumbnail-1 {
    opacity: 1 !important;
    transform: none !important;
  }

  .home-page .brand-area-1 .brand-grid-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-page .brand-area-1 .brand-grid {
    min-height: 0;
    padding: 8px 0;
  }

  .edu-footer.bc-site-footer .footer-top {
    padding: 54px 0 42px;
  }

  .edu-footer.bc-site-footer .footer-subscription-form {
    gap: 10px;
    flex-direction: column;
  }

  .edu-footer.bc-site-footer .footer-subscription-form .form-control,
  .edu-footer.bc-site-footer .footer-subscription-form button {
    width: 100%;
    margin: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .features-box,
  .home-page .edu-blog,
  .home-page .bc-home-happening-card,
  .home-page .bc-home-happening-cta,
  .home-page .brand-grid,
  .edu-footer.bc-site-footer a {
    transition: none !important;
  }
}
