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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}
#scrollBackBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #005842;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensure it's above other elements */
}

#scrollBackBtn:hover {
    background-color: #007B5F; /* Darker shade on hover */
}

.navbar {
  background-color: #1f2937;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center; /* Vertically center items */
  justify-content: space-between; /* Space between logo and nav items */
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
  color: #12e9cc;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00bfa6;
}

#darkModeToggle {
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}
@media (max-width: 500px) {
  .navbar .logo {
    font-size: 20px;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .caption {
    font-size: 1.2rem;
  }
}
.contributor-container {
  margin: 0 auto;
}

/* Hero Section */
.contributor-hero {
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=2850&q=80');
  background-size: cover;
  background-position: center;
  
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.contributor-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.contributor-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.contributor-hero h1 {
  color: #008876;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.contributor-hero p {
  opacity: 0.8;
  color:#b7d5cc ;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Buttons */
.contributor-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contributor-btn-primary {
 font-weight: 600;
  background-color: #009a73;
  color: #333;
}

.contributor-btn-primary:hover {
  background-color: #f0f0f0;
}




.contributor-btn-secondary {
 
  background-color: #00c2a8;
  color: #fff;
}

.contributor-btn-secondary:hover {
 
  transform: scale(1.025);
    background-color: #006b50;
}

/* Stats Section */
.contributor-stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
  text-align: center;
}

.contributor-stats h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contributor-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.contributor-stat-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.contributor-stat-card .contributor-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contributor-stat-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contributor-stat-card p {
  color: #666;
}

/* Contributors Section */
.contributor-contributors {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
  text-align: center;
}

.contributor-contributors h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contributor-contributors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contributor-contributor-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 2px 2px 10px rgb(172, 140, 140);
}

.contributor-contributor-card:hover {
  transform: translateY(-5px);
  
  background-color: aqua;
  box-shadow: 1px 1px 12px 4px blue;
  border-radius: 10px ;
}

.contributor-contributor-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 1.5rem auto;
  display: block;
  border: 4px solid #f0f0f0;
}

.contributor-contributor-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contributor-contributor-card p {
  color: #666;
  margin-bottom: 1rem;
}

.contributor-contributor-card .contributor-contributions {
  background-color: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1rem;
}

.contributor-contributor-card .contributor-footer {
  background-color: #f9f9f9;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contributor-contributor-card .contributor-footer a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.contributor-contributor-card .contributor-footer svg {
  margin-right: 0.5rem;
}

/* Loading Spinner */
.contributor-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.contributor-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: contributor-spin 1s linear infinite;
}

@keyframes contributor-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Call to Action Section */
.contributor-cta {
  background-color: #333;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.contributor-cta h2 {
  color:#07a893 ;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contributor-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contributor-cta form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contributor-cta input[type="email"] {
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
 
  border-radius: 0.75rem;
  width: 300px;
}

.contributor-contributor-card:hover {
  transform: translateY(-5px);
  
  background-color: aqua;
  box-shadow: 1px 1px 12px 4px blue;
  border-radius: 10px ;
}

.contributor-notification {
  background-color: #4CAF50;
  color: white;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
}

.contributor-hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contributor-hero h1 {
      font-size: 2.5rem;
  }

  .contributor-hero p {
      font-size: 1.2rem;
  }

  .contributor-cta form {
      flex-direction: column;
      align-items: center;
  }

  .contributor-cta input[type="email"] {
      width: 100%;
      max-width: 300px;
  }
}






/* General Footer Styling */
.footer-container {
  background-color: #1f2937;
  color: #ffffff;
  padding: 40px 0;
  font-family: Arial, sans-serif;
}

/* Logo and Tagline */
.footer-logo-section {
  text-align: center;
  margin-bottom: 30px;
}
.footer-logo {
  max-width: 150px;
  margin-bottom: 10px;
  border-radius: 50px;
}
.footer-logo-section p {
  margin: 5px 0;
  font-size: 0.95rem;
}
.follow-us {
  margin-top: 10px;
  font-weight: bold;
}

/* Social Media Icons */
.social-icons a {
  display: inline-block;
  margin: 0 10px;
  color: #12e9cc;
  font-size: 1.5rem;
  text-decoration: none;
}
.social-icons a:hover {
  color: #76b2ab;
}

/* Footer Link Sections */
.footer-links {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 20px 100px;
}
.footer-column {
  flex-basis: 20%;
  margin-bottom: 10px;
}
.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #12e9cc;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 8px;
}
.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-column ul li a:hover {
  text-decoration: underline;
}

/* Footer Bottom Links */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}
.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-bottom ul li {
  display: inline-block;
  margin: 0 15px;
}
.footer-bottom ul li a {
  color: #12e9cc;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-bottom ul li a:hover {
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
  .footer-column {
    flex-basis: 100%;
    text-align: center;
  }
}


.contributor-stats-grid, 
.contributor-contributors-grid {
    color: #000000; /* Default text color for grids */
}


body.dark-mode .contributor-stats-grid, 
body.dark-mode .contributor-contributors-grid {
    color: #000000; /* Text color for content in dark mode */
}
/* Optional: Background color for dark mode */
body.dark-mode {
    background-color: #121212; /* Example dark background */
}

