.hover-box {
    transition: 0.3s;
}

.hover-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}



/* ===== HEADER FINAL CLEAN ===== */

body {
    margin: 0;
    padding: 0;
}

/* HEADER */
.custom-navbar {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;   /* 🔥 gap reduced */
    margin: 0;
}

/* LOGO */
.logo-img {
    height: 45px;
}

/* CENTER MENU */

/* NAV CENTER HORIZONTAL FIX */
.nav-center {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* ===== LINKS STYLE ===== */
.nav-center a {
    text-decoration: none !important;   /* remove underline */
    color: #3498db !important;
    font-weight: 600;
    display: inline-block;
}

/* ===== REMOVE ALL UNDERLINES ===== */
.nav-center a::after {
    display: none !important;
    content: none !important;
}

/* ===== HOVER EFFECT ===== */
.nav-center a:hover {
    color: #2f89c5 !important;   /* slight dark */
}

/* LOGIN */
.nav-right {
    margin-right: 10px;
}

.login-btn {
    background: #3498db;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
}

.login-btn:hover {
    background: #2f89c5;
}



.container,
.container-fluid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}



/* ===== FINAL NAVBAR (CLEAN) ===== */

.main-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 12px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}


.main-navbar a{
    color: white !important;
    text-decoration: none;
    font-size: 17px;

    padding: 10px 22px;
    border-radius: 8px;

    display: inline-block;

    transition: 0.3s ease;
}

/* HOVER */

.main-navbar a:hover{
    background: rgba(255,255,255,0.18);
}

/* ACTIVE */

.main-navbar a.active{
    background: rgba(255,255,255,0.18);
    border: none !important;
}
/* LEFT LOGO */
.logo-img {
    height: 45px;
}

/* CENTER MENU */
.nav-center {
    display: flex;
    gap: 35px;
}

/* LINKS */
.nav-center a {
    text-decoration: none;
    color: #3498db;
    font-weight: 600;
    transition: 0.3s;
}

/* HOVER EFFECT */
.nav-center a:hover {
    color: #2f89c5;   /* slight dark */
}

/* RIGHT LOGIN */
.login-btn {
    background: #3498db;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
}

/* LOGIN HOVER */
.login-btn:hover {
    background: #2f89c5;
}


/* ===== GENERAL ===== */
body {
    margin: 0;
    padding: 0;
}

/* ===== HEADER FINAL FIX ===== */
.custom-navbar {
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 25px;   /* reduced gap */
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* LOGO */
.custom-navbar .logo-img {
    height: 55px;   /* increased size */
}

/* CENTER MENU (PERFECT CENTER) */
.custom-navbar .nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    align-items: center;
    gap: 30px;
}

/* LINKS */
.custom-navbar .nav-center a {
    text-decoration: none !important;   /* remove underline */
    color: #3498db !important;
    font-weight: 600;
    transition: 0.3s;
}

/* REMOVE ANY OLD UNDERLINE EFFECT */
.custom-navbar .nav-center a::after {
    display: none !important;
    content: none !important;
}

/* HOVER */
.custom-navbar .nav-center a:hover {
    color: #2f89c5 !important;  /* slight dark */
}

/* RIGHT SIDE */
.custom-navbar .nav-right {
    margin-left: auto;
}

/* LOGIN BUTTON */
.custom-navbar .login-btn {
    background: #3498db !important;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
}

/* LOGIN HOVER */
.custom-navbar .login-btn:hover {
    background: #2f89c5 !important;
}

/* REMOVE TOP GAP */
.container,
.container-fluid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* OPTIONAL HOVER BOX (UNCHANGED) */
.hover-box {
    transition: 0.3s;
}

.hover-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


/* ===== FORCE REMOVE ACTIVE / UNDERLINE ===== */

