/* ===== INDEX PAGE STYLES ===== */

/* HERO */
.hero {
  background: linear-gradient(135deg, #b71c1c 0%, #7f0000 60%, #4a0000 100%);
  color: white;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(249, 168, 37, 0.06);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-tagline {
  margin-bottom: 10px;
  font-size: 17px;
  opacity: 0.88;
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* LEADER BOX in hero */
.leader-box {
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.leader-box img {
  width: 240px;
  border-radius: 20px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.leader-box img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.leader-box h4 {
  margin-top: 18px;
  font-size: 13px;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.leader-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
}

/* BUTTONS */
.btn-main {
  background: linear-gradient(135deg, #f9a825, #f57f17);
  padding: 13px 28px;
  border-radius: 50px;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: var(--tr);
  box-shadow: 0 4px 20px rgba(249, 168, 37, 0.3);
  letter-spacing: 0.3px;
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249, 168, 37, 0.45);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 11px 24px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--tr);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===== FEATURE CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 70px 0;
}

.card {
  background: var(--card-bg);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--tr), box-shadow var(--tr);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 42px;
  margin-bottom: 18px;
  display: inline-block;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 9px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: var(--tr);
  border: 1px solid transparent;
}

.btn-card:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(183, 28, 28, 0.2);
}

/* ===== ABOUT SECTION (index page) ===== */
.about-section {
  background: var(--card-bg);
  padding: 70px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.about-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.about-section p {
  max-width: 700px;
  margin: 24px auto 0;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 70px 0;
  background: var(--body-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--tr);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 50%, #c62828 100%);
  padding: 80px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(249, 168, 37, 0.06);
  pointer-events: none;
}

.cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.cta .btn-main {
  position: relative;
  z-index: 1;
  font-size: 16px;
  padding: 15px 36px;
}

/* ===== CONTACT INFO ===== */
.contact-info {
  background: var(--card-bg);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
}

.office-box,
.contact-box {
  background: var(--body-bg);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}

.contact-info h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.contact-info h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.contact-info p {
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.contact-info strong {
  color: var(--text);
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(249, 168, 37, 0.05);
  pointer-events: none;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.about-hero p {
  font-size: 1.1rem;
  opacity: 0.88;
}

/* ===== NEWS PAGE ===== */
.news-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.news-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(249, 168, 37, 0.05);
  pointer-events: none;
}

.news-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.news-hero p { font-size: 1.1rem; opacity: 0.88; }

.news-section { padding: 60px 0; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--tr), box-shadow var(--tr);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.news-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--light-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

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

.news-date {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.news-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-tag {
  color: var(--primary);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.news-title {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.4;
  font-weight: 700;
}

.news-desc {
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 14px;
}

.btn-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--tr);
  font-size: 13px;
  align-self: flex-start;
}

.btn-news:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== JOIN PAGE ===== */
.join-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  color: #fff;
  padding: 60px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.join-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(249, 168, 37, 0.05);
  pointer-events: none;
}

.join-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.join-hero p { font-size: 1.1rem; opacity: 0.88; }

.join-section {
  margin-top: -60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.join-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

.form-control {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--body-bg);
  color: var(--text);
  transition: border-color var(--tr), box-shadow var(--tr);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  border: none;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  transition: transform var(--tr), box-shadow var(--tr);
  margin-top: 10px;
  font-family: inherit;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(249, 168, 37, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 168, 37, 0.45);
}

/* ===== VISION MISSION (About page) ===== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.vm-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--tr), box-shadow var(--tr);
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transition: opacity var(--tr);
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.vm-card:hover::before {
  opacity: 1;
}

.vm-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 18px;
  display: inline-block;
}

.vm-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 700;
}

.vm-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* FOUNDER SECTION */
.founder-section {
  background: var(--light-2);
  padding: 80px 0;
}

.founder-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.founder-img-col {
  flex: 1 1 300px;
  text-align: center;
}

.founder-img-col img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  border: 5px solid var(--white);
  transition: transform var(--tr);
}

.founder-img-col img:hover {
  transform: scale(1.02);
}

.founder-text-col {
  flex: 2 1 500px;
}

.founder-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.founder-text-col h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 800;
}

.founder-text-col h4 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
  font-style: italic;
}

.founder-text-col p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
  color: var(--text-muted);
}

/* ===== BOOKS PAGE ===== */
.books-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.books-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.books-hero p { font-size: 1.1rem; opacity: 0.88; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 70px 0 80px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 { font-size: 30px; }
  .hero-tagline { font-size: 15px; }

  .hero-buttons { justify-content: center; }

  .leader-box img { width: 180px; }

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

  .office-box,
  .contact-box { padding: 28px; }

  .cards { padding: 50px 0; gap: 18px; }

  .card { padding: 30px 24px; }

  .about-hero h1,
  .news-hero h1,
  .join-hero h1 { font-size: 1.8rem; }

  .cta h2 { font-size: 22px; }
  .cta { padding: 60px 0; }

  .join-card { padding: 28px 20px; }
  .form-row { flex-direction: column; }

  .founder-text-col h2 { font-size: 1.6rem; }
  .founder-grid { gap: 30px; }

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

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .leader-box img { width: 160px; }
  .stat-number { font-size: 28px; }
  .btn-main { padding: 12px 22px; font-size: 13px; }
}
