/* ═══════════════════════════════════════════════════════════════════
   3D ANIMATED LANDING PAGE — DAFFODIL UNIVERSITY SCHOOL & COLLEGE (DUSC)
   Ultra-Modern 3D Design System: Aurora Mesh, Glassmorphism, 3D Showcase
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --l3d-pink: #911879;
  --l3d-pink-deep: #6f0e5b;
  --l3d-pink-light: #fbf5fa;
  --l3d-pink-soft: #f8e5f4;
  --l3d-magenta: #911879;
  --l3d-purple: #7C3AED;
  --l3d-purple-deep: #5B21B6;
  --l3d-purple-light: #EDE9FE;
  
  --l3d-green: #911879;
  --l3d-green-deep: #6f0e5b;
  --l3d-green-lime: #a855f7;
  --l3d-green-moss: #7C3AED;
  --l3d-green-light: #f8e5f4;
  --l3d-green-pale: #fbf5fa;

  --l3d-blue: #911879;
  --l3d-blue-deep: #6f0e5b;
  --l3d-blue-sky: #7C3AED;
  --l3d-blue-light: #EDE9FE;
  --l3d-blue-pale: #fbf5fa;
  --l3d-indigo: #7C3AED;

  --l3d-yellow: #a855f7;
  --l3d-yellow-light: #f8e5f4;
  --l3d-rose: #911879;
  --l3d-rose-light: #f8e5f4;
  --l3d-orange: #7C3AED;
  --l3d-orange-light: #EDE9FE;
  --l3d-teal: #911879;
  --l3d-teal-light: #f8e5f4;

  --l3d-white: #FFFFFF;
  --l3d-ink: #231b1f;
  --l3d-body: #475569;
  --l3d-muted: #94A3B8;
  --l3d-border: #E2E8F0;
  --l3d-bg: #fbf5fa;
  --l3d-radius: 20px;
  --l3d-radius-sm: 12px;
  --l3d-radius-xl: 28px;
  --l3d-shadow: 0 4px 6px -1px rgba(35, 27, 31, 0.07), 0 10px 15px -3px rgba(35, 27, 31, 0.05);
  --l3d-shadow-lg: 0 10px 25px -5px rgba(140, 26, 117, 0.1), 0 25px 50px -12px rgba(97, 167, 57, 0.12);
  --l3d-shadow-xl: 0 20px 40px -10px rgba(140, 26, 117, 0.14), 0 40px 80px -20px rgba(97, 167, 57, 0.15);
  --l3d-transition: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── 2. SCROLL REVEAL SYSTEM ────────────────────────────────────── */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 1;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal { transform: translateY(0); }
.reveal-left { transform: translateX(0); }
.reveal-right { transform: translateX(0); }
.reveal-scale { transform: scale(1); }

.js-loaded .reveal:not(.active) {
  opacity: 0.15;
  transform: translateY(28px) scale(0.98);
}
.js-loaded .reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.js-loaded .reveal-left:not(.active) {
  opacity: 0.15;
  transform: translateX(-30px) scale(0.98);
}
.js-loaded .reveal-left.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.js-loaded .reveal-right:not(.active) {
  opacity: 0.15;
  transform: translateX(30px) scale(0.98);
}
.js-loaded .reveal-right.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.js-loaded .reveal-scale:not(.active) {
  opacity: 0.15;
  transform: scale(0.92);
}
.js-loaded .reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.rvl-d1 { transition-delay: 0.1s; }
.rvl-d2 { transition-delay: 0.2s; }
.rvl-d3 { transition-delay: 0.3s; }
.rvl-d4 { transition-delay: 0.4s; }
.rvl-d5 { transition-delay: 0.5s; }

/* ─── 3. LANDING CONTAINER ───────────────────────────────────────── */
.l3d-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .l3d-container { padding: 0 40px; }
}

