/*
Theme Name: Hello Elementor Child - Taxi Billing App
Theme URI: https://taxibillingapp.in
Description: Child theme of Hello Elementor with the custom Taxi Billing App header and footer.
Author: Himanshu
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* =====================================================================
   HEADER CSS
===================================================================== */

/* ===============================
   ROOT VARIABLES
================================ */
:root {
  --tba-dark: #0b132b;
  --tba-navy: #111827;
  --tba-border: #1f2937;
  --tba-red: #e93333;
  --tba-red-hover: #c92424;
  --tba-text-light: #f9fafb;
  --tba-text-gray: #cbd5e1;
  --tba-gold: #fbbf24;
  --tba-telegram: #229ED9;
}

/* Headings – Plus Jakarta Sans */
h1, h2, h3, h4, h5, h6, .tba-app-name, .tba-red-accent, .tba-yellow-highlight  {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Body – Inter */
body, p, li, span, a, button, input, textarea, select {
    font-family: 'Inter', sans-serif !important;
}
/* ===============================
   HEADER WRAPPER
================================ */
.tba-header-wrapper {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* ===============================
   TOP PROMO BAR
================================ */
.tba-topbar {
  background-color: var(--tba-dark);
  color: var(--tba-text-gray);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
}

.tba-topbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tba-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tba-topbar-left strong {
  color: #ffffff;
}

.tba-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  flex-shrink: 0;
}

.tba-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tba-trust-tag {
  white-space: nowrap;
}

.tba-divider {
  opacity: 0.3;
}

.tba-plan-highlight {
  color: var(--tba-gold) !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: opacity 0.2s;
}

.tba-plan-highlight:hover {
  opacity: 0.85;
}

/* ===============================
   MAIN HEADER
================================ */
.tba-main-header {
  background-color: var(--tba-navy);
  border-bottom: 1px solid var(--tba-border);
  position: relative;
}

.tba-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

/* ===============================
   BRAND & LOGO
================================ */
.tba-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}


.tba-custom-logo {
  height: 46px;
  width: auto;
  max-height: 46px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}

.tba-brand-info {
  display: flex;
  flex-direction: column;
}

.tba-app-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tba-text-light);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.tba-app-creator {
  font-size: 0.72rem;
  color: var(--tba-gold);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ===============================
   NAVIGATION LINKS
================================ */
.tba-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.tba-nav-link {
  color: var(--tba-text-gray) !important;
  text-decoration: none !important;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}

.tba-nav-link:hover {
  color: #ffffff !important;
}

.tba-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--tba-red);
  transition: width 0.25s ease;
}

/* ===============================
   NATIVE <DETAILS> DROPDOWN
================================ */
.tba-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

/* Remove default browser triangle marker */
.tba-dropdown > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  outline: none;
  user-select: none;
}

.tba-dropdown > summary::-webkit-details-marker {
  display: none;
}

.tba-chevron-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.tba-dropdown[open] .tba-chevron-icon {
  transform: rotate(180deg);
}

.tba-dropdown-item {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: #334155 !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

/* DESKTOP DROPDOWN BEHAVIOR (>= 993px) */
@media (min-width: 993px) {
  .tba-nav-link:hover::after {
    width: 100%;
  }

  .tba-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0;
    z-index: 999;
  }

  /* Also allow hover on desktop even if not clicked */
  .tba-dropdown:hover .tba-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .tba-dropdown:hover .tba-chevron-icon {
    transform: rotate(180deg);
  }

  .tba-dropdown-item:hover {
    background-color: #f1f5f9;
    color: #e93333 !important;
  }
}

/* ===============================
   DESKTOP CTA BUTTONS
================================ */
.tba-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.tba-btn-login {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--tba-text-light) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid #374151;
  background-color: rgba(255, 255, 255, 0.03);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.tba-btn-login::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--tba-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: -1;
}

.tba-btn-login:hover::before {
  transform: scaleX(1);
}

.tba-btn-login:hover {
  color: #ffffff !important;
  border-color: var(--tba-red);
}

