/* ===== UNIVERSAL STYLES (Applied to all devices) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --base-font-size: 16px;
    --h1-scale: 2.00;
    --h2-scale: 1.75;
    --h3-scale: 1.35;
    --p-scale: .75;
    --small-scale: 0.85;
    --button-scale: .75;
    --primary-red: #d32f2f;
    --dark-red: #b71c1c;
    --light-red: #ffcdd2;
    --white: #ffffff;
    --off-white: gray;

    --light-gray: #e0e0e0;
    --text-dark: #212121;
    --text-light: #757575;
	--dark-gray: #555555;  /* dark gray */
}

body {
  background: url('junkifi-logo-terre-haute.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: var(--base-font-size);
}


        .testimonials {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        
        .testimonials h2 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 2rem;
            color: #2c3e50;
            font-weight: 700;
        }
        
        .testimonials-container {
            position: relative;
            overflow: hidden;
            padding: 10px 0;
        }
        
        .testimonials-scroll {
            display: flex;
            gap: 25px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 15px 10px;
            scrollbar-width: thin;
            scrollbar-color: #3498db #f1f1f1;
        }
        
        .testimonials-scroll::-webkit-scrollbar {
            height: 8px;
        }
        
        .testimonials-scroll::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        
        .testimonials-scroll::-webkit-scrollbar-thumb {
            background: #3498db;
            border-radius: 10px;
        }
        
        .testimonial-card {
            flex: 0 0 320px;
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-left: 4px solid #3498db;
        }
        
        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        
        .testimonial-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .stars {
            color: #ffc107;
            font-size: 1.2rem;
        }
        
        .review-date {
            color: #95a5a6;
            font-size: 0.85rem;
            font-style: italic;
        }
        
        .testimonial-text {
            font-style: italic;
            line-height: 1.6;
            margin-bottom: 20px;
            color: #555;
            font-size: 1rem;
        }
        
        .customer-info {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }
        
        .customer-info strong {
            color: #2c3e50;
            font-size: 1rem;
        }
        
        .customer-info span {
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        
        .verified {
            display: inline-flex;
            align-items: center;
            background: #2ecc71;
            color: white;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.8rem;
            margin-left: auto;
        }
        
        .scroll-indicator {
            text-align: center;
            margin-top: 20px;
            color: #7f8c8d;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .scroll-indicator i {
            font-size: 1.2rem;
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(0);
            }
            40% {
                transform: translateX(5px);
            }
            60% {
                transform: translateX(3px);
            }
        }
        

		
		
		
		

/* 🌟 Why Choose Junkifi Section */
.why-junkifi {
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  border-radius: 12px;
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 80px auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-top: 4px solid var(--primary-red);
}

.why-junkifi h2 {
  color: #d80000;
  font-size: 2rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.why-junkifi .intro-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Grid for reasons */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.why-item {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-top: 3px solid #d80000;
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.why-item i {
  font-size: 2.5rem;
  color: #d80000;
  margin-bottom: 15px;
}

.why-item h3 {
  color: #222;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.why-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}


.local-service {
  margin-top: 50px;
  margin-bottom: 50px; /* ✅ adds space below the section */
  padding: 10px;
  background: #f9f9f9;
  border-radius: 12px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-bottom: 4px solid var(--primary-red);
}


.local-service h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
}

.local-service p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #555;
}

.local-service ul {
  list-style: none;
  padding: 0;
}

.local-service li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #444;
}
/* ✅ Stack FAQ first, then Steps below */
.steps-faq-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 100px auto;
  padding: 20px;
  box-sizing: border-box;
}


.easy-steps {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px; /* ✅ adds space before testimonials */
}



.easy-steps h2 {
  color: #d80000;
  font-size: 1.5rem;
  margin-bottom: 10px;
}


/* === How It Works Intro === */
.how-it-works {
  color: #d80000;
  font-size: 2.0rem;
  margin-bottom: 8px;
}

.how-it-works-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.6;
}

.easy-steps p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 30px;
}


.easy-steps ul {
  list-style: none;         /* remove default bullets */
  padding-left: 0;
  margin: 0;
}

