/* ==========================================================================
   Software Testing & Quality Assurance Services - Custom Stylesheet
   File: css/software-testing.css
   ========================================================================== */

:root {
  --st-primary: #4e10a8;
  --st-primary-dark: #2a085c;
  --st-secondary: #e0008e;
  --st-accent: #00d4ff;
  --st-dark: #0f172a;
  --st-light: #f8fafc;
  --st-gray-100: #f1f5f9;
  --st-gray-200: #e2e8f0;
  --st-gray-600: #475569;
  --st-gray-800: #1e293b;
  --st-gradient-primary: linear-gradient(135deg, #4e10a8 0%, #a81289 100%);
  --st-gradient-hero: linear-gradient(135deg, #1b043c 0%, #3b0a70 50%, #680d75 100%);
  --st-gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --st-gradient-accent: linear-gradient(135deg, #e0008e 0%, #7b00e0 100%);
  --st-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --st-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --st-shadow-lg: 0 20px 25px -5px rgba(78, 16, 168, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --st-shadow-glow: 0 0 25px rgba(224, 0, 142, 0.25);
  --st-radius-sm: 8px;
  --st-radius-md: 16px;
  --st-radius-lg: 24px;
  --st-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page Wrapper Scope */
.st-page {
  font-family: 'Open Sans', sans-serif;
  color: var(--st-gray-800);
  background-color: #fff;
  overflow-x: hidden;
}

.st-page h1, .st-page h2, .st-page h3, .st-page h4, .st-page h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Badge Component */
.st-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(224, 0, 142, 0.12);
  color: var(--st-secondary);
  border: 1px solid rgba(224, 0, 142, 0.25);
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
}

.st-badge-hero {
  background: rgba(255, 255, 255, 0.15);
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Hero Section */
.st-hero {
  position: relative;
  background: var(--st-gradient-hero);
  color: #ffffff;
  padding: 140px 0 100px 0;
  overflow: hidden;
}

.st-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 0, 142, 0.35) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.st-hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(78, 16, 168, 0.4) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.st-hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f0c5f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.st-hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.st-hero-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 35px;
}

/* Button Component */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: var(--st-transition);
  cursor: pointer;
  border: none;
  box-shadow: var(--st-shadow-md);
}

.st-btn-primary {
  background: var(--st-gradient-accent);
  color: #ffffff !important;
}

.st-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--st-shadow-glow);
  color: #ffffff !important;
  text-decoration: none;
}

.st-btn-outline {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.st-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff !important;
  text-decoration: none;
}

/* Hero Visual Box */
.st-hero-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--st-radius-lg);
  padding: 35px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.37);
}

.st-hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.st-hero-stat-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--st-radius-md);
  text-align: center;
}

.st-hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--st-accent);
  display: block;
}

.st-hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Section Common Styling */
.st-section {
  padding: 90px 0;
  position: relative;
}

.st-bg-light {
  background-color: var(--st-light);
}

.st-bg-gray {
  background-color: var(--st-gray-100);
}

.st-section-header {
  margin-bottom: 55px;
}

.st-section-title {
  font-size: 2.2rem;
  color: var(--st-dark);
  margin-bottom: 15px;
  position: relative;
}

.st-section-subtitle {
  font-size: 1.05rem;
  color: var(--st-gray-600);
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Why Section */
.st-why-card {
  background: #ffffff;
  border: 1px solid var(--st-gray-200);
  border-radius: var(--st-radius-md);
  padding: 35px 30px;
  height: 100%;
  transition: var(--st-transition);
  box-shadow: var(--st-shadow-sm);
  position: relative;
  overflow: hidden;
}

.st-why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--st-gradient-primary);
  opacity: 0;
  transition: var(--st-transition);
}

.st-why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--st-shadow-lg);
  border-color: transparent;
}

.st-why-card:hover::before {
  opacity: 1;
}

.st-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(78, 16, 168, 0.08);
  color: var(--st-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: var(--st-transition);
}

.st-why-card:hover .st-icon-box {
  background: var(--st-gradient-primary);
  color: #ffffff;
}

.st-why-card h4 {
  font-size: 1.25rem;
  color: var(--st-dark);
  margin-bottom: 12px;
}

.st-why-card p {
  color: var(--st-gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Core Services Section */
.st-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.st-service-card {
  background: #ffffff;
  border-radius: var(--st-radius-md);
  border: 1px solid var(--st-gray-200);
  padding: 30px 25px;
  transition: var(--st-transition);
  box-shadow: var(--st-shadow-sm);
  display: flex;
  flex-direction: column;
}

.st-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--st-shadow-lg);
  border-color: rgba(78, 16, 168, 0.2);
}

.st-service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--st-gradient-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(224, 0, 142, 0.2);
}

.st-service-card h4 {
  font-size: 1.15rem;
  color: var(--st-dark);
  margin-bottom: 10px;
}

.st-service-card p {
  font-size: 0.92rem;
  color: var(--st-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* QA Process Steps */
.st-process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.st-process-card {
  background: #ffffff;
  border: 1px solid var(--st-gray-200);
  border-radius: var(--st-radius-md);
  padding: 30px;
  position: relative;
  transition: var(--st-transition);
  box-shadow: var(--st-shadow-sm);
}

.st-process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--st-shadow-lg);
  border-color: var(--st-primary);
}

