/* =========================================
   RIDESHARE PAGE – CLEAN & MATCHED CSS
========================================= */


/* ========== GLOBAL SECTION SPACING ========== */

.rideshare-page section {
  padding: 0px 0;
}

.content-inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}


/* =========================================
   HERO SECTION
========================================= */

.rideshare-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: url('../images/rideshare-hero-bg.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 100px 0;
}



.hero-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  width: 55%;
}

.hero-text h1 {
  font-size: 46px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* HERO FORM */

.hero-form {
  background: rgba(14, 6, 58, 0.08);
  padding: 25px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  max-width: 400px !important;
  margin-left: 150px !important;
}


/* HERO IMAGE */

.hero-image {
  width: 40%;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  transform: translateY(40px);
}


/* =========================================
   CONTENT SECTIONS
========================================= */

.rideshare-about h2,
.rideshare-qualify h2,
.rideshare-rights h2,
.rideshare-faq h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: #001a3d;
}

.rideshare-about p,
.rideshare-rights p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.rideshare-qualify ul,
.rideshare-rights ul {
  padding-left: 20px;
  margin-top: 15px;
}

.rideshare-qualify li,
.rideshare-rights li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.rideshare-about img,
.rideshare-qualify img,
.rideshare-rights img {
  width: 100%;
  max-width: 600px;
  margin-top: 30px;
  border-radius: 6px;
  display: block;
}

/* =========================================
   PREMIUM FAQ SECTION
========================================= */

.rideshare-faq {
  padding: 120px 0;
  background: #0a1f44;
  max-width: 2000px;
}

.rideshare-faq h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
  color: #ffffff;
}

/* Grid layout for classy look */
.rideshare-faq .content-inner {
  max-width: 900px;   /* narrower for premium look */
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Premium FAQ Box */
.faq-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border-left: 4px solid #c9a227;
}

/* Hover Effect */
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* Question */
.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  color: #0a1f44;
}

/* Plus icon */
.faq-question span::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 20px;
  color: #c9a227;
  transition: 0.3s ease;
}

/* Rotate when active */
.faq-item.active .faq-question span::after {
  content: "–";
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* When Open */
.faq-item.active .faq-answer {
  max-height: 300px;
  margin-top: 15px;
}


@media (max-width: 992px) {
  .rideshare-faq .content-inner {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   CTA SECTION
========================================= */

.rideshare-cta {
  background: #f4b400;
  text-align: center;
  padding: 100px 20px;
}

.rideshare-cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #001a3d;
}

.rideshare-cta p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #001a3d;
}

.rideshare-cta .btn-primary {
  background: #001a3d;
  color: #fff;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.rideshare-cta .btn-primary:hover {
  background: #fff;
  color: #001a3d;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-image {
    width: 100%;
  }

  .hero-image img {
    transform: none;
    margin-top: 30px;
  }

}




/* =========================================
   RIDESHARE HERO – SHORT BACKGROUND STYLE
========================================= */

.rideshare-page .rideshare-hero {
  position: relative;
  width: 100%;
  height: 400px;   /* Half height like reference */
  background: url("images/ridebg.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: visible;
}


/* Layout */
.rideshare-page .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Left side text */
.rideshare-page .hero-text {
  flex: 1;
  color: #ffffff;
  max-width: 600px;
}

.rideshare-page .hero-text h1 {
  font-size: 44px;
  margin-bottom: 20px;
}

.rideshare-page .hero-text p {
  font-size: 17px;
  line-height: 1.7;
}

/* Right side overlapped image */
.rideshare-page .hero-image {
  flex: 1;
  position: relative;
}

.rideshare-page .hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;


  position: relative;
  top: 60px;   /* Overlap below hero */
}

/* Responsive */
@media (max-width: 992px) {

  .rideshare-page .rideshare-hero {
    height: auto;
    padding: 80px 0;
  }

  .rideshare-page .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .rideshare-page .hero-image img {
    top: 30px;
  }

}


