/* ===== PS JARGI WEBSITE – style.css ===== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Poppins:wght@400;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --saffron:   #FF7722;
  --deep:      #1A3A5C;
  --accent:    #0B9E5F;
  --light:     #F7F5F0;
  --white:     #FFFFFF;
  --text:      #2D2D2D;
  --muted:     #6B7280;
  --shadow:    0 4px 24px rgba(0,0,0,0.10);
  --radius:    12px;
  --transition: 0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─────────────────────────────────────────────
   TOP BAR
───────────────────────────────────────────── */
.top-bar {
  background: var(--deep);
  color: var(--white);
  font-size: 0.78rem;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar span { opacity: 0.85; }
.top-bar .top-right { display: flex; gap: 18px; }

/* ─────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--saffron);
  display: grid;
  place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.nav-brand h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.2;
}
.nav-brand h1 span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--saffron);
  color: var(--white);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: 680px;
}
.hero-content .badge {
  display: inline-block;
  background: var(--saffron);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.hero-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  max-width: 500px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-primary { background: var(--saffron); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--deep); }

/* ─────────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────── */
section { padding: 72px 24px; }
.section-center { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 14px;
}
.section-header p { color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ─────────────────────────────────────────────
   STAT STRIP
───────────────────────────────────────────── */
.stat-strip {
  background: var(--deep);
  padding: 40px 24px;
}
.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--saffron);
}
.stat-item p { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ─────────────────────────────────────────────
   FEATURE CARDS (Home)
───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 60px; height: 60px;
  background: var(--saffron);
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
}
.feature-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--deep); margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--muted); }

/* ─────────────────────────────────────────────
   ABOUT INTRO (2-col)
───────────────────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-intro img {
  border-radius: var(--radius);
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 16px;
}
.about-text p { color: var(--muted); margin-bottom: 14px; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.values-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep);
}
.values-list li::before {
  content: '✔';
  color: var(--accent);
  font-size: 1rem;
}

/* ─────────────────────────────────────────────
   MISSION / VISION CARDS
───────────────────────────────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.mv-card {
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.mv-card.mission { background: var(--deep); color: var(--white); }
.mv-card.vision  { background: var(--saffron); color: var(--white); }
.mv-card.values  { background: var(--accent); color: var(--white); }
.mv-card .mv-icon { font-size: 2.5rem; margin-bottom: 14px; }
.mv-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.mv-card p  { font-size: 0.88rem; opacity: 0.9; line-height: 1.65; }

/* ─────────────────────────────────────────────
   STAFF PAGE
───────────────────────────────────────────── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}
.staff-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}
.staff-card:hover { transform: translateY(-6px); }
.staff-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}
.staff-card-body { padding: 24px 20px; }
.staff-card-body .role-badge {
  display: inline-block;
  background: var(--deep);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.staff-card-body h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--deep); margin-bottom: 6px; }
.staff-card-body .qual { font-size: 0.82rem; color: var(--muted); }
.staff-email {
  font-size: 0.82rem;
  margin-top: 6px;
  color: var(--deep);
}
.staff-email a {
  color: var(--saffron);
  font-weight: 600;
  transition: color var(--transition);
}
.staff-email a:hover { color: var(--deep); text-decoration: underline; }
.principal-card .role-badge { background: var(--saffron); }

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--deep); margin-bottom: 18px; }
.contact-info p  { color: var(--muted); margin-bottom: 28px; }
.contact-detail  { display: flex; flex-direction: column; gap: 16px; }
.detail-row      { display: flex; gap: 14px; align-items: flex-start; }
.detail-icon     {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: var(--saffron);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--white);
}
.detail-content label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 2px; }
.detail-content span  { font-size: 0.9rem; color: var(--deep); font-weight: 500; }

.contact-form { background: var(--light); border-radius: var(--radius); padding: 36px; }
.contact-form h3 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--deep); margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--deep); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E0DDD7;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--saffron); }
.form-group textarea { min-height: 110px; resize: vertical; }
.btn-full { width: 100%; justify-content: center; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: var(--deep);
  color: rgba(255,255,255,0.8);
  padding: 48px 24px 24px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--saffron);
  display: inline-block;
}
.footer-col p, .footer-col a {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  display: block;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--saffron); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ─────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--deep) 0%, #0F2540 100%);
  padding: 64px 24px;
  text-align: center;
}
.page-hero h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1rem; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 14px; }
.breadcrumb a { color: var(--saffron); }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { height: 420px; }
  .hero-content { padding: 0 24px; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro img { height: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .top-bar .top-right { display: none; }
}
