:root {
  --purple: #5b1554;
  --purple-dark: #3b0737;
  --blue: #204ca9;
  --yellow: #ffe600;
  --cream: #fff8df;
  --text: #202331;
  --muted: #62677a;
  --light: #f7f8fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(31, 31, 60, 0.16);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 92%); margin: 0 auto; }

.topbar {
  background: var(--purple-dark);
  color: var(--white);
  font-size: 0.9rem;
}
.topbar-inner {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  flex-wrap: wrap;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; }
.brand strong { display: block; font-family: Montserrat, sans-serif; color: var(--purple); line-height: 1.15; }
.brand small { color: var(--blue); font-weight: 700; letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; }
.nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--purple); }
.nav-cta { background: var(--purple); color: var(--white) !important; padding: 11px 18px; border-radius: 999px; }
#menu-toggle { display: none; }
.menu-btn { display: none; font-size: 1.9rem; color: var(--purple); cursor: pointer; }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  color: var(--white);
  background: url('assets/banner-landscape.jpg') center/cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,3,31,.90), rgba(34,10,56,.72), rgba(32,76,169,.42)); }
.hero-content { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; padding: 80px 0; }
.eyebrow, .section-label { color: var(--yellow); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
h1, h2, h3 { font-family: Montserrat, sans-serif; line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(2.2rem, 5vw, 5.3rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 3vw, 3rem); color: var(--purple); }
h3 { color: var(--purple); }
.lead { font-size: 1.25rem; max-width: 720px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 999px; font-weight: 800; transition: .2s ease; }
.btn.primary { background: var(--yellow); color: var(--purple-dark); }
.btn.secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.8); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hero-card { background: rgba(255,255,255,.94); color: var(--text); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card h3 { font-size: 1.7rem; }

.section { padding: 86px 0; }
.intro-strip { background: var(--light); }
.three-cards, .service-grid, .values-grid, .gallery-grid { display: grid; gap: 24px; }
.three-cards { grid-template-columns: repeat(3, 1fr); margin-top: -130px; position: relative; z-index: 2; }
.three-cards article, .service-grid article, .values-grid article { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 6px solid var(--yellow); }
.icon { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.reverse { grid-template-columns: .8fr 1.2fr; }
.image-stack { position: relative; min-height: 480px; }
.main-img, .small-img, .rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.main-img { width: 82%; height: 410px; }
.small-img { position: absolute; right: 0; bottom: 0; width: 48%; height: 270px; border: 8px solid var(--white); }
.values { background: linear-gradient(135deg, var(--purple), var(--blue)); }
.values h2, .values h3, .values p { color: var(--white); }
.values-grid { grid-template-columns: repeat(4, 1fr); }
.values-grid article { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); box-shadow: none; }
.values-grid h3 { color: var(--yellow); }
.center { text-align: center; }
.services { background: var(--light); }
.service-grid { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.impact { background: var(--cream); }
.impact-panel { background: var(--white); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stats div { background: var(--light); border-radius: 16px; padding: 18px; }
.stats strong { display: block; color: var(--blue); font-size: 1.25rem; font-family: Montserrat, sans-serif; }
.stats span { color: var(--muted); font-size: .92rem; }
.gallery-grid { grid-template-columns: repeat(4, 1fr); margin-top: 36px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.gallery img { width: 100%; height: 250px; object-fit: cover; }
.gallery figcaption { padding: 13px 16px; font-weight: 800; color: var(--purple); }
.contact { background: var(--purple-dark); color: var(--white); }
.contact h2 { color: var(--white); }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-details { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); padding: 30px; border-radius: var(--radius); }
.full { width: 100%; margin-top: 12px; }
footer { background: #160217; color: var(--white); padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }

@media (max-width: 900px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 96px; left: 0; right: 0; background: var(--white); padding: 22px 4%; flex-direction: column; box-shadow: 0 18px 30px rgba(0,0,0,.1); }
  #menu-toggle:checked ~ .nav-links { display: flex; }
  .hero-content, .split, .reverse, .contact-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .three-cards, .service-grid, .values-grid, .gallery-grid, .stats { grid-template-columns: 1fr; }
  .three-cards { margin-top: 0; }
  .image-stack { min-height: auto; }
  .main-img, .small-img { width: 100%; height: auto; position: static; border: 0; margin-top: 18px; }
}

@media (max-width: 520px) {
  .brand img { width: 58px; height: 58px; }
  .brand strong { font-size: .9rem; }
  .section { padding: 62px 0; }
  .hero-content { padding: 60px 0; }
}
