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

:root {
  --primary: #f5a623;
  --dark: #101820;
  --dark-alt: #182430;
  --text-light: #eaeef2;
  --text-muted: #a9b4bf;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6%;
  position: relative;
  z-index: 10;
}

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: bold; color: var(--primary); }
.logo-img { width: 32px; height: 32px; object-fit: contain; }

.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.btn-nav { background: var(--primary); color: #101820 !important; padding: 8px 16px; border-radius: 6px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 20;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: 0.3s;
}

.hero {
  background: linear-gradient(135deg, #101820 0%, #1c2a38 100%);
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 6%;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-content h1 { font-size: 2.8rem; margin-bottom: 10px; }
.subtitle { color: var(--primary); font-size: 1.2rem; font-weight: 600; margin-bottom: 16px; }
.hero-text { color: var(--text-muted); margin-bottom: 28px; font-size: 1.05rem; }

.btn-primary {
  background: var(--primary);
  color: #101820;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s ease;
}
.btn-primary:hover { transform: translateY(-2px); }

.section { padding: 70px 6%; }
.section.alt { background: var(--dark-alt); }
.section h2 { font-size: 2rem; margin-bottom: 30px; text-align: center; }

.cards { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.card {
  background: #1c2a38;
  padding: 28px;
  border-radius: 10px;
  flex: 1 1 260px;
  max-width: 320px;
  border-top: 3px solid var(--primary);
  text-align: left;
}
.card-icon {
  width: 256px;
  height: 256px;
  object-fit: contain;
  float: left;
  margin: 0 16px 12px 0;
}
.card h3 { color: var(--primary); margin-bottom: 10px; }
.card p { color: var(--text-muted); }

.services-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  gap: 14px;
}
.services-list li {
  background: var(--dark-alt);
  padding: 14px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.contact-intro { text-align: center; color: var(--text-muted); margin-bottom: 30px; }

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label { margin-top: 12px; font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #2c3b4a;
  background: #1c2a38;
  color: var(--text-light);
  font-family: inherit;
  width: 100%;
  font-size: 1rem;
}
.contact-form button { margin-top: 20px; }
#form-status { margin-top: 12px; font-weight: 600; }

.footer {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid #1c2a38;
}

/* Tablet */
@media (max-width: 900px) {
  .hero-content h1 { font-size: 2.3rem; }
}

/* Mobile: hamburger nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-alt);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 300px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 6%;
    width: 100%;
    border-bottom: 1px solid #1c2a38;
  }
  .btn-nav { border-radius: 0; text-align: center; }

  .hero { min-height: auto; padding: 30px 0 40px; }
  .hero-content { padding: 20px 6%; max-width: 100%; align-items: center; text-align: center; }
  .hero-content h1 { font-size: 1.9rem; }
  .hero-text { font-size: 0.95rem; }

  .section { padding: 50px 6%; }
  .section h2 { font-size: 1.6rem; }
  .card { max-width: 100%; flex: 1 1 100%; }
}

@media (max-width: 400px) {
  .hero-content h1 { font-size: 1.6rem; }
  .btn-primary { width: 100%; text-align: center; }
}
