
/* =========================================================
   SHREE VIGYAN SHALA - MAIN STYLESHEET
   Edit colours, fonts, spacing and layout here.
   ========================================================= */

:root {
  --navy: #092f5b;
  --blue: #174f8e;
  --saffron: #f28c18;
  --green: #2e963c;
  --gold: #e3a02c;
  --light: #f5f8fc;
  --cream: #fffaf1;
  --text: #243447;
  --muted: #657587;
  --border: #e1e8ef;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------------- HEADER ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 3px 16px rgba(0,0,0,0.06);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}

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

.brand-name {
  font-size: 1.08rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--saffron);
}

/* ---------------- BUTTONS ---------------- */

.button {
  display: inline-block;
  padding: 12px 21px;
  border-radius: 8px;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}

.button:hover {
  transform: translateY(-1px);
}

.button-orange {
  background: var(--saffron);
  border-color: var(--saffron);
}

/* ---------------- HOME HERO ---------------- */

.home-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(4,20,40,0.76), rgba(4,20,40,0.30) 60%, rgba(4,20,40,0.15)),
    url("assets/hero-background.png");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 720px;
  padding: 90px 0;
}

.hero-badge {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 30px;
  background: rgba(255,255,255,0.14);
  margin-bottom: 18px;
  font-weight: 700;
}

.home-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 1.03;
  margin-bottom: 20px;
}

.home-hero h1 span {
  color: #ffc15b;
}

.home-hero p {
  max-width: 660px;
  font-size: 1.12rem;
  color: #eef5fc;
  margin-bottom: 28px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------- SECTIONS ---------------- */

.section {
  padding: 72px 0;
}

.section-light {
  background: var(--light);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  color: var(--navy);
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
}

/* ---------------- CARDS ---------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 8px 25px rgba(9,47,91,0.06);
}

.card-link {
  display: block;
  transition: 0.2s ease;
}

.card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(9,47,91,0.12);
}

.card-icon {
  font-size: 1.75rem;
}

.card h3 {
  color: var(--navy);
  margin: 7px 0;
}

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

.card .learn-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--saffron);
  font-weight: 700;
}

/* ---------------- STATS ---------------- */

.stats-strip {
  background: var(--navy);
  color: var(--white);
  padding: 42px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 1.5rem;
}

.stats span {
  color: #cbd8e7;
}

/* ---------------- PAGE HERO ---------------- */

.page-hero {
  padding: 65px 0;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

.page-hero p {
  color: #dce8f5;
  max-width: 760px;
}

/* ---------------- DETAIL PAGE ---------------- */

.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
  align-items: start;
}

.detail-content h2,
.detail-sidebar h3 {
  color: var(--navy);
  margin-bottom: 13px;
}

.detail-content p {
  color: var(--muted);
  margin-bottom: 15px;
}

.detail-content h3 {
  color: var(--navy);
  margin: 25px 0 8px;
}

.sidebar-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 25px;
  position: sticky;
  top: 105px;
}

.sidebar-box ul {
  list-style: none;
}

.sidebar-box li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-box li:last-child {
  border-bottom: none;
}

.sidebar-box a:hover {
  color: var(--saffron);
}

.check-list {
  padding-left: 22px;
  color: var(--muted);
}

.check-list li {
  margin: 7px 0;
}

/* ---------------- ABOUT / CONTACT ---------------- */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.two-column h2 {
  color: var(--navy);
  font-size: 2.35rem;
  margin-bottom: 15px;
}

.two-column p {
  color: var(--muted);
  margin-bottom: 13px;
}

.highlight-box {
  background: var(--white);
  border-left: 5px solid var(--saffron);
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(9,47,91,0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.contact-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.contact-card h2,
.contact-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

label {
  display: block;
  font-weight: 700;
  color: var(--navy);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfd8e2;
  border-radius: 7px;
  margin: 6px 0 14px;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------------- FOOTER ---------------- */

.site-footer {
  background: #071f3c;
  color: #c7d4e3;
  padding: 28px 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: #fff;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 850px) {
  .nav-links {
    display: none;
  }

  .brand {
    margin: auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-layout,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-box {
    position: static;
  }

  .home-hero {
    min-height: 590px;
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 55px 0;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }
}
