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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body, figure{
    box-sizing: border-box;
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

header{
    position:fixed;
    z-index: 2;
    background-color: white;
    width: 100%;
}

main{
  padding-top: 136px;
}

.header-section{
    color: rgba(0, 0, 0, 0.818);
    margin: 0 250px;
    display: flex;
    justify-content: center;
    gap: 40px;
    height: 100px;
    padding: 1px;
}

.icon-div{
    display: flex;
    align-items: center;
    gap: 5px;
}

a{
    color: white;
    text-decoration: none;
}

.nav-links{
    background-color: #353535;
    font-weight: 500;
    list-style: none;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    border: 1px solid lime;
}

.nav-links a{
  border-right: 1px solid lime;
  padding-right: 23px;
}

.item6 a{
  border-right: none !important;
}

#Get-Cash-link{
  position: relative; 
  z-index: 2;
  border: 1px solid black;
  border-radius: 15px;
  padding: 10px;
  background-color: lime;
  color: black;
  font-weight: 600;
  box-shadow: 1px 1px 1px black;
}

/* This is where the slider begins */
.slider-container {
  position: relative;
  width: 100%;
  height: 885px;
  overflow: hidden;
  background-color: #000;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  display: flex;
  align-items: center;
  animation: fadeSliderWithLink 27s infinite ease-in-out; 
  pointer-events: none;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

.slide-1 { 
  background-image: url('./assets/Slide-Desktop-Broken-Device.jpeg'); 
  animation-name: fadeSliderWithLink;
  animation-delay: 0s;
}

.slide-3 { 
  background-image: url('./assets/Cash-Trade-In-Slide-Desktop.jpeg'); 
  animation-name: fadeSliderWithLink;
  animation-delay: 9s; 
}

.slide-4{
  background-image: url('./assets/Accessories-Desktop-View.jpeg');
   animation-name: fadeSliderWithLink;
  animation-delay: 18s;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 660px;
  padding: 40px;
  margin-left: 5%;
  background-color: rgba(0, 0, 0, 0.086);
}

.slide-content h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: lime;
}

.slide-content p {
  font-size: 1.5rem;
  font-weight: 400;
}

.slide-content ul li{
  font-weight: 400;
  font-size: large;
}

@keyframes fadeSlider {
  0% { opacity: 0; }
  5% { opacity: 1; }
  33.33% { opacity: 1; }
  38.33% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes fadeSliderWithLink {
  0% { opacity: 0; pointer-events: none; }
  5% { opacity: 1; pointer-events: auto; }
  33.33% { opacity: 1; pointer-events: auto; }
  38.33% { opacity: 0; pointer-events: none; }
  100% { opacity: 0; pointer-events: none; }
}
/* This is where the slider ends */

.services-container{
  display: flex;
  justify-content: center;
  gap: 50px;
  height: 300px;
}

.service-card{
  background-color: rgba(0, 0, 0, 0.586);
  border-radius: 8px;
  color: white;
  padding: 20px;
  text-align: center;
  max-width: 350px;
  background-blend-mode: darken;
  align-content: center;
}

.card-one{
  background-image: url(./assets/image_4e1fb078.jpg);
  background-position: center;
}

.card-two{
  background-image: url(./assets/image_1d82bfea.jpg);
  background-position: center;
}

.card-three{
  background-image: url(./assets/image_6cea4a23.jpg);
  background-position: center;
}

.about-us-container{
  background-image:linear-gradient(to right, blue, rgba(0, 255, 0, 0.789));
  font-weight: 500;
  color: white;
  padding: 60px;
}

.reviews {
  padding: 25px 25px 66px 25px;
  background-image: url(./assets/mountain.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.16);
  background-blend-mode: darken;
  background-position: center bottom;
}

.reviews-section {
  margin-bottom: 60px;
}

.review-container {
  display: flex;
  justify-content: flex-start; 
  gap: 25px;
  overflow-x: auto; 
  padding: 20px 10px; 
  scroll-behavior: auto; /* Changed from smooth to auto for the JS interval to work seamlessly */
  
  /* Hides the scrollbar */
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}

.review-container::-webkit-scrollbar {
  display: none; 
}

.review-figure {
  display: flex;
  justify-content: start;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto; 
  width: 320px; 
  background-color: #22242a5d;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 5px 5px 15px black;
  color: white;
  
  /* Added z-index to 1 so the hovered card sits on top of its neighbors */
  z-index: 1; 
  transition: transform 0.3s ease, z-index 0s; 
}

figure.review-figure:hover {
  border: 1px solid rgba(0, 255, 0, 0.805);
  transform: scale(1.08); /* Increased scale to make it visibly bigger */
  z-index: 1; /* Brings the hovered card to the very front */
}

.form-section{
  background-image: url(./assets/repairFormImg.jpg);
  background-color: rgba(24, 24, 24, 0.656);
  background-repeat: no-repeat;
  background-blend-mode: darken;
  background-size:cover;
  background-position: center;
  color: white;
  margin-top: 60px;
  border-right: 1px solid lime;
  width: 50%;
  text-align: center;
}

/* This is where the contact form begins */

form >div{
  font-weight: 500;
}

#message{
  border: 1px solid #e0e0e0;
}

