* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #e0e0e0;
  overflow-x: hidden;
  background: #0a1929;
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 25, 41, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(174, 241, 210, 0.1);
  transition: all 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #aef1d2;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #c3cad3;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #aef1d2;
}

.nav-cta {
  background: linear-gradient(135deg, #36f9d0, #45b2f5);
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  color: #0a1929 !important;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(54, 249, 208, 0.3);
  color: #0a1929 !important;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #aef1d2;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-links.mobile-active {
  display: flex;
}

/* Header */
header {
  position: relative;
  width: 100%;
  min-height: 700px;
  overflow: hidden;
  text-align: center;
  padding-top: 120px;
  box-sizing: border-box;
  background: linear-gradient(to bottom, #02030a 0%, #0b1030 30%, #1a2245 60%, #2f3a55 100%);
}

.animated-background,
.tree-line,
.hero-tree,
.header-text {
  position: absolute;
  width: 100%;
  pointer-events: none;
}

.animated-background {
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0 0 4px #2bf0dc);
}

.foothills {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.tree-line {
  bottom: 0;
  left: 0;
  z-index: 2;
  will-change: transform;
}

header img.hero-tree {
  position: absolute;
  display: block;
  margin: 0 auto;
  width: 50%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  height: auto;
  max-height: 500px;
  z-index: 3;
  pointer-events: none;
}

header .header-text {
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: auto;
  max-width: 800px;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.3rem;
  color: #aef1d2;
  font-weight: 500;
  margin: 0;
}

a {
  font-weight: 500;
  color: #36f9d0;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #45b2f5;
}

/* Main Content */
main {
  padding: 4rem 2rem;
  background: #0a1929;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

section {
  margin-bottom: 5rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem 0;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #8b95a1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: linear-gradient(135deg, rgba(17, 34, 54, 0.8), rgba(17, 34, 54, 0.4));
  border: 1px solid rgba(174, 241, 210, 0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(174, 241, 210, 0.3);
  box-shadow: 0 8px 24px rgba(54, 249, 208, 0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: #36f9d0;
  stroke-width: 1.5;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #aef1d2;
  margin: 0 0 1rem 0;
}

.service-card p {
  font-size: 1rem;
  color: #c3cad3;
  line-height: 1.7;
  margin: 0;
}

/* Expertise Section */
.expertise-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.expertise-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(17, 34, 54, 0.4);
  border-radius: 8px;
  border-left: 3px solid #36f9d0;
}

.expertise-item .expertise-icon {
  width: 32px;
  height: 32px;
  color: #36f9d0;
  stroke-width: 2;
  flex-shrink: 0;
}

.expertise-item div {
  flex: 1;
}

.expertise-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.expertise-item p {
  font-size: 0.95rem;
  color: #8b95a1;
  margin: 0;
}

/* About Section */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(17, 34, 54, 0.8), rgba(17, 34, 54, 0.4));
  border-radius: 12px;
  border: 1px solid rgba(174, 241, 210, 0.1);
}

.about-content p {
  font-size: 1.1rem;
  color: #c3cad3;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Contact Section */
.contact-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(54, 249, 208, 0.1), rgba(69, 178, 245, 0.1));
  border-radius: 12px;
  border: 1px solid rgba(174, 241, 210, 0.2);
  text-align: center;
}

.contact-box h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1rem 0;
}

.contact-box p {
  font-size: 1.1rem;
  color: #c3cad3;
  margin-bottom: 2rem;
}

.contact-button {
  display: inline-block;
  background: linear-gradient(135deg, #36f9d0, #45b2f5);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  color: #0a1929;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(54, 249, 208, 0.3);
  color: #0a1929;
}

/* Footer */
footer {
  background: #050d18;
  padding: 3rem 2rem 2rem 2rem;
  border-top: 1px solid rgba(174, 241, 210, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-content p {
  color: #8b95a1;
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

#stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #ffffff88;
  border-radius: 50%;
  opacity: 0.6;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.5); }
}

/* Responsive Design */
@media (max-width: 968px) {
  nav {
    position: fixed;
  }

  .nav-container {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 25, 41, 0.98);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    border-top: 1px solid rgba(174, 241, 210, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .nav-links.mobile-active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    width: 100%;
  }

  .nav-links a:hover {
    background: rgba(174, 241, 210, 0.05);
  }

  .nav-links li:has(.nav-cta) {
    padding: 0 2rem;
  }

  .nav-cta {
    margin: 0.5rem 0;
    padding: 0.8rem 1.5rem;
    display: block;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

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

  .expertise-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    min-height: 600px;
    padding-top: 100px;
  }

  header img.hero-tree {
    width: 80%;
  }

  h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .about-content,
  .contact-box {
    padding: 2rem;
  }

  nav {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  header img.hero-tree {
    width: 95%;
  }

  h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }
}
