/* ============================================================
   SMART ACADEMY — SHARED DESIGN SYSTEM
   ============================================================ */
:root {
  --primary: #00552b; /* #db231f;  #153b8a; */
  --primary-dark: #022a16; /*  #7e1512; #0d2a63;*/
  --primary-light: #08a959; /* #fd504c;   #2a5bc4;*/
  --primary-soft: #029c50; /* #e8eefb;*/
  --sky: #4aa8ff;
  --sky-soft: #e3f2ff;
  --accent: #fff500; /* #ffb800; */
  --accent-soft: #fff4d6;
  --accent-dark: #cc9200;
  --white: #ffffff;
  --gray-light: #f7f9fd;
  --gray-soft: #eef2f9;
  --gray-border: #dde5f0;
  --text-dark: #12203a;
  --text-muted: #5b6d8c;
  --success: #1e8e4e;
  --success-soft: #e6f7ed;
  --warning: #d97706;
  --warning-soft: #fff3e0;
  --danger: #d32f2f;
  --danger-soft: #ffebee;
  --shadow-sm: 0 6px 18px rgba(13, 42, 99, 0.06);
  --shadow-md: 0 14px 34px rgba(13, 42, 99, 0.10);
  --shadow-lg: 0 28px 60px rgba(13, 42, 99, 0.16);
  --radius-card: 22px;
  --radius-sm: 14px;
  --radius-pill: 100px;
  --transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --header-height: 72px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-family: var(--font-display); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-family: var(--font-display); color: var(--primary); }
