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

:root {
  --primary-color: #2A9D2A;
  --secondary-color: #5DB65D;
  --accent-color: #65E265;
  --bg-color: #F8F9FA;
  --bg-alt: #EFF1F3;
  --text-color: #1B2A3D;
  --text-muted: #546B82;
  --section-dark: #1B2A3D;
  --section-accent: #E6EEF5;
  --primary-rgb: 42, 157, 42;
  --accent-rgb: 101, 226, 101;
}

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.row > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

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

h1 {
  font-size: 4rem;
  letter-spacing: -2px;
}

h2 {
  font-size: 2rem;
  letter-spacing: -1px;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

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

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

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

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

.navbar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: var(--section-dark);
  padding: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3rem;
  display: block;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  border-left-color: var(--accent-color);
  color: var(--accent-color);
}

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  background: var(--section-dark);
  color: #ffffff;
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 4px;
}

main {
  margin-left: 280px;
  min-height: 100vh;
}

.hero,
.banner,
.header-hero {
  width: 100%;
  padding: 8rem 2rem;
  background-color: var(--section-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.hero h1,
.banner h1,
.header-hero h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 5rem;
  font-weight: 700;
}

.hero p,
.banner p,
.header-hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.header-hero {
  padding: 4rem 2rem;
}

.header-hero h1 {
  font-size: 3rem;
}

.section,
.content-section,
.block {
  width: 100%;
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.section-dark {
  background-color: var(--section-dark);
  color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: #ffffff;
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.9);
}

.section-accent {
  background-color: var(--section-accent);
}

.card,
.item,
.feature {
  background: #ffffff;
  padding: 2rem;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.card:hover,
.item:hover,
.feature:hover {
  transform: translateX(8px);
  border-left-color: var(--accent-color);
}

.card h3,
.item h3,
.feature h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p,
.item p,
.feature p {
  color: var(--text-muted);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border-left: 4px solid var(--secondary-color);
}

.testimonial-card p {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--primary-color);
  font-style: normal;
}

.pricing-card {
  background: #ffffff;
  padding: 3rem 2rem;
  border-top: 4px solid var(--primary-color);
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-alt);
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col-layout.reverse {
  direction: rtl;
}

.two-col-layout.reverse > * {
  direction: ltr;
}

.two-col-layout img {
  width: 100%;
  height: auto;
}

.btn,
.button,
.cta {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary,
.button-primary {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-primary:hover,
.button-primary:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary,
.button-secondary {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.btn-secondary:hover,
.button-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

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

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

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

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

.text-muted {
  color: var(--text-muted);
}

form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
  border: 2px solid var(--bg-alt);
  background-color: #ffffff;
  color: var(--text-color);
  transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.featured-item {
  grid-column: 1;
  grid-row: 1 / 3;
  background: #ffffff;
  padding: 2rem;
  border-left: 4px solid var(--primary-color);
}

.featured-item h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.featured-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.grid-item {
  background: #ffffff;
  padding: 1.5rem;
  border-left: 4px solid var(--secondary-color);
}

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #ffffff;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3.75rem;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
}

.timeline-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.timeline-item .date {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="fade-in"].visible {
  opacity: 1;
}

[data-animate="slide-left"] {
  transform: translateX(-30px);
}

[data-animate="slide-left"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-right"] {
  transform: translateX(30px);
}

[data-animate="slide-right"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: -1px 0;
  line-height: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section-divider.flip {
  transform: scaleY(-1);
}

footer.footer-mega {
  background: var(--section-dark);
  color: #ffffff;
  padding: 4rem 2rem 2rem;
}

footer.footer-mega .footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

footer.footer-mega .footer-column h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

footer.footer-mega .footer-column li {
  margin-bottom: 0.75rem;
}

footer.footer-mega .footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

footer.footer-mega .footer-column a:hover {
  color: var(--accent-color);
}

footer.footer-mega .footer-column p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

footer.footer-mega .footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  z-index: 0;
  animation: float 8s ease-in-out infinite reverse;
}

.gradient-overlay {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.stat-highlight {
  background: var(--section-accent);
  padding: 2rem;
  border-left: 4px solid var(--accent-color);
}

.stat-highlight .number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-highlight .label {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

blockquote {
  border-left: 4px solid var(--secondary-color);
  padding-left: 2rem;
  margin: 2rem 0;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-muted);
}

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

ul.styled-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
}

ul.styled-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  line-height: 1;
}

.highlight-box {
  background: var(--primary-color);
  color: #ffffff;
  padding: 2rem;
  margin: 2rem 0;
}

.highlight-box h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.blog-feed {
  display: grid;
  gap: 2rem;
}

.blog-post-card {
  background: #ffffff;
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.blog-post-card:hover {
  transform: translateX(8px);
  border-left-color: var(--accent-color);
}

.blog-post-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-post-card .meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-post-card p {
  margin-bottom: 1rem;
}

.blog-post-card .read-more {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.faq-item {
  background: #ffffff;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateX(4px);
}

.faq-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-top: 0;
}

.faq-item.active .answer {
  max-height: 500px;
  padding-top: 1rem;
}

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

.team-member {
  background: #ffffff;
  padding: 2rem;
  text-align: center;
  border-top: 4px solid var(--primary-color);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-member .role {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.contact-info {
  background: var(--section-accent);
  padding: 2rem;
  margin-bottom: 2rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-info a {
  color: var(--primary-color);
  font-weight: 700;
}

.contact-image {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
}

.stat-spacing {
  margin-top: 1.5rem;
}

.quote-spacing {
  margin-top: 2rem;
}

.dark-section-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.featured-meta {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 1rem 0;
}

.featured-subheading {
  margin-top: 1.5rem;
  font-size: 1.375rem;
}

.button-spacing {
  margin-top: 1rem;
}

.button-spacing-inline {
  margin-top: 1rem;
  display: inline-block;
}

.dark-header {
  color: #ffffff;
}

.dark-card {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--accent-color);
}

.dark-heading {
  color: #ffffff;
}

.dark-text {
  color: rgba(255, 255, 255, 0.85);
}

.two-col-spacing {
  margin-top: 3rem;
}

.featured-quote {
  margin: 2rem 0;
}

.highlight-heading {
  margin-bottom: 1rem;
}

.cta-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

@media screen and (max-width: 1024px) {
  .navbar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .navbar.open {
    transform: translateX(0);
  }

  .mobile-menu-toggle {
    display: block;
  }

  main {
    margin-left: 0;
  }

  .two-col-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-col-layout.reverse {
    direction: ltr;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-item {
    grid-column: auto;
    grid-row: auto;
  }

  h1 {
    font-size: 3rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-item::before {
    left: -2.75rem;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero,
  .banner,
  .header-hero {
    padding: 4rem 1.5rem;
  }

  .section,
  .content-section,
  .block {
    padding: 3rem 1.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .featured-item img {
    height: 250px;
  }

  .btn,
  .button,
  .cta {
    display: block;
    width: 100%;
  }

  footer.footer-mega .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .navbar {
    width: 100%;
  }

  .mobile-menu-toggle {
    position: fixed;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    padding: 1.5rem;
  }

  .timeline-item::before {
    left: -2.25rem;
    width: 16px;
    height: 16px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero,
  .banner,
  .header-hero {
    padding: 3rem 1rem;
  }

  .section,
  .content-section,
  .block {
    padding: 2rem 1rem;
  }

  .card,
  .item,
  .feature,
  .testimonial-card {
    padding: 1.5rem;
  }

  .btn,
  .button,
  .cta {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .stat-highlight .number {
    font-size: 2rem;
  }

  .pricing-card .price {
    font-size: 2rem;
  }

  footer.footer-mega {
    padding: 3rem 1rem 1.5rem;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline::before {
    width: 2px;
  }

  .timeline-item {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .timeline-item::before {
    left: -1.75rem;
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  .team-member img {
    width: 120px;
    height: 120px;
  }
}

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