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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #022a40;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

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

.section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #022a40;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #009f90;
  color: #fff;
}

.btn-primary:hover {
  background: #007a6e;
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #4a5568;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #022a40;
  transition: all 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #f0f4f5 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 240px;
  height: auto;
  margin: 0 auto 2rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #022a40;
}

.tagline {
  font-size: 1.25rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 159, 144, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(247, 197, 100, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Services */
.services {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-color: #009f90;
}

.card-icon {
  color: #009f90;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #022a40;
}

.card p {
  color: #4a5568;
  font-size: 0.9375rem;
}

/* Philosophy */
.philosophy {
  background: #fafafa;
}

.philosophy .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-text {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.feature-list {
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #022a40;
}

.check-icon {
  color: #009f90;
  flex-shrink: 0;
}

.philosophy-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-graphic {
  width: 100%;
  max-width: 300px;
}

.shield-svg {
  width: 100%;
  height: auto;
}

/* Contact */
.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  max-width: 500px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #022a40;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #009f90;
  box-shadow: 0 0 0 3px rgba(0, 159, 144, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e53e3e;
}

.error-message {
  color: #e53e3e;
  font-size: 0.875rem;
  display: none;
  margin-top: 0.25rem;
}

.form-group.has-error .error-message {
  display: block;
}

.form-success {
  display: none;
  color: #009f90;
  font-weight: 500;
  margin-top: 1rem;
}

.contact-info {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #4a5568;
}

.contact-item svg {
  color: #009f90;
  flex-shrink: 0;
}

/* Footer */
.footer {
  background: #022a40;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  width: 60px;
  height: auto;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.copyright {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy .container {
    grid-template-columns: 1fr;
  }

  .philosophy-visual {
    order: -1;
  }

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

@media (max-width: 600px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
