/* ===================================================
   SIKH CLASSROOM – ABOUT PAGE
   =================================================== */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: #2d2d2d;
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.25;
  color: #1a1a1a;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ---------- SECTION HEADERS ---------- */
.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #E87511;
  margin-bottom: 12px;
}

.section-heading {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.section-subtext {
  font-size: 1.05rem;
  color: #666;
  max-width: 640px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s, background 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1a1a1a;
  flex-shrink: 0;
}

.nav-logo-icon {
  font-size: 1.6rem;
  color: #E87511;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  color: #444;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #E87511;
  background: rgba(232, 117, 17, 0.07);
}

.nav-login-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 50px;
  background: linear-gradient(135deg, #E87511, #F4A524);
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.nav-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 117, 17, 0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.hamburger .bar {
  width: 24px;
  height: 2.5px;
  background: #333;
  border-radius: 4px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===================================================
   HERO BANNER
   =================================================== */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1f0e 40%, #4a2c10 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232, 117, 17, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(244, 165, 36, 0.2) 0%, transparent 55%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #E87511, #F4A524);
  border-radius: 4px;
  margin: 0 auto;
}

/* ===================================================
   MISSION SECTION
   =================================================== */
.mission-section {
  background: #fff;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-text .section-label {
  display: block;
}

.mission-text .section-heading {
  font-size: 2.2rem;
}

.mission-text p {
  color: #555;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.mission-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #fdf0e2 0%, #fce4c8 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #C25E0A;
  border: 2px dashed rgba(232, 117, 17, 0.25);
}

.mission-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(232, 117, 17, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-image-placeholder span {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.7;
}

/* ===================================================
   VISION SECTION
   =================================================== */
.vision-section {
  background: #faf8f5;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vision-text .section-label {
  display: block;
}

.vision-text .section-heading {
  font-size: 2.2rem;
}

.vision-text p {
  color: #555;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.vision-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e8f4f8 0%, #d0e8f0 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #2a7a9b;
  border: 2px dashed rgba(42, 122, 155, 0.25);
}

.vision-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(42, 122, 155, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-image-placeholder span {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.7;
}

/* ===================================================
   VALUES SECTION
   =================================================== */
.values-section {
  background: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.value-card {
  background: #fff;
  border: 1px solid #f0ece6;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(232, 117, 17, 0.1);
  border-color: rgba(232, 117, 17, 0.2);
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 117, 17, 0.1), rgba(244, 165, 36, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #E87511;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.65;
}

/* ===================================================
   HISTORY / TIMELINE
   =================================================== */
.history-section {
  background: #faf8f5;
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #E87511, #F4A524, #fce4c8);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #E87511;
  z-index: 2;
  transition: background 0.3s, transform 0.3s;
}

.timeline-item:hover .timeline-marker {
  background: #E87511;
  transform: scale(1.2);
}

.timeline-content {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0ece6;
  transition: box-shadow 0.3s, transform 0.3s;
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 8px 30px rgba(232, 117, 17, 0.08);
  transform: translateX(4px);
}

.timeline-year {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #E87511, #F4A524);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.93rem;
  color: #666;
  line-height: 1.65;
}

/* ===================================================
   TEAM SECTION
   =================================================== */
.team-section {
  background: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: #fff;
  border: 1px solid #f0ece6;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.35s, box-shadow 0.35s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.team-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #E87511;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.team-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ===================================================
   WHY CHOOSE US
   =================================================== */
.why-section {
  background: #faf8f5;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: #fff;
  border: 1px solid #f0ece6;
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(232, 117, 17, 0.1);
  border-color: rgba(232, 117, 17, 0.2);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 117, 17, 0.1), rgba(244, 165, 36, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #E87511;
}

.why-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ===================================================
   CALL TO ACTION
   =================================================== */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1f0e 40%, #4a2c10 100%);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(232, 117, 17, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(244, 165, 36, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #E87511, #F4A524);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(232, 117, 17, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: #111;
  color: #ccc;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-logo-icon {
  font-size: 1.6rem;
  color: #E87511;
}

.footer-logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #999;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.social-link:hover {
  background: #E87511;
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: #999;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-col ul a:hover {
  color: #E87511;
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #999;
  font-size: 0.9rem;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #E87511;
}

.footer-bottom {
  text-align: center;
  padding: 28px 0;
  font-size: 0.85rem;
  color: #666;
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grids */
.values-grid .value-card:nth-child(2),
.team-grid .team-card:nth-child(2),
.why-grid .why-card:nth-child(2) {
  transition-delay: 0.1s;
}

.values-grid .value-card:nth-child(3),
.team-grid .team-card:nth-child(3),
.why-grid .why-card:nth-child(3) {
  transition-delay: 0.2s;
}

.values-grid .value-card:nth-child(4),
.team-grid .team-card:nth-child(4),
.why-grid .why-card:nth-child(4) {
  transition-delay: 0.3s;
}

.why-grid .why-card:nth-child(5) {
  transition-delay: 0.15s;
}

.why-grid .why-card:nth-child(6) {
  transition-delay: 0.25s;
}

/* Timeline stagger */
.timeline-item:nth-child(2) { transition-delay: 0.1s; }
.timeline-item:nth-child(3) { transition-delay: 0.2s; }
.timeline-item:nth-child(4) { transition-delay: 0.3s; }
.timeline-item:nth-child(5) { transition-delay: 0.4s; }

/* ===================================================
   RESPONSIVE — TABLET
   =================================================== */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.1);
    transition: right 0.35s ease;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-login-btn {
    display: none;
  }

  .mission-grid,
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vision-grid .vision-image {
    order: -1;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================================
   RESPONSIVE — MOBILE
   =================================================== */
@media (max-width: 640px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: 340px;
    padding: 120px 20px 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .mission-text .section-heading,
  .vision-text .section-heading {
    font-size: 1.8rem;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .timeline {
    padding-left: 32px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-marker {
    left: -28px;
    width: 14px;
    height: 14px;
  }

  .timeline-content {
    padding: 22px 24px;
  }
}

/* ===================================================
   MOBILE OVERLAY
   =================================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
