:root {
  --primary: #0a2540;
  --secondary: #00a3e0;
  --accent: #0077b6;
  --light: #f8f9fa;
  --dark: #1a1a2e;
  --text: #333;
  --white: #ffffff;
  --gray: #6c757d;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* Header */
header {
  background: #ffffff;
  color: var(--primary);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #e8e8e8;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

nav a {
  color: var(--primary);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover, nav a.active {
  border-bottom-color: var(--secondary);
  color: var(--secondary);
}

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

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.logo span {
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #123456 100%);
  color: var(--white);
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  margin-left: 1rem;
}

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

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  color: var(--primary);
  margin: 1rem 0 0.5rem;
  font-size: 1.3rem;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

/* Content pages */
.content-page {
  padding: 3rem 0;
}

.content-page h1 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.content-page h2 {
  color: var(--primary);
  margin: 2rem 0 1rem;
}

.content-page p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--primary);
}

form input, form select, form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  width: 100%;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

footer a {
  color: var(--secondary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
  }
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .btn-outline {
    margin-left: 0;
    margin-top: 0.5rem;
    display: block;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
