/* Modern Variables */
:root {
  --primary-color: #404b39;
  --secondary-color: #ced9c9;
  --accent-color: #485a3f;
  --text-color: #333333;
  --light-bg: #f0f6ee;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

/* Global Refinements */
body {
  line-height: 1.6;
  color: var(--text-color);
}

/* Enhanced Header */
header {
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

/* Navbar Specific Styles */


/* Hero Section / Banner */
.banner {
  position: relative;
  min-height: 80vh; /* Changed from fixed 600px to be more responsive */
  background-color: #f0f6ee;
  padding: 120px 0; /* Added more vertical padding */
  display: flex;
  align-items: center;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
}

.banner .block {
  position: relative;
  z-index: 2;
  padding: 2rem 0; /* Added padding to the content block */
}

.banner h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  line-height: 1.2;
  padding-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), #485a3fBF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.banner .lead {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Responsive banner adjustments */
@media (max-width: 991px) {
  .banner {
      padding: 80px 0;
      min-height: 70vh;
  }
  
  .banner h1 {
      font-size: 2.8rem;
      line-height: 1.3;
  }
}

@media (max-width: 768px) {
  .banner {
      padding: 60px 0;
      min-height: 60vh;
  }
  
  .banner h1 {
      font-size: 2.3rem;
      line-height: 1.3;
  }
  
  .banner .block {
      padding: 1rem 0;
  }
}

/* Enhanced Cards */
.our-impact-section {
  padding: 6rem 0;
  background-color: var(--light-bg);
}

.impact-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.impact-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}
.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}


/* About Section Refinements */
.about-us-container {
  background-color: var(--accent-color);
  padding: 4rem 0;
}

.about-us-text-container {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Team Section Improvements */
.our-team-container {
  background-color: var(--light-bg);
  padding: 4rem 0;
}

.our-team-text-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Refined Footer */
.footer {
  background: #2A4834;
  padding: 4rem 0 2rem;
  color: white;
}

.footer h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: #E8F1E4;
}

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

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

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

.footer .social a:hover {
  background-color: #3D6657;
  transform: translateY(-3px);
}

.a-footer {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.a-footer:hover {
  color: #E8F1E4;
  text-decoration: none;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .banner .block h1 {
    font-size: 2.5rem;
  }
  
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .impact-card {
    margin-bottom: 1.5rem;
  }
}

/* Sticky Notification Enhancement */
.sticky-notification {
  background-color: var(--secondary-color);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sticky-notification p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--primary-color);
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.banner {
  position: relative;
  min-height: 600px;
  background-color: #f0f6ee;
}

.banner .block {
  position: relative;
  z-index: 2;
}

.banner h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.banner .lead {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

/* Services Section */
.services-section {
  padding: 6rem 0;
  background-color: white
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtext {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

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


/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(rgba(64, 75, 57, 0.9), rgba(64, 75, 57, 0.9)), url("pictures/headerimage.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .banner h1 {
    font-size: 2.8rem;
  }
  
  .ai-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .banner h1 {
    font-size: 2.3rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

a {
  color: #FFFFFF; /* Change this to your desired color */
  text-decoration: none; /* Remove underline for a cleaner look */
}

a:hover {
  color: #d0dacc; /* Darker shade for hover effect */
}