:root {
  --primary-color: #1d4f91;
  --secondary-color: #f4b400;
  --accent-color: #0d9488;
  --light-bg: #f4f7fb;
  --dark-text: #1f2933;
  --light-text: #f9fafb;
  --max-width: 1100px;
  font-size: 16px;
  font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--dark-text);
  background-color: var(--light-bg);
  font-family: inherit;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover, button:hover { opacity: 0.9; }
header {
  background: linear-gradient(135deg, rgba(29, 79, 145, 0.95), rgba(13, 148, 136, 0.88)), url('https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=1400&q=80') center/cover;
  color: var(--light-text);
  padding: 1rem 0 4rem;
  position: relative;
  overflow: hidden;
}
header::after {
  content: ''; position: absolute; inset: 0; background: rgba(29, 79, 145, 0.35);
  pointer-events: none; z-index: 0;
}
.header-inner {
  position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; display: flex; flex-direction: column; gap: 1.5rem;
}
.top-bar { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.logo-wrapper { display: flex; align-items: center; gap: 1rem; }
.logo-wrapper img {
  width: 70px; height: 70px; object-fit: contain; border-radius: 12px; background-color: rgba(255,255,255,0.1); padding: 0.5rem;
}
.school-title { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.2; }
nav ul { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; font-weight: 600; }
nav a { padding: 0.5rem 1rem; border-radius: 999px; transition: background 0.2s ease; }
nav a:hover { background: rgba(255,255,255,0.2); }
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: center; gap: 2.5rem; padding: 2rem 0 1rem; }
.hero h1 { font-size: clamp(2.5rem, 4vw, 3.25rem); margin: 0 0 1rem; }
.hero p { font-size: 1.05rem; margin-bottom: 1.5rem; }
.hero .cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 999px; font-weight: 600; border: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background-color: var(--secondary-color); color: #1f2933; box-shadow: 0 15px 35px rgba(244, 180, 0, 0.35); }
.btn-outline { border: 2px solid var(--light-text); color: var(--light-text); background: transparent; }
.btn:hover { transform: translateY(-2px); }
main { max-width: var(--max-width); margin: -3rem auto 4rem; padding: 0 1.5rem; }
section { background: white; border-radius: 24px; padding: 2.5rem; margin-bottom: 2rem; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); }
.section-title { font-size: 2rem; margin-bottom: 1rem; position: relative; }
.section-title::after {
  content: ''; position: absolute; bottom: -0.5rem; left: 0; width: 60px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { padding: 1.5rem; border-radius: 18px; background: var(--light-bg); display: flex; flex-direction: column; gap: 0.75rem; box-shadow: inset 0 0 0 1px rgba(29, 79, 145, 0.05); }
.card h3 { margin: 0; font-size: 1.2rem; }
.timeline { position: relative; padding-left: 1.5rem; border-left: 3px solid rgba(29, 79, 145, 0.2); display: flex; flex-direction: column; gap: 1.5rem; }
.timeline-item { position: relative; padding-left: 1.5rem; }
.timeline-item::before {
  content: ''; position: absolute; top: 0.3rem; left: -2.12rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--secondary-color); border: 3px solid white; box-shadow: 0 0 0 3px rgba(29, 79, 145, 0.2);
}
.badge { display: inline-block; background: rgba(13, 148, 136, 0.15); color: var(--accent-color); padding: 0.25rem 0.75rem; border-radius: 999px; font-weight: 600; font-size: 0.85rem; }
.highlights { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.highlight { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 18px; background: white; box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05); }
.highlight-icon {
  width: 52px; height: 52px; border-radius: 16px; background: rgba(29, 79, 145, 0.1);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--primary-color);
}
footer { background: #0f172a; color: var(--light-text); padding: 2.5rem 1.5rem; }
footer .footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
footer a { color: rgba(255, 255, 255, 0.85); }
.footer-bottom { margin-top: 2rem; text-align: center; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.table-responsive { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(15, 23, 42, 0.05); }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
table th, table td { padding: 0.85rem 1rem; text-align: left; }
table thead { background: var(--primary-color); color: white; }
table tbody tr:nth-child(even) { background: rgba(15, 23, 42, 0.03); }
form { display: grid; gap: 1.25rem; }
input, textarea, select {
  width: 100%; padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid rgba(15, 23, 42, 0.15); font-size: 1rem; font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(29, 79, 145, 0.15); }
.page-header {
  background: linear-gradient(135deg, rgba(29, 79, 145, 0.9), rgba(13, 148, 136, 0.9)); color: white; padding: 3rem 1.5rem; text-align: center;
}
.page-header h1 { font-size: clamp(2.25rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.page-content { max-width: var(--max-width); margin: -2.5rem auto 4rem; padding: 0 1.5rem; }
.page-section { background: white; border-radius: 24px; padding: 2.5rem; margin-bottom: 2rem; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); }
.page-section h2 { font-size: 1.8rem; margin-bottom: 1.25rem; position: relative; }
.page-section h2::after {
  content: ''; position: absolute; bottom: -0.5rem; left: 0; width: 50px; height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); border-radius: 999px;
}
.two-column { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; align-items: start; }
.notice { padding: 1rem 1.25rem; border-left: 4px solid var(--secondary-color); background: rgba(244,180,0,0.12); border-radius: 12px; }
.info-list { display: grid; gap: 0.75rem; }
.info-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.info-icon {
  width: 36px; height: 36px; border-radius: 12px; background: rgba(29,79,145,0.12); color: var(--primary-color);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.news-card { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; background: var(--light-bg); border-radius: 18px; padding: 1rem; }
.news-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }

@media (max-width: 768px) {
  header { padding-bottom: 3rem; }
  nav ul { flex-wrap: wrap; justify-content: flex-end; }
  .hero { padding-top: 1rem; }
  section, .page-section { padding: 2rem; }
  .news-card { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .top-bar { flex-direction: column; align-items: flex-start; }
  nav ul { width: 100%; justify-content: space-between; }
  nav a { padding: 0.4rem 0.75rem; }
}
