:root {
  --primary: #5E8B3D;
  /* Changed from yellow to green */
  --secondary: #478DAB;
  /* Blue color from the image */
  --accent: #BCD144;
  /* Light green/yellow accent */
  --dark-accent: #556B58;
  /* Darker green */
  --dark: #2e2e2e;
  --light: #ffffff;
  --font-sans: 'Roboto', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Logo in header */
.logo {
  display: block;
  padding-right: 0;
}

.logo img {
  max-width: 55px;
  /* Changed to match the height constraint */
  height: auto;
  display: block;
  transition: transform var(--transition-speed);
}

.logo:hover img {
  transform: scale(1.05);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed), opacity var(--transition-speed);
}

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

.container {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
.header {
  background: linear-gradient(to right, #ffffff, #f9f9f9);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed);
}

.header:hover {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  /* Slightly reduced padding for a more compact header */
  gap: 15px;
  /* Reduced gap between logo container and navigation */
  /* Ensure good spacing between logo and navigation */
}

.logo-container {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 10px;
  gap: 6px;
  /* Further reduced gap between logo and brand name for a tighter look */
}

.company-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: 0;
  /* Removed left margin as we're using gap */
  line-height: 1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.logo img {
  max-height: 55px;
  /* Slightly reduced for better proportion */
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.05));
  object-fit: contain;
  object-position: center;
  /* Center the logo image */
  display: block;
  /* Ensure proper block display */
  margin: 0;
  /* Remove any default margins */
}

