* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.header {
  /* position: fixed;
    top: 0;
    left: 0; */
  width: 100%;
  padding: 10px 100px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0px 2px 5px #ccc;
}
.logo {
  width: 150px;
  overflow: hidden;
}
.logo img {
  width: 100%;
  object-fit: cover;
}
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  text-decoration: none;
}
nav ul li a {
  text-decoration: none;
  text-align: center;
  color: black;
  font-size: 16px;
  font-weight: 500;
  transition: all 250ms;
}
nav ul li a::after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  background: black;
  border-radius: 5px;
  transition: all 250ms;
}
nav ul li:hover > a::after {
  width: 100%;
  padding: 0 5px;
}
nav ul li.active > a::after {
  width: 100%;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: black;
  margin-bottom: 4px;
  border-radius: 5px;
}
.cta-btn {
  display: flex;
  gap: 15px;
  align-items: center;
}
/* .cta-btn a{
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid black; 
    padding: 5px 15px;
    border-radius: 20px;
    background: #fbf9f9;
    box-shadow: inset 0 0px 15px 0px rgb(203, 203, 203);
} */

.btn-17,
.btn-17 *,
.btn-17 :after,
.btn-17 :before,
.btn-17:after,
.btn-17:before {
  border: 0 solid;
  box-sizing: border-box;
}

.btn-17 {
  --webkit-tap-highlight-color: transparent;
  --webkit-appearance: button;
  background-color: red;
  background-image: none;
  color: #fff;
  cursor: pointer;
  font-family: "poppins", sans-serif;
  font-size: 16px;
  /* font-weight: 500; */
  line-height: 1.5;
  margin: 0;
  --webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
  /* text-transform: uppercase; */
  /* box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27); */
  border: 2px solid red;
}

.btn-17:disabled {
  cursor: default;
}

.btn-17:-moz-focusring {
  outline: auto;
}

.btn-17 svg {
  display: block;
  /* vertical-align: middle; */
}

.btn-17 [hidden] {
  display: none;
}

.btn-17 {
  border-radius: 99rem;
  border-width: 2px;
  padding: 0.5rem 1rem;
  z-index: 0;
}

.btn-17,
.btn-17 .text-container {
  overflow: hidden;
  position: relative;
}

.btn-17 .text-container {
  display: block;
  /* mix-blend-mode: difference; */
}

.btn-17 .text {
  display: block;
  position: relative;
}

.btn-17:hover .text {
  -webkit-animation: move-up-alternate 0.3s forwards;
  animation: move-up-alternate 0.3s forwards;
  color: red;
}

@-webkit-keyframes move-up-alternate {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(80%);
  }

  51% {
    transform: translateY(-80%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes move-up-alternate {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(80%);
  }

  51% {
    transform: translateY(-80%);
  }

  to {
    transform: translateY(0);
  }
}

.btn-17:after,
.btn-17:before {
  --skew: 0.2;
  background: #fff;
  content: "";
  display: block;
  height: 104%;
  left: calc(-50% - 50% * var(--skew));
  pointer-events: none;
  position: absolute;
  top: -106%;
  transform: skew(calc(150deg * var(--skew))) translateY(var(--progress, 0));
  transition: transform 0.2s ease;
  width: 100%;
}

.btn-17:after {
  --progress: 0%;
  left: calc(50% + 50% * var(--skew));
  top: 104%;
  z-index: -1;
}

.btn-17:hover:before {
  --progress: 100%;
}

.btn-17:hover:after {
  --progress: -102%;
}
.login-btn {
  padding: 0.5rem 1rem;
  border: unset;
  border-radius: 99rem;
  color: #212121;
  z-index: 1;
  background: #e8e8e8;
  position: relative;
  font-weight: 1000;
  font-size: 17px;
  text-transform: uppercase;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica Neue,
    Arial,
    Noto Sans,
    sans-serif,
    Apple Color Emoji,
    Segoe UI Emoji,
    Segoe UI Symbol,
    Noto Color Emoji;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms;
  overflow: hidden;
}

.login-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 15px;
  background-color: #212121;
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms;
}

