*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f7fb;
  color: #111827;
  line-height: 1.6;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.header {
  background-color: #0b1f3b;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.logo-sub {
  font-size: 0.75rem;
  opacity: 0.8;
}

.nav a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #ffffff;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0b1f3b, #1d4ed8);
  color: #ffffff;
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero-text p {
  max-width: 540px;
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.hero-box {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: 1rem;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.4);
}

.hero-box h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: #ffffff;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: #0b1f3b;
}

.section-text {
  max-width: 720px;
  margin-bottom: 0.75rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background-color: #f3f4f6;
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: #111827;
}

.card p {
  font-size: 0.95rem;
  color: #4b5563;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-info p a {
  color: #1d4ed8;
  text-decoration: none;
}

.contact-info p a:hover {
  text-decoration: underline;
}

.contact-form {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #111827;
}

.form-group label span {
  color: #dc2626;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.6rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: #1d4ed8;
  color: #ffffff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: #1e40af;
  transform: translateY(-1px);
}

.full-width {
  width: 100%;
  text-align: center;
}

/* Status text */
.form-status {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  min-height: 1.1rem;
}

/* Footer */
.footer {
  background-color: #020617;
  color: #9ca3af;
  padding: 1.4rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  margin-left: 1rem;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    margin-top: 0.4rem;
  }

  .nav a {
    margin-left: 0;
    margin-right: 0.9rem;
  }

  .hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
}