.nav-center a,
.nav-center a.active,
.nav-center a:focus,
.nav-center a:active {
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* REMOVE BOOTSTRAP ACTIVE LINE */
.nav-link.active {
    border-bottom: none !important;
}




/* RideRevive Header Menu - All Underline Types Remove */
.custom-navbar .nav-center a,
.custom-navbar .nav-center a:link,
.custom-navbar .nav-center a:visited,
.custom-navbar .nav-center a:active {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.custom-navbar .nav-center a:hover,
.custom-navbar .nav-center a:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #0099ff;
}

/* Konni themes ::after tho line vestayi */
.custom-navbar .nav-center a::after,
.custom-navbar .nav-center a::before {
    display: none !important;
    border: none !important;
    content: none !important;
}



/* Make everything responsive */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mobile view */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
  }

  .nav-links a {
    padding: 10px;
    display: block;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }
}
.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .banner {
    flex-direction: column;
    text-align: center;
  }

  .banner h1 {
    font-size: 24px;
  }
}
.section {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .section {
    flex-direction: column;
  }
}
.btn {
  padding: 10px 20px;
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
  }
}


.service-card {
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card img {
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card:hover img {
    transform: scale(1.1);
}
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in {
    opacity: 1;
    transition: all 0.5s ease;
}

.vehicle-card {
    border-radius: 15px;
    transition: 0.3s;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.vehicle-img {
    height: 100px;
    object-fit: contain;
}




/* ABOVE FOOTER */
.footer-line{
    width: 100%;
    height: 2px;
    background: #3498db;
}
.top-footer{
    background: white;
    padding: 40px 20px;

    box-shadow: 0 -4px 0 #3498db;
}

.top-footer-container{
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
   
}

.footer-about,
.footer-links,
.footer-contact{
    flex: 1;
    min-width: 250px;
}

/* LOGO */

.footer-logo{
    width: 180px;
    margin-bottom: 2px;
}

/* CONTENT */

.footer-about p,
.footer-contact p{
    color: #2c3e50;
    line-height: 2;
    font-size: 14px;
}
.footer-about{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-about p{
    margin-top: 15px;
    line-height: 2;
}

/* HEADINGS */

.footer-links h3,
.footer-contact h3{
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
}

/* LINKS */

.footer-links ul{
    list-style: none;
    padding: 0;
}

.footer-links ul li{
    margin-bottom: 12px;
}

.footer-links ul li a{
    text-decoration: none;
    color: #2c3e50;
    font-size: 17px;
    transition: 0.3s;
}

/* HOVER */

.footer-links ul li a:hover{
    color: #3498db;
    padding-left: 5px;
}

/* BELOW FOOTER */

.bottom-footer{
    background: #3498db;
    text-align: center;
    padding: 18px 10px;
}

.bottom-footer p{
    color: white;
    margin: 0;
    font-size: 15px;
}

/* FIX: Bootstrap grid reset */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
}

/* FIX: column behaviour normal */
.col-md-4 {
    width: 33.3333%;
    padding: 15px;
}

/* FIX: card overlap remove */
.service-card {
    width: 100%;
    position: relative;
}

/* OPTIONAL: spacing */
.services-section {
    padding: 60px 20px;
}


.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-section .row {
    justify-content: space-between;
}

.services-section .col-md-4 {
    padding: 10px;
}







.card img {
    width: 100%;
    height: 140px; /* 180px nunchi 140px ki */
    object-fit: contain;
    margin-bottom: 8px;
}
.card-btn {
    display: inline-block !important;
    width: auto !important;
    padding: 5px 14px !important;
    background-color: #3498db !important;
    color: white !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
    line-height: 1.2 !important;
}

/* Card lo button center cheyyadaniki */
.card {
    align-items: center !important; /* Ee line add cheyyi */
}

.card-btn:hover {
    background-color: #2980b9;
    transform: scale(1.03);
}


.card h3 {
    margin: 8px 0;
    color: #2c3e50;
    font-size: 18px; /* Konchem thagginchu */
}

.card p {
    font-size: 13px; /* 14px nunchi 13px */
    color: #666;
    min-height: 35px; /* 40px nunchi 35px */
    line-height: 1.4;
}
@media (max-width: 768px) {
    .card {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 340px;
    }
    
    .card-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

.cards {
    display: flex;
    justify-content: center !important; /* space-between teesi center pettu */
    align-items: stretch;
    gap: 25px !important; /* 3 cards madhya gap */
    flex-wrap: wrap;
    max-width: 1200px; /* Antha spread avvakunda */
    margin: 0 auto; /* Container center ki */
    padding: 0 15px;
}
.services {
    text-align: center;
    padding: 60px 20px;
    background: #f8fbff; /* nee background */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Ee line add cheyyi */
}
.cards::after {
    content: "";
    width: 260px; /* Card width antha */
    display: none;
}

@media (min-width: 1024px) {
    .cards::after {
        display: block;
    }
}





/* ===== CARDS GAP + CENTER FIX ===== */
.cards {
    display: grid !important;
    grid-template-columns: repeat(3, 280px) !important;
    justify-content: center !important;
    gap: 25px !important;
    margin: 30px auto 0 auto !important;
}

.card.service-card {
    width: 280px !important;
    height: 380px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
}

.card-btn {
    display: inline-block !important;
    width: auto !important;
    padding: 6px 16px !important;
    background-color: #3498db !important;
    color: white !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
}

.service-img {
    width: 100%;
    height: 140px !important;
    object-fit: contain;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 280px) !important;
    }
}

@media (max-width: 650px) {
    .cards {
        grid-template-columns: 280px !important;
    }
}
/* ===== END ===== */



.top-header{
    background: white;
    padding: 15px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo{
    height: 60px;
}

.search-section form{
    display: flex;
}

.search-section input{
    width: 350px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.search-section button{
    background: #0d7ea3;
    color: white;
    border: none;
    padding: 12px 20px;
}

.login-section a{
    border: 1px solid #0d7ea3;
    padding: 10px 20px;
    border-radius: 6px;
    color: #0d7ea3;
    text-decoration: none;
}

.main-navbar{
    background: #3498db;
    padding: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;

    width: 100%;
}

/* FINAL NAVBAR FIX */

.main-navbar a{
    color: #ffffff !important;
    text-decoration: none !important;

    padding: 10px 22px !important;
    border-radius: 8px !important;

    transition: 0.3s ease !important;
    border: none !important;
    box-shadow: none !important;
}

.main-navbar a:hover{
    background: rgba(255,255,255,0.18) !important;
}

.main-navbar a.active{
    background: rgba(255,255,255,0.18) !important;
    border: none !important;
}



.login-section{
    display:flex;
    align-items:center;
    gap:15px;
}

.user-name{
    font-weight:600;
    color:#0b84c6;
    display:flex;
    align-items:center;
    gap:5px;
}

.logout-btn{
    background:#0b95d1;
    color:#ffffff !important;
    padding:10px 20px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    display:inline-block;
}

.logout-btn i{
    color:#ffffff !important;
}

.logout-btn:hover{
    background:#0879aa;
    color:#ffffff !important;
}


.scanner-container{
    text-align:center;
    padding:60px 20px;
}

#reader{
    width:350px;
    margin:auto;
}




/* ===== Our Smart Services - Button Fix ===== */
.services {
    padding: 60px 20px;
    background: #eef4ff !important;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.services h2 {
    font-size: 26px !important;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 700;
}

.services .subtitle {
    text-align: center;
    color: #475569;
    font-size: 14px;
    margin-bottom: 40px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Card - Height Auto + Flex Fix */
.card {
    background: #ffffff !important;
    border-radius: 16px;
    width: 280px !important;
    min-height: 340px !important;  /* Fixed height teesi min-height pettam */
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.12) !important;
    border: none !important;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.2) !important;
}

/* Image - Inka Peddaga + Important */
.card img {
    width: 150px !important;     /* 140 nundi 150 ki pencham */
    height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    object-fit: contain;
    margin: 5px auto 15px;
    display: block;
    flex-shrink: 0;
}

/* Content Wrap - Button Kindaki Pomundani */
.card h3 {
    font-size: 17px !important;
    color: #1e40af;
    font-weight: 600;
    margin: 5px 0 8px;
    line-height: 1.3;
}

.card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;  /* Text ekkuva unna button kindake untadi */
}

/* Button - Always Bottom */
.card .btn {
    background: #3b82f6;
    color: #fff;
    padding: 9px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    border: none;
    margin-top: auto;  /* Button eppudu card bottom lo untadi */
    align-self: center;
}

.card .btn:hover {
    background: #2563eb;
}

/* Mobile */
@media (max-width: 768px) {
    .services {
        padding: 40px 15px;
    }
    
    .services h2 {
        font-size: 22px !important;
    }
    
    .card {
        width: 100% !important;
        max-width: 320px;
        min-height: 320px !important;
    }
    
    .card img {
        width: 130px !important;
        height: 130px !important;
    }
}









  














