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

:root {
  --primary-color: #4CAF50;
  --accent-color: #FFC107;
  --neutral-dark: #757575;
  --neutral-light: #E8F5E9;
  --white: #FFFFFF;
  --black: #212121;
  --gray-light: #F5F5F5;
  --gray-medium: #EEEEEE;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Lora', serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 1rem;
}

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

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--neutral-dark);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

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

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
section {
  padding: 100px 0;
  border-bottom: 1px solid var(--gray-medium);
}

section:nth-child(even) {
  background-color: var(--gray-light);
}

section.hero {
  padding: 120px 2rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--neutral-light) 100%);
  border-bottom: none;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

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

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

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

.card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: var(--gray-light);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.card-content p {
  font-size: 0.95rem;
  color: var(--neutral-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background-color: #45a049;
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
}

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

.btn-secondary:hover {
  background-color: #ffc107;
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.3);
}

/* Forms */
form {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--gray-light);
  border-radius: 8px;
}

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

label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  font-family: 'Lora', serif;
  border: 1px solid var(--neutral-light);
  border-radius: 4px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--neutral-dark);
  margin: 1rem 0;
  padding: 1rem;
  background-color: var(--white);
  border-left: 3px solid var(--primary-color);
  border-radius: 4px;
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 4rem 2rem 2rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

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

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

.footer-section h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

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

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

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

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

.footer-section p {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
  padding-top: 2rem;
}

.footer-bottom {
  text-align: center;
  color: #BDBDBD;
  font-size: 0.85rem;
}

.educational-disclaimer {
  background-color: var(--neutral-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid var(--primary-color);
  color: var(--neutral-dark);
  font-size: 0.95rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--black);
  color: var(--white);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  max-width: 100%;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: max-content;
}

.cookie-btn {
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

.cookie-btn-accept:hover {
  background-color: #45a049;
}

.cookie-btn-decline {
  background-color: var(--gray-medium);
  color: var(--black);
}

.cookie-btn-decline:hover {
  background-color: #BDBDBD;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

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

  .header-content {
    padding: 1rem 1.5rem;
  }

  section {
    padding: 60px 0;
  }

  section.hero {
    padding: 80px 1.5rem;
  }

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }

  form {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

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

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

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  .header-content {
    padding: 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  nav ul {
    gap: 0.8rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  section {
    padding: 40px 1rem;
  }

  section.hero {
    padding: 60px 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .cookie-content {
    padding: 0;
  }

  .cookie-text {
    font-size: 0.8rem;
  }

  .cookie-buttons {
    gap: 0.5rem;
  }
}