h3 { font-size: 1.25rem; }
p { color: var(--text-muted); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; transition: var(--transition); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.bg-soft { background: var(--gray-light); }
.text-center { text-align: center; }

/* Section title */
.section-title { text-align: center; margin-bottom: 48px; }
.section-title .eyebrow {
  display: inline-block; background: var(--primary-soft); color: var(--accent);
  padding: 8px 18px; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 14px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.95rem; transition: var(--transition);
  border: 2px solid transparent; white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 24px rgba(21,59,138,0.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(21,59,138,0.34); }
.btn-accent { background: var(--accent); color: var(--primary-dark); box-shadow: 0 10px 24px rgba(255,184,0,0.35); }
.btn-accent:hover { background: #ffc933; transform: translateY(-3px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.7); color: white; }
.btn-outline:hover { background: white; color: var(--primary); transform: translateY(-3px); }
.btn-outline-dark { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* Header */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,0.85); font-size: 0.82rem; padding:0; }
.topbar-inner-X { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
}
.topbar-left {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-self: start;
}
.topbar-left span { display: flex; align-items: center; gap: 7px; }
.topbar-left i { color: var(--accent); }
.topbar-center {
  justify-self: center;
}
.topbar-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Small buttons on topbar */
.topbar .btn-topbar {
  padding: 3px 18px;
  font-size: 0.78rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}
.topbar .btn-topbar-accent {
  background: var(--accent);
  color: var(--primary-dark);
}
.topbar .btn-topbar-accent:hover {
  background: #ffc933;
  transform: translateY(-1px);
}
.topbar .btn-topbar-login {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.topbar .btn-topbar-login:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 900px) {
  .topbar-inner { grid-template-columns: 1fr auto; gap: 10px; }
  .topbar-right { display: none; }
 /* .topbar-center { height:20px; } */
 .topbar .btn-topbar-accent {
  height:22px; margin:4px 0; }
}
@media (max-width: 640px) {
  .topbar-left span:not(:first-child) { display: none; }
  .topbar .btn-topbar { padding: 6px 14px; font-size: 0.72rem; }
}
/*
.topbar-left-X { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }

.topbar-left-X span { display: flex; align-items: center; gap: 7px; }


.topbar-left-X i { color: var(--accent); }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-right a { color: rgba(255,255,255,0.85); transition: var(--transition); }
.topbar-right a:hover { color: var(--accent); }

 Notice ticker — between topbar and header 
.notice-ticker {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 10px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
} 
*/
/* ========== NOTICE TICKER (compact bar — matches topbar height) ========== */
.notice-ticker {
  background: var(--accent);
  color: white;
  padding: 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Left side: announcement icon only */
.notice-ticker-left {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--accent);
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}
.notice-ticker-left:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Middle: scrolling ticker text */
.notice-ticker-track {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  overflow: hidden;
  white-space: nowrap;
  height: 100%;
  padding-left: 20px;
  color: black;
  font-weight: 600;
  font-size: 0.85rem;
}
.notice-ticker-track .ticker-inner {
  display: flex;
  gap: 60px;
  animation: tickerScroll 30s linear infinite;
}
.notice-ticker-track:hover .ticker-inner { animation-play-state: paused; }
.notice-ticker-track .ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.notice-ticker-track .ticker-item i {
  color: var(--accent);
  font-size: 0.5rem;
  opacity: 0.7;
}

/* Right side: arrow link to notices page */
.notice-ticker-right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--accent);
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}
.notice-ticker-right:hover {
  background: rgba(0, 0, 0, 0.55);
  color: white;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 640px) {
  .notice-ticker { height: 34px; font-size: 0.78rem; }
  .notice-ticker-left { padding: 0 12px; font-size: 0.9rem; }
  .notice-ticker-right { padding: 0 14px; font-size: 0.9rem; }
  .notice-ticker-track { padding-left: 14px; font-size: 0.78rem; }
  .notice-ticker-track .ticker-inner { gap: 40px; animation-duration: 22s; }
}
.notice-label {
  background: var(--primary-dark);
  color: var(--accent);
  padding: 7px 18px;
  border-radius: 0 40px 40px 0;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 20px;
  z-index: 2;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.08);
}
.ticker-track {
  display: flex;
  gap: 60px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ticker-item i { color: var(--primary-dark); font-size: 0.55rem; opacity: 0.7; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Main header */
.main-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--gray-border); border-bottom:2px solid var(--primary); border-top: 1px solid var(--primary);}
.main-header.scrolled { box-shadow: var(--shadow-sm);  }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.35rem; color: var(--primary); flex-shrink: 0; } 
.logo-icon { width: 70px; height:70px; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 900; font-size: 1.6rem; flex-shrink: 0; }
.logo-mark { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.5rem; box-shadow: 0 8px 18px rgba(21,59,138,0.3); }
.logo-text {font-size: 1.7rem;font-weight: 700; line-height: 1.15;transform:scale(1,1.2); }
.logo-text .accent { color: var(--accent); }
.logo-text small { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.40em; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; padding-left: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 10px 16px; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 600; color: var(--text-dark); transition: var(--transition); position: relative; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-link:hover { background: var(--primary-soft); color: var(--primary); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 22px; height: 3px; background: var(--accent); border-radius: 4px; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 10px); left: 0; background: white; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 10px; min-width: 230px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); border: 1px solid var(--gray-border); z-index: 100; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: 0.88rem; font-weight: 500; color: var(--text-dark); transition: var(--transition); }
.nav-dropdown-menu a:hover { background: var(--primary-soft); color: var(--primary); transform: translateX(3px); }
.nav-dropdown-menu a i { color: var(--primary); width: 18px; }
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.mobile-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); align-items: center; justify-content: center; font-size: 1.1rem; }

/* Mobile nav */
.mobile-nav { position: fixed; top: 0; right: -100%; width: min(88vw, 380px); height: 100vh; background: white; z-index: 1100; box-shadow: -20px 0 60px rgba(0,0,0,0.15); padding: 24px; overflow-y: auto; transition: right 0.35s cubic-bezier(0.2,0.9,0.4,1); }
.mobile-nav.open { right: 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--gray-border); }
.mobile-nav-close { width: 40px; height: 40px; border-radius: 12px; background: var(--gray-soft); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; color: var(--text-dark); display: flex; align-items: center; gap: 12px; transition: var(--transition); }
.mobile-nav-links a:hover, .mobile-nav-links a.active { background: var(--primary-soft); color: var(--primary); }
.mobile-nav-links a i { width: 20px; color: var(--primary); }
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(10,20,40,0.5); backdrop-filter: blur(3px); z-index: 1050; opacity: 0; visibility: hidden; transition: var(--transition); }
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%); color: white; padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255,184,0,0.15), transparent 70%); }
.page-hero-content { position: relative; z-index: 2; max-width: 780px; }
.page-hero h1 { color: white; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 640px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; margin-bottom: 20px; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: rgba(255,255,255,0.85); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.7rem; }

