@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --violet:  #7c3aed;
  --violet-d:#4c1d95;
  --violet-l:#ede9fe;
  --green:   #10b981;
  --amber:   #f59e0b;
  --rose:    #f43f5e;
  --teal:    #0d9488;
  --indigo:  #4f46e5;
  --text:    #1e1b2e;
  --muted:   #64748b;
  --bg:      #f3f0fb;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ══ SCROLL PROGRESS ════════════════════════════════════ */
#progressBar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--amber));
  z-index: 9999;
  transition: width .1s;
}

/* ══ NAVBAR ═════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: all .3s ease;
}
.navbar.scrolled {
  background: rgba(10,5,20,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}

.nav-container {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.brand-emoji { font-size: 28px; }
.brand-title {
  display: block; font-size: 17px; font-weight: 800;
  color: #fff; line-height: 1.1;
}
.brand-sub { display: block; font-size: 10px; color: rgba(255,255,255,.55); font-weight: 400; }

.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav-link {
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: 8px;
  transition: all .2s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 14px;
  width: 0; height: 2px;
  background: var(--amber); border-radius: 2px;
  transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: calc(100% - 28px); }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.1); }

.nav-cta {
  display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--violet), var(--violet-d));
  color: #fff; text-decoration: none;
  padding: 9px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(124,58,237,.4);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(124,58,237,.5); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ══ HERO ════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.6) 100%),
    url('../images/bg.jpeg') center center / cover no-repeat fixed;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}

/* Animated blobs — hidden when using real bg photo */
.blob { display: none; }

/* Particles */
.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.6);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(0) rotate(0deg); opacity: .3; }
  50%  { opacity: .6; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  padding: 8px 20px; border-radius: 30px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .5px; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge i { color: var(--amber); }

.hero-content h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900; color: #fff;
  line-height: 1.1; margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero-highlight {
  background: linear-gradient(135deg, var(--amber), #ff6b6b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 18px; color: rgba(255,255,255,.75);
  line-height: 1.7; margin-bottom: 36px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }

.btn-primary-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--amber), #f97316);
  color: #fff; text-decoration: none;
  padding: 14px 32px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 6px 24px rgba(245,158,11,.4);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary-hero:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(245,158,11,.5); }

.btn-outline-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; text-decoration: none;
  padding: 14px 32px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all .2s;
}
.btn-outline-hero:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }

/* Hero stats */
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; padding: 20px 32px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}
.hs-item { text-align: center; padding: 0 28px; }
.hs-num  { display: block; font-size: 32px; font-weight: 900; color: #fff; line-height: 1; }
.hs-label{ display: block; font-size: 12px; color: rgba(255,255,255,.6); font-weight: 500; margin-top: 4px; }
.hs-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-dot {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px; position: relative;
}
.scroll-dot::after {
  content: ''; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.7); border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { top: 6px; opacity: 1; }
  50%      { top: 18px; opacity: .3; }
}

