/* Global Styles */
:root {
  --primary-color: #1a3d5c;
  --secondary-color: #2a5f8f;
  --accent-color: #c89d3e;
  --dark-bg: #0f1f2d;
  --light-bg: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --border-radius: 4px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
}

/* Typography */
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--primary-color); }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--primary-color); }
h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.8rem; color: var(--text-dark); }
h5 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.6rem; color: var(--text-dark); }
h6 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
}

.logo-text {
  margin-left: 0.5rem;
}

.logo small {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
}

/* Navigation Menu */
nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: white;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

nav a:hover,
nav a.active {
  border-bottom-color: var(--accent-color);
  color: var(--accent-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero .btn {
  margin: 0 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #d4a64a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 157, 62, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-left: 4px solid var(--accent-color);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card h3 {
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Contact Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(42, 95, 143, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-contact {
  margin-bottom: 1rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Activities Section */
.activities-list {
  list-style: none;
  margin: 2rem 0;
}

.activities-list li {
  background-color: var(--light-bg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
  transition: var(--transition);
}

.activities-list li:hover {
  background-color: rgba(200, 157, 62, 0.05);
}

.activities-list li strong {
  color: var(--primary-color);
  font-size: 1.05rem;
}

/* About Section */
.about-intro {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-color);
}

.about-intro h3 {
  margin-bottom: 1rem;
}

/* Mission Section */
.mission-statement {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin: 2rem 0;
}

.mission-statement h3 {
  color: white;
  font-size: 1.8rem;
}

/* Goals Grid */
.goals-grid .card {
  border-top: 4px solid var(--accent-color);
}

.goal-number {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Help Us Section */
.help-ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.help-card {
  background-color: white;
  border: 2px solid var(--light-bg);
  padding: 2rem;
  text-align: center;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.help-card:hover {
  border-color: var(--accent-color);
  background-color: rgba(200, 157, 62, 0.02);
}

.help-card h3 {
  color: var(--secondary-color);
}

.help-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--secondary-color);
    padding: 1rem;
    gap: 0;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 4rem 1rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  main {
    padding: 1rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }

  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  nav {
    gap: 0;
  }

  .logo-text {
    display: none;
  }
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-light);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-2 { padding-top: 1rem; }
.pt-4 { padding-top: 2rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 2rem; }

.highlight {
  color: var(--accent-color);
  font-weight: 600;
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== Custom Logo Styles ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-text small {
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive: Chhoti screen par sirf logo dikhe */
@media (max-width: 480px) {
    .logo-image {
        height: 40px;
    }
    .logo-text {
        display: none;
    }
}