/* ─── 4. HERO FULL-WIDTH IMMERSIVE BANNER (DUSC STYLE) ───────────── */
.hero-banner-dusc {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 90px;
  background: #0B192C;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  filter: brightness(0.85) contrast(1.05);
  animation: heroZoomSlow 25s ease-in-out infinite alternate;
}

@keyframes heroZoomSlow {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35, 27, 31, 0.50) 0%, rgba(140, 26, 117, 0.35) 50%, rgba(35, 27, 31, 0.55) 100%);
}

.hero-banner-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(140, 26, 117, 0.20) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(158, 135, 174, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-banner-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-banner-caption {
  max-width: 820px;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #faeaf6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #faeaf6;
  box-shadow: 0 0 0 0 rgba(250, 234, 246, 0.7);
  animation: pulseDot 2s infinite;
}

.hero-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #faeaf6 40%, #9e87ae 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-main-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: #f7f3f8;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 680px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-dusc-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #911879 0%, #6f0e5b 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 32px;
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(140, 26, 117, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn-dusc-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px -5px rgba(140, 26, 117, 0.65);
  background: linear-gradient(135deg, #6f0e5b 0%, #911879 100%);
}

.btn-dusc-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 28px;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn-dusc-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.btn-dusc-social {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-dusc-social:hover {
  background: #1877F2;
  border-color: #1877F2;
  transform: translateY(-3px);
}

/* Floating Glass Feature Bar */
.hero-feature-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}
@media (min-width: 900px) {
  .hero-feature-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
}

.hfb-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 12px;
}
.hfb-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.hfb-icon-blue { background: #DBEAFE; color: #2563EB; }
.hfb-icon-green { background: #D1FAE5; color: #059669; }
.hfb-icon-amber { background: #FEF3C7; color: #D97706; }
.hfb-icon-purple { background: #EDE9FE; color: #7C3AED; }

.hfb-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}
.hfb-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
}

.hfb-sep {
  display: none;
  width: 1px;
  height: 36px;
  background: #E2E8F0;
}
@media (min-width: 900px) {
  .hfb-sep { display: block; }
}

/* ─── WHY CHOOSE US & VALUES SECTION ────────────────────────────── */
.why-choose-section {
  padding: 90px 0;
  background: #FFFFFF;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
  }
}

.why-media-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--l3d-shadow-lg);
}

.why-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--l3d-transition);
}
.why-image-card:hover .why-img {
  transform: scale(1.05);
}

.why-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-sub-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .why-sub-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.quality-mini-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 14px;
  transition: all 0.25s ease;
}
.quality-mini-card:hover {
  border-color: #BFDBFE;
  background: #EFF6FF;
  transform: translateY(-3px);
}
.qmc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.quality-mini-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}
.quality-mini-card p {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
}

.why-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 28px;
}

.why-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 600px) {
  .why-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-feature-bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.wfb-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-feature-bullet h5 {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
}
.why-feature-bullet p {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ─── 5. ACADEMIC 5-TIER CARDS (DUSC STYLE) ──────────────────────── */
.progs-5col-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .progs-5col-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .progs-5col-grid { grid-template-columns: repeat(5, 1fr); }
}

.academic-tier-card {
  background: #FFFFFF;
  border: 1.5px solid var(--l3d-border);
  border-radius: 22px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s var(--l3d-transition);
}
.academic-tier-card:hover {
  transform: translateY(-8px);
  border-color: #911879;
  box-shadow: 0 16px 36px -8px rgba(145, 24, 121, 0.2);
}

.atc-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}
.academic-tier-card:hover .atc-icon-wrap {
  transform: scale(1.1) rotate(4deg);
  border-color: var(--l3d-pink);
}
.atc-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.atc-grade-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--l3d-green-deep);
  background: var(--l3d-green-light);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.atc-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--l3d-ink);
  margin-bottom: 8px;
}