.login-btn:hover {
  color: #e8e8e8;
}

.login-btn:hover::before {
  width: 100%;
}
.login {
  display: flex;
  align-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.login img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.login:hover {
  transform: scale(1.2);
}
.location {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  padding: 5px;
  border-radius: 5px;
}
.location img {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}
.location p {
  font-size: 12px;
  transition: all 0.3s ease;
}
.location:hover img {
  transform: scale(1.5);
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 50px;
  width: 20%;
}
.search-bar img {
  width: 20px;
  height: 20px;
}
.search-bar input {
  font-size: 14px;
  outline: none;
  border: none;
  background: #ccc;
  padding: 10px;
  border-radius: 5px;
  width: 90%;
}
/* =============DROPDOWN=============== */
.dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 650px;
  background: #f1f1f1;
  clip-path: polygon(12% 2%, 100% 2%, 100% 100%, 0 100%, 0 0%, 6% 2%, 9% 2%);
  display: none;
  gap: 30px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Show on hover */
.dropdown:hover .mega-menu {
  display: flex;
}
.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px; /* bridge area */
}
/* LEFT SIDE */
.mega-left {
  width: 30%;
}

.mega-left h2 {
  font-size: 22px;
  margin-bottom: 5px;
}

.mega-left p {
  color: #666;
  margin-bottom: 20px;
}

.option {
  background: #f3f3f3;

  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.option.active {
  border-left: 4px solid red;
  background: black;
  color: #fff;
}

/* RIGHT SIDE */
.mega-right {
  width: 80%;
}

/* .mega-right ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  gap: 10px;
  font-size: 14px;
} */
.mega-right ul {
  list-style: none;
  font-size: 14px;
}

.mega-right ul li {
  cursor: pointer;
  /* padding: 5px 0; */
  transition: 0.2s;
}

.mega-right ul li:hover {
  color: red;
}
.menu-content {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.menu-content.active {
  display: grid;
}
.mega-menu {
  pointer-events: auto;
}
.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px;
  background: url("assets/hero-section.png") no-repeat;
  width: 100%;
  height: 90vh;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
  max-width: 500px;
  overflow: hidden;
}
.hero-content h1 {
  font-size: 48px;
  color: black;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 24px;
  color: #333;
  margin-bottom: 9rem;
}
.mid-black-bar {
  width: 60%;
  height: 50px;
  align-self: center;
  background: black;
  position: absolute;
  bottom: -25px;
  border-radius: 20px;
  padding: 10px 50px;
  display: flex;
  /* justify-content: space-evenly; */
  align-items: center;
}
.mid-location {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.mid-search {
  width: 70%;
}
.mid-search input {
  font-size: 14px;
  width: 90%;
  outline: none;
  border: none;
  background: transparent;
  padding: 10px;
  border-radius: 5px;
  color: #fff;
}
.mid-search input::placeholder {
  color: #ccc;
}
.mid-location p {
  font-size: 16px;
  color: #ccc;
}

.notification {
  position: relative;
  width: 40px;
  height: 40px;
}
.notification img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.noti-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
}
.noti-drop {
  position: absolute;
  top: 35px;
  right: -50px;
  width: 200px;
  background: #f1f1f1;
  clip-path: polygon(66% 7%, 100% 7%, 100% 100%, 0 100%, 0 7%, 62% 7%, 65% 0);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
}
.noti-drop.show {
  display: block;
}
.noti-dot.show {
  display: block;
}
.noti-drop p {
  font-size: 12px;
  color: #333;
  margin-bottom: 10px;
}
.noti-ans {
  display: flex;
  /* flex-direction: column; */
  gap: 5px;
  align-items: center;
  margin: 5px 0;
}
.noti-ans a {
  padding: 4px 6px;
  background: red;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
}
.noti-ans .yes {
  background: black;
  color: #fff;
}
.step {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.step.active {
  display: flex;
}

.noti-drop textarea,
.noti-drop select,
.noti-drop input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 13px;
  margin: 5px 0;
  resize: none;
}

.stars span {
  font-size: 20px;
  cursor: pointer;
  color: #ccc;
}

.stars span.active {
  color: gold;
}

.noti-drop button {
  padding: 8px;
  border: none;
  background: black;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
.noti-ans button {
  padding: 5px;
  font-size: 12px;
}
.noti-ans button::selection {
  background: #ccc;
}
.submit-btn {
  background: red;
}
.noti-ans button.active {
  background: red;
  color: #fff;
}
/* modal */
/* .review-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.review-modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  width: 350px;
  padding: 20px;
  border-radius: 12px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 18px;
} */
/* ===== MODAL BACKDROP ===== */
.review-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.review-modal.show {
  display: flex;
}

/* ===== MODAL BOX ===== */
.modal-content {
  width: 380px;
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  animation: scaleIn 0.25s ease;
}

/* ===== CLOSE BUTTON ===== */
.close-modal {
  position: absolute;
  top: -35px;
  right: 0px;
  font-size: 30px;
  cursor: pointer;
  color: #888;
  transition: 0.2s;
}

.close-modal:hover {
  color: #fff;
  transform: rotate(90deg);
}

/* ===== TEXT ===== */
.modal-content p {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  /* margin-bottom: 10px; */
}

/* ===== INPUTS ===== */
.modal-content textarea,
.modal-content select,
.modal-content input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 13px;
  transition: 0.2s;
}

.modal-content textarea:focus,
.modal-content select:focus,
.modal-content input:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
  outline: none;
}