/* Cards */
.card { background: white; border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-md); }
.info-card { background: white; border-radius: var(--radius-card); padding:20px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); transition: var(--transition); }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-icon { width: 60px; height: 60px; border-radius: 50%; /*background: var(--primary-soft);*/ color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto; margin-bottom: 18px; transition: var(--transition); border: 1px solid var(--primary); box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.40); }
.info-card:hover .info-icon {/* background: var(--accent);*/ color: var(--primary-dark); transform: rotate(-6deg); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }

/* Tables */
.data-table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
.data-table th { text-align: left; padding: 14px 16px; color: var(--text-muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid var(--gray-soft); white-space: nowrap; background: var(--gray-light); }
.data-table td { padding: 16px; border-bottom: 1px solid var(--gray-soft); font-weight: 500; }
.data-table tbody tr:hover { background: var(--gray-soft); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* Status badges */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 40px; font-size: 0.75rem; font-weight: 600; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.active { background: var(--success-soft); color: var(--success); }
.status.warning { background: var(--warning-soft); color: var(--warning); }
.status.danger { background: var(--danger-soft); color: var(--danger); }
.status.info { background: var(--sky-soft); color: #0057b8; }
.badge { display: inline-block; background: var(--gray-soft); padding: 6px 14px; border-radius: 40px; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.badge-accent { background: var(--accent-soft); color: #8a6400; }
.badge-sky { background: var(--sky-soft); color: #0057b8; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.form-group label .req { color: var(--danger); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--gray-border);
  background: var(--gray-light); font-family: var(--font); font-size: 0.92rem;
  color: var(--text-dark); transition: var(--transition); outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); background: white; box-shadow: 0 0 0 4px var(--primary-soft);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group .error-msg { font-size: 0.78rem; color: var(--danger); display: none; align-items: center; gap: 6px; }
.form-group.error input, .form-group.error select, .form-group.error textarea { border-color: var(--danger); background: var(--danger-soft); }
.form-group.error .error-msg { display: flex; }

/* Filter chips */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 40px; background: white; border: 1.5px solid var(--gray-border); font-size: 0.82rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); color: white; border-color: var(--primary); }

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: white; border-radius: var(--radius-sm); border: 1px solid var(--gray-border); overflow: hidden; transition: var(--transition); }
.accordion-item:hover { box-shadow: var(--shadow-sm); }
.accordion-header { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: var(--text-dark); font-size: 0.95rem; }
.accordion-header i { transition: var(--transition); color: var(--primary); }
.accordion-item.open .accordion-header i { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; padding: 0 22px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.accordion-item.open .accordion-body { max-height: 500px; padding: 0 22px 20px; }

/* Gallery */
.gallery-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.gallery-grid-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.gallery-card { position: relative; border-radius: var(--radius-sm); overflow: hidden; height: 240px; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-card:hover img { transform: scale(1.1); }
.gallery-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,42,99,0.9), transparent 55%); opacity: 0; transition: var(--transition); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: white; }
.gallery-card:hover .gallery-card-overlay { opacity: 1; }
.gallery-card-overlay h4 { color: white; font-size: 1rem; margin-bottom: 4px; }
.gallery-card-overlay span { font-size: 0.78rem; color: rgba(255,255,255,0.8); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.15); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; backdrop-filter: blur(10px); }
.lightbox-close:hover { background: var(--danger); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.15); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; backdrop-filter: blur(10px); }
.lightbox-nav:hover { background: var(--accent); color: var(--primary-dark); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* Video card */
.video-card { background: white; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); transition: var(--transition); }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.video-thumb { position: relative; height: 200px; overflow: hidden; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(13,42,99,0.35); }
.video-play-btn i { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.95); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: var(--transition); }
.video-thumb:hover .video-play-btn i { background: var(--accent); transform: scale(1.1); }
.video-body { padding: 20px; }
.video-body h4 { color: var(--primary); font-size: 1rem; margin-bottom: 6px; }
.video-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-muted); }

