/* Global Styles */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --accent-color: #40DCA5;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --body-bg: #f5f5f5;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--body-bg);
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

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

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Header Styles */
.site-header {
  background-color: var(--dark-color);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Hero Section */
.hero-section {
  background-image: url('../img/bg1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

.hero-section h1 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
section {
  padding: 2rem 0;
}

.section-title {
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

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

/* Card Styles */
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  margin-bottom: 10px;
}

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

.card-body {
  padding: 2rem;
}

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

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

/* Button Styles */
.btn {
  border-radius: 4px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* About Section */
.about-section {
  background-color: white;
}

/* Donation Section */
.donation-section {
  background-color: var(--light-color);
  padding: 3rem 0;
}

/* Footer Styles */
.site-footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1.5rem;
}

.site-footer h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.site-footer a:hover {
  color: white;
  text-decoration: none;
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.logo{
	max-width: 200px;
	height: auto;
	}
.navbar {
  padding: 0.5rem 1rem;
}
.navbar-brand {
  padding: 0;
}
.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.navbar-toggler {
  border: none;
  padding: 0.5rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/*Blog Styles*/
.blog-header {
      background-color: var(--primary-color);
      color: white;
      padding: 3rem 0;
      margin-bottom: 2rem;
    }
    
    .blog-title {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    
    .blog-subtitle {
      font-size: 1.2rem;
      opacity: 0.9;
    }
    
    .blog-post {
      margin-bottom: 3rem;
      border-bottom: 1px solid #eee;
      padding-bottom: 2rem;
    }
    
    .blog-post:last-child {
      border-bottom: none;
    }
    
    .blog-post-title {
      font-size: 1.8rem;
      margin-bottom: 1rem;
      color: var(--primary-color);
    }
    
    .blog-post-meta {
      color: #6c757d;
      margin-bottom: 1rem;
      font-size: 0.9rem;
    }
    
    .blog-post-excerpt {
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }
    
    .blog-post-image {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 5px;
      margin-bottom: 1.5rem;
    }
    
    .blog-sidebar {
      background-color: #f8f9fa;
      padding: 1.5rem;
      border-radius: 5px;
    }
    
    .blog-sidebar-title {
      font-size: 1.2rem;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid var(--primary-color);
    }
    
    .blog-categories {
      list-style: none;
      padding: 0;
    }
    
    .blog-categories li {
      margin-bottom: 0.5rem;
    }
    
    .blog-categories a {
      color: #333;
      text-decoration: none;
      transition: color 0.3s;
    }
    
    .blog-categories a:hover {
      color: var(--primary-color);
    }
    
    .blog-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    
    .blog-tag {
      background-color: #e9ecef;
      color: #495057;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-size: 0.85rem;
      text-decoration: none;
      transition: all 0.3s;
    }
    
    .blog-tag:hover {
      background-color: var(--primary-color);
      color: white;
    }
    
    .pagination {
      margin-top: 2rem;
    }
    
    .search-form {
      margin-bottom: 1.5rem;
    }
    
    .logo {
      max-height: 70px;
    }
    
    .navbar {
      padding: 0.5rem 1rem;
    }
    
    .navbar-brand {
      padding: 0;
    }
    
    .navbar-nav .nav-link {
      padding: 0.5rem 1rem;
      margin: 0 0.25rem;
      border-radius: 4px;
      transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
    .navbar-toggler {
      border: none;
      padding: 0.5rem;
    }
    
    .navbar-toggler:focus {
      box-shadow: none;
    }

/* Featured Apps Styles */
.app-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}

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

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

.app-card .card-body {
  padding: 1.5rem;
}

.app-card .card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.app-card .card-text {
  color: #6c757d;
  margin-bottom: 1.25rem;
}

.app-card .btn {
  width: 100%;
}
.social-link:hover {
background-color: var(--primary-color);
color: white;
transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .site-footer {
    text-align: center;
  }
  
  .site-footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
} 