* {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
input, textarea { -webkit-user-select: text; user-select: text; }

:root {
  --bg: #f0f2f8;
  --bg-card: #ffffff;
  --accent: #3366ff;
  --accent2: #7c4dff;
  --accent3: #00c853;
  --text: #16162e;
  --text-dim: #5e5e80;
  --glow: rgba(51, 102, 255, 0.15);
  --glow2: rgba(124, 77, 255, 0.12);
  --glass: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.4);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
  --radius: 20px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(24px) saturate(1.4);
  background: rgba(240,242,248,0.75);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
}
nav.scrolled {
  padding: 0.6rem 3rem;
  background: rgba(240,242,248,0.92);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem; font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; letter-spacing: 0.5px; transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.3s; border-radius: 2px;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; padding: 0 2rem;
  background:
    radial-gradient(ellipse 70% 50% at 15% 35%, rgba(51,102,255,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 85% 65%, rgba(124,77,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 50% 80%, rgba(0,200,83,0.05) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 25s linear infinite;
}
@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}
.hero-content { text-align: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; padding: 0.5rem 1.4rem; border-radius: 100px;
  background: rgba(51,102,255,0.06); border: 1px solid rgba(51,102,255,0.12);
  font-size: 0.78rem; color: var(--accent); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 2rem;
  animation: fadeUp 0.8s ease-out 0.2s both;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-family: 'Orbitron', sans-serif; font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900; letter-spacing: 4px; line-height: 1.1;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 50%, var(--accent2) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: fadeUp 0.8s ease-out 0.4s both, gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.4rem); color: var(--text-dim);
  margin-top: 1.5rem; font-weight: 300; letter-spacing: 8px;
  animation: fadeUp 0.8s ease-out 0.6s both;
}
.hero-line {
  width: 60px; height: 2px; margin: 2.5rem auto;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  animation: fadeUp 0.8s ease-out 0.8s both;
}
.hero-desc {
  max-width: 520px; margin: 0 auto; font-size: 0.95rem;
  color: var(--text-dim); line-height: 1.9;
  animation: fadeUp 0.8s ease-out 1s both;
}
.hero-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 2.5rem; padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 700; font-size: 0.9rem;
  border: none; border-radius: 100px; cursor: pointer;
  text-decoration: none; letter-spacing: 1px;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeUp 0.8s ease-out 1.2s both;
  box-shadow: 0 4px 20px rgba(51,102,255,0.3);
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(51,102,255,0.4);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  animation: float linear infinite;
  will-change: transform, opacity;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== SECTIONS ===== */
section { padding: 7rem 2rem; position: relative; }
.section-label {
  font-family: 'Orbitron', sans-serif; font-size: 0.7rem;
  color: var(--accent); letter-spacing: 4px; text-transform: uppercase;
  text-align: center; margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  text-align: center; margin-bottom: 1rem;
}
.section-desc {
  text-align: center; color: var(--text-dim); max-width: 600px;
  margin: 0 auto 4rem; font-size: 0.95rem; line-height: 1.8;
}
.container { max-width: 1200px; margin: 0 auto; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.about-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 2.2rem;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s;
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.about-card:hover::before { transform: scaleX(1); }
.about-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem;
  margin-bottom: 1.4rem; transition: transform 0.3s;
}
.about-card:hover .about-icon { transform: scale(1.1); }
.about-card:nth-child(1) .about-icon { background: rgba(51,102,255,0.1); color: #3366ff; }
.about-card:nth-child(2) .about-icon { background: rgba(124,77,255,0.1); color: #7c4dff; }
.about-card:nth-child(3) .about-icon { background: rgba(0,200,83,0.1); color: #00c853; }
.about-card:nth-child(4) .about-icon { background: rgba(255,171,0,0.1); color: #ffab00; }
.about-card:nth-child(5) .about-icon { background: rgba(255,64,129,0.1); color: #ff4081; }
.about-card:nth-child(6) .about-icon { background: rgba(0,176,255,0.1); color: #00b0ff; }
.about-card h3 { font-size: 1.1rem; margin-bottom: 0.7rem; font-weight: 700; }
.about-card p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.8; }

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 50%);
}
.stats-row {
  display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Orbitron', sans-serif; font-size: 3rem;
  font-weight: 900; color: #fff;
}
.stat-label { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 0.3rem; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.service-item {
  background: var(--bg-card); border-radius: var(--radius); padding: 2rem;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(.4,0,.2,1); cursor: default;
  position: relative; overflow: hidden;
}
.service-item::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(51,102,255,0.06), transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.service-item:hover::after { opacity: 1; }
.service-item:hover { border-color: rgba(51,102,255,0.12); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-num {
  font-family: 'Orbitron', sans-serif; font-size: 0.7rem;
  color: var(--accent); letter-spacing: 2px; margin-bottom: 1rem;
  opacity: 0.6;
}
.service-item h3 { font-size: 1.02rem; margin-bottom: 0.5rem; font-weight: 600; }
.service-item p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.7; }

/* ===== TEAM ===== */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.team-card { text-align: center; }
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: #fff;
  position: relative; transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.team-card:hover .team-avatar { transform: scale(1.08); }
.team-avatar::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(51,102,255,0.12);
  transition: border-color 0.3s;
}
.team-card:hover .team-avatar::after { border-color: rgba(51,102,255,0.3); }
.team-card h4 { font-size: 1rem; margin-bottom: 0.3rem; font-weight: 600; }
.team-card span { color: var(--text-dim); font-size: 0.8rem; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--bg-card); border: 1px solid rgba(0,0,0,0.04);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item:nth-child(1) { grid-column: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-placeholder {
  font-size: 3rem; opacity: 0.12;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(22,22,46,0.7));
  display: flex; align-items: flex-end; padding: 1.4rem;
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 0.88rem; font-weight: 600; color: #fff; letter-spacing: 0.5px; }

/* Active gallery item with link */
.gallery-active {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), linear-gradient(135deg, var(--accent), var(--accent2));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.gallery-active:hover {
  box-shadow: 0 8px 36px rgba(51,102,255,0.15);
  transform: translateY(-5px);
}
.gallery-active .gallery-placeholder {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0.35;
}
.gallery-badge {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  padding: 0.3rem 0.8rem; border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(51,102,255,0.3);
}
.badge-red {
  background: linear-gradient(135deg, #ff4444, #ff6b6b);
  box-shadow: 0 2px 8px rgba(255,68,68,0.3);
}
.gallery-restricted {
  border: 1px solid rgba(255,68,68,0.15);
}
.gallery-restricted:hover {
  border-color: rgba(255,68,68,0.3);
  box-shadow: 0 8px 36px rgba(255,68,68,0.1);
}

/* Modal */
.modal-cert-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.35rem 1rem; border-radius: 100px; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(51,102,255,0.3);
}
.modal-cert-badge i { font-size: 0.8rem; }
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  z-index: 200; align-items: center; justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--bg-card); border-radius: var(--radius); padding: 2.5rem;
  max-width: 420px; width: 90%; text-align: center;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.3s ease;
}
.modal-box h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.modal-box p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.6; }
.modal-box .modal-url { font-size: 0.75rem; color: var(--accent); word-break: break-all; margin-bottom: 1.5rem; }
.modal-btns { display: flex; gap: 1rem; justify-content: center; }
.modal-btns a, .modal-btns button {
  padding: 0.6rem 1.5rem; border-radius: 100px; font-size: 0.85rem;
  font-weight: 600; text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.modal-btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
}
.modal-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(51,102,255,0.3); }
.modal-btn-close {
  background: rgba(0,0,0,0.05); color: var(--text-dim);
}
.modal-btn-close:hover { background: rgba(0,0,0,0.1); }
.modal-icon { font-size: 3rem; margin-bottom: 1rem; }
.modal-icon i {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.soon-icon { position: relative; }
.soon-icon i {
  background: linear-gradient(135deg, #ffab00, #ff6b6b) !important;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.soon-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.8rem 1rem; margin-bottom: 1.6rem;
  background: rgba(51,102,255,0.05);
  border: 1px dashed rgba(51,102,255,0.18);
  border-radius: 14px;
  font-size: 0.78rem; color: var(--text-dim); line-height: 1.5;
}
.soon-hint i { color: var(--accent); font-size: 0.85rem; }

/* ===== CAMPUS RUN MODAL ===== */
#campusrunModal .modal-box { max-width: 520px; }
.cr-info-block {
  background: rgba(51,102,255,0.03);
  border: 1px solid rgba(51,102,255,0.1);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}
.cr-info-row {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.cr-info-row:last-child { border-bottom: none; }
.cr-label {
  flex-shrink: 0; width: 52px;
  font-size: 0.72rem; font-weight: 600;
  color: var(--accent); padding-top: 2px;
}
.cr-value { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }
.cr-link-box {
  display: flex; align-items: center; gap: 0.5rem;
  flex: 1; min-width: 0;
}
.cr-link {
  font-size: 0.72rem; color: var(--text-dim);
  word-break: break-all; flex: 1; min-width: 0;
}
.cr-copy-btn {
  flex-shrink: 0; background: var(--accent); color: #fff;
  border: none; border-radius: 8px; padding: 0.25rem 0.7rem;
  font-size: 0.72rem; cursor: pointer;
  transition: background 0.2s;
}
.cr-copy-btn:hover { background: var(--accent2); }
.cr-steps {
  background: var(--bg);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}
.cr-steps h4 {
  font-size: 0.82rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.8rem;
}
.cr-steps ol {
  margin: 0; padding-left: 1.2rem;
}
.cr-steps li {
  font-size: 0.82rem; color: var(--text-dim);
  line-height: 1.8; padding-left: 0.2rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 2rem;
  border: 1px solid rgba(0,0,0,0.04);
  display: flex; align-items: flex-start; gap: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(51,102,255,0.1), rgba(124,77,255,0.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--accent);
}
.contact-card h4 { font-size: 0.95rem; margin-bottom: 0.3rem; font-weight: 600; }
.contact-card p { color: var(--text-dim); font-size: 0.85rem; }

/* ===== FOOTER ===== */
footer {
  padding: 3.5rem 2rem 2rem; text-align: center;
  border-top: 1px solid rgba(0,0,0,0.04);
  position: relative;
}
footer p { color: var(--text-dim); font-size: 0.8rem; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1rem; }
.footer-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.8rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }
.back-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 16px rgba(51,102,255,0.3);
  z-index: 50;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; z-index: 101;
  padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE NAV ===== */
.nav-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(240,242,248,0.98); backdrop-filter: blur(24px);
  z-index: 99; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-size: 1.1rem; letter-spacing: 1px; text-decoration: none;
  color: var(--text-dim); font-weight: 500; transition: color 0.3s;
}
.nav-overlay a:hover { color: var(--accent); }
.nav-overlay .overlay-close {
  position: absolute; top: 1rem; right: 1.5rem;
  background: none; border: none; font-size: 2rem; cursor: pointer;
  color: var(--text-dim); width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 180px); }
  .gallery-item:nth-child(1) { grid-column: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 1; }
  .stats-row { gap: 3rem; }
}
@media (max-width: 768px) {
  nav { padding: 0.7rem 1rem; }
  .nav-logo { font-size: 1rem; }
  .nav-links { display: none !important; }
  .hamburger { display: flex; }
  section { padding: 3.5rem 1rem; }
  .section-desc { margin-bottom: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-card { padding: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .service-item { padding: 1.3rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .team-avatar { width: 72px; height: 72px; font-size: 1.3rem; }
  .team-card h4 { font-size: 0.9rem; }
  .team-card span { font-size: 0.72rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 150px); gap: 0.6rem; }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .gallery-item:nth-child(4) { grid-column: span 1; }
  .stats-section { padding: 3.5rem 1rem; }
  .stats-row { gap: 2rem; flex-wrap: wrap; }
  .stat-num { font-size: 2.2rem; }
  .stat-label { font-size: 0.8rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .contact-card { padding: 1.3rem; }
  .hero-sub { letter-spacing: 4px; font-size: 0.95rem; }
  .hero-desc { font-size: 0.88rem; max-width: 90%; }
  .hero-btn { padding: 0.75rem 2rem; font-size: 0.85rem; }
  .hero h1 { font-size: 2.5rem; letter-spacing: 2px; }
  .back-top { width: 40px; height: 40px; bottom: 1.5rem; right: 1.5rem; }
  #announcement { padding: 0 0 1.5rem; }
  .announcement-wrap { margin: 0 0.3rem; }
  .announcement-header { padding: 0.8rem 1rem; }
  .ann-item { padding: 0.8rem 1rem; }
  .ann-text { font-size: 0.82rem; }
}
@media (max-width: 480px) {
  .nav-logo { font-size: 0.9rem; }
  .hero h1 { font-size: 2rem; letter-spacing: 1px; }
  .hero-sub { letter-spacing: 3px; font-size: 0.85rem; }
  .section-title { font-size: 1.4rem; }
  .section-label { font-size: 0.6rem; letter-spacing: 2px; }
  .about-card { padding: 1.2rem; }
  .about-card h3 { font-size: 1rem; }
  .about-card p { font-size: 0.82rem; line-height: 1.7; }
  .service-item { padding: 1rem; }
  .service-item h3 { font-size: 0.95rem; }
  .service-item p { font-size: 0.8rem; }
  .team-grid { grid-template-columns: 1fr; }
  .team-avatar { width: 60px; height: 60px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 120px); }
  .gallery-item:nth-child(1) { grid-column: span 1; }
  .gallery-placeholder { font-size: 2rem; }
  .gallery-overlay { padding: 0.8rem; }
  .gallery-overlay span { font-size: 0.75rem; }
  .contact-card { padding: 1rem; }
  .contact-card h4 { font-size: 0.85rem; }
  .contact-card p { font-size: 0.75rem; }
  .footer-links { gap: 1rem; flex-wrap: wrap; }
  .footer-links a { font-size: 0.7rem; }
  .stat-num { font-size: 1.8rem; }
  .stats-row { flex-direction: column; gap: 1.5rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(51,102,255,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(51,102,255,0.35); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .hero-grid, .particle, .hero h1 { animation: none !important; }
  .hero-badge, .hero-sub, .hero-line, .hero-desc, .hero-btn { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ===== REDUCED DATA / LOW-END ===== */
@media (prefers-reduced-data: reduce) {
  nav, .nav-overlay { backdrop-filter: none; background: rgba(240,242,248,0.98); }
  .modal-overlay { backdrop-filter: none; background: rgba(0,0,0,0.7); }
  .hero-badge { backdrop-filter: none; }
}

/* ===== ANNOUNCEMENT ===== */
#announcement { padding: 0 0 2rem; }
.announcement-wrap {
  background: var(--bg-card);
  border: 1px solid rgba(51,102,255,0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.announcement-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(51,102,255,0.04), rgba(124,77,255,0.04));
  border-bottom: 1px solid rgba(51,102,255,0.08);
  cursor: pointer;
}
.announcement-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1rem; color: var(--accent);
}
.announcement-title i { font-size: 0.95rem; }
.announcement-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--text-dim); font-size: 0.85rem;
  transition: transform 0.3s, color 0.3s;
  padding: 0.25rem 0.5rem; border-radius: 8px;
}
.announcement-toggle:hover { color: var(--accent); background: rgba(51,102,255,0.06); }
#announcement.collapsed .announcement-list { display: none; }
#announcement.collapsed #annToggleIcon { transform: rotate(180deg); }
.announcement-list { padding: 0.5rem 0; }
.ann-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.2s;
}
.ann-item:last-child { border-bottom: none; }
.ann-item:hover { background: rgba(51,102,255,0.02); }
.ann-meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.ann-badge {
  display: inline-block; padding: 0.15rem 0.6rem; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px;
}
.badge-red { background: rgba(255,80,80,0.1); color: #ff5050; }
.badge-blue { background: rgba(51,102,255,0.1); color: var(--accent); }
.badge-green { background: rgba(0,200,83,0.1); color: #00c853; }
.ann-date { font-size: 0.72rem; color: var(--text-dim); }
.ann-text { font-size: 0.88rem; color: var(--text); line-height: 1.6; }
