/* ========================================
   CLANN STAFFING - Design System
   Colors: #004aad | #020c45 | #ff751f
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #004aad;
  --primary-dark: #003a8c;
  --navy: #020c45;
  --accent: #ff751f;
  --accent-hover: #e56a1a;
  --white: #ffffff;
  --light: #f8f9fc;
  --gray-100: #f1f3f9;
  --gray-200: #e2e6ef;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gradient-hero: linear-gradient(135deg, rgba(2,12,69,0.95) 0%, rgba(0,74,173,0.85) 50%, rgba(2,12,69,0.9) 100%);
  --gradient-accent: linear-gradient(135deg, #ff751f 0%, #ff9a5c 100%);
  --gradient-blue: linear-gradient(135deg, #004aad 0%, #0066ff 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,74,173,0.15);
  --shadow-card: 0 4px 24px rgba(2,12,69,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--navy); }

.section-label {
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-md);
  transition: all .3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,74,173,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,74,173,.4);
  color: var(--white);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,117,31,.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,117,31,.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}

/* --- Cards --- */
.card-glass {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--gray-100);
  transition: all .35s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0,74,173,.15);
}
.service-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0,74,173,.08) 0%, rgba(255,117,31,.08) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--primary);
  transition: all .3s ease;
}
.service-card:hover .icon-wrap {
  background: var(--gradient-blue);
  color: var(--white);
  transform: scale(1.05);
}

.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
}
.industry-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.industry-card:hover img { transform: scale(1.08); }
.industry-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,12,69,.9) 0%, rgba(2,12,69,.3) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  transition: all .3s ease;
}
.industry-card:hover .overlay {
  background: linear-gradient(to top, rgba(0,74,173,.92) 0%, rgba(0,74,173,.5) 60%, transparent 100%);
}
.industry-card h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: .25rem;
}
.industry-card p {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  margin: 0;
}

/* --- Stats --- */
.stat-item .stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .5rem;
}

/* --- Navbar --- */
.navbar-custom {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  padding: .75rem 0;
  transition: all .3s ease;
}
.navbar-custom.scrolled {
  box-shadow: var(--shadow-sm);
  padding: .5rem 0;
}
.navbar-custom .navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
}
.navbar-custom .navbar-brand span {
  color: var(--accent);
}
.navbar-custom .nav-link {
  font-weight: 500;
  font-size: .88rem;
  color: var(--gray-800);
  padding: .5rem 1rem !important;
  transition: color .2s;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary);
}

/* --- Hero --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-hero);
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,117,31,.15);
  color: var(--accent);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-title .accent-word {
  color: var(--accent);
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* --- Search Card --- */
.search-card {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.3);
}
.search-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.search-card .form-control {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  padding: .75rem 1rem;
  font-size: .9rem;
  transition: all .2s;
}
.search-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,74,173,.1);
}
.search-card .form-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: .4rem;
}

/* --- Client Logos Marquee --- */
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-container:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logo {
  height: 40px;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: .5rem 1rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--gray-400);
  border: 1px solid var(--gray-100);
  transition: all .3s;
  flex-shrink: 0;
}
.client-logo:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* --- Process Steps --- */
.process-step {
  position: relative;
  text-align: center;
}
.process-step .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(0,74,173,.3);
}
.process-step h5 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.process-step p { font-size: .85rem; color: var(--gray-600); margin-bottom: 0; }

/* --- Testimonial --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .75rem;
}
.testimonial-card p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem;
  margin: 0;
}
.testimonial-card .role {
  font-size: .8rem;
  color: var(--gray-400);
  margin: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #020c45 0%, #004aad 50%, #020c45 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,117,31,.12) 0%, transparent 60%);
}
.cta-content { position: relative; z-index: 2; }

/* --- Footer --- */
.footer-main {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-main h5 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-main a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .88rem;
  display: block;
  margin-bottom: .6rem;
  transition: color .2s;
}
.footer-main a:hover { color: var(--accent); }
.footer-main .social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white);
  margin-right: .5rem;
  transition: all .3s;
}
.footer-main .social-icon:hover {
  background: var(--accent);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* --- Job Card --- */
.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 1.5rem;
  transition: all .3s;
}
.job-card:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(0,74,173,.15);
}
.job-card .job-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 50px;
  background: rgba(0,74,173,.08);
  color: var(--primary);
  margin-right: .4rem;
}
.job-card .job-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: .5rem 0 .25rem;
}
.job-card .job-meta {
  font-size: .82rem;
  color: var(--gray-400);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Team Card --- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all .3s;
}
.team-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}
.team-card img {
  width: 100%; height: 280px; object-fit: cover;
}
.team-card .team-info {
  padding: 1.25rem;
  text-align: center;
}
.team-card h5 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 0; }
.team-card p { font-size: .82rem; color: var(--gray-400); margin: .25rem 0 0; }

/* --- Form --- */
.form-floating .form-control {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
}
.form-floating .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,74,173,.1);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.16,1,.3,1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .hero-section { min-height: auto; padding: 6rem 0 3rem; }
  .search-card { margin-top: 2rem; }
  .navbar-collapse {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    margin-top: .5rem;
  }
}

@media (max-width: 575.98px) {
  .section-title { font-size: 1.6rem; }
  .btn { padding: .65rem 1.25rem; font-size: .85rem; }
  .search-card { padding: 1.25rem; }
  .client-logo { height: 36px; width: 120px; font-size: .75rem; }
}

/* --- Utility --- */
.bg-light-custom { background: var(--light); }
.bg-gray-100 { background: var(--gray-100); }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-navy { color: var(--navy) !important; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-6 { padding-top: 5rem; }
.pb-6 { padding-bottom: 5rem; }
