/* Base Styles */
:root {
  --primary-color: #00a877; /* Munsell Green */
  --primary-dark: #008766;
  --primary-light: #e6f5f1;
  --secondary-color: #008b8b; /* Dark Cyan */
  --secondary-dark: #006b6b;
  --secondary-light: #e6f3f3;
  --light-color: #f8f9fa;
  --lighter-gray: #f1f3f5;
  --light-gray: #e9ecef;
  --medium-gray: #ced4da;
  --dark-gray: #6c757d;
  --darker-gray: #495057;
  --dark-color: #212529;
  --body-font: 'Inter', system-ui, -apple-system, sans-serif;
  --heading-font: 'Manrope', 'Montserrat', sans-serif;
  --accent-font: 'Manrope', 'Montserrat', sans-serif;
  --border-radius: 0.5rem;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.25s cubic-bezier(0.3, 0, 0.4, 1);
}

/* Font imports - Add these to your HTML head */
/*
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap" rel="stylesheet">
*/

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--darker-gray);
  background-color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--dark-color);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-dark);
}

/* Layout */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #fff;
}

.content-wrapper {
  flex: 1;
}

.container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
  height: 40px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: var(--darker-gray);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--secondary-color);
}

.navbar-nav .active > .nav-link {
  color: var(--primary-color);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  padding: 6rem 0;
  background-color: var(--lighter-gray);
  background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.hero-section p.lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--darker-gray);
  max-width: 600px;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  background-color: #fff;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--light-gray);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--dark-color);
}

.card-text {
  color: var(--dark-gray);
}

.project-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-family: var(--body-font);
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

/* Page Header */
.page-header {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
  margin-bottom: 2rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 0.5rem;
  color: var(--medium-gray);
}

.breadcrumb-item.active {
  color: var(--dark-gray);
}

/* Forms */
.form-control {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--medium-gray);
  font-family: var(--body-font);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(0, 168, 119, 0.15);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--darker-gray);
}

/* Testimonials */
.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--darker-gray);
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-color);
}

/* Whistleblower Section */
.whistleblower-section {
  background-color: var(--lighter-gray);
  padding: 5rem 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer h5 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

/* Utility Classes */
.shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.rounded {
  border-radius: var(--border-radius) !important;
}

.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 1.5rem;
}

.bg-primary-light {
  background-color: var(--primary-light);
}

.bg-secondary-light {
  background-color: var(--secondary-light);
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section p.lead {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p.lead {
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer-links {
    margin-bottom: 2rem;
  }
}

/* Accessibility Focus Styles */
:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip to Content Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 10px 15px;
  z-index: 100;
  transition: top 0.3s ease;
  border-radius: 0 0 4px 0;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* Smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Animation for elements */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Ensure dropdown menu visibility */
.dropdown-menu {
    background-color: #fff;
    border: 1px solid var(--light-gray);
    box-shadow: var(--box-shadow);
    z-index: 1000;
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-item {
    color: var(--darker-gray);
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-light);
    color: var(--primary-color);
}