#Booking{
  text-align: center;
}

.user-info{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  width: 100%;
  padding: 15px 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-family: sans-serif;
  border-radius: 8px;
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;
}

.contact-form p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 25px;
  color: #e0e0e0;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group[hidden] {
  display: none;
}

.form-group.additional-details {
  width: 100%;
  padding: 0;
}

.additional-details textarea {
  width: min(100%, 720px);
  align-self: center;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 8px;
  color: #ffffff;
}



.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  padding: 8px 0;
  font-size: 16px;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: lime;
}

.form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  font-size: 14px;
}

.form-checkbox input {
  margin-right: 10px;
  accent-color: lime;
  transform: scale(1.2);
}

.form-checkbox a {
  color: #ffffff;
  text-decoration: underline;
}

.submit-btn {
  background-color: #ffffff;
  color: #000000;
  border: none;
  width: 18%;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #353535;
  border: 1px solid whitesmoke;
  color: whitesmoke;
}

.form-header-right{
  display: flex;
  flex-direction: column;
}

small{
  display: block;
  font-size: xx-small;
  padding: 10px;
}
/* Contact form ends */

.form-container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Right side of form */
/* Adjust width for the radio button questions so they don't wrap awkwardly */
.form-group.condition-group {
  width: 100%;
  max-width: 600px; 
}

/* Include select elements in your existing input styles */
.form-group input[type="text"]{
  background: transparent;
  border: none;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  padding: 8px 0;
  font-size: 16px;
  outline: none;
  width: 100%;
}

.form-group select {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  border: 1px solid #ffffff;
  border-radius: 8px;
  color: #ffffff;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-align-last: center; /* Centers the text inside the dropdown */
  cursor: pointer;
  width: 100%;
  outline: none;
  transition: all 0.2s ease;
}

  #right-side-conditions{
    padding:0 70px 10px 70px;
  }

/* Add the same hover/focus effect as the radio buttons */
.form-group select:hover,
.form-group select:focus {
  border-color: lime;
  color: lime;
  background-color: #353535;
}

/* Fix dropdown option colors so they are readable on dark backgrounds */
.form-group select option {
  background-color: #222222;
  color: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
  border-bottom-color: lime;
}

/* Container for the buttons */
.radio-options {
  display: flex;
  gap: 20px;
  padding-top: 10px;
}

/* Style the label to look like a clickable button/card */
.radio-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: transparent;
  border: 1px solid #ffffff;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}

/* Hide the default circular radio input */
.radio-options input[type="radio"] {
  display: none;
}

/* Hover effect */
.radio-options label:hover {
  border-color: lime;
  color: lime;
  background-color: #353535; /* Faint lime glow */
}

/* Selected/Checked state */
.radio-options label:has(input[type="radio"]:checked) {
  border-color: lime;
  color: #000000;
  background-color: lime;
}

