/* =========================================================
   SAJA homepage — premium layer (Oct 2026)
   Loaded only on the homepage (index.blade.php @push styles).
   ========================================================= */
:root {
  --saja-navy: #062a52;
  --saja-gold: #f2b705;
}

/* ---------- Buttons ---------- */
.home-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 28px; border-radius: 999px;
  font-family: "Mukta", sans-serif; font-size: 16px; font-weight: 600; line-height: 1;
  border: 1.5px solid transparent; text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.home-btn--green { background: var(--saja-green); color: #fff !important; }
.home-btn--green:hover { background: var(--saja-green-dk); }
.home-btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff !important; }
.home-btn--ghost:hover { background: #fff; color: var(--saja-navy) !important; border-color: #fff; }
.home-btn--blue { background: var(--saja-blue); color: #fff !important; }
.home-btn--blue:hover { background: var(--saja-blue-dk); }

/* ---------- Hero ---------- */
#banner .banner__slides__item { height: 640px; }
#banner .banner__slides__item__image,
#banner .banner__slides__item__image-img { width: 100%; height: 100%; }
#banner .banner__slides__item::after {
  background:
    linear-gradient(0deg, rgba(6, 42, 82, .94) 0%, rgba(6, 42, 82, .55) 38%, rgba(6, 42, 82, .08) 72%),
    linear-gradient(90deg, rgba(6, 42, 82, .55) 0%, rgba(6, 42, 82, 0) 60%) !important;
}
#banner .absolute.vc { top: auto; bottom: 118px; transform: none; }
#banner .header__text { width: auto; max-width: 720px; padding: 0; }
#banner .header__text h3 {
  font-size: 58px; font-weight: 700; line-height: 1.12; max-width: none; margin: 0 0 14px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .2);
}
#banner .header__text p.home-hero__sub {
  font-family: "Mukta", sans-serif; font-size: 19px; font-weight: 400; line-height: 1.6;
  color: rgba(255, 255, 255, .9); max-width: 660px; margin: 0 0 26px;
}
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* arrows sat off-screen on wide screens; slides advance on their own */
#banner .banner__slides .owl-nav { display: none !important; }
#banner .owl-dots { bottom: 86px; }

/* ---------- Milestones (overlaps hero) ---------- */
.home-milestones { position: relative; z-index: 20; margin-top: -64px; }
.home-milestones__list {
  list-style: none; margin: 0; padding: 30px 36px 28px; position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(6, 42, 82, .14);
}
.home-milestones__list::before {
  content: ""; position: absolute; top: 35px; left: 70px; right: 36px; height: 1px;
  background: linear-gradient(90deg, var(--saja-gold), rgba(242, 183, 5, .25));
}
.home-milestones__list li { position: relative; display: flex; flex-direction: column; padding: 0 28px; }
.home-milestones__list li::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%; margin-bottom: 14px;
  background: var(--saja-gold); box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(242, 183, 5, .35);
}
.home-milestones__year { font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--saja-navy); }
.home-milestones__label { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--saja-text); }

