/* Enhanced Styling for Better Visual Appearance */

/* Mobile Overflow Fix */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

/* Section Styling */
section {
  position: relative;
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 2px;
}

/* Facility Section Enhancement */
.container-xxl.py-5 {
  padding: 80px 0 !important;
}

.container-xxl.py-5 .text-center {
  margin-bottom: 60px !important;
}

.container-xxl.py-5 .row.g-4 {
  margin-top: 40px;
  align-items: stretch;
}

/* Container & Spacing Improvements */
.container {
  padding: 0 20px;
}

@media (min-width: 992px) {
  .container {
    padding: 0 40px;
  }
}

/* Card & Border Radius Improvements */
.card,
[class*="item"] {
  border-radius: 12px;
  border: none;
  transition: var(--transition);
}

/* Enhanced Form Controls */
.form-control,
.form-select {
  border: 2px solid var(--gray-medium);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(254, 93, 55, 0.15);
}

/* Image Styling */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: var(--transition);
}

/* Text Utilities */
.text-primary {
  transition: var(--transition);
}

a {
  transition: var(--transition);
  text-decoration: none;
}

/* Blockquote Enhancement */
blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin-left: 0;
  font-style: italic;
  color: var(--dark);
}

/* List Styling */
ul,
ol {
  padding-left: 25px;
}

ul li,
ol li {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* Hover Effects for Links */
a:not(.btn):hover {
  color: var(--primary);
}

/* Badge Enhancement */
.badge {
  padding: 8px 12px;
  border-radius: 20px;
  font-weight: 500;
  transition: var(--transition);
}

.badge.bg-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  ) !important;
  box-shadow: var(--shadow-md);
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Table Enhancement */
.table {
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.table thead {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: #ffffff;
}

.table tbody tr {
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-medium);
}

.table tbody tr:hover {
  background-color: var(--light);
  box-shadow: inset 0 0 0 0 var(--shadow-sm);
}

/* Pagination Enhancement */
.pagination {
  gap: 5px;
}

.page-link {
  border-radius: 6px;
  border: 2px solid var(--gray-medium);
  color: var(--dark);
  transition: var(--transition);
  margin: 0 3px;
}

.page-link:hover {
  background-color: var(--light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.page-link.active {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-color: var(--primary);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for fade-in elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Responsive Text Scaling */
@media (max-width: 768px) {
  h1,
  .display-1 {
    font-size: 2rem !important;
  }

  .about-page__title {
    font-size: clamp(2.75rem, 11vw, 3.6rem) !important;
  }

  .staff-page__title {
    font-size: clamp(2.85rem, 11vw, 3.7rem) !important;
  }

  h2,
  .display-2 {
    font-size: 1.75rem !important;
  }

  h3,
  .display-3 {
    font-size: 1.5rem !important;
  }

  .container-xxl.py-5 {
    padding: 50px 0 !important;
  }

  .container-xxl.py-5 .text-center {
    margin-bottom: 40px !important;
  }
}

/* Enhanced Overlay Effects */
.overlay {
  position: relative;
  overflow: hidden;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(254, 93, 55, 0.1);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.overlay:hover::before {
  opacity: 1;
}

/* Breadcrumb Enhancement */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

.breadcrumb-item {
  transition: var(--transition);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-item a {
  color: var(--dark);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

/* Loading State */
.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Vertical Rhythm */
p {
  margin-bottom: 1.5rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Enhanced Container with Background */
.section-bg {
  background: linear-gradient(
    135deg,
    var(--light) 0%,
    rgba(255, 245, 243, 0.5) 100%
  );
  border-radius: 12px;
  padding: 40px;
}

/* Decorative Elements */
.decoration-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 8px;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }

  a {
    text-decoration: underline;
  }
}

/* Staff Page */
.staff-page {
  --staff-emerald: #0a4d3c;
  --staff-forest: #073126;
  --staff-mint: #eaf4ef;
  --staff-sand: #f5e6c8;
  --staff-coral: #ff6b35;
  --staff-ink: #1e1e2e;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.staff-page__hero,
.staff-page__section {
  padding: 72px 0;
}

.staff-page__hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 107, 53, 0.14),
      transparent 22%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(245, 230, 200, 0.12),
      transparent 26%
    ),
    linear-gradient(135deg, #0a4d3c 0%, #0c5d48 45%, #073126 100%);
}

.staff-page__hero::before,
.staff-page__growth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.staff-page__hero::before {
  content: none;
}

.staff-page__hero .container,
.staff-page__growth-panel {
  position: relative;
  z-index: 1;
}

.staff-page__hero-grid,
.staff-page__leadership,
.staff-page__specialists,
.staff-page__standards,
.staff-page__growth-grid {
  display: grid;
  gap: 20px;
}

.staff-page__hero-grid {
  align-items: center;
}

.staff-page__hero-copy {
  max-width: 660px;
}

.staff-page__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(10, 77, 60, 0.08);
  color: var(--staff-emerald);
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.staff-page__title,
.staff-page__heading {
  margin: 0 0 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--staff-emerald);
}

.staff-page__title {
  font-size: clamp(2.7rem, 8vw, 5.1rem);
  color: #ffffff;
}

.staff-page__heading {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.staff-page__lead,
.staff-page__section-intro p,
.staff-page__leader-body p,
.staff-page__member-body p,
.staff-page__growth-copy p,
.staff-page__growth-point span {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(30, 30, 46, 0.78);
}

.staff-page__lead {
  max-width: 620px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.staff-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.staff-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 1.5px solid rgba(10, 77, 60, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--staff-emerald);
  font-family: "Roboto", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  text-align: center;
  transition: var(--transition);
}

.staff-page__button:hover {
  border-color: var(--staff-emerald);
  color: var(--staff-emerald);
}

.staff-page .btn.btn-primary {
  box-shadow: none;
}

.staff-page__leader,
.staff-page__member,
.staff-page__standard,
.staff-page__growth-point {
  border: 1px solid rgba(10, 77, 60, 0.08);
}

.staff-page__growth-badge strong,
.staff-page__leader-kicker,
.staff-page__standards-label,
.staff-page__standard strong,
.staff-page__growth-point strong {
  display: block;
  font-family: "Roboto", sans-serif;
}

.staff-page__hero-visual {
  position: relative;
  min-height: 620px;
}

.staff-page__hero-main,
.staff-page__leader-media {
  overflow: hidden;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(7, 49, 38, 0.22);
}

.staff-page__hero-main img,
.staff-page__leader-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-page__hero-main img {
  min-height: 620px;
}

.staff-page__portrait,
.staff-page__growth-badge {
  position: absolute;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 40px rgba(7, 49, 38, 0.16);
}

.staff-page__portrait {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: min(310px, calc(100% - 18px));
  padding: 14px;
}

.staff-page__portrait img,
.staff-page__member-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-page__portrait img {
  height: 70px;
  border-radius: 18px;
}

.staff-page__portrait strong,
.staff-page__portrait span,
.staff-page__growth-badge small,
.staff-page__growth-badge strong,
.staff-page__leader-kicker,
.staff-page__leader h3 span,
.staff-page__member-role,
.staff-page__standards-label,
.staff-page__standard span,
.staff-page__growth-point strong,
.staff-page__growth-point span {
  display: block;
  font-family: "Roboto", sans-serif;
}

.staff-page__portrait strong {
  color: var(--staff-ink);
  font-size: 1rem;
}

.staff-page__portrait span,
.staff-page__leader h3 span,
.staff-page__standard span {
  color: rgba(30, 30, 46, 0.68);
}

.staff-page__portrait--bottom {
  right: -10px;
  bottom: 148px;
}

.staff-page__growth-badge {
  right: 22px;
  bottom: 18px;
  max-width: 270px;
  padding: 18px 20px;
}

.staff-page__growth-badge small,
.staff-page__leader-kicker,
.staff-page__standards-label {
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.staff-page__growth-badge small,
.staff-page__leader-kicker,
.staff-page__standards-label,
.staff-page__member-role,
.staff-page__growth-point span {
  color: rgba(10, 77, 60, 0.68);
}

.staff-page__growth-badge strong,
.staff-page__standard strong,
.staff-page__growth-point strong {
  color: var(--staff-ink);
  line-height: 1.55;
}

.staff-page__section-intro {
  max-width: 760px;
  margin: 0 0 34px;
}

.staff-page__section-intro.text-center {
  margin-left: auto;
  margin-right: auto;
}

.staff-page__section--leadership,
.staff-page__section--growth {
  background: #ffffff;
}

.staff-page__section--specialists {
  background: linear-gradient(180deg, #0a4d3c 0%, #083a2d 100%);
}

.staff-page__section--specialists .staff-page__eyebrow,
.staff-page__section--growth .staff-page__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--staff-sand);
}

.staff-page__section--specialists .staff-page__heading,
.staff-page__section--specialists .staff-page__section-intro p,
.staff-page__section--growth .staff-page__heading,
.staff-page__section--growth .staff-page__growth-copy p {
  color: #ffffff;
}

.staff-page__leadership {
  grid-template-columns: 1fr;
}

.staff-page__leader {
  display: grid;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fcf7ef 100%);
  box-shadow: 0 24px 52px rgba(30, 30, 46, 0.08);
}

.staff-page__leader-media img {
  min-height: 320px;
}

.staff-page__leader-body {
  padding: 28px;
}

.staff-page__leader-kicker {
  color: rgba(10, 77, 60, 0.62);
}

.staff-page__leader h3,
.staff-page__member h3 {
  margin: 0 0 10px;
  font-family: "Roboto", sans-serif;
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--staff-ink);
}

.staff-page__leader h3 span {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.staff-page__expertise strong {
  color: var(--staff-ink);
}

.staff-page__leader blockquote {
  margin: 18px 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--staff-coral);
  font-family: "Roboto", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--staff-emerald);
}

.staff-page__fun-fact {
  margin-top: 18px !important;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--staff-mint);
  color: var(--staff-ink) !important;
}