.right-side-questions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px 40px;
  padding: 0;
}

.right-side-beginning{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 25px 24px;
  width: 100%;
}



.right-side-beginning > .form-group:not(.half-width-group) {
  grid-column: 1 / -1;
}

.right-side-beginning .form-group {
  width: 100%;
}

.user-info .form-group {
  width: 100%;
}

.cash-offer-conditions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cash-offer-conditions .condition-group {
  max-width: none;
}
/* Right side ends */

.custom-footer {
  background-color: #2d2d2d; 
  color: #f3f4f6; 
  font-family: Arial, sans-serif;
  padding: 60px 20px 20px;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 250px;
  padding: 20px;
}

/* Brand Column */
.brand-col p {
  color: #dcdfe6;
  font-size: 0.95rem;
  margin-top: 15px;
}

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

.footer-logo img {
  width: 50px; 
  height: auto;
}

.footer-logo h3 {
  color: #ffffff;
  margin: 0;
  font-size: 1.5rem;
}

/* Headings */
.footer-col h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}



/* Lists and Links */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  color: #9ca3af;
}

.footer-col ul li a,
.contact-info li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover,
.contact-info li a:hover {
  color: #39FF14; 
}

/* Contact Specifics */
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.contact-info i {
  color: #39FF14; /* Green icons */
  width: 20px;
  text-align: center;
}

.contact-info strong {
  color: #ffffff;
}

/* Social Media Section */
.social-section {
  margin-top: 30px;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #4b5563;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #000000;
  color: #2d2d2d;
  transform: translateY(-3px); /* Slight lift on hover */
}


/* Bottom Bar */
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #4b5563;
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
}

@media (max-width: 1100px) {
  .header-section {
    margin: 0 24px;
    gap: 24px;
  }

  .services-container {
    gap: 20px;
    padding: 0 20px;
  }

  .service-card {
    flex: 1 1 0;
  }

  .about-us-container h2,
  .about-us-container p {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 900px) {
  .header-section {
    margin: 0 16px;
    gap: 16px;
  }

  .header-section > img {
    flex: 0 0 auto;
  }

  .icon-div {
    font-size: 0.85rem;
  }

  .icon-div img {
    flex: 0 0 auto;
    width: 28px;
    height: 30px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 10px 16px;
  }

  .slider-container {
    height: min(72vh, 720px);
    min-height: 520px;
  }

  .services-container {
    height: auto;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 260px;
    min-height: 250px;
  }

  .about-us-container {
    padding: 40px;
  }

  }

@media (max-width: 600px) {
  header {
    position: sticky;
    top: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background-color: white; 
    /* background-color: #1a1a1a; variant */
  }

  main {
    padding-top: 0;
  }

  .nav-links{
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding:10px 3px !important;
  }

  .nav-links li:hover{
  background-color: lime;
  }

  .nav-links li{
 border: 1px solid lime;
    border-radius: 5px;
    background-color: #353535;

  }

  #right-side-conditions{
    padding:20px 20px;
  }

  .header-section {
    height: auto;
    min-height: 64px;
    margin: 0;
    padding: 0 16px;
    justify-content: center;
  }

  .header-section > img {
    width: 56px;
    height: auto;
    margin: 0;
  }

  .header-section .icon-div {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping to force a single line */
    overflow-x: auto; /* Enables horizontal scrolling */
    gap: 12px;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid lime;
    background-color: #1a1a1a;
    
    /* Hides the scrollbar for a cleaner look */
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    align-items: center;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links li {
    flex: 1 1 30%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 8px 3px;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .nav-links a:hover{
    border-bottom: 1px solid lime;
  }

  .slider-container {
    height: min(68svh, 600px);
    min-height: 430px;
  }

  .slide-content {
    width: calc(100% - 32px);
    max-width: none;
    margin: 0 16px;
    padding: 24px 20px;
  }

  .slide-content h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .slide-content p {
    font-size: 1rem;
  }

  #Services {
    margin: 28px 12px 20px;
    font-size: 1.5rem !important;
  }

  .services-container {
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
  }

  .service-card {
    flex: auto;
    width: 100%;
    min-height: 0;
    padding: 24px 20px;
    margin: 0 auto;
  }

  .reviews-section {
    margin-bottom: 32px;
  }

  .reviews-section > img {
    display: block;
    padding: 16px !important;
  }

  .about-us-container {
    padding: 28px 20px;
  }

  .about-us-container h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .about-us-container p {
    line-height: 1.7 !important;
  }

  .reviews {
    padding: 20px 12px 40px;
  }

  .reviews > h2 {
    font-size: 1.8rem !important;
  }

  .review-container {
    gap: 16px;
    padding: 16px 4px;
    scroll-snap-type: x mandatory;
  }

  .review-figure {
    width: min(82vw, 320px);
    padding: 18px;
    scroll-snap-align: center;
  }

  .review-figure q {
    line-height: 1.7 !important;
  }

  .radio-options {
    gap: 10px;
  }

  .radio-options label {
    padding: 12px 10px;
  }

  .form-checkbox {
    align-items: flex-start;
    line-height: 1.5;
  }

  .form-description{
    margin-top: 0;
    color: white;
    text-align: left;
  }

  .submit-btn,
  .form-section .quote-submit {
    width: 100% !important;
  }



  .form-header-right p,.form-header-left p{
    text-align: center;
  }

  #Location {
    scroll-margin-top: 120px !important;
  }

  #Location h3 {
    font-size: 1.6rem !important;
  }

  #Location iframe {
    display: block;
    height: 320px;
  }

  .footer-container {
    gap: 12px;
  }

  .footer-col {
    min-width: 0;
    padding: 12px;
  }

  .footer-logo h3 {
    font-size: 1.25rem;
  }

  .links-col {
    align-items: flex-start !important;
  }

  .footer-col h4 {
    width: auto !important;
  }
}