/* SECTION WITH BACKGROUND */
.justice-section {
  min-height: 100vh;
  background: url('your-background-image.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: flex-end;  /* Moves form to right */
  align-items: center;
  padding: 60px;
  position: relative;
}

/* Optional soft overlay for classy look */
.justice-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.5)
  );
}

/* FORM CONTAINER */
.form-container {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

/* FORM STYLING */
.form-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
}

.form-container button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #1a2a6c; /* Premium blue tone */
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.form-container button:hover {
  background: #0f1b4c;
}

/* =====================================
   HERO IMAGE – RIGHT & COMPACT
===================================== */

.rideshare-page .hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Image container */
.rideshare-page .hero-image {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  width: 50%;
}

/* Make image compact */
.rideshare-page .hero-image img {
  width: 100%;
  max-width: 400px;   /* controls compact size */
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}
.rideshare-page .hero-image img {
  transform: translateX(40px);
}
@media (max-width: 992px) {

  .rideshare-page .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .rideshare-page .hero-image {
    width: 100%;
    justify-content: center;
    margin-top: -20px;
  }

  .rideshare-page .hero-image img {
    max-width: 320px;
    transform: none;
  }

}
/* Push image fully right */
.rideshare-page .hero-image {
  display: flex;
  justify-content: flex-end;
  margin-right: -80px;   /* pushes container outside */
}

.rideshare-page .hero-image img {
    margin-top: 80px;
  max-width: 380px;
  transform: translateX(60px); /* pushes image further right */
}



/* =====================================
   RIDESHARE ABOUT SECTION
===================================== */

.rideshare-page .rideshare-about {
  padding: 30px 0;   /* More top & bottom space */
  background: #c4cef5;
}

.rideshare-page .rideshare-about .content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* LEFT TEXT */
.rideshare-page .rideshare-about h2 {
  font-size: 36px;
  margin-bottom: 25px;
  color: #0a1f44;
}

.rideshare-page .rideshare-about p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  max-width: 600px;
}

/* RIGHT IMAGE */
.rideshare-page .rideshare-about img {
  width: 200%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}




@media (max-width: 992px) {

  .rideshare-page .rideshare-about .content-inner {
    flex-direction: column;
    text-align: center;
  }

  .rideshare-page .rideshare-about img {
    margin-top: 10px;
  }

}

/* =====================================
   RIDESHARE QUALIFY SECTION
===================================== */

.rideshare-page .rideshare-qualify {
  padding: 40px 0;
  background: #d1daf6;
}

.rideshare-page .rideshare-qualify .content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* LEFT IMAGE */
.rideshare-page .qualify-image {
  flex: 1;
}

.rideshare-page .qualify-image img {
  width: 80%;
  height: 50%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* RIGHT TEXT */
.rideshare-page .qualify-text {
  flex: 1;
}

.rideshare-page .qualify-text h2 {
  font-size: 34px;
  margin-bottom: 25px;
  color: #0a1f44;
}

.rideshare-page .qualify-text ul {
  list-style: none;
  padding: 0;
}

.rideshare-page .qualify-text ul li {
  font-size: 17px;
  margin-bottom: 15px;
  padding-left: 28px;
  position: relative;
  color: #444;
}

/* Custom bullet */
.rideshare-page .qualify-text ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #c9a227;
  font-weight: bold;
}





/* =========================================
   RIDESHARE INDUSTRY PREMIUM SECTION
========================================= */
/* =========================================
   FULL WIDTH PREMIUM BACKGROUND SECTION
========================================= */

.rideshare-page .rideshare-industry {
  position: relative;
  width: 100%;
  padding: 180px 0;   /* Large premium spacing */

  background-image: url("images/ride.jpg"); /* CHANGE PATH */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* Elegant light overlay */
.rideshare-page .rideshare-industry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.548); /* adjust if needed */
  z-index: 1;
}

