/* ============================================
   ANVO — Custom Styles
   Auto Rickshaw Platform
   ============================================ */

/* ---- Anvo Logo sizing ---- */
.anvo-header-logo {
    height: 90px !important;
    width: 90px !important;
    max-width: 90px !important;
    object-fit: contain;
    border-radius: 6px;
}
.anvo-sidebar-logo {
    height: 70px !important;
    width: 70px !important;
    max-width: 70px !important;
    object-fit: contain;
    border-radius: 6px;
}
/* Preloader logo */
.preloader .bounce img {
    height: 60px !important;
    width: 60px !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
/* Override any theme default logo sizing */
.header-logo img,
.mobile-logo img,
.about-logo img {
    max-height: 90px !important;
    width: auto !important;
}
/* Header — top bar aur nav bar attach (no gap) */
.th-header.header-layout1 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.th-header.header-layout1 .header-top {
    margin-bottom: 0 !important;
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}
.th-header.header-layout1 .sticky-wrapper {
    margin-top: 0 !important;
    top: 0 !important;
}
/* Remove any space/border between top bar and nav */
.th-header .header-top + .sticky-wrapper,
.th-header .container + .sticky-wrapper {
    margin-top: 0 !important;
    border-top: none !important;
}
/* Header logo tagline */
.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header-logo-tagline {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--theme-color, #FF4F38);
    text-transform: uppercase;
    margin-top: 2px;
    white-space: nowrap;
    text-align: center;
    line-height: 1;
}
.th-header .main-menu {
    margin-left: auto !important;
    padding-right: 20px !important;
}
/* Home header menu area — items right pe */
.th-header.header-layout1 .menu-area .row {
    justify-content: flex-start !important;
}
.th-header.header-layout1 .menu-area .col-auto:nth-child(2) {
    margin-left: auto !important;
    margin-right: 16px !important;
}
.th-header.header-layout1 > .container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.sticky-wrapper {
    margin-top: -1px !important;
}
/* White background remove karo sticky wrapper se */
.sticky-wrapper:not(.sticky) {
    background: transparent !important;
}
.th-header .menu-area,
.sticky-wrapper .menu-area {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 80px !important;
    max-height: 95px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}
.th-header .menu-area > .container,
.sticky-wrapper > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.th-header .header-top {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* ---- About section content ---- */
.about-content p {
    color: #555;
    line-height: 1.85;
    margin-bottom: 16px;
    font-size: 15px;
}

/* ---- Tagline quote box ---- */
.about-tagline .tagline-box {
    display: inline-block;
    background: linear-gradient(135deg, var(--theme-color, #FF4F38) 0%, #ff7a00 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(255, 79, 56, 0.3);
}
.about-tagline .tagline-box i { opacity: 0.75; }

/* ---- Service icon inside card ---- */
.service-icon {
    font-size: 28px;
    color: var(--theme-color, #FF4F38);
}

/* ---- Step number badge ---- */
.step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--theme-color, #FF4F38);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -10px;
}

/* ---- Checklist inside service card ---- */
.service-card .checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-card .checklist li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}
.service-card .checklist li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 11px;
    color: var(--theme-color, #FF4F38);
}

/* ---- Brand box ---- */
.brand-box {
    text-align: center;
    opacity: 0.65;
    transition: opacity 0.3s;
}
.brand-box:hover { opacity: 1; }
.brand-box img { max-height: 40px; width: auto; }

/* ============================================
   AUTO-RICKSHAW THEME ENHANCEMENTS
   ============================================ */

/* ---- Hero height control ---- */
.th-hero-wrapper.hero-1 {
    position: relative;
    overflow: hidden;
}
.th-hero-wrapper.hero-1 .swiper-slide,
.th-hero-wrapper.hero-1 .th-hero-bg {
    min-height: 600px !important;
    height: 90vh !important;
    max-height: 780px !important;
}
.th-hero-wrapper.hero-1 .th-hero-bg {
    background-size: cover;
    background-position: center center;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.th-hero-wrapper.hero-1 .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
}
.th-hero-wrapper.hero-1 .hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Header must sit above hero — do NOT change header background */
.th-hero-wrapper.hero-1 {
    position: relative;
    z-index: 1;
}

/* Hero overlay — dark gradient for readability */
.th-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(10, 5, 2, 0.80) 0%,
        rgba(10, 5, 2, 0.55) 50%,
        rgba(10, 5, 2, 0.10) 100%
    );
    z-index: 1;
}
.hero-inner { position: relative; z-index: 2; }

/* Hero car image — right side PNG */
.hero-car-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: hero-float 4s ease-in-out infinite;
    align-self: flex-end;
    position: relative;
    z-index: 2;
}
@keyframes hero-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

