/* refined design tokens - Restored Original Branding */
:root {
  /* Original Alcadent Colors */
  --color-primary: rgb(52, 113, 85);
  /* Main Green */
  --color-primary-dark: rgb(40, 90, 68);
  /* Darker Green for hover */
  --color-secondary: rgb(240, 248, 245);
  /* Light Green Tint Backgrounds */
  --color-text: rgb(82, 114, 130);
  --color-heading: #2c3e50;
  --color-white: #ffffff;
  --color-light-gray: #f8f9fa;
  --color-border: #e9ecef;

  --font-main: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

  --container-width: 1200px;
  --header-height: 80px;
  --border-radius: 12px;
}

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

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
  /* Prevent horizontal scroll from animations */
}

h1,
h2,
h3,
h4 {
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Initial hidden state for animated elements */
.service-card,
.hero-content,
.hero-image,
.section-title-bar,
.info-column,
.contact-column {
  opacity: 0;
  /* JS will add .animate-in */
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(52, 113, 85, 0.2);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn:active::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }

  20% {
    transform: scale(25, 25);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(52, 113, 85, 0.3);
}

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

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

/* Header */
header {
  height: var(--header-height);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--color-heading);
  font-weight: 600;
}

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

.header-contact {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 500;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--color-text);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image .image-placeholder {
  background-color: #e8f5e9;
  height: 400px;
  width: 100%;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.hero-image .image-placeholder:hover {
  transform: scale(1.02);
}

.cloud {
  background: white;
  width: 100px;
  height: 40px;
  border-radius: 20px;
  position: absolute;
  top: 50px;
  right: 50px;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.landscape {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: var(--color-primary);
  opacity: 0.2;
  border-radius: 50% 50% 0 0 / 20% 20% 0 0;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.section-title-bar {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-bar h2 {
  font-size: 2.5rem;
  color: var(--color-heading);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

/* Info & Contact Form Section */
.info-contact-section {
  padding: 80px 0;
  background-color: var(--color-secondary);
}

.info-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.info-column h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact-column {
  background: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.contact-column h3 {
  margin-bottom: 20px;
  text-align: center;
}

.simple-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.simple-form input,
.simple-form textarea {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.simple-form input:focus,
.simple-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.section-center-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-heading);
  margin-bottom: 40px;
}

.testimonials-placeholder {
  min-height: 200px;
  background-color: var(--color-light-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* FAQs Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 16px;
  background: white;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

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

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-heading);
  transition: background-color 0.2s;
  background: white;
}

.faq-question:hover {
  background-color: var(--color-secondary);
}

.faq-icon {
  color: var(--color-primary);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: var(--color-white);
  padding: 0 24px;
  /* remove vertical padding initially */
}

.faq-item.active .faq-answer {
  /* padding added via transition if needed, but easier to keep px in inner div */
  padding-bottom: 20px;
  border-top: 1px solid var(--color-border);
}

/* Footer */
.footer-new {
  background-color: #347155;
  color: #ecf0f1;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo-area h2 {
  color: var(--color-white);
  font-size: 2rem;
}

.footer-links-area h3,
.footer-contact-area h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links-area ul li {
  margin-bottom: 10px;
}

.footer-links-area a {
  color: #bdc3c7;
}

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

.small-note {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 10px;
}

.address-box {
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-wrapper {
    flex-wrap: wrap;
  }

  .nav-links,
  .header-contact {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-container,
  .info-contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
    margin-bottom: 30px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  /* Mobile Menu Styles */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 80px;
    /* Header height */
    left: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    align-items: center;
    gap: 20px;
    border-top: 1px solid #eee;
  }
}