/* ══ STATS SECTION ══════════════════════════════════════ */
.stats-section {
  padding: 60px 0;
  background: #fff;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.stat-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 20px; border-radius: 16px;
  background: var(--bg);
  border: 1px solid #ede9fe;
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(124,58,237,.12); }
.stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; flex-shrink: 0;
}
.sc-violet { background: linear-gradient(135deg,var(--violet),var(--violet-d)); }
.sc-green  { background: linear-gradient(135deg,var(--green),#059669); }
.sc-amber  { background: linear-gradient(135deg,var(--amber),#d97706); }
.sc-rose   { background: linear-gradient(135deg,var(--rose),#be123c); }
.stat-info h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.stat-info p  { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ══ SECTION HEADER ═════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  background: var(--violet-l); color: var(--violet);
  padding: 5px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(26px,4vw,40px); font-weight: 800;
  color: var(--text); margin-bottom: 14px;
}
.section-header p { font-size: 16px; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ══ FEATURES ═══════════════════════════════════════════ */
.features-section { padding: 90px 0; background: var(--bg); }

.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
}
.feature-card {
  background: #fff; border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  border-top: 4px solid transparent;
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 80px; height: 80px; border-radius: 50%;
  opacity: .06; transform: translate(20px,-20px);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 16px 36px rgba(0,0,0,.12); }

.fc-violet { border-top-color: var(--violet); }
.fc-violet::before { background: var(--violet); }
.fc-green  { border-top-color: var(--green); }
.fc-green::before  { background: var(--green); }
.fc-amber  { border-top-color: var(--amber); }
.fc-amber::before  { background: var(--amber); }
.fc-teal   { border-top-color: var(--teal); }
.fc-teal::before   { background: var(--teal); }
.fc-rose   { border-top-color: var(--rose); }
.fc-rose::before   { background: var(--rose); }
.fc-indigo { border-top-color: var(--indigo); }
.fc-indigo::before { background: var(--indigo); }

.fc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; margin-bottom: 16px;
}
.fc-violet .fc-icon { background: linear-gradient(135deg,var(--violet),var(--violet-d)); }
.fc-green  .fc-icon { background: linear-gradient(135deg,var(--green),#059669); }
.fc-amber  .fc-icon { background: linear-gradient(135deg,var(--amber),#d97706); }
.fc-teal   .fc-icon { background: linear-gradient(135deg,var(--teal),#0f766e); }
.fc-rose   .fc-icon { background: linear-gradient(135deg,var(--rose),#be123c); }
.fc-indigo .fc-icon { background: linear-gradient(135deg,var(--indigo),#3730a3); }

.feature-card h4 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.feature-card > p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }

.fc-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.fc-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.fc-list li i { font-size: 11px; color: var(--green); }

/* ══ ABOUT ══════════════════════════════════════════════ */
.about-section { padding: 90px 0; background: #fff; }

/* Full-width centered — no side photo */
.about-center {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.about-center .section-tag { margin-bottom: 14px; }
.about-center h2 {
  font-size: clamp(26px,3.5vw,38px); font-weight: 800;
  color: var(--text); margin-bottom: 18px;
}
.about-center p {
  font-size: 15px; color: var(--muted);
  line-height: 1.7; margin-bottom: 14px;
}

.about-info-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 14px; margin-top: 32px; text-align: left;
}
.ai-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg); border-radius: 12px; padding: 14px;
  border: 1px solid #ede9fe;
  transition: transform .2s, box-shadow .2s;
}
.ai-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(124,58,237,.1); }
.ai-item i { color: var(--violet); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.ai-item strong { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ai-item span   { font-size: 12px; color: var(--muted); }

/* Gallery grid (about section preview) — removed, no longer used */

/* ══ FULL GALLERY SECTION ═══════════════════════════════ */
.gallery-section { padding: 90px 0; background: #fff; }

/* Uniform 3-column grid — every image same size, fully visible */
.gallery-uniform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gu-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;   /* fixed ratio — all images same proportions */
  background: var(--violet-d);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  cursor: pointer;
}
.gu-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.gu-item:hover img { transform: scale(1.06); }

/* Overlay */
.gu-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(76,29,149,.85) 0%,
    rgba(76,29,149,.2) 50%,
    transparent 100%
  );
  display: flex; align-items: flex-end; gap: 8px;
  padding: 16px 18px;
  color: #fff;
  opacity: 0;
  transition: opacity .3s ease;
}
.gu-item:hover .gu-overlay { opacity: 1; }
.gu-overlay i    { font-size: 14px; flex-shrink: 0; }
.gu-overlay span { font-size: 14px; font-weight: 700; }

/* ══ TEACHERS ═══════════════════════════════════════════ */
.teachers-section { padding: 90px 0; background: var(--bg); }

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.teacher-card {
  background: #fff; border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(124,58,237,.18);
}

/* Photo wrap */
.tc-photo-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--violet-d), var(--violet));
  flex-shrink: 0;
}
.tc-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}
.teacher-card:hover .tc-photo { transform: scale(1.05); }

/* Placeholder when no photo */
.tc-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2d1b69, #4c1d95);
}
.tc-photo-placeholder i {
  font-size: 72px;
  color: rgba(255,255,255,.25);
}

/* Role badge on photo */
.tc-role-badge {
  position: absolute; bottom: 12px; left: 12px;
  padding: 5px 13px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
  backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 5px;
}
.hm-badge {
  background: linear-gradient(135deg, var(--amber), #d97706);
  color: #fff;
  box-shadow: 0 3px 10px rgba(245,158,11,.4);
}
.pt-badge {
  background: linear-gradient(135deg, var(--violet), var(--violet-d));
  color: #fff;
  box-shadow: 0 3px 10px rgba(124,58,237,.4);
}

/* Card body */
.tc-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }

.tc-name {
  font-size: 16px; font-weight: 800;
  color: var(--text); margin-bottom: 3px;
}
.tc-designation {
  font-size: 12px; font-weight: 600;
  color: var(--violet); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .5px;
}

.tc-divider {
  height: 1px; background: #f1f5f9;
  margin-bottom: 14px;
}

/* Detail rows */
.tc-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }

.tc-detail-row {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12px; color: var(--muted);
}
.tc-detail-row i {
  color: var(--violet); font-size: 11px;
  margin-top: 2px; flex-shrink: 0; width: 12px;
}
.tc-detail-row strong { color: var(--text); }

/* Bio */
.tc-bio {
  font-size: 12px; color: var(--muted);
  line-height: 1.6; margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f8fafc;
}

/* ══ CTA ════════════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.65) 100%),
    url('../images/bg.jpeg') center center / cover no-repeat fixed;
  text-align: center; position: relative; overflow: hidden;
}
.cta-blob { display: none; }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 {
  font-size: clamp(26px,4vw,44px); font-weight: 900;
  color: #fff; margin: 16px 0 18px;
  line-height: 1.2;
}
.cta-content p { font-size: 16px; color: rgba(255,255,255,.7); margin-bottom: 36px; }

.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--amber), #f97316);
  color: #fff; text-decoration: none;
  padding: 16px 40px; border-radius: 14px;
  font-size: 16px; font-weight: 700;
  box-shadow: 0 8px 28px rgba(245,158,11,.4);
  transition: transform .2s, box-shadow .2s;
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(245,158,11,.5); }

/* ══ FOOTER ═════════════════════════════════════════════ */
.footer {
  background: #0a0514; color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fb-logo { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
.footer-udise {
  display: inline-block;
  background: rgba(124,58,237,.3); color: #c4b5fd;
  padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.footer-links h5, .footer-info h5 {
  font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px;
}
.footer-links ul, .footer-info ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--amber); }
.footer-info li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.footer-info i { color: var(--violet); width: 14px; }

.footer-bottom {
  padding: 18px 0; text-align: center;
  font-size: 12px; color: rgba(255,255,255,.35);
}

/* ══ RESPONSIVE ═════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid    { grid-template-columns: repeat(2,1fr); }
  .stats-grid       { grid-template-columns: repeat(2,1fr); }
  .teachers-grid    { grid-template-columns: repeat(2,1fr); }
  .gallery-uniform  { grid-template-columns: repeat(3,1fr); }
  .about-info-grid  { grid-template-columns: repeat(3,1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(15,7,40,.97); padding: 20px; gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .about-info-grid  { grid-template-columns: repeat(2,1fr); }
  .teachers-grid    { grid-template-columns: repeat(2,1fr); }
  .gallery-uniform  { grid-template-columns: repeat(2,1fr); }
  .hero-stats    { gap: 0; padding: 16px; }
  .hs-item       { padding: 0 14px; }
  .hs-num        { font-size: 24px; }
  .footer-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .features-grid    { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: 1fr; }
  .teachers-grid    { grid-template-columns: 1fr; }
  .about-info-grid  { grid-template-columns: 1fr 1fr; }
  .gallery-uniform  { grid-template-columns: repeat(2,1fr); }
  .hero-btns        { flex-direction: column; align-items: center; }
  .hs-divider       { display: none; }
  .hero-stats       { flex-wrap: wrap; gap: 16px; }
}
