/* Shared CityRyde header and footer — synchronized from index.html. */
.tp-header-logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(20px);
}

.tp-header-logo-main,
.tp-header-logo-scrolled {
  display: block;
  width: 82px;
  height: 70px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  mix-blend-mode: multiply;
}

.tp-header-logo-scrolled { display: none; }
#header-sticky.header-sticky .tp-header-logo-main { display: none; }
#header-sticky.header-sticky .tp-header-logo-scrolled { display: block; }

.download-app-menu { margin-left: 18px !important; }
.download-app-menu > a {
  padding: 12px 18px !important;
  border-radius: 999px;
  color: #ffffff !important;
  background: #0b6ba3;
  transition: background-color 0.2s ease;
}
.download-app-menu > a:hover { background: #10b963; }

.tp-header-menu {
  display: flex;
  justify-content: center;
  width: 100%;
}
.tp-header-menu > nav { width: 100%; }

@media (max-width: 1199px) {
  #header-sticky.header-sticky .tp-header-logo-scrolled {
    width: auto !important;
    max-width: 86px;
    height: 64px !important;
    object-fit: contain;
  }
  .cityryde-mobile-menu-nav .download-app-menu {
    margin-left: 0 !important;
    text-align: center;
  }
  .cityryde-mobile-menu-nav .download-app-menu > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: fit-content !important;
    min-height: 48px;
    margin: 12px auto 0;
    padding: 12px 28px !important;
    line-height: 1.2;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .tp-header-area .container > .row { position: relative; }
  .tp-header-area .container > .row > .col-xxl-5 { position: static; }
  .tp-header-area .tp-header-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max-content;
    transform: translate(-50%, -50%);
  }
  .tp-header-menu > nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    margin-bottom: 0;
    padding-left: 0;
    text-align: center;
    white-space: nowrap;
  }
  .tp-header-menu > nav > ul > li {
    flex: 0 0 auto;
    margin: 0 12px;
  }
  .tp-header-menu > nav > ul > li > a { font-size: 18px; }
}

.cityryde-unified-footer .tp-footer-area { padding-top: 45px !important; }
.cityryde-unified-footer .tp-footer-widget-wrap .tp-footer-widget { margin-bottom: 20px !important; }
.cityryde-footer-app-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cityryde-footer-app-section .tp-footer-widget-title { margin-bottom: 4px; }
.cityryde-footer-app-section img {
  display: block;
  width: 150px;
  height: auto;
  border: 1px solid rgba(11, 107, 163, 0.25);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.cityryde-unified-footer .tp-footer-widget-social { margin-left: 20px; }
.cityryde-unified-footer .tp-footer-widget-social a svg,
.cityryde-unified-footer .tp-footer-widget-social .cityryde-social-icon {
  display: block;
  width: 30px;
  height: 30px;
}
.cityryde-unified-footer .tp-footer-widget-wrap > .row { --bs-gutter-x: 18px; }

/* The sketch logo belongs to the sticky header only. Hide any legacy footer
   instance so it cannot overlap the Support column on older page markup. */
.cityryde-unified-footer .cityryde-footer-sketch-logo {
  display: none !important;
}

.cityryde-unified-footer .tp-footer-widget-wrap > .row > :nth-child(6) {
  position: relative;
  z-index: 2;
  visibility: visible;
  opacity: 1;
}

.cityryde-unified-footer .cityryde-footer-copyright-row {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  clear: both;
  border-top: 1px solid rgba(18, 50, 71, 0.22);
  box-sizing: border-box;
  transform: none !important;
  float: none !important;
}
.cityryde-unified-footer .cityryde-footer-copyright {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 20px 0 24px;
  color: #123247;
  font-size: 13px;
  line-height: 1.45;
  text-align: center !important;
  transform: none !important;
  float: none !important;
}
.cityryde-unified-footer .cityryde-footer-copyright a { color: inherit; }

@media (min-width: 768px) {
  .cityryde-unified-footer .cityryde-footer-copyright { white-space: nowrap; }
}
@media (min-width: 992px) {
  .cityryde-unified-footer .cityryde-footer-copyright { text-align: left !important; }
}
@media (min-width: 1200px) {
  .cityryde-unified-footer .tp-footer-widget-wrap > .row > [class*="col-xl-"] {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .cityryde-unified-footer .tp-footer-widget-wrap > .row > .col-xl-3:nth-child(2),
  .cityryde-unified-footer .tp-footer-widget-wrap > .row > .col-xl-3:nth-child(3),
  .cityryde-unified-footer .tp-footer-widget-wrap > .row > .col-xl-3:nth-child(4) {
    transform: translateX(30px);
  }
}
@media (max-width: 767px) {
  .cityryde-unified-footer .tp-footer-widget-wrap,
  .cityryde-unified-footer .tp-footer-widget { border-bottom: 0 !important; }
}

/* Display page content immediately at every viewport size. This is also a
   no-JavaScript safeguard for elements that formerly used delayed fade-ins. */
html body .tp-fade-anim {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation-delay: 0s !important;
  transition-delay: 0s !important;
}

html body #loading {
  display: none !important;
}

/* Site-wide content-copy deterrents. Form controls remain selectable so Rider
   and Sarathi contact, OTP and account workflows continue to work normally. */
.cityryde-content-protected body,
.cityryde-content-protected body :not(input):not(textarea):not(select):not(option):not([contenteditable="true"]):not([data-cityryde-copy-allowed]) {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.cityryde-content-protected input,
.cityryde-content-protected textarea,
.cityryde-content-protected select,
.cityryde-content-protected option,
.cityryde-content-protected [contenteditable="true"],
.cityryde-content-protected [data-cityryde-copy-allowed] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

.cityryde-content-protected img,
.cityryde-content-protected picture,
.cityryde-content-protected svg {
  -webkit-user-drag: none;
  user-drag: none;
}
/* Hide both legacy and current Google Translate banners without disabling translation. */
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe[class*="VIpgJd-ZVi9od-ORHb"],
[class*="VIpgJd-ZVi9od-ORHb-OEVmcd"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
}

html { margin-top: 0 !important; }
body { top: 0 !important; }