/* Content container */
.rideshare-page .industry-inner {
  position: relative;
  z-index: 2;

  max-width: 1100px;  /* keeps text readable */
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styling */
.rideshare-page .industry-header {
  text-align: center;
  margin-bottom: 60px;
}

.rideshare-page .industry-header h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #ffffff;
}

.rideshare-page .industry-header p {
  font-size: 20px;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
}

/* Content text */
.rideshare-page .industry-content p {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 30px;
  color: #fff;
}

/* CTA Highlight Block */
.rideshare-page .industry-cta {
  
  padding: 40px;
  border-radius: 12px;
  color: #fff;
  margin: 60px 0;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.rideshare-page .industry-cta h3 {
  letter-spacing: 2px;
  margin-bottom: 15px;
}

/* Subheadings */
.rideshare-page .industry-content h3 {
  margin-top: 60px;
  margin-bottom: 20px;
  font-size: 28px;
  color: #0a1f44;
}

/* Bullet list */
.rideshare-page .industry-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.rideshare-page .industry-content ul li {
  padding-left: 28px;
  margin-bottom: 15px;
  position: relative;
  font-size: 17px;
}

.rideshare-page .industry-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #c9a227;
  font-weight: bold;
}

/* Process steps grid */
.rideshare-page .process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.rideshare-page .step {
  background: #0a1f44;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.rideshare-page .step strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .rideshare-page .process-steps {
    grid-template-columns: 1fr;
  }
}



/* ===============================
   HEADER
================================ */

.rideshare-page .industry-header {
  text-align: left;
  margin-bottom: 80px;
}

.rideshare-page .industry-header h2 {
  font-size: 35px;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #c9a227;
  text-shadow: 0 4px 20px rgb(0, 0, 0);
  text-align: center;

}

.rideshare-page .industry-header p {
  font-size: 20px;
  max-width: 1200px;
  color: #f5f5f5;
  text-shadow: 0 2px 12px rgba(0,0,0,0.701);
}

/* ===============================
   MAIN PARAGRAPHS
================================ */

.rideshare-page .industry-content p {
  font-size: 18px;
  line-height: 1.95;
  margin-bottom: 35px;
  color: #f0f0f0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.701);
}

/* ===============================
   TAKE ACTION (NO BOX)
================================ */

.rideshare-page .industry-cta {
  margin: 10px 0 10px 0;
  padding: 0;
  background: none;
  box-shadow: none;
  text-align: left;
  border-left: 4px solid #c9a227;
  padding-left: 25px;
}

.rideshare-page .industry-cta h3 {
  font-size: 18px;
  letter-spacing: 3px;
  color: #c9a227;
  margin-bottom: 12px;
}

.rideshare-page .industry-cta p {
  font-size: 18px;
  color: #ffffff;
}

/* ===============================
   SUBHEADINGS
================================ */

.rideshare-page .industry-content h3 {
  margin-top: 80px;
  margin-bottom: 25px;
  font-size: 30px;
  color: #c9a227;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.701);
}

/* ===============================
   BULLET LIST
================================ */

.rideshare-page .industry-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 50px;
}

.rideshare-page .industry-content ul li {
  padding-left: 30px;
  margin-bottom: 18px;
  position: relative;
  font-size: 17px;
  color: #f0f0f0;
}

.rideshare-page .industry-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #c9a227;
  font-weight: bold;
}

/* ===============================
   PROCESS STEPS – PREMIUM GLASS LOOK
================================ */

.rideshare-page .process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin-top: 40px;
}

.rideshare-page .step {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  padding: 35px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: 0.3s ease;
}

.rideshare-page .step:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
}

.rideshare-page .step strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  color: rgba(255, 244, 35, 0.74);
}

.rideshare-page .step p {
  color: #ffffff;
}







