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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #777;
  background: #fff;
  overflow-x: hidden;
}

a {
  color: #2d7533;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1f5324;
}

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

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

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

.section-title-area {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 15px;
}

.section-desc p {
  font-size: 16px;
  color: #777;
  max-width: 700px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
  padding: 10px 0;
  transition: all 0.3s;
}

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

.site-branding img {
  height: 50px;
  width: auto;
}

.header-right-wrapper {
  display: flex;
  align-items: center;
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-menu li a {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  padding: 5px 0;
  position: relative;
}

.main-menu li a:hover {
  color: #2d7533;
}

#nav-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
}

#nav-toggle span,
#nav-toggle span::before,
#nav-toggle span::after {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

#nav-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

#nav-toggle span::before {
  content: '';
  top: -8px;
}

#nav-toggle span::after {
  content: '';
  top: 8px;
}

/* Hero */
.hero-slideshow {
  position: relative;
  height: 100vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-slideshow .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content-style2 {
  padding-top: 10%;
  padding-bottom: 10%;
}

.hero-content-style2 .col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.hero-content-style2 h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: flipInX 1s;
  line-height: 70px;
}

.hero-content-style2 p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 30px;
  animation: flipInX 1s;
}

.hero-content-style2 strong {
  color: #fff;
}

.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 30px;
  border-radius: 2px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-secondary-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary-outline:hover {
  background: #fff;
  color: #333;
  border-color: #fff;
}

/* Features / Services */
.section-features {
  background: #f8f9f9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-media {
  margin-bottom: 20px;
}

.feature-media .icon-image img {
  width: auto;
  height: auto;
}

.feature-item h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.feature-item p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
}

/* About */
.section-about {
  background: #fff;
}

/* Contact */
.section-contact {
  background: #f8f9f9;
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background: #111;
  color: #777;
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
}

.site-footer .btt {
  margin-bottom: 15px;
}

.site-footer .back-to-top {
  display: inline-block;
  font-size: 24px;
  color: #777;
}

.site-footer .back-to-top:hover {
  color: #2d7533;
}

/* WOW animation fixes */
.wow {
  visibility: hidden;
}

.animate__animated {
  visibility: visible;
}

/* Animations */
@keyframes flipInX {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px) rotate3d(1, 0, 0, 0);
  }
}

/* Responsive */
@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content-style2 h1 {
    font-size: 40px;
  }

  .hero-content-style2 .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  #nav-toggle {
    display: block;
  }

  .main-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  .main-menu.open {
    display: flex;
  }

  .hero-content-style2 h1 {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .section-title {
    font-size: 28px;
  }
}
