:root {
  --primary-color: #2d5c5c;
  --primary-dark: #1e2337;
  --secondary-color: #ec7e12;
  --accent-blue: #57e4ff;
  --accent-yellow: #ffd200;
  --text-primary: #ffffff;
  --text-secondary: #f5f5f5;
  --background-paper: #ffffff;
  --background-default: #1a2138;
  --background-alternate: #222b45;
}

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

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background-color: var(--background-default);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.section {
  padding: 64px 0;
  margin: 0;
}

.section-alternate {
  background-color: var(--background-alternate);
}

.grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.grid-item {
  padding: 16px 16px;
}

.grid-item-6 {
  width: 100%;
}

.grid-item-4 {
  width: 100%;
}

.grid-item-3 {
  width: 100%;
}

.card {
  background-color: var(--background-alternate);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 32px;
  height: 100%;
}

.text-center {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 16px;
  font-weight: 700;
}

h2 {
  font-size: 2.6rem;
}

h3 {
  font-size: 1.75rem;
}

h6 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 16px;
}

.text-primary {
  color: var(--secondary-color);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-orange {
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  cursor: pointer;
  margin-right: 16px;
  margin-bottom: 16px;
}

.btn-primary {
  color: white;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-primary:hover {
  background-color: #e07c3a;
  border-color: #e07c3a;
}

.btn-outline {
  color: var(--secondary-color);
  background-color: transparent;
  border-color: var(--secondary-color);
}

.btn-outline:hover {
  color: var(--background-default);
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.mb-4 {
  margin-bottom: 32px;
}

.mb-3 {
  margin-bottom: 24px;
}

.mb-2 {
  margin-bottom: 16px;
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.svg-container {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Navigation Styles */
.navbar {
  background-color: #2d354e;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 16px;
}

.navbar-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  margin-right: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

.navbar-center {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 16px;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.1rem;
  padding: 8px 0;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

.navbar-right {
  display: flex;
  align-items: center;
}

.btn-login {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
  margin-top: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}

.btn-login:hover {
  background-color: #e07c3a;
}

/* Scenario specific styling */
.scenario-section {
  padding: 80px 0;
}

.scenario-card {
  background-color: #2a3a5c;
  background-image: linear-gradient(to bottom, #2a3a5c, #263452);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(87, 228, 255, 0.05);
}

.scenario-title {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.scenario-subtitle {
  color: var(--accent-blue);
  font-size: 1.3rem;
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(87, 228, 255, 0.2);
  display: inline-block;
}

.scenario-list {
  list-style: none;
  padding-left: 10px;
  margin: 20px 0;
}

.scenario-list li {
  margin-bottom: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
}

.scenario-list li span {
  color: var(--accent-blue);
  margin-right: 12px;
}

.solution-box {
  background-color: rgba(87, 228, 255, 0.12);
  border-left: 4px solid var(--accent-blue);
  padding: 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(87, 228, 255, 0.1);
}

.back-link {
  display: inline-block;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--secondary-color);
}

.back-link svg {
  margin-right: 8px;
  vertical-align: middle;
}

/* Hero section responsive styles */
.hero-svg {
  width: 280px;
  height: auto;
  max-width: 100%;
}

/* Hero section responsive styles */
.hero-section {
  padding: 40px 0 !important;
  background-color: var(--background-alternate) !important;
}

.hero-heading {
  text-align: left;
  margin-bottom: 16px;
  font-size: 3rem;
  line-height: 1.2;
}

.hero-text {
  text-align: left;
  max-width: 90%;
}

/* Additional media queries for index.html */
@media (min-width: 992px) {
  .grid-item-4 {
    width: 33.333%;
  }

  /* Specific override for the Highlights section to show 4 cards in a row */
  .highlights-section .grid-item-4 {
    width: 25%;
  }

  .feature-cards-grid {
    justify-content: space-between;
    margin: 0 -24px;
  }
}

@media (max-width: 991px) {
  .feature-cards-grid .grid-item-4 {
    width: 50%;
  }

  .feature-step {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 575px) {
  .feature-cards-grid .grid-item-4 {
    width: 100%;
  }
}

/* Responsive styles */
@media (min-width: 768px) {
  .navbar-center {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .grid-item-6 {
    width: 50%;
  }

  .grid-item-4 {
    width: 33.333%;
  }

  .grid-item-3 {
    width: 25%;
  }

  .flex-md-row {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .hero-svg {
    margin-top: 20px;
    max-width: 220px;
    height: auto;
  }

  .hero-heading {
    text-align: center !important;
    margin-bottom: 16px !important;
    font-size: 2.8rem !important;
  }

  .hero-text {
    text-align: center !important;
    max-width: 100% !important;
    margin: 0 auto 24px !important;
  }
}

.full-height {
  height: 100%;
}

.svg-container {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Footer styles */
.footer {
  background-color: #2d354e;
  padding: 40px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: 0.9rem;
  margin-bottom: 8px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-nav {
  margin-top: 16px;
  text-align: right;
}

.footer-nav a {
  color: var(--text-primary);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--secondary-color);
}

/* Additional styles for index.html */
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background-color: rgba(87, 228, 255, 0.1);
  color: var(--accent-blue);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background-color: var(--primary-color);
  color: white;
}

/* Feature cards specific styling */
.feature-cards-grid {
  justify-content: center;
}

.feature-cards-grid .text-secondary {
  padding: 0 20px;
}

/* Feature steps styling */
.feature-steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
}

.feature-step {
  display: flex;
  width: 33.333%;
  padding: 20px;
  box-sizing: border-box;
}

.step-number {
  background-color: var(--secondary-color);
  color: var(--text-primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-content h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text-primary);
}

/* Additional classes for solutions.html */
.mt-24 {
  margin-top: 24px;
}

.grid-item-third {
  width: 33.33%;
}

.w-100 {
  width: 100%;
}

/* Additional classes for index.html */
.minimal-padding {
  padding: 1px 0;
}

.padding-10 {
  padding: 10px 0;
}

.padding-5-10 {
  padding: 5px 10px;
}

.padding-10-20 {
  padding: 10px 20px;
}

.mb-0 {
  margin-bottom: 0;
}

.text-left {
  text-align: left;
}

.margin-top-20 {
  margin-top: 20px;
}

.max-width-500 {
  width: 100%;
  max-width: 500px;
}

.card-feature {
  background-color: #2a3a5c;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-padding {
  padding: 16px 24px;
}

.list-unstyled {
  list-style: none;
  text-align: left;
  padding-left: 10px;
  margin-top: 10px;
}

.list-item-spacing {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.diamond-marker {
  color: #57e4ff;
  margin-right: 8px;
}

.route-optimization-section {
  background-color: var(--primary-dark);
  padding: 60px 0;
}

.max-width-900 {
  max-width: 900px;
}

.padding-0-20 {
  padding: 0 20px;
}

.text-center-container {
  height: 100%;
  text-align: center;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 20px;
}

.centered-flex {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.learn-more-link {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 16px;
}

/* Footer styles for all pages */
.footer-grid {
  margin-bottom: 30px;
}

.footer-grid-item {
  padding: 0 16px;
}

.footer-link {
  color: var(--text-primary);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--secondary-color);
}

.footer-nav-container {
  margin-top: 16px;
}

.footer-copyright-text {
  font-size: 0.9rem;
  margin-bottom: 8px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-btn {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  margin: 0;
}

.max-width-1000 {
  max-width: 1000px;
  margin: 0 auto;
}

.text-right {
  text-align: right;
}

/* Pricing page specific styles */
.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.toggle-group {
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--secondary-color);
}

.toggle-button {
  padding: 8px 16px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.toggle-button.active {
  background-color: var(--secondary-color);
  color: var(--text-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background-color: var(--background-alternate);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.highlighted {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary-color);
}

.pricing-card-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card-title-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pricing-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0;
}

.pricing-card-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: flex;
  align-items: flex-start;
}

.pricing-card-price span {
  font-size: 1.25rem;
  margin-right: 4px;
}

.pricing-card-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 0;
}

.pricing-card-content {
  padding: 24px;
  flex-grow: 1;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-item {
  text-align: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item.not-included {
  text-decoration: line-through;
  opacity: 0.6;
}

.pricing-card-footer {
  padding: 24px;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  padding: 24px;
  background-color: var(--background-alternate);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--secondary-color);
}

.faq-answer {
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .pricing-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Hero section h1 styling */
section.section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Cost Calculator Styles */
.calculator-container {
  max-width: 1000px;
  margin: 0 auto;
}

.calculator-inputs {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.input-group {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.input-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.input-group input {
  padding: 12px 16px;
  border: 2px solid var(--background-alternate);
  border-radius: 8px;
  background-color: var(--background-default);
  color: var(--text-primary);
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.cost-section {
  margin-bottom: 48px;
}

.cost-section h3 {
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.section-description {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 14px;
  margin-bottom: 24px;
}

.cost-table {
  overflow-x: auto;
  background-color: var(--background-alternate);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cost-table table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-primary);
}

.cost-table th {
  background-color: var(--primary-dark);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--secondary-color);
}

.cost-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--background-default);
}

.cost-table tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.cost-table th:last-child,
.cost-table td:last-child {
  text-align: right;
}

.cost-table th:nth-child(2),
.cost-table td:nth-child(2) {
  text-align: right;
}

/* FAQ Styles */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--background-alternate);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-question h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  min-width: 24px;
  text-align: center;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 24px 24px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive adjustments for calculator */
@media (max-width: 768px) {
  .calculator-inputs {
    flex-direction: column;
    align-items: center;
  }

  .input-group {
    width: 100%;
    max-width: 300px;
  }

  .cost-table {
    padding: 16px;
  }

  .cost-table table {
    font-size: 14px;
  }

  .cost-table th,
  .cost-table td {
    padding: 8px 12px;
  }
}

/* ROI-style input fields for calculator */
.input-roi-style {
  margin-bottom: 0;
}
.input-roi-wrapper {
  display: flex;
  align-items: center;
  background: #232e47;
  border: 2px solid #57e4ff;
  border-radius: 16px;
  padding: 6px 18px;
  margin-top: 8px;
  width: 100%;
  max-width: 220px;
}
.input-roi {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  width: 100%;
  text-align: center;
  padding: 0;
  box-shadow: none;
  appearance: textfield;
}
.input-roi::-webkit-input-placeholder {
  color: #b0b8c9;
  opacity: 1;
}
.input-roi:-ms-input-placeholder {
  color: #b0b8c9;
  opacity: 1;
}
.input-roi::placeholder {
  color: #b0b8c9;
  opacity: 1;
}
.input-roi::-webkit-outer-spin-button,
.input-roi::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.input-roi[type="number"] {
  -moz-appearance: textfield;
}
.input-roi:focus {
  outline: none;
  border: none;
  background: #232e47;
}
.input-roi-wrapper:focus-within {
  border-color: #ffd200;
}

/* Pricing option ticks and bullets color */
li:has(> .tick-green),
li.tick-green {
  color: #4ecb71 !important;
}
li:has(> .bullet-orange),
li.bullet-orange {
  color: var(--secondary-color) !important;
}

/* For legacy HTML, target Unicode symbols directly */
li:has(> span):not(.tick-green):not(.bullet-orange) {
  /* fallback, do not override */
}

/* Unicode tick (✔) and bullet (◆) coloring for pricing cards */
li {
  /* fallback, do not override */
}
li {
  /* Green tick */
}
li:contains("✔"),
li:contains("&#10003;") {
  color: #4ecb71 !important;
}
li:contains("◆"),
li:contains("&#9670;") {
  color: var(--secondary-color) !important;
}
