/* Fonts */
@font-face {
  font-family: 'bahnschrift';
  src: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/fonts/bahnschrift.ttf');
}
@font-face {
  font-family: 'archivo';
  src: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/fonts/Archivo-Regular.ttf');
}
/* Base Styles */
a {
  text-decoration: none !important; /* removes underline from all links */
}
a:hover {
  text-decoration: none !important; /* ensures hover state also has no underline */
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: archivo;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
}
p {
  font-size: 18px;
}
header {
  background-color: #00305e;
  color: white;
  text-align: center;
}
footer {
  text-align: center;
  padding: 10px 0;
  background-color: #ffffff;
  color: #00305e;
  position: relative;
  bottom: 0;
  width: 100%;
}
.full-width-padding {
  padding: 0px 4vw !important;
}
#ceo {
  scroll-margin-top: 250px;
}
#resources {
  scroll-margin-top: 100px;
}
/* Hero Banner Section */
.hero-section {
  position: relative;
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/hero-banner-new.png') center center/cover no-repeat;
  color: white;
  height: clamp(500px, 110vh, 1600px);
  display: flex;
  justify-content: center;
  z-index: 1;
  background-attachment: fixed;
}
.hero-arrow {
  width: clamp(20px, 3vw, 50px);
}
.hero-arrow-col {
  margin-left: 20px;
  width: auto;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 48, 94, 1), rgba(0, 0, 0, 0));
}
.hero-content {
  margin-top: 5rem;
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-family: bahnschrift;
  font-weight: bold;
  font-size: clamp(35px, 11vh, 120px);
  margin: 0;
}
.hero-content h5 {
  font-family: bahnschrift;
  font-size: clamp(14px, 1.2vw, 19px);
  margin: 0;
}
.hero-content p {
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
  margin: 0;
}
/* Below Hero Section */
.below-hero-section {
  position: relative;
  height: clamp(500px, 100vh, 800px);
  overflow: visible;
  margin-top: -300px;
}
/* Bottom parallax image with clip-path */
.below-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #b0d3b6; /* background color */
  background-image: url('../images/pohaku.png');
  background-repeat: no-repeat;
  background-position: center -300%;
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
}
/* Overlay pattern*/
.below-hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%); /* same as background */
}
/* Content */
.below-hero-content {
  position: relative;
  z-index: 3; /* above both pseudo-elements */
  margin-top: -200px;
  padding-top: 150px;
}
.eola {
  position: relative;
  z-index: 4; /* above content */
  margin-top: -120px;
  width: clamp(250px, 50vw, 350px);
}
/* Headings */
.below-hero-content h2, .below-hero-content h3, .below-hero-content h4 {
  font-family: bahnschrift;
  font-weight: bold;
  color: #00305e;
}
.below-hero-content h3 {
  font-size: clamp(1.25rem, 1vw + 1rem, 1.7rem);
}
.below-hero-content h4 {
  font-size: clamp(1rem, 0.8vw + 0.8rem, 1.5rem);
  color: black;
}
/* Vertical Divider */
.vertical-divider {
  position: relative;
  width: 20px;
  height: clamp(250px, 50vh, 400px);
  margin: 0 auto;
}
.vertical-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: calc(100% - 20px);
  background: rgba(0, 100, 150, 0.4);
  transform: translateX(-50%);
}
.vertical-divider img {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
}
/* Buttons */
.btn-outline-primary {
  border-color: #00305e !important;
  color: #00305e !important;
}
.btn-outline-primary:hover {
  background-color: #00305e !important;
  color: white !important;
}
.btn-new {
  background-color: #ea5329 !important;
  color: white !important;
}
.btn-new:hover {
  background-color: #ea8728 !important;
}
/* Aloha Section */
.aloha-section {
  position: relative;
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/side-accent-niho.png') no-repeat;
  background-size: contain;
  height: clamp(700px, 100vh, 1000px);
  display: flex;
  z-index: 5;
}
@media only screen and (max-width:991px) {
  .aloha-content {
    margin-top: 300px;
  }
  .aloha-section {
    height: auto;
  }
}
.aloha-content .row {
  margin-top: clamp(-150px, -50vh, -20px);
}
.trustee-photo {
  width: auto;
  height: auto;
  border-top: 10px solid #00305e;
  max-height: 450px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.aloha-content h2 {
  font-family: bahnschrift;
  font-weight: bold;
  font-size: clamp(1rem, 2.2vw + .05rem, 2.2rem);
  color: #00305e;
}
@media only screen and (max-width: 768px) {
  .jackwong img {
    border: 0.5rem solid #c1d496;
    width: 150px !important;
    height: 150px !important;
    margin: -4rem 3rem 0 3rem;
    z-index: 999;
  }
}
.jackwong img {
  border: 0.5rem solid #c1d496;
  width: 250px;
  height: 250px;
  margin: -4rem 3rem 0 3rem;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.quote-icon img {
  width: 50px;
  height: 50px;
  margin-right: 5px;
  margin-left: 20px;
}
.quote-content {
  margin-top: 1.5rem;
}
.quote {
  border-left: 3px solid #00305e;
}
/* Nā Moʻolelo o 2025 Section */
.na-moolelo-section {
  position: relative;
  min-height: 750px;
  display: flex;
  align-items: center;
  z-index: 3;
  /* Background: gradient + image */
  background:
    linear-gradient(to right, #ea5329 0%, /* fully solid at start */ rgba(234, 83, 41, 1) 30%, /* still strong */ rgba(234, 83, 41, 0.80) 50%, /* starting to fade */ rgba(234, 83, 41, 0.50) 100% /* slightly transparent at end */
    ), url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/Na-moolelo-background.png');
  background-size: cover;
  background-position: 75% 80%;
  background-attachment: fixed;
  /* Slanted top */
  clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 100%);
}
@media only screen and (min-width: 1024px) {
  .na-moolelo-section {
    margin-top: -200px;
  }
}
.na-moolelo-section h2 {
  font-family: bahnschrift;
  font-size: clamp(4rem, 3.5vw + 2rem, 8rem);
  color: white;
}
/* Stories Section */
@media only screen and (max-width: 991px) {
  .stories-section .container {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
.stories-container .stories-section .stories-content .row > .col h3 {
  font-size: clamp(19px, 2vw, 28px) !important;
  line-height: 1.2;
  align-items: center;
  gap: 0.5rem;
  color: white;
}
.stories-container .stories-section .stories-content .row > .col h3 img {
  width: auto;
  height: 1em; /* scale with text */
}
@media (max-width: 767px) {
  .card2 h3 {
    color: #33a58e !important; /* Change to your desired color */
  }
  .card3 h3 {
    color: #e6b277 !important; /* Change to your desired color */
  }
}
.stories-container {
  margin-bottom: 150px;
}
.stories-section {
  position: relative;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 80%, /* transparent until halfway */ rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 1) 100% /* white starts abruptly */
    ), url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/pattern-pohaku-fade.png') center/cover;
  height: auto;
  align-items: center;
}
.stories-content {
  margin-top: -200px;
}
.custom-card {
  background-color: transparent !important;
  border: none;
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  z-index: 6;
}
.custom-card img {
  width: 100%;
  height: auto;
  display: block;
}
.stories-section .card-body {
  display: block !important;
  color: white;
  padding: 20px;
}
.stories-section .card {
  display: block !important;
  border: 0 !important;
}
.blue-bg {
  background-color: #2f70b8;
}
.green-bg {
  background-color: #32a48d;
}
.brown-bg {
  background-color: #aa6116;
}
.card-category {
  font-family: bahnschrift;
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
  text-transform: uppercase;
  color: black;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}
/* Consolidated card-title rules but preserved original intent */
.card-title {
  font-family: bahnschrift;
  font-weight: bold;
  line-height: 1.4;
  min-height: 3.6rem;
  margin-bottom: 0.75rem;
}
.card1 {
  margin-top: 3rem;
  z-index: 6;
}
.card2 {
  z-index: 6;
}
.card3 {
  margin-top: 3.5rem;
  z-index: 6;
}
/* Resources Section */
.resources-section {
  position: relative;
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/side-accent-niho.png') no-repeat right;
  height: clamp(500px, 100vw, 800px);
  align-items: center;
  margin-bottom: 300px;
}
.resources-content h2 {
  font-family: bahnschrift;
  font-weight: bold;
  font-size: clamp(2.5rem, 2.5vw + 1.5rem, 5rem);
  color: #00305e;
}
.tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  z-index: 5;
  cursor: pointer;
}
.left-arrow {
  left: -30px;
}
.right-arrow {
  right: -30px;
}
.arrow-icon {
  width: 40px;
  height: auto;
  transition: opacity 0.3s ease;
}
.arrow-icon:hover {
  opacity: 0.7;
}
.resources-section .btn-white {
  background-color: #fff !important;
  border: none !important;
  color: #000;
  box-shadow: none !important;
}
.nav-pills .nav-link {
  background-color: #f0f0f0;
  color: #00305e;
  border: 1px solid #00305e;
  margin: 5px;
}
.nav-pills .nav-link:hover, .nav-pills .nav-link.active {
  background-color: #ea5329 !important;
  color: #fff;
  border: 0;
}
/* Review Section */
.review-container {
  height: clamp(1000px, 150vh, 1100px);
}
.review-section {
  position: relative;
  height: 700px;
  display: flex;
  align-items: center;
}
.review-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: inherit;
  background:
    linear-gradient(to right, rgba(48, 113, 184, 0.50) 0%, rgba(48, 113, 184, 0.80) 50%, rgba(48, 113, 184, 1) 90%, #3071b8 100%), url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/review-background.png');
  background-size: cover;
  background-attachment: fixed;
  clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 100%);
}
.review-section h2 {
  font-family: bahnschrift;
  font-size: clamp(2rem, 3.5vw + 2rem, 4.3rem);
}
.review-section p {
  font-family: bahnschrift;
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
}
.review-content {
  margin-top: 25%;
}
/* Carousel */
.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.carousel-inner img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}
/* Position custom arrow images */
.carousel-control-prev, .carousel-control-next {
  opacity: 1 !important;
  background: none !important;
}
.carousel-arrow {
  width: 45px;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  opacity: 1 !important;
}
@media only screen and (max-width:767px) {
  .left-arrow {
    left: 0px;
  }
  .right-arrow {
    right: 0px;
  }
}
@media only screen and (min-width:768px) {
  .left-arrow {
    left: -30px;
  }
  .right-arrow {
    right: -30px;
  }
}
@media only screen and (max-width:991px) {
  .left-arrow {
    left: 0px;
  }
  .right-arrow {
    right: 0px;
  }
  .carousel-item p {
    color: white;
  }
}
.carousel-caption-custom {
  color: #333;
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
  max-width: 800px;
  margin: 20px auto 0;
}
.carousel-indicators {
  position: static !important;
}
.carousel-indicators li {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: #bbb !important;
  margin: 0 6px !important;
}
.carousel-indicators .active {
  background-color: #e63946 !important;
}
/* Strategic Section*/
.strategic-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  margin-bottom: 100px;
}
.strategic-title {
  position: relative;
  background-color: #00305e;
  color: white;
  width: clamp(200px, 20vw + 80px, 400px);
  z-index: 5;
}
.strategic-title h2 {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 2rem);
  margin: 0;
}
.strategic-image {
  position: relative;
  margin-top: -100px;
  z-index: 1; /* behind the title */
}
.strategic-content {
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/strategic-plan-background.png');
  background-repeat: no-repeat;
  background-position: 65% 80%;
  background-size: 50% auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.plan-title {
  font-size: clamp(1.8rem, 2vw + 1rem, 3.3rem);
  color: #00305e;
}
.plan-col {
  padding-bottom: 20%;
}
.strategic-content .btn-primary {
  background-color: #3071b8 !important;
  border: none !important;
}
.strategic-content .btn-primary:hover {
  background-color: #ea5329 !important;
}
/* Story Pages hero section */
.community-hero-section, .stewardship-hero-section, .education-hero-section {
  position: relative;
  min-height: 750px;
  display: flex;
  align-items: center;
  overflow: visible;
  z-index: 0;
}
.community-hero-section::before, .stewardship-hero-section::before, .education-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: left;
  background-repeat: no-repeat;
  background-attachment: fixed;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
  z-index: 1;
}
.community-hero-section::before {
  background-image: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/index-bg-community.png');
}
.education-hero-section::before {
  background-image: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/_eby3WQ2.png');
}
.stewardship-hero-section::before {
  background-image: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/index-bg-aina.png');
}
.singlepage-education::before {
  background: #3071b8;
}
.singlepage-aina::before {
  background: #33a58e;
}
.singlepage-community::before {
  background: #ab6116;
}
.community-hero-section::after, .stewardship-hero-section::after, .education-hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
  z-index: 2;
  pointer-events: none;
}
.community-hero-section::after {
  background:
    linear-gradient(to right, rgba(171, 97, 22, 0.5) 0%, rgba(171, 97, 22, 1) 70%);
}
.education-hero-section::after {
  background:
    linear-gradient(to right, rgba(48, 113, 184, 0.5) 0%, rgba(48, 113, 184, 1) 70%);
}
.stewardship-hero-section::after {
  background:
    linear-gradient(to right, rgba(51, 165, 142, 0.5) 0%, rgba(51, 165, 142, 1) 70%);
}
.community-hero-section > *, .stewardship-hero-section > *, .education-hero-section > * {
  position: relative;
  z-index: 3; /* content above backgrounds */
}
.community-title, .stewardship-title, .education-title {
  margin-bottom: 150px;
}
.community-title h1, .stewardship-title h1, .education-title h1 {
  font-family: bahnschrift;
  font-weight: bold;
  font-size: clamp(1.25rem, 1vw + 1rem, 2rem);
}
.education-title h1 {
  color: #00305e;
}
.stewardship-title h1 {
  color: #005649;
}
.community-title h1 {
  color: #e6b276;
}
.community-title h2, .stewardship-title h2, .education-title h2 {
  font-family: bahnschrift;
  font-weight: bold;
  font-size: clamp(27px, 5vh + 1rem, 55px);
  color: white;
}
.community-title p, .stewardship-title p, .education-title p {
  font-size: clamp(0.875rem, 0.6vw + 0.5rem, 1rem);
  color: white;
}
.community-hero-section p, .stewardship-hero-section p, .education-hero-section p {
  font-size: 1.2rem;
}
/* Education below hero section */
.education-below-hero-section {
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/side-accent-niho.png') no-repeat center right;
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  z-index: 99;
  margin-bottom: 20px;
}
.education-below-hero-section h2 a {
  color: #00305e;
}
@media only screen and (min-width:992px) {
  .education-below-content {
    margin-top: -300px;
  }
}
.community .placeholder, .aina .placeholder, .education .placeholder {
  height: 400px;
  width: 500px;
  margin-top: -300px;
}
.community .placeholder {
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/community-featured-image-lead.jpg') no-repeat center/cover;
}
.aina .placeholder {
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/featured-image-lead-aina.jpg') no-repeat center/cover;
}
.education .placeholder {
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/photo01-featured_image.webp') no-repeat center/cover;
}
/* Single story section */
@media only screen and (max-width:768px) {
  .singlepage-story .row {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
}
.single-stories-section {
  position: relative;
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/pattern-pohaku-fade2.png');
  background-size: cover;
  min-height: 500px;
  align-items: center;
}
.single-stories-container .card {
  margin-top: -50%;
  margin-bottom: 20px;
  border: 0 !important;
  background-color: transparent !important;
  z-index: 999;
}
.single-stories-container .card-body {
  align-items: flex-start;
  padding-left: 0px !important;
}
.single-stories-container .card-body h5 {
  font-family: bahnschrift;
  font-weight: bold;
  color: #00305e;
  margin-bottom: 40px;
}
.img-cover {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
/* card-title and card-body preserved above */
.card-body {
  padding-bottom: 1rem;
}
/* Impacts section */
.impact-section {
  position: relative;
  background-color: #d8dbdb;
  height: clamp(500px, 120vh, 1600px);
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}
.impact-content h2 {
  font-family: bahnschrift;
  font-weight: bold;
  font-size: clamp(3rem, 10vh + 1rem, 600px);
  color: #00305e;
}
.impact-section .nav-link {
  background-color: #d8dbdb !important;
  border: 1px solid #00305e !important;
  color: #00305e !important;
}
.impact-section .nav-link:hover {
  background-color: #3071b8 !important;
}
.impact-section .nav-link.active {
  background-color: #3071b8 !important;
  color: #fff !important;
  border: 0px !important;
}
/* Single story pages */
.language {
  margin-left: 0px;
}
.single-story-section {
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/side-accent-niho.png') no-repeat top right;
  position: relative;
  align-items: center;
  height: auto;
}
.featured {
  margin-top: -300px;
  width: 100%;
}
.blog-picture {
  width: 100%;
}
.caption {
  font-size: 14px;
}
.quote-single-story img {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}
.story-content {
  margin-top: 3rem;
}
/*Album Section*/
.album-section {
  height: -20%;
}
/* Gallery section */
.gallery-section {
  position: relative;
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/pattern-pohaku-fade.png');
  background-size: cover;
  min-height: auto;
  padding-bottom: 50px;
  align-items: center;
}
.gallery-container {
  margin-bottom: 10%;
}
.gallery-img {
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s;
}
.gallery-img:hover {
  transform: scale(1.05);
}
#prevBtn, #nextBtn {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Support section */
.support-section {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 30%, rgba(176, 212, 183, 0.8) 100%), url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/pattern-pohaku-fade-white-30-half.png') bottom/cover repeat;
  background-size: 150%;
  background-repeat: repeat-x;
  background-blend-mode: overlay;
  padding-bottom: 300px;
}
.support-section h2 {
  font-size: 1.7rem;
}
.support-mobile-section a, .support-section a {
  color: white;
  font-weight: bold;
}
.support-mobile-section a:hover, .support-section a:hover {
  color: #ea5329;
  font-weight: bold;
}
/*Support Mobile*/
.support-mobile-section {
  position: relative;
  background: url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/support-bg.png');
  background-size: fill;
  background-position: bottom;
  background-repeat: repeat-x;
  padding-bottom: 100px;
}
.skewed-img-wrapper {
  transform: skew(-3deg);
  overflow: hidden;
  display: inline-block;
}
.skewed-img {
  transform: skew(3deg);
  width: 100%;
  height: auto;
}
/* Blue content box */
.support-mobile-box {
  background-color: #00305e;
  transform: skew(-3deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.support-mobile-box * {
  transform: skew(3deg);
}
.triangle img {
  width: 20px;
}
/* Responsive adjustments */
@media (max-width: 767.98px) {
  .skewed-img-wrapper, .skewed-img {
    transform: none;
  }
  .support-mobile-box {
    transform: none;
    text-align: center;
  }
  .support-mobile-box * {
    transform: none;
  }
  .triangle img {
    margin: 0 auto;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .cta-position h2 {
    font-size: 1rem;
  }
  .cta-position p {
    font-size: 14px;
  }
  .cta-position {
    width: 300px;
    right: 0% !important;
    ;
  }
}
@media only screen and (min-width: 992px) and (max-width:1199px) {
  .cta-position {
    right: 0% !important;
    ;
  }
}
/* Footer */
.ks-footer {
  background-color: #fff;
  border-top: 1px solid #ddd;
  padding-bottom: 20px;
}
.footer-overlap {
  position: relative;
  margin-top: -100px;
}
.download-btn {
  background-color: #002855 !important;
  border: none !important;
  font-weight: bold !important;
  text-transform: uppercase;
  padding: 10px 25px !important;
  border-radius: 0;
}
.download-btn:hover {
  background-color: #001f45 !important;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #eaeaea;
  border-radius: 50%;
  color: #002855;
  font-size: 20px;
  margin: 0 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.social-icon:hover {
  background-color: #002855;
  color: #fff;
}
.footer-link {
  color: #002855;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
}
.footer-link:hover {
  text-decoration: underline;
}
/* Helper classes moved from inline styles */
.logo-sm {
  max-height: 64px;
  width: auto;
  height: auto;
}
.footer-logo {
  height: 50px;
  width: auto;
}
/* CTA position: used for the support-section absolute box */
.cta-position {
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  max-width: 400px;
  position: absolute;
}
/* Small cleanup helpers */
img.img-fluid {
  max-width: 100%;
  height: auto;
}
.mega-menu {
  overflow: hidden;
}
/* Enable scroll when screen height is low */
@media (max-height: 800px) {
  .mega-menu {
    max-height: 90vh;
    overflow-y: auto;
    padding-right: 10px; /* prevents scrollbar overlap */
  }
  .mega-menu::-webkit-scrollbar {
    width: 6px;
  }
  .mega-menu::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
  }
  .mega-menu::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
  }
}
@media only screen and (max-width:474px) {
  .dropdown-menu.fullwidth {
    top: 100px;
  }
}
.mega-menu {
  overflow: hidden;
}
/* Enable scroll when screen height is low */
@media (max-height: 800px) {
  .mega-menu {
    max-height: 90vh;
    overflow-y: auto;
    padding-right: 10px; /* prevents scrollbar overlap */
  }
  .mega-menu::-webkit-scrollbar {
    width: 6px;
  }
  .mega-menu::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
  }
  .mega-menu::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
  }
}
@media only screen and (max-width:474px) {
  .dropdown-menu.fullwidth {
    top: 100px;
  }
}
.mega-menu {
  overflow: hidden;
}
/* Enable scroll when screen height is low */
@media (max-height: 800px) {
  .mega-menu {
    max-height: 90vh;
    overflow-y: auto;
    padding-right: 10px; /* prevents scrollbar overlap */
  }
  .mega-menu::-webkit-scrollbar {
    width: 6px;
  }
  .mega-menu::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
  }
  .mega-menu::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
  }
}
@media only screen and (max-width:474px) {
  .dropdown-menu.fullwidth {
    top: 100px;
  }
}
@media only screen and (max-width:474px) {
  .dropdown-menu.fullwidth {
    top: 100px;
  }
}
.dropdown-menu.fullwidth {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 90px;
  width: 100% !important;
  height: 100vh !important;
  max-width: none !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 1050 !important;
  padding: 0 !important;
  background-color: #b0d3b6;
}
.dropdown-menu .container {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* <-- keeps content at the top */
  justify-content: space-between;
  overflow-y: auto;
}
.left-logo {
  margin-bottom: 40px;
}
.left-title {
  font-family: bahnschrift;
  font-weight: bold;
  font-size: clamp(1.5rem, 1.5vh + 1rem, 2.5rem);
  margin-bottom: 1rem;
}
.left-desc {
  margin-top: 1rem;
  font-size: clamp(0.015rem, 1vh + 0.5rem, 1rem);
}
.right-title {
  font-family: bahnschrift;
  color: #00305e;
}
.right-title h5 {
  font-size: clamp(1.25rem, 1vh + 1rem, 2rem);
  font-weight: bold;
}
.right-title a {
  font-size: clamp(1.25rem, 1vh + 1rem, 2rem);
  color: #00305e;
}
.section-links {
  margin-left: 30px;
}
.return-link a {
  color: #00305e;
  font-size: clamp(0.875rem, 1vh + 0.5rem, 1rem);
  font-weight: bold;
}
/* Prevent parent .container from clipping dropdown */
header, .navbar, .container, .container-fluid {
  overflow: visible !important;
}
/* Optional: style panes inside */
.left-pane, .right-pane {
  min-height: 400px;
}
.left-pane {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}
/* Hide the caret (arrow) */
.dropdown-toggle::after {
  display: none !important;
}
#menuIcon {
  transition: transform 0.3s ease;
  float: right;
  font-size: 32px;
}
.image-container {
  width: auto;
  height: 80vh; /* Set the container height */
  overflow: hidden;
}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Crop & fill */
}
@media only screen and (max-width:575px) {
  .quote {
    margin-left: 15px;
    margin-bottom: 50px;
  }
  .aloha-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .na-moolelo-content {
    margin-bottom: 50px !important;
  }
}
@media only screen and (max-width:991px) {
  .placeholder {
    width: 300px;
    height: 200px;
  }
}
@media only screen and (max-width:991px) {
  .single-stories-container .card {
    margin-top: -10%;
  }
}
@media only screen and (max-height:640px) {
  .right-title h5 {
    font-size: 1.75rem;
  }
  .right-title a {
    font-size: 1.25rem;
  }
  .section-links {
    margin-left: 20px;
  }
  .return-link a {
    font-size: 1rem;
  }
}
/*Single Stories moolelo section*/
.moolelo-section {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(176, 212, 183, 0.8) 100%), url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/pattern-pohaku-fade-white-30-half.png') bottom/cover repeat;
  background-size: 150%;
  background-repeat: repeat-x;
  background-blend-mode: overlay;
  padding-bottom: 300px;
}
.moolelo-section a {
  color: #00305e;
}
.moolelo-section a:hover {
  color: #ea5329;
}
.moolelo-section h5:hover {
  color: #ea5329;
}
.moolelo-title-section {
  background:
    linear-gradient(to right, #ea5329 0%, /* fully solid at start */ rgba(234, 83, 41, 1) 30%, /* still strong */ rgba(234, 83, 41, 0.80) 50%, /* starting to fade */ rgba(234, 83, 41, 0.50) 100% /* slightly transparent at end */
    ), url('https://www.ksbe.edu/assets/site/special_section/annual-report/2025/images/Na-moolelo-background.png');
  background-size: cover;
  background-position: 50% 75%;
  background-attachment: fixed;
  padding: 100px;
  margin-bottom: -30px;
}
.moolelo-title-section h2 {
  font-size: 5rem;
  font-family: bahnschrift;
  font-weight: bold;
  color: white;
}
.story-box {
  border: none;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  background-color: white;
}
.category-label {
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  letter-spacing: 0.5px;
  font-family: bahnschrift;
}
.bg-education {
  background-color: #1d74b7;
}
.bg-aina {
  background-color: #31a57d;
}
.bg-community {
  background-color: #b15a28;
}
.story-content-cards h5 {
  color: #00305e;
  font-weight: 700;
  font-size: clamp(1rem, 1.1vw, 1.05rem);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  font-family: bahnschrift;
}
.story-content-cards ul li {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: #00305e;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  font-family: bahnschrift;
}
.fa-play {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  margin-right: 25px;
  color: #00305e;
}
/* Optional: spacing for smaller devices */
@media (max-width: 767.98px) {
  .story-box {
    margin-bottom: 1.5rem;
  }
}
/*modal Css*/
.modal-dialog {
  max-width: 800px !important;
  ;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.button-group {
  display: flex;
  gap: 8px;
}
.lang-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.lang-btn img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 100%;
}
.lang-btn:hover img {
  transform: scale(1.1);
  border-color: #00305e;
  opacity: 50%;
}
.lang-btn.active img {
  border-color: #00305e;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.6);
}
.close {
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.close:hover {
  opacity: 1;
}
.inertia {
  transition: transform 0.15s ease-out;
  will-change: transform;
}
/*MM Addition*/
/* Mobile breakpoint: 667px and smaller */
 @media (max-width: 667px) 
{
.inertia {transition:none !important;will-change: unset !important;}
.hero-section .hero-content h1 {font-size: 3.5rem !important;}
.below-hero-section {margin-top: 0px !important;}
.impact-section .impact-content h2 {font-size: 3rem !important;}
.education-below-content .placeholder {width: 100% !important;height: 200px !important;}
.moolelo-title-section h2 {font-size: 3rem !important;}
h3.more-stories {display:none !important;}
}