/* Add these styles to your existing CSS file */

:root {
  --primary-color: #5e2d86;
  --secondary-color: #3498db;
  --accent-color: #e74c3e;
  --text-color: #333;
  --light-text: #777;
  --bg-light: #f9f9f9;
  --bg-dark: #2c3e50;
  --bg-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --transition: all 0.3s ease;
  --header-height: 80px; /* Increased header height */
  --border-radius: 8px;
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  position: relative;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography Improvements */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin-top: 10px;
  border-radius: 2px;
}

section {
  padding: 80px 0;
}

section:nth-child(even) {
  background-color: var(--bg-light);
}

p {
  margin-bottom: 1.5rem;
}

/* Header and Navigation Improvements */
header {
  background: white;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo-link {
  text-decoration: none;
  color: var(--text-color);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 48px;
  margin-right: 15px;
}

.logo h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 700;
}

.logo p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--light-text);
  display: block; /* Show on desktop */
  margin-top: 3px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 10px 3px;
  position: relative;
  transition: var(--transition);
  font-size: 1.05rem;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after, 
nav ul li a.active::after {
  width: 100%;
}

nav ul li a:hover, 
nav ul li a.active {
  color: var(--primary-color);
}

.mobile-nav-toggle {
  display: none; /* Hidden by default */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px; /* Ensure clickable area */
  z-index: 1001; /* Above other header content */
}

.hamburger {
  position: relative;
  width: 24px;
  height: 3px;
  background: var(--primary-color);
  display: block;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.mobile-nav-toggle.active .hamburger {
  background: transparent;
}

.mobile-nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Hero Section Enhancement */
.hero {
  background: var(--bg-gradient);
  color: white;
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/pattern.png');
  opacity: 0.1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h2::after {
  margin-left: auto;
  margin-right: auto;
  background: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Buttons Styling */
.btn {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 14px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Feature Section */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.feature {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  height: 100%;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  display: inline-block;
  background: rgba(94, 45, 134, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
}

.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Testimonial Section */
.testimonials {
  background: var(--bg-light);
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  padding: 30px;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 5rem;
  color: rgba(94, 45, 134, 0.1);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-content p {
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  padding: 20px 30px;
  background: rgba(94, 45, 134, 0.05);
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
  margin: 0 0 5px;
  color: var(--primary-color);
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--light-text);
}

/* Recent Updates Section */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.update-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  padding: 30px;
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.update-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.update-date {
  font-size: 0.9rem;
  color: var(--light-text);
  margin-bottom: 10px;
}

.update-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 10px;
}

/* Call to Action Section */
.cta {
  background: var(--bg-gradient);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  color: white;
}

.cta h2::after {
  background: white;
  margin-left: auto;
  margin-right: auto;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}

.cta .btn {
  background: white;
  color: var(--primary-color);
}

.cta .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
}

/* Page Header */
.page-header {
  background: var(--bg-gradient);
  padding: 100px 0 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/pattern.png');
  opacity: 0.1;
}

.page-header h1 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 700;
  position: relative;
}

.page-header p {
  margin-top: 1rem;
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Page Styling */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-item {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.partners-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.partner {
  background: white;
  padding: 20px;
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  font-weight: 500;
  transition: var(--transition);
}

.partner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background-color: var(--primary-color);
  color: white;
}

/* Contact Section Improvements */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info {
  padding: 40px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.info-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-item h3 {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.info-item h3 i {
  margin-right: 15px;
  font-size: 1.4em;
  color: var(--primary-color);
}

.info-item p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.info-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.info-item a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(94, 45, 134, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.form-submit:hover {
  background: #4a2269;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer Styling */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.footer-logo h2::after {
  display: none;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.footer-links h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 15px;
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    grid-row: 1;
    margin-bottom: 30px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  section {
    padding: 60px 0;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .page-header {
    padding: 60px 0;
  }
  
  .page-header h1 {
    font-size: 2.2rem;
  }
  
  .logo-container {
    justify-content: center;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .logo p {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 100px 20px 20px;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 10px 0;
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    padding: 10px;
    width: 100%;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .testimonial-slider,
  .updates-grid,
  .feature-grid,
  .values-grid,
  .partners-list {
    grid-template-columns: 1fr;
  }
}

/* Ways to Help Section */
.ways-to-help {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.tab-buttons .btn {
  flex: 1;
  min-width: 150px;
  text-align: center;
  background-color: white;
  color: var(--text-color);
  box-shadow: var(--box-shadow);
}

.tab-buttons .btn.active {
  background-color: var(--primary-color);
  color: white;
}

.tab-buttons .btn i {
  margin-right: 8px;
}

.tab-content {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab-panel h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.tab-panel p {
  margin-bottom: 20px;
}

.tab-panel h4 {
  margin: 30px 0 15px;
  color: var(--text-color);
  font-size: 1.2rem;
}

.tab-panel ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.tab-panel li {
  margin-bottom: 10px;
}

.tab-panel .btn {
  margin-top: 10px;
  background-color: var(--primary-color);
  color: white;
}

.tab-panel .btn:hover {
  background-color: var(--secondary-color);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Map Section */
.map-section {
  padding: 80px 0;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-top: 30px;
}

/* Checkbox Styling */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 8px;
  width: auto;
  min-width: 18px;
  height: 18px;
}

/* Programs Page Styles */
.programs-intro {
  padding-top: 40px;
  padding-bottom: 0;
}

.intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.program-category {
  margin-bottom: 60px;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.program-header {
  background: var(--bg-gradient);
  color: white;
  padding: 30px;
  display: flex;
  align-items: center;
}

.program-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-icon i {
  font-size: 1.8rem;
}

.program-header h2 {
  margin: 0;
  color: white;
}

.program-header h2::after {
  display: none;
}

.program-content {
  padding: 40px;
}

.program-content > p {
  max-width: 900px;
  margin-bottom: 30px;
}

.program-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.program-item {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
}

.program-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.program-details {
  margin-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 15px;
}

.detail {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.detail i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.detail strong {
  margin-right: 5px;
}

/* Impact Stats Section */
.impact-stats {
  background: var(--bg-gradient);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.impact-stats h2 {
  color: white;
  margin-bottom: 50px;
}

.impact-stats h2::after {
  background: white;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* CTA Section Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
    max-width: 300px;
    margin: 30px auto 0;
  }
  
  .program-header {
    flex-direction: column;
    text-align: center;
  }
  
  .program-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}