/* ========== GLOBAL ========== */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background: #f7f7f7;
  color: #1a1a1a;
}

/* ========== HEADER ========== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: #ff7a00;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
}

.nav a {
  margin: 0 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.login-link {
  font-weight: 500;
  color: #1a1a1a;
}

.btn-primary {
  background: #ff7a00;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #041c4a;
  color: #d6e0ff;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo .logo-icon {
  background: #ff7a00;
}

.footer-text {
  margin: 15px 0;
  line-height: 1.6;
}

.socials a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-right: 8px;
  color: #fff;
  font-weight: bold;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.mt {
  margin-top: 20px;
}

/* ========== FOOTER BOTTOM ========== */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 40px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  margin-left: 15px;
  color: #d6e0ff;
  font-size: 14px;
}
/* ===== MOBILE HEADER ===== */
.menu-btn {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    display: none;
    border-bottom: 1px solid #eee;
  }

  .nav a {
    padding: 14px 20px;
    border-top: 1px solid #f1f1f1;
  }

  .nav.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
}

/* ===== MOBILE FOOTER ===== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header.scrolled {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}


/* ===== HERO ===== */

.hero {
  background: linear-gradient(180deg, #f9fbff, #f1f5ff);
  padding: 90px 0;
  overflow: hidden;
}

.hero h1 {
  animation: slideUp .8s var(--ease) forwards;
}

.hero p {
  animation: slideUp .9s var(--ease) forwards;
}

.hero-actions {
  animation: slideUp 1s var(--ease) forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-box {
  transform: translateY(10px);
  animation: floatIn 1s var(--ease) forwards;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero {
  background:
    linear-gradient(
      rgba(247,249,252,0.9),
      rgba(247,249,252,0.9)
    ),
    url("assets/hero1.jpg") center/cover no-repeat;
}


.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
}

.hero-actions span {
  margin-left: 15px;
  color: #666;
}

.hero-box {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.hero-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.full {
  width: 100%;
  text-align: center;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 70px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step {
  text-align: center;
}

.step span {
  width: 42px;
  height: 42px;
  background: #ff7a00;
  color: white;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: bold;
}

/* ===== TRUST ===== */
.trust {
  padding: 70px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.trust-box {
  background: #f7f9fc;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
}

/* ===== CTA ===== */
.cta {
  background: #ff7a00;
  color: white;
  padding: 60px 0;
}

.cta-box {
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid,
  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}


h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 22px;
  font-weight: 600;
}

p {
  font-size: 16px;
  line-height: 1.65;
  color: #4a4a4a;
}

.nav a {
  font-weight: 500;
  font-size: 15px;
}

button,
.btn-primary,
input,
textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

.btn-primary {
  font-weight: 600;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ===== GLOBAL SMOOTHNESS ===== */
* {
  transition: 
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}


/* ===== GLOBAL SMOOTHNESS ===== */
* {
  transition: 
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}




.fade-up {
  opacity: 0;
  transform: translateY(20px);
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}



/* ===== MOTION SYSTEM ===== */
:root {
  --ease: cubic-bezier(.22,.61,.36,1);
}

* {
  transition:
    transform .35s var(--ease),
    box-shadow .35s var(--ease),
    opacity .35s var(--ease),
    background-color .35s var(--ease);
}

/* Scroll animation base */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
/* ================== QUICKQUOTZ SERVICES (ISOLATED) ================== */

.qq-services {
  background: radial-gradient(1200px at top, #0d2f66, #041c4a);
  padding: 100px 0;
  color: #fff;
  overflow: hidden;
}

.qq-services-header {
  text-align: center;
  margin-bottom: 60px;
}

.qq-services-header h2 {
  font-size: 34px;
  font-weight: 700;
}

.qq-services-header p {
  opacity: 0.85;
  margin-top: 8px;
}

/* Grid */
.qq-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.qq-service-card {
  position: relative;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 70px rgba(0,0,0,0.45);
  text-decoration: none;
}

/* Image */
.qq-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: brightness(0.85);
}

/* Overlay */
.qq-service-info {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.25)
  );
}

.qq-service-info h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.qq-service-info span {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 6px;
}

/* Hover interaction */
.qq-service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 90px rgba(0,0,0,0.65);
}

.qq-service-card:hover img {
  transform: scale(1.15);
  filter: brightness(1);
}

.qq-service-card:hover .qq-service-info {
  background: linear-gradient(
    to top,
    rgba(255,122,0,0.85),
    rgba(0,0,0,0.25)
  );
}

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

/* ================== SCROLL REVEAL (ISOLATED) ================== */
.qq-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.qq-reveal.qq-show {
  opacity: 1;
  transform: translateY(0);
}


/* ================= POST JOB ================= */
.post-job {
  padding: 80px 0;
  background: #f7f9fc;
}

.job-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.job-progress span {
  flex: 1;
  text-align: center;
  font-size: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ddd;
  color: #999;
}

.job-progress span.active {
  color: #ff7a00;
  border-color: #ff7a00;
  font-weight: 600;
}

.job-step {
  display: none;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.job-step.active {
  display: block;
}

.job-step h2 {
  margin-bottom: 10px;
}

.job-step p {
  margin-bottom: 25px;
}

.job-input {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn-secondary {
  background: #eaeaea;
  color: #333;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
}


/* ================= user ================= */
.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-name {
  font-weight: 500;
  color: #1a1a1a;
}

.logout-btn {
  background: none;
  border: none;
  color: #ff7a00;
  font-weight: 600;
  cursor: pointer;
}

/* ================= DASHBOARD ================= */
.dashboard {
  padding: 80px 0;
  background: #f7f9fc;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dashboard-card {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
  margin-bottom: 25px;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-item {
  border: 1px solid #eee;
  padding: 18px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-item h4 {
  margin: 0;
  font-size: 16px;
}

.job-item span {
  font-size: 14px;
  color: #666;
}

.job-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.status-open {
  background: #e6f4ff;
  color: #007bff;
}

.status-closed {
  background: #e6ffe6;
  color: #2e7d32;
}

.status-pending {
  background: #fff4e5;
  color: #ff9800;
}


/* footer */

/* ================= QUICKQUOTZ FOOTER ================= */

.qq-footer {
  background: #041c4a;
  color: #d6e0ff;
  padding: 70px 0 25px;
}

.qq-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
}

/* Brand */
.qq-footer-logo img {
  height: 40px;
  margin-bottom: 15px;
}

.qq-footer-brand p {
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Social icons */
.qq-footer-socials a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  margin-right: 8px;
  font-weight: 600;
  text-decoration: none;
}

/* Columns */
.qq-footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 14px;
}

.qq-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qq-footer-col li {
  margin-bottom: 10px;
}

.qq-footer-col a {
  color: #d6e0ff;
  text-decoration: none;
  font-size: 14px;
}

.qq-footer-col a:hover {
  color: #fff;
}

/* Contact */
.qq-footer-contact li {
  font-size: 14px;
}

/* Bottom */
.qq-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 50px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}

.qq-footer-links a {
  color: #d6e0ff;
  margin-left: 18px;
  text-decoration: none;
}

.qq-footer-links a:hover {
  color: #fff;
}

/* Mobile */
@media (max-width: 900px) {
  .qq-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .qq-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .qq-footer-links a {
    margin-left: 10px;
    margin-right: 10px;
  }
}


/* Job thumbnail (dashboard) */
.job-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f1f1;
  cursor: zoom-in;
  flex-shrink: 0;
}

/* ===== IMAGE PREVIEW MODAL ===== */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.image-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}


/* ===== JOB DETAILS ===== */
.job-details {
  padding: 80px 0;
  background: #f7f9fc;
}

.job-meta-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 15px 0 30px;
}

