/* =========================================================
   SAJA site refresh — light design pass (Oct 2026)
   Loaded after style.css / mediaquery.css. Remove the <link>
   in front/layouts/_partials/header.blade.php to undo.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@400;500;600;700&display=swap');

:root {
  --saja-blue: #0059a9;
  --saja-blue-dk: #003f7a;
  --saja-green: #14a74f;
  --saja-green-dk: #0f8a40;
  --saja-ink: #1f2a37;
  --saja-text: #4a5563;
  --saja-soft: #f2f6fa;
  --saja-line: #dfe6ee;
}

/* ---------- Type: one family (Nepali + English) ---------- */
body, p, a, li, td, th, label, input, textarea, select,
h1, h2, h3, h4, h5, h6,
.nav-link, .dropdown-item, .btn_1, .btn_4, .form-btn {
  font-family: "Mukta", "Open Sans", sans-serif;
}
body { font-size: 16px; line-height: 1.7; color: var(--saja-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; }

/* ---------- Header ---------- */
.main_menu { box-shadow: 0 2px 14px rgba(0, 35, 75, .18); }
.main_menu .navbar-brand p { line-height: 1.25; letter-spacing: 0; }
.main_menu .main-menu-item ul li .nav-link { font-size: 15.5px; font-weight: 500; }
.main_menu .dropdown-menu { border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 35, 75, .14); padding: 6px 0; }
.main_menu .dropdown .dropdown-menu .dropdown-item { font-size: 15px; }
.main_menu .form-btn { font-weight: 600; padding: 4px 16px; }
/* site name was colliding with the menu on small laptops */
@media (min-width: 992px) and (max-width: 1199px) {
  .main_menu .navbar-brand p { font-size: 15px !important; white-space: nowrap; }
  .main_menu .navbar-brand img { max-height: 54px; width: auto; }
  .main_menu .nav-link { padding: 0 7px !important; font-size: 14.5px; }
}

/* ---------- Hero ---------- */
#banner .banner__slides__item { position: relative; }
#banner .banner__slides__item::after {
  content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 38, 77, .78) 0%, rgba(0, 38, 77, .45) 40%, rgba(0, 38, 77, 0) 70%) !important;
}
#banner .banner__slides__item .absolute.vc { z-index: 10; }
#banner .header__text h3, .banner__slides .header__text h3 {
  font-size: 46px; font-weight: 700; line-height: 1.2; color: #fff;
  max-width: 560px; text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.banner__slides .owl-nav button.owl-prev, .banner__slides .owl-nav button.owl-next { opacity: .75; }
.banner__slides .owl-nav button:hover { opacity: 1; }
@media (max-width: 767px) {
  #banner .header__text h3, .banner__slides .header__text h3 { font-size: 28px; }
}

/* ---------- Section rhythm ---------- */
.learning_part.principle_section { padding-top: 88px; padding-bottom: 88px; }
.learning_part.principle_section + .learning_part.principle_section { padding-top: 24px; }
.section_padding { padding-top: 84px; padding-bottom: 84px; }
@media (max-width: 767px) {
  .learning_part.principle_section, .section_padding { padding-top: 56px; padding-bottom: 56px; }
}
.section_tittle h2 { font-size: 34px; font-weight: 700; margin-bottom: 34px; }

