/* ========================================
   TESTIMONIALS PAGE CSS - Zonixtec
   ======================================== */

:root {
  --primary: #0066ff;
  --primary-dark: #0044cc;
  --secondary: #00f2ff;
  --accent: #ff3366;
  --dark: #050511;
  --dark-light: #0a0a1a;
  --light: #f5f5f5;
  --gray: #888;
  --success: #27ae60;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 10px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title span {
  color: var(--secondary);
}

.hero-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.slider-indicator.active {
  background-color: var(--secondary);
  transform: scale(1.2);
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.2);
  border-color: var(--primary);
}

.testimonial-inner {
  position: relative;
  z-index: 1;
}

.quote-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.client-name {
  font-size: 1.5rem;
  color: var(--light);
  margin-bottom: 5px;
}

.client-position {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.testimonial-quote {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-quote strong {
  color: var(--light);
  font-weight: 600;
}

.rating {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.rating i {
  color: #ffc107;
  font-size: 1rem;
}

.project-details {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-title {
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
  padding: 60px 40px;
  background: rgba(10, 10, 26, 0.5);
  margin-top: 60px;
  border-radius: 15px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 15px;
  font-family: "Orbitron", sans-serif;
  line-height: 1.2;
}

.stat-label {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.4;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--dark);
  border-radius: 15px;
  margin-top: 60px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--dark);
  color: var(--light);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 992px) {
  .testimonials-container {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .stats-section {
    padding: 40px 20px;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-card {
    padding: 30px 20px;
    min-height: 160px;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }

  .stats-section {
    padding: 30px 15px;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 30px 20px;
    min-height: 150px;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}