/* Careers & Client Testimonials pages */

.careers-hero,
.testimonials-hero {
  margin-top: var(--headerheight);
  background: linear-gradient(135deg, var(--primary) 0%, #001452 60%, #0a2463 100%);
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.careers-hero::before,
.testimonials-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(218, 83, 44, 0.12) 0%, transparent 45%);
  pointer-events: none;
}
.careers-hero .container,
.testimonials-hero .container {
  position: relative;
  z-index: 1;
}
.careers-hero h1,
.testimonials-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.careers-hero p,
.testimonials-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 24px;
}
.hero-badge svg {
  flex-shrink: 0;
}

/* Stats strip */
.page-stats {
  background: #fff;
  padding: 0 0 1rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}
.page-stats .stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 37, 122, 0.12);
  border: 1px solid #eee;
  overflow: hidden;
}
.page-stats .stat-box {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid #f0f0f0;
}
.page-stats .stat-box:last-child {
  border-right: none;
}
.page-stats .stat-box h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.page-stats .stat-box p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
}

/* Section common */
.page-section {
  padding: 5rem 0;
}
.page-section.bg-light {
  background: #fafafa;
}
.page-section .section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.page-section .section-head h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 14px;
}
.page-section .section-head p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}

/* Why join / perks grid */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.perk-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.perk-card:hover {
  box-shadow: 0 12px 32px rgba(0, 37, 122, 0.1);
  transform: translateY(-4px);
}
.perk-card .perk-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 37, 122, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.perk-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
}
.perk-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

/* Career application form */
.career-apply-section .career-form {
  max-width: 750px;
  margin: 0 auto;
  --item: 2;
  --inputsize: 52px;
  --gaplr: 24px;
  --gaptb: 20px;
  --paddingleftright: 17px;
}
.career-apply-section .career-form .form-group {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
}
.career-apply-section .career-form .form-group::before,
.career-apply-section .career-form .form-group::after {
  display: none;
}
.career-apply-section .career-form .form-group.file-input {
  padding: 16px 17px 14px;
  line-height: normal;
}
.career-apply-section .career-form .form-group.file-input .file-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 10px;
}
.career-apply-section .career-form .form-group.file-input .file-name {
  --filename: "Upload Resume";
  display: block;
  min-height: 52px;
  border: 1px dashed #ccc;
  border-radius: 8px;
  background: #fafafa;
}
.career-apply-section .career-form .form-group.file-input .file-hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}
.career-apply-section .career-form .sbmt-grp .btn {
  min-width: 220px;
}
@media only screen and (max-width: 675px) {
  .career-apply-section .career-form {
    --item: 1;
  }
}

/* CTA band */
.page-cta {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #001452 100%);
  position: relative;
  overflow: hidden;
}
.page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-cta .container {
  position: relative;
  z-index: 1;
}
.page-cta h3 {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}
.page-cta p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-size: 16px;
}
.page-cta .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.page-cta .btn.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  font-weight: 600;
}
.page-cta .btn.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.page-cta .btn.btn-border-white {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.page-cta .btn.btn-border-white:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* Testimonials page */
.rating-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  max-width: 720px;
  margin: -2rem auto 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 40px rgba(0, 37, 122, 0.1);
}
.rating-banner .rating-score {
  text-align: center;
}
.rating-banner .rating-score .score {
  font-size: 52px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.rating-banner .rating-score .stars {
  color: #ffc107;
  font-size: 20px;
  letter-spacing: 2px;
  margin: 8px 0 4px;
}
.rating-banner .rating-score p {
  font-size: 13px;
  color: var(--text);
  margin: 0;
}
.rating-banner .rating-divider {
  width: 1px;
  height: 60px;
  background: #eee;
}
.rating-banner .rating-text {
  text-align: left;
}
.rating-banner .rating-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}
.rating-banner .rating-text p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px rgba(0, 37, 122, 0.1);
  transform: translateY(-3px);
}
.testimonial-card .card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.25rem;
}
.testimonial-card .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0033a0);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-card .author h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
}
.testimonial-card .author .stars-sm {
  color: #ffc107;
  font-size: 14px;
  letter-spacing: 1px;
}
.testimonial-card .quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  flex: 1;
  margin-bottom: 1.25rem;
}
.testimonial-card .quote::before {
  content: "\201C";
  font-size: 28px;
  color: var(--primary);
  opacity: 0.4;
  line-height: 0;
  display: block;
  margin-bottom: 8px;
}
.testimonial-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}
.testimonial-card .card-foot .source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.testimonial-card .card-foot a {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}
.testimonial-card .card-foot a:hover {
  text-decoration: underline;
}

.google-cta {
  text-align: center;
  margin-top: 3rem;
}
.google-cta a.ggl-rw {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
  font-size: 17px;
  font-weight: 500;
  padding: 14px 28px;
  border: 1px solid #ddd;
  border-radius: 50px;
  transition: 0.3s ease;
}
.google-cta a.ggl-rw:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.google-cta a.ggl-rw:hover path {
  fill: #fff;
}

@media only screen and (max-width: 991px) {
  .page-stats .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-stats .stat-box:nth-child(2) {
    border-right: none;
  }
  .page-stats .stat-box:nth-child(1),
  .page-stats .stat-box:nth-child(2) {
    border-bottom: 1px solid #f0f0f0;
  }
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 675px) {
  .careers-hero h1,
  .testimonials-hero h1 {
    font-size: 30px;
  }
  .careers-hero,
  .testimonials-hero {
    padding: 3.5rem 0 3rem;
  }
  .page-stats .stats-inner {
    grid-template-columns: 1fr;
    margin: 0 15px;
  }
  .page-stats .stat-box {
    border-right: none !important;
    border-bottom: 1px solid #f0f0f0;
  }
  .page-stats .stat-box:last-child {
    border-bottom: none;
  }
  .perks-grid {
    grid-template-columns: 1fr;
  }
  .page-section .section-head h2 {
    font-size: 26px;
  }
  .page-cta h3 {
    font-size: 26px;
  }
  .rating-banner {
    flex-direction: column;
    text-align: center;
    margin: -1.5rem 15px 0;
    padding: 1.75rem;
  }
  .rating-banner .rating-divider {
    width: 60px;
    height: 1px;
  }
  .rating-banner .rating-text {
    text-align: center;
  }
}
