﻿/* Custom page styles */
:root {
  --primary: #ff6b3c;
  --secondary: #7c3aed;
  --accent: #14b8a6;
  --sun: #facc15;
  --sky: #38bdf8;
  --pink: #ec4899;
  --dark: #0f172a;
  --light: #f8fafc;
  --muted: #6b7280;
}
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at 8% 6%, rgba(251, 191, 36, .12), transparent 20%),
    radial-gradient(circle at 92% 12%, rgba(236, 72, 153, .08), transparent 24%),
    #ffffff;
}
a {
  color: #0f766e;
}
a:hover {
  color: #0b5d57;
}
.navbar {
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 3px solid #fde68a;
}
.navbar-brand {
  font-weight: 700;
  letter-spacing: .02em;
}
.navbar-brand span {
  color: #db2777;
}
.nav-link {
  font-weight: 600;
}
.nav-link.active {
  color: #7c3aed !important;
}
.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.dropdown-menu {
  border-radius: 14px;
  padding: .5rem;
}
.dropdown-item {
  border-radius: 10px;
  font-weight: 600;
  padding: .5rem .75rem;
}
.dropdown-item:hover {
  background: #f3e8ff;
  color: #5b21b6;
}
.hero-section {
  position: relative;
  background:
    linear-gradient(140deg, rgba(124,58,237,.72), rgba(15,118,110,.68)),
    url("assets/images/school-classroom.jpg") center center / cover no-repeat;
  min-height: 80vh;
}
.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.45);
}
.hero-section .container {
  position: relative;
  z-index: 1;
}
.hero-image {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  max-width: 100%;
  transform: translateY(10px);
}
.hero-copy-panel {
  position: relative;
  padding: 2rem;
  border-radius: 24px;
  overflow: hidden;
}
.hero-copy-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15,23,42,.82), rgba(15,23,42,.55)),
    url("assets/images/school-welcome.jpg") center center / cover no-repeat;
  z-index: 0;
}
.hero-copy-panel > * {
  position: relative;
  z-index: 1;
}
.info-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 18px 20px;
}
.info-box strong {
  display: block;
  font-size: .95rem;
  margin-bottom: .25rem;
}
.about-card {
  background: #ffffff;
  border: 2px solid #fef3c7;
}
.section-title p {
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .75rem;
  color: #db2777;
  font-weight: 700;
}
.section-title h2 {
  font-size: 2.45rem;
  font-weight: 700;
}
.feature-card,
.team-card,
.blog-card,
.gallery-card {
  background: linear-gradient(180deg, #ffffff, #fffdf7);
  border: 1px solid #fde68a;
  border-radius: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover,
.team-card:hover,
.blog-card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
}
.about-card,
.video-share-box,
.blog-detail-card,
.blog-sidebar-card {
  box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}
.container {
  max-width: 1160px;
}
.feature-card {
  padding: 32px;
}
.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(250,204,21,.25), rgba(56,189,248,.22));
  font-size: 1.85rem;
}
.row .col-md-6:nth-child(2) .feature-icon { background: linear-gradient(145deg, rgba(236,72,153,.20), rgba(124,58,237,.22)); }
.row .col-md-6:nth-child(3) .feature-icon { background: linear-gradient(145deg, rgba(20,184,166,.20), rgba(56,189,248,.22)); }
.row .col-md-6:nth-child(4) .feature-icon { background: linear-gradient(145deg, rgba(251,113,133,.20), rgba(250,204,21,.22)); }
.gallery-card img,
.blog-card img {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  width: 100%;
  object-fit: cover;
}
.gallery-card img {
  height: 250px;
}
.blog-card img {
  height: 220px;
}
.blog-card {
  overflow: hidden;
}
.blog-card .card-body {
  padding: 1.5rem;
}
.cta-section {
  background: linear-gradient(120deg, #7c3aed, #0ea5e9, #14b8a6);
}
.cta-content {
  background: rgba(15,23,42,.26);
}
.footer {
  font-size: .95rem;
}
.footer-modern {
  background: radial-gradient(circle at 10% 10%, #7c3aed 0%, #0f766e 58%, #0f172a 100%);
}
.footer-top {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.footer-brand {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}
.footer-heading {
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .95rem;
  color: #fde68a;
}
.footer-list li {
  margin-bottom: .55rem;
}
.footer a,
.footer-list a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
}
.footer a:hover,
.footer-list a:hover {
  color: #ffffff;
}
.footer-social {
  display: flex;
  gap: .6rem;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.16);
}
.footer-copy {
  color: rgba(255,255,255,.78);
}
.feature-card h5,
.team-card h5,
.blog-card h5 {
  font-weight: 700;
}
.team-card {
  text-align: center;
  padding: 28px 24px 24px;
}
.team-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .hero-section {
    min-height: 70vh;
  }
  .hero-image {
    max-width: 90%;
  }
  .hero-copy-panel {
    padding: 1.5rem;
  }
  .footer-top {
    padding: 1.35rem !important;
  }
}
.form-control:focus {
  border-color: #ff6b3c;
  box-shadow: 0 0 0 .15rem rgba(255,107,60,.15);
}
.invalid-feedback {
  display: none;
}
.is-invalid + .invalid-feedback {
  display: block;
}
.btn-link {
  color: var(--primary);
}
.btn-link:hover {
  color: #d0481c;
}
.btn-warning {
  background: linear-gradient(90deg, #f59e0b, #f97316);
  border-color: #f59e0b;
  color: #111827;
  font-weight: 700;
}
.btn-warning:hover {
  background: linear-gradient(90deg, #d97706, #ea580c);
  border-color: #d97706;
  color: #111827;
}
.btn-outline-primary {
  border-color: #7c3aed;
  color: #7c3aed;
}
.btn-outline-primary:hover {
  background: #7c3aed;
  border-color: #7c3aed;
}
.bg-light {
  background: linear-gradient(180deg, #fefce8, #eff6ff) !important;
}
.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}
.video-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
}
.video-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-share-box {
  border: 1px solid #e2e8f0;
}
.shared-video-list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.shared-video-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: .85rem .95rem;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.shared-video-item a {
  white-space: nowrap;
  font-weight: 600;
}
.blog-detail-card,
.blog-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}
.blog-detail-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
}
.blog-date {
  font-size: .82rem;
  color: #64748b;
}
.blog-detail-title {
  font-size: 2rem;
  line-height: 1.25;
}
.blog-sidebar-card {
  position: sticky;
  top: 95px;
}
.recent-post-list li + li {
  border-top: 1px solid #e5e7eb;
}
.recent-post-list a {
  display: block;
  text-decoration: none;
  color: #0f766e;
  padding: .75rem 0;
  font-size: .95rem;
}
.recent-post-list a:hover {
  color: #115e59;
}
.faq-wrap {
  max-width: 920px;
}
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px !important;
  margin-bottom: .8rem;
  overflow: hidden;
}
.faq-item .accordion-button {
  font-weight: 600;
}
.faq-item .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #fff7ed, #fdf2f8);
  color: #7c2d12;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@keyframes heroFloat {
  0% { transform: translateY(10px); }
  50% { transform: translateY(3px); }
  100% { transform: translateY(10px); }
}
.hero-image {
  animation: heroFloat 4.2s ease-in-out infinite;
}




