@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --green-950: #073f36;
  --green-900: #075d4e;
  --green-800: #087761;
  --green-700: #0c8a70;
  --green-100: #e5f4ef;
  --green-50: #f3faf7;
  --ink: #123e39;
  --muted: #6b817d;
  --line: #dfeae6;
  --cream: #fbfcfa;
  --white: #fff;
  --yellow: #f2bd55;
  --shadow: 0 20px 60px rgba(14, 68, 59, .09);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden
}

body.menu-open {
  overflow: hidden
}

a {
  text-decoration: none;
  color: inherit
}

button {
  font: inherit
}

.container {
  width: var(--container);
  margin-inline: auto
}

.section {
  padding: 92px 0
}

.section-sm {
  padding: 30px 0
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 234, 230, .7)
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.brand-mark {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--green-900);
  color: #e7c35e;
  flex: none
}

.brand-mark svg {
  width: 32px;
  height: 32px
}

.brand strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  display: block;
  line-height: 1.2
}

.brand small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 3px
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  color: #58706c
}

.main-nav>a {
  position: relative;
  padding: 27px 0;
  transition: .25s
}

.main-nav>a:not(.nav-cta):hover,
.main-nav>a.active {
  color: var(--green-900)
}

.main-nav>a:not(.nav-cta).active:after {
  content: "";
  position: absolute;
  bottom: 17px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px
}

.nav-cta {
  background: var(--green-900);
  color: #fff !important;
  padding: 11px 18px !important;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(7, 93, 78, .18)
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  cursor: pointer
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 3px;
  transition: .25s
}

.hero {
  position: relative;
  min-height: 620px;
  padding-top: 82px;
  padding-bottom: 70px;
  background: linear-gradient(180deg, #f8fcfa 0%, #fff 100%);
  overflow: hidden
}

.hero-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 55px;
  align-items: center
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em
}

.eyebrow {
  background: var(--green-100);
  border-radius: 999px;
  padding: 7px 13px;
  margin-bottom: 20px
}

.hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(43px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -.045em;
  max-width: 650px
}

.hero h1 span {
  color: var(--green-800)
}

.hero p {
  font-size: 16px;
  color: #667d78;
  max-width: 570px;
  margin: 22px 0 28px
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 700;
  transition: .3s;
  cursor: pointer
}

.btn-primary {
  background: var(--green-900);
  color: #fff;
  box-shadow: 0 12px 24px rgba(7, 93, 78, .18)
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(7, 93, 78, .25)
}

.btn-outline {
  border: 1px solid #a9c7c0;
  background: #fff;
  color: var(--green-900)
}

.btn-outline:hover {
  background: var(--green-50);
  transform: translateY(-3px)
}

.btn-light {
  background: #fff;
  color: var(--green-900)
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 34px
}

.hero-meta div {
  display: flex;
  flex-direction: column
}

.hero-meta strong {
  font-size: 20px;
  color: var(--green-900)
}

.hero-meta span {
  font-size: 10px;
  color: var(--muted)
}

.hero-visual {
  position: relative;
  min-height: 475px
}

.hero-photo {
  height: 475px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden
}

.photo-campus {
  background:
    linear-gradient(120deg, rgba(8, 119, 97, .1), rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(7, 63, 54, .1)),
    url("https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1200&q=85") center/cover
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  padding: 13px 16px;
  border: 1px solid rgba(223, 234, 230, .9);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(7, 63, 54, .12);
  animation: float 4s ease-in-out infinite
}

.floating-card strong,
.floating-card small {
  display: block
}

.floating-card strong {
  font-size: 12px
}

.floating-card small {
  font-size: 9px;
  color: var(--muted)
}

.floating-card-top {
  top: 45px;
  left: -30px
}

.floating-card-bottom {
  bottom: 35px;
  right: -30px
}

.mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff4d7;
  color: #b77a10;
  display: grid;
  place-items: center
}

.avatar-stack {
  display: flex
}

.avatar-stack i {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -6px;
  background: linear-gradient(135deg, #d4a27d, #f1d2bd)
}

.avatar-stack i:first-child {
  margin-left: 0;
  background: #7ea5a0
}

.avatar-stack i:last-child {
  background: #d9b6a1
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none
}

.orb-one {
  width: 420px;
  height: 420px;
  left: -250px;
  top: 160px;
  background: rgba(211, 239, 231, .4)
}

.orb-two {
  width: 300px;
  height: 300px;
  right: -160px;
  top: 60px;
  background: rgba(245, 224, 173, .24)
}

.feature-strip {
  background: #fff
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 65, 57, .05)
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px 24px;
  border-right: 1px solid var(--line)
}

