:root {
    
    --primary-blue: #0ab39c;
   --dark-blue: #405189;
   /*--light-gray: #f8f9fa;*/
   --light-gray: #f8f9fa;
   --border-gray: #dee2e6;

   --primary-orange: #f10d0d;
   --blue-green: #219ebc;
   --deep-space-blue:#023047;
   --amber-flame:#ffb703;
   --tiger-orange:#fb8500;

   --bs-navbar-brand-hover-color: rgba(var(--blue-green), 1);

}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
   background-color: var(--light-gray);
}

/* Header Navigation */
.navbar-custom {
   background: linear-gradient(190deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
   padding:0px 0px;
}

.portal-logo {
   font-size: 1.8rem;
   font-weight: 700;
   color: white;
   display: flex;
   align-items: center;
   gap: 8px;
   text-decoration: none;
}

.portal-logo i {
   font-size: 2rem;
}

.portal-logo img {

height:40px;
}

.navbar-nav .nav-link {
   font-weight: 500;
   color: white !important;
   margin: 0 8px;
   
}
}

.navbar-nav .nav-link:hover {
   color: var(--primary-blue) !important;
}

.btn-login {
   background: var(--primary-blue);
   color: white !important;
   border-radius: 6px;
   padding: 8px 20px;
   font-weight: 600;
}

.btn-login:hover {
  border: 1px solid white;
}

/* Hero Slider */
.hero-slider {
   position: relative;
   height: 500px;
   background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
   overflow: hidden;
   margin-bottom: 40px;
}

.carousel-item {
   height: 500px;
   position: relative;
}

.carousel-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   opacity: 0.85;
}

.carousel-caption {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
   padding: 60px 0 30px;
   text-align: center;
}

.carousel-caption h1 {
   font-size: 3rem;
   font-weight: 700;
   color: white;
   margin-bottom: 15px;
}

.carousel-caption p {
   font-size: 1.2rem;
   color: rgba(255, 255, 255, 0.9);
   margin-bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
   width: 50px;
   height: 50px;
   background: rgba(255, 255, 255, 0.3);
   border-radius: 50%;
   top: 50%;
   transform: translateY(-50%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
   background: rgba(255, 255, 255, 0.5);
}

/* Search Section */
.search-section {
   background: white;
   padding: 40px;
   border-radius: 12px;
   box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
   margin: -50px 20px 40px;
   position: relative;
   z-index: 10;
}

.search-title {
   font-size: 1.5rem;
   font-weight: 700;
   color: #1a1a1a;
   margin-bottom: 25px;
   text-align: center;
}

.search-form {
   display: flex;
   gap: 15px;
   flex-wrap: wrap;
   align-items: flex-end;
   width:450px;
}

.form-group-custom {
   flex: 1;
   min-width: 200px;
}

.form-group-custom label {
   font-weight: 600;
   color: #333;
   margin-bottom: 8px;
   font-size: 0.95rem;
}

.form-group-custom select,
.form-group-custom input {
   width: 100%;
   padding: 12px;
   border: 1px solid var(--border-gray);
   border-radius: 8px;
   font-size: 0.95rem;
}

.form-group-custom select:focus,
.form-group-custom input:focus {
   outline: none;
   border-color: var(--primary-blue);
   box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.btn-search {
   background: var(--primary-blue);
   color: white;
   border: none;
   padding: 12px 40px;
   border-radius: 8px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.3s;
}

.btn-search:hover {
   background: var(--dark-blue);
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}



/* Auctions Sections */
.auctions-container {
   margin: 60px 0;
}

.auction-section {
   margin-bottom: 15px;
}

.section-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
    margin-top: 20px;
    margin-bottom: 20px
}

.section-title-large {
   font-size: 1.8rem;
   font-weight: 700;
   color: var(--dark-blue);
}

.view-more-btn {
   color: var(--primary-blue);
   text-decoration: none;
   font-weight: 600;
   display: flex;
   align-items: center;
   gap: 5px;
   transition: all 0.3s;
}

.view-more-btn:hover {
   gap: 10px;
}

/* Product Card */
.product-card {
   background: white;
   border-radius: 10px;
   overflow: hidden;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
   transition: all 0.3s;
   height: 100%;
   display: flex;
   flex-direction: column;
   border:1px solid var(--border-gray)
}

.product-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-image {
   position: relative;
   height: 220px;
   overflow: hidden;
   background: var(--light-gray);
}

.product-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.3s;
}

.product-card:hover .product-image img {
   transform: scale(1.05);
}

.product-badge {
   position: absolute;
   top: 12px;
   left: 12px;
   background: #ff4444;
   color: white;
   padding: 6px 12px;
   border-radius: 6px;
   font-size: 0.75rem;
   font-weight: 700;
     
}

.product-badge.new {
   background: #28a745;
}

.product-badge.ending {
   background: #ff9800;
}

.wishlist-btn {
   position: absolute;
   top: 12px;
   right: 12px;
   background: white;
   border: none;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
   color: var(--primary-blue);
   font-size: 1.2rem;
   transition: all 0.3s;
}

.wishlist-btn:hover {
   background: var(--primary-blue);
   color: white;
}

.product-content {
   padding: 10px;
   flex: 1;
   display: flex;
   flex-direction: column;
}

.product-category {
   font-size: 0.8rem;
   color: var(--dark-blue);
   font-weight: 400;
   margin-bottom: 8px;
   text-transform: uppercase;
}