/* Calendar */
.calendar-wrap { background: white; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); padding: 28px; border: 1px solid var(--gray-border); }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 14px; }
.calendar-title { font-size: 1.3rem; font-weight: 700; color: var(--primary); font-family: var(--font-display); }
.calendar-nav { display: flex; gap: 8px; }
.calendar-nav button { width: 40px; height: 40px; border-radius: 12px; background: var(--gray-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.calendar-nav button:hover { background: var(--primary); color: white; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-dow { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 0; }
.calendar-day { aspect-ratio: 1/1; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 600; color: var(--text-dark); cursor: pointer; transition: var(--transition); position: relative; border: 1px solid transparent; }
.calendar-day:hover { background: var(--primary-soft); border-color: var(--primary); }
.calendar-day.empty { visibility: hidden; }
.calendar-day.today { background: var(--primary); color: white; }
.calendar-day.holiday { background: var(--danger-soft); color: var(--danger); }
.calendar-day.exam { background: var(--warning-soft); color: var(--warning); }
.calendar-day.event { background: var(--sky-soft); color: #0057b8; }
.calendar-day .dot-ind { position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.calendar-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--gray-border); }
.calendar-legend div { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); }
.legend-swatch { width: 14px; height: 14px; border-radius: 5px; }

/* Timetable */
.timetable-wrap { overflow-x: auto; }
.timetable { width: 100%; border-collapse: separate; border-spacing: 6px; min-width: 900px; }
.timetable th { padding: 12px 10px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 700; background: var(--gray-soft); border-radius: 10px; }
.timetable td { padding: 16px 10px; border-radius: 12px; background: white; border: 1px solid var(--gray-border); font-size: 0.85rem; font-weight: 600; text-align: center; transition: var(--transition); }
.timetable td.slot { background: var(--primary-soft); color: var(--primary); border-color: transparent; font-weight: 700; }
.timetable td.slot-sky { background: var(--sky-soft); color: #0057b8; }
.timetable td.slot-accent { background: var(--accent-soft); color: #8a6400; }
.timetable td.slot-wine { background: var(--warning-soft); color: var(--warning); }
.timetable td:not(.slot):hover { border-color: var(--primary); transform: scale(1.03); }

/* Staff cards */
.staff-card { background: white; border-radius: var(--radius-card); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); text-align: center; transition: var(--transition); }
.staff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.staff-avatar { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--primary), var(--sky)); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.8rem; font-weight: 700; border: 4px solid var(--gray-soft); }
.staff-card h4 { color: var(--primary); font-size: 1.05rem; margin-bottom: 4px; }
.staff-card .designation { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; font-weight: 600; }
.staff-meta { display: flex; justify-content: center; gap: 16px; margin: 12px 0; font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap; }
.staff-meta span { display: flex; align-items: center; gap: 5px; }
.staff-meta i { color: var(--accent-dark); }
.staff-contact { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.staff-contact a { width: 36px; height: 36px; border-radius: 10px; background: var(--gray-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: var(--transition); }
.staff-contact a:hover { background: var(--primary); color: white; }

/* Result marksheet */
.result-panel { background: white; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); padding: 40px; border: 1px solid var(--gray-border); }
.marksheet { border: 2px solid var(--primary); border-radius: var(--radius-sm); padding: 30px; margin-top: 30px; }
.marksheet-header { text-align: center; padding-bottom: 20px; border-bottom: 2px solid var(--gray-border); margin-bottom: 24px; }
.marksheet-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; padding: 18px; background: var(--gray-light); border-radius: var(--radius-sm); }
.marksheet-info div { font-size: 0.88rem; }
.marksheet-info strong { color: var(--primary); }
.grade-badge { display: inline-block; padding: 6px 14px; border-radius: 8px; font-weight: 800; font-size: 0.9rem; }
.grade-Ap { background: var(--success-soft); color: var(--success); }
.grade-A { background: var(--sky-soft); color: #0057b8; }
.grade-B { background: var(--accent-soft); color: #8a6400; }
.grade-C { background: var(--warning-soft); color: var(--warning); }
.grade-D { background: var(--danger-soft); color: var(--danger); }

/* Notice items */
.notice-tag { display: inline-block; background: var(--sky-soft); color: var(--sky); font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 40px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.notice-date-box { background: var(--primary-soft); color: var(--accent); border-radius: 12px; padding: 10px 14px; text-align: center; flex-shrink: 0; min-width: 64px; transition: var(--transition); }
.notice-date-box .day { font-size: 1.4rem; font-weight: 800; line-height: 1; display: block; }
.notice-date-box .month { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.notice-item { display: flex; gap: 18px; background: white; border: 1px solid var(--primary);  border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); transition: var(--transition); align-items: center; }
.notice-item:hover { transform: translateX(6px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.notice-item:hover .notice-date-box { background: var(--accent); color: var(--primary-dark); }
.notice-body-flex { flex: 1; }
.notice-body-flex h4 { font-size: 1rem; color: var(--text-dark); margin-bottom: 4px; }
.notice-body-flex p { font-size: 0.85rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info-card { background: white; border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); }
.contact-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-soft); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .c-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: 4px; }
.contact-info-item p { font-size: 0.88rem; }
.map-embed { width: 100%; height: 400px; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); margin-top: 32px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Downloads */
.download-item { display: flex; align-items: center; gap: 18px; background: white; border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); transition: var(--transition); }
.download-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.download-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.download-icon.pdf { background: var(--danger-soft); color: var(--danger); }
.download-icon.doc { background: var(--sky-soft); color: var(--sky); }
.download-icon.xls { background: var(--success-soft); color: var(--success); }
.download-body { flex: 1; }
.download-body h4 { font-size: 0.98rem; color: var(--text-dark); margin-bottom: 4px; }
.download-body p { font-size: 0.78rem; }
.download-btn { padding: 10px 18px; border-radius: var(--radius-pill); background: var(--primary); color: white; font-weight: 600; font-size: 0.82rem; display: flex; align-items: center; gap: 7px; }
.download-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Search panel */
.search-panel { display: flex; gap: 12px; background: white; padding: 20px; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); margin-bottom: 28px; flex-wrap: wrap; align-items: flex-end; }
.search-panel .form-group { flex: 1; min-width: 180px; }

/* Footer */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: 70px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--sky), var(--accent)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .logo { color: white; margin-bottom: 18px; }
.footer-brand .logo-text small { color: rgba(255,255,255,0.55); }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 22px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.85); font-size: 1rem; transition: var(--transition); }
.social-links a:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-4px); }
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 3px; background: var(--accent); border-radius: 4px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { color: rgba(255,255,255,0.72); font-size: 0.88rem; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-col ul a:hover { color: var(--accent); padding-left: 5px; }
.footer-col ul a i { font-size: 0.7rem; color: var(--accent); }
.footer-contact-item { display: flex; gap: 14px; margin-bottom: 16px; font-size: 0.88rem; align-items: flex-start; }
.footer-contact-item i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 0.85rem; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.72); }
.footer-bottom a:hover { color: var(--accent); }

