/* Google Fonts are imported in HTML, but here for reference/consistency */
/* @import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); */

/* Global Styles */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(to top, rgba(43, 105, 183, 1) 0%, rgba(31, 76, 132, 0.65) 50%);
  background-color: #020916; /* Fallback */
  color: #fff;
  line-height: 1.6;
  min-height: 100vh; /* Ensure body takes full viewport height */
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 900px; /* Slightly wider for better content flow */
  margin: 0 auto;
  padding: 0 20px; /* Consistent padding */
}

a {
  color: #51ed67; /* Link color consistent with accent */
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: #6eff7c; /* Slightly brighter on hover */
}

strong {
  color: #51ed67; /* Accent color for strong text */
}

/* Header Styles */
.main-header {
  background: #0f1622;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Space out logo, title, and nav */
  gap: 15px; /* Space between items */
}

.main-header .logo {
  width: 50px;
  height: 50px;
  display: block; /* Ensure no extra space below image */
}

.main-header h1 {
  margin: 0;
  font-size: 1.8em;
  text-transform: uppercase;
  color: #fff;
  flex-grow: 1; /* Allow title to take available space */
  text-align: center; /* Center align title */
}

/* Navigation Styles */
.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* Horizontal nav */
  gap: 20px;
}

.main-nav a {
  color: #fff;
  font-weight: 600;
  padding: 5px 0;
  position: relative; /* For underline effect */
}

.main-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #51ed67;
  transition: width 0.3s ease-in-out;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Main Content Area */
main {
  flex: 1; /* Allow main content to grow and push footer down */
  padding-top: 30px;
  padding-bottom: 30px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 20px 0 40px;
  background: linear-gradient(to top, rgba(43, 105, 183, 0.2) 0%, rgba(31, 76, 132, 0.1) 50%); /* Subtle gradient */
  margin-bottom: 30px;
  border-radius: 8px; /* Slightly rounded corners */
}

.hero-section .hero-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .hero-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 1em auto 2em;
  color: #e0e0e0;
}

.hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 8px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* CTA Button Styles */
.cta-button {
  display: inline-flex; /* Use flexbox for centering text/icon */
  align-items: center;
  justify-content: center;
  width: 300px;
  max-width: 90%; /* Responsive width */
  font-size: 1.1em;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  margin: 20px auto;
  height: 55px;
  border: none;
  background-image: linear-gradient(to right, #51ed67, #4ad85e, #43c355, #3cae4c);
  background-size: 300% 100%;
  border-radius: 50px;
  transition: all 0.4s ease-in-out;
  text-decoration: none;
  box-shadow: 0 4px 15px 0 rgba(81, 237, 103, 0.75);
}

.cta-button:hover {
  background-position: 100% 0;
  transform: translateY(-3px); /* More pronounced lift */
}

.cta-button:focus {
  outline: none;
}

.final-call-to-action {
  font-size: 1.2em;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

/* Section General Styling */
section {
  background-color: #1a2233; /* Dark background for sections */
  margin-bottom: 30px;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

h2,
h3 {
  font-family: "DM Sans", sans-serif;
  color: #51ed67; /* Accent color for headings */
  margin-top: 0; /* Remove top margin from sections */
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(81, 237, 103, 0.25);
  text-align: left; /* Default to left aligned */
}

h2 {
  font-size: 2.2em;
}

h3 {
  font-size: 1.6em;
}

/* Blockquote/Testimonial */
blockquote.testimonial {
  background-color: #0f1622;
  color: #fff;
  padding: 20px;
  border-left: 5px solid #51ed67;
  margin: 25px 0;
  font-style: italic;
  border-radius: 4px;
  font-size: 1.1em;
}

blockquote.testimonial p {
  margin-bottom: 10px;
}

blockquote.testimonial cite {
  display: block;
  text-align: right;
  font-size: 0.9em;
  color: #aaa;
  font-style: normal;
}

/* Styled Lists */
ul.styled-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}

ul.styled-list li {
  margin-bottom: 10px;
  padding-left: 30px; /* Space for custom bullet */
  position: relative;
}

/* Custom bullet points */
ul.styled-list.checkmark-list li::before {
  content: "✔️"; /* Checkmark */
  position: absolute;
  left: 0;
  top: 0;
}

ul.styled-list.bullet-list li::before {
  content: "•"; /* Simple bullet */
  color: #51ed67;
  font-size: 1.5em;
  position: absolute;
  left: 5px;
  top: -5px;
}

ul.styled-list.star-list li::before {
  content: "⭐"; /* Star */
  position: absolute;
  left: 0;
  top: 0;
}

/* FAQ List (Definition List) */
dl.faq-list {
  margin-top: 20px;
  margin-bottom: 20px;
}

dl.faq-list dt {
  font-weight: bold;
  color: #51ed67;
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 1.1em;
}

dl.faq-list dd {
  margin-left: 0;
  padding-left: 20px;
  border-left: 3px solid rgba(81, 237, 103, 0.2);
  margin-bottom: 15px;
}

/* Responsive Table */
.table-responsive {
  width: 100%;
  overflow-x: auto; /* Enable horizontal scrolling on small screens */
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1e1e1e;
  color: #ffffff;
  min-width: 600px; /* Ensure table doesn't shrink too much */
}

th,
td {
  padding: 12px;
  border: 1px solid #2e2e2e;
  text-align: left;
}

th {
  background-color: #2b2b2b;
  color: #00ff99;
}

td {
  color: #e6e6e6;
}

tr:hover {
  background-color: #333333;
}

/* Footer */
.main-footer {
  background: #0f1622;
  color: #bbb;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9em;
  margin-top: auto; /* Push footer to the bottom */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .main-header h1 {
    font-size: 1.5em;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .hero-section .hero-title {
    font-size: 2em;
  }

  .cta-button {
    width: 90%;
    font-size: 1em;
    height: 50px;
  }

  section {
    padding: 20px;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 1.8em;
  }

  h3 {
    font-size: 1.4em;
  }

  ul.styled-list li {
    padding-left: 25px; /* Adjust for smaller screens */
  }

  .table-responsive {
    overflow-x: auto;
  }

  table {
    width: 100%;
    border: 0;
    min-width: unset; /* Remove min-width on small screens */
  }

  table thead {
    display: none;
  }

  table tr {
    margin-bottom: 10px;
    display: block;
    border-bottom: 2px solid #2e2e2e;
  }

  table td {
    display: block;
    text-align: right;
    font-size: 13px;
    border-bottom: 1px dotted #2e2e2e;
    position: relative;
    padding-left: 50%;
  }

  table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 45%;
    padding-left: 15px;
    font-weight: bold;
    text-align: left;
    color: #00ff99;
  }
}

@media (max-width: 480px) {
  .main-header h1 {
    font-size: 1.2em;
  }
  .hero-section .hero-title {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.5em;
  }
  h3 {
    font-size: 1.2em;
  }
  section {
    padding: 15px;
  }
}
