@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
  --primary-teal: #2D6B69;
  --primary-gold: #D4A547;
  --primary-green: #4A7C59;
  --light-teal: #E6F3F2;
  --light-gold: #FDF6E3;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --dark-gray: #2C3E50;
  --text-gray: #6C757D;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo .logo {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-teal);
}

.donate-btn-nav {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-green));
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donate-btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 107, 105, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-teal), var(--light-gold));
  padding: 80px 0;
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--primary-teal);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-green));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(45, 107, 105, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-teal);
  border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
  background: var(--primary-teal);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--white);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-text h3 {
  color: var(--primary-teal);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-gray);
}

.focus-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.focus-item {
  background: var(--light-teal);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.focus-item:hover {
  transform: translateY(-5px);
}

.focus-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.focus-item h4 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

.focus-item p {
  font-size: 0.95rem;
  color: var(--text-gray);
}

/* Activities Section */
.activities {
  padding: 80px 0;
  background: var(--light-gray);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.activity-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.activity-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.date {
  color: var(--primary-gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.card-content h3 {
  color: var(--primary-teal);
  margin: 0.5rem 0 1rem 0;
  font-size: 1.3rem;
}

.card-content p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Chairman's Message */
.chairman-message {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-green));
  color: var(--white);
}

.message-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}

.chairman-photo img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--white);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.message-text h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

cite {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Impact Metrics */
.impact-metrics {
  padding: 80px 0;
  background: var(--white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.metric-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--light-teal), var(--light-gold));
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.metric-item:hover {
  transform: scale(1.05);
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.metric-label {
  color: var(--text-gray);
  font-weight: 600;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-gold);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
  padding-top: 1rem;
  line-height: 1.7;
}

.testimonial-card cite {
  color: var(--primary-teal);
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 60px 0 20px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-section h3 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-gold);
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  padding: 10px 15px;
  background: var(--primary-teal);
  border-radius: 50px;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-gold);
}

.footer-donate {
  width: 100%;
  max-width: 200px;
}

.footer-bottom {
  border-top: 1px solid #4A5568;
  padding-top: 2rem;
  text-align: center;
  color: #A0AEC0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-container {
    padding: 0 15px;
    height: 70px;
  }
  
  .nav-logo .logo {
    height: 50px;
  }
  
  .donate-btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .message-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .chairman-photo img {
    width: 200px;
    height: 200px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .metric-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .focus-areas {
    grid-template-columns: 1fr;
  }
  
  .activities-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}





/* Main post container */
.single-post .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header styling */
.post-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Thumbnail styling */
.post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

/* Body text */
.post-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

/* Images inside content */
.post-body img,
.wp-block-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
}

/* Gutenberg Columns */
.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.wp-block-column {
    flex: 1 1 50%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
    }

    .wp-block-column {
        flex: 1 1 100%;
    }

    .post-header h1 {
        font-size: 1.5rem;
    }

    .post-body {
        font-size: 0.95rem;
    }
}

/* Blockquotes */
.wp-block-quote {
    font-style: italic;
    border-left: 4px solid #ccc;
    margin: 2rem 0;
    padding-left: 1rem;
    color: #555;
}