.job-meta-bar span {
  background: #eef3ff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.job-card {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  margin-bottom: 20px;
}

.job-images {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.job-image-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
}

/* ===== BUTTON LOADING STATE ===== */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: none;
}

.btn-primary.loading .btn-text {
  visibility: hidden;
}

.btn-primary.loading .btn-spinner {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* register */
/* =========================
   AUTH PAGES (LOGIN / REGISTER)
========================= */

.auth-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-start;   /* ⬅️ was center (causing big top gap) */
  justify-content: center;
  padding: 24px 16px 40px;   /* ⬅️ reduced top padding */
  background: #f7f9fc;
}

/* Wrapper */
.auth-wrapper {
  width: 100%;
  max-width: 960px;
}

/* =========================
   LOGIN CARD
========================= */

.auth-login {
  background: #fff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  margin-bottom: 32px; /* ⬅️ SPACE BETWEEN LOGIN & LOWER CARDS */
}

.auth-login h2 {
  margin-bottom: 6px;
}

.auth-subtext {
  color: #666;
  margin-bottom: 24px;
}

/* =========================
   ACTION CARDS
========================= */

.auth-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;        /* ⬅️ MORE BREATHING SPACE BETWEEN CARDS */
}

/* Individual card */
.auth-action-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.auth-action-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.auth-action-card h4 {
  margin-bottom: 4px;
}

.auth-action-card span {
  color: #ff7a00;
  font-weight: 600;
}

/* Highlight worker */
.auth-action-card.highlight {
  border-color: #ff7a00;
  background: #fff7f0;
}

/* =========================
   MOBILE POLISH
========================= */

@media (max-width: 768px) {
  .auth-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .auth-login {
    padding: 24px;
  }
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden { display: none; }

.modal-content {
  background: #fff;
  padding: 20px;
  width: 420px;
  border-radius: 8px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin-bottom: 10px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* =========================
   EDIT JOB MODAL (POLISHED)
========================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.hidden {
  display: none;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: modalFade 0.25s ease;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content h3 {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

/* Labels */
.modal-content label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

/* Inputs */
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 14px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #ff7a00;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

.modal-content textarea {
  min-height: 90px;
  resize: vertical;
}

/* File input */
.modal-content input[type="file"] {
  padding: 6px;
}

/* Actions */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* Buttons */
.btn-primary {
  background: #ff7a00;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  background: #e56d00;
}

.btn-secondary {
  background: #f1f1f1;
  color: #333;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #e2e2e2;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


/* image edit */
.edit-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.edit-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.edit-image img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.remove-image {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  font-size: 14px;
  line-height: 22px;
}

/* breadcrum */
.job-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.back-link {
  font-size: 14px;
  color: #ff7a00;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.breadcrumb {
  font-size: 13px;
  color: #777;
}

.breadcrumb a {
  color: #555;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 4px;
}




