:root {
  --primary: #4CAF50;
  --accent-yellow: #FFC107;
  --accent-blue: #2196F3;
  --accent-pink: #E91E63;
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --gray: #757575;
  --border: #e0e0e0;
}

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

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

body {
  background: white;
  overflow-x: hidden;
}

/* HEADER */
header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

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

.logo:hover {
  color: var(--accent-yellow);
}

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

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

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

/* MAIN CONTENT */
main {
  margin-top: 80px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/hero-bg.jpg') center/cover;
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 700px;
  z-index: 10;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* SECTIONS */
section {
  padding: 80px 0;
  position: relative;
}

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

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

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: var(--dark);
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #555;
}

/* TWO COLUMN LAYOUT */
.section-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-two-col img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section-two-col.reverse {
  direction: rtl;
}

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

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary);
}

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

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

.card-content {
  padding: 2rem;
}

.card h3 {
  margin-top: 0;
  color: var(--primary);
}

/* TIMELINE */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  padding-left: 3rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: calc(100% + 2rem);
  background: var(--border);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-item h3 {
  margin-top: 0;
}

/* LIST STYLES */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1rem;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

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

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

td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

tbody tr:hover {
  background: var(--light);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
  background: var(--accent-yellow);
  color: #333;
}

.btn-secondary:hover {
  background: #ffc107cc;
}

.btn-small {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
}

/* DISCLAIMER BOX */
.disclaimer-box {
  background: #fff3cd;
  border-left: 4px solid var(--accent-yellow);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-box strong {
  color: var(--dark);
}

/* FORM */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

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

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

input, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

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

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

/* FOOTER */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

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

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

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

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.education-notice {
  color: var(--accent-yellow);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  z-index: 999;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  display: none;
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  color: #555;
}

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

.cookie-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

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

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

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

.cookie-btn-reject:hover {
  background: var(--light);
}

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

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

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header .container {
    padding: 0.75rem 0;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }

  nav ul.show {
    display: flex;
  }

  nav a {
    padding: 0.75rem 2rem;
    display: block;
  }

  .mobile-menu-toggle {
    display: block;
  }

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

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

  .hero p {
    font-size: 1rem;
  }

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

  .section-two-col.reverse {
    direction: ltr;
  }

  h2 {
    font-size: 1.8rem;
  }

  section {
    padding: 50px 0;
  }

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

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

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

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