:root {
  --primary: #1e3a8a;
  --secondary: #2563eb;
  --accent: #f59e42;
  --bg: #f8fafc;
  --text: #1e293b;
  --white: #fff;
  --shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
}

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

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

header h1 {
  margin: 0;
  font-size: 2.5em;
}

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

.logo {
  font-size: 1.7rem;
  font-weight: bold;
  letter-spacing: 2px;
}

nav {
  margin-top: 10px;
}

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

nav a {
  color: var(--white);
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  text-decoration: underline;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.hero {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 1rem 3rem 1rem;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-btn {
  background: var(--accent);
  color: var(--white);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: var(--shadow);
}

.cta-btn:hover {
  background: var(--secondary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

section {
    margin: 20px 0;
}

.services {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 2rem;
  flex: 1 1 220px;
  max-width: 300px;
  min-width: 220px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.12);
}

.about, .careers, .contact {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.about h2, .careers h2, .contact h2 {
  text-align: center;
  margin-bottom: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

input, textarea {
  padding: 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 1rem;
  resize: vertical;
}

input:focus, textarea:focus {
  outline: 2px solid var(--secondary);
  border-color: var(--secondary);
}

button[type="submit"] {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: var(--accent);
}

#formMessage {
  margin-top: 1rem;
  font-weight: bold;
  text-align: center;
}

footer {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem 0;
  text-align: center;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-content a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }
  .navbar {
    padding: 1rem;
  }
}

@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    width: 200px;
    gap: 1.5rem;
    padding: 2rem 1rem;
    display: none;
    box-shadow: var(--shadow);
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .card {
    padding: 1rem;
  }
  form {
    padding: 1rem;
  }
}