.atc-desc {
  font-size: 12.5px;
  color: var(--l3d-body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.atc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--l3d-pink);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.academic-tier-card:hover .atc-link {
  gap: 10px;
  color: var(--l3d-green);
}

/* ─── 6. SMART FACILITIES SHOWCASE (DUSC LIVE) ───────────────────── */
.facilities-dusc-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #fbf5fa 0%, #f5eaf4 100%);
}

.facilities-dusc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .facilities-dusc-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
  }
}

.fac-intro-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
}

.fac-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 600px) {
  .fac-badges-grid { grid-template-columns: repeat(3, 1fr); }
}

.fac-badge-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}
.fac-badge-item:hover {
  transform: translateY(-4px);
  border-color: #911879;
  box-shadow: 0 8px 20px rgba(145, 24, 121, 0.16);
}

.fbi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.fbi-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fbi-title {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
}

.fac-quad-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.fqg-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 200px;
  box-shadow: var(--l3d-shadow);
}
.fqg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.fqg-item:hover img {
  transform: scale(1.08);
}
.fqg-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  text-align: center;
}

/* ─── 7. CAMPUS ACTIVITIES & PARENTS FEEDBACK ─────────────────────── */
.campus-activities-dusc {
  padding: 90px 0;
  background: #FFFFFF;
}

.activities-quad-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 22px;
}
@media (min-width: 640px) {
  .activities-quad-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .activities-quad-grid { grid-template-columns: repeat(4, 1fr); }
}

.activity-card-dusc {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.activity-card-dusc:hover {
  transform: translateY(-6px);
  border-color: #911879;
  box-shadow: var(--l3d-shadow-xl);
}

.acd-img-wrap {
  position: relative;
  height: 170px;
  overflow: hidden;
}
.acd-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.activity-card-dusc:hover .acd-img-wrap img {
  transform: scale(1.08);
}
.acd-cat-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(140, 26, 117, 0.85);
  backdrop-filter: blur(8px);
  color: #def3cd;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 6px;
}

.acd-body {
  padding: 16px 18px;
  flex-grow: 1;
}
.acd-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  line-height: 1.35;
}
.acd-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.55;
}

/* Feedback Section */
.feedback-dusc-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #fbf5fa 0%, #FFFFFF 100%);
}

.feedback-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
@media (min-width: 768px) {
  .feedback-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.feedback-dusc-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
}
.feedback-dusc-card:hover {
  transform: translateY(-6px);
  border-color: #911879;
  box-shadow: var(--l3d-shadow-xl);
}

.fbc-quote-icon {
  font-size: 24px;
  color: #911879;
  opacity: 0.5;
  margin-bottom: 14px;
}

.fbc-text {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 22px;
  flex-grow: 1;
}

.fbc-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
}

.fbc-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #def3cd;
}

.fbc-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
}

.fbc-role {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
}

/* ─── STATS 3D SECTION ────────────────────────────────────────── */
.stats-3d-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 768px) {
  .stats-3d-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .stats-3d-grid { grid-template-columns: repeat(5, 1fr); }
}

.stat-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: var(--l3d-shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s var(--l3d-transition), box-shadow 0.3s var(--l3d-transition);
}
.stat-glass:hover {
  transform: translateY(-5px);
  box-shadow: var(--l3d-shadow-lg);
}
.stat-glass-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}
.stat-icon-3d-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stat-glass-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--l3d-ink);
  line-height: 1.1;
}
.stat-glass-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--l3d-body);
  margin-top: 2px;
}

/* ─── 6. ACADEMIC PROGRAMS 3D SECTION ────────────────────────────── */
.progs-3d {
  padding: 90px 0;
  background: #FFFFFF;
  position: relative;
}
.progs-3d-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.sec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--l3d-blue-pale);
  color: var(--l3d-blue);
  border: 1px solid var(--l3d-blue-light);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.sec-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--l3d-ink);
  line-height: 1.2;
  margin-bottom: 14px;
}
.sec-sub {
  font-size: 15px;
  color: var(--l3d-body);
  line-height: 1.7;
}

.progs-3d-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .progs-3d-grid { grid-template-columns: repeat(3, 1fr); }
}

