/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}
a {
  color: #0097b2;
  text-decoration: none;
}
.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 2rem 0;
}
.word-logo-container {
  width: 90%;
  max-width: 600px;
  margin: auto;
  padding-top: 0.5rem;
  padding-bottom: 0rem;
}

/* Ensure the body takes up the full height */
html, body {
  height: 100%;
  margin: 0; /* Remove default margin */
  padding: 0;
  display: flex;
  flex-direction: column; /* Stack elements vertically */
}

/* Main content should grow to fill available space */
main {
  flex: 1 0 auto; /* Makes the main content take up available space */
  display: flex;
  flex-direction: column; /* Ensure it stacks the sections correctly */
}

/* Last section styling to ensure it stretches if needed */
.last-section {
  flex-grow: 1; /* This allows the last section to stretch */
  background-color: #fafafa; /* Set this to match your footer's background color */
  padding-bottom: 100px; /* Optional: add extra padding for better spacing */
}

/* ---- Home page animations ---- */
@keyframes hero-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .hero-animate {
  opacity: 0;
  animation: hero-fade-in-up 0.6s ease-out forwards;
}
.hero .hero-logo { animation-delay: 0.1s; }
.hero .hero-tagline { animation-delay: 0.25s; }
.hero .hero-download { animation-delay: 0.4s; }
.hero .hero-subtitle { animation-delay: 0.55s; }

/* Scroll-triggered: fade in and slide up when in view */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children (e.g. cards): parent gets .in-view, children fade in with delay */
.stagger-children .animate-on-scroll { transition-delay: 0s; }
.stagger-children.in-view .animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.in-view .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.in-view .animate-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.in-view .animate-on-scroll:nth-child(3) { transition-delay: 0.19s; }
.stagger-children.in-view .animate-on-scroll:nth-child(4) { transition-delay: 0.26s; }
.stagger-children.in-view .animate-on-scroll:nth-child(5) { transition-delay: 0.33s; }
.stagger-children.in-view .animate-on-scroll:nth-child(6) { transition-delay: 0.4s; }

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero .hero-animate,
  .animate-on-scroll {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
  .animate-on-scroll.in-view { opacity: 1; transform: none; }
  .stagger-children.in-view .animate-on-scroll { transition-delay: 0s; }
}






/* Header Bar Styles */
.header-bar {
  display: flex;
  align-items: center; /* Vertically centers the items */
  justify-content: space-between; /* Ensures space between the left and right items */
  padding: 5px 15px; /* Padding for top and bottom */
  background-color: white; /* White background */
  position: fixed; /* Fixes the header at the top */
  width: 100%;
  top: 0;
  z-index: 10000;
  height: 70px; /* Height of the header */
  box-sizing: border-box; /* Ensures padding doesn't affect height */
}

.header-bar .container {
  display: flex;
  align-items: center; /* Vertically center the items */
  justify-content: space-between; /* Ensures space between the left and right items */
  width: 100%;
  max-width: 1200px; /* Optional: Controls max width of the content */
  margin: 0 auto; /* Centers the content within the max width */
}

.header-bar .logo-container {
  display: flex;
  align-items: center; /* Vertically center the logo */
}

.header-bar .logo-link img {
  height: 60px; /* Adjust logo height */
}

/* Box for links - invisible but with padding */
.links-container {
  display: flex;
  align-items: center; /* Vertically align the links */
  justify-content: flex-end; /* Align the links to the right */
}

.link-box {
  margin-left: 0px; /* Adjust space between the link boxes */
  padding: 10px 20px; /* Padding inside the box (for spacing) */
  background-color: transparent; /* Make background invisible */
  border: none; /* Remove any borders */
}

.about-link {
  color: #333; /* Dark color for the link */
  text-decoration: none;
  font-weight: 600;
}

.about-link.active {
  color: #0097b2 !important;
}

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