.staff-page__fun-fact i {
  margin-right: 8px;
  color: var(--staff-coral);
}

.staff-page__specialists {
  grid-template-columns: 1fr;
}

.staff-page__member {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(7, 49, 38, 0.16);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.staff-page__member:hover,
.staff-page__member:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px rgba(7, 49, 38, 0.2);
}

.staff-page__member:focus-visible {
  outline: 3px solid rgba(255, 107, 53, 0.35);
  outline-offset: 3px;
}

.staff-page__member-media {
  position: relative;
  margin: -20px -20px 20px;
  padding-bottom: 20px;
}

.staff-page__member-media > img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.staff-page__member-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 49, 38, 0.78);
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.staff-page__member-portrait {
  position: absolute;
  left: 18px;
  bottom: 0;
  width: 78px;
  height: 78px;
  padding: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 14px 26px rgba(7, 49, 38, 0.16);
}

.staff-page__member-portrait img {
  border-radius: 50%;
}

.staff-page__member-body {
  position: relative;
  z-index: 1;
  padding-top: 26px;
}

.staff-page__member-role {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--staff-emerald);
}

.staff-page__member-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 10px;
  padding: 24px;
  background: linear-gradient(
    180deg,
    rgba(7, 49, 38, 0.08) 0%,
    rgba(7, 49, 38, 0.97) 64%
  );
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.staff-page__member:hover .staff-page__member-hover,
.staff-page__member:focus-visible .staff-page__member-hover {
  opacity: 1;
  transform: translateY(0);
}

.staff-page__member-hover h4,
.staff-page__member-hover p {
  margin: 0;
  color: #ffffff;
}

