@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --primary-color: #2E86C1;
  --accent-yellow: #F5B041;
  --accent-green: #28B463;
  --accent-purple: #AF7AC5;
  --dark-text: #1A1A1A;
  --light-text: #FFFFFF;
  --light-bg: #F8F9FA;
  --border-color: #E0E0E0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-text);
  background-color: #FFFFFF;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--light-text);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

h3 {
  font-size: 1.35rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--dark-text);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-nav .nav-link {
  color: var(--dark-text) !important;
  margin-left: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

main {
  margin-top: 80px;
}

.section {
  padding: 5rem 0;
  position: relative;
}

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

.section-white {
  background-color: #FFFFFF;
}

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-section {
  background: linear-gradient(135deg, rgba(46,134,193,0.7), rgba(40,180,99,0.7)), url('images/hero-landscape.jpg') center/cover;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  text-align: center;
  padding: 0;
  position: relative;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--light-text);
  margin-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.column-text h2 {
  margin-top: 0;
}

.column-image {
  position: relative;
}

.column-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: #FFFFFF;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card h3 {
  text-align: center;
}

.card-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.btn-cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: var(--primary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background-color: #245a9a;
  transform: translateY(-2px);
}

.btn-cta.secondary {
  background-color: var(--accent-green);
}

.btn-cta.secondary:hover {
  background-color: #1d8a4d;
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  text-decoration: underline;
  font-size: 1rem;
  padding: 0;
}

.btn-link:hover {
  color: #245a9a;
}

footer {
  background-color: var(--dark-text);
  color: var(--light-text);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent-yellow);
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.contact-form {
  max-width: 500px;
  margin: 2rem auto;
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.form-disclaimer {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #fff;
  border-left: 4px solid var(--accent-yellow);
  border-radius: 4px;
}

.disclaimer-block {
  background-color: var(--light-bg);
  border-left: 4px solid var(--accent-green);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-block p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #555;
}

.faq-container {
  max-width: 900px;
  margin: 2rem auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.faq-answer {
  color: #555;
  line-height: 1.6;
}

.list-features {
  list-style: none;
  margin: 1.5rem 0;
}

.list-features li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: #444;
}

.list-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
  font-size: 1.2rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  overflow: auto;
}

.modal.show {
  display: block;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-close {
  float: right;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin-left: 1rem;
}

.modal-close:hover {
  color: #245a9a;
}

.modal h2 {
  clear: both;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 3px solid var(--primary-color);
  padding: 1.5rem;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
  z-index: 999;
  display: none;
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.95rem;
  color: var(--dark-text);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--primary-color);
  color: white;
}

.cookie-accept:hover {
  background-color: #245a9a;
}

.cookie-reject {
  background-color: var(--light-bg);
  color: var(--dark-text);
  border: 2px solid var(--border-color);
}

.cookie-reject:hover {
  background-color: var(--border-color);
}

.cookie-learn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.cookie-learn:hover {
  background-color: var(--light-bg);
}

.thank-you-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  z-index: 3000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 400px;
}

.thank-you-message.show {
  display: block;
}

.thank-you-message h3 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-column.reverse {
    direction: ltr;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 60vh;
  }

  .cookie-banner {
    padding: 1rem;
  }

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

  .cookie-buttons button {
    width: 100%;
  }

  .modal-content {
    margin: 20% auto;
    width: 95%;
  }

  main {
    margin-top: 70px;
  }
}