.tba-btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #ffffff !important;
  background: rgba(34, 158, 217, 0.10);
  border: 1px solid rgba(34, 158, 217, 0.5);
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tba-btn-telegram:hover {
  background: rgba(34, 158, 217, 0.2);
  border-color: var(--tba-telegram);
  color: #ffffff !important;
}

.tba-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--tba-red);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 1.15rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(233, 51, 51, 0.35);
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.tba-btn-primary:hover {
  background-color: var(--tba-red-hover);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.tba-btn-primary svg {
  width: 16px;
  height: 16px;
}

/* ===============================
   TELEGRAM SVG ICON
================================ */
.tba-telegram-icon {
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  fill: var(--tba-telegram);
}

/* ===============================
   PURE CSS MOBILE CHECKBOX & HAMBURGER
================================ */
.tba-menu-checkbox {
  display: none !important;
}

.tba-mobile-actions {
  display: none;
}

.tba-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin: 0;
  user-select: none;
}

.tba-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--tba-text-light);
  border-radius: 2px;
  transition: 0.25s ease;
}

/* Animate Hamburger into 'X' when Checked */
.tba-menu-checkbox:checked + .tba-hamburger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.tba-menu-checkbox:checked + .tba-hamburger span:nth-child(2) {
  opacity: 0;
}

.tba-menu-checkbox:checked + .tba-hamburger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===============================
   TABLET & MOBILE (<= 992px)
================================ */
@media (max-width: 992px) {

  .tba-topbar-right {
    display: none;
  }

  .tba-topbar-container {
    justify-content: center;
    text-align: center;
  }

  .tba-actions {
    display: none;
  }

  .tba-hamburger {
    display: flex;
  }

  .tba-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--tba-navy);
    border-bottom: 2px solid var(--tba-red);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.45);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  /* Pure CSS Open Drawer when Checkbox is Checked (Or if old JS adds .active) */
  .tba-menu-checkbox:checked ~ .tba-nav,
  .tba-nav.active {
    display: flex;
  }

  .tba-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.02rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .tba-nav-link::after {
    display: none;
  }

  /* Mobile Click-Only <details> Dropdown */
  .tba-dropdown {
    display: block;
    width: 100%;
  }

  .tba-dropdown > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .tba-dropdown-menu {
    position: static;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.35rem 0;
    margin: 0.35rem 0 0.5rem;
  }

  .tba-dropdown-item {
    padding: 0.65rem 1rem;
    font-size: 0.94rem;
    color: #e2e8f0 !important;
  }

  .tba-dropdown-item:active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
  }

  /* Mobile Action Buttons Inside Drawer */
  .tba-mobile-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 14px;
    padding-top: 6px;
  }

  .tba-btn-login-mobile {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff !important;
    background-color: #1f2937;
    border: 1px solid #374151;
    padding: 0.75rem;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
  }

  .tba-btn-start-mobile {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff !important;
    background-color: var(--tba-red);
    padding: 0.78rem;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.95rem;
  }

  .tba-btn-telegram-mobile {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    color: #ffffff !important;
    background-color: var(--tba-telegram);
    padding: 0.78rem;
    border: 1px solid var(--tba-telegram);
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.95rem;
  }

  .tba-btn-telegram-mobile .tba-telegram-icon {
    fill: #ffffff;
  }
}

/* ===============================
   SMALL MOBILE (<= 480px)
================================ */
@media (max-width: 480px) {

	 .tba-custom-logo {
    height: 38px;
    max-height: 38px;
  }

  .tba-app-name {
    font-size: 1rem;
  }
}
	

/* Global Button Color */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.elementor-button,
.elementor-widget-button .elementor-button,
.wp-block-button__link {
    background: #E93333 !important;
    border-color: #E93333 !important;
    color: #FFFFFF !important;
}

/* Hover Color */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.elementor-button:hover,
.wp-block-button__link:hover {
    background: #C92424 !important;
    border-color: #C92424 !important;
    color: #FFFFFF !important;
}


