/* ========================================
   CLIENTS PAGE - MODERN PROFESSIONAL STYLES
   ======================================== */

/* Enhanced Hero Section */
.page-hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #e31e24 0%, #c0191f 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero .section-title {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.page-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease;
}

/* Enhanced Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 50px 0;
}

.stat-card {
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(227, 30, 36, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.stat-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e31e24, #ff4757, #e31e24);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.25);
  border-color: #e31e24;
}

.stat-card .stat-icon {
  font-size: 3rem;
  color: #e31e24;
  margin-bottom: 15px;
  display: block;
  transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.2) rotate(5deg);
}

.stat-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  color: #e31e24;
  margin-bottom: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, #e31e24, #ff4757);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 700;
}

.stat-card p {
  font-size: 1rem;
  color: #555;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Testimonial Cards */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

/* Section Background Animations */
.section-padding {
  position: relative;
  overflow: hidden;
}

.section-padding::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(227, 30, 36, 0.02) 0%,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(227, 30, 36, 0.02) 50%,
    rgba(255, 255, 255, 0.03) 75%,
    rgba(227, 30, 36, 0.02) 100%
  );
  background-size: 400% 400%;
  animation: testimonialGradient 14s ease infinite;
  z-index: 0;
  pointer-events: none;
}

.section-padding::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: testimonialFloat 12s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.section-padding > * {
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  padding: 40px 35px;
  border-radius: 20px;
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #e31e24, #ff4757, #e31e24);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
  transform: scaleX(1);
  animation: shimmer 3s linear infinite;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover::after {
  opacity: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.2);
  border-color: #e31e24;
}

.testimonial-quote {
  font-size: 4rem;
  color: #e31e24;
  opacity: 0.15;
  position: absolute;
  top: 15px;
  left: 20px;
  font-family: serif;
  line-height: 1;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-quote {
  transform: scale(1.1);
  opacity: 0.2;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.rating {
  color: #ffc107;
  margin-bottom: 20px;
  font-size: 1.1rem;
  display: flex;
  gap: 3px;
}

.rating i {
  filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.testimonial-text {
  font-style: italic;
  color: #555;
  line-height: 1.9;
  margin-bottom: 25px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 2px solid #f0f0f0;
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e31e24, #ff4757);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1) rotate(5deg);
}

.author-info h4 {
  color: #1a1a1a;
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.author-info p {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
}

/* Industry Stats Grid */
.industry-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.industry-stat-card {
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  padding: 35px 25px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
}

.industry-stat-card.animate {
  opacity: 1;
  transform: scale(1);
}

.industry-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.05), rgba(255, 71, 87, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-stat-card:hover::before {
  opacity: 1;
}

.industry-stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.25);
  border-color: #e31e24;
}

.industry-stat-card i {
  font-size: 3rem;
  color: #e31e24;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.industry-stat-card:hover i {
  transform: scale(1.2) rotate(10deg);
}

.industry-stat-card h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.industry-stat-card p {
  color: #e31e24;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Case Study Cards */
.case-study-grid {
  display: grid;
  gap: 30px;
  margin: 50px 0;
}

.case-study-card {
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-30px);
}

.case-study-card.animate {
  opacity: 1;
  transform: translateX(0);
}

.case-study-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(135deg, #e31e24, #ff4757);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.case-study-card:hover::before {
  transform: scaleY(1);
}

.case-study-card:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.2);
  border-color: #e31e24;
}

.case-study-card h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  color: #e31e24;
  margin-bottom: 20px;
  font-weight: 700;
}

.case-study-card p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.case-study-card strong {
  color: #1a1a1a;
  font-weight: 700;
}

/* Why Choose Cards */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.why-choose-item {
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid #e31e24;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
}

.why-choose-item.animate {
  opacity: 1;
  transform: translateX(0);
}

.why-choose-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 20px rgba(227, 30, 36, 0.15);
  border-left-color: #ff4757;
}

.why-choose-item strong {
  color: #e31e24;
  font-family: "Montserrat", sans-serif;
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.why-choose-item {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Enhanced Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, #e31e24 0%, #ff4757 100%);
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  margin: 50px 0;
  box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.highlight-box.animate {
  opacity: 1;
  transform: translateY(0);
}

.highlight-box::before {
  content: """;
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.1);
  font-family: serif;
}

.highlight-box h4 {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 15px;
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

.highlight-box p {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.highlight-box strong {
  font-size: 1.2rem;
}

/* Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
}

.section-heading.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-heading h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #e31e24, #ff4757);
  border-radius: 2px;
}

.section-heading p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.heading-wrapper {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
}

.heading-wrapper.animate {
  opacity: 1;
  transform: translateY(0);
}

.heading-wrapper h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.heading-wrapper h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #e31e24, #ff4757);
  border-radius: 2px;
}

/* Content Wrapper */
.content-wrapper h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 25px;
  margin-top: 50px;
  position: relative;
  padding-left: 20px;
}

.content-wrapper h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 30px;
  background: linear-gradient(135deg, #e31e24, #ff4757);
  border-radius: 3px;
}

.content-wrapper h3:first-child {
  margin-top: 0;
}

.content-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.content-wrapper ul li {
  padding: 15px 20px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  border-radius: 10px;
  border-left: 4px solid #e31e24;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.content-wrapper ul li::before {
  content: "✓";
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #e31e24, #ff4757);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(227, 30, 36, 0.3);
}

.content-wrapper ul li:hover {
  transform: translateX(8px);
  box-shadow: 0 5px 15px rgba(227, 30, 36, 0.15);
  border-left-color: #ff4757;
}

.content-wrapper ul li strong {
  color: #e31e24;
  font-family: "Montserrat", sans-serif;
  margin-right: 8px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #e31e24 0%, #ff4757 100%);
  padding: 60px 0;
  text-align: center;
  margin-top: 80px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-section .highlight-box {
  background: transparent;
  box-shadow: none;
  margin: 0;
}

.cta-section .btn {
  background: #fff;
  color: #e31e24;
  font-size: 1.1rem;
  padding: 15px 40px;
  margin-top: 20px;
}

.cta-section .btn:hover {
  background: #f9f9f9;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb Styling */
.breadcrumb {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb i {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 991px) {
  .page-hero .section-title {
    font-size: 2.5rem;
  }
  
  .stats-grid,
  .industry-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .page-hero .section-title {
    font-size: 2rem;
  }
  
  .stats-grid,
  .industry-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 30px 25px;
  }
  
  .case-study-card {
    padding: 30px 25px;
  }
  
  .section-heading h2,
  .heading-wrapper h2 {
    font-size: 2rem;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Background Animation Keyframes */
@keyframes testimonialGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes testimonialFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, 20px) scale(1.1);
    opacity: 0.7;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .section-padding::before,
  .section-padding::after {
    animation: none !important;
    opacity: 0.3;
  }
}