/* Hero */
.hero {
  background-color: #0097b2;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  padding-bottom: 0rem;
}
.logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.subtitle {
  margin-top: 1rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.signup-form {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.signup-form input {
  padding: 1rem 1.2rem;
  width: 280px;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.signup-form button {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: none;
  background-color: #ffffff;
  color: #0097b2;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.signup-form button:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

/* App Preview */
.preview .screenshots {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.screenshot {
  flex: 1 1 25%; /* 4 per row on desktop, will adjust on smaller screens */
  box-sizing: border-box;
  text-align: center;
}

.screenshot img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.screenshot p {
  font-weight: 700;
  font-size: 1.2rem;
  color: #5a5a5a;
  margin-top: 1rem;
}

.screenshots-container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 2rem 0;
}

/* Responsive stacking on smaller screens */
@media (max-width: 768px) {
  .screenshot {
    flex: 1 1 100%;
    padding: 0 2rem; /* Adds horizontal padding/margins */
  }

  .screenshot img {
    max-width: 85%; /* Shrinks image width on smaller screens */
    margin: 0 auto;
  }
}


/* How it Works */

.how-it-works {
  margin-bottom: 1rem; /* Adds space below the section */
}

.how-it-works .cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.card {
  background-color: #f7f7f7;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

/* Why Drop-in cards: same style as Live Rides / Partner Clubs link cards */
.how-it-works .why-cards {
  gap: 1.5rem;
}
.how-it-works .why-card {
  background-color: #fff;
  border: 2px solid #0097b2;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.how-it-works .why-card:hover {
  background-color: #0097b2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 151, 178, 0.25);
}
.how-it-works .why-card:hover .why-card-title,
.how-it-works .why-card:hover .why-card-desc {
  color: #fff;
}
.how-it-works .why-card:focus-visible {
  outline: 2px solid #0097b2;
  outline-offset: 2px;
}
.how-it-works .why-card-icon {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  color: #0097b2;
  transition: color 0.2s ease;
}
.how-it-works .why-card:hover .why-card-icon {
  color: #fff;
}
.how-it-works .why-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0097b2;
  margin-bottom: 0.5rem;
}
.how-it-works .why-card-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.45;
  margin: 0;
  transition: color 0.2s ease;
}

.card-left {
  background-color: #ffffff; 
  padding: 2rem;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* Shadow for depth */
}

.how-it-works .profile-pic {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.how-it-works .profile-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: #0097b2;
  display: inline-block;
}
.how-it-works .profile-header {
  display: flex;
  align-items: center;               /* Proper vertical alignment */
  gap: 12px;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .how-it-works .cards {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .how-it-works .why-cards {
    flex-wrap: nowrap;
    gap: 1.5rem;
  }
  .how-it-works .why-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 1.5rem;
  }
  .how-it-works .card {
    width: 48%;
  }
  .how-it-works .card-left {
    width: 48%;
  }
}

@media (min-width: 900px) {
  .how-it-works .why-cards {
    gap: 1.5rem;
  }
  .how-it-works .why-card {
    padding: 1.5rem;
  }
}


/* Features */
.features ul {
  list-style: none;
  padding: 0;
}
.features li {
  background-color: #f0faff;
  border-left: 5px solid #0097b2;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 5px;
}

/* About */
.about {
  background-color: #f8f8f8;
  text-align: center;
  padding: 3rem 1rem ;
}

/* Footer */
footer {
  background-color: #fafafa;
  text-align: center;
  font-size: 0.9rem;
  padding: 2rem 1rem;
}

.signup-form input.invalid {
  border: 2px solid #ff6b6b;
  background-color: #fff5f5;
  color: #cc0000;
}

/* About Section Styles */
.about {
  background-color: #f8f8f8;   /* Background color for the About section */
  text-align: center;          /* Centered text alignment */
  padding: 60px 20px;          /* Added padding for spacing */
}

/* Socials section: white icons on teal background */
.socials-section .social-icon {
  filter: brightness(0) invert(1);
}

/* Founders Photo Styling */
.founders-photo {
  width: 100%;
  max-width: 400px;         /* Controls maximum size */
  height: auto;             /* Maintains aspect ratio */
  border-radius: 20px;      /* Rounded corners */
  display: block;
  margin: 20px auto;        /* Center with spacing */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Optional soft shadow */
  margin-bottom: 0;
}

/* Intro Text Styling */
.intro {
  font-size: 1.2rem;               /* Larger text size for the intro paragraph */
  color: #444;                     /* Slightly lighter color for the text */
  line-height: 1.8;                 /* Line height for better readability */
  margin: 30px auto;                /* Space around intro text */
  max-width: 900px;                 /* Limits the width of the paragraph */
}


/* Mission Section Styling */
.mission {
  margin-top: 50px;
}



.mission h2 {
  font-size: 2.4rem;
  color: #0097b2;
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto; /* Horizontally center */
  text-align: center; /* Optional: for matching alignment */
}


.mission p {
  font-size: 1.2rem;                 /* Font size for mission paragraph */
  color: #444;                       /* Text color */
  line-height: 1.8;                  /* Line height */
  max-width: 900px;                  /* Limits the width */
  margin: 20px auto;                 /* Space around the paragraph */
}

/* Preview Section */
.preview {
  background-color: #f7f7f7;  
  padding: 4rem 1rem;
}

.preview .section-title {
  margin-bottom: 2rem;  /* More space below the title */
  font-weight: 600;     /* Slightly bolder title for emphasis */
  color: #0097b2;       /* Main blue theme color */
}

h2.section-title {
  text-align: center;
  margin-bottom: 2rem; /* Add more space below the titles */
  font-weight: 600;
  color: #0097b2;
  font-size: 2.2rem;
}

/* For See Drop-In in Action */
.preview .screenshots-container .section-title {
  margin-top: 0 !important; /* Removes any top margin */
  padding-top: 0 !important; /* Removes any top padding */
}

/* Further ensure the space above the title is reduced */
.preview .screenshots-container {
  margin-top: -30px !important; /* Removes any top margin above the section */
  padding-top: 0 !important; /* Removes any top padding above the section */
}


.grey-bg {
  background-color: #f7f7f7; /* Lighter solid grey */
  padding: 4rem 1rem;
}

.white-text {
  color: #ffffff;
}

.about-page .about {
  background-color: #f8f8f8;
  text-align: center;
  padding: 3rem 1rem;
}
.about-page .how-it-works {
  margin-bottom: 0rem;  /* Tighter spacing */
  padding-bottom: 0;    /* Remove internal padding if needed */
}

.about-page .mission {
  margin-top: 0rem;  /* Reduce space before the mission section */
}

.about-page .founders-photo {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  display: block;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-page .intro {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin: 30px auto;
  max-width: 900px;
  margin-bottom: 0;
}

.about-page .profile {
  background-color: #ffffff;
  padding: 20px;
  width: 45%;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  min-height: 280px;
}

.about-page .about * {
  margin-bottom: 0rem; /* Or less */
  padding-bottom: 0rem;
}

/* Remove space ABOVE the footer */
footer {
  margin-top: 0;
  padding-top: 10px;
}

/* Remove space BELOW the footer */
footer {
  margin-bottom: 0;
  padding-bottom: 5px;
}

/* Remove top margin from first <p> */
footer p:first-of-type {
  margin-top: 0;
}

/* Remove bottom margin from last <p> */
footer p:last-of-type {
  margin-bottom: 0;
}

/* Ensure container inside footer has no spacing */
footer .container {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 0;
}

/* FAQ Styling */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-bottom: 2rem;
}

.faqs-page main {
  padding-top: 50px;
  overflow: auto;
  background-color: #f8f8f8;
}

.faq-item {
  background-color: #f0faff;
  border-left: 5px solid #0097b2;
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  padding: 1rem;
  cursor: pointer;
  font-weight: 600;
  background-color: #0097b2;
  color: white;
}

.faq-answer {
  padding: 0 1rem 1rem;
  display: none;
  margin-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question {
  background-color: #dcdadab5;
  color: #0097b2
}

.faq-section h2 {
  margin-bottom: 0.5rem; 
}



/* FAQ Title Styling */
.faq h1 {
  text-align: center; /* Centers the title */
  color: #0097b2; /* Your theme color */
  font-size: 2rem; /* Adjust font size to make it prominent */
  font-weight: bold; /* Makes the title bold */
  margin-top: 3rem; /* Adds space at the top */
  margin-bottom: 1.5rem; /* Adds space below the title */
  line-height: 1.3; /* Adjusts line height for better readability */
}

.about-page h1 {
  text-align: center; /* Centers the title */
  color: #0097b2; /* Your theme color */
  font-size: 2rem; /* Adjust font size to make it prominent */
  font-weight: bold; /* Makes the title bold */
  margin-top: 3rem; /* Adds space at the top */
  margin-bottom: 1.5rem; /* Adds space below the title */
  line-height: 1.3; /* Adjusts line height for better readability */
}

.page-filler {
  flex-shrink: 0;
  height: 0;
  background-color: #f0faff; /* Match your FAQ background */
}

/* Contact Prompt Section */
.contact-prompt {
  background-color: #ffffff;
  padding: 40px 20px;
}

.contact-prompt .faq-container {
  max-width: 1000px; /* Matches typical container size for FAQ content */
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-prompt h1 {
  color: #0097b2;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contact-prompt p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}


/* Hamburger icon button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-icon {
  width: 28px;
  height: 28px;
}

/* Navigation (desktop view) */
.nav-links {
  display: flex;
  gap: 1rem;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 1rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 10001; /* add this line */    
  }

  .nav-links.show {
    display: flex;
    z-index: 10001; /* from 99 to 10001 */
  }

  .link-box {
    margin: 0.5rem 0;
  }
}

.coming-soon h2 {
  font-size: 1.2rem;
  color: #0097b2;
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto; /* Horizontally center */
  text-align: center; /* Optional: for matching alignment */
}
.forms-section {
  background-color: #e4e4e4;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Full-width cards with margin */
.signup-section,
.group-section {
  background-color: #0097b2;
  padding: 1.5rem;
  margin-top: 0.5rem;
  border-radius: 8px;
  text-align: center;
  width: 80%;
  max-width: None; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-left: auto;
  margin-right: auto;
}

.group-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

/* Style the links in .group-buttons like the signup button */
.group-buttons a.cta-button {
  display: inline-block;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;        /* Same font as button */
  line-height: 1;              /* Match button's line height */
  border: none;
  background-color: #ffffff;
  color: #0097b2;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;     /* Ensure padding included in size */
  vertical-align: middle;
}



.group-buttons a.cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

/* Sneak Peek Button Styling */
.carousel-cta .cta-button {
  padding: 1rem 1.5rem; /* vertical and horizontal padding */
  font-size: 1rem;
  font-family: inherit;      /* match button font */
  line-height: 1;            /* keep height tight */
  border: none;
  background-color: #ffffff;
  color: #0097b2;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: inline-block;
  width: auto;
  max-width: fit-content;
  margin: 0 auto;
  box-sizing: border-box;    /* consistent sizing */
  vertical-align: middle;
}



.carousel-cta .cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
  text-decoration: none; /* no underline on hover */
}

.group-section p {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}
.signup-section p {
  font-size: 3rem;
}

.word-logo-container p{
  font-size: 1.2rem;
}

/* Apply How-It-Works card styles to Forms Section */
.forms-section .group-section .cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.forms-section .group-section .card {
  background-color: #f7f7f7;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

/* Optional: If you want a left-aligned version like .card-left */
.forms-section .group-section .card-left {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive layout like .how-it-works */
@media (min-width: 768px) {
  .forms-section .group-section .cards {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .forms-section .group-section .card,
  .forms-section .group-section .card-left {
    width: 48%;
  }
}

/* Reduce paragraph size inside sign-up cards */
.forms-section .group-section .card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .group-section {
    padding: 1rem;
    width: 95%;
  }

  .forms-section {
    padding: 1rem 0.5rem;
  }

  .forms-section .group-section .card {
    padding: 1.5rem;
  }
}


.logo-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem; /* space between logos */
  margin-bottom: 1rem; /* space before the title */
  flex-wrap: wrap; /* allow stacking on very small screens */
}

.partner-logo {
  max-width: 120px; /* desktop size */
  height: auto;
  transition: max-width 0.3s ease;
}

@media (max-width: 768px) {
  .partner-logo {
    max-width: 90px; /* tablet size */
  }
}

@media (max-width: 480px) {
  .partner-logo {
    max-width: 70px; /* mobile size */
  }
}

.store-badge {
  height: 60px;
  width: auto;
  display: inline-block;
  max-width: 100%;
}

/* Download Section Styling */
.download-section {
  margin-top: 1rem;
  text-align: center;
}

.download-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.download-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: #eaeaea;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge {
  height: 60px;
  width: auto;
  max-width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-badge {
    height: auto;
    width: 180px;
    max-width: 100%;
  }
}


.download-section .download-subtitle a {
  color: #ffffff !important; /* bright white for iOS/Android links */
  text-decoration: underline; /* optional: makes it clear it's a link */
  font-weight: 600; /* makes it bolder */
}

.download-section .download-subtitle a b {
  color: #ffffff !important; /* ensure bold text is also bright white */
  font-weight: 700; /* make it even bolder */
}

.download-section .download-subtitle a:hover {
  color: #ffd700 !important; /* gold accent for hover */
}

.download-section .download-subtitle a:hover b {
  color: #ffd700 !important; /* gold accent for hover on bold text */
}

.hero-stats {
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Live from the app: upcoming rides & partner clubs */
.live-data-section {
  background-color: #f7f7f7;
  padding: 3rem 1rem;
}

.live-data-section .section-title {
  margin-bottom: 2rem;
}

.live-data-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .live-data-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.live-data-block h3.live-data-subtitle {
  font-size: 1.25rem;
  color: #0097b2;
  font-weight: 600;
  margin-bottom: 1rem;
}

.ride-cards,
.club-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.live-data-loading {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  gap: 0;
}

.lottie-loader {
  width: 160px;
  height: 160px;
}

.live-data-loading-text {
  font-size: 0.95rem;
  color: #0097b2;
  margin: -1.5em 0 0;
  line-height: 1.2;
}

.ride-card,
.club-card {
  background-color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #0097b2;
}

.ride-card .ride-destination {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.ride-card .ride-meta {
  font-size: 0.9rem;
  color: #555;
}

.club-card .club-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.club-card .club-meta {
  font-size: 0.9rem;
  color: #555;
}

.club-card .club-website {
  margin-top: 0.5rem;
}

.club-card .club-website a {
  font-size: 0.9rem;
  color: #0097b2;
  text-decoration: none;
}

.club-card .club-website a:hover {
  text-decoration: underline;
}

/* Partner club card with logo */
.club-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.club-card-logo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #f5f5f5;
}

.club-card-content {
  flex: 1;
  min-width: 0;
}

.live-data-error {
  color: #888;
  font-size: 0.95rem;
  margin: 0;
}

/* Homepage: link cards to Live Rides / Partner Clubs */
.live-data-link-cards {
  display: grid;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Homepage: Surf Bus highlight section */
.surfbus-home-section {
  padding: 3.25rem 0 2.75rem;
  background: linear-gradient(180deg, rgba(0, 151, 178, 0.08), rgba(0, 151, 178, 0.02));
}

.surfbus-home-inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  justify-items: center;
}

.surfbus-home-copy {
  text-align: center;
  width: 100%;
  max-width: 520px;
}

.surfbus-home-title {
  text-align: center;
}

.surfbus-home-subtitle {
  max-width: none;
  width: 100%;
  margin: 0.75rem auto 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #555;
}

.surfbus-home-cta {
  margin-bottom: 0;
  margin-top: 1rem;
}

.surfbus-home-visual {
  display: flex;
  justify-content: center;
  margin: 0.9rem 0 0.25rem;
  width: 100%;
}

.surfbus-home-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
}

@media (min-width: 600px) {
  .live-data-link-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.live-data-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid #0097b2;
  color: #0097b2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.live-data-link-card:hover {
  background-color: #0097b2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 151, 178, 0.25);
}

.live-data-link-card-icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.live-data-link-card-icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.live-data-link-card-icon-default {
  opacity: 1;
}

.live-data-link-card-icon-hover {
  opacity: 0;
}

.live-data-link-card:hover .live-data-link-card-icon-default {
  opacity: 0;
}

.live-data-link-card:hover .live-data-link-card-icon-hover {
  opacity: 1;
}

/* White icon on hover (Partner Clubs) */
.live-data-link-card-icon-white,
.live-data-link-card[href="/partner-clubs"] .live-data-link-card-icon-hover {
  filter: brightness(0) invert(1);
}

.live-data-link-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.live-data-link-card-desc {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Full-page live data (Live Rides / Partner Clubs pages) */
.live-data-intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.live-data-stats {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #0097b2;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.live-data-page-container {
  max-width: 700px;
}

/* Region filter (live rides page) */
.live-rides-filter-wrapper {
  margin-bottom: 1.25rem;
}
.live-rides-filter-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.live-rides-filter-scroll::-webkit-scrollbar {
  display: none;
}
.live-rides-filter-bubble {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  background-color: #e8f4f6;
  color: #0097b2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.live-rides-filter-bubble:hover {
  background-color: #d0eaef;
}
.live-rides-filter-bubble.selected {
  background-color: #0097b2;
  color: #fff;
  border-color: #0097b2;
}

.ride-cards-full,
.club-cards-full {
  max-width: 100%;
}

.club-card .club-description {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* Add your club form */
.club-form {
  max-width: 560px;
  margin: 0 auto 2rem;
  text-align: left;
}

.club-form-section {
  margin-bottom: 2rem;
}

.club-form-section-title {
  font-size: 1.15rem;
  color: #0097b2;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #0097b2;
}

.club-form .form-group {
  margin-bottom: 1.25rem;
}

.club-form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.club-form input,
.club-form select,
.club-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.club-form input:focus,
.club-form select:focus,
.club-form textarea:focus {
  outline: none;
  border-color: #0097b2;
  box-shadow: 0 0 0 2px rgba(0, 151, 178, 0.2);
}

.club-form textarea {
  resize: vertical;
  min-height: 80px;
}

.club-form-message {
  margin: 1rem 0;
  font-size: 0.95rem;
  min-height: 1.5em;
}

.club-form-submit {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background-color: #0097b2;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.club-form-submit:hover:not(:disabled) {
  background-color: #007b91;
  transform: translateY(-1px);
}

.club-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.add-club-cta {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background-color: #0097b2;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.add-club-cta:hover {
  background-color: #007b91;
  transform: translateY(-1px);
  color: #fff;
}

/* Clickable club card (link to club page) */
.club-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.75rem;
}

.club-card-link:hover .club-card {
  border-left-color: #007b91;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.club-card-view {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0097b2;
}

.club-card-link:hover .club-card-view {
  text-decoration: underline;
}

/* Club detail page (single club) */
.club-detail-back {
  margin-bottom: 1.5rem;
}

.club-detail-back-link {
  color: #0097b2;
  text-decoration: none;
  font-weight: 600;
}

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

.club-detail-wrapper {
  max-width: 640px;
}

.club-detail-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #0097b2;
}

.club-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.club-detail-logo {
  width: 120px;
  height: 120px;
  min-width: 120px;
  min-height: 120px;
  object-fit: contain;
  border-radius: 12px;
  background-color: #f5f5f5;
}

.club-detail-heading {
  flex: 1;
  min-width: 0;
}

.club-detail-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
}

.club-detail-meta {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

.club-detail-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
  white-space: pre-wrap;
}

.club-detail-website {
  margin-top: 1rem;
}

.club-detail-website-btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #0097b2;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.club-detail-website-btn:hover {
  background-color: #007b91;
  transform: translateY(-1px);
  color: #fff;
}

/* Club detail – non-member layout (matches app: About + Get in Touch + Join CTA, no rides/events) */
.club-detail-non-member .club-detail-header-centered {
  text-align: center;
  margin-bottom: 2rem;
}

.club-detail-non-member .club-detail-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.club-detail-non-member .club-detail-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  background-color: #f5f5f5;
}

.club-detail-logo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background-color: #e8f7f9;
  margin: 0 auto;
}

.club-detail-name-centered {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
}

.club-detail-category,
.club-detail-location {
  font-size: 1rem;
  color: #555;
  margin: 0 0 0.25rem 0;
}

.club-detail-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
}