/* =====================================================================
   FOOTER CSS
===================================================================== */

/* Footer Wrapper */
.tba-footer-wrapper {
  background-color: var(--tba-navy, #111827);
  color: var(--tba-text-gray, #cbd5e1);
margin-top: -30px;
  border-top: 1px solid var(--tba-border, #1f2937);
  width: 100%;
}

.tba-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Pre-Footer CTA Banner */
.tba-footer-cta {
  background: linear-gradient(90deg, #0b132b 0%, #1e293b 100%);
  border-bottom: 1px solid var(--tba-border, #1f2937);
  padding: 2.25rem 0;
}

.tba-cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tba-cta-text h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.tba-cta-text p {
  margin: 0;
  font-size: 0.92rem;
  color: #94a3b8;
}

.tba-cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

	.tba-btn-secondary {
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid #334155;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: 6px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.tba-btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #e93333;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.tba-btn-secondary:hover::before {
  transform: scaleX(1);
}

.tba-btn-secondary:hover {
  color: #ffffff;
  border-color: #e93333;
}
/* Main Footer Grid */
.tba-footer-main {
  padding: 3.5rem 0 3rem;
}

.tba-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1fr 1.1fr;
  gap: 2.5rem;
}

/* Column 1: Brand & Privacy Box */
.tba-footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 1rem 0 1.25rem;
}

.tba-privacy-card {
  background-color: rgba(11, 19, 43, 0.75);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-left: 3px solid #22c55e;
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.tba-privacy-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4ade80;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tba-privacy-title svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.tba-privacy-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.tba-privacy-card strong {
  color: #ffffff;
}

/* Headings & Link Lists */
.tba-col-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1.2rem 0;
  position: relative;
  padding-bottom: 10px;
}

.tba-col-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: var(--tba-red, #e93333);
}

.tba-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.tba-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.tba-footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Column 4: Mini Pricing Table */
.tba-mini-plans {
  background-color: #0b132b;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tba-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.tba-plan-row:last-child {
  border-bottom: none;
}

.tba-plan-row strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.tba-plan-row.highlight {
  color: var(--tba-gold, #fbbf24);
  font-weight: 600;
}

.tba-plan-row.highlight strong {
  color: var(--tba-gold, #fbbf24);
}

.tba-reminder-note {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #94a3b8;
  margin: 0.85rem 0 0 0;
}

/* Bottom Copyright Bar */
.tba-footer-bottom {
  background-color: var(--tba-dark, #0b132b);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.15rem 0;
  font-size: 0.82rem;
  color: #64748b;
}

.tba-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.tba-copyright strong {
  color: #cbd5e1;
}

.tba-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tba-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.tba-legal-links a:hover {
  color: #ffffff;
}

.tba-dot {
  color: #475569;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .tba-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .tba-cta-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .tba-cta-buttons {
    width: 100%;
  }

  .tba-cta-buttons a {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .tba-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tba-bottom-flex {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* 1. Force the badge and its icon to size properly on all screens */
.tba-pill-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.tba-pill-badge svg,
.tba-inline-svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  flex-shrink: 0 !important;
}

/* 2. Make sure the Hero has enough top padding on mobile so the header doesn't cover the badge */
@media (max-width: 768px) {
  .tba-hero {
    padding-top: 2.5rem !important;
  }
  
  .tba-pill-badge {
    font-size: 0.75rem !important;
    padding: 5px 12px !important;
    margin-bottom: 1rem !important;
  }
}

/* Push Hero content down on Tablet & Mobile so it clears the sticky header */



	
	.site-footer {
    margin-top: -50px !important;
    padding-top: 0 !important;
}
	/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .site-footer {
        margin-top: -30px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .site-footer {
        margin-top: -45px !important;
    }
}

	body.page-customer-login .auto_translate_button_wrapper.wpat_float,
body.page-demo .auto_translate_button_wrapper.wpat_float {
    display: none !important;
}

