@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: orange;
  --accent-color: royalblue;
  --text-color: #1a1a1a;
  --bg-color: #ffffff;
  --light-bg: #f8f9fa;
  --border-color: #e0e0e0;
}

body {
  font-family: 'Onest', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
}

/* Navigation Styles */
nav {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

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

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

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1rem;
}

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

.nav-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

@media (max-width: 968px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fff5e6 0%, #e6f2ff 100%);
  padding: 4rem 0 !important;
  margin-bottom: 3rem !important;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: 3rem !important;
  font-weight: 800 !important;
  color: var(--text-color) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
}

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

.hero-text {
  font-size: 1.125rem !important;
  color: #333 !important;
  margin-bottom: 2rem !important;
  line-height: 1.7 !important;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

/* Sections */
section {
  margin-bottom: 4rem;
  padding: 2rem 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
  color: var(--text-color);
  margin-bottom: 1.5rem !important;
  line-height: 1.3 !important;
}

h1 {
  font-size: 2.5rem !important;
}

h2 {
  font-size: 2rem !important;
  margin-top: 3rem !important;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary-color);
}

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

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 0;
  list-style: none;
}

.content ul li,
.content ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.content ol {
  counter-reset: item;
}

.content ol li::before {
  content: counter(item) '.';
  counter-increment: item;
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

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

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

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

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: var(--primary-color);
  font-size: 1.25rem !important;
  margin-bottom: 1rem !important;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
  padding-left: 0 !important;
}

.footer-links li::before {
  display: none !important;
  content: none !important;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1rem;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #999;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
}

.btn-primary:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.btn-accent {
  background-color: transparent !important;
  color: var(--accent-color) !important;
  border: 2px solid var(--accent-color) !important;
}

.btn-accent:hover {
  background-color: var(--accent-color) !important;
  color: white !important;
}

/* Table of Contents */
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: 12px;
}

.toc a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 1rem;
}

.toc a:hover {
  background-color: var(--accent-color);
  color: white;
}

/* Cards */
.card {
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card h2,
.card h3 {
  color: var(--text-color);
  border-bottom: none;
}

.card img {
  border-radius: 8px;
  margin-top: 1rem;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  min-width: 600px;
}

thead {
  background-color: var(--accent-color);
  color: white;
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.125rem;
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.125rem;
}

tbody tr:hover {
  background-color: var(--light-bg);
}

/* Images */
picture img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: var(--light-bg);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.faq-item strong {
  color: var(--accent-color);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.75rem;
}

/* Responsive utilities */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2rem !important;
  }

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

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

  .container {
    padding: 0 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
}

/* Ensure text readability */
strong, em {
  color: inherit;
}

a {
  color: var(--accent-color);
  transition: color 0.3s;
}

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