.staff-page__member-hover h4 {
  font-family: "Roboto", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.staff-page__member-hover p {
  line-height: 1.8;
}

.staff-page__standards-wrap {
  margin-top: 34px;
}

.staff-page__standards-label {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.staff-page__standards {
  grid-template-columns: 1fr;
}

.staff-page__standard {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.staff-page__standard-icon {
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 107, 53, 0.14);
  color: var(--staff-coral);
  font-size: 1.12rem;
}

.staff-page__growth-panel {
  overflow: hidden;
  padding: 34px 28px;
  border-radius: 34px;
  background: linear-gradient(135deg, #0a4d3c 0%, #0d664f 42%, #073126 100%);
}

.staff-page__growth-panel::before {
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 107, 53, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(245, 230, 200, 0.14),
      transparent 30%
    );
}

.staff-page__growth-grid {
  margin-top: 26px;
}

.staff-page__growth-point {
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.staff-page__growth-point strong {
  margin-bottom: 8px;
  color: #ffffff;
}

.staff-page__growth-point span {
  color: rgba(255, 255, 255, 0.82);
}

.staff-page__section--growth .staff-page__button {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--staff-emerald);
}

@media (min-width: 768px) {
  .staff-page__hero,
  .staff-page__section {
    padding: 92px 0;
  }

  .staff-page__standards,
  .staff-page__growth-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .staff-page__leadership {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-page__specialists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-page__growth-panel {
    padding: 42px 36px;
  }
}

@media (min-width: 992px) {
  .staff-page__hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 34px;
  }

  .staff-page__leader {
    grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1fr);
  }

  .staff-page__specialists {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .staff-page__growth-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 30px;
    align-items: start;
  }

  .staff-page__growth-grid {
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .staff-page__hero-visual {
    min-height: auto;
  }

  .staff-page__hero-main img {
    min-height: 420px;
  }

  .staff-page__portrait--bottom {
    right: 10px;
    bottom: 140px;
  }
}

@media (max-width: 767.98px) {
  .staff-page__hero-main img {
    min-height: 320px;
  }

  .staff-page__portrait,
  .staff-page__growth-badge {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 16px;
  }

  .staff-page__member-hover {
    position: static;
    margin: 18px -20px -20px;
    padding: 18px 20px 20px;
    border-radius: 0 0 28px 28px;
    background: linear-gradient(
      180deg,
      rgba(10, 77, 60, 0.96) 0%,
      rgba(7, 49, 38, 1) 100%
    );
    opacity: 1;
    transform: none;
  }

  .staff-page__member:hover,
  .staff-page__member:focus-visible {
    transform: none;
  }
}

@media (max-width: 768px) {
  .staff-page__title {
    font-size: clamp(2.85rem, 11vw, 3.7rem) !important;
  }
}

/* Landing Page Refresh */
.landing-section {
  padding: 72px 0;
}

.landing-section .container,
.landing-footer .container {
  max-width: 1240px !important;
  margin: 0 auto;
  padding: 0 20px;
}

.landing-section--about {
  background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
}

.landing-section--academics {
  background: linear-gradient(180deg, #0a4d3c 0%, #0c5a46 100%);
}

.landing-section--gallery {
  background: #fffdf8;
}

.landing-section--testimonials {
  background: #ff6b35;
}

.landing-section--admissions {
  background: #ffffff;
}

.landing-section--contact {
  background: #fffdf9;
}

/* Testimonials Page */
.testimonials-page {
  --testimonial-emerald: #0a4d3c;
  --testimonial-forest: #073126;
  --testimonial-coral: #ff6b35;
  --testimonial-sand: #f5e6c8;
  --testimonial-mint: #eaf4ef;
  --testimonial-sage: #dceadf;
  --testimonial-cream: #fff5e8;
  --testimonial-peach: #ffe4d6;
  --testimonial-ink: #1e1e2e;
  background: linear-gradient(180deg, #fffefb 0%, #f6faf7 100%);
}

.testimonials-page__hero,
.testimonials-page__section {
  padding: 72px 0;
}

.testimonials-page__hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: #f5a43a;
}

.testimonials-page__hero .container {
  position: relative;
  z-index: 1;
}

.testimonials-page__hero-grid,
.testimonials-page__review-grid,
.testimonials-page__scholars,
.testimonials-page__logo-wall {
  display: grid;
  gap: 20px;
}

.testimonials-page__hero-grid {
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
}

.testimonials-page__hero-copy {
  max-width: 560px;
  padding: 0;
}

.testimonials-page__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(10, 77, 60, 0.08);
  color: var(--testimonial-emerald);
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonials-page__title,
.testimonials-page__heading {
  margin: 0 0 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--testimonial-emerald);
}

.testimonials-page__title {
  max-width: 560px;
  font-size: clamp(3.25rem, 7vw, 5.25rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.testimonials-page__heading {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.testimonials-page__lead,
.testimonials-page__section-intro p,
.testimonials-page__story-copy p,
.testimonials-page__review-quote,
.testimonials-page__scholar-body p,
.testimonials-page__cta p {
  margin: 0;
  color: rgba(30, 30, 46, 0.78);
  font-size: 1rem;
  line-height: 1.8;
}

.testimonials-page__lead {
  max-width: 460px;
  font-size: 1.12rem;
}

.testimonials-page__hero .testimonials-page__lead {
  color: rgba(30, 30, 46, 0.88);
}

.testimonials-page__hero-quote {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 470px;
  margin: 32px 0 0;
  color: #1c2b26;
}

.testimonials-page__hero-quote-mark {
  flex: 0 0 auto;
  margin-top: -8px;
  font-size: 4rem;
  line-height: 1;
  color: var(--testimonial-emerald);
}

.testimonials-page__hero-quote strong,
.testimonials-page__hero-quote span {
  display: block;
  font-family: "Roboto", sans-serif;
}

.testimonials-page__hero-quote strong {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.testimonials-page__hero-quote span {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
}

.testimonials-page__hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.testimonials-page__hero-photo-wrap {
  width: 100%;
  min-height: 520px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.testimonials-page__hero-main {
  position: relative;
  width: min(100%, 500px);
  height: 440px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 20px 44px rgba(30, 30, 46, 0.14);
}

.testimonials-page__hero-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.testimonials-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.testimonials-page__actions--center {
  justify-content: center;
}

.testimonials-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  border: 1.5px solid rgba(10, 77, 60, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: var(--testimonial-emerald);
  font-family: "Roboto", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  text-align: center;
  transition: var(--transition);
}

.testimonials-page__button:hover {
  border-color: var(--testimonial-emerald);
  color: var(--testimonial-emerald);
}

.testimonials-page__button--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.testimonials-page__button--light:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.testimonials-page .btn.btn-primary {
  box-shadow: none;
}

.testimonials-page__hero-collage {
  position: relative;
  min-height: 620px;
}

.testimonials-page__hero-card,
.testimonials-page__video-card,
.testimonials-page__review-card,
.testimonials-page__scholar,
.testimonials-page__logo-tile,
.testimonials-page__cta {
  overflow: hidden;
  border: 1px solid rgba(10, 77, 60, 0.08);
  box-shadow: 0 24px 50px rgba(30, 30, 46, 0.08);
}

.testimonials-page__hero-card {
  position: absolute;
  margin: 0;
  border-radius: 28px;
  background: #ffffff;
}

.testimonials-page__hero-card img,
.testimonials-page__video-card img,
.testimonials-page__scholar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-page__hero-card--large {
  top: 24px;
  left: 36px;
  width: 320px;
  height: 410px;
  transform: rotate(-5deg);
}

.testimonials-page__hero-card--top {
  top: 0;
  right: 28px;
  width: 220px;
  height: 240px;
  transform: rotate(7deg);
}

.testimonials-page__hero-card--bottom {
  right: 18px;
  bottom: 88px;
  width: 250px;
  height: 230px;
  transform: rotate(-4deg);
}

.testimonials-page__hero-card--portrait {
  left: 8px;
  bottom: 54px;
  width: 190px;
  height: 220px;
  transform: rotate(5deg);
}

.testimonials-page__hero-note {
  position: absolute;
  right: 42px;
  bottom: 0;
  max-width: 290px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 40px rgba(10, 77, 60, 0.12);
}

.testimonials-page__hero-note small,
.testimonials-page__hero-note strong,
.testimonials-page__review-meta strong,
.testimonials-page__review-meta span,
.testimonials-page__scholar-body strong,
.testimonials-page__wall-card strong,
.testimonials-page__wall-card span,
.testimonials-page__story-caption span,
.testimonials-page__since {
  display: block;
  font-family: "Roboto", sans-serif;
}

.testimonials-page__hero-note small,
.testimonials-page__review-category,
.testimonials-page__since {
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 77, 60, 0.66);
}

.testimonials-page__hero-note strong {
  color: var(--testimonial-ink);
  line-height: 1.6;
}

.testimonials-page__section-intro {
  max-width: 780px;
  margin: 0 auto 36px;
}

.testimonials-page__story {
  display: grid;
  gap: 26px;
  align-items: center;
}

.testimonials-page__video-card {
  position: relative;
  border-radius: 34px;
  background: #ffffff;
}

.testimonials-page__video-card img {
  min-height: 420px;
}

.testimonials-page__video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 49, 38, 0.04) 0%,
    rgba(7, 49, 38, 0.55) 100%
  );
}

.testimonials-page__video-duration,
.testimonials-page__play-badge {
  position: absolute;
  z-index: 1;
}

.testimonials-page__video-duration {
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--testimonial-emerald);
  font-family: "Roboto", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonials-page__play-badge {
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--testimonial-coral);
  font-size: 2rem;
  transform: translate(-50%, -50%);
}

.testimonials-page__story-caption {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(10, 77, 60, 0.08);
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--testimonial-ink);
}

.testimonials-page__story-caption span {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(30, 30, 46, 0.68);
}

.testimonials-page__story-copy {
  padding: 8px 0;
}

.testimonials-page__story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 22px;
}

.testimonials-page__story-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--testimonial-mint);
  color: var(--testimonial-emerald);
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.testimonials-page__story-points {
  margin: 0;
  padding-left: 20px;
  color: rgba(30, 30, 46, 0.78);
}

.testimonials-page__story-points li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.testimonials-page__since {
  margin-top: 22px;
}

.testimonials-page__section--reviews {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.testimonials-page__review-grid {
  grid-template-columns: 1fr;
}

.testimonials-page__review-card {
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
}

.testimonials-page__review-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 107, 53, 0.12);
  color: var(--testimonial-coral);
  font-size: 1.12rem;
}

.testimonials-page__review-category {
  margin-bottom: 10px;
}

.testimonials-page__review-quote {
  font-size: 1.02rem;
}

.testimonials-page__review-meta {
  margin-top: 20px;
}

.testimonials-page__review-meta strong,
.testimonials-page__scholar-body strong,
.testimonials-page__wall-card strong {
  margin-bottom: 6px;
  color: var(--testimonial-ink);
  font-size: 1rem;
}

.testimonials-page__review-meta span,
.testimonials-page__wall-card span {
  color: rgba(30, 30, 46, 0.68);
  font-size: 0.9rem;
}

.testimonials-page__section--scholars {
  background: linear-gradient(180deg, #0a4d3c 0%, #083a2d 100%);
}

.testimonials-page__section--scholars .testimonials-page__eyebrow,
.testimonials-page__section--cta .testimonials-page__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--testimonial-sand);
}

.testimonials-page__section--scholars .testimonials-page__heading,
.testimonials-page__section--scholars .testimonials-page__section-intro p,
.testimonials-page__section--cta .testimonials-page__heading,
.testimonials-page__section--cta .testimonials-page__cta p {
  color: #ffffff;
}

.testimonials-page__scholars {
  grid-template-columns: 1fr;
}

.testimonials-page__scholar {
  border-radius: 28px;
  background: #ffffff;
}

.testimonials-page__scholar img {
  height: 260px;
  object-position: center top;
}

.testimonials-page__scholar-body {
  padding: 20px 22px 22px;
}

.testimonials-page__scholar-body strong {
  margin-top: 16px;
}

.testimonials-page__section--wall {
  background: #ffffff;
}

