
:root {
  --primary: #1a3d6d;
  --primary-light: #2a5a8a;
  --accent: #f9b233;
  --accent-hover: #e6a429;
  --background: #f8fafc;
  --white: #ffffff;
  --text: #2d3748;
  --text-light: #4a5568;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif, sans-serif;
  background: var(--background);
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

nav .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

nav .logo img {
  height: 40px;
  width: auto;
  max-width: 180px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

nav .logo img:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.25rem;
  margin: 0;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.steps {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 3rem;
  margin: 3rem auto;
  border: 1px solid var(--border);
}

.steps h2 {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 2rem 0;
  text-align: center;
}

.steps ol {
  padding-left: 0;
  counter-reset: step-counter;
}

.steps ol li {
  list-style: none;
  counter-increment: step-counter;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--background);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  position: relative;
  transition: transform 0.2s ease;
}

.steps ol li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.steps ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: -2px;
  top: -10px;
  background: var(--accent);
  color: var(--primary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Resource Grid */
.resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.resource-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.resource-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.resource-item h3 {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.resource-item p {
  color: var(--text-light);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

/* Buttons */
.button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(249, 178, 51, 0.3);
}

.button:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #d4941f 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(249, 178, 51, 0.4);
}

.button:active {
  transform: translateY(0);
}

/* CTA Section */
.cta {
  text-align: center;
  margin: 4rem 0;
  padding: 3rem;
  background: linear-gradient(135deg, var(--background) 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* FAQ Styling */
details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 1rem 0;
  overflow: hidden;
  transition: all 0.2s ease;
}

details:hover {
  box-shadow: var(--shadow);
}

details summary {
  background: var(--background);
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

details summary:hover {
  background: #f1f5f9;
}

details p {
  padding: 1.25rem;
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

footer p {
  margin: 0;
  opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
  }

  nav .logo {
    margin-bottom: 1rem;
  }

  nav .logo img {
    height: 32px;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    text-align: center;
    padding: 0.75rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  .steps {
    padding: 2rem 1.5rem;
    margin: 2rem auto;
  }

  .resource-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .resource-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .steps {
    padding: 1.5rem 1rem;
  }

  .resource-item {
    padding: 1.25rem;
  }
}
