/* css/style.css – complete design system */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #fafcfd;
  color: #1e2b3c;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* header */
header {
  background: #0b1a2a;
  color: white;
  padding: 0.8rem 0;
  border-bottom: 2px solid #3b8cbf;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo i {
  color: #5bb4e8;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
nav a {
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
nav a:hover,
nav a.active {
  border-bottom-color: #5bb4e8;
  color: #b3ddf5;
}
.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* hero */
.hero {
  background: linear-gradient(135deg, #0b1a2a 0%, #1f3a4e 100%);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 4px solid #3b8cbf;
}
.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.hero-content h1 span {
  color: #7ac7f7;
}
.hero-content p {
  font-size: 1.3rem;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.btn {
  display: inline-block;
  background: #3b8cbf;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: #2a6d99;
  transform: scale(1.02);
}
.btn i {
  margin-left: 0.5rem;
}

/* features grid */
.features {
  padding: 3.5rem 0;
  background: white;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  background: #f0f6fa;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.02);
  transition: 0.2s;
  border: 1px solid #e3edf5;
}
.card i {
  font-size: 2.8rem;
  color: #2a6d99;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.card p {
  color: #2f4055;
}

/* page templates */
.page-header {
  background: #e5eff7;
  padding: 2.5rem 0;
  border-bottom: 1px solid #cbdae5;
}
.page-header h1 {
  font-size: 2.5rem;
  color: #0b1a2a;
}
.page-header p {
  font-size: 1.1rem;
  color: #2f4a60;
}

.content {
  padding: 3rem 0;
  flex: 1;
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}
.about-grid ul {
  list-style: none;
  margin-top: 1rem;
}
.about-grid li {
  margin: 0.8rem 0;
}
.about-grid li i {
  color: #3b8cbf;
  margin-right: 0.6rem;
  width: 1.2rem;
}

/* product */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.product-card {
  background: white;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.03);
  border: 1px solid #e0ecf5;
  text-align: center;
}
.product-card i {
  color: #1f4d6b;
  margin-bottom: 1rem;
}
.product-card h3 {
  margin: 0.5rem 0;
}
.badge {
  display: inline-block;
  background: #d8e8f5;
  color: #1d4c6b;
  padding: 0.2rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.8rem;
}

/* services */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
}
.service-item {
  display: flex;
  gap: 1.5rem;
  background: #f4f9fe;
  padding: 1.5rem;
  border-radius: 20px;
  border-left: 6px solid #3b8cbf;
}
.service-item i {
  font-size: 2.2rem;
  color: #1f4d6b;
  min-width: 3rem;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbdae5;
  border-radius: 30px;
  font-size: 1rem;
  background: white;
}
.form-group textarea {
  border-radius: 20px;
  resize: vertical;
}
.feedback {
  margin-top: 1rem;
  font-weight: 500;
}
.contact-info {
  background: #e5eff7;
  padding: 2rem;
  border-radius: 28px;
}
.contact-info p {
  margin: 1rem 0;
}
.contact-info i {
  width: 1.8rem;
  color: #1f4d6b;
}
.social a {
  display: inline-block;
  background: #0b1a2a;
  color: white;
  padding: 0.6rem 0.8rem;
  border-radius: 30px;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  transition: 0.2s;
}
.social a:hover {
  background: #3b8cbf;
}

/* footer */
footer {
  background: #0b1a2a;
  color: #b0cbd9;
  padding: 1.8rem 0;
  margin-top: auto;
  border-top: 2px solid #1f3a4e;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a {
  margin-left: 1.5rem;
  color: #b0cbd9;
}
.footer-links a:hover {
  color: white;
}

/* responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: #0b1a2a;
    padding: 1rem;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    border-radius: 0 0 12px 12px;
  }
  nav ul.open {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .grid-3,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
}