/* ===== Variables ===== */
:root {
  --red: #e31c23;
  --green: #2e7d32;
  --yellow: #f9c74f;
  --dark: #1a1a2e;
  --gray: #4a4a4a;
  --light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --radius: 16px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Hind Siliguri', 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #c41a1f);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(227, 28, 35, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray);
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: rgba(227, 28, 35, 0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #fff5f5 0%, #f0fff4 40%, #fffbeb 100%);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227,28,35,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46,125,50,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  border-radius: 50%;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border: 4px solid var(--white);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 16px;
}

.hero-desc {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--gray);
  font-size: 1.05rem;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Stats ===== */
.stats {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0;
}

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

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ===== Section ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-badge {
  display: inline-block;
  background: rgba(227, 28, 35, 0.1);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.section-header p {
  color: var(--gray);
}

/* ===== About ===== */
.about {
  background: var(--light);
}

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

.about-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.about-card:nth-child(1) { border-top-color: var(--red); }
.about-card:nth-child(2) { border-top-color: var(--green); }
.about-card:nth-child(3) { border-top-color: var(--yellow); }

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.about-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== Activities ===== */
.activities-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.activity-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--red);
  transition: var(--transition);
}

.activity-item:hover {
  transform: translateX(6px);
}

.activity-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0.7;
  min-width: 40px;
}

.activity-content h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.activity-content p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== Gallery ===== */
.gallery {
  background: var(--light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-more {
  text-align: center;
  margin-top: 32px;
}

.gallery-item.hidden {
  display: none;
}

/* ===== Founder ===== */
.founder-card {
  background: linear-gradient(135deg, #fff5f5, #f0fff4);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.founder-info h3 {
  font-size: 1.3rem;
  color: var(--red);
  margin-bottom: 8px;
}

.founder-deg {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.5;
}

.founder-info > p {
  margin-bottom: 16px;
  color: var(--gray);
}

.founder-list {
  margin-bottom: 24px;
}

.founder-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 500;
}

.founder-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.founder-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--red), #c41a1f);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta p {
  max-width: 500px;
  margin: 0 auto 24px;
  opacity: 0.95;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  font-size: 1.5rem;
  min-width: 40px;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--gray);
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--red);
}

.contact-form {
  background: var(--light);
  padding: 32px;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 28, 35, 0.12);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--yellow);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .menu-toggle {
    display: flex;
  }
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 50px;
  }
  .section {
    padding: 60px 0;
  }
  .activity-item {
    flex-direction: column;
    gap: 8px;
  }
  .founder-card {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-logo {
    width: 110px;
    height: 110px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-num {
    font-size: 1.4rem;
  }
}