/* Toast */
.toast-container { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 3000; max-width: 380px; width: calc(100% - 48px); }
.toast { background: white; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: flex-start; gap: 12px; border-left: 4px solid var(--primary); animation: toastIn 0.35s cubic-bezier(0.2,0.9,0.4,1); }
.toast.removing { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(60px); } }
.toast.success { border-left-color: var(--success); }
.toast.warning { border-left-color: var(--warning); }
.toast.danger { border-left-color: var(--danger); }
.toast-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; background: var(--primary-soft); color: var(--primary); }
.toast.success .toast-icon { background: var(--success-soft); color: var(--success); }
.toast.warning .toast-icon { background: var(--warning-soft); color: var(--warning); }
.toast.danger .toast-icon { background: var(--danger-soft); color: var(--danger); }
.toast-content { flex: 1; }
.toast-content strong { display: block; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 2px; }
.toast-content p { font-size: 0.82rem; }
.toast-close { color: var(--text-muted); font-size: 0.85rem; padding: 4px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.9,0.4,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .main-nav, .header-cta .btn-outline-dark { display: none; }
  .mobile-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { 
  .logo-icon { width:60px; height:60px; }
  .logo-text {font-size: 1.2rem; }
  .logo-text small { font-size: 0.5rem; }
  .section { padding: 55px 0; }
  .container { padding: 0 18px; }
  .topbar-left span:not(:first-child) { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .toast-container { left: 16px; right: 16px; width: auto; bottom: 16px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .marksheet-info { grid-template-columns: 1fr; }
  .notice-ticker { font-size: 0.8rem; padding: 8px 0; }
  .notice-label { font-size: 0.68rem; padding: 5px 12px; }
  .ticker-track { gap: 40px; animation-duration: 22s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}


  /* ========== HOME PAGE SPECIFIC: HERO SLIDER ========== 640 */
  .hero-slider { position: relative; height: 500px; overflow: hidden; background: var(--primary-dark); }
  .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s ease; will-change: opacity; }
  .slide.active { opacity: 1; visibility: visible; }
  .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 7s ease-out; }
  .slide.active .slide-bg { transform: scale(1); }
/*
  .slide-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,42,99,0.92) 0%, rgba(21,59,138,0.72) 45%, rgba(21,59,138,0.35) 100%); }
*/
  .slide-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,85,43,0.72) 0%, rgba(0,85,43,0.52) 45%, rgba(0,85,43,0.15) 100%); }

  .slide-overlay::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,184,0,0.15), transparent 55%); }
  .slide-content { position: relative; z-index: 5; height:85%; display: flex; align-items: center; }
  .slide-text { max-width: 720px; color: white;  }
  .slide-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,184,0,0.2); border: 1px solid rgba(255,184,0,0.5); color: var(--accent); padding: 8px 18px; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 22px; backdrop-filter: blur(6px); }
  .slide-text h1 { color: white; margin-bottom: 20px; text-shadow: 0 4px 24px rgba(0,0,0,0.3); font-size: clamp(1.2rem, 4vw, 2.8rem); }
  .slide-text h1 .accent { color: var(--accent); }
  .slide-text p { color: rgba(255,255,255,0.92); font-size: clamp(1rem, 1.6vw, 1.15rem); margin-bottom: 32px; max-width: 580px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
  .slide-cta { display: flex; gap: 14px; flex-wrap: wrap; }
  .slide-cta .btn { padding: 6px 20px; }
  .slide.active .anim-up { animation: slideUp 0.9s cubic-bezier(0.2,0.9,0.4,1) forwards; }
  .slide.active .anim-up-delay-1 { animation: slideUp 0.9s cubic-bezier(0.2,0.9,0.4,1) 0.18s forwards; opacity: 0; }
  .slide.active .anim-up-delay-2 { animation: slideUp 0.9s cubic-bezier(0.2,0.9,0.4,1) 0.34s forwards; opacity: 0; }
  .slide.active .anim-up-delay-3 { animation: slideUp 0.9s cubic-bezier(0.2,0.9,0.4,1) 0.5s forwards; opacity: 0; }
  .anim-up { opacity: 0; }
  @keyframes slideUp { from { opacity: 0; transform: translateY(35px); } to { opacity: 1; transform: translateY(0); } }
  .slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); color: white; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; z-index: 10; transition: var(--transition); }
  .slider-arrow:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); transform: translateY(-50%) scale(1.08); }
  .slider-arrow.prev { left: 28px; }
  .slider-arrow.next { right: 28px; }
  .slider-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
  .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: var(--transition); border: none; padding: 0; }
  .dot.active { width: 34px; border-radius: 10px; background: var(--accent); }
  .dot:hover:not(.active) { background: rgba(255,255,255,0.8); }
  .slider-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--accent); z-index: 10; width: 0%; transition: width 0.1s linear; }

  /* Stats bar */
  .stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: white; border-radius: var(--radius-card); box-shadow: var(--shadow-md); overflow: hidden; margin-top: -60px; position: relative; z-index: 20; }
  .stat-block { padding: 34px 24px; text-align: center; border-right: 1px solid var(--gray-border); transition: var(--transition); position: relative; overflow: hidden; }
  .stat-block:last-child { border-right: none; }
  .stat-block::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--accent); transform: scaleX(0); transition: transform 0.4s ease; }
  .stat-block:hover::before { transform: scaleX(1); }
  .stat-block:hover { background: var(--gray-light); }
  .stat-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 16px; transition: var(--transition); }
  .stat-block:hover .stat-icon { background: var(--accent); color: var(--primary-dark); transform: rotate(-6deg) scale(1.08); }
  .stat-number { font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; font-family: var(--font-display); }
  .stat-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }

  /* About */
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .about-image { position: relative; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-lg); }
  .about-image img { width: 100%; height: 460px; object-fit: cover; transition: transform 0.6s ease; }
  .about-image:hover img { transform: scale(1.05); }
  .about-badge { position: absolute; bottom: 24px; left: 24px; background: var(--accent); color: var(--primary-dark); padding: 16px 24px; border-radius: var(--radius-sm); font-weight: 700; box-shadow: var(--shadow-md); }
  .about-badge .num { font-size: 1.8rem; display: block; line-height: 1; }
  .about-badge .txt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
  .about-content .eyebrow { display: inline-block; background: var(--primary-soft); color: var(--primary); padding: 7px 16px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
  .about-content h2 { margin-bottom: 18px; }
  .about-content > p { margin-bottom: 20px; font-size: 1.02rem; }
  .about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
  .feature-item { display: flex; gap: 12px; align-items: flex-start; }
  .feature-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--sky-soft); color: var(--sky); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
  .feature-item h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: 2px; }
  .feature-item p { font-size: 0.82rem; }

  /* Principal */
  .principal-card { background: var(--primary); color: white; border-radius: var(--radius-card); padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
  .principal-card::before { content: '\201C'; position: absolute; top: -30px; right: 30px; font-size: 14rem; font-family: var(--font-display); color: rgba(255,255,255,0.07); line-height: 1; }
  .principal-avatar { width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #ffd66b); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 800; color: var(--primary-dark); border: 4px solid rgba(255,255,255,0.25); flex-shrink: 0; }
  .principal-content blockquote { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.92); font-style: italic; margin-bottom: 18px; }
  .principal-content .name { font-weight: 700; color: var(--accent); font-size: 1.05rem; }
  .principal-content .role { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

  /* Highlights */
  .highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .highlight-card { background: white; border-radius: var(--radius-card); padding: 32px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); transition: var(--transition); position: relative; overflow: hidden; }
  .highlight-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
  .highlight-card:hover::after { transform: scaleX(1); }
  .highlight-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
  .highlight-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 20px; transition: var(--transition); }
  .highlight-card:hover .highlight-icon { background: var(--primary); color: var(--accent); transform: rotate(-6deg); }
  .highlight-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.15rem; }
  .highlight-card p { font-size: 0.9rem; line-height: 1.65; }
  .highlight-card .learn-more { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; font-size: 0.85rem; margin-top: 18px; transition: var(--transition); }
  .highlight-card .learn-more:hover { gap: 12px; color: var(--accent-dark); }

  /* Events */
  .events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .event-card { background: white; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); transition: var(--transition); }
  .event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
  .event-image { height: 190px; overflow: hidden; position: relative; }
  .event-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
  .event-card:hover .event-image img { transform: scale(1.08); }
  .event-date { position: absolute; top: 16px; left: 16px; background: var(--accent); color: var(--primary-dark); border-radius: 12px; padding: 8px 14px; text-align: center; font-weight: 700; box-shadow: var(--shadow-sm); }
  .event-date .day { font-size: 1.4rem; line-height: 1; display: block; }
  .event-date .month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
  .event-body { padding: 22px; }
  .event-body h3 { font-size: 1.08rem; color: var(--primary); margin-bottom: 8px; }
  .event-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; flex-wrap: wrap; }
  .event-meta span { display: flex; align-items: center; gap: 6px; }
  .event-meta i { color: var(--accent-dark); }
  .event-body p { font-size: 0.88rem; } 

