* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f8f8f8;
}

header .logo {
  max-width: 200px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
}
.cta-button {
  background-color: #dd1e26;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 20px; /* Add spacing above the button */
  display: inline-block; /* Ensure it behaves like a block-level element */
  border-radius: 5px;
}

.cta-buttons {
  display: flex;
  border: 1px solid #fff;
  gap: 10px;
  cursor: pointer;
  padding: 10px 20px;
  background-color: #dd1e26;
  color: white;
  border: none;
}

.cta-buttons .login {
  border: 1px solid #333;
  padding: 10px 20px;
  background-color: transparent;
  color: #333;
  cursor: pointer;
}

.cta-buttons .request-demo {
  padding: 10px 20px;
  background-color: #dd1e26;
  color: white;
  border: none;
  cursor: pointer;
}

.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
  text-align: center;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  /* Slight dark overlay */
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
  font-size: 1.2rem;
  max-width: 800px;
}

.trust-section {
  padding: 50px 20px;
  text-align: center;
}

.logo {
  max-width: 200px;
}

.logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  filter: grayscale(100%);
}

.feature {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.feature-header {
  text-align: center;
  padding: 40px;
  
}

.feature-header h2{
  color: #ff2e31;
  font-size: 3.2rem;
}

.feature-header p{

  font-size: 1.25rem;
}

.feature-row {
  display: flex;
  flex: 1;
  width: 100%;
  max-height: 500px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background-color: #333;

}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  text-align: left;
}

.feature-text-content {
  color: white;
  padding: 40px;
}

.feature-text-content h1 {
  font-size: 3.5rem;
  color: #ff2e31;
}


.feature-image {
  flex: 1;
  text-align: center;
  overflow: hidden;
  /* Ensures no overflow */
}

.feature-image img {
  width: 50vw;
  /* 50% of the viewport width */
  object-fit: cover;
  /* Ensures the image covers the container without distortion */
}

.cta-banner {
  background-color: #d9262a;
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-banner .cta-buttons {
  justify-content: center;
}

footer {
  background-color: #f8f8f8;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-container {
  flex: 1;
  text-align: left;
}

.footer-logo {
  max-width: 150px;
}

.footer-links,
.footer-social {
  flex: 1;
  text-align: center;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.footer-social ul li {
  margin: 5px 0;
}

.footer-links ul li a,
.footer-social ul li a {
  text-decoration: none;
  color: #333;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom ul {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
}

.footer-bottom ul li a {
  text-decoration: none;
  color: #333;
}

.learn-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff4d00;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.learn-more-btn:hover {
  background-color: #e04300;
}

/* General mobile styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    height: 60vh; /* Adjust hero height for smaller screens */
  }

  .hero h1 {
    font-size: 2rem; /* Smaller font size for hero text */
  }

  .feature-row {
    flex-direction: column; /* Stack feature rows vertically */
    max-height: unset; /* Remove height restriction */
  }

  .feature-text, .feature-image {
    flex: unset; /* Remove flex constraints */
    width: 100%; /* Full width for both text and image */
    text-align: center; /* Center-align text */
  }

  .feature-text-content {
    padding: 20px; /* Reduce padding for smaller screens */
  }

  .feature-image img {
    width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
  }

  footer ul {
    flex-direction: column; /* Stack footer links vertically */
    gap: 10px;
  }

  .feature-row.reverse {
    flex-direction: column; /* Revert to default stacking vertically */
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

.faq {
  padding: 20px;
}

.faq-header h2 {
  text-align: center;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  background-color: #f8f8f8;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
}

.faq-question:hover {
  background-color: #ddd;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 15px;
}

.faq-answer p {
  margin: 15px 0;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  position: relative;
  padding: 10px 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #d9262a; /* Change text color on hover */
}

nav ul li a::before,
nav ul li a::after {
  content: '';
  position: absolute;
  background-color: #d9262a; /* Red color for the borders */
  transition: width 0.3s ease;
}

nav ul li a::before {
  height: 100%;
  width: 3px; /* Left border width */
  top: 0;
  left: 0;
}

nav ul li a::after {
  height: 3px; /* Bottom border height */
  width: 0;
  bottom: 0;
  left: 0;
}

nav ul li a:hover::after {
  width: 100%; /* Expand bottom border on hover */
}

ul {
  list-style-type: disc; /* Use dots as list markers */
  padding-left: 20px; /* Add padding to align the text */
}

ul li::marker {
  color: #d9262a; /* Set the color of the dots and text to red */
  margin-bottom: 10px; /* Add spacing between list items */
}