/* Home design */

:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --danger-color: #e74c3c;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --info-color: #2980b9;
  --text-color: #333;
  --text-light: #7f8c8d;
  --white: #fff;
  --gray: #95a5a6;
  --light-gray: #bdc3c7;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  margin-top: 15px;
}

.btn-primary {
  background: linear-gradient(135deg, skyblue 0%, #1a1a1a 100%);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #2980b9;
}

.btn-secondary {
  background: black;
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #27ae60;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: linear-gradient(135deg, skyblue 0%, #1a1a1a 100%);
  color: var(--white);
}

.btn-block {
  display: block;
  width: 100%;
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: black;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: blue;
}

.section-description {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Header Styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.logo-highlight {
  color: var(--primary-color);
}

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-color);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('image.jpg') no-repeat center center/cover;
  color: var(--white);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.hero-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

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

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.img-responsive {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.service-description {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* News Section */
.news-section {
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.author-info {
  display: flex;
  align-items: center;
}

.author-info i {
  margin-right: 10px;
  color: var(--primary-color);
}

.author-name {
  font-weight: 600;
  color: var(--dark-color);
}

.post-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.news-category {
  font-size: 0.8rem;
  padding: 5px 10px;
  background-color: #f0f8ff;
  color: var(--primary-color);
  border-radius: 5px;
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 20px;
}

.news-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.news-excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-top: 1px solid #eee;
}

.news-stats {
  display: flex;
  gap: 15px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.like-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: url('faq.png');
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  background-color: var(--white);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-toggle {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.faq-toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-toggle::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-question.active .faq-toggle::after {
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--white);
}

.faq-answer p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info {
  padding: 30px;
}

.contact-description {
  margin-bottom: 30px;
  color: var(--text-light);
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 3px;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

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

/* Footer */
.main-footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col {
  padding: 0 15px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.footer-about {
  color: #bdc3c7;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social .social-icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

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

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bdc3c7;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 15px;
  color: #bdc3c7;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary-color);
  margin-top: 3px;
}

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

.copyright {
  color: #bdc3c7;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-legal {
  display: flex;
  gap: 15px;
}

.footer-legal a {
  color: #bdc3c7;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-text,
  .about-image {
    flex: none;
    width: 100%;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
}
@media (max-width: 1000px) {
    .mobile-menu-toggle{
        display: inline-block;
        cursor: pointer;
    }
    .main-nav{
    position: absolute;
    top: 80px; left: -100%;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    width: 100%;
    transition: all .40s ease;
    padding: 20px 0;
    transition: all .40s ease;
    background: linear-gradient(135deg, skyblue 0%, #1a1a1a 100%);
    }
  
  .main-nav.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .logo-text {
  font-size: .7rem;
  font-weight: 700;
  color: var(--dark-color);
}

   .header-actions a{
       font-size: 1rem;
       padding: 5px;
       margin-right: 15px;
   }
  
  }
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 150px 0 80px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-col {
    margin-bottom: 30px;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* Home design ends */






/* Ngo begins */
        .breadcrumb {
            padding: 20px 10%;
            background: #f8f9fa;
            font-size: 14px;
        }
        
        .breadcrumb a {
            color: #3498db;
            text-decoration: none;
        }
        
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        
        /* NGO Services Section */
        .ngo-services {
            padding: 50px 10%;
            background: #fff;
        }
        
        .service-card {
            display: flex;
            align-items: center;
            margin-bottom: 60px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .service-image {
            flex: 1;
            min-height: 300px;
            overflow: hidden;
        }
        
        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .service-card:hover .service-image img {
            transform: scale(1.05);
        }
        
        .service-content {
            flex: 1;
            padding: 30px;
        }
        
        .service-content h3 {
            font-size: 24px;
            margin-bottom: 15px;
            color: #2c3e50;
        }
        
        .service-content p {
            color: #7f8c8d;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .service-btn {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            background-color: #3498db;
            color: white;
            border-radius: 5px;
            font-weight: 500;
            transition: background-color 0.3s ease;
            text-decoration: none;
        }
        
        .service-btn i {
            margin-right: 8px;
        }
        
        .service-btn:hover {
            background-color: #2980b9;
        }
        
        /* Alternate layout for even cards */
        .service-card:nth-child(even) {
            flex-direction: row-reverse;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .service-card {
                flex-direction: column;
            }
            
            .service-card:nth-child(even) {
                flex-direction: column;
            }
            
            .service-image {
                width: 100%;
                min-height: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .breadcrumb,
            .ngo-services {
                padding: 30px 5%;
            }
            
            .service-content {
                padding: 20px;
            }
            
            .service-content h3 {
                font-size: 20px;
            }
        }


/* Ngo ends */











