/* Dr. Karen Monroe Medical Marijuana Certification - Modern Professional CSS */

:root {
  --primary-color: #1a4d4d;
  --secondary-color: #2d5016;
  --accent-color: #7cb342;
  --success-color: #27ae60;
  --text-dark: #2c3e50;
  --text-light: #666;
  --bg-light: #f7f9fb;
  --bg-white: #ffffff;
  --border-color: #dfe6e9;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Header & Navigation */
header {
  background-color: var(--bg-white);
  border-bottom: 2px solid var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--primary-color);
}

.logo-image {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: -0.15rem;
  letter-spacing: 0.5px;
  font-weight: 500;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  padding: 0.6rem 1.2rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
}

nav a:hover {
  color: var(--primary-color);
  background-color: var(--bg-light);
  transform: translateY(-1px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 2.8rem;
  line-height: 1.2;
}

.hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
  text-transform: uppercase;
}

.cta-button:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.cta-button:active {
  transform: translateY(-1px);
}

.cta-button-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 1rem;
  box-shadow: none;
}

.cta-button-secondary:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: white;
  box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  margin-bottom: 2.5rem;
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--accent-color);
  display: inline-block;
  width: 100%;
  color: var(--primary-color);
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

/* Cards & Features */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-color);
}

.card:hover::before {
  transform: translateX(0);
}

.card h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Info Box */
.info-box {
  background: linear-gradient(135deg, rgba(26, 77, 77, 0.05) 0%, rgba(45, 80, 22, 0.05) 100%);
  padding: 2rem;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  margin: 2rem 0;
  transition: all 0.3s ease;
}

.info-box:hover {
  border-left-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.info-box h4 {
  margin-top: 0;
  color: var(--primary-color);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  font-weight: 600;
}

th, td {
  padding: 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  font-weight: 700;
  letter-spacing: 0.5px;
}

tr:nth-child(even) {
  background-color: var(--bg-light);
}

tr:hover {
  background-color: #f0f5f8;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.two-col-text h3 {
  margin-top: 0;
}

/* Contact Info */
.contact-info {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 12px;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-lg);
}

.contact-info p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 1rem;
}

.contact-details {
  font-size: 1.2rem;
  margin: 1.5rem 0;
  font-weight: 600;
  color: var(--accent-color);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
  text-align: center;
}

footer p {
  color: rgba(255,255,255,0.9);
}

footer a {
  color: var(--accent-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255,255,255,0.85);
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button-secondary {
    display: block;
    margin-left: 0;
    margin-top: 1rem;
  }

  nav ul {
    gap: 0.25rem;
  }

  nav a {
    padding: 0.4rem 0.7rem;
    font-size: 0.9rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.75rem;
  }

  .footer-sections {
    text-align: center;
  }

  section h2 {
    display: block;
    text-align: center;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-light);
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.py-3 {
  padding: 3rem 0;
}

.highlight {
  background-color: #fffacd;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* SEO & Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  border-radius: 0 0 4px 0;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Performance Optimizations */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Print Styles */
@media print {
  header, footer, .cta-button {
    display: none;
  }

  body {
    color: black;
    background: white;
  }
}
