/* Standard TokeNER styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #e0f2f1; /* Dark Grey Background */
  color: #f5f5f5; /* Light Text for Contrast */
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header Styles */
header {
  background-color: #e0f2f1;
  color: #178c90;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 50px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #808080;
  font-weight: bold;
  transition: color 0.3s;
  position: relative; /* Added to position the ::after pseudo-element correctly */
}

nav a:hover {
  color: #178c90;
}

/* Active Navigation Link */
nav a.active {
  color: #178c90;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #178c90;
}

/* Hero Section */
.hero {
  background-color: #e0f2f1; /* Mid Grey Background */
  min-height: 60vh; /* Reduced from 100vh to 60vh */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px; /* Adjusted to prevent overlap with fixed header */
  padding: 20px; /* Increased padding for better spacing */
  position: relative;
}
/* FAQ Section */
.faq {
  background-color: #e0f2f1; /* Slightly Lighter Dark for Contrast */
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-content {
  max-width: 800px;
  width: 100%;
}

.faq-content h2 {
  color: #178c90;
  margin-bottom: 30px;
  text-align: center;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  color: #178c90;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
}

.faq-item h3::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s;
}

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

.faq-item p {
  display: none;
  color: #808080;
  padding-left: 10px;
}

.faq-item.active p {
  display: block;
}

/* Optional: If you want to add a semi-transparent overlay over the hero image */
/* .hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 1;
} */

.hero-content {
  text-align: center;
  color: #178c90;
  max-width: 800px;
  padding: 20px;
  position: relative;
  z-index: 2; /* Ensure content is above any overlay */
}

.hero-content img {
  max-width: 80%; /* Reduced from 100% to 80% */
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px; /* Optional: Adds rounded corners to the image */
}

.hero-content h1 {
  font-size: 2.5em; /* Reduced from 3em */
  margin-bottom: 10px; /* Reduced bottom margin */
}

.hero-content p {
  font-size: 1em; /* Reduced from 1.2em */
  margin-bottom: 20px; /* Reduced bottom margin */
}

.hero-content a.button {
  padding: 10px 25px; /* Reduced padding */
  background-color: #178c90;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.hero-content a.button:hover {
  background-color: #143560;
  color: #fff;
}

/* Features Section */
.features {
  padding: 60px 40px;
  background-color: #21a7a9; /* Slightly Lighter Dark for Contrast */
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.feature {
  flex: 1 1 300px;
  background-color: #e0f2f1; /* Darker Shade for Feature Cards */
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.feature img {
  height: 80px;
  margin-bottom: 20px;
}

.feature h3 {
  margin-bottom: 15px;
  color: #7bd6d4;
}

.feature p {
  font-size: 0.95em;
  color: #ddd;
}

/* Testimonials Section */
.testimonials {
  padding: 60px 40px;
  background-color: #1c1c1c; /* Consistent Dark Background */
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 10px;
  color: #16b4a4;
}

.testimonial {
  max-width: 600px;
  margin: 0 auto 30px auto;
  background-color: #333;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.testimonial::before {
  content: "“";
  font-size: 3em;
  color: #16b4a4;
  position: absolute;
  top: -10px;
  left: 20px;
}

.testimonial p {
  font-style: italic;
  color: #ddd;
}

.testimonial .author {
  margin-top: 15px;
  font-weight: bold;
  color: #fff;
}

/* Footer */
footer {
  background-color: #143560;
  color: #fff;
  text-align: center;
  padding: 20px 40px;
  position: relative;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d1f2ea;
}

.footer-bottom {
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 2em; /* Further reduced for smaller screens */
  }

  .hero-content p {
    font-size: 0.95em; /* Adjusted for readability */
  }

  .features {
    padding: 40px 20px;
  }

  .feature {
    flex: 1 1 100%;
  }
}