/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.8; color: #333; background: #fff; }
.container { width: 90%; max-width: 1200px; margin: auto; padding: 60px 0; }
h2 { font-size: 2.2rem; color: #0d47a1; text-align: center; margin-bottom: 30px; }
h3 { font-size: 1.5rem; color: #1565c0; margin-bottom: 15px; }
h4 { font-size: 1.2rem; color: #1976d2; margin-bottom: 10px; }
.bg-light { background: #f5f7fa; }
.bg-dark { background: #0d47a1; color: white; }

/* TOPBAR */
.topbar { background: #0b3d91; color: white; padding: 8px 0; font-size: 0.9rem; }
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; padding: 0; }

/* HEADER */
header { background: linear-gradient(90deg, #0d47a1, #1976d2); color: white; padding: 20px 0; }
.logo h1 { font-size: 2rem; }
.motto { font-style: italic; color: #ffeb3b; font-weight: bold; }

/* NAVIGATION */
nav { background: #0b3d91; position: sticky; top: 0; z-index: 1000; }
nav .container { display: flex; flex-wrap: wrap; justify-content: center; padding: 10px 0; }
nav a { color: white; text-decoration: none; margin: 5px 12px; font-weight: 600; transition: 0.3s; }
nav a:hover { color: #ffeb3b; }

/* HERO */
.hero { background: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?q=80&w=1600') center/cover no-repeat; height: 80vh; position: relative; }
.overlay { background: rgba(13, 71, 161, 0.8); height: 100%; display: flex; align-items: center; text-align: center; color: white; }
.hero h2 { font-size: 3rem; color: white; }
.hero p { font-size: 1.3rem; margin: 15px 0 25px; }
.btn { padding: 14px 28px; border-radius: 6px; text-decoration: none; font-weight: bold; margin: 5px; display: inline-block; transition: 0.3s; }
.btn-primary { background: #ff9800; color: white; }
.btn-primary:hover { background: #e68900; transform: scale(1.05); }
.btn-secondary { background: transparent; border: 2px solid white; color: white; }
.btn-secondary:hover { background: white; color: #0d47a1; }

/* GRID SYSTEMS */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-grid img { width: 100%; border-radius: 10px; }

/* CARDS */
.card, .feature, .staff-card, .testimonial { background: white; padding: 25px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: 0.3s; }
.card:hover, .feature:hover, .staff-card:hover { transform: translateY(-8px); }
.card ul { list-style: none; margin-top: 10px; }
.card ul li { padding: 5px 0; }
.card ul li:before { content: "✓ "; color: #4caf50; font-weight: bold; }

/* STAFF */
.staff-card { text-align: center; }
.staff-card img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; transition: 0.3s; }
.gallery-grid img:hover { transform: scale(1.05); }

/* EVENTS */
.event { background: white; padding: 20px; border-left: 5px solid #ff9800; margin-bottom: 15px; border-radius: 5px; }
.date { background: #ff9800; color: white; padding: 5px 12px; border-radius: 4px; font-weight: bold; }

/* TESTIMONIALS */
.testimonial { font-style: italic; border-left: 4px solid #1976d2; }

/* ADMISSION */
.admission-banner { background: linear-gradient(90deg, #1976d2, #0d47a1); color: white; text-align: center; padding: 80px 20px; }
.admission-banner h2 { color: white; }

/* FAQ */
.faq-item { background: white; padding: 20px; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; }
.contact-form button { border: none; cursor: pointer; }

/* FOOTER */
footer { background: #0b3d91; color: white; text-align: center; padding: 30px 0; }
footer .social a { color: #ffeb3b; margin: 0 8px; text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .topbar .container { flex-direction: column; text-align: center; gap: 5px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h2 { font-size: 2rem; }
  nav .container { flex-direction: column; }
}