.nav__list {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item {
  margin: 0;
  display: flex;
  align-items: center;
}

.nav__link {
  text-decoration: none;
  font-weight: 500;
  padding: 0.6rem 0.8rem;
  display: inline-block;
  position: relative;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav__link:hover {
  background-color: rgba(94, 139, 61, 0.1);
}

.nav__link[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

.nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  bottom: 0.3rem;
  width: calc(100% - 1.6rem);
  height: 2px;
  background-color: var(--primary);
}

.nav-toggle {
  display: none;
  /* Hide on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle__bar {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px 0;
  background-color: #333;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-accent) 100%);
  color: var(--light);
  text-align: center;
  padding: 5rem 0 6rem;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1);
}

.bridge-animation-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  pointer-events: none;
}

.bridge-animation {
  width: 100%;
  height: 100%;
}

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

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero__subtitle {
  margin-bottom: 2rem;
  font-size: clamp(1rem, 3vw, 1.25rem);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* About hero section styles */
.about-hero {
  padding: 6rem 0;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.about-hero__content {
  max-width: 650px;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.8s ease-out;
}

.about-hero__text {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-hero__image {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.about-hero__shape {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-accent) 100%);
  width: 100%;
  height: 90%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphing 20s linear infinite alternate,
    gradientShift 10s infinite alternate ease-in-out,
    rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  transition: all 1s ease-in-out;
  position: absolute;
  backdrop-filter: blur(5px);
  box-shadow: inset 0 0 30px rgba(94, 139, 61, 0.08);
}

.about-hero__shape--secondary {
  background-color: rgba(188, 209, 68, 0.08);
  width: 85%;
  height: 80%;
  border-radius: 50% 50% 70% 30% / 50% 50% 30% 60%;
  animation: morphing-reverse 18s linear infinite alternate,
    gradientShift 10s infinite alternate ease-in-out,
    rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  z-index: -1;
  backdrop-filter: blur(3px);
  box-shadow: inset 0 0 40px rgba(71, 141, 171, 0.06);
}

@keyframes gradientShift {
  0% {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    filter: hue-rotate(0deg);
  }

  50% {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    filter: hue-rotate(30deg);
  }

  100% {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    filter: hue-rotate(0deg);
  }
}

@keyframes rotateScale {
  0% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.08) rotate(7deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes colorPulse {
  0% {
    filter: hue-rotate(0deg);
  }

  50% {
    filter: hue-rotate(30deg);
  }

  100% {
    filter: hue-rotate(0deg);
  }
}

@keyframes colorPulseReverse {
  0% {
    filter: hue-rotate(30deg);
  }

  50% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(30deg);
  }
}

@media (max-width: 992px) {
  .about-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
  }

  .about-hero__image {
    position: absolute;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: float-tablet 8s ease-in-out infinite;
  }

  @keyframes float-tablet {
    0% {
      transform: translate(-50%, -50%) scale(1);
    }

    50% {
      transform: translate(-50%, -53%) scale(1.02);
    }

    100% {
      transform: translate(-50%, -50%) scale(1);
    }
  }

  .about-hero__content {
    max-width: 100%;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
  }

  .about-hero__shape {
    width: 100%;
    height: 100%;
    opacity: 1;
    animation: morphing 20s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  }

  .about-hero__shape--secondary {
    opacity: 0.8;
    animation: morphing-reverse 18s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 0;
  }

  .about-hero__image {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.1);
    animation: float-mobile 10s ease-in-out infinite;
    filter: contrast(1.1) brightness(1.05);
  }

  @keyframes float-mobile {
    0% {
      transform: translate(-50%, -50%) scale(1.1);
      filter: contrast(1.1) brightness(1.05);
    }

    50% {
      transform: translate(-50%, -52%) scale(1.15);
      filter: contrast(1.15) brightness(1.1);
    }

    100% {
      transform: translate(-50%, -50%) scale(1.1);
      filter: contrast(1.1) brightness(1.05);
    }
  }

  .about-hero__text {
    font-size: 1rem;
    position: relative;
    z-index: 2;
  }

  .about-hero__content {
    animation: fadeInUp 1.2s ease-out;
  }

  .about-hero__shape {
    animation: morphing 25s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
    background-color: rgba(94, 139, 61, 0.12);
    backdrop-filter: blur(8px);
  }

  .about-hero__shape--secondary {
    animation: morphing-reverse 22s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
    background-color: rgba(71, 141, 171, 0.1);
    backdrop-filter: blur(5px);
  }
}

@media (max-width: 576px) {
  .about-hero {
    padding: 3rem 0;
  }

  .about-hero__image {
    top: 50%;
    height: 100%;
    opacity: 0.12;
    animation: float-mobile-small 12s ease-in-out infinite;
    filter: contrast(1.2) brightness(1.1) saturate(1.1);
  }

  @keyframes float-mobile-small {
    0% {
      transform: translate(-50%, -50%) scale(1.15);
      filter: contrast(1.2) brightness(1.1) saturate(1.1);
    }

    50% {
      transform: translate(-50%, -51%) scale(1.2);
      filter: contrast(1.25) brightness(1.15) saturate(1.15);
    }

    100% {
      transform: translate(-50%, -50%) scale(1.15);
      filter: contrast(1.2) brightness(1.1) saturate(1.1);
    }
  }

  .about-hero__shape {
    animation: morphing 30s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  }

  .about-hero__shape--secondary {
    animation: morphing-reverse 28s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Stats card styles */
.about-hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat-card {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  border-radius: 8px;
  min-width: 160px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.stat-label {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
}

@media (max-width: 992px) {
  .about-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
  }

  .about-hero__image {
    position: absolute;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: float-tablet 8s ease-in-out infinite;
  }

  @keyframes float-tablet {
    0% {
      transform: translate(-50%, -50%) scale(1);
    }

    50% {
      transform: translate(-50%, -53%) scale(1.02);
    }

    100% {
      transform: translate(-50%, -50%) scale(1);
    }
  }

  .about-hero__content {
    max-width: 100%;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
  }

  .about-hero__shape {
    width: 100%;
    height: 100%;
    opacity: 1;
    animation: morphing 20s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  }

  .about-hero__shape--secondary {
    opacity: 0.8;
    animation: morphing-reverse 18s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 0;
  }

  .about-hero__image {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.1);
    animation: float-mobile 10s ease-in-out infinite;
    filter: contrast(1.1) brightness(1.05);
  }

  @keyframes float-mobile {
    0% {
      transform: translate(-50%, -50%) scale(1.1);
      filter: contrast(1.1) brightness(1.05);
    }

    50% {
      transform: translate(-50%, -52%) scale(1.15);
      filter: contrast(1.15) brightness(1.1);
    }

    100% {
      transform: translate(-50%, -50%) scale(1.1);
      filter: contrast(1.1) brightness(1.05);
    }
  }

  .about-hero__text {
    font-size: 1rem;
    position: relative;
    z-index: 2;
  }

  .about-hero__content {
    animation: fadeInUp 1.2s ease-out;
  }

  .about-hero__shape {
    animation: morphing 25s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
    background-color: rgba(94, 139, 61, 0.12);
    backdrop-filter: blur(8px);
  }

  .about-hero__shape--secondary {
    animation: morphing-reverse 22s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
    background-color: rgba(71, 141, 171, 0.1);
    backdrop-filter: blur(5px);
  }
}

@media (max-width: 576px) {
  .about-hero {
    padding: 3rem 0;
  }

  .about-hero__image {
    top: 50%;
    height: 100%;
    opacity: 0.12;
    animation: float-mobile-small 12s ease-in-out infinite;
    filter: contrast(1.2) brightness(1.1) saturate(1.1);
  }

  @keyframes float-mobile-small {
    0% {
      transform: translate(-50%, -50%) scale(1.15);
      filter: contrast(1.2) brightness(1.1) saturate(1.1);
    }

    50% {
      transform: translate(-50%, -51%) scale(1.2);
      filter: contrast(1.25) brightness(1.15) saturate(1.15);
    }

    100% {
      transform: translate(-50%, -50%) scale(1.15);
      filter: contrast(1.2) brightness(1.1) saturate(1.1);
    }
  }

  .about-hero__shape {
    animation: morphing 30s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  }

  .about-hero__shape--secondary {
    animation: morphing-reverse 28s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Stats card styles */
.about-hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat-card {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  border-radius: 8px;
  min-width: 160px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.stat-label {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
}

@media (max-width: 992px) {
  .about-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
  }

  .about-hero__image {
    position: absolute;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: float-tablet 8s ease-in-out infinite;
  }

  @keyframes float-tablet {
    0% {
      transform: translate(-50%, -50%) scale(1);
    }

    50% {
      transform: translate(-50%, -53%) scale(1.02);
    }

    100% {
      transform: translate(-50%, -50%) scale(1);
    }
  }

  .about-hero__content {
    max-width: 100%;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
  }

  .about-hero__shape {
    width: 100%;
    height: 100%;
    opacity: 1;
    animation: morphing 20s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  }

  .about-hero__shape--secondary {
    opacity: 0.8;
    animation: morphing-reverse 18s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 0;
  }

  .about-hero__image {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.1);
    animation: float-mobile 10s ease-in-out infinite;
    filter: contrast(1.1) brightness(1.05);
  }

  @keyframes float-mobile {
    0% {
      transform: translate(-50%, -50%) scale(1.1);
      filter: contrast(1.1) brightness(1.05);
    }

    50% {
      transform: translate(-50%, -52%) scale(1.15);
      filter: contrast(1.15) brightness(1.1);
    }

    100% {
      transform: translate(-50%, -50%) scale(1.1);
      filter: contrast(1.1) brightness(1.05);
    }
  }

  .about-hero__text {
    font-size: 1rem;
    position: relative;
    z-index: 2;
  }

  .about-hero__content {
    animation: fadeInUp 1.2s ease-out;
  }

  .about-hero__shape {
    animation: morphing 25s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
    background-color: rgba(94, 139, 61, 0.12);
    backdrop-filter: blur(8px);
  }

  .about-hero__shape--secondary {
    animation: morphing-reverse 22s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
    background-color: rgba(71, 141, 171, 0.1);
    backdrop-filter: blur(5px);
  }
}

@media (max-width: 576px) {
  .about-hero {
    padding: 3rem 0;
  }

  .about-hero__image {
    top: 50%;
    height: 100%;
    opacity: 0.12;
    animation: float-mobile-small 12s ease-in-out infinite;
    filter: contrast(1.2) brightness(1.1) saturate(1.1);
  }

  @keyframes float-mobile-small {
    0% {
      transform: translate(-50%, -50%) scale(1.15);
      filter: contrast(1.2) brightness(1.1) saturate(1.1);
    }

    50% {
      transform: translate(-50%, -51%) scale(1.2);
      filter: contrast(1.25) brightness(1.15) saturate(1.15);
    }

    100% {
      transform: translate(-50%, -50%) scale(1.15);
      filter: contrast(1.2) brightness(1.1) saturate(1.1);
    }
  }

  .about-hero__shape {
    animation: morphing 30s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  }

  .about-hero__shape--secondary {
    animation: morphing-reverse 28s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Stats card styles */
.about-hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat-card {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  border-radius: 8px;
  min-width: 160px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.stat-label {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
}

@media (max-width: 992px) {
  .about-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
  }

  .about-hero__image {
    position: absolute;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: float-tablet 8s ease-in-out infinite;
  }

  @keyframes float-tablet {
    0% {
      transform: translate(-50%, -50%) scale(1);
    }

    50% {
      transform: translate(-50%, -53%) scale(1.02);
    }

    100% {
      transform: translate(-50%, -50%) scale(1);
    }
  }

  .about-hero__content {
    max-width: 100%;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
  }

  .about-hero__shape {
    width: 100%;
    height: 100%;
    opacity: 1;
    animation: morphing 20s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  }

  .about-hero__shape--secondary {
    opacity: 0.8;
    animation: morphing-reverse 18s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 0;
  }

  .about-hero__image {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.1);
    animation: float-mobile 10s ease-in-out infinite;
    filter: contrast(1.1) brightness(1.05);
  }

  @keyframes float-mobile {
    0% {
      transform: translate(-50%, -50%) scale(1.1);
      filter: contrast(1.1) brightness(1.05);
    }

    50% {
      transform: translate(-50%, -52%) scale(1.15);
      filter: contrast(1.15) brightness(1.1);
    }

    100% {
      transform: translate(-50%, -50%) scale(1.1);
      filter: contrast(1.1) brightness(1.05);
    }
  }

  .about-hero__text {
    font-size: 1rem;
    position: relative;
    z-index: 2;
  }

  .about-hero__content {
    animation: fadeInUp 1.2s ease-out;
  }

  .about-hero__shape {
    animation: morphing 25s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
    background-color: rgba(94, 139, 61, 0.12);
    backdrop-filter: blur(8px);
  }

  .about-hero__shape--secondary {
    animation: morphing-reverse 22s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
    background-color: rgba(71, 141, 171, 0.1);
    backdrop-filter: blur(5px);
  }
}

@media (max-width: 576px) {
  .about-hero {
    padding: 3rem 0;
  }

  .about-hero__image {
    top: 50%;
    height: 100%;
    opacity: 0.12;
    animation: float-mobile-small 12s ease-in-out infinite;
    filter: contrast(1.2) brightness(1.1) saturate(1.1);
  }

  @keyframes float-mobile-small {
    0% {
      transform: translate(-50%, -50%) scale(1.15);
      filter: contrast(1.2) brightness(1.1) saturate(1.1);
    }

    50% {
      transform: translate(-50%, -51%) scale(1.2);
      filter: contrast(1.25) brightness(1.15) saturate(1.15);
    }

    100% {
      transform: translate(-50%, -50%) scale(1.15);
      filter: contrast(1.2) brightness(1.1) saturate(1.1);
    }
  }

  .about-hero__shape {
    animation: morphing 30s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  }

  .about-hero__shape--secondary {
    animation: morphing-reverse 28s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Stats card styles */
.about-hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat-card {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  border-radius: 8px;
  min-width: 160px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.stat-label {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
}

@media (max-width: 992px) {
  .about-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
  }

  .about-hero__image {
    position: absolute;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: float-tablet 8s ease-in-out infinite;
  }

  @keyframes float-tablet {
    0% {
      transform: translate(-50%, -50%) scale(1);
    }

    50% {
      transform: translate(-50%, -53%) scale(1.02);
    }

    100% {
      transform: translate(-50%, -50%) scale(1);
    }
  }

  .about-hero__content {
    max-width: 100%;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
  }

  .about-hero__shape {
    width: 100%;
    height: 100%;
    opacity: 1;
    animation: morphing 20s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  }

  .about-hero__shape--secondary {
    opacity: 0.8;
    animation: morphing-reverse 18s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 0;
  }

  .about-hero__image {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.1);
    animation: float-mobile 10s ease-in-out infinite;
    filter: contrast(1.1) brightness(1.05);
  }

  @keyframes float-mobile {
    0% {
      transform: translate(-50%, -50%) scale(1.1);
      filter: contrast(1.1) brightness(1.05);
    }

    50% {
      transform: translate(-50%, -52%) scale(1.15);
      filter: contrast(1.15) brightness(1.1);
    }

    100% {
      transform: translate(-50%, -50%) scale(1.1);
      filter: contrast(1.1) brightness(1.05);
    }
  }

  .about-hero__text {
    font-size: 1rem;
    position: relative;
    z-index: 2;
  }

  .about-hero__content {
    animation: fadeInUp 1.2s ease-out;
  }

  .about-hero__shape {
    animation: morphing 25s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
    background-color: rgba(94, 139, 61, 0.12);
    backdrop-filter: blur(8px);
  }

  .about-hero__shape--secondary {
    animation: morphing-reverse 22s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
    background-color: rgba(71, 141, 171, 0.1);
    backdrop-filter: blur(5px);
  }
}

@media (max-width: 576px) {
  .about-hero {
    padding: 3rem 0;
  }

  .about-hero__image {
    top: 50%;
    height: 100%;
    opacity: 0.12;
    animation: float-mobile-small 12s ease-in-out infinite;
    filter: contrast(1.2) brightness(1.1) saturate(1.1);
  }

  @keyframes float-mobile-small {
    0% {
      transform: translate(-50%, -50%) scale(1.15);
      filter: contrast(1.2) brightness(1.1) saturate(1.1);
    }

    50% {
      transform: translate(-50%, -51%) scale(1.2);
      filter: contrast(1.25) brightness(1.15) saturate(1.15);
    }

    100% {
      transform: translate(-50%, -50%) scale(1.15);
      filter: contrast(1.2) brightness(1.1) saturate(1.1);
    }
  }

  .about-hero__shape {
    animation: morphing 30s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite, colorPulse 14s ease-in-out infinite;
  }

  .about-hero__shape--secondary {
    animation: morphing-reverse 28s linear infinite alternate,
      gradientShift 10s infinite alternate ease-in-out,
      rotateScale 12s ease-in-out infinite reverse, colorPulseReverse 14s ease-in-out infinite;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--light);
  padding: 0.85rem 1.85rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all var(--transition-speed);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn:hover {
  opacity: 0.95;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--light);
  background: var(--dark-accent);
  border-color: var(--dark-accent);
}

.btn:active {
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.85rem 2.5rem;
  /* Increased horizontal padding */
}

/* Button container styles */
.center {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Section styling */
section {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0.5rem auto 0;
  box-shadow: 0 2px 5px rgba(94, 139, 61, 0.2);
}

/* Products page specific styles */
.products-intro {
  background-color: #f9f9f9;
  padding: 3rem 0;
  margin-bottom: 3rem;
  text-align: center;
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
  opacity: 0.8;
  text-align: center;
}

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

.product-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 2rem;
  transition: all var(--transition-speed);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary);
  opacity: 0.7;
  transition: width var(--transition-speed), background-color var(--transition-speed);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-card:hover::before {
  width: 10px;
  background-color: var(--dark-accent);
}

.product-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 1rem 0;
  color: var(--dark);
}

.product-card__icon {
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.product-card__details ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.product-card__details li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.product-card__details p {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Specialized Systems */
.specialized-services-title {
  margin-top: 4rem;
}

.specialized-systems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.specialized-card {
  background: var(--light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--primary);
}

.specialized-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--secondary);
}

.specialized-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  padding-right: 3.5rem;
  /* Make space for the icon */
}

.specialized-card__icon {
  color: var(--primary);
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.specialized-card:hover .specialized-card__icon {
  color: var(--secondary);
}

.specialized-card__details ul {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.specialized-card__details li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .specialized-systems {
    grid-template-columns: 1fr;
  }

  .specialized-card h3 {
    padding-right: 3rem;
    font-size: 1.2rem;
  }

  .specialized-card__icon svg {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .specialized-card {
    padding-top: 4rem;
    padding-bottom: 1.5rem;
  }

  .specialized-card__icon {
    top: 1.5rem;
    left: 2rem;
    right: auto;
  }

  .specialized-card h3 {
    padding-right: 0;
    padding-top: 2rem;
    padding-left: 0;
    text-align: center;
  }
}

.products-cta {
  background-color: #f9f9f9;
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.products-cta p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.products-cta .btn {
  padding: 0.85rem 2.5rem;
}

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

.card {
  background: var(--light);
  border: 1px solid #eee;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all var(--transition-speed);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card h3 {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

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

/* Make cards clickable with a subtle animation */
.card-link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
}

.card-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition-speed);
  z-index: -1;
}

.card-link:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(1.02);
  color: var(--dark);
  border-top-color: var(--primary);
}

.card-link:hover::before {
  opacity: 0.05;
}

/* Accordion styling & animation */
.accordion__item {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-speed);
}

.accordion__item:hover {
  box-shadow: var(--shadow-md);
}

.accordion__header {
  padding: 1.25rem;
  cursor: pointer;
  font-family: var(--font-heading);
  background: #f7f7f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-speed);
  position: relative;
}

.accordion__header::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform var(--transition-speed);
}

.accordion__item.open .accordion__header {
  background-color: #f0f0f0;
}

.accordion__item.open .accordion__header::after {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s, padding 0.4s;
  padding: 0 1.25rem;
}

.accordion__item.open .accordion__body {
  max-height: 500px;
  opacity: 1;
  padding: 1.25rem;
}

/* Why Choose Us Section */
.why {
  background-color: #f9f9f9;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.why-choose-card {
  background-color: var(--light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed);
}

.why-choose-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.why-choose-card h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.why-choose-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

.why-choose-footer {
  text-align: center;
  font-style: italic;
  max-width: 800px;
  margin: 2rem auto 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
}

/* Features list & checklist */
.checklist {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  animation: slideInRight 0.5s ease-out both;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✔";
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
}

.checklist li:nth-child(1) {
  animation-delay: 0.1s;
}

.checklist li:nth-child(2) {
  animation-delay: 0.2s;
}

.checklist li:nth-child(3) {
  animation-delay: 0.3s;
}

.checklist li:nth-child(4) {
  animation-delay: 0.4s;
}

@media (max-width: 768px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--light);
  padding: 3rem 0 1.5rem;
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  padding-top: 6rem;
  position: relative;
  margin-top: 2rem;
  display: block;
  /* Ensure it's a block element */
  width: 100%;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 2rem;
}

.footer__inner:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer__col {
  flex: 1 1 250px;
  opacity: 1;
  /* Default to visible */
  transform: translateY(0);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  min-width: 250px;
  /* Ensure minimum width for small screens */
}

/* Only apply animations if JS is enabled */
.js-enabled .footer__col {
  opacity: 0.5;
  /* Semi-visible by default */
  transform: translateY(10px);
  /* Smaller transformation to be less jarring */
}

.js-enabled .footer__col.animated {
  opacity: 1;
  transform: translateY(0);
}

.footer__logo {
  width: 120px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer h4 {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 1px 3px rgba(94, 139, 61, 0.2);
}

.footer a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Enhanced Social Icons */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 50%;
  z-index: -1;
}

.social-icon:hover {
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(94, 139, 61, 0.4);
}

.social-icon:hover:before {
  transform: scale(1);
}

.social-icon svg {
  position: relative;
  z-index: 1;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links a {
  display: inline-block;
  position: relative;
  padding-left: 15px;
  transition: all 0.3s ease;
}

.footer-links a:before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links a:hover:before {
  transform: translateX(3px);
  opacity: 1;
  color: var(--primary);
}

.footer-links a[aria-current="page"] {
  color: var(--primary);
  font-weight: 500;
}

.footer-links a[aria-current="page"]:before {
  transform: translateX(3px) scale(1.2);
}

/* Footer address with icons */
.footer-address {
  font-style: normal;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--secondary);
  filter: drop-shadow(0 2px 3px rgba(71, 141, 171, 0.3));
}

.contact-item p {
  margin: 0;
}

.contact-item div p {
  margin-bottom: 0.5rem;
}

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

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 80px;
  width: 40px;
  height: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.5s ease-out;
  transform: translateY(30px);
  z-index: 90;
}

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