.feature-item:last-child {
  border-right: 0
}

.feature-icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: 700
}

.icon-green {
  background: #e2f3ed;
  color: #16806d
}

.icon-blue {
  background: #e4effa;
  color: #3585c8
}

.icon-yellow {
  background: #fff1d8;
  color: #cf8c17
}

.icon-purple {
  background: #eeeafd;
  color: #7663cf
}

.feature-item h3 {
  font-size: 13px;
  margin-bottom: 2px
}

.feature-item p {
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted)
}

.profile-grid {
  display: grid;
  grid-template-columns: 250px 1fr 340px;
  gap: 34px;
  align-items: stretch
}

.principal-card {
  position: relative
}

.principal-photo {
  height: 370px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #dfece6, #c8dcd5)
}

.portrait-placeholder {
  height: 100%;
  display: grid;
  place-items: end center;
  background:
    radial-gradient(circle at 50% 32%, #e4b28f 0 12%, transparent 12.5%),
    radial-gradient(circle at 50% 35%, #4d392f 0 18%, transparent 18.5%),
    linear-gradient(120deg, transparent 0 39%, #202e2c 39% 62%, transparent 62%),
    linear-gradient(180deg, transparent 0 54%, #f3eee7 54% 100%)
}

.portrait-placeholder span {
  margin-bottom: 18px;
  background: rgba(255, 255, 255, .8);
  padding: 6px 10px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-900)
}

.photo-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #fff;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700
}

.profile-copy {
  padding: 18px 0
}

.profile-copy h2,
.about-card h3,
.section-heading h2,
.achievement-panel h2,
.cta h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -.03em
}

.profile-copy h2 {
  font-size: 36px;
  line-height: 1.15;
  margin: 11px 0 20px
}

.profile-copy em {
  font-style: normal;
  color: var(--green-800)
}

blockquote {
  font-size: 15px;
  color: #60746f;
  max-width: 570px;
  border-left: 2px solid #b9d9d0;
  padding-left: 17px
}

.person {
  display: flex;
  flex-direction: column;
  margin: 23px 0
}

.person strong {
  font-size: 13px
}

.person span {
  font-size: 11px;
  color: var(--muted)
}

.text-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-900);
  display: inline-flex;
  gap: 9px;
  align-items: center
}

.text-link span {
  transition: .2s
}

.text-link:hover span {
  transform: translateX(4px)
}

.about-card {
  background: var(--green-50);
  border: 1px solid #dbece6;
  border-radius: 24px;
  padding: 30px
}

.about-card h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 9px 0 13px
}

.about-card p {
  font-size: 12px;
  color: var(--muted)
}

.check-list {
  list-style: none;
  margin: 20px 0
}

.check-list li {
  font-size: 11px;
  margin: 10px 0;
  display: flex;
  gap: 8px
}

.check-list li:before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d5eee7;
  color: var(--green-900);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700
}

.soft-section {
  background: var(--green-50)
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 20px
}

.section-heading h2 {
  font-size: 34px;
  line-height: 1.1;
  margin-top: 5px
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px
}

.program-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  min-height: 225px;
  position: relative;
  transition: .3s
}

.program-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: #c5ded7
}

.program-number {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 10px;
  color: #b2c4c0
}

.program-symbol {
  font-size: 27px;
  color: var(--green-800);
  display: block;
  margin-bottom: 32px
}

.program-card h3 {
  font-size: 15px;
  margin-bottom: 8px
}

.program-card p {
  font-size: 11px;
  color: var(--muted)
}

.news-grid {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 45px
}

.news-list {
  display: grid;
  gap: 12px
}

.news-card {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  align-items: center;
  transition: .3s
}

.news-card-action {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 165px 1fr;
  gap: 18px;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer
}

.news-card-action:focus-visible,
.news-card-link:focus-visible {
  outline: 3px solid var(--green-800);
  outline-offset: 4px;
  border-radius: 8px
}

.news-card-link {
  grid-column: 2;
  justify-self: end;
  color: var(--green-800);
  font-size: 11px;
  font-weight: 700
}

.news-card:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 30px rgba(10, 65, 57, .06)
}

.news-thumb {
  height: 92px;
  border-radius: 12px;
  display: flex;
  align-items: end;
  padding: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background-size: cover;
  background-position: center
}

.news-thumb-empty {
  color: var(--green-800);
  background: var(--green-100)
}

.news-card small {
  font-size: 9px;
  color: var(--green-800)
}

