/* Hero Section*/
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  text-align: center;
  padding: 2rem;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section h1 .green-text {
  background: linear-gradient(135deg, #1ca949 0%, #38a169 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero-section h3 {
  font-size: 22px;
  font-weight: 400;
  color: #697487;
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.6;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.hero-button {
  padding: 10px 6px;
  font-size: 14px;
  font-weight: 400;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-button.first {
  background: #22d35a;
  color: #292929;
}

.hero-button.first:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(28, 169, 73, 0.4);
  background: #158f3b;
}

.hero-button.second {
  background: rgba(255, 255, 255, 0.95);
  color: #2d3748;
}

.hero-button.second:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(28, 169, 73, 0.4);
  background: rgb(225, 225, 225);
}

/* Features Section*/
.features-section {
  padding: 5rem 2rem;
  background: #f6f7f9;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.features-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  color: #157a35;
}

.section-description {
  text-align: center;
  font-size: 1.2rem;
  color: #383f4d;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;

  height: 260px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1ca949 0%, #38a169 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(28, 169, 73, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.92) 100%
  );
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 15px;
  font-weight: 400;
}

/* Newsletter Section*/
.newsletter-section {
  padding-top: 50px;
  padding-bottom: 38px;
  background-color: rgb(224, 244, 224);
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-section h2 {
  font-size: 25px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 16px;
}

.newsletter-section p {
  font-size: 16px;

  color: #414953;

  margin-bottom: 40px;

  line-height: 1.6;
}

.newsletter-form {
  margin-top: 32px;
}

.form-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.newsletter-input {
  flex: 1;
  padding: 8px 12px;
  font-size: 12px;
  border: 1.5px solid rgba(56, 161, 105, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
  font-family: inherit;
  min-height: 36px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.newsletter-input:focus {
  outline: none;
  border-color: #38a169;
  box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1), 0 2px 8px rgba(0, 0, 0, 0.1);
  background: white;
}

.newsletter-input::placeholder {
  color: #9ca3af;
  font-size: 12px;
}

.newsletter-button {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  background: #64c990;
  color: #1f1f1f;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 36px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(28, 169, 73, 0.2);
  white-space: nowrap;
}

.newsletter-button:hover {
  background: #2f855a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 169, 73, 0.3);
}

.newsletter-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(28, 169, 73, 0.2);
}

/* Footer Styles */
.footer {
  background: #131f30;
  color: white;
  padding: 48px 32px 16px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
  align-items: start;
}

.footer-section h3,
.footer-section h4 {
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-section p {
  color: #cbd5e0;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

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

.footer-links a:hover {
  color: #38a169;
}

.contact-info p {
  margin-bottom: 8px;
  color: #cbd5e0;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  display: inline-block;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: scale(1.2);
}

.social-link img {
  width: 24px;
  height: 24px;
  display: block;
  filter: none;
}

.social-link.facebook {
  color: #1877f2;
}

.social-link.twitter {
  color: #1da1f2;
}

.social-link.instagram {
  color: #e4405f;
}

.social-link.youtube {
  color: #ff0000;
}

.social-link.linkedin {
  color: #0a66c2;
}

.footer-bottom {
  border-top: 1px solid rgba(203, 213, 224, 0.2);
  padding-top: 32px;
}

.footer-bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 15px;
}

.footer-bottom p {
  color: #cbd5e0;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 32px;
}

.footer-bottom-links a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #38a169;
}

/* Mobile Responsiveness */

@media (max-width: 768px) {
  /* Hero Section */
  .hero-section {
    padding: 24px 16px;
    min-height: calc(100vh - 56px);
  }

  .hero-section h1 {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .hero-section h3 {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 500px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
  }

  .hero-button {
    width: 100%;
    max-width: 280px;
    padding: 12px 24px;
    font-size: 16px;
  }

  /* Features Section */
  .features-section {
    padding: 48px 16px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;

    justify-items: center;
  }

  .feature-card {
    padding: 28px;

    max-width: 340px;
    width: 100%;
    height: 240px;
    justify-self: center;
  }

  .feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card p {
    font-size: 14px;
  }

  /* Newsletter Section */
  .newsletter-section {
    padding: 48px 16px 32px;
  }

  .newsletter-content h2 {
    font-size: 24px;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .form-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
  }

  .newsletter-input {
    width: 100%;
    max-width: none;
    font-size: 14px;
    padding: 10px 14px;
    min-height: 40px;
  }

  .newsletter-button {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 16px;
    font-size: 14px;
    min-height: 40px;
  }

  /* Footer */
  .footer {
    padding: 32px 16px 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-section h4 {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  /* Hero Section */
  .hero-section {
    padding: 16px 8px;
  }

  .hero-section h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-section h3 {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-button {
    max-width: 260px;
    padding: 10px 20px;
    font-size: 15px;
  }

  /* Features Section */
  .features-section {
    padding: 32px 8px;
  }

  .features-section h2 {
    font-size: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
  }

  .feature-card {
    padding: 20px;
    max-width: 300px;
    width: 100%;
    border-radius: 16px;
    height: 220px;
  }

  .feature-icon {
    font-size: 32px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card:hover {
    transform: none;
    box-shadow: none;
    background: white;
  }

  /* Newsletter Section */
  .newsletter-section {
    padding: 32px 8px 24px;
  }

  .newsletter-content h2 {
    font-size: 20px;
  }

  .newsletter-content p {
    font-size: 14px;
  }

  .newsletter-input,
  .newsletter-button {
    min-height: 38px;
    font-size: 13px;
  }

  /* Footer */
  .footer {
    padding: 24px 8px 16px;
  }

  .footer-logo h3 {
    font-size: 18px;
  }

  .footer-logo {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .footer-logo h3 {
    text-align: center;
  }

  .footer-section p {
    font-size: 14px;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom-content {
    font-size: 12px;
  }
}
