/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #1a5d1a;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #2e8b57;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 20px auto 0;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: #2e8b57;
  color: white;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.cta-button:hover {
  background: #1a5d1a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== HEADER STYLES ===== */
.header-top {
  background: #1a5d1a;
  color: white;
  padding: 8px 0;
  font-size: 0.9rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  font-size: 1rem;
  transition: transform 0.3s;
}

.social-links a:hover {
  transform: translateY(-3px);
  color: #b8e994;
}

.contact-info span {
  margin-left: 20px;
}

.contact-info i {
  margin-right: 5px;
}

.header-main {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 60px;
}

.nav ul {
  display: flex;
}

.nav li {
  margin: 0 15px;
}

.nav a {
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #2e8b57;
  transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: #2e8b57;
}

.language-switcher button {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  font-weight: 600;
  padding: 5px;
}

.language-switcher button[aria-pressed="true"] {
  color: #2e8b57;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
              url('https://images.unsplash.com/photo-1518998053901-5348d3961a04?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1374&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
}

.slide-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 40px 30px;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: #2e8b57;
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1a5d1a;
}

.service-card p {
  color: #666;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  background: #e8f5e9;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  color: #1a5d1a;
}

.filter-btn:hover,
.filter-btn.active {
  background: #2e8b57;
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.portfolio-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 121, 64, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 20px;
  text-align: center;
  color: white;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.overlay-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.overlay-content p {
  margin-bottom: 20px;
}

.portfolio-link {
  display: inline-block;
  padding: 8px 20px;
  background: white;
  color: #2e8b57;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s;
}

.portfolio-link:hover {
  background: #1a5d1a;
  color: white;
}

/* ===== TESTIMONIALS SECTION ===== */
#testimonials {
  background: #f8f9fa;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  display: none;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.8s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.quote-icon {
  font-size: 2rem;
  color: #2e8b57;
  margin-bottom: 20px;
}

.testimonial p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.8;
}

.client-info {
  display: flex;
  align-items: center;
}

.client-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  border: 3px solid #2e8b57;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-details h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.client-details p {
  font-style: normal;
  color: #666;
  margin: 0;
}

.testimonial-dots {
  text-align: center;
  margin-top: 30px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #2e8b57;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a5d1a;
  color: white;
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: #e0f0e0;
  line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #2e8b57;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #e0f0e0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #e0f0e0;
}

.footer-contact i {
  margin-right: 12px;
  margin-top: 5px;
  color: #2e8b57;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  color: #e0f0e0;
  font-size: 0.9rem;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin: 0 5px;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: #2e8b57;
  transform: translateY(-5px);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-top .container {
    flex-direction: column;
    gap: 10px;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
  }
  
  .nav.active {
    display: block;
  }
  
  .nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  .nav li {
    margin: 10px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .contact-info span {
    margin-left: 0;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial {
    padding: 25px;
  }
}