:root {
  --primary-green: #556B2F;
  --secondary-green: #6B8E23;
  --accent-green: #4A5D23;
  --highlight-orange: #E65100;
  --background-cream: #F5F5DC;
  --panel-gray: #F2F2F2;
  --border-gray: #CCCCCC;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-white: #FFFFFF;
  --warm-beige: #F7F3E9;
  --soft-brown: #8B7355;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--background-cream);
}

/* Navigation */
.navbar {
  background-color: var(--primary-green);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-svg {
  height: 48px;
  width: auto;
  fill: #FFFFFF;
}

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

.nav-menu a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  font-family: 'Arial', sans-serif;
}

.nav-menu a:hover {
  color: var(--background-cream);
}

.nav-menu .nav-link {
  padding: 0.4rem 0.8rem;
  border: 2px solid transparent;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-menu .nav-link:hover {
  border-color: var(--background-cream);
  background-color: rgba(255, 255, 255, 0.1);
}

/* CTA Button in navbar (smaller than hero CTA) */
.nav-menu .cta-button {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 25px;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://picsum.photos/1920/1080?random=1');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: left;
  color: var(--text-white);
  padding-top: 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><g opacity="0.1"><circle fill="white" cx="100" cy="100" r="3"/><circle fill="white" cx="300" cy="150" r="2"/><circle fill="white" cx="500" cy="200" r="3"/><circle fill="white" cx="700" cy="120" r="2"/><circle fill="white" cx="900" cy="180" r="3"/><circle fill="white" cx="1100" cy="140" r="2"/></g></svg>');
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  font-family: 'Georgia', serif;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  max-width: 650px;
  font-family: 'Georgia', serif;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
  background-color: var(--highlight-orange);
  color: var(--text-white);
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}

.cta-button:hover {
  background-color: #cc4500;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 81, 0, 0.4);
}

/* Family Photos Section */
.family-stories {
  padding: 4rem 0;
  background: var(--warm-beige);
}

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

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--primary-green);
  font-family: 'Georgia', serif;
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 3rem;
  color: var(--text-medium);
  font-family: 'Georgia', serif;
  font-style: italic;
}

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

.family-story {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.family-story:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.family-photo {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.family-photo.grandma {
  background-image: url('https://picsum.photos/400/250?random=10');
}

.family-photo.grandpa {
  background-image: url('https://picsum.photos/400/250?random=11');
}

.family-photo.family {
  background-image: url('https://picsum.photos/400/250?random=12');
}

.family-photo.cooking {
  background-image: url('https://picsum.photos/400/250?random=13');
}

.family-photo.reading {
  background-image: url('https://picsum.photos/400/250?random=14');
}

.family-photo.garden {
  background-image: url('https://picsum.photos/400/250?random=15');
}

.family-photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.story-content {
  padding: 2rem;
}

.story-title {
  font-size: 1.4rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
}

.story-text {
  color: var(--text-medium);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.story-author {
  font-style: italic;
  color: var(--soft-brown);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-gray);
  padding-top: 1rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: linear-gradient(rgba(245, 245, 220, 0.9), rgba(245, 245, 220, 0.9)), url('https://picsum.photos/1920/1080?random=2');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.features-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.features-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
}

.features-intro p {
  font-size: 1.2rem;
  color: var(--text-medium);
  font-family: 'Georgia', serif;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  border: 3px solid var(--border-gray);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-green), var(--highlight-orange));
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: var(--primary-green);
}

.feature-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--text-white);
  box-shadow: 0 8px 20px rgba(85, 107, 47, 0.3);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary-green);
  font-family: 'Georgia', serif;
}

.feature-card p {
  color: var(--text-medium);
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Special Features */
.special-features {
  padding: 5rem 0;
  background: linear-gradient(rgba(247, 243, 233, 0.95), rgba(242, 242, 242, 0.95)), url('https://picsum.photos/1920/1080?random=3');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.special-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.special-intro h2 {
  font-size: 2.8rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
}

.special-intro p {
  font-size: 1.3rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Georgia', serif;
  font-style: italic;
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.special-feature {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border-left: 8px solid var(--highlight-orange);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.special-feature::before {
  content: '\2728';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
}

.special-feature:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.special-feature h4 {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
}

.special-feature p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.special-badge {
  background: linear-gradient(45deg, var(--highlight-orange), #ff7f00);
  color: var(--text-white);
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(rgba(245, 245, 220, 0.9), rgba(245, 245, 220, 0.9)), url('https://picsum.photos/1920/1080?random=4');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--primary-green);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-family: 'Georgia', serif;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  border: 3px solid var(--background-cream);
}

.author-photo.sarah {
  background-image: url('https://picsum.photos/200/200?random=20');
}

.author-photo.michael {
  background-image: url('https://picsum.photos/200/200?random=21');
}

.author-photo.robert {
  background-image: url('https://picsum.photos/200/200?random=22');
}

.author-photo.emily {
  background-image: url('https://picsum.photos/200/200?random=23');
}

.author-photo.angela {
  background-image: url('https://picsum.photos/200/200?random=24');
}

.author-photo.frank {
  background-image: url('https://picsum.photos/200/200?random=25');
}

.author-info h5 {
  color: var(--primary-green);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.author-info p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* How It Works */
.how-it-works {
  padding: 5rem 0;
  background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('https://picsum.photos/1920/1080?random=5');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(85, 107, 47, 0.3);
}

.step h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-green);
  font-family: 'Georgia', serif;
}

.step p {
  color: var(--text-medium);
  line-height: 1.7;
  font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent-green), var(--primary-green));
  color: var(--text-white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><g opacity="0.1"><circle fill="white" cx="100" cy="100" r="20"/><circle fill="white" cx="300" cy="200" r="15"/><circle fill="white" cx="500" cy="150" r="25"/><circle fill="white" cx="700" cy="250" r="18"/><circle fill="white" cx="900" cy="180" r="22"/><circle fill="white" cx="1100" cy="220" r="16"/></g></svg>');
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  color: var(--text-white);
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Georgia', serif;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  color: var(--text-white);
  line-height: 1.6;
}

.cta-button-large {
  background-color: var(--highlight-orange);
  color: var(--text-white);
  padding: 1.5rem 3.5rem;
  border: 2px solid var(--text-white);
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  font-family: 'Arial', sans-serif;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button-large:hover {
  background-color: #cc4500;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(230, 81, 0, 0.4);
}

/* Footer */
.footer {
  background-color: var(--accent-green);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-family: 'Georgia', serif;
}

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

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

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

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

.footer-bottom {
  border-top: 1px solid var(--primary-green);
  padding-top: 1rem;
  text-align: center;
  color: var(--background-cream);
}

.footer-bottom a {
  color: var(--background-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--text-white);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  font-size: 1.8rem;
}

.modal p {
  margin-bottom: 2rem;
  color: var(--text-medium);
  line-height: 1.6;
}

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

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

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Arial', sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-green);
}

.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-secondary {
  flex: 1;
  padding: 1rem;
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  font-family: 'Arial', sans-serif;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--panel-gray);
}

.btn-primary {
  flex: 1;
  padding: 1rem;
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--secondary-green);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-green);
    flex-direction: column;
    padding: 1rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 0.75rem;
  }

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

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

  .section-title {
    font-size: 2.2rem;
  }

  .family-grid,
  .special-grid {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

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

  .special-feature {
    min-width: auto;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.heartbeat {
  animation: heartbeat 2s ease-in-out infinite;
}
