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

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

:root {
  --primary-color: deepskyblue;
  --accent-color: #fbbf24;
  --text-dark: #1f2937;
  --text-light: #ffffff;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
}

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

/* Typography */
h1 {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
  color: var(--text-dark) !important;
}

h2 {
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin-top: 3rem !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.3 !important;
  color: var(--text-dark) !important;
}

h3 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
  line-height: 1.4 !important;
  color: var(--text-dark) !important;
}

p {
  margin-bottom: 1.25rem !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
}

strong {
  font-weight: 600 !important;
  color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
  background-color: var(--bg-white) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

.navbar-brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.brand-logo {
  width: 40px !important;
  height: 40px !important;
}

.brand-name {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
}

.navbar-menu {
  list-style: none !important;
}

.navbar-menu::before,
.navbar-menu::after {
  display: none !important;
}

.navbar-item {
  list-style: none !important;
}

.navbar-item::before,
.navbar-item::after {
  display: none !important;
}

.navbar-link {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
  text-decoration: none !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease !important;
  display: block !important;
}

.navbar-link:hover {
  color: var(--primary-color) !important;
  background-color: transparent !important;
}

.navbar-burger {
  color: var(--text-dark) !important;
}

/* Hero Section */
.hero {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  padding: 6rem 1.5rem !important;
  margin-bottom: 3rem !important;
}

.hero::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.85) 0%, rgba(251, 191, 36, 0.75) 100%) !important;
  z-index: 1 !important;
}

.hero-body {
  position: relative !important;
  z-index: 2 !important;
}

.hero h1 {
  color: var(--text-light) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
  font-size: 3rem !important;
  margin-bottom: 1.5rem !important;
}

.hero-subtitle {
  color: var(--text-light) !important;
  font-size: 1.25rem !important;
  margin-bottom: 2rem !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
  line-height: 1.6 !important;
}

/* Buttons */
.button {
  font-family: 'Onest', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.button.is-primary {
  background-color: var(--accent-color) !important;
  color: var(--text-dark) !important;
}

.button.is-primary:hover {
  background-color: #f59e0b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4) !important;
}

.button.is-large {
  padding: 1rem 2.5rem !important;
  font-size: 1.2rem !important;
}

/* Sections */
.section {
  padding: 3rem 1.5rem !important;
}

.container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

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

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

.card-content {
  padding: 0 !important;
}

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

.content ul li,
.content ol li {
  position: relative !important;
  padding-left: 2rem !important;
  margin-bottom: 1rem !important;
  list-style: none !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
}

.content ul li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.6rem !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 8px solid var(--accent-color) !important;
  border-top: 5px solid transparent !important;
  border-bottom: 5px solid transparent !important;
}

.content ol {
  counter-reset: custom-counter !important;
}

.content ol li {
  counter-increment: custom-counter !important;
}

.content ol li::before {
  content: counter(custom-counter) !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  background-color: var(--accent-color) !important;
  color: var(--text-dark) !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}

/* Remove markers from navbar and footer */
.navbar ul,
.navbar ol,
.navbar li,
.footer ul,
.footer ol,
.footer li {
  list-style: none !important;
}

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

/* Tables */
.table-container {
  overflow-x: auto !important;
  margin-bottom: 2rem !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

table {
  width: 100% !important;
  border-collapse: collapse !important;
  background-color: var(--bg-white) !important;
  font-size: 18px !important;
}

thead {
  background-color: var(--primary-color) !important;
}

thead th {
  color: var(--text-light) !important;
  font-weight: 600 !important;
  padding: 1rem !important;
  text-align: left !important;
  font-size: 1.1rem !important;
}

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

tbody tr:hover {
  background-color: #f3f4f6 !important;
}

tbody td {
  padding: 1rem !important;
  font-size: 18px !important;
}

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

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

/* Icons */
.icon {
  color: var(--primary-color) !important;
  font-size: 1.5rem !important;
  margin-right: 0.5rem !important;
}

/* Footer */
.footer {
  background-color: #1f2937 !important;
  color: var(--text-light) !important;
  padding: 3rem 1.5rem 2rem !important;
  margin-top: 4rem !important;
}

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

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

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

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

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

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

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

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

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

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem !important;
  }

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

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

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

@media screen and (max-width: 768px) {
  body {
    font-size: 17px !important;
  }

  .hero {
    padding: 4rem 1.5rem !important;
  }

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

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

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

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

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

  .section {
    padding: 2rem 1rem !important;
  }

  .card {
    padding: 1.5rem !important;
  }

  .footer-columns {
    grid-template-columns: 1fr !important;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 16px !important;
  }

  .hero {
    padding: 3rem 1rem !important;
  }

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

  .hero-subtitle {
    font-size: 1rem !important;
  }

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

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

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

  .button {
    font-size: 1rem !important;
    padding: 0.65rem 1.5rem !important;
  }

  .button.is-large {
    font-size: 1.1rem !important;
    padding: 0.85rem 2rem !important;
  }

  tbody td, thead th {
    padding: 0.75rem !important;
    font-size: 16px !important;
  }
}

/* Utility Classes */
.has-text-centered {
  text-align: center !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}