/* ===== Events ===== */
.event2-card { display: flex; gap: 1rem; padding: 1rem; border: 1px solid var(--accent); /* background: var(--white);*/ border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); margin-bottom: 0.75rem; transition: var(--transition); }
.event2-card:hover { box-shadow: var(--shadow); }
.event2-date-box { flex-shrink: 0; width: 52px; height: 56px; background: var(--accent); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--primary); }
.event2-date-box .day { font-size: 1.4rem; font-weight: 700; line-height: 1; }
.event2-date-box .mon { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.8; }
.event2-info h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.event2-info .meta { font-size: 0.8rem; color: var(--gray-400); }

  /* Testimonials */
  .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .testimonial-card { background: white; border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); transition: var(--transition); position: relative; }
  .testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
  .testimonial-quote { font-size: 3rem; font-family: var(--font-display); color: var(--accent); line-height: 0.6; margin-bottom: 16px; }
  .testimonial-card p { font-size: 0.92rem; line-height: 1.7; font-style: italic; margin-bottom: 22px; color: var(--text-dark); }
  .testimonial-author { display: flex; align-items: center; gap: 14px; }
  .author-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--sky)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
  .author-info .name { font-weight: 700; font-size: 0.92rem; color: var(--primary); }
  .author-info .role { font-size: 0.78rem; color: var(--text-muted); }
  .stars { color: var(--accent); font-size: 0.8rem; margin-top: 3px; }

  /* Gallery preview */
  .gallery-preview { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px); gap: 16px; }
  .gallery-preview .gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); }
  .gallery-preview .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-preview .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
  .gallery-preview .gallery-item:hover img { transform: scale(1.1); }
  .gallery-preview .gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,42,99,0.85), transparent 60%); opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 20px; }
  .gallery-preview .gallery-item:hover .gallery-overlay { opacity: 1; }
  .gallery-preview .gallery-overlay span { color: white; font-weight: 600; font-size: 0.95rem; }
  .gallery-preview .gallery-overlay i { color: var(--accent); margin-right: 8px; }

  /* Notice + quick links */
  .notice-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
  .notice-list { display: flex; flex-direction: column; gap: 14px; }
  .quick-links { background: var(--primary); border-radius: var(--radius-card); padding: 32px; color: white; height: fit-content; position: sticky; top: 100px; }
  .quick-links h3 { color: var(--accent); margin-bottom: 20px; font-size: 1.15rem; }
  .quick-link { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); transition: var(--transition); font-weight: 500; font-size: 0.92rem; }
  .quick-link:last-child { border-bottom: none; }
  .quick-link:hover { padding-left: 8px; color: var(--accent); }
  .quick-link i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 0.9rem; flex-shrink: 0; }

  /* Responsive */
  @media (max-width: 1100px) { 
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-block:nth-child(2) { border-right: none; }
    .stat-block:nth-child(1), .stat-block:nth-child(2) { border-bottom: 1px solid var(--gray-border); }
    .highlights-grid, .events-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .gallery-preview { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 200px); }
    .gallery-preview .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
    .notice-grid { grid-template-columns: 1fr; }
    .quick-links { position: static; }
  }
  @media (max-width: 900px) {
    .hero-slider { height: 520px; }
    .slider-arrow { width: 46px; height: 46px; }
    .slider-arrow.prev { left: 14px; }
    .slider-arrow.next { right: 14px; }
    .principal-card { grid-template-columns: 1fr; text-align: center; }
    .principal-avatar { margin: 0 auto; }
  }
  @media (max-width: 640px) {
    .hero-slider { height: 480px; }
    .slide-text h1 { font-size: 1.8rem; }
    .slide-cta .btn { padding: 6px 20px; font-size: 0.88rem; }
    .stats-bar { grid-template-columns: 1fr; margin-top: -40px; }
    .stat-block { border-right: none; border-bottom: 1px solid var(--gray-border); padding: 26px 20px; }
    .stat-block:last-child { border-bottom: none; }
    .highlights-grid, .events-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .gallery-preview { grid-template-columns: 1fr; grid-template-rows: repeat(5, 220px); }
    .gallery-preview .gallery-item:first-child { grid-column: span 1; grid-row: span 1; }
    .slider-arrow { display: none; }
  }

.msg-img{ flex-shrink: 0; width: 200px; height: 250px; border-radius: 10px; overflow: hidden; position: relative; box-shadow: var(--gray-border); border:4px solid #FFFFFF;}
.msg-img img{ width: 100%; height: 100%; object-fit: cover;  }
