/* Cityryde responsive foundation: shared header, navigation, footer and spacing. */
:root {
  --cityryde-blue: #0b6ba3;
  --cityryde-green: #10b963;
  --cityryde-cream: #f4f1eb;
  --cityryde-ink: #222f30;
}

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.cityryde-language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--cityryde-blue);
}

.tp-header-menu .cityryde-language-picker {
  margin: 0 0 0 8px;
  list-style: none;
}

.cityryde-language-select {
  min-width: 122px;
  height: 42px;
  padding: 0 28px 0 16px;
  border: 1px solid rgba(11, 107, 163, 0.5);
  border-radius: 999px;
  outline: 0;
  color: var(--cityryde-blue);
  background: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.cityryde-language-select:hover,
.cityryde-language-select:focus-visible {
  border-color: var(--cityryde-green);
  color: var(--cityryde-green);
}

.cityryde-language-picker--mobile {
  display: none;
  margin-left: 10px;
}

.cityryde-language-picker--desktop {
  display: inline-flex;
}

.cityryde-language-picker--mobile .cityryde-language-select {
  min-width: 104px;
  height: 36px;
  padding-left: 14px;
  font-size: 12px;
}

/* Keep the Google engine available but unobtrusive. */
#google_translate_element,
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Shared footer source: index.html. */
.cityryde-unified-footer .tp-footer-area {
  position: relative;
}

.cityryde-unified-footer .tp-footer-widget-wrap {
  position: relative;
  padding-top: 78px;
}

.cityryde-unified-footer .tp-footer-widget-wrap > .row {
  --bs-gutter-x: 18px;
}

.cityryde-unified-footer .cityryde-footer-app-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.cityryde-unified-footer .cityryde-footer-app-section .tp-footer-widget-title {
  margin-bottom: 4px;
}

.cityryde-unified-footer .cityryde-footer-app-section img.cityryde-store-badge-transparent {
  display: block;
  width: 170px;
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cityryde-unified-footer .cityryde-footer-app-section .cityryde-footer-app-icon {
  display: block;
  width: 126px;
  height: 126px;
  margin: 2px auto 8px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 14px 26px rgba(34, 47, 48, 0.28);
}

.cityryde-unified-footer .footer-col-6-1 {
  position: static;
  text-align: right;
}

.cityryde-unified-footer .tp-footer-widget-social {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(34, 47, 48, 0.18);
  transform: translateX(-50%);
}

.cityryde-unified-footer .tp-footer-widget-social a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.cityryde-unified-footer .tp-footer-widget-social a svg,
.cityryde-unified-footer .tp-footer-widget-social .cityryde-social-icon {
  display: block;
  width: 38px;
  height: 38px;
}

.cityryde-unified-footer .cityryde-footer-sketch-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 0 0 16px auto;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.cityryde-unified-footer .cityryde-footer-copyright {
  max-width: 260px;
  margin: 0 0 0 auto;
  color: #123247;
  font-size: 13px;
  line-height: 1.45;
}

.cityryde-unified-footer .cityryde-footer-copyright a {
  color: inherit;
}

@media (min-width: 1200px) {
  .cityryde-unified-footer .tp-footer-widget-wrap > .row > :first-child {
    order: 10;
  }

  .cityryde-unified-footer .tp-footer-widget-wrap > .row > [class*="col-xl-"] {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.cityryde-mobile-menu-column,
.cityryde-mobile-drawer {
  display: none;
}

@media (max-width: 1199px) {
  .tp-header-height {
    height: auto !important;
  }

  .tp-header-area {
    padding: 4px 0;
  }

  .tp-header-area .container > .row {
    min-height: 72px;
  }

  .tp-header-left-side {
    padding: 0 !important;
  }

  .tp-header-logo-group {
    margin-left: 0 !important;
    display: flex;
    align-items: center;
    height: 64px;
  }

  .tp-header-logo-main {
    display: block;
    width: auto !important;
    max-width: 86px;
    height: 64px !important;
    object-fit: contain;
  }

  .cityryde-language-picker--mobile {
    display: inline-flex;
  }

  .cityryde-language-picker--desktop {
    display: none !important;
  }

  .cityryde-unified-footer .tp-footer-widget-wrap {
    padding-top: 76px;
  }

  .cityryde-unified-footer .tp-footer-widget-wrap > .row > :first-child {
    order: 10;
  }

  .cityryde-unified-footer .footer-col-6-1 {
    text-align: center;
  }

  .cityryde-unified-footer .tp-footer-widget-social {
    position: absolute;
    top: 0;
    left: 50%;
    margin: 0;
    padding-bottom: 0;
    border-bottom: 0;
    transform: translateX(-50%);
  }

  .cityryde-unified-footer .cityryde-footer-sketch-logo {
    margin-right: auto;
  }

  .cityryde-unified-footer .cityryde-footer-copyright {
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(34, 47, 48, 0.18);
    text-align: center;
  }

  .cityryde-mobile-menu-column {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .cityryde-mobile-menu-toggle,
  .cityryde-mobile-menu-close {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(11, 107, 163, 0.32);
    border-radius: 8px;
    color: var(--cityryde-blue);
    background: #fff;
    cursor: pointer;
  }

  .cityryde-mobile-menu-toggle:hover,
  .cityryde-mobile-menu-toggle:focus-visible,
  .cityryde-mobile-menu-close:hover,
  .cityryde-mobile-menu-close:focus-visible {
    color: #fff;
    background: var(--cityryde-blue);
    border-color: var(--cityryde-blue);
  }

  .cityryde-mobile-menu-toggle-icon,
  .cityryde-mobile-menu-toggle-icon::before,
  .cityryde-mobile-menu-toggle-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
  }

  .cityryde-mobile-menu-toggle-icon {
    position: relative;
  }

  .cityryde-mobile-menu-toggle-icon::before,
  .cityryde-mobile-menu-toggle-icon::after {
    position: absolute;
    left: 0;
  }

  .cityryde-mobile-menu-toggle-icon::before { top: -7px; }
  .cityryde-mobile-menu-toggle-icon::after { top: 7px; }

  .cityryde-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: block;
    visibility: hidden;
    pointer-events: none;
  }

  .cityryde-mobile-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .cityryde-mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(19, 28, 30, 0.5);
    transition: opacity 220ms ease;
  }

  .cityryde-mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(88vw, 380px);
    height: 100%;
    padding: 20px 22px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    background: #fff;
    box-shadow: -12px 0 36px rgba(0, 0, 0, 0.18);
    transition: transform 250ms ease;
  }

  .cityryde-mobile-drawer.is-open .cityryde-mobile-menu-backdrop { opacity: 1; }
  .cityryde-mobile-drawer.is-open .cityryde-mobile-menu-panel { transform: translateX(0); }

  .cityryde-mobile-menu-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(34, 47, 48, 0.14);
    color: var(--cityryde-ink);
    font-size: 18px;
    font-weight: 700;
  }

  .cityryde-mobile-menu-close {
    width: 42px;
    height: 42px;
  }

  .cityryde-mobile-menu-close::before,
  .cityryde-mobile-menu-close::after {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
  }

  .cityryde-mobile-menu-close { position: relative; }
  .cityryde-mobile-menu-close::before { transform: rotate(45deg); }
  .cityryde-mobile-menu-close::after { transform: rotate(-45deg); }

  .cityryde-mobile-menu-nav {
    padding: 14px 0 0;
  }

  .cityryde-mobile-menu-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .cityryde-mobile-menu-nav li { margin: 0; }

  .cityryde-mobile-menu-nav a {
    display: block;
    min-height: 48px;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(34, 47, 48, 0.1);
    color: var(--cityryde-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
  }

  .cityryde-mobile-menu-nav a:hover,
  .cityryde-mobile-menu-nav a:focus-visible {
    color: var(--cityryde-green);
  }

  .cityryde-mobile-menu-tagline {
    margin: 22px 0 0;
    padding: 20px 2px 0;
    border-top: 1px solid rgba(34, 47, 48, 0.16);
    color: var(--cityryde-blue);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
  }

  body.cityryde-mobile-menu-open { overflow: hidden; }
}

@media (max-width: 991px) {
  .container,
  .container-fluid {
    padding-right: 20px;
    padding-left: 20px;
  }

  main .tp-sec-ptb {
    padding-top: 56px !important;
    padding-bottom: 48px !important;
  }

  .tp-footer-area {
    padding-top: 56px !important;
  }

  .tp-footer-widget {
    margin-bottom: 38px !important;
  }

  .tp-footer-copyright-area {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 767px) {
  /* Shared phone rhythm: one gutter and one section cadence across every page. */
  .container,
  .container-fluid,
  .container-1800 {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  main {
    overflow: hidden;
  }

  .cityryde-unified-footer .tp-footer-widget-wrap > .row > .col-md-4:nth-last-child(-n + 2) {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }

  /* Keep the shared footer sections clearly separated on phones. */
  .cityryde-unified-footer .tp-footer-widget-social {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(34, 47, 48, 0.18);
  }

  .cityryde-unified-footer .cityryde-footer-copyright {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .cityryde-unified-footer .tp-footer-widget-wrap > .row > .col-md-4:nth-last-child(-n + 2) .tp-footer-widget {
    margin-bottom: 20px !important;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(34, 47, 48, 0.18);
  }

  .cityryde-unified-footer .cityryde-footer-app-section > a {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .cityryde-unified-footer .cityryde-footer-app-section img.cityryde-store-badge-transparent {
    width: min(100%, 150px);
  }

  .cityryde-unified-footer .cityryde-footer-app-section > a:last-child {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(34, 47, 48, 0.18);
  }

  main .row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
  }

  /* On phones, introduce each paired section with its illustration. */
  main .tp-fi-about-ptb > .container > .row > [class*="col-"]:has(.tp-fi-about-thumb-wrap),
  main .tp-cn-industries-ptb > .container > .row > [class*="col-"]:has(.tp-cn-industries-thumb) {
    order: 1;
  }

  main .tp-fi-about-ptb > .container > .row > [class*="col-"]:has(.tp-fi-about-content),
  main .tp-cn-industries-ptb > .container > .row > [class*="col-"]:has(.tp-cn-industries-wrapper) {
    order: 2;
  }

  /* Paired image-and-copy sections: keep one intentional mobile gap only. */
  main .tp-fi-about-ptb > .container > .row,
  main .tp-cn-industries-ptb > .container > .row,
  main .tp-fi-faq-ptb > .container > .row {
    --bs-gutter-y: 20px;
  }

  main .tp-fi-about-ptb .tp-fi-about-content,
  main .tp-fi-about-ptb .tp-fi-about-thumb-wrap,
  main .tp-cn-industries-ptb .tp-cn-industries-wrapper,
  main .tp-cn-industries-ptb .tp-cn-industries-thumb,
  main .tp-fi-faq-ptb .tp-fi-faq-wrapper,
  main .tp-fi-faq-ptb .tp-fi-faq-support {
    margin-bottom: 0 !important;
  }

  main .tp-fi-about-ptb .tp-fi-about-content,
  main .tp-cn-industries-ptb .tp-cn-industries-wrapper,
  main .tp-fi-faq-ptb .tp-fi-faq-wrapper {
    padding-left: 0 !important;
  }

  /* Riders page: copied image-and-text blocks need a tighter, even cadence. */
  .cityryde-riders-page main .tp-fi-about-ptb {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .cityryde-riders-page main .tp-fi-about-ptb + .tp-fi-about-ptb {
    padding-top: 12px !important;
  }

  .cityryde-riders-page main .tp-fi-about-ptb > .container > .row {
    --bs-gutter-y: 12px;
  }

  .cityryde-riders-page main img.cityryde-peak-hours-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    clip-path: none !important;
  }

  .cityryde-riders-page main .tp-fi-about-thumb-wrap,
  .cityryde-riders-page main .cityryde-about-image-wrap {
    height: auto !important;
    min-height: 0 !important;
  }

  .cityryde-riders-page main .tp-fi-about-content p:last-child,
  .cityryde-riders-page main .tp-fi-about-content .tp-fade-anim:last-child p {
    margin-bottom: 0 !important;
  }

  .cityryde-riders-page main .tp-fi-faq-ptb {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  main > [class*="-ptb"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  main .tp-fi-banner-ptb,
  main .tp-fa-cta-ptb {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  main .mb-90,
  main .mb-80,
  main .mb-70,
  main .mb-60,
  main .mb-50,
  main .mb-40,
  main .mb-30 {
    margin-bottom: 20px !important;
  }

  main .mb-25,
  main .mb-20,
  main .mb-15 {
    margin-bottom: 14px !important;
  }

  /* Let illustrations keep their complete composition on phone screens. */
  main img {
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    clip-path: none !important;
  }

  .cityryde-hyderabad-banner,
  .cityryde-locations-banner,
  .cityryde-about-banner {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .cityryde-hyderabad-banner .tp-fa-cta-thumb,
  .cityryde-locations-banner .tp-fa-cta-thumb {
    height: auto !important;
  }

  .cityryde-hyderabad-banner img,
  .cityryde-locations-banner img,
  .cityryde-about-banner img {
    display: block;
    width: 100%;
    height: auto !important;
  }

  /* Banners become image-first on mobile so neither the artwork nor its copy is cut off. */
  .tp-fi-banner-wrapper {
    height: auto !important;
    overflow: visible !important;
  }

  .tp-fi-banner-wrapper > img {
    display: block;
    width: 100%;
    height: auto !important;
  }

  .tp-fi-banner-content {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    margin: 12px 18px 0 !important;
    padding: 18px !important;
    transform: none !important;
  }

  .tp-fi-banner-content .tp-fi-banner-title,
  .tp-fi-banner-title {
    font-size: 26px !important;
    line-height: 1.18;
  }

  .tp-cn-success-item,
  .tp-cn-success-item-2 {
    height: auto !important;
    min-height: 360px !important;
    background-color: var(--cityryde-cream);
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }

  /* Compact phone typography without affecting the desktop scale. */
  body,
  main p,
  main li {
    font-size: 15px !important;
    line-height: 1.55;
  }

  main .tp-section-title {
    font-size: 32px !important;
    line-height: 1.18;
  }

  main .tp-section-title.fs-36 {
    font-size: 30px !important;
  }

  main .tp-section-title.fs-32 {
    font-size: 28px !important;
  }

  main h1:not(.tp-section-title) {
    font-size: clamp(30px, 8vw, 36px) !important;
    line-height: 1.14;
  }

  main .tp-fi-service-item-title,
  main .tp-fa-service-item-title,
  main .tp-team-details-exp-title,
  main .tp-career-details-title,
  main .tp-press-release-title {
    font-size: 21px !important;
    line-height: 1.24;
  }

  main .tp-fi-faq-support-title,
  main .tp-cn-success-item-title {
    font-size: 25px !important;
    line-height: 1.2;
  }

  main .tp-sec-ptb {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .tp-section-title,
  .tp-section-title-2,
  .tp-section-title-3 {
    line-height: 1.15;
  }

  .tp-footer-area {
    padding-top: 40px !important;
    padding-bottom: 28px;
  }

  .tp-footer-widget {
    margin-bottom: 30px !important;
  }

  .tp-footer-widget-title {
    margin-bottom: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
