/* Import professional web fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
  /* Color palette */
  --primary-color: #0d6efd;
  --secondary-color: #0d2538;
  --accent-color: #17a2b8;
  --background-light: #f5f7fa;
  --text-color: #333;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.6;
}

header {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a.logo {
  font-size: 2em;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

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

nav li {
  margin-left: 20px;
}

nav a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
nav a:hover {
  color: var(--accent-color);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  background-color: var(--background-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 80px 0;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-right: 40px;
  border-radius: 8px;
  flex: 1 1 40%;
}

.hero-text {
  flex: 1 1 50%;
}

.hero-text h1 {
  font-size: 3em;
  margin-top: 0;
}

.hero-text p {
  font-size: 1.15em;
  margin-top: 15px;
  max-width: 600px;
}

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 32px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out, transform 0.2s ease;
}

.btn:hover {
  background-color: #0257c5;
  transform: translateY(-2px);
}

section {
  padding: 40px 20px;
}

.features {
  background-color: var(--background-light);
  text-align: center;
  padding: 80px 20px;
}

.features h2 {
  font-size: 2.4em;
  margin-bottom: 50px;
}

.feature-item {
  display: inline-block;
  width: 300px;
  margin: 0 20px;
  vertical-align: top;
  text-align: center;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.feature-item img {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.5em;
  margin: 10px 0;
}

.feature-item p {
  font-size: 1em;
  }

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
  nav li {
    margin-left: 0;
    margin-top: 10px;
  }
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-image {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .feature-item {
    width: 100%;
    margin: 20px 0;
  }
}

footer {
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 30px 0;
  text-align: center;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

footer li {
  margin: 0 15px;
}

footer a {
  color: #ced4da;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Cookie banner and modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  color: var(--text-color);
  border-top: 1px solid #ccc;
  padding: 15px 20px;
  display: none;
  flex-wrap: wrap;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.cookie-banner p {
  flex: 1 1 100%;
  margin: 0 0 10px 0;
}

.cookie-actions {
  flex: 1 1 100%;
}

.cookie-actions button {
  padding: 8px 16px;
  margin-right: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.cookie-actions button#accept-all {
  background-color: var(--primary-color);
  color: #fff;
}

.cookie-actions button#preferences {
  background-color: var(--secondary-color);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.cookie-modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
  max-width: 400px;
  width: 90%;
}

.cookie-modal-actions {
  margin-top: 15px;
}

.cookie-modal-actions button {
  padding: 8px 16px;
  margin-right: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-modal-actions button:first-child {
  background-color: var(--primary-color);
  color: #fff;
}

.cookie-modal-actions button:last-child {
  background-color: var(--secondary-color);
  color: #fff;
}
