/* Root variables for easy theme customization */
:root {
  --primary-color: #0056b3;
  --secondary-color: #6c757d;
  --accent-color: #28a745;
  --light-bg: #f8f9fa;
  --dark-text: #343a40;
}

/* Global styles */
* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
}

/* Navigation styles */
header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
}

nav .logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

/* Hero section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 60vh;
  background-size: cover;
  background-position: center;
  color: #fff;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #1e7e34;
}

/* Section styles */
.section {
  padding: 60px 5%;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--primary-color);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex: 1 1 280px;
  padding: 20px;
  text-align: left;
  max-width: 350px;
}

.card h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.card p {
  color: var(--secondary-color);
}

.card .btn {
  margin-top: 15px;
  background-color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
}

.card .btn:hover {
  background-color: #003c80;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #1e7e34;
}

/* Footer */
.footer {
  background: #343a40;
  color: #fff;
  padding: 20px 5%;
  text-align: center;
}

.footer a {
  color: var(--accent-color);
  text-decoration: none;
  margin: 0 5px;
}

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

/* Responsive styles */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
  nav ul {
    gap: 10px;
  }
  nav ul li a {
    font-size: 0.9rem;
  }
}