/* --- Custom Pagination Styles for Worksheet Page --- */
.pagination {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  border: none;
  margin-bottom: 7.5rem !important;
  margin-top: 2.5rem !important;
}
.pagination .page-item {
  border: none;
  background: none;
  margin: 0;
  padding: 0;
}
.pagination .page-link {
  border: none;
  background: none;
  color: #38bee3;
  font-weight: 600;
  font-size: 1.35rem;
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: none;
  outline: none;
}
.pagination .page-item.active .page-link {
  background: #2dbae1;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(54, 186, 222, 0.1);
}
.pagination .page-link:hover:not(:disabled):not(.active),
.pagination .page-link:focus:not(:disabled):not(.active) {
  background: rgba(54, 186, 222, 0.12);
  color: #1b7bd6;
}
.pagination .page-item.disabled .page-link {
  color: #b0b0b0;
  background: none;
  cursor: not-allowed;
  opacity: 0.6;
}
.pagination .page-link[aria-label] {
  font-size: 1.5rem;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #36bade;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border 0.2s;
}
.pagination .page-link[aria-label]:hover:not(:disabled) {
  background: #eaf8fc;
  border-color: #36bade;
}
.pagination .page-item.disabled .page-link[aria-label] {
  background: #f5f5f5;
  border-color: #e0e0e0;
}
.pagination .page-link:focus {
  box-shadow: 0 0 0 2px #b6e6f7;
}
.pagination .page-item.disabled {
  pointer-events: none;
}
.pagination .page-link {
  min-width: 2.75rem;
  min-height: 2.75rem;
}
.pagination .page-item.disabled .page-link,
.pagination .page-item.disabled span.page-link {
  cursor: not-allowed;
}
.pagination .page-link span {
  display: inline-block;
  vertical-align: middle;
}
.pagination .page-item .page-link[aria-label] {
  font-size: 1.3rem;
  padding: 0;
}
.pagination .page-item.disabled .page-link[aria-label] {
  color: #b0b0b0;
}
.pagination .page-item.disabled span.page-link {
  color: #b0b0b0;
  background: none;
}

@media (max-width: 799.98px) {
  .navbar-brand img {
    height: 20px !important;
  }
}
@media (max-width: 439.98px) {
  .navbar .btn[href="worksheet.html"] {
    display: none !important;
  }
}
@media (min-width: 440px) and (max-width: 699.98px) {
  .navbar .btn[href="worksheet.html"] {
    font-size: 0.9rem !important;
    transform: scale(0.75);
  }
}
html {
  scroll-behavior: smooth;
}

.nav-link {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: var(--sky-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--sky-blue) !important;
}

.nav-link .arrow-down {
  display: inline-block;
  background: #fff;
  position: relative;
  z-index: 10;
  padding-left: 2px;
  margin-bottom: -3px;
}

.card img {
  object-fit: cover;
  height: 200px;
}

footer {
  font-size: 0.9rem;
}

:root {
  --bs-primary: #5471d1;
  --sky-blue: #36bade;
}

.navbar-brand {
  color: var(--sky-blue) !important;
  font-weight: 600;
  margin-right: 0.25rem !important;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--sky-blue) !important;
}

.navbar .nav-link {
  color: #555 !important;
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #555 !important;
}

.navbar .btn-primary {
  background-color: var(--sky-blue);
  border-color: var(--sky-blue);
  font-weight: 600;
}
.navbar .btn-primary:hover,
.navbar .btn-primary:focus {
  background-color: #1b7bd6;
  border-color: #1b7bd6;
}

