/* ============================================
   PROJECT QUALITY ASSURANCE PAGE STYLES
   ISIS Papyrus - Modern 2026 Design
   ============================================ */

/* ===== CSS Variables ===== */
:root {
  --pqa-primary: #6bb8be;
  --pqa-primary-dark: #4a9ea5;
  --pqa-primary-light: rgba(107, 184, 190, 0.12);
  --pqa-primary-glow: rgba(107, 184, 190, 0.25);
  --pqa-text-dark: #1e293b;
  --pqa-text-medium: #475569;
  --pqa-text-light: #64748b;
  --pqa-bg-light: #f8fafc;
  --pqa-border: #e2e8f0;
  --pqa-border-light: #f1f5f9;
  --pqa-white: #ffffff;
  --pqa-dark: #0f172a;
  --pqa-dark-mid: #1e293b;
}

/* ===== Hide Default Elements ===== */
.pqa-page .contactus,
.pqa-page #go_up,
.pqa-page .icon-chevron-up,
.pqa-page #sidebar2,
.pqa-page .sb {
  display: none !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.pqa-hero {
  position: relative;
  background-size: cover;
  background-position: center 40%;
  padding: 65px 0 60px;
  overflow: hidden;
}

.pqa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(30, 41, 59, 0.92) 0%,
    rgba(45, 55, 72, 0.8) 35%,
    rgba(55, 65, 81, 0.5) 60%,
    rgba(100, 116, 139, 0.25) 100%
  );
}

.pqa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 20% 80%,
    rgba(107, 184, 190, 0.15) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.pqa-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.pqa-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  margin-bottom: 16px;
}

.pqa-hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--pqa-primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--pqa-primary);
  animation: pqa-pulse 2s ease-in-out infinite;
}

.pqa-hero__badge-text {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.pqa-hero__title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  color: var(--pqa-white) !important;
  line-height: 1.15 !important;
  margin: 0 0 16px !important;
  letter-spacing: -0.02em;
    font-size:2.8rem;

}

.pqa-hero__subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 2rem;
  line-height: 1.4;
  margin: 0 0 28px;
  max-width: 700px;
}

.pqa-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pqa-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pqa-hero__btn--primary {
  background: var(--pqa-white);
  color: var(--pqa-primary-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pqa-hero__btn--primary:hover {
  background: var(--pqa-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  color: var(--pqa-primary-dark);
  text-decoration: none;
}

.pqa-hero__btn--secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--pqa-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pqa-hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--pqa-white);
  text-decoration: none;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.pqa-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.pqa-section-label {
  display: inline-block;
  padding: 8px 18px;
  background: var(--pqa-primary-light);
  color: var(--pqa-primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.pqa-section-header h2 {
  font-weight: 800;
  color: var(--pqa-text-dark);
  margin: 0;
  letter-spacing: -0.02em;
}

.pqa-section-header--light .pqa-section-label {
  background: rgba(255, 255, 255, 0.15);
  color: var(--pqa-white);
}

.pqa-section-header--light h2 {
  color: var(--pqa-white);
}

.pqa-section-subtitle {
  color: var(--pqa-text-medium);
  text-align: center;
  margin: 14px auto 0;
  max-width: 700px;
  line-height: 1.7;
}

.pqa-section-header--light .pqa-section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   INTRO SECTION
   ============================================ */
.pqa-intro {
  padding: 70px 0 60px;
  background: var(--pqa-white);
}

.pqa-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pqa-intro__content {
  max-width: 560px;
}

.pqa-intro__lead {
  line-height: 1.8;
  color: var(--pqa-text-medium);
  margin: 0 0 24px;
}

.pqa-intro__highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--pqa-bg-light);
  border-radius: 16px;
}

.pqa-intro__highlight-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pqa-primary) 0%, var(--pqa-primary-dark) 100%);
  border-radius: 12px;
  color: var(--pqa-white);
}