.prog-3d-card {
  background: #FFFFFF;
  border: 1.5px solid var(--l3d-border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s var(--l3d-transition), box-shadow 0.3s var(--l3d-transition), border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.prog-3d-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--l3d-shadow-xl);
  border-color: var(--l3d-blue-light);
}

.prog-illust-banner {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--l3d-blue-pale);
}
.prog-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--l3d-transition);
}
.prog-3d-card:hover .prog-banner-img {
  transform: scale(1.06);
}
.prog-num-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--l3d-blue-deep);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

.prog-card-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.prog-grade-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--l3d-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.prog-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--l3d-ink);
  margin-bottom: 10px;
}
.prog-card-desc {
  font-size: 13.5px;
  color: var(--l3d-body);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}
.prog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--l3d-blue);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.prog-card-link:hover {
  gap: 12px;
  color: var(--l3d-indigo);
}

/* ─── 7. PRINCIPAL 3D SECTION ────────────────────────────────────── */
.principal-3d {
  padding: 80px 0;
  background: linear-gradient(135deg, #fbf5fa 0%, #f5eaf4 100%);
}
.principal-3d-card {
  background: #FFFFFF;
  border: 1.5px solid var(--l3d-border);
  border-radius: 28px;
  padding: 36px 30px;
  box-shadow: var(--l3d-shadow-lg);
}
@media (min-width: 1024px) {
  .principal-3d-card { padding: 48px; }
}

.principal-3d-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 1024px) {
  .principal-3d-grid { grid-template-columns: 320px 1fr; gap: 48px; }
}

.principal-3d-photo-wrap {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}
.principal-photo-frame {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--l3d-shadow-lg);
}
.principal-photo-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.principal-quote-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(37,99,235,0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.principal-3d-float-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--l3d-border);
  box-shadow: var(--l3d-shadow-lg);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.principal-3d-float-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.principal-3d-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--l3d-ink);
  line-height: 1.25;
  margin: 12px 0 16px;
}
.principal-3d-quote {
  font-size: 15.5px;
  color: var(--l3d-blue-deep);
  font-weight: 600;
  line-height: 1.7;
  border-left: 3px solid var(--l3d-blue);
  padding-left: 16px;
  margin-bottom: 16px;
}
.principal-3d-body-text {
  font-size: 14px;
  color: var(--l3d-body);
  line-height: 1.7;
  margin-bottom: 24px;
}
.principal-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--l3d-ink);
}
.principal-role {
  font-size: 12.5px;
  color: var(--l3d-muted);
  font-weight: 600;
}

/* ─── 8. GALLERY 3D SECTION ──────────────────────────────────────── */
.gallery-3d {
  padding: 90px 0;
  background: #FFFFFF;
}
.gallery-3d-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.gallery-3d-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .gallery-3d-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery-3d-grid { grid-template-columns: repeat(3, 1fr); }
  .gal-wide { grid-column: span 2; }
}

.gal-3d-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--l3d-shadow);
  transition: transform 0.3s var(--l3d-transition), box-shadow 0.3s var(--l3d-transition);
}
.gal-3d-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--l3d-shadow-xl);
}
.gal-3d-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--l3d-transition);
}
.gal-3d-item:hover .gal-3d-img {
  transform: scale(1.08);
}
.gal-3d-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
}
.gal-cat-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(140, 26, 117, 0.85);
  color: #def3cd;
  padding: 3px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 6px;
}
.gal-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