/* Slider prev/next arrows — properly visible */
.th-hero-wrapper .slider-arrow.style2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.th-hero-wrapper .slider-arrow.style2:hover {
    background: var(--theme-color, #FF4F38);
    border-color: var(--theme-color, #FF4F38);
}
.th-hero-wrapper [data-slider-prev].slider-arrow { left: 20px; }
.th-hero-wrapper [data-slider-next].slider-arrow { right: 20px; }
.th-hero-wrapper .slider-arrow.style2 .icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* Hero badge — auto rickshaw icon floating */
.hero-auto-badge {
    position: absolute;
    bottom: 30px;
    right: 40px;
    background: var(--theme-color, #FF4F38);
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(255,79,56,0.4);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* Service card images — round shape */
.service-card .box-img {
    overflow: hidden;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 4px solid var(--theme-color, #FF4F38);
    box-shadow: 0 6px 24px rgba(255, 79, 56, 0.25);
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover .box-img {
    box-shadow: 0 10px 35px rgba(255, 79, 56, 0.45);
    transform: scale(1.07);
}
.service-card .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 50%;
}
.service-card:hover .box-img img {
    transform: scale(1.12);
}

/* Taxi type item images */
.taxi-item_img img,
.taxi-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Taxi Type Badge — simple icon + name */
.taxi-type-badge {
    padding: 20px 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}
.taxi-type-badge:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(255, 79, 56, 0.18);
}
.taxi-type-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-color, #FF4F38) 0%, #ff7a00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 79, 56, 0.30);
    overflow: hidden;
}
.taxi-type-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.taxi-type-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--title-color, #1a1a1a);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* About section thumb images */
.img-box1 .img1 img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}
.img-box1 .img2 img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* CTA section auto image */
.cta1-1 img {
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* Breadcrumb background overlay */
.breadcumb-bg-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 5, 0.72);
}

/* Logo-icon in preloader — swap to auto emoji */
.preloader .bounce img {
    filter: brightness(0) invert(1);
}

/* Team card image */
.team-card .team-img img,
.th-team .team-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Blog card image */
.blog-card_img img,
.blog-card .blog-card_img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.4s;
}
.blog-card:hover .blog-card_img img {
    transform: scale(1.04);
}
.blog-card .blog-card_img { overflow: hidden; border-radius: 8px 8px 0 0; }

/* Testimonial avatar */
.testi-card_avater img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Footer recent post images */
.recent-post .media-img img {
    width: 80px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
}

/* Responsive fixes */
@media (max-width: 991px) {
    .th-hero-wrapper.hero-1 .swiper-slide,
    .th-hero-wrapper.hero-1 .th-hero-bg {
        min-height: 500px !important;
        height: 75vh !important;
        max-height: 650px !important;
    }
    .hero-car-img { max-width: 360px; max-height: 300px; }
}
@media (max-width: 767px) {
    .th-hero-wrapper.hero-1 .swiper-slide,
    .th-hero-wrapper.hero-1 .th-hero-bg {
        min-height: 480px !important;
        height: 70vh !important;
        max-height: 580px !important;
    }
    .th-hero-wrapper.hero-1 .hero-inner {
        padding-top: 80px;
        padding-bottom: 40px;
    }
}
@media (max-width: 575px) {
    .about-tagline .tagline-box { font-size: 14px; padding: 12px 18px; }
    .hero-auto-badge { display: none; }
    .img-box1 .img1 img { height: 280px; }
    .th-hero-wrapper.hero-1 .swiper-slide,
    .th-hero-wrapper.hero-1 .th-hero-bg {
        min-height: 420px !important;
        height: 65vh !important;
        max-height: 520px !important;
    }
}

/* X (Twitter) text icon styling */
.th-social a:has(> .x-icon),
.th-social a .x-icon {
    font-style: normal;
}
.th-social a > .x-icon,
a > .x-icon {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    font-style: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