.st-process-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  background: var(--st-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  display: inline-block;
}

.st-process-card h4 {
  font-size: 1.15rem;
  color: var(--st-dark);
  margin-bottom: 10px;
}

.st-process-card p {
  color: var(--st-gray-600);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.st-lifecycle-box {
  background: var(--st-gradient-hero);
  color: #ffffff;
  border-radius: var(--st-radius-lg);
  padding: 40px 45px;
  box-shadow: var(--st-shadow-lg);
  position: relative;
  overflow: hidden;
}

.st-lifecycle-box h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.st-lifecycle-box p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Business Impact */
.st-impact-card {
  background: #ffffff;
  border: 1px solid var(--st-gray-200);
  border-radius: var(--st-radius-md);
  padding: 28px 24px;
  height: 100%;
  transition: var(--st-transition);
}

.st-impact-card:hover {
  border-color: var(--st-secondary);
  box-shadow: var(--st-shadow-md);
  transform: translateY(-4px);
}

.st-impact-icon {
  font-size: 24px;
  color: var(--st-secondary);
  margin-bottom: 15px;
}

.st-impact-card h4 {
  font-size: 1.1rem;
  color: var(--st-dark);
  margin-bottom: 10px;
}

.st-impact-card p {
  font-size: 0.9rem;
  color: var(--st-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* Checkgrid */
.st-checkgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.st-check-item {
  background: #ffffff;
  border: 1px solid var(--st-gray-200);
  padding: 16px 20px;
  border-radius: var(--st-radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--st-gray-800);
  transition: var(--st-transition);
}

.st-check-item:hover {
  background: rgba(78, 16, 168, 0.04);
  border-color: var(--st-primary);
  transform: translateX(4px);
}

.st-check-icon {
  color: var(--st-secondary);
  font-weight: bold;
}

/* Partnership Models */
.st-model-card {
  background: #ffffff;
  border: 2px solid var(--st-gray-200);
  border-radius: var(--st-radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--st-transition);
  height: 100%;
}

.st-model-card:hover {
  border-color: var(--st-primary);
  box-shadow: var(--st-shadow-lg);
  transform: translateY(-8px);
}

.st-model-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: rgba(78, 16, 168, 0.1);
  color: var(--st-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.st-model-card h4 {
  font-size: 1.3rem;
  color: var(--st-dark);
  margin-bottom: 15px;
}

.st-model-card p {
  color: var(--st-gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Capabilities Callout Box */
.st-capabilities-box {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border: 1px solid var(--st-gray-200);
  border-left: 5px solid var(--st-secondary);
  border-radius: var(--st-radius-md);
  padding: 30px 35px;
  margin-top: 40px;
}

.st-capabilities-box h4 {
  font-size: 1.25rem;
  color: var(--st-dark);
  margin-bottom: 12px;
}

.st-capabilities-box p {
  color: var(--st-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* FAQ Accordion Styling */
.st-faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.st-faq-item {
  background: #ffffff;
  border: 1px solid var(--st-gray-200);
  border-radius: var(--st-radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--st-transition);
}

.st-faq-item.active {
  border-color: var(--st-primary);
  box-shadow: var(--st-shadow-sm);
}

.st-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--st-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--st-transition);
}

.st-faq-question:hover {
  color: var(--st-primary);
}

.st-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--st-gray-100);
  color: var(--st-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--st-transition);
  flex-shrink: 0;
}

.st-faq-item.active .st-faq-icon {
  background: var(--st-primary);
  color: #ffffff;
  transform: rotate(180deg);
}

.st-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.st-faq-answer-content {
  padding: 0 28px 24px 28px;
  color: var(--st-gray-600);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* CTA Banner Section */
.st-cta-section {
  background: var(--st-gradient-hero);
  color: #ffffff;
  padding: 85px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.st-cta-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.st-cta-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 700px;
  margin: 0 auto 35px auto;
  line-height: 1.7;
}

/* Internal Links SEO Bar */
.st-internal-links {
  background: var(--st-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  font-size: 0.9rem;
}

.st-internal-links h5 {
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.st-links-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.st-links-flex a {
  color: #00d4ff;
  text-decoration: none;
  transition: var(--st-transition);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.st-links-flex a:hover {
  color: #ffffff;
  background: var(--st-primary);
  border-color: var(--st-primary);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .st-hero {
    padding: 110px 0 70px 0;
  }
  .st-hero-title {
    font-size: 2.2rem;
  }
  .st-section-title {
    font-size: 1.8rem;
  }
  .st-cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .st-hero {
    padding: 90px 0 50px 0;
    text-align: center;
  }
  .st-hero-title {
    font-size: 1.8rem;
  }
  .st-hero-stat-grid {
    grid-template-columns: 1fr;
  }
  .st-section {
    padding: 60px 0;
  }
  .st-faq-question {
    padding: 18px 20px;
    font-size: 0.98rem;
  }
  .st-faq-answer-content {
    padding: 0 20px 20px 20px;
  }
}