.product-name {
/*   font-weight: 700;*/
   color: #1a1a1a;
   margin-bottom: 5px;
   font-size: 1rem;
   line-height: 1.4;
   flex: 1;
}

.product-price {
   font-size: 1.4rem;
   font-weight: 700;
   color: var(--primary-blue);
   margin-bottom: 5px;
   position: absolute;
    margin-top: -44px;
}


.product-meta {
   display: flex;
   justify-content: space-between;
   font-size: 0.85rem;
   color: #666;
   padding-top: 12px;
   border-top: 1px solid var(--border-gray);
   margin-top: auto;
}

.meta-item {
   display: flex;
   align-items: center;
   gap: 4px;
}

/* Footer */
.footer-custom {
   background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
   color: white;
   padding: 60px 0 20px;
   margin-top: 40px;
}

.footer-section h5 {
   font-weight: 700;
   margin-bottom: 20px;
}

.footer-links {
   list-style: none;
   padding: 0;
}

.footer-links li {
   margin-bottom: 12px;
}

.footer-links a {
   color: rgba(255, 255, 255, 0.9);
   text-decoration: none;
   transition: color 0.3s;
}

.footer-links a:hover {
   color: white;
}

.footer-social {
   display: flex;
   gap: 15px;
   margin-top: 20px;
}

.social-icon {
   width: 40px;
   height: 40px;
   background: rgba(255, 255, 255, 0.2);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 1.1rem;
   transition: all 0.3s;
}

.social-icon:hover {
   background: white;
   color: var(--primary-blue);
   transform: translateY(-3px);
}

.footer-bottom {
   border-top: 1px solid rgba(255, 255, 255, 0.2);
   margin-top: 40px;
   padding-top: 20px;
   text-align: center;
   font-size: 0.9rem;
   opacity: 0.9;
}

@media (max-width: 768px) {
   .carousel-caption h1 {
       font-size: 2rem;
   }

   .search-form {
       flex-direction: column;
   }

   .form-group-custom {
       min-width: 100%;
   }

   .section-title-large {
       font-size: 1.3rem;
   }

   .hero-slider {
       height: 300px;
   }
}

/* Hero Section */
.hero-section {
   background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
   padding: 60px 0;
   color: white;
}

.hero-content h1 {
   font-size: 3rem;
   font-weight: 700;
   margin-bottom: 20px;
   line-height: 1.2;
}

.hero-features {
   display: flex;
   gap: 15px;
   margin-bottom: 30px;
   flex-wrap: wrap;
}

.hero-features span {
   display: flex;
   align-items: center;
   gap: 5px;
   font-size: 0.95rem;
}

.category-dropdown {
   background: white;
   padding: 12px 20px;
   border-radius: 8px;
   border: none;
   width: 100%;
   max-width: 300px;
   color: #333;
   font-weight: 500;
}

.hero-car-card {
   background: white;
   border-radius: 15px;
   overflow: hidden;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-car-card img {
   width: 100%;
   height: auto;
}

.car-badge {
   position: absolute;
   top: 15px;
   left: 15px;
   background: var(--primary-blue);
   color: white;
   padding: 5px 15px;
   border-radius: 20px;
   font-size: 0.85rem;
}



.car-actions {
   padding: 15px;
   display: flex;
   gap: 10px;
}

.btn-timer {
   background: var(--primary-blue);
   color: white;
   border: none;
   padding: 10px 20px;
   border-radius: 8px;
   flex: 1;
   font-weight: 600;
}

.btn-pagination {
   background: rgba(0, 0, 0, 0.1);
   border: none;
   width: 40px;
   height: 40px;
   border-radius: 8px;
   color: #666;
}

/* Categories */
.categories {
   background: white;   
   padding:15px 0px 0px 0px;
   margin: 15px 0px;
   border-radius: 10px;
   box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.category-item {
   text-align: center;
   text-decoration: none;
   color: #333;
   transition: transform 0.3s;
}

.category-item:hover {
   transform: translateY(-5px);
}

.category-icon {
   background: var(--light-gray);
   width: 70px;
   height: 70px;
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 10px;
   font-size: 2rem;
   color: var(--primary-orange);
       border: 1px solid var(--border-gray);
}
.category-icon:hover {
    
    
    border: 1px solid var(--primary-orange);
}
.category-item span {
   display: block;
   font-size: 0.9rem;
   font-weight: 500;
}

.neon-text {
   
   animation: glow 1.5s infinite alternate;
}

@keyframes glow {
   0% {
       text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
   }
   100% {
       text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 80px #00d4ff, 0 0 160px #00d4ff;
   }
}


/* Apps grid icon dropdown */
.apps-menu {
    position: absolute;
    top: 70px;
    right: 20px;
    width: 320px;
    background: linear-gradient(-45deg, #0ab39c 50%, #405189);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 10px;
    display: none;
    z-index: 9999;
    max-height: 420px;
    overflow-y: auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.app-item {
    text-align: center;
    padding: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    border-radius: 14px;
    border: 1px solid white;
}

.app-item:hover {

   background: linear-gradient(-45deg, #0ab39c 50%, #405189);
   border: 1px solid white;
}

.app-icon {
    font-size: 32px;
    margin-bottom: 8px;
    color: #fff;
    display: block;
}
li.nav-item.dropdown.apps-dropdown{
   margin-top: -6px; 
}