:root {
  --color-primary: #2F855A;
  --color-secondary: #276749;
  --color-accent: #68D391;
  
  --color-blue: #1E40AF;
  --color-blue-light: #3B82F6;
  --color-blue-accent: #60A5FA;
  
  --color-success: #059669;
  --color-warning: #D97706;
  --color-error: #DC2626;
  --color-info: #0891B2;
  
  --color-neutral: #F8FAFC;
  --color-text: #111827;
  --color-text-light: #6B7280;
  --color-white: #FFFFFF;
  
  --font-primary: 'Source Sans Pro', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;
  
  --container-max-width: 1140px;
  --container-padding: 30px;
  --border-radius: 8px;
  --shadow-base: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(47, 133, 90, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: var(--line-height-base);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--color-text);
}

h1 { font-size: 4.209rem; }
h2 { font-size: 3.157rem; }
h3 { font-size: 2.369rem; }
h4 { font-size: 1.777rem; }
h5 { font-size: 1.333rem; }
h6 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.layout-system {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--container-padding);
}

.col-12 { grid-column: span 12; }
.col-11 { grid-column: span 11; }
.col-10 { grid-column: span 10; }
.col-9 { grid-column: span 9; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }
.col-1 { grid-column: span 1; }

.header-main {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  min-height: 70px;
}

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

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-nav {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  margin: 2px 0;
  transition: 0.3s;
}

.primary-banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(47, 133, 90, 0.85) 0%, rgba(39, 103, 73, 0.9) 100%), 
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23E5E7EB" width="1200" height="800"/><path fill="%23D1D5DB" d="M0,400 Q300,200 600,400 T1200,400 V800 H0 Z"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}

.hero-content {
  max-width: 800px;
  padding: 3rem;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  color: var(--color-white);
}

.main-feature {
  background: var(--color-white);
  padding: 6rem 0;
}

.intro-section {
  background: var(--color-neutral);
  padding: 5rem 0;
}

.content-section {
  padding: 4rem 0;
}

.content-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.info-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-base);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(47, 133, 90, 0.1);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

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

.info-card p {
  margin-bottom: 1.5rem;
}

.detail-box {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.detail-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.content-panel {
  background: var(--color-white);
  border-left: 4px solid var(--color-primary);
  padding: 2rem;
  margin: 1rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.info-tile {
  background: linear-gradient(135deg, var(--color-accent) 0%, rgba(104, 211, 145, 0.1) 100%);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.info-tile:hover {
  transform: scale(1.05);
}

.primary-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47, 133, 90, 0.3);
  color: var(--color-white);
  text-decoration: none;
}

.primary-cta:active {
  transform: translateY(0);
}

.primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.primary-cta:hover::before {
  left: 100%;
}

.action-button {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.action-button:hover {
  background: var(--color-blue-light);
  transform: translateY(-1px);
}

.submit-btn {
  background: var(--color-success);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

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

.main-action {
  background: transparent;
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.main-action:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.testimonials-section {
  background: var(--color-neutral);
  padding: 5rem 0;
}

.testimonial-showcase {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: 4rem 0;
  margin: 3rem 0;
}

.testimonial-content {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: #FCD34D;
  gap: 0.25rem;
}

.star-filled {
  font-size: 1.25rem;
}

.credentials-section {
  background: var(--color-white);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  margin-top: 2rem;
}

.credentials-grid:hover {
  opacity: 1;
}

.credential-logo {
  max-height: 80px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  margin: 0 auto;
}

.credential-logo:hover {
  filter: grayscale(0%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.content-section-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.form-section {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-base);
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #E5E7EB;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(47, 133, 90, 0.1);
}

.form-control::placeholder {
  color: var(--color-text-light);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.footer-main {
  background: var(--color-text);
  color: var(--color-white);
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.hidden { display: none; }
.visible { display: block; }

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-accent { background-color: var(--color-accent); }
.bg-neutral { background-color: var(--color-neutral); }
.bg-white { background-color: var(--color-white); }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-dark { color: var(--color-text); }
.text-light { color: var(--color-text-light); }

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

@media (max-width: 992px) {
  .grid-layout {
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .content-section-2col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
  }
  
  .grid-layout {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 0;
  }
  
  .nav-links.mobile-active {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .nav-links a {
    padding: 1rem 2rem;
    display: block;
  }
  
  .primary-banner {
    height: 70vh;
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .detail-box {
    padding: 2rem 1.5rem;
  }
  
  .form-section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 576px) {
  .grid-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .primary-cta {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .testimonial-content {
    font-size: 1.125rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@supports (display: grid) {
  .enhanced-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.touch-target {
  min-height: 44px;
  min-width: 44px;
  padding: 12px 16px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 1001;
}

.skip-link:focus {
  top: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}