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

body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #2c3e50;
  background-color: #fffff0;
}

/* Navigation Styles */
nav {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav ul {
  list-style: none !important;
}

nav ul::before,
nav ul::after,
nav li::before,
nav li::after {
  display: none !important;
  content: none !important;
}

nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #fa8072;
}

/* Footer Styles */
footer {
  background-color: #2c3e50;
  color: #fffff0;
}

footer ul {
  list-style: none !important;
}

footer ul::before,
footer ul::after,
footer li::before,
footer li::after {
  display: none !important;
  content: none !important;
}

footer a {
  color: #fffff0;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #fa8072;
}

/* Hero Section Styles */
.hero-section {
  background: linear-gradient(135deg, #fffff0 0%, #fff5e6 100%) !important;
  padding: 80px 20px !important;
  min-height: 500px !important;
}

.hero-section h1 {
  font-size: 3rem !important;
  font-weight: 800 !important;
  color: #2c3e50 !important;
  margin-bottom: 24px !important;
  line-height: 1.2 !important;
}

.hero-section p {
  font-size: 1.125rem !important;
  color: #4a5568 !important;
  margin-bottom: 16px !important;
}

/* Headers Styles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-bottom: 1rem !important;
}

h1 {
  font-size: 2.5rem !important;
  color: #2c3e50 !important;
}

h2 {
  font-size: 2rem !important;
  color: #2c3e50 !important;
  margin-top: 3rem !important;
  margin-bottom: 1.5rem !important;
}

h3 {
  font-size: 1.5rem !important;
  color: #2c3e50 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

/* Paragraph Styles */
p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: #374151;
}

/* List Styles - Reset defaults */
ul, ol {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

/* Content Lists with Custom Markers */
.content-section ul li,
.content-section ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #374151;
}

.content-section ul li::before {
  content: "●";
  position: absolute;
  left: 0.5rem;
  color: #fa8072;
  font-size: 1.25rem;
  line-height: 1.7;
}

.content-section ol {
  counter-reset: item;
}

.content-section ol li::before {
  content: counter(item) ".";
  counter-increment: item;
  position: absolute;
  left: 0.5rem;
  color: #fa8072;
  font-weight: 700;
}

/* Button Styles */
.cta-button {
  display: inline-block;
  background-color: #fa8072;
  color: #fffff0;
  padding: 14px 32px;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
  white-space: nowrap;
  text-align: center;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #e66a5c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 128, 114, 0.3);
}

/* Card Styles */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  border: 1px solid #f0f0f0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 1.0625rem;
  min-width: 600px;
}

thead {
  background-color: #fa8072;
  color: #fffff0;
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 1.0625rem;
}

td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}

tbody tr:hover {
  background-color: #fff5f3;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

picture {
  display: block;
  margin: 1.5rem 0;
}

/* Icon Styles */
.icon {
  color: #fa8072;
  margin-right: 0.5rem;
  font-size: 1.125rem;
}

/* Table of Contents */
.toc {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin: 3rem 0;
}

.toc ul {
  list-style: none;
}

.toc li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.toc li:last-child {
  border-bottom: none;
}

.toc a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 500;
  transition: color 0.3s;
}

.toc a:hover {
  color: #fa8072;
}

/* Mobile Menu Toggle */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2c3e50;
  cursor: pointer;
  padding: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  .mobile-menu-button {
    display: block;
  }

  nav ul.mobile-hidden {
    display: none;
  }

  nav ul.mobile-visible {
    display: flex;
    flex-direction: column;
  }

  .card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 16px !important;
  }

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

  p, .content-section ul li, .content-section ol li {
    font-size: 1rem;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 4rem 0;
}

/* Ensure good contrast and readability */
strong {
  font-weight: 700;
  color: #2c3e50;
}

/* Logo Styles */
.logo-img {
  box-shadow: none !important;
  width: 40px;
  height: auto;
}
