/* ════════════════════════════════════════
   MARQUEE STYLES (Techstack & TrustedClients)
   ════════════════════════════════════════ */
.partner-section {
  margin-bottom: 120px;
}
.partner-title {
  margin-bottom: 40px;
}
.partner-wrap {
  width: 100%;
  overflow: hidden;
}
.marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  direction: ltr;
}
.marquee__group {
  display: flex;
  gap: 50px;
  flex-shrink: 0;
  animation: rightToLeftMarquee 15s linear infinite !important;
}
@keyframes rightToLeftMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.marquee:hover .marquee__group {
  animation-play-state: paused !important;
}
@media (max-width: 768px) {
  .marquee__group { gap: 30px; }
}
.marquee__group img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* ════════════════════════════════════════
   CHATBOT WIDGET STYLES
   ════════════════════════════════════════ */
@keyframes cbPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(36,75,130,0.5), 0 0 0 0 rgba(36,75,130,0.35); }
  50%      { box-shadow: 0 6px 24px rgba(36,75,130,0.5), 0 0 0 10px rgba(36,75,130,0); }
}
@keyframes cbSpin { to { transform: rotate(360deg); } }
@keyframes cbDot  { 0%,80%,100%{transform:scale(0.55);opacity:.3}40%{transform:scale(1);opacity:1} }
@keyframes cbIn   { from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none} }
#df-chat-messages::-webkit-scrollbar { width: 4px; }
#df-chat-messages::-webkit-scrollbar-thumb { background: rgba(36,75,130,0.15); border-radius: 4px; }
#df-chat-messages::-webkit-scrollbar-track { background: transparent; }

@media(min-width:768px){
  .df-chat-window{
    max-height: calc(100vh - 170px) !important;
  }
}

@media(max-width:767px){
  @keyframes cbPulse {
    0%,100%{ box-shadow: 0 4px 14px rgba(36,75,130,0.45), 0 0 0 0 rgba(36,75,130,0.3); }
    50%    { box-shadow: 0 4px 14px rgba(36,75,130,0.45), 0 0 0 8px rgba(36,75,130,0); }
  }
  .df-chat-window{
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    top: 76px !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    border-radius: 18px !important;
  }
  #df-chat-messages {
    overflow-y: scroll !important;
  }
}

/* ════════════════════════════════════════
   SITEMAP PAGE STYLES
   ════════════════════════════════════════ */
.sm-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--borders-color);
  align-items: start;
}
.sm-row:last-child {
  border-bottom: none;
}
.sm-row-head {
  position: sticky;
  top: 100px;
}
.sm-row-title {
  font-family: var(--font-funnel-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.3;
  margin: 0 0 8px;
}
.sm-row-desc {
  font-family: var(--font-inter);
  font-size: 0.82rem;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  opacity: 0.75;
}
.sm-row-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 10px;
}
.sm-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--borders-color);
  background: var(--dark-white-color);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  min-width: 0;
}
.sm-link:hover {
  border-color: var(--primary-color2);
  background: rgba(36, 75, 130, 0.05);
  transform: translateY(-1px);
}
.sm-link span {
  font-family: var(--font-spaceGrotesk);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.sm-link:hover span {
  color: var(--primary-color2);
}
.sm-arrow {
  color: var(--primary-color2);
  flex-shrink: 0;
  transition: color 0.2s;
}
.sm-link:hover .sm-arrow {
  color: var(--primary-color1);
}
@media (max-width: 1199px) {
  .sm-row-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .sm-row {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }
  .sm-row-head { position: static; }
  .sm-row-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .sm-row-links { grid-template-columns: repeat(2, 1fr); }
  .sm-link span { white-space: normal; }
}
@media (max-width: 480px) {
  .sm-row-links { grid-template-columns: 1fr 1fr; }
}
body.dark .sm-link {
  background: rgba(255,255,255,0.03);
}
body.dark .sm-link:hover {
  background: rgba(58, 107, 188, 0.12);
  border-color: #3a6bbc;
}
.sm-row--detailed {
  border-bottom: none;
}
.sm-detailed-groups {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sm-cat-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  border-radius: 10px;
  background: var(--primary-color2);
  text-decoration: none;
  margin-bottom: 14px;
  transition: background 0.2s;
}
.sm-cat-heading:hover {
  background: var(--primary-color1);
}
.sm-cat-arrow {
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
  transition: color 0.2s;
}
.sm-cat-heading:hover .sm-cat-arrow {
  color: #fff;
}
.sm-cat-heading span:not(.sm-cat-count) {
  font-family: var(--font-spaceGrotesk);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.sm-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 20px;
  background: rgba(255,255,255,0.2);
  font-family: var(--font-spaceGrotesk);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}
.sm-cat-services {
  padding-left: 4px;
}
body.dark .sm-cat-heading {
  background: #1e3a6e;
}
body.dark .sm-cat-heading:hover {
  background: #2a4f96;
}

/* ════════════════════════════════════════
   CONTACT PAGE DROPDOWN ANIMATION
   ════════════════════════════════════════ */
@keyframes svcDropdownIn {
  from { opacity: 0; transform: translateY(-6px) scaleY(0.97); }
  to   { opacity: 1; transform: translateY(0)    scaleY(1); }
}

/* ════════════════════════════════════════
   HIRE RESOURCES PAGE STYLES
   ════════════════════════════════════════ */
/* ── Key Responsibilities ── */
.resp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.resp-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--dark-white-color);
  border: 1px solid var(--borders-color);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.resp-item:hover {
  border-color: var(--primary-color2);
  box-shadow: 0 8px 28px rgba(36, 75, 130, 0.1);
  transform: translateY(-2px);
}
body.dark .resp-item {
  background: rgba(255,255,255,0.03);
}
body.dark .resp-item:hover {
  box-shadow: none;
  border-color: #3a6bbc;
}

