.education-page .hero {
  position: relative;
  min-height: 60vh;
  background: url("https://stgeorgesinternational.static.amais.com/DSC09085Verbessert-721-Banner---Hero_2453.webp?version=638604478963930000");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
  font-family: "DM Sans", sans-serif;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.education-page .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.education-page .hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}
.education-page .hero-content h1 {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 15px;
  font-weight: 800;
}
.education-page .hero-content p {
  font-size: clamp(16px, 2vw, 18px);
  max-width: 700px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 15px;
}
.education-page .hero-content .badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.education-page .btn-services {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  background-color: var(--cyan-blue);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.5s ease-in-out;
  margin-top: 10px;
  border: 1px solid var(--cyan-blue);
}
.education-page .btn-services:hover {
  background-color: var(--white) transparent;
  border: 1px solid var(--warm-orange);
  color: var(--white);
}
.education-page .btn-services i {
  margin-left: 10px;
  transition: transform 0.3s;
}
.education-page .about-section {
  padding: 100px 0;
  background-color: var(--white);
}
.education-page .container-section {
  display: flex;
  align-items: center;
  gap: 60px;
}
.education-page .about-image-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 20px;
}
.education-page .grid-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
  transition: all 0.5s ease;
}
.education-page .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.education-page .zoom-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: white;
  font-size: 2rem;
  background: rgba(14, 116, 188, 0.6);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  z-index: 5;
}
.education-page .grid-item:hover .zoom-hint {
  transform: translate(-50%, -50%) scale(1);
}
.education-page .grid-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.7);
}
.education-page .lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  animation: fadeIn 0.4s ease;
}
.education-page #lightbox-img {
  max-width: 85%;
  max-height: 80%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.education-page .lightbox-overlay.active #lightbox-img {
  transform: scale(1);
}
.education-page .close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  font-weight: 300;
}
.education-page .content-wrapper {
  flex: 1;
}
.education-page .title {
  font-size: 2.3rem;
  color: var(--dark);
  margin-bottom: 15px;
  font-weight: 800;
}
.education-page .description {
  color: #504f4f;
  line-height: 1.7;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.education-page .btn-contact {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  background-color: var(--cyan-blue);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.5s ease-in-out;
  margin-top: 10px;
  border: 1px solid var(--cyan-blue);
}
.education-page .btn-contact:hover {
  background-color: var(--white);
  border: 1px solid var(--cyan-blue);
  color: var(--dark);
}
.education-page .btn-contact i {
  margin-left: 10px;
  transition: transform 0.3s;
}
@keyframes fadeIn {
  .education-page from {
    opacity: 0;
  }
  .education-page to {
    opacity: 1;
  }
}
@media (max-width: 1100px) {
  .education-page .container-section {
    gap: 40px;
  }
  .education-page .title {
    font-size: 2.2rem;
  }
}
@media (max-width: 900px) {
  .education-page .container-section {
    flex-direction: column;
    text-align: center;
  }
  .education-page .about-image-grid {
    width: 100%;
    max-width: 500px;
    grid-template-rows: repeat(2, 180px);
    margin-bottom: 40px;
  }
}
.education-page .team-section-board-member {
  padding: 80px 0;
  background-color: #eee;
}
.education-page .team-section-consultant-body {
  padding: 35px 0 100px 0;
  background-color: #fff;
}
.education-page .section-header {
  margin-bottom: 40px;
  text-align: center;
}
.education-page .main-title {
  font-size: 2.3rem;
  color: var(--dark);
  font-weight: 800;
}
.education-page .accent-line {
  width: 60px;
  height: 4px;
  background: var(--azure);
  margin: 15px auto 0;
}
.education-page .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-items: center;
}
.education-page .team-card {
  position: relative;
  height: 420px;
  width: 100%;
  max-width: 350px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--gray);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  will-change: transform;
}
.education-page .card-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.education-page .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
  display: block;
}
.education-page .info-pill {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: var(--white);
  padding: 16px 20px;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  z-index: 10;

  transition: all 0.3s ease;
}
.education-page .pill-text h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--dark);
}
.education-page .pill-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}
.education-page .pill-social {
  width: 38px;
  height: 38px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  flex-shrink: 0;
}
.education-page .team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}
.education-page .team-card:hover img {
  transform: scale(1.05);
}
.education-page .team-card:hover .info-pill {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.education-page .team-card:hover .pill-text h4,
.education-page .team-card:hover .pill-text p {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.education-page .team-card:hover .pill-social {
  background: var(--azure);
  border-color: var(--azure);
  color: #fff;
}
@media (max-width: 1100px) {
  .education-page .team-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
}
.education-page .bento-services-section {
  padding: 80px 0 100px 0;
  background-color: #eee;
}
.education-page .section-header {
  margin-bottom: 40px;
  text-align: center;
}
.education-page .main-title {
  font-size: 40px;
  color: var(--dark);
  font-weight: 800;
}
.education-page .accent-line {
  width: 60px;
  height: 4px;
  background: var(--azure);
  margin: 15px auto 0;
}
.education-page .bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
}
.education-page .reveal-card {
  position: relative;
  height: 300px;
  border-radius: 30px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.education-page .bento-wide {
  grid-column: span 2;
}
.education-page .centered-bento {
  grid-column: 2 / span 2;
}
.education-page .reveal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
  z-index: 1;
}
.education-page .initial-label {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 2;
  transition: 0.5s;
}
.education-page .initial-label h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
}
.education-page .glass-reveal-box {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  z-index: 3;
  transition: bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.education-page .reveal-icon {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 15px;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.4s ease 0.2s;
}
.education-page .glass-reveal-box h4 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 5px;
}
.education-page .glass-reveal-box p {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  opacity: 0.9;
}
.education-page .btn-view {
  background: var(--white);
  color: var(--azure);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.education-page .btn-view:hover {
  background: var(--warm-orange);
  color: var(--white);
  transform: scale(1.05);
}
.education-page .reveal-card:hover {
  transform: translateY(-8px);
}
.education-page .reveal-card:hover .glass-reveal-box {
  bottom: 0;
}
.education-page .reveal-card:hover .initial-label {
  opacity: 0;
}
.education-page .reveal-card:hover .reveal-icon {
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 1024px) {
  .education-page .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .education-page .centered-bento,
  .education-page .bento-wide {
    grid-column: span 2;
  }
}
.education-page .cta {
  padding: 100px 0;
  background-color: var(--white);
}
.education-page .cta-box {
  background: var(--dark);
  padding: 80px;
  border-radius: 24px;
  text-align: center;
  color: var(--white);
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.education-page .cta-box h2 {
  margin-bottom: 15px;
  font-size: 2.2rem;
  font-weight: 700;
}
.education-page .cta-box p {
  opacity: 0.8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}
.education-page .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.education-page .btn-gold {
  background: var(--warm-orange);
  color: var(--white);
  border: none;
  padding: 14px 35px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.education-page .btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(224, 159, 62, 0.3);
  filter: brightness(1.1);
}
.education-page .btn-outline {
  background: transparent;
  border: 2px solid var(--azure);
  color: var(--azure);
  padding: 14px 35px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.education-page .btn-outline:hover {
  background: var(--azure);
  color: var(--white);
  transform: translateY(-3px);
}
@media screen and (max-width: 992px) {
  .education-page .cta-box {
    padding: 60px 40px;
    margin: 0 20px;
  }
  .education-page .cta-box h2 {
    font-size: 1.8rem;
  }
}

/* ============================================
RESPONSIVE — MOBILE (≤768px) — desktop untouched
============================================ */
@media (max-width: 768px) {
  /* ── HERO ── */
  .education-page .hero {
    min-height: 45vh;
  }
  .education-page .hero-content {
    text-align: center;
  }
  .education-page .hero-content .badge {
    font-size: 11px;
    padding: 5px 14px;
    margin-bottom: 16px;
  }
  .education-page .hero-content h1 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .education-page .hero-content p {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .education-page .btn-services {
    padding: 11px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }

  /* ── ABOUT / IMAGE GRID SECTION ── */
  .education-page .about-section {
    padding: 52px 0;
  }
  .education-page .container-section {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }
  .education-page .about-image-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 160px);
    gap: 12px;
    margin-bottom: 0;
  }
  .education-page .grid-item {
    border-radius: 14px;
  }
  .education-page #lightbox-img {
    max-width: 95%;
    max-height: 75%;
  }
  .education-page .close-btn {
    top: 14px;
    right: 18px;
    font-size: 2.2rem;
  }
  .education-page .content-wrapper {
    text-align: left;
  }
  .education-page .title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  .education-page .description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
  }
  .education-page .btn-contact {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
  }

  /* ── TEAM SECTIONS (board / consultant) ── */
  .education-page .team-section-board-member {
    padding: 48px 0;
  }
  .education-page .team-section-consultant-body {
    padding: 0 0 48px;
  }
  .education-page .team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .education-page .team-card {
    height: 380px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* ── BENTO SERVICES ── */
  .education-page .bento-services-section {
    padding: 52px 0 60px;
  }
  .education-page .main-title {
    font-size: 24px;
    line-height: 1.25;
  }
  .education-page .section-header {
    margin-bottom: 28px;
  }
  .education-page .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .education-page .reveal-card,
  .education-page .bento-wide,
  .education-page .centered-bento {
    grid-column: span 1;
    height: 220px;
    border-radius: 20px;
  }
  /* Always show the glass reveal on mobile (no hover) */
  .education-page .reveal-card .glass-reveal-box {
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    height: auto;
    top: auto;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  .education-page .reveal-card .initial-label {
    display: none;
  }
  .education-page .reveal-card .reveal-icon {
    font-size: 1.6rem;
    margin-bottom: 0;
    transform: none;
    opacity: 1;
    flex-shrink: 0;
  }
  .education-page .glass-reveal-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
    flex: 1;
  }
  .education-page .glass-reveal-box p {
    display: none;
  }
  .education-page .btn-view {
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* ── CTA SECTION ── */
  .education-page .cta {
    padding: 52px 0;
  }
  .education-page .cta-box {
    padding: 40px 24px;
    border-radius: 18px;
    margin: 0 4px;
  }
  .education-page .cta-box h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  .education-page .cta-box p {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .education-page .cta-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .education-page .btn-gold,
  .education-page .btn-outline {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
    text-align: center;
  }
}

/* ============================================
RESPONSIVE — SMALL MOBILE (≤480px)
============================================ */
@media (max-width: 480px) {
  /* ── HERO ── */
  .education-page .hero {
    min-height: 40vh;
  }
  .education-page .hero-content h1 {
    font-size: 22px;
  }

  /* ── IMAGE GRID ── */
  .education-page .about-image-grid {
    grid-template-rows: repeat(2, 140px);
    gap: 10px;
  }
  .education-page .grid-item {
    border-radius: 12px;
  }

  /* ── BENTO ── */
  .education-page .reveal-card,
  .education-page .bento-wide,
  .education-page .centered-bento {
    height: 190px;
    border-radius: 16px;
  }
  .education-page .main-title {
    font-size: 21px;
  }

  /* ── TEAM CARD ── */
  .education-page .team-card {
    height: 340px;
  }
  .education-page .info-pill {
    padding: 12px 14px;
  }
  .education-page .pill-text h4 {
    font-size: 0.95rem;
  }
  .education-page .pill-text p {
    font-size: 0.78rem;
  }
}