/* ─── 9. AFFILIATIONS SECTION ────────────────────────────────────── */
.affiliations-3d {
  padding: 50px 0;
  background: #F8FAFC;
  border-top: 1px solid var(--l3d-border);
  border-bottom: 1px solid var(--l3d-border);
}
.affil-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}
.affil-card {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--l3d-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.affil-card:hover {
  transform: translateY(-3px);
}
.affil-card img {
  max-width: 160px;
  max-height: 52px;
  object-fit: contain;
}

/* ─── 10. NOTICES 3D SECTION ─────────────────────────────────────── */
.notices-3d {
  padding: 90px 0;
  background: #FFFFFF;
}
.notices-3d-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.notices-3d-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.notice-3d-card {
  background: #FFFFFF;
  border: 1.5px solid var(--l3d-border);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s var(--l3d-transition);
}
.notice-3d-card:hover {
  border-color: #911879;
  box-shadow: var(--l3d-shadow-lg);
  transform: translateX(6px);
}
.notice-date-box {
  background: #f7f3f8;
  border: 1px solid #def3cd;
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  min-width: 64px;
}
.nd-day {
  font-size: 20px;
  font-weight: 800;
  color: #911879;
  line-height: 1;
  display: block;
}
.nd-mon {
  font-size: 11px;
  font-weight: 700;
  color: #5FAF3D;
  text-transform: uppercase;
}
.notice-content { flex-grow: 1; }
.notice-type-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  display: inline-block;
}
.badge-blue { background: #faeaf6; color: #911879; }
.badge-green { background: #def3cd; color: #4d892b; }
.badge-purple { background: #EDE9FE; color: #6D28D9; }

.notice-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--l3d-ink);
  margin-bottom: 4px;
}
.notice-desc {
  font-size: 13px;
  color: var(--l3d-body);
}
.notice-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f7f3f8;
  color: #911879;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
}

/* ─── 11. CONTACT 3D SECTION ─────────────────────────────────────── */
.contact-3d {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #FFFFFF 0%, #fbf5fa 100%);
}
.contact-3d-card {
  background: linear-gradient(135deg, #231b1f 0%, #911879 50%, #6f0e5b 100%);
  border-radius: 28px;
  padding: 40px 32px;
  box-shadow: 0 25px 60px -15px rgba(140, 26, 117, 0.35);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 1024px) {
  .contact-3d-card { grid-template-columns: 1.1fr 1fr; padding: 50px 48px; }
}

.sec-pill-white {
  background: rgba(255,255,255,0.22);
  color: #ffffff;
  border-color: rgba(255,255,255,0.35);
}
.contact-3d-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 12px 0 14px;
}
.contact-3d-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  margin-bottom: 24px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.ci-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
}
.ci-val {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* ─── 12. KEYFRAME ANIMATIONS ────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-35px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50%      { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── 13. RESPONSIVE ADJUSTMENTS ─────────────────────────────────── */
@media (max-width: 1023px) {
  .hero-3d { padding: 110px 0 60px; }
  .hero-3d-scene { min-height: 480px; }
  .float-top-right { right: -2%; top: 2%; }
  .float-top-left { left: -2%; top: 8%; }
  .float-bottom-left { left: -2%; bottom: 4%; }
  .float-bottom-right { right: -2%; bottom: 0%; }
}

@media (max-width: 767px) {
  .hero-3d {
    min-height: auto;
    padding: 100px 0 50px;
  }
  .hero-3d-scene { min-height: 400px; }
  .hero-glow-ring-outer { width: 320px; height: 320px; }
  .hero-glow-ring-inner { width: 260px; height: 260px; }
  .hero-showcase-wrap { max-width: 320px; }
  .hero-showcase-card { padding: 12px; border-radius: 20px; }
  .hero-showcase-body { min-height: 200px; }
  .hero-showcase-img { max-height: 200px; }
  .hero-float-card {
    padding: 6px 12px;
    border-radius: 14px;
    gap: 8px;
  }
  .hfc-icon { width: 34px; height: 34px; border-radius: 10px; padding: 4px; }
  .hfc-title { font-size: 11px; }
  .hfc-sub { font-size: 9.5px; }
  .float-top-right { top: -2%; right: -2%; }
  .float-top-left { top: 6%; left: -4%; }
  .float-bottom-left { bottom: 2%; left: -4%; }
  .float-bottom-right { bottom: -4%; right: -2%; }
  .hero-scroll-3d { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}