:root {
  /* Tetrad Color Scheme */
  --primary: #3a7b6f;
  --primary-dark: #2a5a50;
  --primary-light: #4a9c8e;
  --secondary: #b75a3c;
  --secondary-dark: #8e4730;
  --secondary-light: #d67c5e;
  --accent1: #5f3a7b;
  --accent1-dark: #472b5a;
  --accent1-light: #7a4c9c;
  --accent2: #b7a33c;
  --accent2-dark: #8e7e2f;
  --accent2-light: #d6c05e;
  
  /* Neutral Colors */
  --dark: #1a2126;
  --gray-dark: #343a40;
  --gray: #6c757d;
  --gray-light: #adb5bd;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Shadows for Neomorphism */
  --shadow-light: rgba(255, 255, 255, 0.5);
  --shadow-dark: rgba(0, 0, 0, 0.1);
  --shadow-inset-light: rgba(255, 255, 255, 0.5);
  --shadow-inset-dark: rgba(0, 0, 0, 0.2);
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  
  /* Transition */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

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

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

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

section {
  padding: 4rem 0;
  position: relative;
}

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

/* Typography Styles */
.section-title {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* Neomorphic Elements */
.neomorphic-card {
  background: var(--light);
  border-radius: var(--border-radius);
  box-shadow: 8px 8px 16px var(--shadow-dark),
              -8px -8px 16px var(--shadow-light);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 20px var(--shadow-dark),
              -10px -10px 20px var(--shadow-light);
}

.neomorphic-inset {
  background: var(--light);
  border-radius: var(--border-radius);
  box-shadow: inset 4px 4px 8px var(--shadow-inset-dark),
              inset -4px -4px 8px var(--shadow-inset-light);
  padding: 1.5rem;
}

.neomorphic-input, .neomorphic-select {
  border: none;
  background: var(--light);
  box-shadow: inset 4px 4px 8px var(--shadow-inset-dark),
              inset -4px -4px 8px var(--shadow-inset-light);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  transition: box-shadow var(--transition-fast);
  width: 100%;
}

.neomorphic-input:focus, .neomorphic-select:focus {
  outline: none;
  box-shadow: inset 6px 6px 10px var(--shadow-inset-dark),
              inset -6px -6px 10px var(--shadow-inset-light);
}

.neomorphic-progress {
  height: 12px;
  background: var(--light);
  border-radius: 6px;
  box-shadow: inset 3px 3px 6px var(--shadow-inset-dark),
              inset -3px -3px 6px var(--shadow-inset-light);
  overflow: hidden;
}

.neomorphic-progress .progress-bar {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  border-radius: 6px;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.2);
}

.neomorphic-modal {
  border-radius: var(--border-radius);
  box-shadow: 8px 8px 16px var(--shadow-dark),
              -8px -8px 16px var(--shadow-light);
  border: none;
}

/* Button Styles */
.btn {
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.btn::after {
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width var(--transition);
  z-index: -1;
}

.btn:hover::after {
  width: 100%;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-neomorphic {
  box-shadow: 5px 5px 10px var(--shadow-dark),
              -5px -5px 10px var(--shadow-light);
}

.btn-neomorphic:active {
  box-shadow: inset 2px 2px 5px var(--shadow-dark),
              inset -2px -2px 5px var(--shadow-light);
  transform: translateY(0);
}

/* Header Styles */
.header-neomorphic {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all var(--transition);
}

.header-neomorphic.scrolled {
  padding: 0.5rem 0;
  background: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(5px);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.navbar-nav .nav-link {
  color: var(--gray-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color var(--transition-fast);
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  background-color: transparent;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 8rem 0 5rem;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content .btn-group {
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Mission Section */
.mission-section {
  background-color: var(--white);
}

.mission-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-content h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.mission-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-widget {
  flex: 1;
  min-width: 150px;
  padding: 1.5rem;
  text-align: center;
}

.stat-widget h4 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-widget p {
  color: var(--gray);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.mission-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: transform var(--transition);
}

.mission-image:hover img {
  transform: scale(1.03);
}

/* Features Section */
.features-section {
  background-color: var(--light);
}

.feature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-image {
  margin-bottom: 1.5rem;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

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

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

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-content p {
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Sustainability Section */
.sustainability-section {
  background-color: var(--white);
}

.sustainability-content {
  height: 100%;
}

.sustainability-content h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-item {
  margin-bottom: 1.5rem;
}

.feature-item h4 {
  color: var(--accent1);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.form-check-input {
  background-color: var(--light);
  border: none;
  box-shadow: inset 2px 2px 4px var(--shadow-inset-dark),
              inset -2px -2px 4px var(--shadow-inset-light);
  width: 2rem;
  height: 1rem;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Resources Section */
.resources-section {
  background-color: var(--light);
}

.resource-card {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-card .card-image {
  margin-bottom: 1.5rem;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.resource-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-card h3 {
  color: var(--accent2-dark);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.resource-card p {
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Case Studies Section */
.case-studies-section {
  background-color: var(--white);
}

.case-study-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.case-study-card .card-image {
  margin-bottom: 1.5rem;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.case-study-card .card-content {
  flex: 1;
}

.case-study-card h3 {
  color: var(--accent1);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.case-meta {
  margin-bottom: 1rem;
}

.case-meta .badge {
  margin-right: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
}

/* Insights Section */
.insights-section {
  background-color: var(--light);
}

.insight-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.insight-card .card-image {
  margin-bottom: 1.5rem;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.insight-card .card-content {
  flex: 1;
  text-align: left;
}

.insight-card h3 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.insight-tip {
  background-color: var(--accent2-light);
  background: linear-gradient(135deg, var(--accent2-light), var(--accent2));
  color: var(--dark);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-top: 1.5rem;
}

.insight-tip h5 {
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.insight-tip p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
}

.contact-info {
  height: 100%;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-item i {
  margin-right: 1rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-item p {
  margin-bottom: 0;
}

.contact-social h4 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light);
  box-shadow: 3px 3px 6px var(--shadow-dark),
              -3px -3px 6px var(--shadow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

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

.contact-form {
  height: 100%;
}

.contact-form h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.form-label {
  color: var(--gray-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Footer Section */
.footer-section {
  background-color: var(--dark);
  color: var(--light);
  padding: 3rem 0 1.5rem;
}

.footer-section h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-section p {
  color: var(--gray-light);
  font-size: 0.95rem;
}

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

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

.footer-links a {
  color: var(--gray-light);
  transition: color var(--transition-fast);
  font-size: 0.95rem;
}

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

.footer-social {
  margin-top: 1.5rem;
}

.footer-social .social-link {
  color: var(--gray-light);
  margin-right: 1rem;
  transition: color var(--transition-fast);
  font-size: 0.95rem;
}

.footer-social .social-link:hover {
  color: var(--white);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 33, 38, 0.95);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
  min-width: 280px;
}

.cookie-content a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-content button {
  min-width: 100px;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-content {
  max-width: 800px;
}

.success-icon {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 2rem;
  animation: pulse 1.5s infinite;
}

.success-content h1 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.success-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* About, Privacy, Terms Pages */
.page-header {
  padding-top: 100px;
  padding-bottom: 2rem;
  background-color: var(--light);
  text-align: center;
}

.page-content {
  padding: 3rem 0;
}

/* Utility Classes */
.min-vh-80 {
  min-height: 80vh;
}

.bg-light {
  background-color: var(--light) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-white {
  color: var(--white) !important;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Media Queries */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .mission-stats {
    flex-direction: column;
  }
  
  .stat-widget {
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 3rem 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .card-image {
    height: 200px;
  }
  
  .mission-image {
    margin-top: 2rem;
  }
  
  .sustainability-image {
    margin-bottom: 2rem;
  }
  
  .footer-section [class^="col-"] {
    margin-bottom: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content button {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-content .btn-group {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .hero-content .btn-group .btn {
    margin-left: 0 !important;
  }
}