@media (max-width: 768px) {

  /* GLOBAL */
  .rideshare-page section {
    padding: 60px 20px;
  }

  .rideshare-page .content-inner {
    width: 100%;
    padding: 0 15px;
  }

  /* HERO */
  .rideshare-page .rideshare-hero {
    padding: 80px 20px;
    height: auto;
    text-align: center;
  }

  .rideshare-page .hero-inner {
    flex-direction: column;
    gap: 30px;
  }

  .rideshare-page .hero-text,
  .rideshare-page .hero-image {
    width: 100%;
  }

  .rideshare-page .hero-text h1 {
    font-size: 26px;
  }

  .rideshare-page .hero-text p {
    font-size: 15px;
    text-align: left;
  }

  .rideshare-page .hero-image img {
    max-width: 300px;
    margin: 0 auto;
    transform: none;
  }

  /* ABOUT + QUALIFY */
  .rideshare-page .rideshare-about .content-inner,
  .rideshare-page .rideshare-qualify .content-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .rideshare-page .rideshare-about h2,
  .rideshare-page .rideshare-qualify h2 {
    font-size: 24px;
  }

  .rideshare-page p {
    font-size: 15px;
  }

  .rideshare-page .qualify-text ul li {
    font-size: 14px;
    text-align: left;
  }

  .rideshare-page img {
    max-width: 100%;
  }

  /* INDUSTRY SECTION */
  

  /* ================= RIDESHARE INDUSTRY ================= */
  .rideshare-page .rideshare-industry {
    padding: 90px 20px;
    background-color: #001a3d;   /* dark blue for remaining area */
    background-image: url("images/ride.jpg");  /* main background */
    background-repeat: no-repeat;
    background-position: top center;  /* show top part of image */
    background-size: 250% auto;       /* slight zoom, not too much */
  }

  /* Header */
  .rideshare-page .industry-header {
    
    margin-bottom: 40px;
  }

  .rideshare-page .industry-header h2 {
    text-align: left;
    max-width: 150%;
    font-size: 26px;
    margin-bottom: 20px;
    margin-left: -5px !important;
  }

  .rideshare-page .industry-header p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 90%;
    margin-left: -6px;
  }

  /* Content paragraphs */
  .rideshare-page .industry-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #f0f0f0;
  }

  /* Subheadings */
  .rideshare-page .industry-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #c9a227;
    text-align: center;
  }

  /* Bullet lists */
  .rideshare-page .industry-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
  }

  .rideshare-page .industry-content ul li {
    font-size: 14px;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #f0f0f0;
    text-align: left;
  }

  .rideshare-page .industry-content ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #c9a227;
    font-weight: bold;
  }

  /* Process steps – stacked, compact */
  .rideshare-page .process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .rideshare-page .step {
    padding: 15px;
    text-align: center;
    margin-bottom: 12px !important;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
  }

  .rideshare-page .step strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: #c9a227;
  }

  .rideshare-page .step p {
    color: #ffffff;
    font-size: 14px;
  }







  /* FAQ */
  .rideshare-page .rideshare-faq {
    padding: 70px 15px;
    max-width: 100%;
  }

  .rideshare-page .rideshare-faq h2 {
    font-size: 19px;
    margin-bottom: 30px;
  }

  /* CTA */
  .rideshare-page .rideshare-cta {
    padding: 70px 20px;
  }

  .rideshare-page .rideshare-cta h2 {
    font-size: 24px;
  }

  .rideshare-page .rideshare-cta p {
    font-size: 15px;
  }

}




@media (max-width: 768px) {

  /* ================= HERO ================= */

  .rideshare-page .rideshare-hero {

    padding: 120px 20px 60px 20px !important;
    min-height: 95vh !important;   /* FULL SCREEN */
    background-size: contain !important;
    background-position: center 20% !important;
    background-repeat: no-repeat;
    background-color: #190b06; /* match rideshare theme */

    display: flex;
    align-items: flex-start !important;
    position: relative;
  }

  /* Push content downward */
  .rideshare-page .hero-inner {
    margin-top: 440px !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0px;
  }

  /* Text sizing */
  .rideshare-page .hero-text h1 {
    font-size: 19px;
    line-height: 1.5;
    max-width: 100%;
  }

  .rideshare-page .hero-text p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 80%;
  }

  /* FORM STYLE (Glass look like Roblox) */
  .rideshare-page .hero-form {
    background: rgba(64, 37, 7, 0.75);
    border: 1px solid rgba(255,255,255,0.15);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);

    width: 100%;
    max-width: 100%;
  }

  /* Anchor form to bottom */
  .rideshare-page .hero-form {
    position: absolute !important;
    bottom: 70px;
    left: 20px;
    right: 20px;

    margin-top: 0 !important;
    margin-bottom: 30px !important;
  }