.club-detail-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0097b2;
  margin: 0 0 0.5rem 0;
}

.club-detail-section-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  min-width: 0;
}

.club-detail-website-link {
  color: #0097b2;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  overflow-wrap: break-word;
}

.club-detail-website-link:hover {
  text-decoration: underline;
}

.club-detail-join-cta {
  background-color: #e8f7f9;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.club-detail-open-app-wrap {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.club-detail-open-app-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #0097b2;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.club-detail-open-app-btn:hover {
  background-color: #007b91;
  transform: translateY(-1px);
  color: #fff;
}

.club-detail-join-text {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #333;
  margin: 0 0 1.25rem 0;
  text-align: center;
}

.club-detail-app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.club-detail-app-buttons .club-detail-app-btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #0097b2;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.club-detail-app-buttons .club-detail-app-btn:hover {
  background-color: #007b91;
  transform: translateY(-1px);
  color: #fff;
}

@media (max-width: 480px) {
  .club-detail-open-app-wrap .club-detail-open-app-btn {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .club-detail-app-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .club-detail-app-buttons .club-detail-app-btn {
    text-align: center;
  }
}

.club-not-found {
  text-align: center;
  padding: 2rem 0;
}

.club-not-found p {
  color: #555;
  margin: 0.5rem 0;
}

/* Club dashboard (rides, requests, events) */
.club-dashboard {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

.club-dash-section {
  border-top: 1px solid #e8e8e8;
  padding-top: 1.25rem;
}

.club-dash-title {
  font-size: 1.2rem;
  color: #0097b2;
  font-weight: 600;
  margin-bottom: 1rem;
}

.club-dash-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.club-dash-item {
  padding: 1rem 1.25rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #0097b2;
}

.club-dash-item-dest {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.club-dash-item-meta {
  font-size: 0.9rem;
  color: #555;
}

.club-dash-item-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0.5rem 0 0;
  line-height: 1.4;
}

.club-dash-empty {
  color: #777;
  font-size: 0.95rem;
  margin: 0;
  font-style: italic;
}

.club-dash-cta {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #e8f7f9;
  border-radius: 8px;
  color: #0097b2;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
}

/* Clickable ride card (link to ride detail page) */
.ride-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.75rem;
}

.ride-card-link:hover .ride-card {
  border-left-color: #007b91;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ride-card .ride-card-view {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0097b2;
}

.ride-card-link:hover .ride-card-view {
  text-decoration: underline;
}

.club-dash-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.club-dash-item-link:hover .club-dash-item {
  border-left-color: #007b91;
  background-color: #f0f9fa;
}

.club-dash-item .ride-card-view {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0097b2;
}

/* Ride detail page */
.ride-detail-wrapper {
  max-width: 640px;
}

.ride-detail-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #0097b2;
}