.news-card h3 {
  font-size: 13px;
  line-height: 1.4;
  margin-top: 4px
}

.news-card .news-excerpt {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45
}

.news-card a {
  float: right;
  color: var(--green-800);
  font-size: 19px
}

.news-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  max-height: min(84vh, 820px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 35, 28, .28)
}

.news-dialog::backdrop {
  background: rgba(5, 31, 27, .68);
  backdrop-filter: blur(4px)
}

.news-dialog-close {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  font-size: 25px;
  line-height: 1;
  cursor: pointer
}

.news-dialog-content {
  padding: 30px
}

.news-dialog-image {
  display: block;
  width: 100%;
  max-height: 340px;
  margin-bottom: 22px;
  border-radius: 15px;
  object-fit: cover
}

.news-dialog-image[hidden],
.news-dialog-link[hidden] {
  display: none
}

.news-dialog-date {
  color: var(--green-800);
  font-size: 12px;
  font-weight: 700
}

.news-dialog h2 {
  margin: 8px 0 12px;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.25
}

.news-dialog-excerpt {
  color: var(--green-800);
  font-size: 16px;
  font-weight: 600
}

.news-dialog-body {
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-wrap
}

.news-dialog-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--green-800);
  font-weight: 700
}

.achievement-panel {
  background: #f9fbfa;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 27px
}

.achievement-panel h2 {
  font-size: 27px;
  margin: 4px 0 16px
}

.achievement {
  display: grid;
  grid-template-columns: 28px 1fr 25px;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 17px 0
}

.achievement>span {
  font-size: 10px;
  color: #9bb1ac
}

.achievement strong,
.achievement small {
  display: block
}

.achievement strong {
  font-size: 11px
}

.achievement small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px
}

.gallery-section {
  padding-top: 50px
}

.video-section {
  background: var(--green-50, #f2f8f5)
}

.video-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 48px
}

.video-copy h2 {
  max-width: 440px;
  margin: 9px 0 14px;
  color: var(--green-950, #073f36);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2
}

.video-copy p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.7
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: #092a24;
  box-shadow: 0 18px 45px rgba(7, 63, 54, .16)
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 175px;
  gap: 12px
}

.gallery-albums {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px
}

.gallery-album {
  padding: 9px 14px;
  border: 1px solid rgba(0, 50, 40, .16);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: .2s
}

.gallery-album:hover,
.gallery-album.active {
  border-color: var(--green, #176b52);
  color: #fff;
  background: var(--green, #176b52)
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 140px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: .4s
}

.gallery-item:hover {
  transform: scale(1.015)
}

.gallery-item span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, .88);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700
}

body.gallery-open {
  overflow: hidden
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 60px 24px 24px;
  background: rgba(8, 20, 17, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(100%, 1100px);
  max-height: 100%;
  margin: 0
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
  border-radius: 12px
}

.lightbox-caption {
  margin-top: 12px;
  color: #fff;
  font-size: 14px
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  cursor: pointer
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px
}

.lightbox-nav {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 36px
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, .28)
}

@media (max-width: 600px) {
  .gallery-lightbox {
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px
  }

  .lightbox-nav {
    flex-basis: 38px;
    width: 38px;
    height: 38px
  }
}

.gallery-a {
  grid-row: span 2;
  background-image: linear-gradient(180deg, transparent, rgba(0, 50, 40, .35)), url("../assets/mi-al-hidayah-google-maps-photo.jpg")
}

.gallery-b {
  background-image: url("../assets/mi-al-hidayah-google-maps-photo-2.jpg")
}

.gallery-c {
  background-image: url("../assets/mi-al-hidayah-google-maps-photo-3.jpg")
}

.gallery-d {
  grid-column: 2/4;
  background-image: url("../assets/mi-al-hidayah-google-maps-photo-4.jpg")
}

.cta {
  padding-top: 30px
}

.cta-card {
  background: linear-gradient(110deg, var(--green-950), #0a7864);
  color: #fff;
  border-radius: 28px;
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden
}

.cta-card:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 45px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
  right: -70px;
  top: -110px
}

.cta .section-kicker {
  color: #a7ded2
}

.cta h2 {
  font-size: 33px;
  margin: 5px 0
}

.cta p {
  font-size: 12px;
  color: #c5e2dc;
  max-width: 600px
}

.footer {
  margin-top: 90px;
  background: #073f36;
  color: #c7dcd7;
  padding-top: 55px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr .7fr 1.3fr .7fr;
  gap: 40px;
  padding-bottom: 45px
}

