:root {
  --blue: #0b63b6;
  --dark-blue: #084a8f;
  --muted: #6b7280;
  --card: #ffffff;
  --bg: #f8fafc;
  --heading: #0f1724;
}

/* ------------------------
   GLOBAL STYLES
------------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--heading);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ------------------------
   HEADER
------------------------ */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid #e6eef7;
  flex-wrap: wrap;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 52px;
  width: 52px;
  border-radius: 6px;
}

.brand h1 {
  font-size: 1.4rem;
  color: var(--blue);
  font-weight: 700;
}

.motto {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.main-nav a {
  color: var(--heading);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--blue);
}

/* ------------------------
   HERO SECTION
------------------------ */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.hero-text h2 {
  font-size: 2rem;
  color: var(--heading);
  margin-bottom: 10px;
}

.hero-text p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 600px;
}

.hero img {
  width: 100%;
  border-radius: 12px;
}

/* ------------------------
   BUTTONS
------------------------ */
.btn {
  background: var(--blue);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn.ghost:hover {
  background: var(--blue);
  color: #fff;
}

/* ------------------------
   CARDS & CONTENT
------------------------ */
.card {
  background: var(--card);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  margin-bottom: 24px;
}

h2, h3 {
  color: var(--heading);
  margin-bottom: 12px;
}

p {
  color: #334155;
  font-size: 1rem;
}

/* ------------------------
   FORMS
------------------------ */
input[type=text],
input[type=password],
input[type=email],
input[type=date],
select,
textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e6eef7;
  width: 100%;
  font-size: 1rem;
  margin-top: 8px;
}

.login-form {
  max-width: 400px;
  text-align: left;          /* ✅ Left-aligns everything */
  margin: 20px 0;            /* Adds spacing from top */
}

.login-form .form-group {
  margin-bottom: 16px;
}

.login-form label {
  display: block;
  font-weight: 500;
  color: #334155;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* Room for eye icon */
}

.password-wrapper i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #555;
}


form {
  max-width: 600px;
  margin: 0 auto;
}

.small {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
}

/* ------------------------
   PROGRAMS & GRID
------------------------ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.program {
  background: #fbfdff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #eef6ff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.program h3 {
  color: var(--blue);
}

/* ------------------------
   GALLERY
------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.gallery img {
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
}

/* ------------------------
   STATS
------------------------ */
.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
  padding: 40px 0;
  background: #fff;
  border-radius: 12px;
}

.stat h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 4px;
}

.stat p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ------------------------
   VIDEO
------------------------ */
.video {
  text-align: center;
  margin: 40px 0;
}

iframe {
  width: 100%;
  max-width: 720px;
  height: 400px;
  border-radius: 10px;
  border: none;
}

/* ------------------------
   FOOTER
------------------------ */
.site-footer {
  background: #0f1724;
  color: #e6eef7;
  padding: 40px 0;
  margin-top: 60px;
  border-radius: 12px 12px 0 0;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  font-size: 14px;
  color: #cbd5e1;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

/* ------------------------
   RESPONSIVENESS
------------------------ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero img {
    order: -1;
  }

  iframe {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    margin-top: 10px;
    justify-content: center;
  }

  .stats {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 0;
  }

  .btn {
    width: 100%;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  iframe {
    height: 240px;
  }

  .site-footer {
    text-align: center;
  }
}
