:root {
  --green: #008a00;
  --orange: #ff981f;
  --blue: #1a96f0;
  --light-gray: #e9edeb;
  --white: #ffffff;
  --text: #333;
  --bg-gray: #f8f9fa;
}

body {
  font-family: "Urbanist", sans-serif;
  color: var(--text);
  margin: 0;
  padding: 0;
}
.community-step-card-caption {
  padding: 1rem 0.5rem 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--orange);
  position: relative;
  z-index: 2;
}
.green-text {
  color: var(--green);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
}

.btn-green {
  background: var(--green);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-green:hover {
  background: #006e00;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-orange:hover {
  background: #e58a1a;
}

.btn-white {
  background: var(--white);
  color: #333;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-white:hover {
  background: #f0f0f0;
}

/* HERO SECTION */
.inapp-hero-section {
  padding: 4rem 0;
  overflow: hidden;
}
.inapp-hero-content {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3rem;
}
.inapp-hero-left {
  width: 100%;
}
.inapp-hero-right {
  width: 100%;
  text-align: center;
}
.inapp-hero-right img {
  max-width: 100%;
  height: auto;
}
.black-text {
  color: #333;
}

.inapp-hero-heading {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
  text-align: left;
  margin-bottom: 1.5rem;
}
.inapp-hero-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.inapp-hero-highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 2rem;
}
.smarter-left h2,
.custom-left h2 {
  color: var(--green);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.smarter-left p,
.custom-left p {
  color: var(--text);
  font-weight: 700;
  margin: auto;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .community-step-card-caption {
    font-size: 1rem;
    padding: 1rem 0;
  }

  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .community-step-card-caption {
    font-size: 1rem;
    padding: 1rem 0;
  }
  .inapp-hero-content {
    flex-direction: row;
  }
  .inapp-hero-left {
    width: 50%;
  }
  .inapp-hero-right {
    width: 50%;
  }
  .inapp-hero-heading {
    font-size: 3.5rem;
    text-align: left;
  }
}

/* RIDE OR DRIVE SECTION */
.ride-drive-section {
  padding: 4rem 0;
}
.ride-drive-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
.ride-drive-left {
  width: 100%;
}
.ride-drive-right {
  width: 100%;
}

.ride-drive-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ride-drive-images img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .ride-drive-content {
    flex-direction: row;
  }
  .ride-drive-left {
    width: 50%;
  }
  .ride-drive-right {
    width: 50%;
  }
}

/* PLAN MATCH RIDE SECTION */
.plan-match-section {
  padding: 4rem 0;
  background-color: var(--bg-gray);
}
.plan-match-header {
  text-align: center;
  margin-bottom: 3rem;
}
.plan-match-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.feature-phone-card {
  text-align: center;
  background: transparent;
}
.phone-mockup {
  margin-bottom: 1.5rem;
}
.phone-mockup img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.feature-phone-card h3 {
  color: var(--orange);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.feature-phone-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .plan-match-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .plan-match-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* SMARTER PLANNING SECTION */
.smarter-planning-section {
  padding: 4rem 0;
}
.smarter-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
.smarter-left {
  width: 100%;
}
.smarter-right {
  width: 100%;
}
.smarter-right img {
  width: 100%;
  border-radius: 16px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-gray);
  padding: 1rem;
  border-radius: 8px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon img {
  width: 100%;
}

.feature-info h4 {
  color: var(--green);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.feature-info p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
  color: #444;
}

@media (min-width: 992px) {
  .smarter-content {
    flex-direction: row;
  }
  .smarter-left {
    width: 45%;
  }
  .smarter-right {
    width: 55%;
  }
}

/* STAY CONNECTED SECTION */
.stay-connected-section {
  padding: 4rem 1rem 8rem;
  background-color: #f8f8f8;
  border-radius: 16px;
  margin: 0 1rem;
}
.connected-header {
  text-align: center;
  margin-bottom: 2rem;
}
.connected-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 900px; /* Limit width for 2 items to look centered/better */
}
.connected-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  padding: 0;
}
.connected-phone {
  background-color: #d7d7d7;
  border-radius: 16px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
  padding-top: 1.5rem;
}
.connected-phone img {
  width: 75%;
  height: auto;
  position: relative;
  z-index: 1;
}
.connected-card h3 {
  padding: 1rem 0.5rem 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--orange);
  position: relative;
  z-index: 2;
  margin-bottom: 0.5rem;
}
.connected-card p {
  color: #333;
  line-height: 1.5;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .stay-connected-section {
    padding: 4rem 2rem 6rem;
    margin: 0 2rem;
  }
  .connected-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .connected-phone {
    height: 320px;
    padding-top: 2rem;
  }
  .connected-card h3 {
    font-size: 1.2rem;
    padding-top: 1.5rem;
  }
}