.nav-link {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: var(--sky-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  transform: scaleX(1);
}

.navbar .nav-link {
  padding: 0 !important;
  margin: 0 0.75rem;
  overflow: visible !important;
}

.navbar .nav-link::after {
  bottom: -2px;
  border-radius: 3px;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #3342a0;
  border-color: #3342a0;
}

.search-bar {
  flex: 0 0 auto;
  width: 700px;
  max-width: 100%;
  margin-left: 0.25rem;
  margin-right: 0rem;
}
.search-bar .input-group-text {
  border-right: 0;
  background: transparent;
}
.search-bar .form-control {
  border-left: 0;
  box-shadow: none !important;
}

.login-link {
  color: #555 !important;
  font-weight: 600;
  margin-left: 0rem;
}

.navbar .top-row {
  gap: 0.25rem;
}

.navbar .btn-primary {
  margin-left: 0.25rem;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .search-bar {
    width: 500px;
  }
}

.hero-image {
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 60vh;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.hero-image > .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 25vh;
}

.hero-image h1,
.hero-image p {
  text-shadow: 0 1.5px 2px rgba(0, 0, 0, 0.6);
}

.hero-image p {
  font-weight: 600;
  color: #ffffff;
}

.hero-image .btn-primary {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.feature-box {
  background-color: transparent;
  border: 2px solid #0000005a;
  border-radius: 0.75rem;
  padding: 2.5rem;
  box-shadow: none;
  height: 100%;
  min-height: 390px;
  display: flex;
  flex-direction: column;
}

.feature-box h4 {
  font-size: 1.5rem;
  color: var(--sky-blue);
  margin-bottom: 2.5rem !important;
}

.feature-box p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.overview-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  margin-bottom: 3rem;
  background-color: #fefcf9;
  position: relative;
}

.decorative-line {
  position: absolute;
  top: 60px;
  left: -50px;
  width: 440px;
  max-width: 60%;
  height: auto;
  pointer-events: none;
}

.icon-badge {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(54, 186, 222, 0.1);
  border-radius: 50%;
  margin: 0 auto 1rem auto;
}
.icon-badge i {
  font-size: 1.75rem;
  color: var(--sky-blue);
}

.feature-box .btn-primary {
  margin-top: auto;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
}

.decorative-line-right {
  position: absolute;
  top: 60px;
  right: -50px;
  width: 440px;
  max-width: 60%;
  height: auto;
  pointer-events: none;
}

@media (min-width: 700px) and (max-width: 1399.98px) {
  .decorative-line,
  .decorative-line-right {
    top: 110px;
  }
}

@media (min-width: 400px) and (max-width: 699.98px) {
  .decorative-line,
  .decorative-line-right {
    top: 180px;
  }
}

@media (max-width: 399.98px) {
  .decorative-line,
  .decorative-line-right {
    top: 220px;
  }
}

.overview-section .row.g-4 {
  margin-top: 3rem;
}

.overview-section h2 {
  font-weight: 600;
  margin-top: 1.5rem;
  color: #3a3c3d;
}

.potentials-section {
  background-color: #ffead0d8;
  padding-top: 4rem !important;
  padding-bottom: 10rem !important;
  position: relative;
}

.potential-right {
  margin-top: 15rem;
}
.potential-img {
  max-width: 140%;
  height: auto;
  border-radius: 1rem;
  margin-top: 2rem;
}

.resources-subtext {
  font-size: 1.3rem;
  font-weight: 400;
  color: #6c757d;
}

.potentials-section h2 {
  font-size: 2.75rem;
  font-weight: 640;
  margin-bottom: 0.5rem;
  color: #3a3c3d;
}

.potential-subtext {
  font-size: 1.3rem;
  font-weight: 400;
  color: #6c757d;
  margin-bottom: 6rem;
}

.potentials-section i {
  color: var(--bs-primary) !important;
}

.potentials-section h5 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.potentials-section p.text-muted {
  font-size: 1.2rem;
  color: #6c757d !important;
}

.potential-left {
  margin-top: 4rem;
}

.potential-left h5,
.potential-left p {
  text-align: right;
}

.potential-right h5,
.potential-right p {
  text-align: left;
}

.potential-left {
  padding-right: 3rem;
}

.potential-right {
  padding-left: 6rem;
}

.join-section {
  background-color: var(--bs-primary);
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.join-section h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f6f7fa;
}

.join-section p {
  font-size: 1.3rem;
  color: #e9f3fd !important;
}

.join-section .btn-primary {
  margin-top: 2rem;
  padding: 0.75rem 2.5rem;
  font-size: 1.25rem;
  background-color: var(--sky-blue);
  border-color: var(--sky-blue);
}

.join-section .btn-primary:hover,
.join-section .btn-primary:focus {
  background-color: #1b7bd6;
  border-color: #1b7bd6;
}

.join-img-left,
.join-img-right {
  position: absolute;
  bottom: 0;
  width: 180px;
  height: auto;
  z-index: 1;
}

.join-img-left {
  left: 120px;
}

.join-img-right {
  right: 120px;
}

@media (max-width: 799.98px) {
  .join-img-left {
    width: 20%;
    left: 0;
  }
  .join-img-right {
    width: 20%;
    right: 0;
  }
}

@media (max-width: 799.98px) {
  .mascot-right {
    width: 20%;
    right: 0;
    display: block;
  }
  .mascot-left {
    width: 20% !important;
    left: 0;
    display: block;
  }
}

.about-section {
  background-color: #f0f0f066;
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.about-section h2 {
  font-size: 2.5rem;
  color: #3a3c3d;
  font-weight: 700;
}
.about-section p.lead {
  font-size: 1.25rem;
  color: #3a3c3d;
}

.compact-hero {
  padding: 6rem 0 5rem;
  background-color: #5fc4d6;
  position: relative;
}
.compact-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgb(233, 233, 233);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.compact-hero h1 {
  margin-bottom: 1.5rem;
  color: #ffffff;
}
.compact-hero .lead {
  font-size: 1.35rem;
  color: #efefeff0;
  font-weight: 500;
}
@media (max-width: 1299.98px) {
  .compact-hero .hero-overlap-img,
  .compact-hero .hero-overlap-left {
    width: 50% !important;
    min-width: 100px;
    max-width: 160px;
  }
}
@media (min-width: 750px) and (max-width: 950px) {
  .compact-hero .hero-overlap-img {
    width: 100px !important;
    min-width: 60px !important;
    max-width: 100px !important;
    right: 0 !important;
  }
  .compact-hero .hero-overlap-left {
    width: 100px !important;
    min-width: 60px !important;
    max-width: 100px !important;
    left: 0 !important;
  }
}

@media (max-width: 650px) {
  .compact-hero .hero-overlap-img {
    width: 80px !important;
    min-width: 60px !important;
    max-width: 100px !important;
    right: 0 !important;
  }
  .compact-hero .hero-overlap-left {
    width: 80px !important;
    min-width: 60px !important;
    max-width: 100px !important;
    left: 0 !important;
  }
}
.hero-overlap-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  z-index: 0;
}
.hero-overlap-left {
  position: absolute;
  bottom: 0;
  left: 40px;
  width: 200px;
  z-index: 0;
}

.mirror-img {
  transform: scaleX(-1);
}

@media (min-width: 768px) {
  .about-section .row {
    flex-direction: row-reverse;
  }
}

.about-hero-img {
  right: 40px;
}
@media (max-width: 767.98px) {
  .about-hero-img {
    right: 0;
  }
}

@media (max-width: 991.98px) {
  .potentials-section .potential-left,
  .potentials-section .potential-right {
    text-align: center !important;
  }
  .potentials-section .potential-left h5,
  .potentials-section .potential-left p,
  .potentials-section .potential-right h5,
  .potentials-section .potential-right p {
    text-align: center !important;
  }
  .potentials-section .potential-img {
    max-width: 80%;
    margin-top: 1rem;
    margin-bottom: -9rem;
  }
  .potentials-section .row.gy-4 {
    row-gap: 1rem !important;
  }
  .potentials-section p.text-muted {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .potential-right {
    margin-top: 10rem;
  }
  .potential-right {
    margin-left: -2.6rem;
  }
  .potential-left {
    margin-left: 1rem;
  }
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
}

.navbar .dropdown-toggle::after {
  display: none !important;
}

.navbar .dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: var(--sky-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  border-radius: 3px;
  z-index: 0;
}
.navbar .dropdown-toggle:hover::before,
.navbar .dropdown-toggle:focus::before {
  transform: scaleX(1);
}

.navbar .dropdown .dropdown-menu {
  margin-top: 4px;
}

.navbar .dropdown-toggle::after {
  content: none !important;
}

.navbar .dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background-color: var(--sky-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  border-radius: 3px;
  z-index: 0;
}

.navbar .dropdown-toggle:hover::before,
.navbar .dropdown-toggle:focus::before {
  transform: scaleX(1);
}

.navbar .dropdown-toggle .arrow-down {
  position: relative;
  z-index: 10;
  background: #fff;
  padding-left: 2px;
  margin-bottom: -3px;
}