/* ABOUT – LEFT ALIGNED MOBILE */
.rideshare-page .rideshare-about .content-inner {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 20px;
}

.rideshare-page .rideshare-about h2 {
  font-size: 24px;
  text-align: left;
  padding: 10px;
  margin-bottom: 5px !important;
}

.rideshare-page .rideshare-about p {
  font-size: 15px;
  text-align: left;
  padding-left: 15px !important;
}

/* ABOUT IMAGE – MOBILE COMPACT */
.rideshare-page .rideshare-about img {
  width: 100%;        /* fits container */
  max-width: 320px;   /* keeps it compact */
  height: auto;       /* maintain aspect ratio */
  margin: 10px 0 10px 0; /* top spacing only */
  display: block;     /* ensures it stays in flow */
}

}



@media (max-width: 768px) {

  /* ================== COMPACT FAQ ================== */

  .rideshare-faq, 
  .roblox-faq {
    padding: 40px 15px;
  }

  .rideshare-faq h2, 
  .roblox-faq h2 {
    font-size: 20px;       /* small heading */
    text-align: center;
    margin-bottom: 25px;   /* compact spacing */
    color: #ffffff;        /* adjust color */
  }

  .rideshare-faq .content-inner,
  .roblox-faq .content-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;             /* less spacing between items */
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
  }

  /* Individual FAQ item */
  .rideshare-faq .faq-item,
  .roblox-faq .faq-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 15px;    /* compact padding */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 3px solid #c9a227;
    transition: 0.3s;
  }

  .rideshare-faq .faq-item:hover,
  .roblox-faq .faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }

  /* Question styling */
  .rideshare-faq .faq-question,
  .roblox-faq .faq-question {
    font-size: 14px;       /* small question */
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
  }

  /* Plus/minus */
  .rideshare-faq .faq-question span::after,
  .roblox-faq .faq-question span::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 16px;
    color: #c9a227;
    transition: 0.3s;
  }

  .rideshare-faq .faq-item.active .faq-question span::after,
  .roblox-faq .faq-item.active .faq-question span::after {
    content: "–";
  }

  /* Answer styling */
  .rideshare-faq .faq-answer,
  .roblox-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 13px;       /* smaller font */
    line-height: 1.5;
    color: #555;
    margin-top: 5px;
  }

  .rideshare-faq .faq-item.active .faq-answer,
  .roblox-faq .faq-item.active .faq-answer {
    max-height: 250px;
  }

}


@media (max-width: 768px) {

  /* =========================
     RIDESHARE – QUALIFY MOBILE FULL WIDTH
  ========================= */

  .rideshare-page .rideshare-qualify {
    padding: 30px 15px; /* small padding top & bottom */
    width: 100%;        /* full width */
  }

  .rideshare-page .rideshare-qualify .content-inner {
    flex-direction: column; /* stack image above text */
    text-align: left;       /* left-align text */
    gap: 20px;              /* small spacing */
    width: 100%;
    align-items: flex-start;
  }

  /* Image above */
  .rideshare-page .qualify-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .rideshare-page .qualify-image img {
    width: 95%;        /* almost full width */
    max-width: 400px;  /* limit for small screens */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-bottom: 15px; /* space below image */
  }

  /* Text below image */
  .rideshare-page .qualify-text {
    width: 100%;
  }

  .rideshare-page .qualify-text h2 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #0a1f44;
  }

  .rideshare-page .qualify-text ul {
    padding-left: 20px; /* bullet alignment */
    margin-top: 0;
  }

  .rideshare-page .qualify-text ul li {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
    color: #444;
  }

  /* Custom bullet */
  .rideshare-page .qualify-text ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #c9a227;
    font-weight: bold;
  }

}