/* Left number strip */
.resp-item-num {
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color2);
  color: #fff;
  font-family: var(--font-funnel-display, "Funnel Display", sans-serif);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: background 0.22s;
}
.resp-item:hover .resp-item-num {
  background: var(--primary-color1);
}

/* Right content */
.resp-item-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  flex: 1;
}

/* Check icon */
.resp-item-check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(36, 75, 130, 0.08);
  color: var(--primary-color2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s, color 0.22s;
}
.resp-item:hover .resp-item-check {
  background: rgba(237, 117, 18, 0.1);
  color: var(--primary-color1);
}
body.dark .resp-item-check {
  background: rgba(255,255,255,0.07);
}

/* Text */
.resp-item-text {
  font-family: var(--font-inter);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.55;
  margin: 0;
  transition: color 0.22s;
}
.resp-item:hover .resp-item-text {
  color: var(--title-color);
}

/* Responsive */
@media (max-width: 767px) {
  .resp-grid { grid-template-columns: 1fr; }
}

/* ── Overview meta badges (category / level / rate) ── */
.hire-overview-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 24px 0 28px;
}

/* Base badge */
.hom-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-spaceGrotesk);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  line-height: 1;
  white-space: nowrap;
}
/* Category — blue */
.hom-badge--cat {
  background: rgba(36, 75, 130, 0.1);
  color: var(--primary-color2);
}
/* Level — orange */
.hom-badge--level {
  background: rgba(237, 117, 18, 0.12);
  color: #ed7512;
}
/* Rate — outlined */
.hom-badge--rate {
  background: transparent;
  color: var(--primary-color2);
  border: 1.5px solid rgba(36, 75, 130, 0.25);
}
body.dark .hom-badge--cat {
  background: rgba(255,255,255,0.08);
  color: #7aa3d4;
}
body.dark .hom-badge--level {
  background: rgba(237, 117, 18, 0.18);
  color: #f39a45;
}
body.dark .hom-badge--rate {
  color: #7aa3d4;
  border-color: rgba(255,255,255,0.15);
}

/* Core Skills label */
.hire-skills-label {
  font-family: var(--font-spaceGrotesk);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color2);
  margin: 0 0 12px;
}
body.dark .hire-skills-label {
  color: #7aa3d4;
}

.whyhire-section {}

.whyhire-subtitle {
  font-family: var(--font-inter);
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.7;
  margin-top: 8px;
  opacity: 0.8;
}

.whyhire-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Card — same feel as .aitools-section-block */
.whyhire-card {
  position: relative;
  background: #eceef8;
  border-radius: 20px;
  border: 1px solid rgba(36, 75, 130, 0.08);
  padding: 28px 24px 32px 24px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.whyhire-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(36, 75, 130, 0.12);
  border-color: rgba(36, 75, 130, 0.2);
}
body.dark .whyhire-card {
  background: #0c1c3e;
  border-color: rgba(255,255,255,0.07);
}
body.dark .whyhire-card:hover {
  box-shadow: none;
  border-color: #3a6bbc;
}

/* Icon circle */
.whyhire-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-color2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.22s;
}
.whyhire-card:hover .whyhire-icon-wrap {
  background: var(--primary-color1);
}

/* Title */
.whyhire-card-title {
  font-family: var(--font-spaceGrotesk);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

/* Description */
.whyhire-card-desc {
  font-family: var(--font-inter);
  font-size: 0.88rem;
  color: var(--text-color);
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Corner number — same as .aitools-corner-num */
.whyhire-corner-num {
  position: absolute;
  bottom: -10px;
  right: 14px;
  font-family: var(--font-funnel-display, "Funnel Display", sans-serif);
  font-size: 6.5rem;
  font-weight: 800;
  color: rgba(36, 75, 130, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
body.dark .whyhire-corner-num {
  color: rgba(255,255,255,0.04);
}

/* Responsive */
@media (max-width: 1199px) {
  .whyhire-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .whyhire-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .whyhire-grid { grid-template-columns: 1fr; }
  .whyhire-corner-num { font-size: 4.5rem; }
}
