/* Base Styles */
:root {
  --primary-color: #2e7d32; /* Dark green */
  --primary-light: #4caf50;
  --primary-dark: #1b5e20;
  --secondary-color: #ff9800;
  --dark-color: #263238;
  --light-color: #f5f5f5;
  --text-color: #333;
  --text-light: #666;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  padding-top: 80px; /* Space for fixed header */
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-dark);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.navbar ul {
  display: flex;
  list-style: none;
}

.navbar ul li {
  margin-left: 25px;
}

.navbar ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: var(--secondary-color);
}

.navbar ul li a.active:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-text {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.btn-text i {
  margin-left: 5px;
  transition: var(--transition);
}

.btn-text:hover {
  color: var(--primary-dark);
}

.btn-text:hover i {
  transform: translateX(3px);
}

.menu-toggle {
  display: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 90vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  text-align: center;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
  margin-top: 5px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--light-color);
}

.bg-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.section-title {
  font-size: 36px;
  margin-bottom: 15px;
  text-align: center;
  color: inherit;
  font-weight: 600;
}

.section-subtitle {
  font-size: 18px;
  color: inherit;
  opacity: 0.8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 30px;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(46, 125, 50, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 30px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  margin-bottom: 20px;
  color: var(--text-light);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content {
  padding-right: 30px;
}

.about-content p {
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
  margin-bottom: 30px;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.feature-list i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 20px;
}

.about-cta {
  display: flex;
  gap: 20px;
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.experience-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--secondary-color);
  color: var(--white);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.experience-badge span {
  font-size: 30px;
  line-height: 1;
}

.experience-badge small {
  font-size: 12px;
  text-align: center;
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 30px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 18px;
  opacity: 0.9;
}

/* Projects Preview */
.projects-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 125, 50, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  padding: 20px;
  background-color: var(--white);
}

.project-info h3 {
  font-size: 20px;
  color: var(--primary-color);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 30px;
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: 20px;
}

.rating {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info p {
  font-style: normal;
  font-weight: 500;
  margin-bottom: 5px;
}

.author-info small {
  color: var(--text-light);
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo span {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.footer-about {
  margin-bottom: 20px;
  color: #aaa;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--secondary-color);
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #aaa;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
}

.newsletter {
  margin-top: 20px;
}

.newsletter h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--white);
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.newsletter-form button {
  padding: 0 15px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--primary-light);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid #444;
  text-align: center;
  color: #aaa;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .navbar {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: var(--primary-dark);
    transition: var(--transition);
    padding: 20px;
    z-index: 999;
  }
  
  .navbar.active {
    left: 0;
  }
  
  .navbar ul {
    flex-direction: column;
  }
  
  .navbar ul li {
    margin: 15px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .header-cta {
    display: none;
  }
  
  .mobile-cta {
    display: inline-block !important;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .about-cta {
    flex-direction: column;
    gap: 15px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 70px;
  }
  
  .header {
    padding: 10px 0;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .logo-text {
    font-size: 12px;
  }
  
  .hero {
    height: 80vh;
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-badge {
    width: 80px;
    height: 80px;
  }
  
  .experience-badge span {
    font-size: 24px;
  }
  
  .experience-badge small {
    font-size: 10px;
  }
}

/* Animation for stats counter */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number.animated {
  animation: countUp 1s ease-out forwards;
}