.testimonials-page__wall {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.testimonials-page__wall-card {
  padding: 20px 22px;
  border-radius: 24px;
}

.testimonials-page__wall-family {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonials-page__wall-avatar {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid rgba(255, 255, 255, 0.72);
}

.testimonials-page__wall-meta strong,
.testimonials-page__wall-meta span {
  display: block;
}

.testimonials-page__wall-card p {
  margin: 0;
  line-height: 1.75;
  color: var(--testimonial-ink);
}

.testimonials-page__wall-card.is-mint {
  background: var(--testimonial-mint);
}

.testimonials-page__wall-card.is-cream {
  background: var(--testimonial-cream);
}

.testimonials-page__wall-card.is-sage {
  background: var(--testimonial-sage);
}

.testimonials-page__wall-card.is-peach {
  background: var(--testimonial-peach);
}

.testimonials-page__section--placements {
  background: linear-gradient(180deg, #f5faf7 0%, #ffffff 100%);
}

.testimonials-page__logo-wall {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonials-page__logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--testimonial-emerald);
  text-align: center;
}

.testimonials-page__section--cta {
  background: #ffffff;
}

.testimonials-page__cta {
  padding: 34px 28px;
  border-radius: 34px;
  text-align: center;
  background: linear-gradient(135deg, #ff6b35 0%, #f28a2e 100%);
}

@media (min-width: 768px) {
  .testimonials-page__hero,
  .testimonials-page__section {
    padding: 92px 0;
  }

  .testimonials-page__review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-page__scholars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonials-page__wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-page__logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonials-page__cta {
    padding: 42px 34px;
  }
}

@media (min-width: 992px) {
  .testimonials-page__hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 28px;
  }

  .testimonials-page__story {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 34px;
  }

  .testimonials-page__review-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonials-page__wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonials-page__logo-wall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .testimonials-page__hero-copy {
    padding: 0;
  }

  .testimonials-page__hero-visual,
  .testimonials-page__hero-photo-wrap {
    min-height: 360px;
  }

  .testimonials-page__hero-photo-wrap {
    justify-content: center;
  }

  .testimonials-page__hero-main {
    width: min(100%, 430px);
    height: 380px;
  }
}

@media (max-width: 767.98px) {
  .testimonials-page__hero {
    min-height: auto;
  }

  .testimonials-page__hero-copy {
    padding: 0;
  }

  .testimonials-page__hero-quote {
    gap: 14px;
    margin-top: 26px;
  }

  .testimonials-page__hero-quote-mark {
    font-size: 2.9rem;
  }

  .testimonials-page__hero .testimonials-page__lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .testimonials-page__hero-visual,
  .testimonials-page__hero-photo-wrap {
    min-height: auto;
  }

  .testimonials-page__hero-main {
    width: min(100%, 340px);
    height: 320px;
  }

  .testimonials-page__hero-main img {
    object-position: center top;
  }

  .testimonials-page__video-card img {
    min-height: 320px;
  }

  .testimonials-page__logo-wall {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .testimonials-page__title {
    font-size: clamp(2.8rem, 11vw, 3.8rem) !important;
  }
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(10, 77, 60, 0.08);
  color: var(--primary);
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-section__intro {
  max-width: 720px;
  margin: 0 auto 36px;
}

.landing-heading {
  margin: 0 0 16px;
  font-family: "Roboto", sans-serif;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.landing-copy,
.landing-section__intro p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.8;
  color: rgba(30, 30, 46, 0.78);
}

.landing-about,
.landing-contact {
  display: grid;
  gap: 28px;
}

.landing-about__shape {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 42% 58% 54% 46% / 48% 38% 62% 52%;
  background: linear-gradient(
    135deg,
    rgba(10, 77, 60, 0.18) 0%,
    rgba(255, 107, 53, 0.14) 100%
  );
  padding: 18px;
  box-shadow: 0 24px 60px rgba(10, 77, 60, 0.12);
}

.landing-about__shape img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 40% 60% 50% 50% / 44% 40% 60% 56%;
}

.landing-about__facts {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.landing-about__fact {
  padding: 18px 20px;
  border: 1px solid rgba(10, 77, 60, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.landing-about__fact strong,
.landing-about__fact span {
  display: block;
  font-family: "Roboto", sans-serif;
}

.landing-about__fact strong {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
}

.landing-about__fact span {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(30, 30, 46, 0.72);
}

.landing-academics {
  display: grid;
  gap: 20px;
}

.landing-academics__grid {
  display: grid;
  gap: 16px;
}

.landing-academics__card,
.landing-performance,
.landing-testimonial,
.landing-step,
.landing-contact__detail,
.landing-form,
.landing-form__field input,
.landing-form__field textarea {
  border-radius: 24px;
}

.landing-academics__card,
.landing-performance,
.landing-testimonial,
.landing-step {
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(10, 77, 60, 0.08);
  box-shadow: 0 18px 40px rgba(30, 30, 46, 0.06);
}

.landing-section--academics .landing-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #f5e6c8;
}

.landing-section--academics .landing-heading,
.landing-section--academics .landing-section__intro p {
  color: #ffffff;
}

.landing-section--academics .landing-section__intro p,
.landing-section--academics .landing-copy {
  color: rgba(255, 255, 255, 0.8);
}

.landing-section--testimonials .landing-eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.landing-section--testimonials .landing-heading,
.landing-section--testimonials .landing-section__intro p,
.landing-section--testimonials .landing-copy {
  color: #ffffff;
}

.landing-academics__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(10, 77, 60, 0.08);
  color: var(--primary);
  font-size: 1.15rem;
}

.landing-academics__card h3,
.landing-step h3 {
  margin: 0 0 10px;
  font-family: "Roboto", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--dark);
}

.landing-academics__card p,
.landing-performance p,
.landing-step p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(30, 30, 46, 0.72);
}

.landing-performance {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
}

.landing-performance__header {
  margin-bottom: 20px;
}

.landing-performance__header span,
.landing-performance__header strong {
  display: block;
  font-family: "Roboto", sans-serif;
}

.landing-performance__header span {
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(10, 77, 60, 0.64);
}

.landing-performance__header strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
}

.landing-performance__chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 18px;
  min-height: 220px;
  margin-bottom: 18px;
  padding: 18px 14px 10px;
  border-radius: 20px;
  background: rgba(10, 77, 60, 0.04);
}

.landing-performance__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 100%;
}

.landing-performance__bar span {
  display: block;
  width: 100%;
  max-width: 44px;
  border-radius: 14px 14px 6px 6px;
}

.landing-performance__bar small {
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(30, 30, 46, 0.74);
}

.landing-performance__bar--green span {
  height: 82%;
  background: #0a4d3c;
}

.landing-performance__bar--orange span {
  height: 72%;
  background: #ff6b35;
}

.landing-performance__bar--champagne span {
  height: 64%;
  background: #e9d7b1;
}

.landing-gallery {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.landing-gallery__item {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(30, 30, 46, 0.08);
}

.landing-gallery__trigger {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.landing-gallery__item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  background: #fffdf8;
}

.landing-gallery__body {
  display: grid;
  gap: 8px;
  padding: 20px 20px 22px;
}

.landing-gallery__body strong,
.landing-gallery__body span {
  display: block;
  font-family: "Roboto", sans-serif;
}

.landing-gallery__body strong {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.landing-gallery__body span {
  color: rgba(30, 30, 46, 0.72);
  font-size: 0.96rem;
  line-height: 1.7;
}

.landing-gallery__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.landing-gallery__page {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(10, 77, 60, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: rgba(30, 30, 46, 0.7);
  font-family: "Roboto", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  transition: var(--transition);
}

.landing-gallery__page.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(10, 77, 60, 0.18);
}

.landing-gallery-modal .modal-content {
  position: relative;
  padding: 16px;
  border: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.landing-gallery-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 30, 46, 0.08);
  color: var(--dark);
}

.landing-gallery-modal__body {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  min-height: 60vh;
}

.landing-gallery-modal__body img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
  background: #fffdf8;
}

.landing-gallery-modal__nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 77, 60, 0.1);
  color: var(--primary);
}

.landing-gallery-modal__nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.landing-testimonials {
  display: grid;
  gap: 16px;
}

.landing-testimonial__person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.landing-testimonial__person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.landing-testimonial__person strong,
.landing-testimonial__person span {
  display: block;
  font-family: "Roboto", sans-serif;
}

.landing-testimonial__person strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
}

.landing-testimonial__person span {
  font-size: 0.88rem;
  color: rgba(30, 30, 46, 0.62);
}

.landing-testimonial p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(30, 30, 46, 0.78);
}

.landing-admissions {
  padding: 28px 0 0;
}

.landing-admissions__content {
  max-width: 720px;
  margin-bottom: 28px;
}

.landing-admissions__steps {
  display: grid;
  gap: 16px;
}

.landing-step__number {
  display: inline-flex;
  margin-bottom: 16px;
  color: rgba(10, 77, 60, 0.42);
  font-family: "Roboto", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-admissions__cta {
  margin-top: 24px;
}

.landing-contact__intro {
  max-width: 620px;
}

.landing-contact__details {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.landing-contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 77, 60, 0.08);
  color: var(--dark);
}

.landing-contact__detail i {
  color: var(--primary);
}