.back-to-top.animated {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-accent) 100%);
  border-radius: 50%;
  color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.back-to-top a:hover {
  background: linear-gradient(135deg, var(--dark-accent) 0%, var(--primary) 100%);
  color: var(--light);
  transform: translateY(-5px);
}

/* Enhanced WhatsApp button */
.whatsapp-btn {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(94, 139, 61, 0.4);
  z-index: 99;
  transition: all 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  /* Ensure no text decoration */
}

.whatsapp-btn: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: all 0.6s ease;
}

.whatsapp-btn span {
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.whatsapp-btn svg {
  position: relative;
  z-index: 1;
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(94, 139, 61, 0.5);
  color: #fff;
  background-color: var(--dark-accent);
}

.whatsapp-btn:hover svg {
  color: #fff;
  /* Ensure the SVG stays white on hover */
  fill: #fff;
  /* Added for better compatibility */
}

.whatsapp-btn:hover:before {
  left: 100%;
}

/* Responsive styles for footer */
@media (max-width: 768px) {
  .footer__col {
    flex: 1 1 100%;
  }

  .back-to-top {
    right: 20px;
  }

  .whatsapp-btn {
    right: 15px;
    bottom: 15px;
  }
}

/* WhatsApp button mobile styles */
@media (max-width: 576px) {
  .footer {
    padding-top: 5rem;
  }

  .whatsapp-btn span {
    display: none;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
}

/* Newsletter Form */
.newsletter-form {
  margin-top: 1rem;
}

.newsletter-form .form-group {
  display: flex;
  margin-bottom: 0.5rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px 0 0 4px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  font-family: var(--font-sans);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(94, 139, 61, 0.5);
}

.newsletter-form .btn-newsletter {
  border-radius: 0 4px 4px 0;
  background-color: var(--primary);
  color: var(--light);
  font-weight: 500;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form .btn-newsletter:hover {
  background-color: var(--dark-accent);
  transform: translateY(-2px);
}

.newsletter-form .form-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 576px) {
  .newsletter-form .form-group {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    border-radius: 4px;
    margin-bottom: 8px;
  }

  .newsletter-form .btn-newsletter {
    border-radius: 4px;
    width: 100%;
  }
}

/* Animation classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* Animation for SVG elements */
@keyframes fadeInDot {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes drawLine {
  from {
    stroke-dashoffset: 100%;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.pulse {
  animation: pulse 1s ease-in-out;
}

/* Media Queries */
@media (max-width: 1200px) {
  section {
    padding: 3rem 0;
  }

  .grid {
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 4rem 0 5rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
  }
}

@media (max-width: 768px) {

  /* Header specific styles for mobile */
  .header__inner {
    padding: 0.6rem 0;
  }

  .logo-container {
    margin-right: -5px;
  }

  .logo img {
    max-height: 55px;
    max-width: 160px;
  }

  /* Mobile menu backdrop */
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    z-index: 999;
  }

  body.nav-open::after {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 2rem 1rem;
    overflow-y: auto;
  }

  .nav--active {
    transform: translateX(0) !important;
    /* Force the drawer to be visible */
    display: block !important;
    /* Ensure the nav is displayed */
    z-index: 1001;
    /* Make sure it's above other elements */
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    padding-top: 2rem;
    width: 100%;
    /* Ensure list takes full width of nav */
  }

  .nav__item {
    margin: 0;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 1rem 0.5rem;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }

  body.nav-open {
    overflow: hidden;
  }

  /* Transform hamburger to X when menu is open */
  [aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  [aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  [aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

@media (max-width: 576px) {

  /* Smaller mobile adjustments */
  .header__inner {
    padding: 0.5rem 0;
  }

  .logo-container {
    margin-right: 0;
  }

  .logo img {
    max-height: 48px;
    max-width: 140px;
    padding-right: 0;
  }

  section {
    padding: 2.5rem 0;
  }

  .hero {
    padding: 3rem 0 4rem;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .card {
    padding: 1.5rem;
  }

  .footer {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    padding-top: 4rem;
  }

  .footer__inner {
    gap: 2rem;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
}

/* Core Values Section */
.values-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.values-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.values-intro {
  max-width: 800px;
  margin: 0 auto 1rem;
  text-align: center;
}

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

.value-card {
  background-color: var(--light);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-top: 3px solid transparent;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-card:nth-child(1) {
  border-top-color: var(--primary);
}

.value-card:nth-child(2) {
  border-top-color: var(--secondary);
}

.value-card:nth-child(3) {
  border-top-color: var(--accent);
}

.value-card:nth-child(4) {
  border-top-color: var(--dark-accent);
}

.value-card:nth-child(5) {
  border-top-color: #6A8D73;
}

.value-card:nth-child(6) {
  border-top-color: #9C27B0;
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(94, 139, 61, 0.1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.value-card:nth-child(1) .value-card__icon {
  background-color: rgba(94, 139, 61, 0.1);
}

.value-card:nth-child(2) .value-card__icon {
  background-color: rgba(71, 141, 171, 0.1);
}

.value-card:nth-child(3) .value-card__icon {
  background-color: rgba(188, 209, 68, 0.1);
}

.value-card:nth-child(4) .value-card__icon {
  background-color: rgba(85, 107, 88, 0.1);
}

.value-card:nth-child(5) .value-card__icon {
  background-color: rgba(106, 141, 115, 0.1);
}

.value-card:nth-child(6) .value-card__icon {
  background-color: rgba(156, 39, 176, 0.1);
}

.value-card__icon svg {
  color: var(--primary);
}

.value-card:nth-child(1) .value-card__icon svg {
  color: var(--primary);
}

.value-card:nth-child(2) .value-card__icon svg {
  color: var(--secondary);
}

.value-card:nth-child(3) .value-card__icon svg {
  color: var(--accent);
}

.value-card:nth-child(4) .value-card__icon svg {
  color: var(--dark-accent);
}

.value-card:nth-child(5) .value-card__icon svg {
  color: #6A8D73;
}

.value-card:nth-child(6) .value-card__icon svg {
  color: #9C27B0;
}

.value-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
  color: var(--dark);
  font-size: 1.25rem;
}

.value-card p {
  color: #555;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.value-card__tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background-color: rgba(94, 139, 61, 0.1);
  color: var(--primary);
  margin-top: auto;
}

.value-card:nth-child(1) .value-card__tag {
  background-color: rgba(94, 139, 61, 0.1);
  color: var(--primary);
}

.value-card:nth-child(2) .value-card__tag {
  background-color: rgba(71, 141, 171, 0.1);
  color: var(--secondary);
}

.value-card:nth-child(3) .value-card__tag {
  background-color: rgba(188, 209, 68, 0.1);
  color: #7A8B32;
}

.value-card:nth-child(4) .value-card__tag {
  background-color: rgba(85, 107, 88, 0.1);
  color: var(--dark-accent);
}

.value-card:nth-child(5) .value-card__tag {
  background-color: rgba(106, 141, 115, 0.1);
  color: #6A8D73;
}

.value-card:nth-child(6) .value-card__tag {
  background-color: rgba(156, 39, 176, 0.1);
  color: #9C27B0;
}

.values-cta {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Contact Section */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom right, #f8f8f8, #ffffff);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(94, 139, 61, 0.05);
  z-index: 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.contact-intro {
  margin-bottom: 2rem;
}

.contact-intro p {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

.highlight-icon {
  font-size: 1.25rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(94, 139, 61, 0.1);
  color: var(--primary);
}

.contact-item h4 {
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.contact-item p,
.contact-item address {
  font-style: normal;
  color: #555;
  line-height: 1.6;
}

.contact-item a {
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.contact-cta p {
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: #fff;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

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

.form-header h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 1.5rem;
}

.form-header p {
  color: #555;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form label {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(94, 139, 61, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn--primary:hover {
  background-color: #4d7431;
  color: white;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-highlights {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Enhanced Mission Vision Section */
.mission-vision {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #f9f9f9, #ffffff);
  position: relative;
  overflow: hidden;
}

.mission-vision::before {
  content: '';
  position: absolute;
  right: -5%;
  top: 20%;
  width: 300px;
  height: 300px;
  background-color: rgba(94, 139, 61, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.mission-vision__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.mission-vision__intro {
  max-width: 800px;
  margin: 0 auto 1rem;
  text-align: center;
}

.mission-vision__intro p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #555;
}

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

.mission-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.mission-card__icon {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.5rem;
}

.mission-card__icon svg {
  color: var(--primary);
}

.mission-card:nth-child(2) .mission-card__icon svg {
  color: var(--secondary);
}

.mission-card__content {
  flex: 1;
}

.mission-card h2 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.5rem;
}

.mission-card p {
  color: #555;
  margin-bottom: 1rem;
}

.mission-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mission-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

.mission-point__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mission-vision__cta {
  margin-top: 1.5rem;
  text-align: center;
}

.mission-vision__cta p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

@media (max-width: 992px) {
  .mission-vision__grid {
    grid-template-columns: 1fr;
  }

  .mission-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .mission-card__icon {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .mission-vision {
    padding: 4rem 0;
  }
}

/* Enhanced Target Sectors Section */
.target-sectors-section {
  padding: 5rem 0;
  background-color: #ffffff;
  position: relative;
}

.sector-intro {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.sector-intro p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #555;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.sector-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.sector-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary);
  transition: height 0.3s ease;
}

.sector-card:nth-child(2)::after {
  background-color: var(--secondary);
}

.sector-card:nth-child(3)::after {
  background-color: var(--accent);
}

.sector-card:nth-child(4)::after {
  background-color: var(--dark-accent);
}

.sector-card:nth-child(5)::after {
  background-color: #6A8D73;
}

.sector-card:nth-child(6)::after {
  background-color: #9C27B0;
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sector-card:hover::after {
  height: 8px;
}

.sector-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(94, 139, 61, 0.1);
  margin-bottom: 1.5rem;
}

.sector-card:nth-child(1) .sector-card__icon {
  background-color: rgba(94, 139, 61, 0.1);
}

.sector-card:nth-child(1) .sector-card__icon svg {
  color: var(--primary);
}

.sector-card:nth-child(2) .sector-card__icon {
  background-color: rgba(71, 141, 171, 0.1);
}

.sector-card:nth-child(2) .sector-card__icon svg {
  color: var(--secondary);
}

.sector-card:nth-child(3) .sector-card__icon {
  background-color: rgba(188, 209, 68, 0.1);
}

.sector-card:nth-child(3) .sector-card__icon svg {
  color: var(--accent);
}

.sector-card:nth-child(4) .sector-card__icon {
  background-color: rgba(85, 107, 88, 0.1);
}

.sector-card:nth-child(4) .sector-card__icon svg {
  color: var(--dark-accent);
}

.sector-card:nth-child(5) .sector-card__icon {
  background-color: rgba(106, 141, 115, 0.1);
}

.sector-card:nth-child(5) .sector-card__icon svg {
  color: #6A8D73;
}

.sector-card:nth-child(6) .sector-card__icon {
  background-color: rgba(156, 39, 176, 0.1);
}

.sector-card:nth-child(6) .sector-card__icon svg {
  color: #9C27B0;
}

.sector-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.sector-card p {
  color: #555;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.sector-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background-color: rgba(94, 139, 61, 0.1);
  color: var(--primary);
  margin-top: auto;
}

.sector-card:nth-child(1) .sector-tag {
  background-color: rgba(94, 139, 61, 0.1);
  color: var(--primary);
}

.sector-card:nth-child(2) .sector-tag {
  background-color: rgba(71, 141, 171, 0.1);
  color: var(--secondary);
}

.sector-card:nth-child(3) .sector-tag {
  background-color: rgba(188, 209, 68, 0.1);
  color: #7A8B32;
}

.sector-card:nth-child(4) .sector-tag {
  background-color: rgba(85, 107, 88, 0.1);
  color: var(--dark-accent);
}

.sector-card:nth-child(5) .sector-tag {
  background-color: rgba(106, 141, 115, 0.1);
  color: #6A8D73;
}

.sector-card:nth-child(6) .sector-tag {
  background-color: rgba(156, 39, 176, 0.1);
  color: #9C27B0;
}

@media (max-width: 992px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .sector-card {
    padding: 1.5rem;
  }
}

/* Enhanced What Sets Us Apart Section */
.what-sets-us-apart {
  padding: 5rem 0;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.what-sets-us-apart::before {
  content: '';
  position: absolute;
  left: -5%;
  bottom: -5%;
  width: 300px;
  height: 300px;
  background-color: rgba(71, 141, 171, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.advantages-intro {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.advantages-intro p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #555;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.advantage-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.advantage-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(94, 139, 61, 0.1);
  margin-bottom: 1.5rem;
}

.advantage-card:nth-child(1) .advantage-card__icon {
  background-color: rgba(94, 139, 61, 0.1);
}

.advantage-card:nth-child(1) .advantage-card__icon svg {
  color: var(--primary);
}

.advantage-card:nth-child(2) .advantage-card__icon {
  background-color: rgba(71, 141, 171, 0.1);
}

.advantage-card:nth-child(2) .advantage-card__icon svg {
  color: var(--secondary);
}

.advantage-card:nth-child(3) .advantage-card__icon {
  background-color: rgba(188, 209, 68, 0.1);
}

.advantage-card:nth-child(3) .advantage-card__icon svg {
  color: var(--accent);
}

.advantage-card:nth-child(4) .advantage-card__icon {
  background-color: rgba(85, 107, 88, 0.1);
}

.advantage-card:nth-child(4) .advantage-card__icon svg {
  color: var(--dark-accent);
}

.advantage-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background-color: rgba(94, 139, 61, 0.1);
  color: var(--primary);
}

.advantage-card:nth-child(1) .advantage-card__badge {
  background-color: rgba(94, 139, 61, 0.1);
  color: var(--primary);
}

.advantage-card:nth-child(2) .advantage-card__badge {
  background-color: rgba(71, 141, 171, 0.1);
  color: var(--secondary);
}

.advantage-card:nth-child(3) .advantage-card__badge {
  background-color: rgba(188, 209, 68, 0.1);
  color: #7A8B32;
}

.advantage-card:nth-child(4) .advantage-card__badge {
  background-color: rgba(85, 107, 88, 0.1);
  color: var(--dark-accent);
}

.advantage-card h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.advantage-card p {
  color: #555;
  margin-bottom: 1rem;
}

.advantage-list {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.advantage-list li {
  margin-bottom: 0.5rem;
  color: #555;
  line-height: 1.5;
}

.advantage-list li:last-child {
  margin-bottom: 0;
}

.advantages-cta {
  margin-top: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.advantages-cta p {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--dark);
}

/* Styles for legal pages (Privacy Policy, Terms of Service) */
.legal-page {
  padding: 5rem 0;
  position: relative;
  background: linear-gradient(to bottom, #f9f9f9 0%, #ffffff 100%);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235e8b3d' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 0v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 1rem;
  text-align: center;
  color: var(--primary);
  position: relative;
}

.legal-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--secondary);
  margin: 0.75rem auto 0;
  box-shadow: 0 2px 5px rgba(71, 141, 171, 0.2);
}

.legal-updated {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 3rem;
  font-style: italic;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-intro {
  background-color: rgba(94, 139, 61, 0.05);
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary);
}

.legal-intro p {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark);
}

/* Add subtle hover effect to legal sections */
.legal-section {
  transition: transform 0.3s ease;
  padding: 0.5rem;
  border-radius: 6px;
}

.legal-section:hover {
  transform: translateX(5px);
  background-color: rgba(94, 139, 61, 0.02);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--dark-accent);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(94, 139, 61, 0.2);
  position: relative;
}

.legal-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.legal-section p,
.legal-section ul {
  margin-bottom: 1rem;
  color: #444;
  line-height: 1.7;
}

.legal-section ul {
  padding-left: 1.5rem;
  list-style-type: square;
}

.legal-section li {
  margin-bottom: 0.75rem;
  position: relative;
}

.legal-section strong {
  color: var(--dark);
  font-weight: 600;
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

/* Table of Contents for Legal Pages */
.legal-toc {
  background-color: rgba(94, 139, 61, 0.03);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(94, 139, 61, 0.1);
}

.legal-toc h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--dark-accent);
  display: flex;
  align-items: center;
}

.legal-toc h3::before {
  content: "📑";
  margin-right: 8px;
  font-size: 1.4rem;
}

.legal-toc ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
  columns: 2;
}

.legal-toc li {
  margin-bottom: 0.75rem;
  break-inside: avoid;
  display: flex;
  align-items: baseline;
}

.legal-toc li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  margin-right: 8px;
}

.legal-toc a {
  color: var(--dark);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}

.legal-toc a:hover {
  color: var(--primary);
}

.legal-toc a:hover::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
  transform: scaleX(1);
}

@media (max-width: 576px) {
  .legal-toc ul {
    columns: 1;
  }
}

/* Print styles for legal pages */
@media print {

  /* Hide navigation, footer and other non-essential elements */
  .header,
  .footer,
  .nav-toggle,
  .whatsapp-btn,
  .legal-back-to-top,
  .back-to-top {
    display: none !important;
  }

  /* Reset page margins and background */
  body {
    background: white;
    color: black;
    margin: 0;
    padding: 0;
    font-size: 12pt;
  }

  /* Ensure legal page takes full width and has no background images/colors */
  .legal-page {
    padding: 0;
    background: none !important;
    background-image: none !important;
  }

  .legal-page::before {
    display: none;
  }

  /* Adjust container width for print */
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  /* Adjust legal content styling for print */
  .legal-content {
    max-width: 100%;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
  }

  /* Improve headings for print */
  .legal-title {
    font-size: 18pt;
    margin-bottom: 0.5cm;
  }

  .legal-section h2 {
    font-size: 14pt;
    page-break-after: avoid;
  }

  /* Hide table of contents in print */
  .legal-toc {
    display: none !important;
  }

  /* Ensure URLs are printed after links */
  .legal-content a::after {
    content: " (" attr(href) ")";
    font-size: 90%;
    font-style: italic;
  }

  /* Avoid page breaks inside sections and paragraphs */
  .legal-section {
    page-break-inside: avoid;
    margin-bottom: 1cm;
  }

  p,
  li {
    page-break-inside: avoid;
  }

  /* Prevent orphans and widows */
  p {
    orphans: 3;
    widows: 3;
  }

  /* Add company info at the top of the printed document */
  .legal-intro::before {
    content: "LinkUp Tech - Official Document";
    display: block;
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5cm;
    font-family: var(--font-heading);
  }
}

/* Mobile responsive styling for legal pages */
@media (max-width: 768px) {
  .legal-page {
    padding: 4rem 0 5rem;
  }

  .legal-content {
    padding: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.3rem;
  }

  .legal-section h2::before {
    width: 40px;
  }

  .legal-back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .legal-page {
    padding: 3rem 0 5rem;
  }

  .legal-content {
    padding: 1.25rem;
  }

  .legal-section {
    margin-bottom: 2rem;
  }

  .legal-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .legal-title {
    font-size: 1.8rem;
  }

  .legal-intro {
    padding: 1.25rem;
  }

  /* Make legal table of contents single column on mobile */
  .legal-toc {
    padding: 1.25rem;
  }

  /* Adjust back to top button positioning */
  .legal-back-to-top {
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
  }
}

/* Smooth scroll behavior for legal page section navigation */
.legal-section {
  scroll-margin-top: 100px;
  /* Add some space when scrolling to a section */
  transition: background-color 0.5s ease, transform 0.3s ease;
}

/* Add a subtle highlight effect when a section is targeted by anchor */
.legal-section:target {
  animation: highlight-section 2s ease;
}

@keyframes highlight-section {
  0% {
    background-color: rgba(94, 139, 61, 0.1);
  }

  100% {
    background-color: transparent;
  }
}

/* Add animation when legal page loads */
@keyframes fadeInSection {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.legal-title,
.legal-updated,
.legal-intro,
.legal-toc,
.legal-section {
  animation: fadeInSection 0.8s ease-out forwards;
}

.legal-updated {
  animation-delay: 0.2s;
}

.legal-intro {
  animation-delay: 0.4s;
}

.legal-toc {
  animation-delay: 0.6s;
}

.legal-section:nth-child(1) {
  animation-delay: 0.8s;
}

.legal-section:nth-child(2) {
  animation-delay: 1s;
}

.legal-section:nth-child(3) {
  animation-delay: 1.2s;
}

.legal-section:nth-child(4) {
  animation-delay: 1.4s;
}

.legal-section:nth-child(5) {
  animation-delay: 1.6s;
}

.legal-section:nth-child(6) {
  animation-delay: 1.8s;
}

/* Footer design credit */
.developer-credit {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.developer-credit a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.developer-credit a:hover {
  color: var(--accent);
  text-decoration: underline;
}