:root {
  --primary-color: #f97316;
  --primary-dark: #ea580c;
  --text-dark: #1d1e20;
  --text-gray: #727586;
  --text-light: #f2f3f6;
  --white: #ffffff;
  --black: #000000;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 0.25rem;
  color: var(--text-gray);
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 600;
  color: var(--text-dark);
}

.service-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

.partner-logo {
  width: 120px;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  text-align: center;
}

.footer-content h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-content a.btn-primary {
  margin-bottom: 1.5rem;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-content .email {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary-color);
  color: var(--white);
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  border: 1px solid var(--text-light);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

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

.donation-section {
  text-align: center;
  padding: 4rem 0;
}

.donation-section img {
  max-width: 500px;
  width: 100%;
  border-radius: 15px;
  margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .section {
    padding: 3rem 0;
  }
  
  .social-icons {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .partner-logos {
    gap: 1rem;
  }
  
  .partner-logo {
    width: 80px;
  }
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 24px;
  height: 24px;
}

.subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.mission-section {
  background: var(--text-light);
  padding: 4rem 0;
}

.vision-card {
  text-align: center;
  padding: 1.5rem;
}

.vision-card img {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

.vision-card h5 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.vision-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.program-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--text-light);
}

.program-section:last-child {
  border-bottom: none;
}

.program-section h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.program-section h4 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.program-section p {
  color: var(--text-gray);
  line-height: 1.8;
}

.program-section ul {
  list-style: none;
  padding: 0;
}

.program-section li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-gray);
}

.program-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.two-column-text {
  column-count: 2;
  column-gap: 2rem;
}

@media (max-width: 767.98px) {
  .two-column-text {
    column-count: 1;
  }
}
