/* 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;
  position: relative;
}

.navbar ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  padding: 5px 0;
}

.navbar ul li a:before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.navbar ul li a:hover:before,
.navbar ul li a.active:before {
  width: 100%;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  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);
  transform: translateY(-2px);
}

.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);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle:hover {
  color: var(--secondary-color);
}

/* Page Banner */
.page-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  margin-bottom: 60px;
}

.page-banner h1 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-banner p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Projects Filters */
.projects-filters {
  padding: 30px 0;
  position: sticky;
  top: 80px;
  z-index: 999;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filters-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 30px;
  background-color: var(--light-color);
  color: var(--text-color);
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Projects Grid */
.projects-grid {
  padding: 60px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-item {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-item: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-item:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 125, 50, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-overlay i {
  color: var(--white);
  font-size: 40px;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.project-info p {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 15px;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background-color: var(--light-color);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* 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;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--light-color);
}

.section-title {
  font-size: 36px;
  margin-bottom: 15px;
  text-align: center;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 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 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.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;
}

/* Lightbox Overrides */
.lb-data .lb-close {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>') no-repeat center center;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
  opacity: 1;
  background: rgba(46, 125, 50, 0.8);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-nav a.lb-prev:after,
.lb-nav a.lb-next:after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"/></svg>') no-repeat center center;
}

.lb-nav a.lb-next:after {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>') no-repeat center center;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .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) {
  .page-banner h1 {
    font-size: 32px;
  }
  
  .page-banner p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .filters-container {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 100%;
    text-align: center;
  }
  
  .cta-content h2 {
    font-size: 30px;
  }
  
  .cta-content p {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 70px;
  }
  
  .header {
    padding: 10px 0;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .logo-text {
    font-size: 12px;
  }
  
  .page-banner {
    height: 250px;
    margin-bottom: 40px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .project-image {
    height: 200px;
  }
}