/* ===== Insights Section ===== */
.insights {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  color: #ffffff;
  overflow: hidden;
}

.insights-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.insights .container {
  position: relative;
  z-index: 2;
}

/* Grid Layout */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}

/* Resource Card */
.insight-resource {
  grid-column: span 3;
  display: flex;
  align-items: center;
  background: rgba(255, 107, 107, 0.15);
  border-radius: 10px;
  padding: 30px;
  margin-top: 20px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.resource-icon {
  flex: 0 0 80px;
  height: 80px;
  background: rgba(255, 107, 107, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
}

.resource-icon i {
  font-size: 2rem;
  color: #ff6b6b;
}

.resource-text {
  flex-grow: 1;
}

.resource-title {
  font-size: 1.3rem;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.resource-description {
  font-size: 1rem;
  color: #e0e0e0;
  margin: 0 0 20px 0;
}

.resource-download-btn {
  display: inline-block;
  background: #ff6b6b;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.resource-download-btn:hover {
  background: #ff8a8a;
}

/* Newsletter Subscription */
.insights-cta {
  margin-top: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insights-cta-text {
  flex: 0 0 60%;
}

.insights-cta-text h4 {
  font-size: 1.4rem;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.insights-cta-text p {
  font-size: 1rem;
  color: #e0e0e0;
  margin: 0;
}

.insights-cta-form {
  flex: 0 0 35%;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input[type="email"] {
  flex-grow: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
  padding: 0 20px;
  background: #ff6b6b;
  color: #ffffff;
  border: none;
  border-radius: 0 5px 5px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #ff8a8a;
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
  .insights-cta {
    flex-direction: column;
    text-align: center;
  }
  
  .insights-cta-text {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .insights-cta-form {
    flex: 0 0 100%;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .insight-resource {
    flex-direction: column;
    text-align: center;
  }
  
  .resource-icon {
    margin: 0 0 20px 0;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input[type="email"] {
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: 5px;
    padding: 12px;
  }
}
