@import url('theme.css');
@import url('footer.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Root Variables */
:root {
  /* Light mode colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-heavy: rgba(0, 0, 0, 0.15);

  /* Agricultural green palette */
  --primary-green: #16a34a;
  --secondary-green: #22c55e;
  --accent-green: #4ade80;
  --light-green: #f0fdf4;
  --dark-green: #15803d;
  --green-hover: #15803d;

  --transition: all 0.3s ease;
}

[data-theme="dark"] {
  /* Dark mode colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --shadow-light: rgba(0, 0, 0, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.4);
  --shadow-heavy: rgba(0, 0, 0, 0.6);

  /* Adjusted green colors for dark mode */
  --light-green: #1a2e1a;
  --green-hover: #22c55e;
}

/* Typography */
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.5s ease-in;
}

.serif {
  font-family: 'Libertinus Serif', Georgia, serif;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-green);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green);
}

/* =========================
   Navbar
   ========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  background: var(--bg-primary);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 2rem;
  transition: var(--transition);
}

.navbar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand .logo {
  font-family: 'Libertinus Serif', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-green);
  text-decoration: none;
}

/* Buttons */
.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

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

.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
}

/* Focus Accessibility */
.nav-buttons a.btn:focus-visible,
.scroll-to-top:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* =========================
   Main & Sections
   ========================= */
main {
  flex: 1;
  padding: 3rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

section {
  background: var(--bg-primary);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }

section:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px var(--shadow-medium);
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-green), var(--accent-green));
}

/* =========================
   Headings & Text
   ========================= */
h2 {
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-green), var(--accent-green));
  border-radius: 2px;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  text-align: justify;
  font-weight: 400;
}

/* =========================
   Services
   ========================= */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.services-list li {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(42, 122, 42, 0.05));
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 4px solid var(--secondary-green);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.services-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
  border-left-width: 6px;
}

.services-list li strong {
  color: var(--primary-green);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* =========================
   Why it Matters
   ========================= */
.why-it-matters-section ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.why-it-matters-section ul li {
  background: rgba(76, 175, 80, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
  color: var(--primary-green);
  transition: var(--transition);
  border: 2px solid transparent;
  list-style: none;
}

.why-it-matters-section ul li:hover {
  background: rgba(76, 175, 80, 0.2);
  border-color: var(--secondary-green);
  transform: scale(1.05);
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
  color: white;
  margin-top: auto;
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  background: white;
  padding: 8px;
}

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

.site-footer a:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* Footer bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Social media */
.social-media {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: var(--transition);
  font-size: 1.25rem;
}

.social-media a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Footer - Complete Styling from style.css */
.site-footer {
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: white;
  margin-top: auto;
  padding: 4rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;

  box-shadow: 
    0 -4px 16px rgba(46, 125, 50, 0.1),
    0 -2px 8px rgba(46, 125, 50, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 20%, 
    rgba(255, 255, 255, 0.6) 50%, 
    rgba(255, 255, 255, 0.3) 80%, 
    transparent 100%);
  animation: shimmerTop 3s ease-in-out infinite;
}

@keyframes shimmerTop {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.10) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
    linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%);
  pointer-events: none;
  animation: footerShimmer 20s ease-in-out infinite;
}

@keyframes footerShimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Floating particles animation */
.site-footer::before {
  animation: floatingParticles 25s linear infinite;
}

@keyframes floatingParticles {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%;
  }
  33% {
    background-position: 100% 50%, 0% 100%, 0% 0%;
  }
  66% {
    background-position: 50% 100%, 50% 0%, 100% 50%;
  }
  100% {
    background-position: 0% 0%, 100% 0%, 50% 100%;
  }
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.footer-inner::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 2px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-right: 2rem;
  position: relative;
}

.footer-brand::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 30%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0.2) 70%, 
    transparent 100%);
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  background: white;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.site-footer h3,
.site-footer h4 {
  font-family: 'Libertinus Serif', serif;
  margin: 0 0 1.5rem 0;
  font-weight: 600;
}

