/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-accent: #1f6f78;
  --primary-accent-hover: #165660;
  --background-white: #ffffff;
  --background-grey: #f8f9fa;
  --text-dark: #2c3e50;
  --text-medium: #4a5568;
  --text-light: #718096;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.header {
  background-color: var(--background-white);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 48px;
  height: 48px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-text .brand-tagline {
  font-size: 0.875rem;
  color: var(--text-medium);
  font-weight: 400;
}

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

.nav a {
  color: var(--text-medium);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--background-grey);
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .subtext {
  font-size: 1.25rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer-notice {
  font-size: 0.9375rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--background-grey);
  border-left: 3px solid var(--primary-accent);
  border-radius: 4px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--primary-accent);
  color: var(--background-white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--primary-accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Section Headings */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 3rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Topics/Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--background-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(31, 111, 120, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  color: var(--primary-accent);
}

.card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Education Section */
.education-preview {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--background-white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary-accent);
}

.education-preview h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.education-preview p {
  font-size: 1.0625rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* Contact Section */
.contact-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--background-white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-box p {
  font-size: 1.0625rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.contact-box .email-link {
  color: var(--primary-accent);
  font-weight: 600;
  text-decoration: underline;
}

.contact-box .email-link:hover {
  color: var(--primary-accent-hover);
}

.contact-disclaimer {
  font-size: 0.9375rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--background-grey);
  padding: 2.5rem 0 2rem;
  margin-top: 4rem;
}

.footer .container {
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--background-grey);
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--background-white);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Policy Pages */
.policy-page {
  padding: 3rem 0;
  min-height: calc(100vh - 400px);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--background-white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.policy-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.policy-date {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.policy-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-content p {
  font-size: 1.0625rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.policy-content ul {
  margin-left: 2rem;
  margin-bottom: 1.25rem;
}

.policy-content li {
  font-size: 1.0625rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.disclaimer-box {
  background-color: #fff9e6;
  border: 2px solid #f4c542;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.disclaimer-box h2 {
  color: #c07c00;
  margin-top: 0;
  font-size: 1.375rem;
}

.disclaimer-box p {
  color: var(--text-dark);
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero .subtext {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  .policy-content {
    padding: 2rem 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .footer-links {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

  .hero .subtext {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }

  .card {
    padding: 1.5rem;
  }

  .education-preview {
    padding: 1.5rem;
  }

  .contact-box {
    padding: 1.5rem;
  }

  .policy-content h1 {
    font-size: 1.875rem;
  }
}