.easy-steps li {
  position: relative;
  padding-left: 28px;       /* space for the checkmark */
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

.easy-steps li::before {
  content: "✓";             /* checkmark symbol */
  position: absolute;
  left: 0;
  top: 0;
  color: #d80000;           /* red checkmark (match your theme) */
  font-weight: bold;
  font-size: 1.1rem;
}



/* ✅ Horizontal step layout */
.steps-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 25px;
}

.step {
  flex: 1;
  min-width: 250px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-top: 3px solid #d80000;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.steps-image {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: cover;
  display: inline-block;
}
.extra-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  text-align: left;
  gap: 30px;
  margin-top: 30px;
}

.info-left {
  flex: 1;
  min-width: 250px;
}

.info-right {
  flex: 2;
  min-width: 300px;
  text-align: left;     /* ✅ make the text align left */
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* ✅ keeps the whole block on the right */
}

.info-left h3 {
  color: #d80000;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.info-left p {
  font-size: 1rem;
  color: #333;
}

.info-right p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
}


.faq-section {
  background: transparent; /* removes white box */
  width: 50%;
  margin-left: auto;
  margin-right: 0;
  padding: 20px;
  border: none;
  box-shadow: none;
}


.faq-header {
  text-align: left; /* optional: aligns text with the section */
  margin-bottom: 15px;
}

.faq-header h1 {
  color: #d80000;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.faq-header p {
  color: #333;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 90%;
  margin: 0;
}