.site-footer h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #e8f5e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.site-footer h4 {
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.site-footer h4::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -10px;
  width: 4px;
  height: calc(100% + 10px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
  border-radius: 2px;
}

.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.site-footer p {
  margin: 0;
  opacity: 0.95;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  font-size: 1rem;
}

/* Brand Header Section */
.brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  padding: 10px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(46, 125, 50, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-logo:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.2),
    0 6px 18px rgba(46, 125, 50, 0.3);
}

/* Mission Statement Enhancement */
.mission-statement {
  margin-bottom: 1.5rem;
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.mission-statement::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Libertinus Serif', serif;
}

.mission-statement::after {
  content: '"';
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Libertinus Serif', serif;
}

.mission-statement p {
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-align: justify;
  text-justify: inter-character;
  hyphens: auto;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.95);
  word-spacing: -0.1em;
  text-align-last: left;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.no-break {
  white-space: nowrap;
  hyphens: none;
  word-break: keep-all;
}

/* Footer Links Section - Consistent Background */
.footer-links {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer-links:hover {
  background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer ul li {
  position: relative;
}

.site-footer a {
  color: white;
  text-decoration: none;
  opacity: 0.95;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
  position: relative;
}

.site-footer a i {
  margin-right: 8px;
  width: 16px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.site-footer a:hover i {
  color: #ffffff;
  transform: scale(1.1);
}

.site-footer .footer-links a:hover {
  opacity: 1;
  transform: translateX(8px);
  color: rgba(255, 255, 255, 1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-radius: 8px;
  padding: 8px 16px;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer .footer-links a::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
  transition: width 0.3s ease;
}

.site-footer .footer-links a:hover::before {
  width: 100%;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 2.5rem 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.copyright {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  padding: 1rem 0;
}

.copyright::after {
  content: '🌱';
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.8;
}

.copyright::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  border-radius: 2px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none; 
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.separator {
  color: rgba(255, 255, 255, 0.4);
  font-weight: bold;
  font-size: 0.75rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
  text-decoration: underline;
}

/* Enhanced Footer Links Hover Effects */  
.footer-links ul li a {
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

/* Enhanced hover effect with improved visual feedback */
.footer-links ul li a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(8px) translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Improved underline animation */
.footer-links ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 12px;
  bottom: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links ul li a:hover::after {
 width: calc(100% - 24px);
}

/* Focus states for accessibility */
.footer-links ul li a:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

/* Footer Animation on Scroll */
.site-footer {
  opacity: 0;
  transform: translateY(30px);
  animation: footerFadeIn 1s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes footerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand,
.footer-links {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.footer-brand {
  animation-delay: 0.3s;
}

.footer-links:nth-child(2) {
  animation-delay: 0.4s;
}

.footer-links:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ripple Animation */
@keyframes ripple {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

.social-media {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-media a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.social-media a::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-media a:hover::before {
  left: 100%;
}

.social-media a:hover::after {
  opacity: 1;
}

.social-media a:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-4px) scale(1.08) rotate(5deg);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.2),
    0 6px 18px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.social-media a:nth-child(1):hover { transform: translateY(-4px) scale(1.08) rotate(-5deg); }
.social-media a:nth-child(2):hover { transform: translateY(-4px) scale(1.08) rotate(0deg); }
.social-media a:nth-child(3):hover { transform: translateY(-4px) scale(1.08) rotate(5deg); }

/* Tablet Design */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    padding-right: 1rem;
  }

  .brand-header {
    margin-bottom: 1.25rem;
  }

  .mission-statement p {
    font-size: 1.05rem;
    padding: 1.5rem;
  }
}

/* Mobile Footer Overrides */
@media (max-width: 768px) {
  .site-footer {
    padding: 3rem 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
    padding-right: 0;
    order: 1;
  }

  .brand-header {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
  }

  .mission-statement p {
    text-align: center;
    padding: 1.5rem;
    font-size: 1rem;
  }

  .mission-statement p::before,
  .mission-statement p::after {
    display: none;
  }

  .footer-links:nth-child(2) {
    order: 2;
  }

  .footer-links:nth-child(3) {
    order: 3;
  }

  .footer-links h4 {
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .site-footer ul {
    align-items: center;
  }

  .footer-links ul li a {
    text-align: center;
    padding: 10px 16px;  
  }

  .social-media {
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-bottom-links a {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .separator {
    display: none;  
  }
}

/* =========================
   Scroll To Top Button
   ========================= */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--shadow-medium);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

/* =========================
   Enhanced Responsive Design for All Devices
   ========================= */

/* Extra Small Devices (Phones, 320px and up) */
@media (max-width: 320px) {
  .navbar {
    padding: 0.75rem 1rem;
    flex-direction: column;
    text-align: center;
  }

  .navbar h1 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .nav-buttons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    min-width: 60px;
  }

  main {
    padding: 1rem;
  }

  section {
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 15px;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services-list li {
    padding: 1rem;
  }

  .why-it-matters-section ul {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .why-it-matters-section ul li {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .site-footer {
    padding: 2rem 1rem;
  }

  .footer-inner {
    gap: 2rem;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 1rem;
    right: 1rem;
  }

  #chatbotBtn {
    width: 50px;
    height: 50px;
    bottom: 80px;
    right: 20px;
    font-size: 20px;
  }
}

/* Enhanced Mobile Footer Responsiveness - About Page */
@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }

  .navbar h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .nav-buttons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    min-width: 70px;
  }

  main {
    padding: 1.5rem;
  }

  section {
    padding: 1.75rem;
    margin: 1.5rem 0;
    border-radius: 15px;
  }

  h2 {
    font-size: 1.75rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .services-list,
  .why-it-matters-section ul {
    grid-template-columns: 1fr;
  }

  .services-list li {
    padding: 1.25rem;
  }

  .why-it-matters-section ul li {
    padding: 1rem 1.25rem;
  }

  /* Enhanced Mobile Footer */
  .site-footer {
    padding: 2rem 1rem 1.5rem !important;
  }
  
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
    text-align: center;
    padding-right: 0 !important;
    order: 1;
  }
  
  .brand-header {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .footer-logo {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto;
  }
  
  .site-footer h3 {
    font-size: 1.5rem !important;
    text-align: center;
  }
  
  .mission-statement {
    padding: 1rem !important;
    margin-bottom: 1rem;
  }
  
  .mission-statement p {
    text-align: center !important;
    font-size: 0.95rem !important;
    line-height: 1.6;
    padding: 0 !important;
    font-style: normal;
  }
  
  .mission-statement::before,
  .mission-statement::after {
    display: none !important;
  }
  
  .footer-links {
    padding: 1rem !important;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
    border: none !important;
  }
  
  .footer-links:hover {
    background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
  }
  
  .footer-links h4 {
    text-align: center;
    margin-bottom: 1rem !important;
    font-size: 1.1rem !important;
  }
  
  .footer-links h4::before {
    display: none;
  }
  
  .footer-links h4::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px;
  }
  
  .site-footer ul {
    align-items: center;
    gap: 0.25rem;
  }
  
  .footer-links ul li a {
    text-align: center;
    justify-content: center;
    padding: 8px 12px !important;
    font-size: 0.9rem;
    border-radius: 6px;
    margin: 2px 0;
  }
  
  .footer-links ul li a i {
    margin-right: 6px;
    width: 14px;
  }
  
  .social-media {
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-media a {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.2rem !important;
  }
  
  .footer-bottom {
    margin: 2rem auto 0 !important;
    padding: 1.5rem 0.5rem 0 !important;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .copyright {
    font-size: 0.9rem !important;
    padding: 0.5rem 0;
  }
  
  .copyright::after {
    right: -20px;
    font-size: 1rem;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-bottom-links a {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
    min-width: 120px;
  }
  
  .separator {
    display: none !important;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  #chatbotBtn {
    bottom: 85px;
    right: 25px;
  }
}

/* Medium Devices (Tablets, 768px and up) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
  }

  .navbar h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .nav-buttons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  main {
    padding: 2rem 3%;
  }

  section {
    padding: 2rem;
    margin: 2rem 0;
  }

  h2 {
    font-size: 2rem;
  }

  p {
    font-size: 1.05rem;
  }

  .services-list,
  .why-it-matters-section ul {
    grid-template-columns: 1fr;
  }

  /* Enhanced Mobile-specific footer centering for about page */
  .site-footer {
    padding: 2.5rem 1.5rem 2rem !important;
  }
  
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
    padding-right: 0 !important;
    order: 1;
  }

  .brand-header {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-logo {
    width: 52px !important;
    height: 52px !important;
  }

  .mission-statement p {
    text-align: center !important;
    padding: 1.5rem !important;
    font-size: 1rem !important;
  }

  .mission-statement::before,
  .mission-statement::after {
    display: none !important;
  }
  
  .footer-links {
    background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
  }
  
  .footer-links:hover {
    background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
  }

  .footer-links h4 {
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .footer-links h4::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .site-footer ul {
    align-items: center;
  }

  .footer-links ul li a {
    text-align: center;
    padding: 10px 16px;
    justify-content: center;
  }

  .social-media {
    justify-content: center;
    align-items: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .separator {
    display: none;
  }
}

/* Large Tablets (1024px and up) */
@media (max-width: 1024px) and (min-width: 769px) {
  .navbar {
    padding: 1rem 3%;
  }

  main {
    padding: 2.5rem 4%;
  }

  section {
    padding: 2.25rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  p {
    font-size: 1.08rem;
  }

  .services-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .why-it-matters-section ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    padding-right: 1rem;
  }

  .brand-header {
    margin-bottom: 1.25rem;
  }

  .mission-statement p {
    font-size: 1.05rem;
    padding: 1.5rem;
  }
}

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
  main {
    max-width: 1400px;
    padding: 3rem 5%;
  }

  section {
    padding: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  p {
    font-size: 1.15rem;
    line-height: 1.8;
  }

  .services-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .why-it-matters-section ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Ultra-wide screens (1600px and up) */
@media (min-width: 1600px) {
  main {
    max-width: 1600px;
  }

  section {
    padding: 3.5rem;
  }

  .services-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .footer-inner {
    max-width: 1600px;
  }
}

/* Landscape orientation for mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
  .navbar {
    flex-direction: row;
    padding: 0.75rem 2rem;
  }

  .navbar h1 {
    font-size: 1.4rem;
    margin-bottom: 0;
  }

  .nav-buttons {
    width: auto;
    flex-direction: row;
    gap: 0.5rem;
  }

  main {
    padding: 1.5rem 3%;
  }

  section {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .services-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .scroll-to-top,
  #chatbotBtn,
  .scroll-btn {
    display: none;
  }

  main {
    padding: 0;
  }

  section {
    break-inside: avoid;
    margin: 1rem 0;
    padding: 1rem;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  h2 {
    color: #000;
  }

  p {
    color: #333;
  }

  .site-footer {
    background: #f5f5f5 !important;
    color: #000 !important;
    padding: 1rem !important;
  }
}

/* Touch-Friendly Enhancements */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  
  .theme-toggle {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  
  section {
    padding: 2rem 1.5rem;
  }
  
  .services-list li {
    padding: 1.75rem;
  }
  
  .why-it-matters-section ul li {
    padding: 1.25rem 1.5rem;
  }
  
  .footer-links a {
    min-height: 44px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
  }
  
  .scroll-to-top,
  .scroll-btn {
    width: 56px;
    height: 56px;
  }
  
  #chatbotBtn {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
}

/* High DPI/Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .footer-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  section {
    animation: none;
  }
  
  .site-footer::before,
  .site-footer::after {
    animation: none;
  }
  
  .services-list li:hover,
  .why-it-matters-section ul li:hover {
    transform: none;
  }
}

/* Dark Mode Media Query Support */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-heavy: rgba(0, 0, 0, 0.6);
    --light-green: #1a2e1a;
    --green-hover: #22c55e;
  }
}

/* Container Query Support (Future-proofing) */
@supports (container-type: inline-size) {
  main {
    container-type: inline-size;
  }
  
  @container (max-width: 768px) {
    .services-list {
      grid-template-columns: 1fr;
    }
  }
  
  @container (min-width: 1200px) {
    .services-list {
      grid-template-columns: repeat(3, 1fr);
    }
  }
}

/* Loading Animation */
.loading {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Smooth transitions for all elements */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Floating Chatbot Button */
#chatbotBtn {
  position: fixed;
  bottom: 100px; /* 20px above scroll-to-top button */
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #4caf50; /* greenish theme */
  color: #fff;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  z-index: 1100; /* above scroll-to-top button */
}

#chatbotBtn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  background-color: #43a047; /* slightly darker green on hover */
}

/* Mobile responsiveness: hide on very small screens */
@media (max-width: 400px) {
  #chatbotBtn {
    display: none;
  }
}

/* Scroll Button */
.scroll-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--shadow-medium);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.scroll-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

/* =========================
   Enhanced Footer Styles from style.css
   ========================= */

/* Override basic footer with enhanced styling */
.site-footer {
  background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
  color: white;
  margin-top: auto;
  padding: 4rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 
    0 -4px 16px rgba(46, 125, 50, 0.1),
    0 -2px 8px rgba(46, 125, 50, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 20%, 
    rgba(255, 255, 255, 0.6) 50%, 
    rgba(255, 255, 255, 0.3) 80%, 
    transparent 100%);
  animation: shimmerTop 3s ease-in-out infinite;
}

@keyframes shimmerTop {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.10) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
    linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%);
  pointer-events: none;
  animation: floatingParticles 25s linear infinite;
}

@keyframes floatingParticles {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%;
  }
  33% {
    background-position: 100% 50%, 0% 100%, 0% 0%;
  }
  66% {
    background-position: 50% 100%, 50% 0%, 100% 50%;
  }
  100% {
    background-position: 0% 0%, 100% 0%, 50% 100%;
  }
}

.footer-inner {
  max-width: 1200px !important;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr !important;
  gap: 3.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

/* Mission Statement Enhancement */
.mission-statement {
  margin-bottom: 1.5rem;
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.mission-statement::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Libertinus Serif', serif;
}

.mission-statement::after {
  content: '"';
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Libertinus Serif', serif;
}

.mission-statement p {
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-align: justify;
  text-justify: inter-character;
  hyphens: auto;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.95);
  word-spacing: -0.1em;
  text-align-last: left;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.no-break {
  white-space: nowrap;
  hyphens: none;
  word-break: keep-all;
}

/* Mission Stats Section Styling */
.mission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mission-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: statsShine 3s ease-in-out infinite;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.3),
                0 0 60px rgba(255, 255, 255, 0.1);
}

.stat-item:hover::before {
    width: 200px;
    height: 200px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #e8f5e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Brand Header Section */
.brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  object-fit: cover;
  background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
  padding: 10px !important;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(46, 125, 50, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-logo:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.2),
    0 6px 18px rgba(46, 125, 50, 0.3);
}

.site-footer h3,
.site-footer h4 {
  font-family: 'Libertinus Serif', serif;
  margin: 0 0 1.5rem 0;
  font-weight: 600;
}

.site-footer h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #e8f5e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.site-footer h4 {
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.site-footer h4::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -10px;
  width: 4px;
  height: calc(100% + 10px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
  border-radius: 2px;
}

.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Advanced Keyframe Animations */
@keyframes statsShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes countUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

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

