@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1a3a6b;
  --primary-light: #2a5298;
  --primary-dark: #0f2440;
  --secondary: #d4952a;
  --secondary-dark: #b07a1e;
  --accent: #dc2626;
  --background: #f5f7fa;
  --card: #ffffff;
  --foreground: #1a2332;
  --muted: #6b7b8d;
  --muted-bg: #edf0f4;
  --border: #dde3ea;
  --radius: 0.75rem;
  --shadow-card: 0 4px 24px -4px rgba(26,58,107,0.1);
  --shadow-elevated: 0 20px 60px -15px rgba(26,58,107,0.2);
  --hero-gradient: linear-gradient(135deg, #1a3a6b 0%, #0f2440 100%);
  --gold-gradient: linear-gradient(135deg, #d4952a 0%, #b07a1e 100%);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  height: 72px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  height: 52px;
  width: 52px;
  object-fit: contain;
}

.navbar-brand-text p {
  margin: 0;
  line-height: 1.3;
}

.navbar-brand-text .brand-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.navbar-brand-text .brand-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(26,35,50,0.75);
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--primary);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: var(--shadow-card);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: var(--muted-bg);
  color: var(--primary);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  opacity: 0.82;
}

.hero-content {
  position: relative;
  max-width: 650px;
  padding-top: 5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  background: var(--gold-gradient);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero h1 span {
  display: block;
  color: var(--secondary);
  margin-top: 0.5rem;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-gold {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--gold-gradient);
  color: var(--foreground);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-elevated);
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn-gold:hover { opacity: 0.9; }

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
  cursor: pointer;
  background: transparent;
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-muted { background: var(--muted-bg); }

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  font-family: 'Inter', sans-serif;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--foreground);
  margin-top: 0.75rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 1.25rem;
  line-height: 1.7;
}

/* ── About ── */
.history-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 3rem;
}

.history-card h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.history-card p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-elevated);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(26,58,107,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Levels ── */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.level-card {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}

.level-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.level-card-img {
  height: 220px;
  overflow: hidden;
}

.level-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.level-card:hover .level-card-img img {
  transform: scale(1.05);
}

.level-card-body {
  padding: 1.5rem;
}

.level-card-body h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.level-card-body p {
  color: var(--muted);
  line-height: 1.6;
}

/* ── Mission / Vision ── */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.mv-card {
  border-radius: 1rem;
  padding: 2.5rem;
}

.mv-card.mission { background: var(--hero-gradient); color: #fff; }
.mv-card.vision { background: var(--gold-gradient); color: var(--foreground); }

.mv-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mission .mv-icon { background: rgba(255,255,255,0.15); }
.vision .mv-icon { background: rgba(26,35,50,0.12); }

.mv-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.mission .mv-icon svg { stroke: #fff; }
.vision .mv-icon svg { stroke: var(--foreground); }

.mv-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.mv-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.92;
}

/* ── Values ── */
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.3s;
}

.value-item:hover {
  box-shadow: var(--shadow-elevated);
}

.value-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--hero-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.value-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.value-item p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Contact ── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.75rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius);
  background: rgba(26,58,107,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail span {
  font-size: 0.95rem;
  color: var(--foreground);
}

.contact-form {
  background: var(--card);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--foreground);
  background: var(--background);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-primary {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 2rem;
  background: var(--hero-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.9; }

/* ── Footer ── */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ── Animations ── */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
  .values-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-cta { display: none; }
  .hamburger { display: block; }

  .hero h1 { font-size: 2.25rem; }
  .hero { min-height: 80vh; }

  .features-grid { grid-template-columns: 1fr; }
  .levels-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .history-card { padding: 1.75rem; }
  .section { padding: 3.5rem 0; }
  .section-header h2 { font-size: 1.75rem; }

  .navbar-brand-text { display: none; }
}