/* index.html migration */
.header-logo {
  margin-top: 15px;
}

.header-details {
  font-weight: bolder;
  font-size: small;
}

.slide-content .slide-tagline {
  font-size: medium;
  font-weight: 500;
}

#Services {
  text-align: center;
  font-size: xx-large;
  scroll-margin-top: 146px;
}

.reviews-image,
.review-image {
  display: flex;
  align-items: center;
  padding: 20px 20px;
}

.about-us-heading {
  margin: 0 270px;
}

.about-us-copy {
  margin: 0 270px;
  padding-top: 10px;
  line-height: 2;
}

.testimonies-heading {
  text-align: center;
  font-size: 2.5rem;
  color: white;
}

.review-quote {
  line-height: 2;
}

.form-heading {
  font-size: xx-large;
  scroll-margin-top: 146px;
  text-decoration: underline;
}

.form-description {
  padding:0 70px;
}

.form-section label span {
  color: lime;
}

.repair-form-note,
.quote-form-checkbox {
  padding: 20px 0;
  color: lime;
  font-weight: bold;
}

.quote-form-checkbox {
  margin-bottom: 0;
}

.exchange-section {
  background-image: url(./assets/sellexchange.jpg);
  width: 100%;
}

.exchange-section form {
  padding: 20px clamp(20px, 5vw, 70px) 0;
}

.half-width-group {
  width: 50%;
}

.quote-submit {
  width: 100%;
}

#Location {
  scroll-margin-top: 146px;
}

#Pricing {
  scroll-margin-top: 146px;
}

.location-heading {
  font-size: 2rem;
  text-align: center;
}

.location-map {
  width: 100%;
}

.links-col {
  text-align: center;
}

.footer-heading {
  border-bottom: 2px solid lime;
  text-align: center;
  margin-top: 0;
}