/* ---------- Welcome ---------- */
.learning_part.principle_section:not(.index_about_us_section) { background: #fff; padding-top: 96px; }
.learning_part.principle_section:not(.index_about_us_section) .front-video-wrapp { position: relative; padding: 0 0 24px 24px; }
.learning_part.principle_section:not(.index_about_us_section) .front-video-wrapp::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 72%;
  background: var(--saja-gold); border-radius: 14px; z-index: 0;
}
.learning_part .about-img1 {
  position: relative; z-index: 1; aspect-ratio: 4 / 3; max-height: none;
  border-radius: 14px; box-shadow: 0 18px 44px rgba(6, 42, 82, .18);
}
.learning_part .welcome-title { font-size: 40px; line-height: 1.2; margin-bottom: 18px !important; }
.learning_part.principle_section:not(.index_about_us_section) .learning_member_text > p {
  max-height: 20em; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
          mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.learning_part.principle_section:not(.index_about_us_section) .btn_1 { display: inline-block; white-space: nowrap; margin-top: 4px; padding: 12px 28px; font-size: 16px; }

/* ---------- Activities + gallery ---------- */
.learning_part.index_about_us_section { background: var(--saja-soft) !important; }
.learning_part.principle_section + .learning_part.principle_section { padding-top: 88px; }
.index_about_us_section .notice__wrapp {
  border: 1px solid var(--saja-line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px;
  background: #fff; transition: border-color .2s ease;
}
.index_about_us_section .notice__wrapp:last-child { border-bottom: 1px solid var(--saja-line); }
.index_about_us_section .notice__wrapp:hover { border-color: var(--saja-blue); }
.index_about_us_section .ListDate__Box {
  background: var(--saja-blue) !important; color: #fff !important; border-radius: 10px;
  width: 58px; padding: 9px 0 7px; text-align: center !important;
}
.index_about_us_section .ListDate__Box .DateName { color: #fff !important; font-size: 24px !important; font-weight: 700; line-height: 1; }
.index_about_us_section .ListDate__Box .MonthName { color: rgba(255, 255, 255, .85); font-size: 13px !important; }
.index_about_us_section .ListDate__Box .MonthName__Box { margin: 3px 0 0; }
.index_about_us_section .greenDivider { display: none; }
.index_about_us_section .gallery__list-image { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--saja-line); }
.index_about_us_section .gallery__list-image img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s ease;
}
.index_about_us_section .gallery__list-image:hover img { transform: scale(1.04); }
.index_about_us_section .gallery__list-title h2 {
  display: block; background: none; color: var(--saja-ink); transform: none;
  font-size: 16px; font-weight: 600; padding: 0; border-radius: 0; margin: 10px 0 20px;
}

/* ---------- Testimonials ---------- */
.testimonial_part {
  background-color: var(--saja-navy);
  background-image: radial-gradient(circle at 85% 15%, rgba(0, 89, 169, .6), rgba(0, 89, 169, 0) 55%);
}
.testimonial_part .testimonial_slider_text { border-radius: 16px; padding: 34px 36px; }
.testimonial_part .testimonial_slider_text p { color: var(--saja-text); font-style: normal; }
.testimonial_part .testimonial_slider_text h4 { font-size: 20px; font-weight: 700; margin-top: 8px; }
.testimonial_part .testimonial_slider_img img { border-radius: 16px; box-shadow: 0 0 0 6px rgba(242, 183, 5, .35); }

/* ---------- Blog ---------- */
.blog_part .single-home-blog .btn_4 {
  background: none; color: var(--saja-blue) !important; padding: 0; font-weight: 600;
}
.blog_part .single-home-blog .btn_4:hover { color: var(--saja-blue-dk) !important; text-decoration: underline; }
.home-blog-more { text-align: center; margin-top: 8px; }

/* ---------- Join band ---------- */
.home-join { background: var(--saja-soft); padding: 0 0 96px; }
.home-join__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 50px 56px; border-radius: 20px; color: #fff;
  background-color: var(--saja-navy);
  background-image: radial-gradient(circle at 100% 0%, rgba(0, 89, 169, .7), rgba(0, 89, 169, 0) 60%);
}
.home-join__text h2 { color: #fff; font-size: 32px; font-weight: 700; margin: 0 0 8px; }
.home-join__text p { color: rgba(255, 255, 255, .82); font-size: 17px; line-height: 1.7; max-width: 560px; margin: 0; }
.home-join__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  #banner .banner__slides__item { height: 560px; }
  #banner .absolute.vc { bottom: 100px; }
  #banner .header__text h3 { font-size: 44px; }
  .home-milestones__list li { padding: 0 18px; }
  .home-milestones__year { font-size: 32px; }
  .home-join__inner { flex-direction: column; align-items: flex-start; padding: 40px 36px; }
}
@media (max-width: 767px) {
  #banner .banner__slides__item { height: 520px; }
  #banner .absolute.vc { bottom: 64px; }
  #banner .header__text h3 { font-size: 32px; }
  #banner .header__text p.home-hero__sub { font-size: 16px; margin-bottom: 20px; }
  #banner .owl-dots { bottom: 24px; }
  .home-btn { height: 46px; padding: 0 22px; font-size: 15px; }
  .home-milestones { margin-top: -28px; }
  .home-milestones__list { grid-template-columns: 1fr; padding: 22px 24px; gap: 18px; }
  .home-milestones__list::before { top: 30px; bottom: 30px; left: 29px; right: auto; width: 1px; height: auto;
    background: linear-gradient(180deg, var(--saja-gold), rgba(242, 183, 5, .25)); }
  .home-milestones__list li { padding: 0 0 0 28px; }
  .home-milestones__list li::before { position: absolute; left: 0; top: 4px; margin: 0; }
  .home-milestones__year { font-size: 28px; }
  .learning_part.principle_section:not(.index_about_us_section) { padding-top: 56px; }
  .learning_part .welcome-title { font-size: 30px; }
  .learning_part.principle_section + .learning_part.principle_section { padding-top: 56px; }
  .testimonial_part .testimonial_slider_text { padding: 24px; }
  .home-join { padding-bottom: 56px; }
  .home-join__inner { padding: 32px 24px; border-radius: 16px; }
  .home-join__text h2 { font-size: 26px; }
  .home-join__actions { width: 100%; flex-direction: column; }
  .home-join__actions .home-btn { width: 100%; }
}

/* ---------- Hero: show the whole photo (2026-10-30) ----------
   Slider photos are 1287x602. The hero now takes that shape instead of a fixed
   height, so nothing is cut off at the top/bottom (wide screens) or sides (phones). */
#banner .banner__slides__item { height: auto; aspect-ratio: 1287 / 602; }
/* dots sit just above the milestones card (needs this specificity to beat style.css) */
#banner .banner__slides .owl-dots { bottom: 86px; }
@media (max-width: 991px) {
  /* Photo is too short for the text on top: photo first, text in a navy panel below */
  #banner { background: var(--saja-navy); }
  #banner .banner__slides__item { aspect-ratio: auto; background: var(--saja-navy); }
  #banner .banner__slides__item::after { display: none; }
  #banner .banner__slides__item__image,
  #banner .banner__slides__item__image-img { height: auto; }
  #banner .absolute.vc { position: static; transform: none; }
  #banner .header__text { padding: 26px 0 108px; }
  #banner .header__text h3 { font-size: 32px; }
  #banner .banner__slides .owl-dots { bottom: 78px; }
}
@media (max-width: 767px) {
  #banner .header__text { padding: 20px 0 72px; }
  #banner .header__text h3 { font-size: 24px; margin-bottom: 10px; }
  #banner .banner__slides .owl-dots { bottom: 42px; }
}