.footer .brand {
  color: #fff
}

.brand-footer .brand-mark {
  background: #fff;
  color: var(--green-900)
}

.footer-brand>p {
  font-size: 11px;
  max-width: 360px;
  margin-top: 16px;
  color: #9ebbb5
}

.footer h4 {
  font-size: 11px;
  color: #fff;
  margin-bottom: 14px
}

.footer-grid>div:not(.footer-brand) a,
.footer-grid>div:not(.footer-brand) p {
  display: block;
  font-size: 10px;
  color: #9ebbb5;
  margin: 7px 0
}

.socials {
  display: flex;
  gap: 8px
}

.socials a {
  width: 29px;
  height: 29px !important;
  border: 1px solid #35675f;
  border-radius: 9px;
  display: grid !important;
  place-items: center
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #7fa59d
}

.footer-bottom a:hover {
  color: #fff
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.delay-1 {
  transition-delay: .1s
}

.delay-2 {
  transition-delay: .2s
}

.delay-3 {
  transition-delay: .3s
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease, visibility .25s ease
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.page-loader span {
  width: 35px;
  height: 35px;
  border: 3px solid #dcece7;
  border-top-color: var(--green-800);
  border-radius: 50%;
  animation: spin .8s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@media(max-width:1050px) {
  .main-nav {
    gap: 17px
  }

  .hero-grid {
    gap: 30px
  }

  .feature-item {
    padding: 18px
  }

  .profile-grid {
    grid-template-columns: 220px 1fr
  }

  .about-card {
    grid-column: 1/-1
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:800px) {
  :root {
    --container: min(100% - 28px, 680px)
  }

  .video-layout {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .menu-toggle {
    display: block;
    z-index: 102
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: #fff;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-140%);
    transition: .4s;
    box-shadow: 0 20px 30px rgba(0, 0, 0, .08)
  }

  .main-nav.open {
    transform: none
  }

  .main-nav>a {
    padding: 13px 5px
  }

  .main-nav>a.active:after {
    display: none
  }

  .nav-cta {
    text-align: center;
    margin-top: 10px
  }

  .hero {
    padding-top: 55px
  }

  .hero-grid {
    grid-template-columns: 1fr
  }

  .hero-copy {
    text-align: center
  }

  .hero p {
    margin-inline: auto
  }

  .hero-actions {
    justify-content: center
  }

  .hero-meta {
    justify-content: center
  }

  .hero-visual {
    min-height: 390px
  }

  .hero-photo {
    height: 390px
  }

  .floating-card-top {
    left: 10px
  }

  .floating-card-bottom {
    right: 10px
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr
  }

  .feature-item:nth-child(2) {
    border-right: 0
  }

  .feature-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }

  .profile-grid {
    grid-template-columns: 1fr
  }

  .principal-photo {
    height: 330px
  }

  .profile-copy {
    text-align: left
  }

  .program-grid {
    grid-template-columns: 1fr 1fr
  }

  .news-grid {
    grid-template-columns: 1fr
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px
  }

  .gallery-a {
    grid-row: span 1
  }

  .gallery-d {
    grid-column: 1/-1
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-brand {
    grid-column: 1/-1
  }
}

@media(max-width:520px) {
  .section {
    padding: 65px 0
  }

  .hero h1 {
    font-size: 42px
  }

  .hero-meta {
    gap: 14px
  }

  .hero-meta strong {
    font-size: 17px
  }

  .hero-meta span {
    font-size: 8px
  }

  .hero-visual {
    min-height: 310px
  }

  .hero-photo {
    height: 310px;
    border-radius: 22px
  }

  .floating-card {
    padding: 10px
  }

  .floating-card-bottom {
    bottom: 15px
  }

  .floating-card-top {
    top: 15px
  }

  .feature-grid {
    grid-template-columns: 1fr
  }

  .feature-item {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important
  }

  .feature-item:last-child {
    border-bottom: 0 !important
  }

  .profile-copy h2 {
    font-size: 29px
  }

  .program-grid {
    grid-template-columns: 1fr
  }

  .section-heading {
    align-items: start;
    flex-direction: column
  }

  .news-card {
    grid-template-columns: 110px 1fr
  }

  .news-card-action {
    grid-template-columns: 110px 1fr;
    gap: 12px
  }

  .news-dialog-content {
    padding: 22px
  }

  .news-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 16px
  }

  .news-thumb {
    height: 82px
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 190px
  }

  .gallery-d {
    grid-column: auto
  }

  .cta h2 {
    font-size: 27px
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px
  }
}