.cash-offer-popup {
  width: min(576px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  animation: cash-offer-popup-enter 0.25s ease-out;
}

.cash-offer-popup::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.cash-offer-popup-art {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 4%;
  background: url("./assets/CPTI Pop Up.png") center / contain no-repeat;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.cash-offer-popup-cta {
  position: absolute;
  right: 16.5%;
  bottom: 6%;
  left: 16.5%;
  display: flex;
  min-height: 12.5%;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #087b0b 0%, #00500a 100%);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: clamp(0.75rem, 3.4vw, 1.45rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.cash-offer-popup-cta:hover {
  background: linear-gradient(180deg, #0b8d10 0%, #06610d 100%);
}

.cash-offer-popup-cta:focus-visible,
.cash-offer-popup-close:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.cash-offer-popup-close {
  position: absolute;
  z-index: 1;
  top: 2%;
  right: 2%;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.cash-offer-popup-close:hover {
  background: #111;
}

@keyframes cash-offer-popup-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .cash-offer-popup {
    animation: none;
  }
}
/* ---------------------------------------------------------------------- */
/* --- Form Layout Distinction & Hover Effects --- */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 30px 10px;
  background-color: black;
  align-items: center;
}

.form-section {
  width: min(100%, 1100px);
  margin-top: 0;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  filter: brightness(0.9);
}

/* Hover effect: hovered form gets bigger and clearer */
.form-section:hover{
  transform: scale(1.02);
  filter: brightness(1.1);
  box-shadow: 0 10px 30px rgba(57, 255, 20, 0.2);
  border-color: lime;
  z-index: 1;
}

.form-section h2{
  text-shadow: 1px 1px 3px lime;
}

/* Specific layout adjustments for the left repair form container */
.repair-form-section {
  background-image: url(./assets/repairFormImg.jpg);
  background-color: rgba(20, 20, 20, 0.671);
  border-right: none;
  width: min(100%, 1100px);
  margin-bottom: 0;
}

.repair-form-section form {
  padding: 20px clamp(20px, 5vw, 70px) 40px;
}

.repair-issues {
  width: 100%;
  min-width: 0;
  margin: 0 0 24px;
  padding: 10px;
  border: 0;
  text-align: left;
}

.repair-issues legend {
  width: 100%;
  margin-bottom: 12px;
  color: lime;
  font-weight: 600;
}

.repair-issues legend span {
  color: #e0e0e0;
  font-size: 0.85em;
  font-weight: 400;
}

.repair-issue-options {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 5px 2px 15px 2px;
  scrollbar-color: white rgba(0, 0, 0, 0.35);
  justify-content: center;
}

.repair-issue-options label {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.repair-issue-options label:focus-within {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.repair-issue-options label:has(input:checked) {
  border-color: lime;
  background: rgba(0, 255, 0, 0.12);
}

.repair-issue-options input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.repair-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  width: 100%;
}

.repair-form-grid .form-group {
  width: 100%;
}

.appointment-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
}

.appointment-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.appointment-input-wrap input {
  padding-right: 40px;
}

.appointment-input-wrap .input-button {
  position: absolute;
  right: 0;
  border: 0;
  padding: 8px;
  background: transparent;
  color: lime;
  font-size: 18px;
  cursor: pointer;
}

.full-width-message {
  width: 100% !important;
  margin-top: 15px;
}

/* Calendar input styling matching palette */
input[type="datetime-local"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  padding: 8px 0;
  font-size: 16px;
  outline: none;
  width: 100%;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

input[type="datetime-local"]:focus {
  border-bottom-color: lime;
}

.repair-submit {
  width: 100%;
  margin-top: 10px;
}

.form-submit-status {
  margin: 14px 0 0;
  color: lime;
  font-weight: 600;
}

.form-submit-status.is-error {
  color: #ffb4b4;
}

.form-submit-status[hidden] {
  display: none;
}

.repair-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .form-container {
    gap: 24px;
    padding: 0 16px 32px;
  }

  .exchange-section form {
    padding: 20px 28px 32px;
  }

  .form-heading {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
  }

  .form-description {
    padding: 0 28px;
  }

  .repair-form-section form {
    padding: 20px 28px 32px;
  }

  .right-side-questions {
    column-gap: 24px;
  }

  .right-side-beginning {
    column-gap: 16px;
  }

  .repair-form-grid,
  .appointment-fields {
    column-gap: 24px;
  }
}

@media (max-width: 600px) {
  .form-container {
    gap: 20px;
    padding: 0 10px 24px;
  }

  .exchange-section form,
  .repair-form-section form {
    padding: 20px 16px 0;
  }

 .form-container{
  padding-top: 24px;
  padding-bottom: 24px;
 }

  #Pricing,
  #Booking {
    padding: 16px 16px 0;
    scroll-margin-top: 120px;
  }

  .form-heading {
    font-size: 1.65rem;
  }

  .form-description {
    padding: 0 16px;
  }

  .user-info,
  .right-side-questions,
  .right-side-beginning,
  .repair-form-grid,
  .appointment-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .right-side-questions {
    padding: 0;
  }

  .cash-offer-conditions {
    padding-top: 0;
  }

  .additional-details textarea {
    width: 100%;
  }

  .repair-issues {
    padding: 0;
  }

  .repair-issue-options {
    justify-content: flex-start;
  }

  .repair-form-note {
    text-align: center;
  }
}

/* This is the new js library calendar */
/* --- Modern Custom Calendar (Flatpickr) Theme --- */
.flatpickr-calendar {
  background: #1a1a1a !important;
  border: 1px solid lime !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  border-radius: 8px !important;
  font-family: "Poppins", sans-serif !important;
}

.flatpickr-day {
  color: #ffffff !important;
  border-radius: 4px !important;
}

.flatpickr-day:hover {
  background: #353535 !important;
  border-color: lime !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.selected.prevMonthDay, 
.flatpickr-day.startRange.prevMonthDay, 
.flatpickr-day.endRange.prevMonthDay, 
.flatpickr-day.selected.nextMonthDay, 
.flatpickr-day.startRange.nextMonthDay, 
.flatpickr-day.endRange.nextMonthDay {
  background: lime !important;
  border-color: lime !important;
  color: #000000 !important;
  font-weight: bold;
}

.flatpickr-months .flatpickr-month, 
.flatpickr-months .flatpickr-prev-month, 
.flatpickr-months .flatpickr-next-month {
  color: lime !important;
  fill: lime !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months, 
.flatpickr-current-month input.cur-year {
  color: #ffffff !important;
  font-weight: bold !important;
}

span.flatpickr-weekday {
  color: lime !important;
  font-weight: bold !important;
}

.flatpickr-time {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.flatpickr-time input {
  color: #ffffff !important;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
  background: #353535 !important;
}

.flatpickr-time .flatpickr-time-separator, 
.flatpickr-time .flatpickr-am-pm {
  color: lime !important;
}

.careers-page {
  min-height: 100vh;
  background: #f4f6f4;
}

.careers-page .header-section {
  margin: 0 auto;
  max-width: 1100px;
  justify-content: space-between;
}

.careers-home-link {
  display: flex;
  align-items: center;
}

.careers-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 170px 24px 80px;
}

.careers-hero {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.careers-eyebrow {
  margin: 35px 0 10px;
  color: #278800;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.careers-hero h1 {
  margin: 0;
  color: #222;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
}

.careers-hero > p:last-child {
  margin: 16px auto 0;
  color: #4e4e4e;
  font-size: 1.05rem;
  line-height: 1.7;
}

.careers-card {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #d8e2d4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(20, 50, 10, 0.12);
}

.careers-card-heading {
  padding: 28px 38px 20px;
  background: linear-gradient(110deg, #202020, #353535);
  color: #fff;
}

.careers-card-heading h2 {
  margin: 0;
  color: lime;
  font-size: 1.65rem;
  font-weight: 600;
}

.careers-card-heading p {
  margin: 6px 0 0;
  color: #e0e0e0;
  font-size: 0.9rem;
}

.careers-card-heading p span,
.careers-field label span {
  color: #48aa12;
}

.careers-form {
  padding: 30px 38px 38px;
}

.careers-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
}

.careers-availability {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.careers-availability-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid #bfc8bc;
  border-radius: 6px;
}

.careers-availability-group legend {
  padding: 0 5px;
  color: #282828;
  font-size: 0.95rem;
  font-weight: 600;
}

.careers-availability-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #282828;
  font-size: 0.9rem;
  cursor: pointer;
}

.careers-availability-group input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 0;
  accent-color: #378e0c;
}

.careers-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.careers-field label {
  color: #282828;
  font-size: 0.95rem;
  font-weight: 600;
}

.careers-field input,
.careers-field select,
.careers-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bfc8bc;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font: inherit;
}

.careers-field textarea {
  min-height: 130px;
  resize: vertical;
}

.careers-field input:focus,
.careers-field select:focus,
.careers-field textarea:focus,
.careers-availability-group input:focus-visible {
  border-color: #378e0c;
  outline: 3px solid rgba(57, 150, 15, 0.16);
}

.careers-field input::placeholder,
.careers-field textarea::placeholder {
  color: #727872;
}

.careers-field:last-child {
  grid-column: 1 / -1;
}

.careers-submit {
  width: 100%;
  margin-top: 26px;
  padding: 15px 20px;
  border: 2px solid #222;
  border-radius: 7px;
  background: #222;
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.careers-submit:hover,
.careers-submit:focus-visible {
  border-color: #3b920d;
  background: #3b920d;
  outline: none;
}

.careers-honeypot {
  position: absolute;
  left: -5000px;
}

.careers-footer {
  padding: 20px 24px;
}

.careers-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.careers-footer-inner p {
  margin: 0;
}

.careers-footer-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.floating-contact-button {
  position: fixed;
  right: max(40px, env(safe-area-inset-right));
  bottom: max(40px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: rgb(0, 200, 0);
  color: whitesmoke;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.floating-contact-button:hover,
.floating-contact-button:focus-visible {
  background: rgb(0, 200, 0);
}

.floating-contact-button:focus-visible,
.contact-dialog a:focus-visible,
.contact-dialog-close:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.contact-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 20px;
  border: 0;
  border-radius: 14px;
  color: #222;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.contact-dialog form {
  display: flex;
  justify-content: flex-end;
}

.contact-dialog-close {
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #444;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.contact-dialog h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 600;
}

.contact-dialog p {
  margin: 0 0 22px;
}

.contact-dialog-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.contact-dialog-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 130px;
  padding: 12px 16px;
  border-radius: 7px;
  background: rgb(0, 200, 0);
  color: black;
  font-weight: 600;
}

.contact-dialog-actions a:hover {
  background: rgb(0, 200, 0);
}

@media (max-width: 900px) {
  .careers-page .header-section {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .slide-1{
    background-image: url(./assets/slide-1.jpeg);
  }

    .slide-3{
    background-image: url(./assets/slide-3.jpeg);
  }

    .slide-4{
    background-image: url(./assets/slide-4.jpeg);
  }

  .careers-page .header-section {
    margin: 0 16px;
    gap: 12px;
  }

  .appointment-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .careers-page .header-section .icon-div:not(:first-of-type) {
    display: none;
  }

  .careers-page .nav-links {
    display: flex !important;
    grid-template-columns: none;
    grid-template-rows: none;
    justify-content: space-around;
    gap: 8px;
  }

  .careers-page .nav-links li {
    border: 0;
  }

  .careers-page .nav-links li:hover {
    background: transparent;
  }

  .careers-main {
    padding: 34px 16px 56px;
  }

  .careers-hero {
    margin-bottom: 24px;
  }

  .careers-hero > p:last-child {
    font-size: 0.98rem;
  }

  .careers-card-heading {
    padding: 22px 20px 16px;
  }

  .careers-form {
    padding: 24px 20px 26px;
  }

  .careers-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .careers-availability {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .careers-field:last-child {
    grid-column: auto;
  }

  .careers-footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .floating-contact-button {
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
}
}
