/* Existing styles */
body {
  font-family: "Open Sans", sans-serif;
  background-color: #f8f9fa;
  position: relative;
  min-height: 100vh;
}

.main-content {
  padding-top: 3rem;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-family: "EB Garamond", serif;
  font-weight: 700;
  color: #2c3e50;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #568223, #8bc34a);
  border-radius: 2px;
}

.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #568223, #8bc34a);
}

.features-list .feature-item {
  transition: all 0.3s ease;
  border-left: 3px solid #568223;
}

.features-list .feature-item:hover {
  background-color: #e8f5e9 !important;
  transform: translateX(5px);
}

.download-card {
  border: none;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #568223, #8bc34a);
}

.download-header .icon-wrapper {
  width: 60px;
  height: 60px;
  box-shadow: 0 5px 15px rgba(86, 130, 35, 0.3);
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.download-card:hover .icon-wrapper {
  transform: scale(1.1);
}

.download-container {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
  max-width: 300px;
}

.download-container:hover {
  transform: translateY(-5px);
}

.download-link {
  position: relative;
  display: block;
  transition: all 0.3s ease;
}

.sample-card-wrapper {
  position: relative;
  display: inline-block;
}

.download-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(86, 130, 35, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 10px;
}

.download-container:hover .download-overlay {
  opacity: 1;
}

.download-content {
  text-align: center;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.download-container:hover .download-content {
  transform: translateY(0);
}

.download-footer {
  padding-top: 15px;
  border-top: 1px dashed #e0e0e0;
  max-width: 500px;
  margin: 0 auto;
}

.decorative-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(86, 130, 35, 0.1), rgba(139, 195, 74, 0.1));
  z-index: -1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -100px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  right: -80px;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  color: rgba(86, 130, 35, 0.2);
  animation: float 8s ease-in-out infinite;
  animation-delay: var(--delay);
}

.floating-icon:nth-child(1) {
  top: 15%;
  left: 10%;
}

.floating-icon:nth-child(2) {
  top: 25%;
  right: 15%;
}

.floating-icon:nth-child(3) {
  bottom: 30%;
  left: 20%;
}

.floating-icon:nth-child(4) {
  bottom: 20%;
  right: 25%;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate] {
  opacity: 0;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
}

[data-animate]:nth-child(1) {
  animation-name: slideInLeft;
  animation-delay: 0.1s;
}

[data-animate]:nth-child(2) {
  animation-name: slideInRight;
  animation-delay: 0.3s;
}

[data-animate]:nth-child(3) {
  animation-name: slideInUp;
  animation-delay: 0.5s;
}

[data-animate="slide"] .card-body > * {
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
}

[data-animate="slide"] .card-body > *:nth-child(1) {
  animation-delay: 0.2s;
}

[data-animate="slide"] .card-body > *:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Section Styles - Removed green background */
.cta-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  margin: 50px 0;
  padding: 60px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #568223, #8bc34a);
}

.cta-content {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #568223, #8bc34a);
}

.cta-text h3 {
  position: relative;
  padding-bottom: 15px;
  color: #2c3e50;
}

.cta-text h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #568223, #8bc34a);
  border-radius: 2px;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #e8f5e9;
  color: #568223;
}

.features-list .d-flex i {
  min-width: 20px;
}

.cta-form {
  background: rgba(86, 130, 35, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(86, 130, 35, 0.1);
  position: relative;
  z-index: 2;
}

.form-header {
  border-bottom: 1px solid rgba(86, 130, 35, 0.1);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.input-group-text {
  background-color: #e8f5e9;
  border-color: #c5e1a5;
  color: #568223;
}

.form-control {
  border-color: #c5e1a5;
}

.form-control:focus {
  border-color: #568223;
  box-shadow: 0 0 0 0.25rem rgba(86, 130, 35, 0.25);
}

.btn-success {
  background: linear-gradient(135deg, #568223 0%, #8bc34a 100%);
  border: none;
  padding: 12px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(86, 130, 35, 0.4);
}

.btn-success:active {
  transform: translateY(0);
}

.btn-success::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  transition: all 0.8s;
}

.btn-success:hover::after {
  left: 120%;
}

.cta-highlight-box {
  border-left: 3px solid #ffc107;
  background: linear-gradient(to right, rgba(255, 193, 7, 0.1), transparent);
}

/* CTA Shapes Animation */
.cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.cta-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(86, 130, 35, 0.05);
}

.cta-shapes .shape-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  animation: float 8s ease-in-out infinite;
}

.cta-shapes .shape-2 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  right: 10%;
  animation: float 6s ease-in-out infinite 1s;
}

.cta-shapes .shape-3 {
  width: 70px;
  height: 70px;
  top: 40%;
  right: 20%;
  animation: float 7s ease-in-out infinite 2s;
}

/* Form Validation Styles */
.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
  border-color: #198754;
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.valid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #198754;
}

.form-control.is-valid ~ .valid-feedback {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .cta-content {
    margin: 20px;
    max-width: none;
  }
  
  .shape-1, .shape-2 {
    width: 150px;
    height: 150px;
  }
  
  .cta-section {
    padding: 40px 0;
  }
  
  .download-container {
    max-width: 250px;
  }
}

@media (max-width: 767.98px) {
  .main-content {
    padding-top: 80px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-section {
    margin: 30px 0;
    padding: 30px 0;
  }
  
  .cta-content {
    padding: 1.5rem !important;
    max-width: none;
  }
  
  .cta-text h3 {
    font-size: 1.5rem;
  }
  
  .features-list .d-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .features-list .icon-circle {
    margin-bottom: 10px;
  }
  
  .download-container {
    max-width: 200px;
  }
  
  .download-header .icon-wrapper {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 575.98px) {
  .main-content {
    padding-top: 70px;
    padding-bottom: 50px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .floating-icon {
    font-size: 1.5rem;
  }
  
  .cta-content {
    margin: 10px;
  }
  
  .cta-section {
    padding: 20px 0;
  }
  
  .btn-success {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .download-container {
    max-width: 180px;
  }
}