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

:root {
  --primary-color: #5E8B7E;
  --accent-1: #A7C9A0;
  --accent-2: #F1DBBE;
  --accent-3: #C19B86;
  --text-dark: #1a1a1a;
  --text-light: #f5f5f5;
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --radius: 8px;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

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

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

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .navbar {
    padding: 1rem;
  }
}

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

section {
  padding: 4rem 2rem;
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 1.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-sunrise.jpg') center/cover;
  opacity: 0.7;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  color: var(--text-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 4rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.two-column.reverse {
  grid-template-columns: 1fr 1fr;
}

.two-column-text {
  padding: 2rem;
}

.two-column-image {
  overflow: hidden;
  border-radius: var(--radius);
}

.two-column-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .two-column.reverse {
    grid-template-columns: 1fr;
  }
}

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

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  text-align: center;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(94, 139, 126, 0.15);
  border-color: var(--primary-color);
}

.card-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.5rem;
  background: var(--accent-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-list {
  list-style: none;
}

.benefits-list li {
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.8;
}

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

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--bg-white);
}

thead {
  background-color: var(--primary-color);
  color: var(--text-light);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

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

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--accent-1);
}

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

.timeline-item:nth-child(odd) {
  margin-left: 0;
  margin-right: 50%;
  text-align: right;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  margin-right: 0;
  text-align: left;
  padding-left: 2rem;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid var(--bg-white);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-content {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 10px;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }
  
  .timeline-dot {
    left: 10px;
  }
}

/* Accordion */
.accordion {
  margin-top: 2rem;
}

.accordion-item {
  border: 1px solid var(--border-color);
  margin-bottom: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-header {
  background: var(--bg-light);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
  user-select: none;
}

.accordion-header:hover {
  background: var(--accent-2);
}

.accordion-header.active {
  background: var(--primary-color);
  color: var(--text-light);
}

.accordion-toggle {
  transition: transform 0.3s ease;
  font-size: 1.3rem;
}

.accordion-header.active .accordion-toggle {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-white);
}

.accordion-content.active {
  max-height: 1000px;
  padding: 1.5rem;
}

/* CTA Button */
.btn-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

.btn-cta:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-cta-secondary {
  background-color: var(--accent-1);
  border-color: var(--accent-1);
  color: var(--text-dark);
}

.btn-cta-secondary:hover {
  background-color: transparent;
  color: var(--accent-1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-1) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius);
  margin: 3rem auto;
  max-width: 800px;
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Disclaimer */
.disclaimer {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--radius);
}

.disclaimer p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* Educational Message */
.educational-message {
  background: var(--accent-2);
  color: var(--text-dark);
  text-align: center;
  padding: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

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

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

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

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

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

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

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  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(94, 139, 126, 0.1);
}

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

/* Masonry Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.masonry-item {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.masonry-item:hover {
  box-shadow: 0 8px 20px rgba(94, 139, 126, 0.12);
  border-color: var(--primary-color);
}

.masonry-item a {
  text-decoration: none;
  color: var(--text-dark);
}

.masonry-item h3 {
  margin-bottom: 0.5rem;
}

.masonry-item p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Decorative CSS Graphic */
.decorative-shape {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  margin: 2rem 0;
}

.shape-circle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(94, 139, 126, 0.15);
}

/* Background Sections */
.section-light {
  background-color: var(--bg-light);
}

.section-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-1) 100%);
  color: var(--text-light);
}

.section-primary h2,
.section-primary h3 {
  color: var(--text-light);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-muted {
  color: #666;
  font-size: 0.9rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1.5rem 2rem;
  animation: slideUp 0.4s ease-out;
}

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

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

.cookie-content p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
}

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

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

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Responsive utilities */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 2rem 1rem;
  }
}