/* ---------- Welcome / about ---------- */
.welcome-title { font-size: 34px; font-weight: 700; color: var(--saja-blue); }
.learning_member_text p { color: var(--saja-text); font-size: 16px; line-height: 1.8; text-align: left; }
.learning_part .front-video-wrapp { width: 100%; }
.about-img1 { display: block; width: 100%; max-width: 100%; height: auto; max-height: 460px; border-radius: 8px; object-fit: cover; }
.btn_1, .learning_part .learning_member_text .btn_1 {
  padding: 9px 24px; font-size: 15px; font-weight: 600; line-height: 1.4;
  transition: background-color .2s ease;
}
.btn_1:hover { background-color: var(--saja-green-dk); color: #fff; }

/* ---------- Activities + gallery ---------- */
h5.notice__text { font-size: 28px !important; font-weight: 700; margin-bottom: 18px; }
.notice__wrapp { padding-bottom: 14px; border-bottom: 1px solid var(--saja-line); }
.notice__wrapp:last-child { border-bottom: 0; }
.ListTitle { color: var(--saja-ink); font-weight: 600; font-size: 17px; line-height: 1.45; }
.ListTitle:hover { color: var(--saja-blue); }
.gallery__list-image img { border-radius: 6px; }

/* ---------- Testimonials ---------- */
.testimonial_part .testimonial_slider .testimonial_slider_text p { font-size: 18px; line-height: 1.8; }
/* decorative quote mark sat on top of the text */
.testimonial_slider_text::after {
  left: auto !important; right: 14px !important; top: -22px !important;
  width: 56px !important; height: 46px !important; background-size: contain !important; opacity: .22;
}

/* ---------- Blog ---------- */
.blog_part { background-image: none !important; background-color: var(--saja-soft); }
.blog_part .single-home-blog .card {
  border: 1px solid var(--saja-line); border-radius: 8px; overflow: hidden; background: #fff; height: 100%;
}
.blog_part .single-home-blog .card-img-top { height: 220px; object-fit: cover; border-radius: 0; }
.blog_part .single-home-blog .card-body { padding: 20px 22px 22px; }
.blog_part .single-home-blog .card h5.card-title { color: var(--saja-ink); font-size: 19px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.blog_part .single-home-blog a:hover .card-title { color: var(--saja-blue); }
.blog_part .single-home-blog .card-body p {
  color: var(--saja-text); font-size: 15px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Inner page banner ---------- */
section.breadcrumb { border-radius: 0; margin-bottom: 0; }
.breadcrumb .breadcrumb_inner .breadcrumb_inner_item h2 { font-weight: 700; }

/* ---------- Footer (saja-footer) ---------- */
.saja-footer {
  position: relative; color: rgba(255, 255, 255, .78); font-size: 15.5px; line-height: 1.7;
  background-color: #062a52;
  background-image: radial-gradient(circle at 0% 0%, rgba(0, 89, 169, .55), rgba(0, 89, 169, 0) 45%);
  border-top: 3px solid #f2b705;
}
.saja-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s ease; }
.saja-footer a:hover { color: #fff; }
.saja-footer .sf-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px;
  padding: 72px 0 56px;
}
.saja-footer .sf-brand__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.saja-footer .sf-brand__logo img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #fff; padding: 4px; }
.saja-footer .sf-brand__logo strong { display: block; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.3; }
.saja-footer .sf-brand__logo small { display: block; color: rgba(255, 255, 255, .65); font-size: 13px; margin-top: 2px; }
.saja-footer .sf-brand__text { color: rgba(255, 255, 255, .72); font-size: 15px; max-width: 340px; margin: 0 0 22px; }
.saja-footer .sf-social { display: flex; gap: 10px; }
.saja-footer .sf-social a {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 16px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.saja-footer .sf-social a:hover { background: #f2b705; border-color: #f2b705; color: #062a52; }
.saja-footer h4 {
  color: #fff; font-size: 17px; font-weight: 700; margin: 6px 0 18px; padding-bottom: 12px; position: relative;
}
.saja-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: #f2b705; }
.saja-footer ul { list-style: none; margin: 0; padding: 0; }
.saja-footer .sf-col li { margin-bottom: 10px; }
.saja-footer .sf-contact li { display: flex; gap: 12px; align-items: flex-start; }
.saja-footer .sf-contact i { width: 16px; flex: 0 0 16px; text-align: center; margin-top: 6px; color: #f2b705; }
.saja-footer .sf-contact a, .saja-footer .sf-contact span { word-break: break-word; }
.saja-footer .sf-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 14px; }
.saja-footer .sf-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; }
.saja-footer .sf-bottom p { margin: 0; color: rgba(255, 255, 255, .6); font-size: 14px; }
.saja-footer .sf-bottom a { color: #fff; font-weight: 600; }
@media (max-width: 991px) {
  .saja-footer .sf-grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; padding: 56px 0 40px; }
}
@media (max-width: 575px) {
  .saja-footer .sf-grid { grid-template-columns: 1fr; gap: 30px; }
  .saja-footer .sf-bottom .container { flex-direction: column; }
}

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, .btn_1:focus-visible {
  outline: 2px solid var(--saja-green); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  [data-sal] { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* ---------- Wider page container (2026-10-09) ---------- */
@media (min-width: 1200px) { .container { max-width: min(1320px, calc(100% - 64px)); } }
@media (min-width: 1600px) { .container { max-width: 1440px; } }

/* ---------- Committee / team photos: portrait frame so heads are not cut off (2026-10-30) ---------- */
.blog_part .team-list .single-home-blog .card-img-top {
  height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 15%;
}