.landing-contact__detail span {
  color: rgba(30, 30, 46, 0.82);
}

.landing-contact__socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.landing-contact__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(10, 77, 60, 0.1);
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(30, 30, 46, 0.06);
}

.landing-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(10, 77, 60, 0.08);
  box-shadow: 0 18px 40px rgba(30, 30, 46, 0.06);
}

.landing-form--embed {
  padding: 14px;
}

.landing-form--embed iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
}

.landing-form__field label {
  display: block;
  margin-bottom: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(30, 30, 46, 0.76);
}

.landing-form__field input,
.landing-form__field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(10, 77, 60, 0.12);
  background: #fffdf8;
  font-size: 1rem;
  color: var(--dark);
}

.landing-form__field textarea {
  min-height: 140px;
  resize: vertical;
}

.landing-footer {
  padding: 22px 0 34px;
  background: #ffffff;
}

.landing-footer__inner {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(10, 77, 60, 0.1);
}

.landing-footer__inner p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(30, 30, 46, 0.72);
}

.landing-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.landing-footer__links a {
  color: rgba(30, 30, 46, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
}

.landing-admissions-modal .modal-dialog {
  max-width: min(1120px, calc(100vw - 24px));
}

.landing-admissions-modal .modal-content {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(30, 30, 46, 0.18);
}

.landing-admissions-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 0;
}

.landing-admissions-modal__header h2 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary);
}

.landing-admissions-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 77, 60, 0.12);
  color: var(--primary);
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(10, 77, 60, 0.08);
}

.landing-admissions-modal__close i {
  display: block;
  font-size: 1rem;
  line-height: 1;
  color: currentColor;
}

.landing-admissions-modal__body {
  padding: 12px 18px 18px;
}

.landing-admissions-modal__body iframe {
  display: block;
  width: 100%;
  min-height: 78vh;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
}

@media (min-width: 768px) {
  .landing-section {
    padding: 92px 0;
  }

  .landing-academics__grid,
  .landing-testimonials,
  .landing-admissions__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .landing-about,
  .landing-contact {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 56px;
  }

  .landing-about__media {
    order: 2;
  }

  .landing-about__content {
    order: 1;
  }

  .landing-academics {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
    gap: 24px;
  }

  .landing-academics__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-admissions__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-contact {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  }
}

@media (max-width: 767.98px) {
  .landing-admissions-modal__header {
    padding: 14px 14px 0;
  }

  .landing-admissions-modal__body {
    padding: 10px 14px 14px;
  }

  .landing-admissions-modal__body iframe {
    min-height: 72vh;
  }
}

@media (max-width: 767.98px) {
  .landing-form--embed iframe {
    min-height: 760px;
  }

  .landing-about__shape img {
    height: 360px;
  }

  .landing-gallery-modal__body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing-gallery-modal__nav {
    position: static;
    justify-self: center;
  }
}

/* Next Section Refresh */
.experience-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(10, 77, 60, 0.08) 0,
      rgba(10, 77, 60, 0) 28%
    ),
    linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.experience-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 12px 0;
}

.experience-panel__copy {
  max-width: 620px;
}

.experience-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(10, 77, 60, 0.08);
  color: var(--primary);
  font-family: "Roboto", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-panel__title {
  margin: 0 0 20px;
  font-family: "Roboto", sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.experience-panel__text {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(30, 30, 46, 0.86);
}

.experience-panel__list {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.experience-panel__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 77, 60, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(30, 30, 46, 0.06);
}

.experience-panel__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(10, 77, 60, 0.14) 0%,
    rgba(255, 107, 53, 0.14) 100%
  );
  color: var(--primary);
  font-size: 1.15rem;
}

.experience-panel__item h3 {
  margin: 0 0 8px;
  font-family: "Roboto", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dark);
}

.experience-panel__item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(30, 30, 46, 0.74);
}

.experience-panel__visual {
  position: relative;
  min-height: 560px;
}

.experience-panel__campus-card {
  position: relative;
  overflow: hidden;
  max-width: 560px;
  margin-left: auto;
  min-height: 460px;
  border: 1px solid rgba(10, 77, 60, 0.08);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(30, 30, 46, 0.12);
}

.experience-panel__campus-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 34px;
}

.experience-panel__campus-overlay {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 320px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 32px rgba(30, 30, 46, 0.12);
}

.experience-panel__campus-overlay small,
.experience-panel__campus-overlay strong,
.experience-panel__visual-note strong,
.experience-panel__visual-note span {
  display: block;
  font-family: "Roboto", sans-serif;
}

.experience-panel__campus-overlay small {
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 77, 60, 0.62);
}

.experience-panel__campus-overlay strong {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--dark);
}

.experience-panel__visual-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 18px 0 0 auto;
}

.experience-panel__visual-note {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 77, 60, 0.08);
  box-shadow: 0 14px 26px rgba(30, 30, 46, 0.06);
}

.experience-panel__visual-note strong {
  margin-bottom: 6px;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--dark);
}

.experience-panel__visual-note span {
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(30, 30, 46, 0.68);
}

@media (max-width: 1199.98px) {
  .experience-panel {
    grid-template-columns: 1fr;
  }

  .experience-panel__copy {
    max-width: 100%;
  }

  .experience-panel__visual {
    min-height: auto;
  }

  .experience-panel__campus-card,
  .experience-panel__visual-details {
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .experience-panel__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .experience-panel__item {
    grid-template-columns: 1fr;
  }

  .experience-panel__campus-card {
    min-height: 0;
  }

  .experience-panel__campus-card img {
    height: 340px;
  }

  .experience-panel__visual-details {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .experience-panel__campus-overlay {
    right: 14px;
    left: 14px;
    bottom: 14px;
    max-width: none;
  }
}

.about-section {
  background: #ffffff;
}

.about-panel__copy {
  max-width: 600px;
}

.about-panel__eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(10, 77, 60, 0.08);
  color: var(--primary);
  font-family: "Roboto", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-panel__title {
  margin: 0 0 20px;
  font-family: "Roboto", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.about-panel__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.about-panel__stat {
  padding: 18px 20px;
  border-radius: 22px;
  background: #fffdf8;
  border: 1px solid rgba(10, 77, 60, 0.08);
}

.about-panel__stat strong,
.about-panel__stat span {
  display: block;
  font-family: "Roboto", sans-serif;
}

.about-panel__stat strong {
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

.about-panel__stat span {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(30, 30, 46, 0.68);
}

.about-panel__visual {
  position: relative;
  max-width: 560px;
  margin-left: auto;
  min-height: 560px;
}

.about-panel__visual-main,
.about-panel__visual-secondary {
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(30, 30, 46, 0.12);
}

.about-panel__visual-main {
  width: 100%;
}

.about-panel__visual-main img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 30px;
}

.about-panel__visual-secondary {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 230px;
  border: 10px solid #ffffff;
}

.about-panel__visual-secondary img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 22px;
}

.about-panel__visual-card {
  position: absolute;
  right: 0;
  bottom: 26px;
  max-width: 245px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 36px rgba(30, 30, 46, 0.12);
}

.about-panel__visual-card small,
.about-panel__visual-card strong {
  display: block;
  font-family: "Roboto", sans-serif;
}

.about-panel__visual-card small {
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 77, 60, 0.62);
}

.about-panel__visual-card strong {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
}

@media (max-width: 1199.98px) {
  .about-panel__copy {
    max-width: 100%;
  }

  .about-panel__visual {
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .about-panel__stats {
    grid-template-columns: 1fr;
  }

  .about-panel__visual {
    min-height: auto;
  }

  .about-panel__visual-main img {
    height: 320px;
  }

  .about-panel__visual-secondary,
  .about-panel__visual-card {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 14px;
  }
}

/* About Page */
.about-page {
  background: #ffffff;
}

.about-page .container,
.about-page__cta .container {
  max-width: 1240px !important;
  margin: 0 auto;
  padding: 0 20px;
}

.about-page__hero,
.about-page__section,
.about-page__cta {
  padding: 72px 0;
}

.about-page__hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      180deg,
      rgba(10, 77, 60, 0.68) 0%,
      rgba(30, 30, 46, 0.58) 100%
    ),
    url("https://res.cloudinary.com/dxoorukfj/image/upload/v1776695421/DXT6_zz69gq.png")
      center center / cover no-repeat;
}

