:root {
  --primary: #008080;   /* teal */
  --secondary: #2c3e50; /* dark gray */
  --accent: #4CAF50;    /* green */
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  height: 50px;
}
.company-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links li a {
  color: var(--secondary);
  font-weight: 500;
  text-decoration: none; /* remove underline */
}
.nav-links li a:hover{
  color: var(--accent);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
}

/* Featured Services */
.featured-services {
  padding: 3rem 2rem;
  background: #f9f9f9;
  text-align: center;
}

.featured-services h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.featured-services p {
  font-size: 1rem;
  color: var(--secondary);
  line-height: 1.6;
}

/* Expertise Section */
.expertise-section {
  padding: 3rem 2rem;
  background: #fff;
  text-align: center;
}

.expertise-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Filter bar */
.expertise-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  background: #f0f0f0;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  color: var(--secondary);
  transition: background 0.3s ease, color 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Grid layout */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.expertise-item {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  opacity: 1;
}

.expertise-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.expertise-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

/* Hidden state for filtering */
.expertise-item.hide {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* Scroll animation */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  background: #111; /* dark background */
  color: #fff;
  padding: 3rem 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  flex: 2;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-logo h3 {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  color: var(--accent); /* green accent for title */
}

.footer-logo p {
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-columns {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 1rem;
  font-size: 0.85rem;
}




@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border: 1px solid #eee;
  }
  .menu-toggle {
    display: block;
  }
   .featured-services,
  .expertise-section {
    padding: 2rem 1rem;
  }

  .expertise-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn {
    width: 100%;
    text-align: center;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .expertise-item {
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    padding: 1rem 0.75rem;
  }

  .expertise-item i {
    font-size: 1.4rem;
  }
      .footer-top {
    flex-direction: column;
  }
  .footer-columns {
    flex-direction: column;
  }
}