/* DNAR Homepage UI Improvements - Iteration 1 */

/* Hero Section Enhancements */
.hero-modern,
.banner3 {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 650px;
}

.hero-modern__content {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-modern__content h1,
.banner3 h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-modern__content p,
.banner3 p {
  font-size: 1.375rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 32px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Button Enhancements */
.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0f75bd 0%, #f72c93 100%);
  border: none;
  box-shadow: 0 4px 20px rgba(247, 44, 147, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(247, 44, 147, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #0f75bd;
  border: 2px solid transparent;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: #0f75bd;
  color: #f72c93;
}

/* Feature Cards */
.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.feature-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0f75bd 0%, #f72c93 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 36px;
  color: white;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  background: #f8f9fa;
  padding: 80px 0;
}

.step-card {
  text-align: center;
  margin-bottom: 40px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f75bd 0%, #f72c93 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.testimonial-content {
  font-size: 18px;
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.testimonial-info h5 {
  margin: 0;
  color: #333;
  font-weight: 600;
}

.testimonial-info p {
  margin: 0;
  color: #999;
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0f75bd 0%, #f72c93 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* Navbar Improvements */
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-nav a {
  color: #333 !important;
}

.navbar-brand img {
  height: 50px;
  transition: height 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
  height: 40px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

/* ==========================================
   Landing Page – User Experience & Feedback
   Aligns with DNAR brand gradient + polish
   Targets legacy markup used on index.html
   ========================================== */

/* Section background polish */
.service3 {
  position: relative;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(15, 117, 189, 0.06) 0%, transparent 60%),
              radial-gradient(1000px 600px at 90% 90%, rgba(247, 44, 147, 0.06) 0%, transparent 60%);
}

/* Title styling */
#client-reviews3 .carousel-title h3 {
  background: linear-gradient(135deg, #0f75bd 0%, #f72c93 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Carousel container spacing */
#client-reviews3 .client-reviews3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Individual review card */
#client-reviews3 .review3 {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(15, 117, 189, 0.08);
}

/* Quote icon in a soft gradient bubble */
#client-reviews3 .review3 .fa-quote-left {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15,117,189,0.15) 0%, rgba(247,44,147,0.15) 100%);
  color: #0f75bd;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(15, 117, 189, 0.12);
}

/* Review text */
#client-reviews3 .client-font {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #374151;
}

/* Author area */
#client-reviews3 .clients-comments3 .client-info3 p strong {
  color: #0f75bd;
}

#client-reviews3 .clients-comments3 .client-info3 p {
  color: #6b7280;
  margin-bottom: 0.25rem;
}

/* Accent line under author name */
#client-reviews3 .clients-comments3 .clients-line {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(135deg, #0f75bd 0%, #f72c93 100%);
  margin: 0.25rem 0 0.5rem 0;
}

/* Carousel control buttons */
#client-reviews3 .btn.btn-secondary {
  border: 1px solid rgba(15, 117, 189, 0.25);
  background: #ffffff;
  color: #0f75bd;
  box-shadow: 0 6px 18px rgba(15, 117, 189, 0.12);
}

#client-reviews3 .btn.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(15,117,189,0.08) 0%, rgba(247,44,147,0.08) 100%);
  transform: translateY(-2px);
}

/* Ensure accessible contrast in dark modes if any */
@media (prefers-color-scheme: dark) {
  #client-reviews3 .review3 {
    background: rgba(255, 255, 255, 0.92);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-modern__content h1,
  .banner3 h1 {
    font-size: 2.5rem;
  }

  .hero-modern__content p,
  .banner3 p {
    font-size: 1.125rem;
  }

  .btn-lg {
    padding: 12px 30px;
    font-size: 16px;
  }

  .feature-card {
    padding: 30px;
    margin-bottom: 20px;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}