.about-page__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 107, 53, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(245, 230, 200, 0.12),
      transparent 28%
    );
  pointer-events: none;
}

.about-page__hero .container {
  position: relative;
  z-index: 1;
}

.about-page__section--vision,
.about-page__section--story,
.about-page__section--reasons {
  background: #ffffff;
}

.about-page__section--values,
.about-page__section--faculty {
  background: #ff6b35;
}

.about-page__section--message {
  background: #0a4d3c;
}

.about-page__hero-grid,
.about-page__story,
.about-page__message {
  display: grid;
  gap: 28px;
}

.about-page__hero-grid {
  grid-template-columns: 1fr;
}

.about-page__hero-copy {
  max-width: 760px;
}

.about-page [data-reveal] {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 46px, 0) scale(0.985);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}

.about-page [data-reveal="left"] {
  transform: translate3d(-52px, 34px, 0) scale(0.985);
}

.about-page [data-reveal="right"] {
  transform: translate3d(52px, 34px, 0) scale(0.985);
}

.about-page [data-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.about-page [data-parallax] {
  will-change: transform;
}

.about-page__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(10, 77, 60, 0.08);
  color: var(--primary);
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-page__title,
.about-page__heading {
  margin: 0 0 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.about-page__title {
  font-size: clamp(2.5rem, 8vw, 5.4rem);
}

.about-page__heading {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.about-page__lead,
.about-page__copy,
.about-page__section-intro p,
.about-page__panel p,
.about-page__value p,
.about-page__reason p,
.about-page__faculty-card p {
  margin: 0;
  color: rgba(30, 30, 46, 0.78);
  font-size: 1rem;
  line-height: 1.8;
}

.about-page__hero .about-page__eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #f5e6c8;
}

.about-page__section--values .about-page__eyebrow,
.about-page__section--faculty .about-page__eyebrow,
.about-page__section--message .about-page__eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.about-page__hero .about-page__title,
.about-page__hero .about-page__lead {
  color: #ffffff;
}

.about-page__section--values .about-page__heading,
.about-page__section--values .about-page__section-intro p,
.about-page__section--faculty .about-page__heading,
.about-page__section--message .about-page__heading {
  color: #ffffff;
}

.about-page__section--values .about-page__section-intro p,
.about-page__section--faculty .about-page__faculty-head p {
  color: rgba(255, 255, 255, 0.84);
}

.about-page__section-intro {
  max-width: 760px;
  margin: 0 auto 36px;
}

.about-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.about-page__actions--center {
  justify-content: center;
}

.about-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 1.5px solid rgba(10, 77, 60, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary);
  font-family: "Roboto", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  text-align: center;
}

.about-page__button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.about-page__hero .about-page__button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.about-page__hero .about-page__button:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.about-page__hero .btn.btn-primary {
  background: #ff6b35;
  box-shadow: none;
}

.about-page__hero .btn.btn-primary:hover {
  background: #e75b29;
}

.about-page__hero-visual,
.about-page__story-visual,
.about-page__message-visual {
  position: relative;
}

.about-page__hero-image,
.about-page__story-image,
.about-page__message-image {
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: none;
}

.about-page__hero-image img,
.about-page__story-image img,
.about-page__message-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.about-page__hero-image img {
  min-height: 360px;
}

.about-page__hero-badge,
.about-page__story-quote {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 77, 60, 0.08);
  box-shadow: none;
}

.about-page__hero-badge {
  max-width: 320px;
}

.about-page__hero-badge strong,
.about-page__hero-badge span,
.about-page__story-quote small,
.about-page__story-quote strong,
.about-page__signature strong,
.about-page__signature span,
.about-page__stat strong,
.about-page__stat span,
.about-page__faculty-mark {
  display: block;
  font-family: "Roboto", sans-serif;
}

.about-page__hero-badge strong,
.about-page__story-quote strong {
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--dark);
}

.about-page__hero-badge span,
.about-page__story-quote small,
.about-page__signature span,
.about-page__stat span,
.about-page__faculty-mark {
  color: rgba(30, 30, 46, 0.62);
}

.about-page__story-quote small,
.about-page__faculty-mark {
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-page__split,
.about-page__values,
.about-page__reasons,
.about-page__faculty-grid,
.about-page__stats {
  display: grid;
  gap: 18px;
}

.about-page__panel,
.about-page__value,
.about-page__reason,
.about-page__faculty-card,
.about-page__message-card,
.about-page__stat {
  padding: 24px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(10, 77, 60, 0.08);
  box-shadow: none;
}

.about-page__section--values .about-page__value,
.about-page__section--faculty .about-page__faculty-card,
.about-page__section--message .about-page__message-card {
  box-shadow: none;
}

.about-page__panel--accent {
  background: linear-gradient(
    180deg,
    rgba(10, 77, 60, 0.98) 0%,
    rgba(10, 77, 60, 0.92) 100%
  );
  border-color: transparent;
}

.about-page__panel--accent h3,
.about-page__panel--accent p,
.about-page__panel--accent .about-page__panel-icon {
  color: #ffffff;
}

.about-page__panel--accent .about-page__panel-icon {
  background: rgba(255, 255, 255, 0.12);
}

.about-page__panel--accent .about-page__mission-title {
  color: #f5e6c8;
}

.about-page__panel-icon,
.about-page__value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(10, 77, 60, 0.08);
  color: var(--primary);
  font-size: 1.18rem;
}

.about-page__panel h3,
.about-page__value h3,
.about-page__reason h3,
.about-page__faculty-card h3 {
  margin: 0 0 10px;
  font-family: "Roboto", sans-serif;
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--dark);
}

.about-page__stats {
  margin-top: 24px;
}

.about-page__stat strong {
  margin-bottom: 6px;
  font-size: 1.04rem;
  color: var(--primary);
}

.about-page__message-card {
  align-self: center;
}

.about-page__section--message .about-page__message-card {
  background: #ffffff;
}

.about-page__section--message .about-page__message-card .about-page__eyebrow {
  background: rgba(10, 77, 60, 0.08);
  color: var(--primary);
}

.about-page__section--message .about-page__message-card .about-page__heading {
  color: var(--primary);
}

.about-page__section--message .about-page__message-card .about-page__copy,
.about-page__section--message
  .about-page__message-card
  .about-page__signature
  span {
  color: rgba(30, 30, 46, 0.78);
}

.about-page__section--message
  .about-page__message-card
  .about-page__signature
  strong {
  color: var(--dark);
}

.about-page__message-image img {
  min-height: 360px;
}

.about-page__signature {
  margin-top: 26px;
}

.about-page__signature strong {
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--dark);
}

.about-page__faculty-head {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.about-page__section--faculty .about-page__button {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--primary);
}

.about-page__list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.about-page__list li {
  margin-bottom: 8px;
  color: rgba(30, 30, 46, 0.74);
  line-height: 1.7;
}

.about-page__cta {
  background: #ffffff;
}

.about-page__cta-card {
  padding: 32px 24px;
  border-radius: 32px;
  text-align: center;
  background: linear-gradient(180deg, #0a4d3c 0%, #083a2d 100%);
  box-shadow: none;
}

.about-page__cta-card .about-page__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #f5e6c8;
}

.about-page__cta-card .about-page__heading,
.about-page__cta-card .about-page__copy {
  color: #ffffff;
}

.about-page__cta-card .about-page__button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.about-page__cta-card .about-page__button:hover {
  border-color: #ffffff;
  color: #ffffff;
}

