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

body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #1f2937;
  background-color: #ffffff;
}

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

nav ul {
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

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

nav li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

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

nav a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  transition: opacity 0.3s ease !important;
  padding: 0.5rem 1rem !important;
  display: block !important;
}

nav a:hover {
  opacity: 0.8 !important;
}

.brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  text-decoration: none !important;
}

.brand-logo img {
  width: 40px !important;
  height: 40px !important;
  box-shadow: none !important;
}

/* Mobile Menu */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  nav a {
    font-size: 16px !important;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, steelblue 0%, #5b9bd5 50%, blue 100%) !important;
  min-height: 500px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 4rem 2rem !important;
  position: relative !important;
  overflow: hidden !important;
  color: #ffffff !important;
}

.hero::before {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  right: -10% !important;
  width: 400px !important;
  height: 400px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  z-index: 0 !important;
}

.hero::after {
  content: '' !important;
  position: absolute !important;
  bottom: -30% !important;
  left: -5% !important;
  width: 300px !important;
  height: 300px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 50% !important;
  z-index: 0 !important;
}

.hero-content {
  position: relative !important;
  z-index: 1 !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.hero h1 {
  font-size: 3rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
}

.hero p {
  font-size: 1.25rem !important;
  margin-bottom: 2rem !important;
  line-height: 1.6 !important;
  color: #ffffff !important;
}

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

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

/* Conversion Buttons */
.btn-conversion {
  background-color: blue !important;
  color: #ffffff !important;
  padding: 1rem 2.5rem !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.btn-conversion:hover {
  background-color: #0000cc !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Sections */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section:nth-child(even) {
  background-color: #f9fafb;
}

/* Headings */
h1 {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  color: #1f2937 !important;
  line-height: 1.2 !important;
}

h2 {
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin-top: 3rem !important;
  margin-bottom: 1.5rem !important;
  color: steelblue !important;
  line-height: 1.3 !important;
}

h3 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
  color: #374151 !important;
  line-height: 1.4 !important;
}

section > h2:first-child,
section > h1:first-child {
  margin-top: 0 !important;
}

/* Paragraphs */
p {
  margin-bottom: 1.5rem;
  font-size: 18px;
  line-height: 1.7;
  color: #374151;
}

/* Lists - Content Lists with Styling */
.content-section ul,
.content-section ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  list-style: none;
}

.content-section ul li,
.content-section ol li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  font-size: 18px;
  line-height: 1.7;
  color: #374151;
  list-style: none;
}

.content-section ul li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.6rem !important;
  width: 8px !important;
  height: 8px !important;
  background-color: blue !important;
  border-radius: 50% !important;
}

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

.content-section ol li::before {
  content: counter(item) "." !important;
  counter-increment: item !important;
  position: absolute !important;
  left: 0 !important;
  color: blue !important;
  font-weight: 600 !important;
}

.content-section ul li::marker,
.content-section ol li::marker {
  display: none !important;
  content: none !important;
}

/* Table of Contents */
.toc {
  background-color: #f9fafb;
  border: 2px solid steelblue;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.toc ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.toc li {
  list-style: none !important;
  margin-bottom: 0.75rem !important;
  padding: 0 !important;
}

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

.toc a {
  color: steelblue;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

.toc a:hover {
  color: blue;
}

/* Tables */
.table-container {
  width: 100%;
  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: #ffffff;
  min-width: 600px;
}

thead {
  background-color: steelblue;
}

thead th {
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  padding: 1rem;
  font-size: 18px;
}

tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

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

tbody td {
  padding: 1rem;
  font-size: 18px;
  color: #374151;
}

/* Images */
picture {
  display: block;
  margin: 2rem 0;
}

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

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  border-left: 4px solid steelblue;
}

/* Footer */
footer {
  background-color: #1f2937 !important;
  color: #ffffff !important;
  padding: 3rem 2rem 1.5rem !important;
  margin-top: 4rem !important;
}

.footer-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.footer-links {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 2rem !important;
  margin-bottom: 2rem !important;
}

.footer-section h3 {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
}

.footer-section ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-section li {
  list-style: none !important;
  margin-bottom: 0.5rem !important;
  padding: 0 !important;
}

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

.footer-section a {
  color: #d1d5db !important;
  text-decoration: none !important;
  font-size: 16px !important;
  transition: color 0.3s ease !important;
}

.footer-section a:hover {
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid #374151 !important;
  padding-top: 1.5rem !important;
  text-align: center !important;
  color: #9ca3af !important;
  font-size: 16px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  section {
    padding: 2rem 1rem;
  }

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

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

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

  .footer-links {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .btn-conversion {
    padding: 0.875rem 2rem !important;
    font-size: 16px !important;
  }
}

/* Ensure text readability */
strong {
  font-weight: 600;
  color: #1f2937;
}

em {
  font-style: italic;
  color: #374151;
}

/* Link styling */
a {
  color: steelblue;
  text-decoration: underline;
}

a:hover {
  color: blue;
}
