/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
/* Default: Desktop shows carousel */
.desktop-carousel {
    display: block;
}
.mobile-hero {
    display: none;
}

/* MOBILE ONLY */
@media (max-width: 768px) {

    /* Hide carousel on mobile */
    .desktop-carousel {
        display: none !important;
    }

    /* Show mobile hero */
    .mobile-hero {
        display: block !important;
        position: relative;
        width: 100%;
        min-height: 520px;
        overflow: hidden;
    }

    .mobile-hero-img {
        width: 100%;
        height: 520px;
        object-fit: cover;
        display: block;
    }

    .mobile-hero-content {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px 16px;
        background: rgba(0,0,0,0.45);
    }

    .mobile-hero-title {
        color: #fff;
        font-size: 26px;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 12px;
        text-transform: uppercase;
    }

    .mobile-hero-subtitle {
        color: #fff;
        font-size: 15px;
        margin-bottom: 18px;
    }

    /* FIX: input + button should never shrink to zero */
    .vin-group-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .vin-group-mobile input {
        width: 100%;
        padding: 14px 14px;
        font-size: 16px;
        border-radius: 10px;
        border: none;
        outline: none;
    }

    .vin-group-mobile button {
        width: 100%;
        padding: 14px 14px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 10px;
        border: none;
    }

    .mobile-hero-example {
        color: rgba(255,255,255,0.7);
        display: block;
        margin-top: 12px;
        font-size: 13px;
    }
}
.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}

#header-carousel .carousel-item {
  height: 85vh;
  min-height: 520px;
}

#header-carousel .carousel-item img {
  height: 100%;
  object-fit: cover;
}

#header-carousel .carousel-caption {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.45); /* makes text readable */
}

/* Mobile Fix */
@media (max-width: 768px) {
  #header-carousel .carousel-item {
    height: 70vh;
    min-height: 420px;
  }

  #header-carousel .carousel-caption h1 {
    font-size: 28px !important;
    line-height: 1.2;
  }
}
/* ===========================
   PRICING SECTION (Responsive)
   Same palette: primary + white
   =========================== */

.pricing-section{
  background: #fff;
}

.pricing-subtitle{
  letter-spacing: .12em;
}

/* Card base */
.pricing-card{
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Header */
.pricing-header{
  border-bottom: 1px solid rgba(255,255,255,.15);
}

/* List */
.pricing-list li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  color: #4b5563;
}

.pricing-check{
  color: var(--bs-primary);
  font-weight: 900;
  line-height: 1.2;
  margin-top: 1px;
}

/* Buttons */
.pricing-btn{
  transition: transform .25s ease, box-shadow .25s ease;
}

.pricing-btn-strong{
  box-shadow: 0 12px 30px rgba(13,110,253,.20);
}

/* Badge */
.pricing-badge{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 14px;
  z-index: 2;
}

/* Standard Plan highlight */
.standard-plan{
  border: 2px solid rgba(13,110,253,.18);
}

/* Bigger price on Standard */
.pricing-price-lg{
  font-size: 2.2rem;
}

/* ===========================
   RESPONSIVE FIXES
   =========================== */

/* Mobile (default) */
@media (max-width: 575px){
  .pricing-list li{
    font-size: 14px;
    padding: 6px 0;
  }

  .pricing-card .card-body{
    padding: 1.2rem !important;
  }

  .pricing-card .card-footer{
    padding: 1.2rem !important;
    padding-top: 0 !important;
  }

  .pricing-badge{
    margin-top: 10px;
  }

  .pricing-price-lg{
    font-size: 2rem;
  }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991px){
  .pricing-price-lg{
    font-size: 2.1rem;
  }
}

/* Desktop: Standard plan bigger */
@media (min-width: 992px){
  .standard-plan{
    transform: scale(1.06);
    box-shadow: 0 20px 45px rgba(13,110,253,.12) !important;
  }

  .pricing-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
  }

  .standard-plan:hover{
    transform: scale(1.08);
  }

  .pricing-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(13,110,253,.18);
  }
}

.vin-form {
  max-width: 650px;
  margin: 0 auto;
}

.vin-group input {
  border-radius: 12px 0 0 12px;
}

.vin-group button {
  border-radius: 0 12px 12px 0;
}

@media (max-width: 768px) {
  .vin-group {
    flex-direction: column;
  }

  .vin-group input,
  .vin-group button {
    width: 100%;
    border-radius: 12px !important;
  }

  .vin-group button {
    margin-top: 10px;
  }
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/* Logo container */
.header-logo {
    position: relative;
    z-index: 5;
}

/* Logo image */
.header-logo img {
    height: 90px;                 /* tall logo */
    margin-top: -25px;            /* pulls logo upward */
    margin-bottom: -25px;         /* overlaps navbar */
}

/* Prevent navbar overlap */
.navbar {
    padding-left: 110px;
}

/* push content so it doesn't overlap logo */
.topbar,
.navbar-wrap {
    padding-left: 120px;
}

/* responsive fix */
@media (max-width: 991px) {
    .shared-logo img {
        height: 55px;
    }

    .topbar,
    .navbar-wrap {
        padding-left: 90px;
    }
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }
    
    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
.contact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}
/* Inspection Plans */
.card {
    border-radius: 6px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
    border-bottom: none;
}
/* Inspection Plans – Theme Matched */

.card {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Header uses navbar primary color */
.card-header {
    background: var(--bs-primary);
    color: #fff;
    border-bottom: none;
}

.card-header h4,
.card-header h2,
.card-header small {
    color: #fff;
}

/* Optional: middle plan darker (like footer tone) */
.card-header.bg-dark {
    background: #0b1c2d !important;
}

/* Feature list */
.card-body ul li {
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid #eee;
}

/* CTA matches navbar button */
.card-footer .btn {
    background: var(--bs-primary);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
}

.card-footer .btn:hover {
    background: #0b5ed7; /* Bootstrap primary hover */
}

.card-header h2 {
    font-size: 2.2rem;
}

.card-header small {
    opacity: 0.85;
}

.card-body ul li {
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.card-body ul li:last-child {
    border-bottom: none;
}

.card-footer {
    border-top: none;
}

.btn-primary,
.btn-dark {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/*** Newsletter ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}