@media (min-width: 768px) {
  .about-page__hero,
  .about-page__section,
  .about-page__cta {
    padding: 92px 0;
  }

  .about-page__split,
  .about-page__values,
  .about-page__reasons,
  .about-page__faculty-grid,
  .about-page__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page__faculty-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

@media (min-width: 992px) {
  .about-page__story,
  .about-page__message {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
  }

  .about-page__values,
  .about-page__reasons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-page__faculty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-page__story-quote {
    position: absolute;
    left: -22px;
    bottom: 18px;
    max-width: 290px;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page [data-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .about-page [data-parallax] {
    transform: none !important;
  }
}

/* Homepage Hero */
.hero-section-wrapper {
  padding: 0;
}

.school-hero {
  position: relative;
  width: 100%;
  min-height: 720px;
  margin: 0;
  padding: 0 24px;
  overflow: hidden;
  background: var(--light);
  border-radius: 0;
  box-shadow: 0 24px 54px rgba(10, 77, 60, 0.08);
}

.school-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.school-hero__streaks {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
}

.school-hero__streaks--mobile {
  display: none;
}

.school-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(470px, 560px);
  align-items: center;
  gap: clamp(28px, 5vw, 92px);
  max-width: 1320px;
  min-height: 720px;
  margin: 0 auto;
  padding: 52px 24px;
}

.school-hero__content,
.school-hero__visual {
  position: relative;
  z-index: 1;
}

.school-hero__content {
  max-width: 600px;
}

.school-hero__title {
  margin: 0 0 28px;
  font-family: "Roboto", sans-serif;
  font-size: clamp(3.6rem, 5vw, 5.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--primary);
  opacity: 0;
  will-change: transform, opacity;
  animation: heroTextReveal 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.school-hero__spark {
  display: inline-block;
  color: var(--accent);
  animation: heroSparkPop 0.82s cubic-bezier(0.34, 1.56, 0.64, 1) 1.18s both;
}

.school-hero__text {
  max-width: 445px;
  margin-bottom: 34px;
  font-family: "Roboto", sans-serif;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--charcoal, var(--dark));
  opacity: 0;
  will-change: transform, opacity;
  animation: heroTextReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.school-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  will-change: transform, opacity;
  animation: heroTextReveal 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both;
}

.school-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 205px;
  min-height: 60px;
  padding: 16px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(10, 77, 60, 0.12);
}

.school-hero__btn:hover {
  transform: translateY(-2px);
}

.school-hero__btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, #0d5a46 100%);
}

.school-hero__btn--primary:hover {
  color: var(--white);
}

.school-hero__btn--secondary {
  color: var(--primary);
  border-color: rgba(10, 77, 60, 0.65);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.school-hero__btn--secondary:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.7);
}

.school-hero__visual {
  justify-self: end;
  width: 100%;
  max-width: 500px;
  min-height: 520px;
}

.school-hero__photo-card {
  position: absolute;
  padding: 0;
  opacity: 0;
  border-radius: 28px;
  overflow: visible;
  box-shadow: 0 26px 40px rgba(30, 30, 46, 0.14);
  will-change: transform, opacity;
  animation-name: heroCardEnter;
  animation-duration: var(--hero-card-duration, 0.95s);
  animation-delay: var(--hero-card-delay, 0s);
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}

.school-hero__photo-media {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  overflow: visible;
}

.school-hero__photo-media img {
  position: absolute;
  top: -18px;
  left: -8px;
  display: block;
  width: calc(100% + 16px);
  height: calc(100% + 28px);
  max-width: none;
  object-fit: cover;
  border-radius: 24px;
  object-position: center top;
  clip-path: inset(-10 0px -10px -10px round 2px);
}

.school-hero__card-bg {
  position: absolute;
  inset: 0;
  border-radius: 28px;
}

.school-hero__card-bg--green {
  background: #0a4d3c;
}

.school-hero__card-bg--orange {
  background: #ff6b35;
}

.school-hero__card-bg--champagne {
  background: #dce5c8;
}

.school-hero__photo-card--center {
  --hero-final-rotate: -8deg;
  --hero-entry-x: -140px;
  --hero-entry-y: 120px;
  --hero-entry-rotate: -24deg;
  --hero-card-delay: 0.9s;
  --hero-card-duration: 1.5s;
  top: 124px;
  left: 78px;
  width: 252px;
  height: 316px;
  isolation: isolate;
  transform: rotate(var(--hero-final-rotate));
}

.school-hero__photo-card--top {
  --hero-final-rotate: 4deg;
  --hero-entry-x: 150px;
  --hero-entry-y: -130px;
  --hero-entry-rotate: 18deg;
  --hero-card-delay: 1.65s;
  --hero-card-duration: 1.42s;
  top: 28px;
  right: 26px;
  width: 198px;
  height: 236px;
  transform: rotate(var(--hero-final-rotate));
}

.school-hero__photo-card--bottom {
  --hero-final-rotate: 8deg;
  --hero-entry-x: 135px;
  --hero-entry-y: 145px;
  --hero-entry-rotate: 22deg;
  --hero-card-delay: 2.4s;
  --hero-card-duration: 1.46s;
  right: 34px;
  bottom: 48px;
  width: 204px;
  height: 186px;
  transform: rotate(var(--hero-final-rotate));
}

.school-hero__badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow: 0 20px 36px rgba(30, 30, 46, 0.12);
  opacity: 0;
  will-change: transform, opacity;
  animation: heroBadgeReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1)
    var(--hero-badge-delay, 0s) both;
}

.school-hero__badge strong,
.school-hero__badge span {
  display: block;
  margin: 0;
  font-family: "Roboto", sans-serif;
  line-height: 1.1;
}

.school-hero__badge strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--charcoal, var(--dark));
}

.school-hero__badge span {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--charcoal, var(--dark));
}

.school-hero__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--primary);
  background: rgba(10, 77, 60, 0.1);
  border-radius: 50%;
  font-size: 1rem;
}

.school-hero__badge--top {
  --hero-badge-delay: 2.35s;
  top: 38px;
  left: 26px;
}

.school-hero__badge--bottom {
  --hero-badge-delay: 4.25s;
  bottom: 24px;
  left: 12px;
  gap: 16px;
}

.school-hero__badge--bottom strong {
  font-size: 1.8rem;
}

.school-hero__badge--bottom span {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(30, 30, 46, 0.85);
}

.school-hero__avatars {
  display: flex;
  align-items: center;
  padding-left: 4px;
}

.school-hero__avatars img {
  width: 42px;
  height: 42px;
  margin-left: -11px;
  border: 3px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(30, 30, 46, 0.12);
}

.school-hero__avatars img:first-child {
  margin-left: 0;
}

