/* Enhanced Style for NGO Website - Incorporating Bootstrap and custom styling */

/* Import Bootstrap CSS */
@import url('../bootstrap-dist/css/bootstrap.min.css');
/* Import Animate on Scroll */
@import url('../animate-on-scroll/dist/aos.css');
/* Import Font Awesome */
@import url('../fontawesome-pro/css/all.min.css');
/* Import Google Fonts - Roboto and Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary-color: #00796b;
  --secondary-color: #e0f2f1;
  --accent-color: #004d40;
  --light-color: #f7f7f7;
  --dark-color: #222;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
  --info-color: #2196f3;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* Custom Navbar */
.custom-navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-link {
  font-weight: 600;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  border-radius: 4px;
}

.nav-link:hover {
  background-color: var(--secondary-color);
}

.nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

/* Hero Section */
.hero-section {
  background-color: var(--secondary-color);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  position: relative;
}

.hero-image {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--dark-color);
  opacity: 0.9;
}

/* Call to Action Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.custom-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: none;
}

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

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

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

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

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 1rem auto;
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 5px solid var(--secondary-color);
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--dark-color);
  opacity: 0.8;
}

.team-member .social-icons {
  margin-top: 1rem;
}

.team-member .social-icons a {
  margin: 0 0.5rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Programs Section */
.program-card {
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.program-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Donation Form */
.donation-form {
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.donation-form .form-control {
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.donation-amount-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}

.donation-amount-options .btn {
  flex: 1;
  min-width: 80px;
}

/* Success Stories */
.success-story {
  background-color: var(--secondary-color);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.success-story::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  top: -20px;
  left: 20px;
  color: var(--primary-color);
  opacity: 0.2;
}

/* Events Section */
.event-card {
  display: flex;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.event-date {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem;
  text-align: center;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
}

.event-date .month {
  font-size: 1.2rem;
}

.event-info {
  padding: 2rem;
  flex: 1;
}

/* Blog Section */
.blog-post {
  margin-bottom: 2rem;
}

.blog-post img {
  border-radius: 15px;
  margin-bottom: 1rem;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-post .post-meta {
  color: var(--dark-color);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-info {
  margin-bottom: 2rem;
}

.contact-info i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.contact-form .form-control {
  border-radius: 5px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.map-container {
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: white;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

/* Volunteer Styles */
.benefit-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 30px;
}

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

.icon-circle {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 2rem;
}

.opportunity-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.opportunity-card .card-header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  text-align: center;
}

.opportunity-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.opportunity-card .card-body {
  padding: 20px;
}

.opportunity-details {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.opportunity-details li {
  margin-bottom: 8px;
  color: #666;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 30px;
}

.testimonial-image {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.testimonial-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 4px solid var(--primary-color);
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-content p {
  flex: 1;
  font-style: italic;
  position: relative;
  padding: 0 10px;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
}

.testimonial-author {
  margin-top: 15px;
  text-align: right;
}

.testimonial-author h4 {
  margin-bottom: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.testimonial-author p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 767px) {
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonial-image img {
    width: 80px;
    height: 80px;
  }
}

.volunteer-opportunities {
  margin-bottom: 3rem;
}

.volunteer-card {
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.volunteer-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonial {
  text-align: center;
  padding: 2rem;
}

.testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  border: 5px solid var(--secondary-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 700;
}

/* Stats Section */
.stats-container {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.stat-item {
  margin-bottom: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    padding: 1rem;
    min-width: auto;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-image {
    margin-bottom: 2rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 0.8s ease-in-out;
}

.slide-right {
  animation: slideRight 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}