.pqa-intro__highlight-text {
  color: var(--pqa-text-dark);
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

/* Video Card */
.pqa-video-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.pqa-video-card__thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.pqa-video-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pqa-video-card:hover .pqa-video-card__thumbnail img {
  transform: scale(1.05);
}

.pqa-video-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pqa-video-card__play {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pqa-white);
  border-radius: 50%;
  color: var(--pqa-primary-dark);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.pqa-video-card:hover .pqa-video-card__play {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pqa-video-card__play i {
  margin-left: 4px;
}

.pqa-video-card__label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: var(--pqa-white);
  font-weight: 600;
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */
.pqa-expertise {
  padding: 90px 0;
  background: var(--pqa-bg-light);
}

.pqa-expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pqa-expertise-card {
  position: relative;
  background: var(--pqa-white);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--pqa-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.pqa-expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.pqa-expertise-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(107, 184, 190, 0.12) 0%, rgba(129, 212, 217, 0.08) 100%);
  border-radius: 18px;
  color: var(--pqa-primary);
  margin: 0 auto 20px;
  transition: all 0.4s ease;
}

.pqa-expertise-card__icon i {
  font-size: 1.6rem;
}

.pqa-expertise-card:hover .pqa-expertise-card__icon {
  background: linear-gradient(135deg, var(--pqa-primary) 0%, #81d4d9 100%);
  color: var(--pqa-white);
  box-shadow: 0 8px 24px rgba(107, 184, 190, 0.3);
  transform: scale(1.1) rotate(5deg);
}

.pqa-expertise-card__title {
  color: var(--pqa-text-dark) !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
}

.pqa-expertise-card__text {
  color: var(--pqa-text-medium);
  line-height: 1.65;
  margin: 0;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.pqa-process {
  padding: 90px 0;
  background: linear-gradient(175deg, var(--pqa-dark) 0%, #0c1220 100%);
  position: relative;
  overflow: hidden;
}

.pqa-process__bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(107, 184, 190, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(107, 184, 190, 0.05) 0%, transparent 45%);
  pointer-events: none;
}

.pqa-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.pqa-timeline__line {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.pqa-timeline__line::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--pqa-primary) 10%, 
    var(--pqa-primary) 90%, 
    transparent 100%
  );
  border-radius: 2px;
}

.pqa-timeline__items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.pqa-timeline__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.pqa-timeline__marker {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pqa-dark);
  border: 2px solid rgba(107, 184, 190, 0.3);
  border-radius: 50%;
  color: var(--pqa-primary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.pqa-timeline__marker i {
  font-size: 1.5rem;
}

.pqa-timeline__item:hover .pqa-timeline__marker {
  background: var(--pqa-dark);
  border-color: var(--pqa-primary);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(107, 184, 190, 0.3);
}

.pqa-timeline__title {
  color: var(--pqa-white);
  font-weight: 700;
  margin: 0 0 8px;
}

.pqa-timeline__desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
  max-width: 160px;
}

/* ============================================
   BEST PRACTICES SECTION
   ============================================ */
.pqa-practices {
  padding: 90px 0;
  background: var(--pqa-white);
}

.pqa-practices__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pqa-practices__content h3 {
  color: var(--pqa-text-dark);
  font-weight: 700;
  margin: 0 0 20px;
}

.pqa-practices__content p {
  color: var(--pqa-text-medium);
  line-height: 1.8;
  margin: 0 0 24px;
}

.pqa-practices__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pqa-practices__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--pqa-border-light);
}

.pqa-practices__item:last-child {
  border-bottom: none;
}

.pqa-practices__item-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pqa-primary-light);
  border-radius: 8px;
  color: var(--pqa-primary);
}

.pqa-practices__item-text {
  color: var(--pqa-text-dark);
  font-weight: 500;
  line-height: 1.5;
}

/* Image Side */
.pqa-practices__image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pqa-practices__image img {
  width: 100%;
  height: auto;
  display: block;
}

.pqa-practices__image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pqa-practices__image-badge i {
  color: var(--pqa-primary);
}

.pqa-practices__image-badge span {
  color: var(--pqa-text-dark);
  font-weight: 600;
}

/* ============================================
   CTA SECTION
   ============================================ */
.pqa-cta {
  padding: 90px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.pqa-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.87) 0%, rgba(45, 55, 72, 0.85) 100%);
}

.pqa-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 0% 100%, rgba(107, 184, 190, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(107, 184, 190, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.pqa-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.pqa-cta__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 184, 190, 0.15);
  border: 1px solid rgba(107, 184, 190, 0.3);
  border-radius: 20px;
  color: var(--pqa-primary);
  margin: 0 auto 28px;
}

.pqa-cta__icon i {
  font-size: 2rem;
}

.pqa-cta__title {
  color: var(--pqa-white) !important;
  font-weight: 800 !important;
  margin: 0 0 20px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em;
}

.pqa-cta__text {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  margin: 0 0 36px;
}

.pqa-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pqa-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pqa-cta__btn--primary {
  background: var(--pqa-primary);
  color: var(--pqa-white);
  box-shadow: 0 8px 30px rgba(107, 184, 190, 0.3);
}

.pqa-cta__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(107, 184, 190, 0.4);
  background: var(--pqa-primary-dark);
  color: var(--pqa-white);
  text-decoration: none;
}

.pqa-cta__btn--secondary {
  background: transparent;
  color: var(--pqa-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.pqa-cta__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--pqa-white);
  text-decoration: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pqa-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .pqa-expertise__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .pqa-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pqa-intro__content {
    max-width: none;
  }
  
  .pqa-practices__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pqa-practices__image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .pqa-hero {
    padding: 50px 0 45px;
  }
  
  .pqa-timeline__items {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .pqa-timeline__item {
    flex: 0 0 45%;
  }
  
  .pqa-timeline__line {
    display: none;
  }
}

@media (max-width: 768px) {
  .pqa-hero {
    padding: 40px 0 35px;
  }
  
  .pqa-hero__actions {
    flex-direction: column;
  }
  
  .pqa-hero__btn {
    width: 100%;
    justify-content: center;
  }
  
  .pqa-expertise__grid {
    grid-template-columns: 1fr;
  }
  
  .pqa-timeline__item {
    flex: 0 0 100%;
  }
  
  .pqa-cta__actions {
    flex-direction: column;
  }
  
  .pqa-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .pqa-hero {
    padding: 35px 0 30px;
  }
  
  .pqa-intro__highlight {
    flex-direction: column;
    text-align: center;
  }
  
  .pqa-timeline__marker {
    width: 64px;
    height: 64px;
  }
}

/* ===== Accessibility ===== */
.pqa-hero__btn:focus,
.pqa-cta__btn:focus,
.pqa-video-card:focus {
  outline: 3px solid var(--pqa-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}