:root {
  --testimonial-primary: #022b41;
  --testimonial-accent: #f1bc1a;
  --testimonial-bg: #f8f9fa;
  --testimonial-card-bg: #ffffff;
  --testimonial-text: #333333;
  --testimonial-muted: #6c757d;
  --testimonial-border: rgba(0, 0, 0, 0.1);
  --testimonial-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --testimonial-featured-shadow: 0 8px 24px rgba(2, 43, 65, 0.15);
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 1rem;
  background-color: var(--testimonial-bg);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--testimonial-primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background: var(--testimonial-accent);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--testimonial-muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.testimonial-card {
  background: var(--testimonial-card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--testimonial-shadow);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--testimonial-border);
}

.testimonial-card.featured {
  border: 2px solid var(--testimonial-accent);
  box-shadow: var(--testimonial-featured-shadow);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--testimonial-accent);
  color: var(--testimonial-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-bottom-left-radius: 8px;
}

.testimonial-rating {
  color: var(--testimonial-accent);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.quote-icon {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.testimonial-content {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--testimonial-text);
  margin-bottom: 1.5rem;
}

.testimonial-footer {
  border-top: 1px solid var(--testimonial-border);
  padding-top: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--testimonial-border);
}

.testimonial-author strong {
  display: block;
  color: var(--testimonial-primary);
  font-weight: 600;
}

.testimonial-project {
  font-size: 0.875rem;
  color: var(--testimonial-muted);
  margin-top: 0.25rem;
}

.testimonial-cta {
  text-align: center;
  margin-top: 2rem;
}

.testimonial-btn,
.testimonials-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--testimonial-primary);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(2, 43, 65, 0.2);
}

.testimonial-btn:hover,
.testimonials-btn:hover {
  background: #014a6a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(2, 43, 65, 0.25);
}

.testimonial-btn svg {
  transition: transform 0.3s ease;
}

.testimonial-btn:hover svg {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* Update Card Styles */
.update-card .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.update-card:hover .card {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card-img-container {
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  position: relative;
}

.logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: all 0.5s ease;
}

.logo-img {
  max-width: 100px;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

.update-card:hover .logo-overlay {
  left: 150%;
  opacity: 0;
}

.update-image {
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.update-card:hover .update-image {
  transform: scale(1.05);
}

.card-title {
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.update-card:hover .card-title {
  color: #f1b706;
}

.status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #0e2e50;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  z-index: 3;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Excellence Section */
.excellence-section {
  position: relative;
  overflow: hidden;
}

.milestone-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(14, 46, 80, 0.1);
}

.milestone-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(14, 46, 80, 0.1);
  border-color: rgba(14, 46, 80, 0.3);
}

.milestone-icon {
  transition: all 0.3s ease;
}

.milestone-card:hover .milestone-icon {
  background: linear-gradient(135deg, #0e2e50 0%, #1a4b8c 100%);
  transform: scale(1.1);
}

.stat-number {
  transition: all 0.3s ease;
}

.stat-number:hover {
  color: #f1b706;
  transform: scale(1.1);
}

/* Animated Text */
.gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, #fff 0%, #ccc 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-slide 1.5s linear infinite;
}

@keyframes gradient-slide {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
