:root {
  --primary-color: #1a2a44; /* Darker, muted blue */
  --accent-color: #F95738;
  --background-light: #F5F7FA;
  --text-dark: #333333;
  --text-light: #666666;
  --card-bg: #ffffff;
  --card-border: #e0e0e0;
}

body {
  background: var(--background-light);
  color: var(--text-dark);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
}

header {
  background: white;
  box-shadow: 0 2px 8px rgba(26, 42, 68, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  height: 60px;
}

.header-branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
}

nav a {
  color: var(--primary-color);
  font-weight: 600;
  margin-left: 2rem;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-color);
}

.hero {
  background: linear-gradient(135deg, var(--primary-color), #153e75);
  color: white;
  text-align: center;
  padding: 6rem 1rem 4rem;
  font-family: 'Montserrat', sans-serif;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn {
  background: var(--accent-color);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background: #d94c26;
}

.section {
  padding: 5rem 1rem;
  max-width: 1100px;
  margin: 0 auto 4rem auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.section.alt {
  background: var(--background-light);
  box-shadow: none;
}

.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--accent-color);
  display: inline-block;
  padding-bottom: 0.2rem;
}

.cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 2rem;
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--card-border);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1rem;
  position: relative;
}

.card h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.5;
}

.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.card-link:hover {
  text-decoration: none;
}

footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

footer p {
  margin: 0;
  font-weight: 500;
}

footer .socials {
  margin-top: 1rem;
}

footer .socials a {
  margin: 0 0.75rem;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  color: white;
}

footer .socials a:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}
/* Mobile nav toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: var(--primary-color);
  height: 3px;
  width: 100%;
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s ease;
}

.nav-toggle-label span::before {
  content: '';
  top: -8px;
}

.nav-toggle-label span::after {
  content: '';
  top: 8px;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 1rem;
    background: white;
    width: calc(100% - 2rem);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    padding: 1rem;
    z-index: 999;
  }

  nav a {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    display: block;
  }

  .nav-toggle:checked + .nav-toggle-label + nav {
    display: flex;
  }

  .nav-toggle-label {
    display: block;
  }

  header .container {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