/* ===== BUTTONS ===== */
.modal-content button {
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #111;
  color: #fff;
}

.modal-content button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* YES/NO GROUP */
.modal-content .noti-ans {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}

.modal-content .noti-ans button {
  flex: 1;
  background: #eaeaea;
  color: #333;
}

.modal-content .noti-ans button.active {
  background: #111;
  color: #fff;
}

/* ===== SUBMIT BUTTON ===== */
.submit-btn {
  background: linear-gradient(135deg, #ff2e2e, #cc0000);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.submit-btn:hover {
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

/* ===== STARS ===== */
.stars {
  display: flex;
  gap: 6px;
  /* margin: 10px 0; */
}

.stars span {
  font-size: 32px;
  color: #ccc;
  cursor: pointer;
  transition: 0.2s;
}

.stars span:hover {
  transform: scale(1.2);
}

.stars span.active {
  color: gold;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
}

/* ===== STEPS ===== */
#reviewModal .step {
  display: none;
  flex-direction: column;
  gap: 10px;
}

#reviewModal .step.active {
  display: flex;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* ================= SERVICES SECTION ================= */
.services-section {
  padding: 80px 100px;
  background: #f8f8f8;
}

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

.services-header h2 {
  font-size: 36px;
  color: #000;
}

.services-header p {
  color: #666;
  margin-top: 10px;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

/* CARD */
.service-card {
  background: #fff;
  /* padding: 10px; */
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.service-card span {
  width: 100%;
  height: 250px;
  display: flex;
  /* margin-bottom: 10px; */
  /* border-radius: 15px; */
  overflow: hidden;
}
.service-card span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card p {
  font-weight: 600;
  color: #000;
  font-size: 16px;
  padding: 20px 0;
}

/* HOVER EFFECT */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* EMERGENCY CARD */
.service-card.emergency {
  background: #000;
  color: #fff;
  border: 2px solid red;
}

.service-card.emergency p {
  color: #fff;
}

.service-card.emergency span {
  color: red;
}

/* HOVER EMERGENCY */
.service-card.emergency:hover {
  background: red;
  color: #fff;
}
/* ==================services section================== */
/* ================= TECHNICIAN SECTION ================= */
.tech-section {
  padding: 80px 100px;
  background: #fff;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.slider-heading-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slider-heading-controls h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* SLIDER */
.tech-slider {
  display: flex;
  padding: 10px 0;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  width: 100%;
}
.tech-slider a {
  text-decoration: none;
  color: black;
}
.tech-slider::-webkit-scrollbar {
  display: none;
}

/* CARD */
.tech-card {
  min-width: 300px;
  background: #f9f9f9;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  flex-shrink: 0; /* Add this */
}

.tech-card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.tech-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* INFO */
.tech-info {
  padding: 15px;
}

.tech-info h3 {
  font-size: 18px;
}

.verified {
  color: green;
  font-size: 12px;
  /* margin-left: 5px; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.v-f-start {
  justify-content: flex-start;
}
#verified img {
  width: 25px;
  height: 25px;
}
.review-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ratings {
  color: gold;
  font-size: 24px;
  font-weight: 600;
  margin: 5px 0;
  display: flex;
  justify-content: flex-end;
}
.rating {
  color: red;
  font-size: 14px;
  font-weight: 600;
}
.tech-info .desc {
  font-size: 12px;
  color: #333;
  margin-bottom: 0;
}
.skills {
  font-size: 14px;
  color: #666;
  margin: 15px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* AVAILABILITY */
.availability {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}

.availability span {
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
}

/* BUTTON */
.book-btn {
  width: 100%;
  padding: 10px;
  border: none;
  background: red;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.book-btn:hover {
  background: black;
}
/* SLIDER CONTROLS */
.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.slider-controls button {
  background: black;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.slider-controls button:hover {
  background: red;
}

.tech-card {
  scroll-snap-align: start;
  /* display: inline-block; */
}
/* =======Login Page=========== */

.login-section {
  height: 100vh;
  /* background: linear-gradient(135deg, #1e3c72, #2a5298); */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Container */
.container {
  width: 500px;
}

/* Card */
.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.card {
  position: relative;
}
/* Toggle */
.toggle {
  position: relative;
  display: flex;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
}

.toggle button {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: black;
  font-weight: 600;
  cursor: pointer;
  z-index: 2;
}

.toggle button.active {
  color: #fff;
}

.slider {
  position: absolute;
  width: 50%;
  height: 100%;
  background: black;
  border-radius: 50px;
  transition: 0.4s ease;
}

/* Forms */
.forms {
  display: flex;
  width: 200%;
  transition: transform 0.5s ease-in-out;
}

.form {
  width: 100%;
  padding: 0 30px;
  /* flex-shrink: 0; */
}

.form h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid black;
  border-radius: 10px;
  outline: none;
  /* background-color: #ccc; */
}

.form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: black;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.form button:hover {
  transform: scale(1.05);
}
.sign-up {
  text-align: center;
  margin-top: 15px;
}
.sign-up p {
  color: #333;
}
.sign-up a {
  color: red;
  text-decoration: none;
  font-weight: 600;
}

/* otp verification */
.step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.step.active {
  display: block;
}

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

.send-otp {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
}

.otp-inputs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.otp-inputs input {
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  border-radius: 12px;
  border: none;
  outline: none;
  background: #ccc;
  transition: 0.3s;
}

.otp-inputs input:focus {
  background: #000;
  color: #fff;
  transform: scale(1.05);
}

/* ============Signup Page=========== */
.signup-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  margin: 2rem 0;
}
.headerSignup {
  position: sticky;
  top: 0;
  left: 0;
}
.signUp-container {
  width: 100%;
  max-width: 600px;
}

.sign-up-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sign-up-card h2 {
  text-align: center;
  margin-bottom: 25px;
}

/* Form Layout */
.signup-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.signup-form button,
.login-link {
  grid-column: span 2;
}
/* Floating Field Wrapper */
.signup-form-group {
  position: relative;
}

/* Inputs */
.signup-form-group input {
  width: 100%;
  padding: 14px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
  background: transparent;
}

/* Floating Label */
.signup-form-group label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 0 5px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
  transition: 0.3s ease;
}

/* Animation Trigger */
.signup-form-group input:focus + label,
.signup-form-group select:focus + label,
.signup-form-group select:not(:placeholder-shown) + label,
.signup-form-group input:not(:placeholder-shown) + label {
  top: 0px;
  font-size: 12px;
  color: black;
}

/* Focus Style */
.signup-form-group input:focus {
  border-color: black;
}

/* Button */
.signup-form button {
  padding: 12px;
  border: none;
  background: black;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

.signup-form button:hover {
  background: black;
}
select {
  width: 100%;
  padding: 14px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
  background: transparent;
}
.required {
  color: red;
  margin-left: 2px;
  font-size: 16px;
}
/* Login link */
.login-link {
  text-align: center;
  font-size: 14px;
  align-self: center;
}

.login-link a {
  color: red;
  text-decoration: none;
}
/* Profile Upload Section */
.profile-upload {
  grid-column: span 2;
  text-align: center;
  margin-bottom: 10px;
}

.profile-upload input {
  display: none;
}

.profile-upload label {
  cursor: pointer;
  display: inline-block;
}

.profile-upload img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ddd;
  transition: 0.3s;
}

.profile-upload img:hover {
  border-color: black;
  transform: scale(1.05);
}

.profile-upload p {
  margin-top: 8px;
  font-size: 14px;
  color: black;
}

/* ============Technician Profile Page=========== */
/* MAIN LAYOUT */
.tech-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding: 32px 100px;
  background: #f8f8f8;
}

/* LEFT CARD */
.profile-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 100px;
  margin-bottom: 20px;
}

.profile-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  /* margin-bottom: 10px; */
}
.profile-card h2 {
  display: flex;
  flex-direction: column;
}
.rating {
  /* color: red; */
  margin: 5px 0;
}

.location {
  font-size: 14px;
  color: #666;
}

/* STATS */
.stats {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
}

.stats div {
  text-align: center;
}

.stats span {
  display: block;
  font-size: 12px;
  color: #777;
}

/* RIGHT SIDE */
.profile-right .section {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.skills span {
  background: black;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
}

/* GALLERY */
.gallery {
  display: flex;
  gap: 10px;
}

.gallery img {
  width: 100px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
}

/* REVIEW */
.review {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}
.location img,
.rating img {
  width: 18px;
  height: 18px;
  transition: all 0.3s ease;
}
.t-p-location img {
  margin-bottom: 0;
}
.t-p-location {
  flex-direction: row;
}
.rating img {
  margin-bottom: 0;
}

/* ============Footer Styles=========== */
/* FOOTER */
.footer {
  background: #000;
  color: #fff;
  padding: 60px 100px 20px;
}

/* CONTAINER */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

/* COLUMN */
.footer-col h2 {
  color: red;
  margin-bottom: 15px;
}

.footer-col h3 {
  margin-bottom: 15px;
}

.footer-col p {
  color: #ccc;
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #ccc;
  cursor: pointer;
  transition: 0.3s;
}

.footer-col ul li:hover {
  color: red;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111;
  transition: 0.3s;
}

.social-icon img {
  width: 25px;
  height: 25px;
  fill: #fff;
  transition: 0.3s;
}

/* HOVER */
.social-icon:hover {
  background: red;
}

.social-icon:hover svg {
  fill: #fff;
  transform: scale(1.1);
}
.m-bottom {
  margin-bottom: 10px;
}
/* ============Footer Styles=========== */

/* =============Account Profile========= */
/* LAYOUT */
.tech-dashboard {
  display: grid;
  grid-template-columns: 250px 1fr;
  height: 100vh;
  overflow: hidden; /* important */
}

/* SIDEBAR */
.sidebar {
  background: #000;
  color: #fff;
  padding: 20px;
  padding-right: 0;
}
.sidebar {
  height: 100vh;
  overflow-y: auto;
}
.sidebar h2 {
  color: red;
  margin-bottom: 30px;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  padding: 10px;
  cursor: pointer;
  margin: 10px 0;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  transition: 0.3s;
}

.sidebar li:hover,
.sidebar .active {
  background: #f8f8f8;
  color: black;
}

/* MAIN */
.dashboard-content {
  padding: 30px;
  background: #f8f8f8;
  overflow-y: auto;
}

/* PROFILE TOP */
.profile-top {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
}

.profile-top img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.edit-btn {
  margin-left: auto;
  background: black;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.stat {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
}

/* SECTIONS */
.section {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* INPUTS */
.section input,
.section textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* BUTTONS */
.save-btn,
.upload-btn {
  background: red;
  color: #fff;
  border: none;
  font-size: 15px;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
}

.skills span {
  background: black;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
}

/* GALLERY */
.gallery {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.gallery img {
  width: 100px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.location img,
.rating img {
  width: 18px;
  height: 18px;
  transition: all 0.3s ease;
}
.rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}
.rating-center {
  justify-content: center;
}
.t-p-location img {
  margin-bottom: 0;
}
.t-p-location {
  flex-direction: row;
}
.rating img {
  margin-bottom: 0;
}
/* LOGOUT CONTAINER */
.logout-container {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: calc(100% - 40px);
}

/* LOGOUT BUTTON */
.logout-btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #ccc;
  color: #000;
  cursor: pointer;
  transition: 0.3s;
}

.logout-btn:hover {
  background: red;
}
.sidebar {
  position: relative; /* REQUIRED */
}
.stat-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.stat-rating img {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}
.t-p-rating {
  justify-items: flex-start;
}

.skill {
  position: relative;
  background: #222;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.remove-skill {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 12px;
  cursor: pointer;
}

.skill-input-box {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
#addSkillBtn {
  background: red;
  color: white;
  border: none;
  font-size: 15px;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px 0;
}
.work-gallery-upload {
  display: flex;
  /* flex-direction: column; */
  gap: 10px;
}
.work-gallery-upload input,
.skill-input-box input {
  width: 85%;
}
.profile-form button {
  padding: 10px 15px;
  border: none;
  background: red;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
  width: fit-content;
}
#profileDetailsSection {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#profileDetailsSection.active {
  display: block;
  opacity: 1;
}
.tab-content {
  display: none;
  height: 100vh;
  overflow-y: auto;
}

.tab-content.active {
  display: block;
}
.post-feed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.post-card {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.post-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.post-header .info {
  display: flex;
  flex-direction: column;
}

.post-header .info span {
  font-size: 12px;
  color: #777;
}
.post-image {
  /* height: 350px; */
  overflow: hidden;
  border-radius: 10px;
  margin-top: 10px;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.post-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.post-card:hover {
  transform: translateY(-3px);
}

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

.post-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.post-header .info {
  display: flex;
  flex-direction: column;
}

.post-header .info span {
  font-size: 12px;
  color: #777;
}

.post-text {
  margin: 10px 0;
  font-size: 14px;
  color: #333;
}

.post-feed-container {
  max-height: 100vh;
  overflow-y: auto;
}
/* =============Account Profile========= */
.post-feed-container {
  width: 100%;
  max-height: 100vh;
  overflow-y: auto;
  padding-right: 5px;
}

.post-feed {
  width: 100%;
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.post-card {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: 0.25s;
}

.post-card:hover {
  transform: translateY(-2px);
}
.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-header img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.post-header .info strong {
  font-size: 14px;
}

.post-header .info span {
  font-size: 12px;
  color: #777;
}
.post-text {
  margin: 12px 0;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}
.post-images {
  display: grid;
  gap: 5px;
  border-radius: 12px;
  overflow: hidden;
}

.post-images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.post-images.count-1 {
  grid-template-columns: 1fr;
  height: 400px;
  justify-items: center;
}
.post-images.count-1 img {
  object-fit: contain;
  max-height: 400px;
  width: 50%;
}
.post-images.count-2 {
  grid-template-columns: 1fr 1fr;
  width: 80%;
  justify-self: center;
}

.post-images.count-2 img {
  aspect-ratio: 1 / 1;
  object-fit: cover; /* only here */
}
.post-images.count-3 {
  grid-template-columns: 2fr 1fr;
  gap: 5px;
  max-height: 500px;
  width: 80%;
  justify-self: center;
}

.post-images.count-3 img:first-child {
  grid-row: span 2;
  height: 100%;
  object-fit: cover;
}

.post-images.count-3 img:not(:first-child) {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.post-images.count-4 {
  grid-template-columns: 1fr 1fr;
  width: 80%;
  justify-self: center;
}

.post-images.count-4 img {
  aspect-ratio: 1 / 1;
  /* width: 50%; */
  object-fit: cover;
  
}
@media (max-width: 768px) {
  .post-images {
    grid-template-columns: 1fr !important;
  }

  .post-images img {
    aspect-ratio: auto;
    object-fit: contain;
  }
}
/* =============Plans Section========== */
/* TOGGLE */
.plan-toggle {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.plan-toggle button {
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  background: #eee;
  cursor: pointer;
}

.plan-toggle .active {
  background: red;
  color: #fff;
}

/* GRID */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* CARD */
.plan-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-5px);
}

/* POPULAR TAG */
.plan-card .tag {
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 20px;
}

/* PREMIUM STYLE */
.plan-card.premium {
  border: 2px solid gold;
}

/* PRICE */
.plan-card h2 {
  margin: 10px 0;
  color: red;
}

/* FEATURES */
.plan-card ul {
  list-style: none;
  margin: 15px 0;
}

.plan-card ul li {
  margin: 8px 0;
  font-size: 14px;
}

/* BUTTON */
.plan-btn {
  background: black;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

.plan-btn:hover {
  background: red;
}
/* =============Plans Section========== */
/* ==============How it Works============= */
/* MAIN */
.how-container {
  padding: 80px 100px;
  background: #f8f8f8;
  text-align: center;
}

/* HERO */
.how-hero h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.how-hero p {
  color: #666;
  margin-bottom: 30px;
}

/* TOGGLE */
.how-toggle {
  display: inline-flex;
  background: #eee;
  border-radius: 30px;
  margin-bottom: 40px;
}

.how-toggle button {
  padding: 10px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 30px;
  font-weight: 600;
}

.how-toggle .active {
  background: black;
  color: white;
}

/* STEPS */
.steps {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.steps.active {
  display: grid;
}

/* CARD */
.step-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
}

/* NUMBER */
.step-number {
  width: 40px;
  height: 40px;
  background: red;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: bold;
}

/* TRUST */
.trust-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.trust-section div {
  background: #000;
  color: #fff;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
}

/* CTA */
.how-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary {
  background: red;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.btn-secondary {
  background: black;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
}

/* =================user profile================= */
.user-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  padding: 20px;
}

/* LEFT SIDE */
.user-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* .profile-card img {
  width: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
} */

/* .profile-card .location {
  color: #777;
  font-size: 14px;
} */

.edit-btn {
  margin-top: 10px;
  padding: 8px 15px;
  border: none;
  background: black;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

/* STATS */
.user-stats {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
}

.user-stats div {
  text-align: center;
}

/* RIGHT SIDE */
.user-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
}

/* BOOKINGS */
.booking-card {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.booking-card span {
  font-size: 12px;
  color: #777;
}

/* REVIEWS */
.review-card {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}
.review-card {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

/* TOP SECTION */
.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  /* margin-bottom: 8px; */
}

.review-top img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.review-info {
  display: flex;
  flex-direction: column;
}

.review-info h4 {
  font-size: 15px;
}

.review-info span {
  font-size: 12px;
  color: #777;
}

/* TEXT */
.review-text {
  font-size: 14px;
  color: #333;
  margin-top: 5px;
}

/* ==============browse tasks============= */
.browse-page {
  padding: 20px 80px;
}

/* SEARCH BAR */
.browse-search {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.browse-search input {
  width: 40%;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid #ccc;
  font-size: 14px;
}
.browse-container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 20px;
  height: 80vh;
}

.tasks-panel {
  background: #f8f8f8;
  padding: 15px;
  border-radius: 12px;
  overflow-y: auto;
}

.b-task-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.b-task-card:hover {
  transform: translateY(-3px);
}

.price {
  color: red;
  font-weight: 600;
}
.tech-panel {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  overflow-y: auto;
}
.b-tech-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.b-tech-card img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.b-tech-card .info {
  flex: 1;
  margin-left: 10px;
}

.call-btn {
  background: red;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.v-r-cont {
  display: flex;
  gap: 20px;
}
#star-rating img {
  width: 18px;
  height: 18px;
}
.tasks-panel {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  overflow-y: auto;
}

.filter-title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.task-card {
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid transparent;
}

.task-card:hover {
  border-color: #000;
}

.task-card.active {
  background: #000;
  color: #fff;
}

.task-card.active p {
  color: #ddd;
}
