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

:root {
  --color-primary: #ADD8E6;
  --color-accent1: #5F9EA0;
  --color-accent2: #98FB98;
  --color-accent3: #FFD700;
  --color-dark: #1a1a1a;
  --color-light: #f8f8f8;
  --color-white: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lora', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
}

header {
  position: sticky;
  top: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid #eee;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent1);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  font-family: var(--font-heading);
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--color-accent1);
}

main {
  min-height: calc(100vh - 200px);
}

section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hero {
  background: linear-gradient(rgba(173, 216, 230, 0.8), rgba(95, 158, 160, 0.8)), url('images/hero-bg.jpg') center/cover no-repeat;
  color: var(--color-white);
  text-align: center;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.hero h1 {
  color: var(--color-white);
  font-size: 4rem;
}

.hero p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.95);
  max-width: 600px;
  margin: 1rem auto 0;
}

.disclaimer-banner {
  background-color: var(--color-accent2);
  color: var(--color-dark);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 2rem;
}

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

.two-column img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

table th {
  background-color: var(--color-accent1);
  color: var(--color-white);
  padding: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

table tr:hover {
  background-color: rgba(173, 216, 230, 0.2);
}

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

.card {
  background: var(--color-light);
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--color-accent1);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--color-accent1);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #4a7f89;
}

.btn-secondary {
  background-color: var(--color-accent2);
  color: var(--color-dark);
}

.btn-secondary:hover {
  background-color: #7ee67e;
}

.faq {
  background-color: var(--color-light);
  padding: 2rem;
  border-radius: 8px;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-accent1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  color: var(--color-dark);
}

.faq-answer.show {
  display: block;
}

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

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

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-accent1);
  box-shadow: 0 0 0 3px rgba(95, 158, 160, 0.1);
}

.form-disclaimer {
  background-color: #fff3cd;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border-left: 4px solid var(--color-accent3);
}

footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.footer-section p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

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

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

.policy-link {
  cursor: pointer;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.policy-link:hover {
  color: var(--color-accent2);
}

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

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

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  z-index: 1500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  white-space: nowrap;
}

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

.cookie-accept:hover {
  background-color: #4a7f89;
}

.cookie-reject {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.cookie-reject:hover {
  background-color: rgba(255,255,255,0.1);
}

.cookie-more {
  background-color: var(--color-accent3);
  color: var(--color-dark);
}

.cookie-more:hover {
  background-color: #f0c000;
}

.success-message {
  display: none;
  background-color: #d4edda;
  color: #155724;
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.success-message.show {
  display: block;
}

.education-notice {
  background-color: var(--color-primary);
  color: var(--color-dark);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.restriction-block {
  background-color: #f0f0f0;
  border-left: 4px solid var(--color-accent1);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
    justify-content: center;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    padding: 3rem 1rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .cookie-btn {
    flex: 1;
    min-width: 100px;
  }

  nav a {
    font-size: 0.85rem;
  }
}

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

  h2 {
    font-size: 1.3rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  nav ul {
    gap: 0.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .modal-content {
    margin: 1rem;
  }
}