@media (min-width: 992px) {
  .stay-connected-section {
    padding: 4rem 3rem 6rem;
    margin: 0 auto;
    max-width: 1400px; /* Match container max-width roughly */
  }
  .stay-connected-section .section-title {
    font-size: 3.5rem;
  }
  .connected-grid {
    gap: 5rem;
  }
  .connected-phone {
    overflow: hidden;
  }
  .connected-card h3 {
    font-size: 1.5rem;
    padding-top: 2rem;
  }
}

/* SAFETY SECTION */
.safety-travels-section {
  padding: 4rem 0;
}
.safety-content {
  display: flex;
  flex-direction: column-reverse;
  gap: 3rem;
  align-items: center;
}
.safety-left {
  width: 100%;
}
.safety-left img {
  width: 100%;
  border-radius: 16px;
}
.safety-right {
  width: 100%;
}

@media (min-width: 992px) {
  .safety-content {
    flex-direction: row;
  }
  .safety-left {
    width: 45%;
  }
  .safety-right {
    width: 55%;
  }
}

/* CUSTOM THEME SECTION */
.custom-theme-section {
  padding: 4rem 0;
}
.custom-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
.custom-left {
  width: 100%;
}
.simple-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.simple-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--bg-gray);
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  color: #333;
}
.simple-item img {
  width: 24px;
}

.custom-right {
  width: 100%;
}

/* Theme Carousel */
.theme-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.theme-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.theme-slide {
  min-width: 100%;
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.theme-slide img {
  width: 45%;
  max-width: 200px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.theme-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.theme-dot.active {
  background: var(--green);
}

.theme-dot:hover {
  background: var(--orange);
}

@media (min-width: 992px) {
  .custom-content {
    flex-direction: row;
  }
  .custom-left {
    width: 45%;
  }
  .custom-right {
    width: 55%;
  }
  .theme-slide img {
    max-width: 250px;
  }
}

/* DAILY RIDES SECTION */
.daily-rides-section {
  padding: 4rem 0;
  background: var(--bg-gray);
  text-align: center;
}
.daily-header {
  margin-bottom: 3rem;
}
.daily-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.daily-card {
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease; /* Animate all props */
}
.daily-card:hover {
  transform: translateY(-5px);
}

.gray-bg {
  background: #e9e9e9;
}
.gray-bg:hover {
  background: var(--green);
}

/* Change text to white on hover */
.gray-bg:hover h4 {
  color: var(--white);
}

.green-bg {
  background: var(--green);
  color: var(--white);
}

.daily-icon {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.daily-icon img {
  width: 100%;
  height: 100%;
}

.daily-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: inherit;
}
/* For grey cards specifically to match design */
.gray-bg h4 {
  color: #333;
}

.daily-footer-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

@media (min-width: 768px) {
  .daily-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .daily-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* FOOTER CTA SECTION */
.inapp-cta-section {
  padding: 4rem 0;
}
.cta-box-green {
  background: var(--green);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}
.cta-box-green h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-box-green p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
