/* Enhanced styles for goals/1.php */

/* Goal Header Enhancement */
.goal-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  margin-top: 120px;
}
.goal-title {
  color: #000000;
  font-size: 48px;
  font-weight: bold;
  margin-top: -118px;
  line-height: 1.2;
}

/* Enhanced Content Section */
.goal-content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  background: linear-gradient(135deg, #d72638 0%, #a61e2c 100%);
  color: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(215, 38, 56, 0.3);
}

.goal-description {
  flex: 1 1 60%;
  padding: 25px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.goal-description h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}

.goal-description p {
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 16px;
  color: #ffffff !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  text-align: left;
}

.additional-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.95);
}



/* Key Points Styling */
.key-points {
  margin-top: 40px;
}

.point-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.point-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15);
  border-left-color: #fff;
}

.point-icon {
  font-size: 32px;
  margin-right: 20px;
  min-width: 40px;
}

.point-item h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.point-item p {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.5;
}

/* Statistics Section */
.stats-section {
  margin: 80px 0;
  text-align: center;
  padding: 40px 0;
}

.stats-section h2 {
  font-size: 36px;
  color: #d72638;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.stats-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #d72638;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-card {
  background: white;
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #d72638, #a61e2c);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-size: 56px;
  font-weight: bold;
  color: #d72638;
  margin-bottom: 15px;
  line-height: 1;
}

.stat-label {
  font-size: 18px;
  color: #666;
  line-height: 1.4;
  font-weight: 500;
}

/* Interactive Cards */
.cards-section {
  margin: 80px 0;
  padding: 40px 0;
}

.cards-section h2 {
  font-size: 36px;
  color: #d72638;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.cards-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #d72638;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.interactive-card {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.interactive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #d72638, #a61e2c);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.interactive-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.interactive-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 64px;
  margin-bottom: 25px;
  display: block;
  transition: transform 0.3s ease;
}

.interactive-card:hover .card-icon {
  transform: scale(1.1);
}

.interactive-card h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.interactive-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 16px;
}

.card-link {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #d72638, #a61e2c);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(215, 38, 56, 0.3);
}

.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(215, 38, 56, 0.4);
}

/* Call-to-Action Section */
.cta-section {
  margin: 100px 0;
  background: linear-gradient(135deg, #d72638 0%, #a61e2c 100%);
  border-radius: 25px;
  padding: 80px 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(215, 38, 56, 0.3);
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button.primary {
  background: white;
  color: #d72638;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background: white;
  color: #d72638;
  transform: translateY(-3px);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .goal-container {
    padding: 20px;
    margin: 60px 20px;
  }
  
  .goal-title {
    font-size: 36px;
  }
  
  .goal-content {
    flex-direction: column;
    padding: 30px 20px;
  }
  
  .goal-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .stat-card,
  .interactive-card {
    padding: 40px 20px;
  }
  
  .cta-section {
    padding: 60px 30px;
    margin: 60px 0;
  }
  
  .cta-content h2 {
    font-size: 28px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .goal-title {
    font-size: 28px;
  }
  
  .stat-number {
    font-size: 42px;
  }
  
  .point-item {
    flex-direction: column;
    text-align: center;
  }
  
  .point-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.goal-header,
.goal-content,
.stats-section,
.cards-section,
.cta-section {
  animation: fadeInUp 0.6s ease-out;
}

.stats-section {
  animation-delay: 0.2s;
}

.cards-section {
  animation-delay: 0.4s;
}

.cta-section {
  animation-delay: 0.6s;
}