.faq-item {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  margin-bottom: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  cursor: pointer;
  padding: 8px 12px;
  font-weight: 600;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.faq-question::after {
  content: '+';
  font-size: 14px;
  color: #d80000;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 12px 8px 12px;
  color: #444;
  font-size: 0.8rem;
  line-height: 1.3;
}

.faq-item.active .faq-answer {
  display: block;
}


/* Hero Section */
.hero {
    background: 
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}




.hero h1,
.hero .page-heading {
    font-size: clamp(3rem, 10vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.3;
    margin-top: 5px;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #FFD700; /* ✨ bright gold yellow that blends well */
    text-shadow: 
      2px 2px 2px black,
     -2px -2px 2px black,
      2px -2px 2px black,
     -2px  2px 2px black; /* ✅ black outline for contrast */
}




.hero p {
  font-size: clamp(1rem, 1vw, 5rem);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.9); /* ✅ black shadow */
  color: white;
  margin: 0;

  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
}




.trustpilot-rating {
    display: flex;
    align-items: center;
    justify-content: center;  
    gap: 8px;
     margin-top: 5em;  /* ~20 text rows down */
    margin-bottom: -15px;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
}


.trustpilot-rating .stars {
    color: #FFD700;
    font-size: 1.2rem;
}

.trustpilot-rating .rating-text {
    font-size: 1rem;
    font-weight: 500;
    color: red;
    letter-spacing: 0.2px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}






.list-vehicle-btn {
    background-color: var(--white);
    color: var(--primary-red);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: calc(var(--base-font-size) * var(--button-scale));
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 auto 40px;
    display: block;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.list-vehicle-btn:hover {
    background-color: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Form Elements */
.form-group {
    flex: 1;
    min-width: 180px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500; /* ✅ bold text */
    color: var(--text-dark);

}



.form-group select, 
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--dark-gray); /* now works */
    border-radius: 5px;
    font-size: calc(var(--base-font-size) * var(--p-scale));
}

.search-btn {
    background: linear-gradient(#FFD700); /* ✨ gold-yellow gradient */
    color: black; /* better contrast against yellow */
    border: 1px solid black; /* ✅ keeps the black outline */
    padding: 16px 40px;
    border-radius: 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    cursor: pointer;
    align-self: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);


}

.search-btn:hover {
    transform: translateY(-3px) scale(1.03);
    background: linear-gradient(135deg, #FFEB3B, #FFD700); /* brighter on hover */
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}


.section-title {
    text-align: center;
    margin: 50px 0 30px;
    color: #ffffff; /* white text */
    font-size: calc(var(--base-font-size) * 3); /* ⬆️ Increased from var(--h2-scale) */
    position: relative;
    padding-bottom: 15px;
	text-shadow:
      2px 2px 4px rgba(0, 0, 0, 0.7),
     -2px -2px 4px rgba(0, 0, 0, 0.7),
      2px -2px 4px rgba(0, 0, 0, 0.7),
     -2px  2px 4px rgba(0, 0, 0, 0.7); /* ✅ creates an even outline effect */
    text-align: center;
    line-height: 1.3;
}


.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 15px auto 0;
}

/* Listings Section */
.listings {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 40px;
    border-top: 4px solid var(--primary-red);
}

.listings p {
    font-size: calc(var(--base-font-size) * var(--p-scale));
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Trust & Safety Section */
.trust-safety {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.trust-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 3px solid var(--primary-red);
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: calc(var(--base-font-size) * 3);
    color: var(--primary-red);
    margin-bottom: 15px;
}

.trust-item h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: calc(var(--base-font-size) * var(--h3-scale));
}

.trust-item p {
    font-size: calc(var(--base-font-size) * var(--p-scale));
    color: var(--text-light);
}


/* ✅ Recent Searches Section */
.recent-searches {
  background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
  padding: 40px 20px;
  margin-top: 80px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


/* ✅ Keep content centered and layout intact */
.recent-searches > * {
  max-width: 1200px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif; /* ✅ same as footer font */
}

/* ✅ Heading - white text */
.recent-searches h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: white; /* ✅ consistent with footer main text */
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* ✅ Grid layout for links */
.search-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  text-align: center;
}

/* ✅ Links - light gray text (same as footer links) */
.search-links a {
  color: #ddd; /* ✅ same as footer link color */
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

/* ✅ Hover - gold for contrast (same as footer hover) */
.search-links a:hover {
  color: #ffcc00;
  text-decoration: underline;
  transform: translateY(-2px); /* small lift effect like footer hover */
}

/* ✅ Keep footer spacing tight */
footer, #footer-placeholder {
  margin-top: 0 !important;
  padding-top: 0 !important;
}




















/* 🌟 Minimalist Recent Searches Section */
.recent-searches {
  background: #fafafa; /* soft neutral background */
  padding: 5px 20px;
  border-radius: 10px;
  text-align: center;
  margin: 80px auto 40px;
  max-width: 1200px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.recent-searches h2 {
  font-size: 1.5rem;
  color: #222;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 0.3px;
}

.search-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.search-links a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.search-links a:hover {
  color: #d32f2f; /* subtle brand red */
  background: #f1f1f1;
  transform: translateY(-2px);
}

/* 🌎 Minimalist Nationwide Section */
.nationwide {
  background: #fafafa;
  padding: 10px 20px;
  border-radius: 10px;
  text-align: center;
  margin: 20px auto 100px;
  max-width: 1200px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.nationwide h2 {
  font-size: 1.5rem;
  color: #222;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 0.3px;
}

.nationwide-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.nationwide-links a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nationwide-links a:hover {
  color: #d32f2f;
  background: #f1f1f1;
  transform: translateY(-2px);
}






/* Salvage Yards Section */
.salvage-yards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}


.yard-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary-red);
}

.yard-content {
    padding: 20px;
}

.yard-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: calc(var(--base-font-size) * var(--h3-scale));
}

.rating {
    color: #ffcc00;
    margin-bottom: 10px;
    font-size: calc(var(--base-font-size) * var(--p-scale));
}

.rating i {
    font-size: calc(var(--base-font-size) * var(--p-scale));
}

.location {
    color: var(--text-light);
    font-style: italic;
    font-size: calc(var(--base-font-size) * var(--p-scale));
}

.form-group.small {
    flex: 0 0 30%;
    max-width: 30%;
}

.privacy-notice {
    margin-top: 8px;
    font-size: calc(var(--base-font-size) * var(--small-scale));
    color: var(--text-light);
    line-height: 1.2;
    text-align: center;
    font-style: italic;
}

/* Error messages */
.error-message {
    color: var(--primary-red);
    font-size: calc(var(--base-font-size) * 0.8);
    display: none;
    margin-top: 5px;
}

