:root {
  --primary-green: #0f9d58;
  --accent-blue: #0077B6;
  --dark-blue: #003049;
  --bg-dark: #121212;
  --bg-light: #f0f9f5;
  --gray-light: #f5f5f5;
  --gray-dark: #2e2e2e;
  --highlight: #4caf50;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--gray-dark);
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.6s ease;
}

@keyframes slideDown {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--highlight);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.3s;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--highlight);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--highlight);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(15, 157, 88, 0.8)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--highlight);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #388e3c;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  margin-left: 1rem;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--accent-blue);
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--gray-dark);
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--highlight);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  animation: zoomIn 0.8s ease-in-out;
}

@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 0.5s ease-in-out;
}

@keyframes fadeInUp {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  background-color: var(--bg-light);
  padding: 2rem;
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-green);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.contact {
  background-color: var(--bg-dark);
  color: white;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  color: var(--gray-dark);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

footer {
  background-color: var(--dark-blue);
  color: white;
  padding: 3rem 0 1rem;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  color: var(--highlight);
}

.footer-section p, .footer-section a {
  color: #bbb;
  margin-bottom: 0.5rem;
  display: block;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--highlight);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: white;
  background-color: var(--accent-blue);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--highlight);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid #444;
  padding-top: 1rem;
  color: #bbb;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content {
    flex-direction: column;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 1rem;
  }
}

.intel {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.intel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.intel-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease;
}

.intel-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.intel-box h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--dark-blue);
}

.intel-box ul {
  list-style: none;
  padding-left: 0;
}

.intel-box ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
  position: relative;
}

.intel-box ul li i {
  color: var(--primary-green);
  margin-right: 0.5rem;
}