/* =========================================
   RIDESHARE HERO (Mobile Desktop Mode)
========================================= */
@media (hover: none) and (pointer: coarse) and (min-width: 900px) {

  .rideshare-page .rideshare-hero {
    min-height: 30vh !important;   /* adjust as needed */
    padding: 80px 40px 60px 40px !important;
    background-size: cover !important;
    background-position: center 20% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    position: relative;
    gap: 30px;
  }

  .rideshare-page .rideshare-hero .hero-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    gap: 30px;
  }

  /* Left text */
  .rideshare-page .rideshare-hero .hero-text {
    flex: 1;
    text-align: left !important;
    max-width: 60%;
    /* adjust based on rideshare theme */
  }

  .rideshare-page .rideshare-hero .hero-text h1 {
    font-size: 42px !important;
    line-height: 1.3 !important;
    margin-bottom: 20px;
  }

  .rideshare-page .rideshare-hero .hero-text p {
    font-size: 18px !important;
    line-height: 1.6;
  }

  /* Right form */
  .rideshare-page .rideshare-hero .contact-form-box {
    flex: 0 0 auto !important;
    width: 400px !important;      /* desktop form width */
    max-width: 400px !important;
    margin: 0 !important;
    padding: 30px !important;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    position: relative;
    top: 0;
  }
}

/* =========================================
   RIDESHARE ABOUT (Responsive)
========================================= */
@media (max-width: 900px) {
  .rideshare-page .rideshare-about .content-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px !important;
    padding: 0 20px;
  }

  .rideshare-page .rideshare-about .about-image {
    justify-content: center;
    margin-top: 30px;
  }

  .rideshare-page .rideshare-about .about-image img {
    max-width: 90%;
  }

  .rideshare-page .rideshare-about .about-text h2 {
    font-size: 28px !important;
  }

  .rideshare-page .rideshare-about .about-text p {
    font-size: 16px !important;
    margin: 0 auto;
    
  }
}







/* =========================================
   ROBLOX ABOUT - MOBILE DESKTOP MODE
========================================= */
@media (hover: none) and (pointer: coarse) and (min-width: 900px) {

  .roblox-about {
    width: 100%;
    padding: 40px 30px; /* reduced top/bottom padding to remove whitespace */
    background: #b7c9f1;
    box-sizing: border-box;
  }

  .roblox-about .content-inner {
    display: flex;
    align-items: flex-start; /* align image to top */
    justify-content: space-between;
    gap: 30px;
    flex-wrap: nowrap;
    max-width: none; /* full width */
    margin: 0 auto;
  }

  .roblox-about .about-text {
    flex: 1;
    text-align: left;
    padding-top: 0; /* remove extra spacing */
  }

  .roblox-about .about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start; /* align image to top */
    margin-top: 0; /* remove extra spacing */
  }

  .roblox-about .about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  }

}

/* =========================================
   RIDESHARE ABOUT - MOBILE DESKTOP MODE
========================================= */
@media (hover: none) and (pointer: coarse) and (min-width: 900px) {

  .rideshare-page .rideshare-about {
    width: 100%;
    padding: 40px 30px; /* reduced top/bottom padding */
    background: #f8f9fa;
    box-sizing: border-box;
  }

  .rideshare-page .rideshare-about .content-inner {
    display: flex;
    align-items: flex-start; /* align image to top */
    justify-content: space-between;
    gap: 30px;
    flex-wrap: nowrap;
    max-width: none; /* full width */
    margin: 0 auto;
  }

  .rideshare-page .rideshare-about .about-text {
    flex: 1;
    text-align: left;
    padding-top: 0;
  }

  .rideshare-page .rideshare-about .about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-top: 0;
  }

  .rideshare-page .rideshare-about .about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  }

}

