/* custom overrides */

/* Stats section — vertically center the h6 label relative to the large number */
.hiring-strategies .inner-box .funfact-inner .counter-block {
  min-height: 160px;
}
.hiring-strategies .inner-box .funfact-inner .counter-block h6 {
  position: absolute;
  left: 190px;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

/* Preloader overlay animation — replaces TweenMax */
.loader-wrap .overlay {
  transition: left 1.2s cubic-bezier(0.87, 0, 0.13, 1);
}

/* About section extra bottom spacing for CTA button */
.about-style-two {
  padding-bottom: 40px;
}

/* Service modals */
.service-modal .modal-header {
  background-color: #ff5956;
  border-radius: 4px 4px 0 0;
  padding: 20px 25px;
  align-items: flex-start;
}
.service-modal .modal-header-inner {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}
.service-modal .modal-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  color: #fff;
}
.service-modal .modal-header .modal-title {
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  font-family: 'Nunito Sans', sans-serif;
  margin-bottom: 2px;
}
.service-modal .modal-header .modal-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin: 0;
}
.service-modal .modal-header .close {
  color: #ffffff;
  opacity: 0.85;
  font-size: 24px;
  text-shadow: none;
  margin: -4px -4px 0 10px;
}
.service-modal .modal-header .close:hover { opacity: 1; }

/* Stats highlight bar */
.service-modal-highlight {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.sml-stat {
  flex: 1;
  background: #fff5f5;
  border: 1px solid #ffd5d4;
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
}
.sml-number {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #ff5956;
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.1;
}
.sml-label {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Icon grid */
.service-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.smg-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 14px 12px;
}
.smg-icon {
  width: 36px;
  height: 36px;
  background: #ff5956;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 15px;
}
.smg-item strong {
  display: block;
  font-size: 13px;
  color: #222;
  margin-bottom: 2px;
}
.smg-item div {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.service-modal .modal-body {
  padding: 22px 25px 10px;
}
.service-modal .modal-footer {
  padding: 15px 25px 20px;
  border-top: 1px solid #f0f0f0;
  justify-content: flex-start;
}
.service-modal .modal-footer .theme-btn-one { margin: 0; }

@media (max-width: 576px) {
  .service-modal-grid { grid-template-columns: 1fr; }
  .service-modal-highlight { flex-direction: row; }
  .sml-number { font-size: 18px; }
}

/* CTA Banner */
.cta-banner {
  padding: 60px 0;
  position: relative;
  background-image: url('../images/resource/cta-bg.webp');
  background-size: cover;
  background-position: center 10%;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 89, 86, 0.88);
  z-index: 0;
}
.cta-banner .auto-container {
  position: relative;
  z-index: 1;
}
.cta-banner-inner {
  text-align: center;
}
.cta-banner-inner h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  font-family: 'Nunito Sans', sans-serif;
  margin-bottom: 12px;
}
.cta-banner-inner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  margin-bottom: 30px;
}
.cta-banner-btn {
  display: inline-block;
  background: #ffffff;
  color: #ff5956 !important;
  padding: 15px 40px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 800;
  font-family: 'Nunito Sans', sans-serif;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  color: #ff5956 !important;
  text-decoration: none;
}
.cta-banner-trust {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-trust span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}
.cta-banner-trust span i {
  margin-right: 6px;
}

@media (max-width: 576px) {
  .cta-banner-inner h2 { font-size: 24px; }
  .cta-banner-trust { gap: 16px; }
}

/* Professionals section */
.professionals-section {
  padding: 80px 0;
  position: relative;
  background-image: url('../images/resource/professionals-bg.webp');
  background-size: cover;
  background-position: center top;
}
.professionals-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 20, 40, 0.97) 0%, rgba(30, 35, 65, 0.92) 60%, rgba(255, 89, 86, 0.40) 100%);
  z-index: 0;
}
.professionals-section .auto-container {
  position: relative;
  z-index: 1;
}
.professionals-section .sec-title h2 {
  color: #ffffff;
}
.professionals-section .sec-title .top-title {
  color: rgba(255, 89, 86, 0.9);
}
.professionals-section .sec-title p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 15px;
}

/* Profile badges */
.profiles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}
.profile-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Nunito Sans', sans-serif;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* CTA button for dark background */
.prof-cta-btn {
  display: inline-block;
  background: #ff5956;
  color: #ffffff !important;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Nunito Sans', sans-serif;
  text-decoration: none;
  transition: background 0.3s ease;
}
.prof-cta-btn:hover {
  background: #e04442;
  color: #ffffff !important;
  text-decoration: none;
}
.prof-cta-btn i {
  margin-left: 8px;
  font-size: 12px;
}

/* Feature items */
.prof-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.prof-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 18px 20px;
}
.prof-icon {
  width: 44px;
  height: 44px;
  background: #ff5956;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 18px;
}
.prof-feature-item h5 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  font-family: 'Nunito Sans', sans-serif;
}
.prof-feature-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .professionals-section .features-column {
    margin-top: 40px;
  }
}
@media (max-width: 576px) {
  .professionals-section { padding: 60px 0; }
}