/* Story Modal Styling */
.about-page__button {
  display: inline-block;
  padding: 10px 24px;
  background: var(--primary, #0a4d3c);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
  margin-top: 20px;
}

.about-page__button:hover {
  background: var(--primary-dark, #063a2d);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 77, 60, 0.3);
  color: white;
  text-decoration: none;
}

.about-page__button i {
  margin-left: 8px;
}

/* Modal Styling */
.modal {
  z-index: 1050 !important;
}

.modal-backdrop {
  z-index: 1040 !important;
}

.modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: auto;
  max-height: calc(100vh - 3.5rem);
}

.modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-height: calc(100vh - 3.5rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-header {
  background: linear-gradient(
    135deg,
    var(--primary, #0a4d3c) 0%,
    var(--primary-dark, #063a2d) 100%
  );
  color: white;
  border-radius: 12px 12px 0 0 !important;
  flex-shrink: 0;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-title {
  font-weight: 700;
  font-size: 1.5rem;
}

.about-page__story-modal-content {
  line-height: 1.8;
  color: #333;
}

.about-page__story-modal-content h4 {
  color: var(--primary, #0a4d3c);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.about-page__story-modal-content h5 {
  color: var(--primary, #0a4d3c);
  font-weight: 600;
  font-size: 1.1rem;
}

.about-page__story-modal-content p {
  margin-bottom: 15px;
  text-align: justify;
  color: #555;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.modal-footer {
  background: #f8f9fa;
  border-radius: 0 0 12px 12px;
  flex-shrink: 0;
}

.modal-footer .btn-secondary {
  background: #6c757d;
  border: none;
  padding: 8px 24px;
  border-radius: 6px;
}

.modal-footer .btn-secondary:hover {
  background: #5a6268;
}

@media (max-width: 768px) {
  .about-page__button {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .modal-dialog {
    margin: 0.5rem;
    max-height: calc(100vh - 1rem);
  }

  .modal-content {
    max-height: calc(100vh - 1rem);
  }

  .about-page__story-modal-content p {
    text-align: left;
  }
}

@keyframes heroCardEnter {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translate(var(--hero-entry-x), var(--hero-entry-y))
      rotate(var(--hero-entry-rotate)) scale(0.76);
  }
  58% {
    opacity: 1;
    filter: blur(0);
  }
  82% {
    opacity: 1;
    filter: blur(0);
    transform: translate(
        calc(var(--hero-entry-x) * -0.05),
        calc(var(--hero-entry-y) * -0.05)
      )
      rotate(calc(var(--hero-final-rotate) + 1.5deg)) scale(1.03);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate(0, 0) rotate(var(--hero-final-rotate)) scale(1);
  }
}

@keyframes heroTextReveal {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSparkPop {
  0% {
    opacity: 0;
    transform: scale(0.35) rotate(-18deg);
  }
  65% {
    opacity: 1;
    transform: scale(1.18) rotate(8deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes heroBadgeReveal {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .school-hero__title,
  .school-hero__text,
  .school-hero__actions,
  .school-hero__spark,
  .school-hero__badge,
  .school-hero__photo-card {
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 1199.98px) {
  .school-hero {
    padding: 0 18px;
  }

  .school-hero__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 44px 18px 38px;
  }

  .school-hero__visual {
    min-height: 520px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .school-hero__photo-card--center {
    top: 124px;
    left: 78px;
    width: 252px;
    height: 316px;
  }

  .school-hero__photo-card--top {
    top: 28px;
    right: 26px;
    width: 198px;
    height: 236px;
  }

  .school-hero__photo-card--bottom {
    right: 34px;
    bottom: 48px;
    width: 204px;
    height: 186px;
  }
}

@media (max-width: 767.98px) {
  .hero-section-wrapper {
    padding: 0;
  }

  .school-hero {
    padding: 0 12px;
  }

  .school-hero__streaks--desktop {
    display: none;
  }

  .school-hero__streaks--mobile {
    display: block;
    opacity: 0.76;
  }

  .school-hero__inner {
    padding: 32px 6px 28px;
    gap: 20px;
  }

  .school-hero__title {
    margin-bottom: 18px;
    font-size: clamp(2.6rem, 10vw, 3.7rem) !important;
  }

  .school-hero__text {
    margin-bottom: 26px;
    font-size: 1.1rem;
  }

  .school-hero__actions {
    gap: 12px;
  }

  .school-hero__btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 14px 20px;
  }

  .school-hero__visual {
    max-width: 360px;
    min-height: 410px;
    margin: 0 auto;
  }

  .school-hero__photo-card--center {
    top: 104px;
    left: 34px;
    width: 178px;
    height: 222px;
  }

  .school-hero__photo-card--top {
    top: 30px;
    right: 24px;
    width: 152px;
    height: 182px;
  }

  .school-hero__photo-card--bottom {
    right: 20px;
    bottom: 34px;
    width: 160px;
    height: 148px;
  }

  .school-hero__badge {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .school-hero__badge strong,
  .school-hero__badge span {
    font-size: 1rem;
  }

  .school-hero__badge--bottom strong {
    font-size: 1.05rem;
  }

  .school-hero__badge--bottom span {
    font-size: 0.78rem;
  }

  .school-hero__badge--top {
    top: 10px;
    left: 0;
  }

  .school-hero__badge--bottom {
    left: 0;
    bottom: 6px;
  }

  .school-hero__avatars img {
    width: 34px;
    height: 34px;
  }
}

/* Section Padding */
section.py-5 {
  padding: 60px 0 !important;
}

@media (max-width: 768px) {
  section.py-5 {
    padding: 40px 0 !important;
  }
}

/* Card & Border Radius Improvements */
.card,
[class*="item"] {
  border-radius: 12px;
  border: none;
  transition: var(--transition);
}

/* Enhanced Form Styling - APPOINTMENT */
.appointment-section {
  background: linear-gradient(
    135deg,
    rgba(255, 245, 243, 0.9) 0%,
    rgba(248, 249, 250, 0.9) 100%
  );
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}

.appointment-section h2 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 2rem;
}

.appointment-section > p {
  color: #666;
  margin-bottom: 30px;
}

/* Enhanced CTA Sections */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(254, 93, 55, 0.08) 0%,
    rgba(230, 69, 32, 0.08) 100%
  );
  padding: 60px 40px;
  border-radius: 16px;
  border-left: 6px solid var(--primary);
  margin: 40px 0;
}

.cta-section h2 {
  color: var(--dark);
  margin-bottom: 20px;
  font-size: 2rem;
}

.cta-section p {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.cta-section .btn {
  margin-top: 15px;
}

/* Classes Section Header Styling */
.text-center.mx-auto.mb-5 {
  animation: fadeInUp 0.8s ease-out;
}

.text-center.mx-auto.mb-5 h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px !important;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  text-align: center;
}

.text-center.mx-auto.mb-5 h1::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 2px;
  transition: var(--transition);
}

.text-center.mx-auto.mb-5:hover h1::after {
  width: 100px;
}

.text-center.mx-auto.mb-5 p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 500;
  margin-top: 30px;
}

/* Gallery Section Styling */
.gallery-item {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: linear-gradient(
    135deg,
    rgba(255, 245, 243, 0.5) 0%,
    rgba(248, 249, 250, 0.5) 100%
  );
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(16, 55, 65, 0.1);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(254, 93, 55, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 3;
}

.gallery-overlay i {
  font-size: 3rem;
  color: #ffffff;
  transition: var(--transition);
  transform: scale(0.8);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(254, 93, 55, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* Gallery Modal Styling */
#galleryModal .modal-content {
  background: rgba(0, 0, 0, 0.95) !important;
}

#galleryModal .modal-body {
  padding: 30px;
}

#galleryImage {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
}

.cursor-pointer {
  cursor: pointer;
}

/* Enhanced Form Controls */
.form-control,
.form-select {
  border: 2px solid var(--gray-medium);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(254, 93, 55, 0.15);
}

/* Image Styling */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: var(--transition);
}

/* Text Utilities */
.text-primary {
  transition: var(--transition);
}

a {
  transition: var(--transition);
  text-decoration: none;
}

/* Blockquote Enhancement */
blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin-left: 0;
  font-style: italic;
  color: var(--dark);
}

/* List Styling */
ul,
ol {
  padding-left: 25px;
}

ul li,
ol li {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* Hover Effects for Links */
a:not(.btn):hover {
  color: var(--primary);
}

/* Badge Enhancement */
.badge {
  padding: 8px 12px;
  border-radius: 20px;
  font-weight: 500;
  transition: var(--transition);
}

.badge.bg-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  ) !important;
  box-shadow: var(--shadow-md);
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Table Enhancement */
.table {
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.table thead {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: #ffffff;
}

.table tbody tr {
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-medium);
}

.table tbody tr:hover {
  background-color: var(--light);
  box-shadow: inset 0 0 0 0 var(--shadow-sm);
}

/* Pagination Enhancement */
.pagination {
  gap: 5px;
}

.page-link {
  border-radius: 6px;
  border: 2px solid var(--gray-medium);
  color: var(--dark);
  transition: var(--transition);
  margin: 0 3px;
}

.page-link:hover {
  background-color: var(--light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.page-link.active {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-color: var(--primary);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for fade-in elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Responsive Text Scaling */
@media (max-width: 768px) {
  h1,
  .display-1 {
    font-size: 2rem !important;
  }

  .about-page__title {
    font-size: clamp(2.75rem, 11vw, 3.6rem) !important;
  }

  .staff-page__title {
    font-size: clamp(2.85rem, 11vw, 3.7rem) !important;
  }

  h2,
  .display-2 {
    font-size: 1.75rem !important;
  }

  h3,
  .display-3 {
    font-size: 1.5rem !important;
  }
}

/* Enhanced Overlay Effects */
.overlay {
  position: relative;
  overflow: hidden;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(254, 93, 55, 0.1);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.overlay:hover::before {
  opacity: 1;
}

/* Breadcrumb Enhancement */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

.breadcrumb-item {
  transition: var(--transition);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-item a {
  color: var(--dark);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

/* Loading State */
.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Vertical Rhythm */
p {
  margin-bottom: 1.5rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Enhanced Container with Background */
.section-bg {
  background: linear-gradient(
    135deg,
    var(--light) 0%,
    rgba(255, 245, 243, 0.5) 100%
  );
  border-radius: 12px;
  padding: 40px;
}

/* Decorative Elements */
.decoration-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 8px;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }

  a {
    text-decoration: underline;
  }
}

/* Portal button */
.btn-portal {
  background: #f8f9fa;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  font-weight: 500;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.btn-portal:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
}