/* Name row */
.name-row {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.name-row .form-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.name-row label {
    margin: 0;
    white-space: nowrap;
    width: 80px;
    text-align: right;
}

.name-row input {
    flex: 1;
    max-width: 400px;
    min-width: 150px;
}

.instant-offer {
    background-color: var(--white);
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-red);
}

.offer-subtitle {
    font-size: calc(var(--base-font-size) * 0.9);
    color: var(--text-light);
    margin-bottom: 20px;
}

.offer-details p {
    font-size: calc(var(--base-font-size) * 0.85);
    color: var(--text-dark);
    margin: 10px 0;
    line-height: 1.5;
}

.offer-details strong {
    color: var(--primary-red);
}

/* Height control classes */
.search-form.height-small {
    min-height: 480px;
}

.search-form.height-medium {
    min-height: 520px;
}

.search-form.height-large {
    min-height: 560px;
}

.search-form.height-xlarge {
    min-height: 600px;
}


.two-column-container {
    display: flex;
    gap: 30px;
    margin: 15px 0;
}

.column {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.city-link {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #2c3e50;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.city-link:hover {
    background-color: #ecf0f1;
}




/* ===== DESKTOP STYLES (min-width: 769px) ===== */
@media (min-width: 769px) {
	

    .search-form {
        background-color: var(--white);
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        max-width: 450px;
        margin: 0 auto;
		margin-top: 100px; /* ✅ pushes form lower */
        height: 430px;
        position: relative;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 43px;
        margin-bottom: 15px;
    }

    /* Name field row */
    .form-row.name-row {
        display: flex;
        justify-content: flex-start;
        grid-template-columns: 1fr;
        margin-left: 80px;
    }

    .form-row.name-row .form-group {
        width: 600px;
        max-width: none;
    }

.form-row.button-row {
    display: flex;
    justify-content: center;
    margin-top: 20px; /* optional spacing */
}

.form-row.button-row .search-btn {
    max-width: none;   /* remove forced shrinking */
    width: auto;       /* button sizes naturally */
}

}



	
@media (max-width: 768px) {
	
	
	
	
	
	
	
	
	
    body {
        font-size: 14px;
        line-height: 1.4;
    }
    
    #get-offer-btn {
        display: block;
        margin: 15px auto;
        width: auto;
        text-align: center;
    }
    
		
	
	
	  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
    gap: 15px; /* Adjust gap for mobile */
  }
  
  .testimonial-card {
    padding: 20px; /* Adjust padding for smaller cards */
    min-height: 0; /* Remove any minimum height constraints */
  }
  
  .testimonial-text {
    font-size: 0.9rem; /* Slightly smaller text for mobile */
    line-height: 1.4;
  }
  
  .customer-info {
    font-size: 0.8rem;
  }
	
	
	
	
	
	
	
 .faq-section {
    width: 100%;              /* full width on mobile */
    margin: 40px auto;        /* centered instead of right-aligned */
    padding: 15px;            /* reduce padding for smaller screens */
    border-radius: 10px;
    margin-top: 50px;         /* add some breathing space */
  }

  .faq-header h1 {
    font-size: 1.1rem;        /* slightly smaller for mobile */
    text-align: center;       /* center align title */
  }

  .faq-header p {
    text-align: center;
    font-size: 0.85rem;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 10px;
  }

  .faq-answer {
    font-size: 0.85rem;
  }	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
  .section-title {
    font-size: calc(var(--base-font-size) * 2.1); /* bigger for mobile */
    color: #ffffff; /* white text */
    text-shadow:
      2px 2px 4px rgba(0, 0, 0, 0.7),
     -2px -2px 4px rgba(0, 0, 0, 0.7),
      2px -2px 4px rgba(0, 0, 0, 0.7),
     -2px  2px 4px rgba(0, 0, 0, 0.7); /* ✅ creates an even outline effect */
    text-align: center;
    line-height: 1.3;
  }

  .local-service h2 {
    font-size: 1.1rem; /* smaller than 1.8rem for mobile */
    text-align: center;
    margin-bottom: 10px;
  }

  .local-service p {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
  }

  .local-service ul {
    padding-left: 10px; /* adds small spacing for readability */
  }

  .local-service li {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 8px;
    text-align: left; /* lists look cleaner left-aligned */
  }
	
	
	
	
	
	
 .search-form {
        background-color: var(--white);
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        max-width: 500px;
        margin: 60px auto 50px;  /* ⬅️ pushes it down */
        position: relative;

        /* ✅ Compact adjustments */
        height: auto;        /* let content decide */
        min-height: unset;   /* remove forced tall height */
        padding: 25px;       /* smaller padding */
    }

    /* Stack all form elements vertically */
    .form-row {
        flex-direction: column;
        margin-bottom: 8px; /* tighter spacing */
    }

    .form-group.small {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 10px; /* less spacing */
    }

    .form-group select,
    .form-group input {
        padding: 8px;        /* smaller fields */
        font-size: 13px;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }
	
	


    /* Mobile-only fields */
    .mobile-only-field {
        display: block;
        order: 4;
    }
    
    /* Adjust name field styling for mobile */
    .name-row .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .name-row label {
        text-align: center;
        width: 100%;
        margin-bottom: 8px;
    }
    
    /* Adjust hero section for mobile */
    .hero {
        padding: 40px 15px;
    }
    
     .hero h1 {
    font-size: 1.8rem; /* smaller headline */
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 10px;
  }
	
 .hero p {
    position: static; /* remove absolute positioning */
    transform: none;
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.5;
    text-align: center;
    padding: 0 10px;
  }


  .hero .page-heading {
    font-size: calc(var(--base-font-size) * 1.8); /* smaller for mobile */
    margin-top: -15px;
    margin-bottom: 40px;
    letter-spacing: -1px;  /* tighter on small screens */
  }
	
	
    
    /* Adjust trust items for mobile */
    .trust-safety {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .trust-item {
        padding: 15px;
    }

    .trust-item h3 {
        font-size: 15px;
    }

    .trust-item p {
        font-size: 15px;
        line-height: 1.4;
    }

    .trust-item i {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .instant-offer {
        padding: 20px 15px;
    }

    .offer-subtitle {
        font-size: 0.85rem;
    }

    .offer-details p {
        font-size: 0.85rem;
    }
	
	
	
	
	
 .recent-searches,
  .nationwide {
    position: static;
    margin: 20px auto;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
  }

  .search-links,
  .nationwide-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    text-align: center;
  }
  .easy-steps {
    padding: 20px 10px;       /* less padding */
    border-radius: 8px;
    margin-top: 20px;         /* smaller spacing */
  }

  .easy-steps h2 {
    font-size: 1.2rem;        /* smaller heading */
    margin-bottom: 8px;
  }

  .steps-row {
    flex-direction: column;   /* stack vertically */
    gap: 15px;                /* smaller gaps between steps */
  }

  .step {
    padding: 15px;            /* smaller box padding */
    min-width: auto;
    width: 100%;              /* full width cards */
    border-radius: 8px;
  }

  .steps-image {
    max-width: 150px;         /* smaller images */
    margin: 0 auto 8px;       /* centered image */
    display: block;
  }

  .easy-steps li {
    font-size: 0.85rem;       /* smaller text */
    margin-bottom: 6px;
  }

  .steps-faq-wrapper {
    gap: 20px;                /* tighter vertical spacing between FAQ and Steps */
    margin: 40px auto;        /* smaller overall spacing */
    padding: 10px;
  } 
  
}










/* Extra small mobile devices */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .container {
        padding: 0 10px;
    }

    .search-form {
        padding: 10px;
    }

    .search-btn {
        width: 100%;
    }
    


    .trust-safety {
           .trust-safety {
        grid-template-columns: 1fr 1fr !important; /* force 2 equal columns */
        gap: 10px;
    }
	
	
	  .local-service {
    padding: 12px;
    margin-top: 20px;
  }

  .local-service h2 {
    font-size: 1.2rem; /* even smaller for narrow screens */
  }

  .local-service p,
  .local-service li {
    font-size: 0.85rem;
  }