.ride-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 1.25rem 0;
  line-height: 1.3;
}

.ride-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
}

.ride-detail-table td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  vertical-align: top;
}

.ride-detail-label {
  font-weight: 600;
  color: #555;
  width: 120px;
  padding-right: 0.25rem;
}

@media (min-width: 768px) {
  .ride-detail-table .ride-detail-label {
    white-space: nowrap;
    width: auto;
    min-width: 140px;
    padding-right: 0.25rem;
  }
}

.ride-detail-extra {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
}

.ride-detail-subtitle {
  font-size: 1rem;
  color: #0097b2;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ride-detail-extra p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  white-space: pre-wrap;
}

.ride-detail-cta {
  margin-top: 1.5rem;
  font-weight: 600;
  color: #333;
}

.ride-detail-open-app-cta {
  background-color: #e8f7f9;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.ride-detail-open-app-cta .ride-detail-buttons {
  margin-top: 0;
  justify-content: center;
}

.ride-detail-buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ride-detail-open-app-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #0097b2;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ride-detail-open-app-btn:hover {
  background-color: #007b91;
  transform: translateY(-1px);
  color: #fff;
}

.ride-detail-app-btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #0097b2;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

@media (max-width: 480px) {
  .ride-detail-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .ride-detail-open-app-btn {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .ride-detail-app-btn {
    display: block;
    text-align: center;
    min-width: 160px;
  }
}

.ride-detail-app-btn:hover {
  background-color: #007b91;
  transform: translateY(-1px);
  color: #fff;
}

/* SurfBus page */
.surfbus-container {
  max-width: 720px;
}

.surfbus-good-to-know--top {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.surfbus-info-notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.surfbus-info-icon {
  flex-shrink: 0;
  color: #0097b2;
  line-height: 0;
  margin-top: 0.1rem;
}

.surfbus-info-notice-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #333;
}

.surfbus-info-notice-text strong {
  font-weight: 600;
}

.surfbus-good-to-know {
  margin-top: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  border: 1px solid #e9ecef;
  padding: 1.15rem 1.25rem;
}

.surfbus-good-to-know-title {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0097b2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.surfbus-good-to-know-list {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #333;
}

.surfbus-good-to-know-list a {
  color: #0097b2;
}

.surfbus-disclaimer {
  margin-top: 1rem;
  padding: 0 0.2rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #666;
}

.surfbus-progress-card,
.surfbus-step-card {
  background: #fff;
  border-left: 4px solid #0097b2;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.surfbus-progress-title {
  margin: 0;
  color: #0097b2;
  font-weight: 600;
}

.surfbus-progress-count {
  margin: 0.25rem 0 0.75rem 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.surfbus-progress-bar-wrap {
  background: #e6f3f6;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.surfbus-progress-bar {
  height: 100%;
  width: 0;
  background: #0097b2;
  transition: width 0.25s ease;
}

.surfbus-progress-note {
  margin-top: 0.75rem;
  color: #444;
}

.surfbus-step-title {
  margin: 0;
  color: #0097b2;
  font-size: 1.15rem;
}

.surfbus-step-subtitle {
  margin: 0.35rem 0 1rem 0;
  color: #333;
}

.surfbus-step-helper {
  margin: -0.35rem 0 0.7rem 0;
  color: #555;
  font-size: 0.92rem;
}

.surfbus-slider-value {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  color: #333;
}

.surfbus-slider-wrap {
  margin-top: 0.25rem;
}

.surfbus-slider {
  width: 100%;
  accent-color: #0097b2;
}

.surfbus-slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #555;
}

.surfbus-form-error {
  min-height: 1.2rem;
  margin: 0.75rem 0 0 0;
  color: #c00;
  font-weight: 600;
}

.surfbus-consent-text {
  margin: 1rem 0 0.6rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #555;
}

.surfbus-step-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.surfbus-step-card .form-group {
  margin-bottom: 1.25rem;
}

.surfbus-step-card label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.surfbus-step-card input,
.surfbus-step-card textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.surfbus-step-card input:focus,
.surfbus-step-card textarea:focus {
  outline: none;
  border-color: #0097b2;
  box-shadow: 0 0 0 2px rgba(0, 151, 178, 0.2);
}

.surfbus-step-card textarea {
  resize: vertical;
  min-height: 96px;
}

.surfbus-secondary-btn {
  display: inline-block;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.1rem;
  border-radius: 50px;
  border: 1px solid #0097b2;
  color: #0097b2;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.surfbus-secondary-btn:hover {
  background: #f0fafd;
}

.surfbus-share-title {
  margin: 0.5rem 0;
  font-weight: 600;
}

.surfbus-share-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.surfbus-share-message {
  min-height: 1.2rem;
  margin-top: 0.75rem;
  color: #0097b2;
  font-weight: 600;
}

/* Shared Surf Bus-style feed cards (used on Surf Bus + My Account) */
.bus-ride-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bus-ride-date-header {
  margin: 0.15rem 0 -0.2rem;
  padding: 0 0.2rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0097b2;
  letter-spacing: 0.01em;
}

.bus-ride-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.bus-ride-card.fully-booked {
  background: #f8f8f8;
  border-color: #e0e0e0;
}

.bus-ride-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.bus-ride-card-link:hover .bus-ride-card {
  box-shadow: 0 4px 22px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}

.bus-ride-card {
  transition: box-shadow 0.15s, transform 0.15s, background 0.15s, border-color 0.15s;
}

.bus-ride-trip {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  align-items: flex-start;
}

.bus-ride-route-graphic {
  flex: 1;
  min-width: 0;
  padding-right: 0.25rem;
}

.bus-ride-loc {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.bus-ride-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #888;
  flex-shrink: 0;
}

.bus-ride-dot.dest { background: #0097b2; }
.bus-ride-card.fully-booked .bus-ride-dot { background: #999; }

.bus-ride-loc-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bus-ride-card.fully-booked .bus-ride-loc-text { color: #999; }

.bus-ride-line {
  width: 2px;
  height: 18px;
  background: #E5E5EA;
  margin: 0.35rem 0 0.35rem 4px;
}
.bus-ride-card.fully-booked .bus-ride-line { background: #e0e0e0; }

.bus-ride-price {
  width: 94px;
  flex-shrink: 0;
  text-align: center;
  padding-top: 0.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.bus-ride-price-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0097b2;
  line-height: 1.1;
}
.bus-ride-card.fully-booked .bus-ride-price-text { color: #999; }

.bus-ride-sep {
  height: 1px;
  background: #e0e0e0;
  margin: 0 1.25rem;
}

.bus-ride-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 1.1rem;
  flex-wrap: wrap;
}

.bus-ride-footer-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1;
}

.bus-ride-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex-shrink: 0;
  background: #e8f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(0,151,178,0.25);
}
.bus-ride-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bus-ride-avatar .initials {
  font-weight: 700;
  color: #0097b2;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.bus-ride-card.fully-booked .bus-ride-avatar { opacity: 0.65; }

.bus-ride-bus-icon {
  font-size: 1.25rem;
  color: #0097b2;
  line-height: 1;
  flex-shrink: 0;
}
.bus-ride-card.fully-booked .bus-ride-bus-icon { color: #999; }

.bus-ride-host {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.bus-ride-host-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #11181C;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.bus-ride-host-sub {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.1;
}
.bus-ride-card.fully-booked .bus-ride-host-name,
.bus-ride-card.fully-booked .bus-ride-host-sub { color: #999; }

.bus-ride-footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-book {
  padding: 0.6rem 1.4rem;
  background: #0097b2;
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-book:hover { background: #007a90; }
.btn-book.full { background: #ccc; cursor: default; pointer-events: none; }
.btn-book.secondary { background: #fff; color: #0097b2; border: 1.5px solid #0097b2; }
.btn-book.secondary:hover { background: #f0fafc; }

@media (max-width: 420px) {
  .bus-ride-trip { padding: 1rem 1rem; }
  .bus-ride-footer { padding: 0.95rem 1rem 1.05rem; }
  .bus-ride-sep { margin: 0 1rem; }
  .bus-ride-price { width: 86px; }
}
