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

/* Color variables */
:root {
  --sunset-orange: #FF6B35;
  --midnight-blue: #003566;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #2d3748;
  --text-light: #718096;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Onest', sans-serif !important;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
}

/* Reset list styles */
ul, ol {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Navbar lists - no markers, no pseudo-elements */
.navbar ul,
.navbar ol,
.navbar li,
footer ul,
footer ol,
footer li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

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

/* Content lists - styled with square markers */
.content ul {
  margin-left: 2rem !important;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.content ul li {
  position: relative;
  padding-left: 1.5rem !important;
  margin-bottom: 0.75rem !important;
  list-style: none !important;
}

.content ul li::marker {
  display: none !important;
}

.content ul li::before {
  content: "■" !important;
  position: absolute;
  left: 0;
  color: var(--midnight-blue) !important;
  font-size: 0.8em !important;
}

.content ol {
  margin-left: 2rem !important;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
  counter-reset: item;
}

.content ol li {
  position: relative;
  padding-left: 2rem !important;
  margin-bottom: 0.75rem !important;
  list-style: none !important;
  counter-increment: item;
}

.content ol li::marker {
  display: none !important;
}

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

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

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

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

p {
  font-size: 18px !important;
  margin-bottom: 1.25rem !important;
  color: var(--text-dark);
}

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

/* Navbar */
.navbar {
  background-color: var(--white) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0 !important;
}

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

.navbar-brand .logo {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.navbar-brand .logo:hover {
  transform: rotate(15deg);
}

.navbar-brand .brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--midnight-blue);
  text-decoration: none;
}

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

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

.navbar-item:hover {
  color: var(--sunset-orange) !important;
}

.navbar-item.cta-button {
  background-color: transparent !important;
  border: 2px solid var(--sunset-orange) !important;
  color: var(--sunset-orange) !important;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar-item.cta-button:hover {
  background-color: var(--sunset-orange) !important;
  color: var(--white) !important;
}

.navbar-burger {
  color: var(--midnight-blue);
}

/* Hero Section */
.hero {
  position: relative !important;
  background: linear-gradient(135deg, var(--midnight-blue) 0%, #004d84 100%) !important;
  padding: 6rem 1.5rem !important;
  overflow: hidden !important;
}

.hero::before {
  content: "" !important;
  position: absolute !important;
  top: -50% !important;
  right: -10% !important;
  width: 600px !important;
  height: 600px !important;
  background-color: rgba(255, 107, 53, 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: 400px !important;
  height: 400px !important;
  background-color: rgba(255, 107, 53, 0.15) !important;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%) !important;
  z-index: 0 !important;
}

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

.hero .title {
  color: var(--white) !important;
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
}

.hero .subtitle {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  margin-bottom: 2rem !important;
  max-width: 800px !important;
}

.hero .button {
  background-color: transparent !important;
  border: 2px solid var(--sunset-orange) !important;
  color: var(--sunset-orange) !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.hero .button:hover {
  background-color: var(--sunset-orange) !important;
  color: var(--white) !important;
  transform: translateY(-2px) !important;
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.section:nth-child(even) {
  background-color: var(--light-bg);
}

.section:nth-child(odd) {
  background-color: var(--white);
}

/* Cards */
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  background-color: var(--white);
}

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

.card-content {
  padding: 2rem;
}

.card-header {
  background-color: var(--midnight-blue);
  color: var(--white);
  padding: 1.5rem;
}

.card-header-title {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 1.5rem;
}

/* Images */
.section img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
}

.section img:hover {
  transform: scale(1.02);
}

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

.table {
  width: 100%;
  background-color: var(--white);
  border-collapse: collapse;
}

.table thead {
  background-color: var(--midnight-blue);
}

.table thead th {
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 1rem !important;
  text-align: left;
  font-size: 1rem !important;
  white-space: nowrap;
}

.table tbody td {
  padding: 1rem !important;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1rem !important;
  color: var(--text-dark);
}

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

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

/* Conversion buttons in content */
.cta-button-content {
  display: inline-block;
  background-color: transparent !important;
  border: 2px solid var(--sunset-orange) !important;
  color: var(--sunset-orange) !important;
  padding: 0.75rem 2rem;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  border-radius: 4px;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer;
  margin: 1rem 0;
}

.cta-button-content:hover {
  background-color: var(--sunset-orange) !important;
  color: var(--white) !important;
  transform: translateY(-2px) !important;
}

/* Footer */
.footer {
  background-color: var(--midnight-blue) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 3rem 1.5rem 2rem !important;
}

.footer h4 {
  color: var(--white) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
}

.footer p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1rem !important;
}

.footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--sunset-orange) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9rem !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeIn 0.6s ease-out;
}

/* Icons (Bootstrap Icons colors) */
.icon {
  color: var(--sunset-orange);
}

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

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

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

  .hero .title {
    font-size: 2.75rem !important;
  }
}

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

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

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

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

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

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

  .section {
    padding: 3rem 1.5rem;
  }

  .table-container {
    margin: 1.5rem -1.5rem;
  }
}

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

  p {
    font-size: 16px !important;
  }

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

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

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

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

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

  .navbar-brand .brand-name {
    font-size: 1.25rem;
  }
}
