/* CTA Section - Reference Website Style */

.cta-section {
  padding: 100px 0;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-section/abouthero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.cta-section::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="50" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: #ffffff !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 20px !important;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
  position: relative !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.cta-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #ffcc33, #ff6b35);
  border-radius: 2px;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 10px #ffcc33; }
  to { box-shadow: 0 0 20px #ff6b35; }
}

.cta-section p {
  color: rgba(255,255,255,0.9) !important;
  font-size: 18px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.6;
}

.cta-section .btn-primary {
  background: linear-gradient(135deg, #ffcc33 0%, #ff6b35 100%);
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255,204,51,0.3);
  color: white !important;
  text-decoration: none;
  display: inline-block;
}

.cta-section .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255,204,51,0.4);
  background: linear-gradient(135deg, #ff6b35 0%, #ffcc33 100%);
  color: white !important;
  text-decoration: none;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 70px 0;
  }
  
  .cta-section h2 {
    font-size: 32px;
    margin-bottom: 30px !important;
  }
  
  .cta-section p {
    margin-bottom: 50px !important;
    font-size: 16px;
    line-height: 1.8;
  }
  
  .cta-section .btn-primary {
    padding: 12px 30px;
    font-size: 16px;
  }
}
