/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header and Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e6e6e6;
}

.top-bar .freepix-logo {
  height: 70px;
  width: 80px;
  max-width: 120px;
}

.top-bar .right a {
  text-decoration: none;
  color: #ffffff;
  padding: 10px 20px;
  background-color: #002a80;
  border-radius: 5px;
  margin-left: 10px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.top-bar .right a:hover {
  background-color: #001f5b;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #0078d7, #002a80);
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.hero-content {
  max-width: 500px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 20px;
  margin-top: 10px;
}

.hero-content img {
  max-width: 80%;
  height: auto;
  margin-top: 20px;
  border-radius: 10px;
}

/* Solutions Section */
.solutions {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.solutions h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.solutions p {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 30px;
}

.solution-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: white;
  border: 1px solid #e6e6e6;
  padding: 15px;
  border-radius: 5px;
  width: 280px;
  text-align: center;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  color: #002a80;
}

.card p {
  font-size: 14px;
  color: #666;
}

.card img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 10px;
}

/* Features Section */
.features {
  padding: 50px 20px;
  background-color: #fff;
}

.features h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
  color: #002a80;
}

.features p {
  text-align: center;
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-item {
  flex: 1 1 300px;
  max-width: 360px;
  text-align: left;
  background: #fff;
  padding: 20px;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.feature-item h3 {
  font-size: 20px;
  color: #0078d7;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item p {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.6;
}

.feature-item ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #555;
  margin-top: 10px;
}

.feature-item ul li {
  margin-bottom: 5px;
}

/* Call to Action */
.cta {
  text-align: center;
  margin-top: 40px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 20px;
}

.cta-button {
  text-decoration: none;
  background-color: #0078d7;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #005bb5;
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  padding: 25px 20px;
  text-align: center;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-size: 12px;
}

footer a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-bottom: 10px;
}

.social-icons a {
  color: #fff;
  margin: 0 8px;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ddd;
}

/* Media Queries */
@media (max-width: 768px) {
  .solution-cards,
  .related-cards,
  .feature-list {
    flex-direction: column;
    align-items: center;
  }

  .top-bar {
    flex-direction: column;
    padding: 10px;
  }

  .top-bar .right {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-content img {
    max-width: 90%;
  }
}
