/* Same as before for global layout, with added Team section styling and improved dropdown/side menu for all pages */
:root {
  --primary: #2d3e50;
  --accent: #21c98b;
  --bg: #f8f9fb;
  --text: #212a36;
  --light: #fff;
  --shadow: 0 8px 24px 0 rgba(34,34,34,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  animation: fadeIn 1s;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--light);
  box-shadow: var(--shadow);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 99;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.logo svg { display: inline-block; }
.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.navbar li {
  position: relative;
}
.navbar a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 0.3rem;
  transition: background 0.2s;
  cursor: pointer;
}
.navbar a:hover, .navbar .dropdown:hover > a,
.navbar .dropdown:focus-within > a {
  background: var(--accent);
  color: var(--light);
}
.dropdown-menu {
  display: none;
  position: absolute;
  background: var(--light);
  box-shadow: var(--shadow);
  top: 2.5rem;
  left: 0;
  border-radius: 0.4rem;
  overflow: hidden;
  min-width: 190px;
  z-index: 1;
}
.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown.open > .dropdown-menu {
  display: block;
  animation: fadeInUp 0.3s;
}
.dropdown-menu li a {
  color: var(--primary);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: .6em;
  padding: 0.55em 1.2em;
}
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-btn svg rect {
  fill: var(--primary);
  transition: fill 0.2s;
}
.sidebar {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 70%; max-width: 300px; height: 100%;
  background: var(--light);
  box-shadow: var(--shadow);
  z-index: 150;
  flex-direction: column;
  animation: slideIn 0.4s;
}
.sidebar.active {
  display: flex;
}
.sidebar ul {
  margin-top: 3.5rem;
  list-style: none;
  flex-direction: column;
  gap: 1.5em;
  padding: 0 1.5em;
}
.sidebar li { position: relative; }
.sidebar a {
  font-size: 1.3em;
  color: var(--primary);
  font-weight: bold;
  text-decoration: none;
  padding: 1em 0;
  display: block;
  border-bottom: 1px solid #eee;
}
.sidebar .dropdown-menu {
  position: static;
  background: #f9f9f9;
  box-shadow: none;
  display: none;
  border-radius: 0 0 0.5em 0.5em;
  margin-bottom: 0.3em;
}
.sidebar .dropdown.open > .dropdown-menu { display: block; }
.close-btn {
  position: absolute;
  top: 1em; right: 1em;
  border: none;
  font-size: 2.2rem;
  background: none;
  color: var(--accent);
  cursor: pointer;
}
main {
  padding: 3rem 0 0 0;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap-reverse;
  gap: 2rem;
  padding: 3rem 2rem 2rem 2rem;
  background: linear-gradient(100deg, var(--light) 80%, var(--accent) 100%);
  box-shadow: var(--shadow);
  border-radius: 0 0 1.5rem 1.5rem;
  animation: fadeInUp 1s;
}
.hero-text {
  flex: 1 1 320px;
}
.hero-text h1 {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text);
  max-width: 550px;
}
.cta-btn {
  background: var(--accent);
  color: var(--light);
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 0.4rem;
  box-shadow: 0 2px 8px 0 #21c98b33;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.cta-btn:hover {
  background: #1bbd7a;
  transform: scale(1.05);
}
.hero-imgs {
  flex: 1 1 260px;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
}
.hero-imgs img {
  border-radius: 1.2rem;
  width: 160px;
  height: 180px;
  object-fit: cover;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  animation: imgFadeIn 1.3s forwards;
}
.hero-imgs img.delay { animation-delay: 0.5s; }
.animated { opacity: 0; animation: fadeInUp 1s forwards; }
.animated.delay { animation-delay: 0.4s; }
.features {
  margin: 3rem 0 2.5rem 0;
  text-align: center;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.feature {
  background: var(--light);
  padding: 2rem 1.2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 40px 0 #21c98b1a;
}
.clients {
  text-align: center;
  margin: 2.5rem 0 2rem 0;
}
.client-count {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.5rem;
}
.client-logos {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.client-logos img {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: var(--shadow);
  filter: grayscale(0.5) brightness(1.09);
  transition: filter 0.3s;
}
.client-logos img:hover {
  filter: grayscale(0) brightness(1.15);
}
.about {
  background: var(--light);
  margin: 2rem 2rem 1rem 2rem;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 1.1rem;
}
.team {
  margin: 2.5rem 2rem;
  text-align: center;
}
.team-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.team-member {
  background: var(--light);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
  padding: 1.6rem 1rem;
  min-width: 160px;
  max-width: 210px;
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.team-member:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 12px 30px 0 #21c98b22;
}
.team-member img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--accent);
}
.team-member h3 { font-size: 1.2rem; margin-bottom: .3rem;}
.team-member p { font-size: 1rem; color: #444;}
.contact {
  text-align: center;
  margin: 2.5rem 0 2rem 0;
}
.contact-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.contact-options a {
  display: flex;
  align-items: center;
  gap: 0.7em;
  background: var(--light);
  color: var(--primary);
  font-weight: 500;
  padding: 0.8em 1.6em;
  border-radius: 0.6em;
  box-shadow: var(--shadow);
  text-decoration: none;
  font-size: 1.1em;
  transition: background 0.2s, color 0.2s;
}
.contact-options a:hover {
  background: var(--accent);
  color: var(--light);
}
footer {
  background: var(--primary);
  color: var(--light);
  padding: 1rem 0;
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
  border-radius: 1.2rem 1.2rem 0 0;
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .feature-list { flex-direction: column; gap: 1.2rem; }
  .hero { flex-direction: column-reverse; padding: 2rem 1rem 1.5rem 1rem; }
  .team-list { flex-direction: column; gap: 1.2rem;}
}
@media (max-width: 700px) {
  .navbar ul { display: none; }
  .menu-btn { display: block; }
  .hero-imgs img { width: 115px; height: 120px; }
  main { padding: 1rem 0 0 0; }
  .about { margin: 1rem .6rem; }
  .clients { margin: 1.5rem 0 1rem 0; }
}
@media (max-width: 500px) {
  .sidebar { width: 90%; }
  .logo svg { width: 28px; height: 28px;}
  .hero-text h1 { font-size: 1.7rem; }
  .contact-options { flex-direction: column; gap: 1em; }
}
@keyframes fadeInUp { from { opacity:0; transform: translateY(40px);} to {opacity:1; transform:translateY(0);} }
@keyframes slideIn { from { left: -100%; } to { left: 0; } }
@keyframes imgFadeIn { from { opacity:0; transform: translateY(60px) scale(0.96);} to {opacity:1; transform:translateY(0) scale(1);} }
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
