:root {
  --primary-color: #4CAF50;
  --primary-dark: #388E3C;
  --text-dark: #2C2C2C;
  --text-light: #666666;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --border-color: #E8E8E8;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header .navbar {
  padding: 0.5rem 0;
}

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

.header .navbar-brand:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.header .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: var(--transition);
  font-size: 1rem;
}

.header .nav-link:hover {
  color: var(--primary-color);
}

.hero-section {
  margin-top: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
  padding: 100px 0;
  position: relative;
}

.hero-content {
  z-index: 2;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  padding: 100px 0;
}

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

.content-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.content-image-left {
  float: left;
  max-width: 45%;
  margin: 0 2rem 2rem 0;
}

.content-image-right {
  float: right;
  max-width: 45%;
  margin: 0 0 2rem 2rem;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--bg-white);
  text-decoration: none;
}

.card-custom {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.table-custom {
  width: 100%;
  margin: 2rem 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-custom thead {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.table-custom th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.table-custom td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-white);
}

.table-custom tbody tr:last-child td {
  border-bottom: none;
}

.table-custom tbody tr:hover {
  background-color: var(--bg-light);
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.8;
}

.disclaimer-box {
  background: #FFF9E6;
  border-left: 4px solid #FFC107;
  padding: 2rem;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
}

.contact-form {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-control-custom {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.footer {
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer h3 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: var(--bg-white);
  border-radius: var(--radius);
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-dark);
}

.success-message {
  display: none;
  background: #D4EDDA;
  color: #155724;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid #C3E6CB;
}

.education-notice {
  background: var(--bg-light);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.education-notice p {
  margin: 0;
  color: var(--text-dark);
  font-weight: 600;
}

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .section {
    padding: 60px 0;
  }

  .hero-section {
    padding: 60px 0;
    min-height: auto;
  }

  .content-image-left,
  .content-image-right {
    float: none;
    max-width: 100%;
    margin: 0 0 2rem 0;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .modal-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .cookie-banner {
    padding: 1rem;
  }

  .btn-primary-custom {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}
