@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap');

:root{
    --primary: #ee4037;
}

body {
    overflow-x: hidden;
    font-family: "Zalando Sans Expanded", sans-serif !important;
    background: url(../img/website.webp) center center / cover no-repeat;
}

section {
    padding: 40px 0px;
}

.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: var(--primary);
}

.btn:hover {
    border-color: unset;
    background-color: transparent;
    color: #000;
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    font-size: 14px;
}


.top-bar .left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar .flag {
    width: 20px;
    height: 15px;
}

.top-bar .right a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 25px;
}

/* Logo */
.logo a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: #111;
}

.logo img {
    width: 150px;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Sell button style */
.btn-sell {
    border: 1px solid var(--primary);
    padding: 6px 14px;
    color: var(--primary);
    border-radius: 4px;
    transition: 0.3s;
}

.btn-sell:hover {
    background: var(--primary);
    color: #fff;
}

/* Hamburger */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile View */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 15px 0;
    }

    .nav-menu li {
        padding: 10px 20px;
    }

    .nav-menu.show {
        display: block;
        animation: slideDown 0.3s ease;
    }
}

/* Slide-down animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.category-slider {
    display: none;
}

.category-slider .swiper-slide {
    width: auto !important;
    padding: 10px 0px;
}

.category-slider .swiper-slide a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: #e5e5e5;
    border-radius: 15px;
    text-decoration: none;
    color: var(--primary);
    font-size: 14px;
    white-space: nowrap;
}


.swiper-button-prev,
.swiper-button-next {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
    background: url(../img/main-banner.webp) center center / cover no-repeat;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the entire hero */
    z-index: -1;
}

/* .hero-overlay {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
} */

.hero-overlay h1 {
    font-size: 10rem;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #000;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-secondary:hover {
    background: white;
    color: #000;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-overlay h1 {
        font-size: 6rem;
        /* smaller heading for tablets */
    }

    .hero-overlay p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 4rem;
        /* smaller heading for mobile */
        letter-spacing: 2px;
    }

    .hero-overlay p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero-buttons {
        flex-direction: column;
        /* stack buttons */
        gap: 15px;
        width: 100%;
        max-width: 250px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-overlay h1 {
        font-size: 2.5rem;
        /* very small screen */
    }

    .hero-overlay p {
        font-size: 0.9rem;
    }
}

/* Buy & Sell Section */
.buy-sell {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
}

.buy-sell h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.buy-sell p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #222;
}

.buy-sell-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid #222;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .buy-sell-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .btn-outline {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}


/* Featured Car Slider */
.featured-cars {
    width: 100%;
    padding: 80px 40px;
    background: #fff;
    display: none;
}

.featured-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    text-align: left;
}

.featured-item img {
    max-width: 600px;
    width: 100%;
    height: auto;
}

/* .car-info {
  max-width: 400px;
} */

.car-info .car-type {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.car-info h2 {
    font-size: 2rem;
    margin: 10px 0;
}

.car-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.car-info .btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid #222;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    transition: all 0.3s ease;
}

.car-info .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Swiper Pagination */
.swiper-pagination {
    margin-top: 40px;
    text-align: center;
}

.swiper-pagination-bullet {
    background: #aaa;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}


/* Responsive Featured Car Slider */
@media (max-width: 1024px) {
    .featured-item {
        gap: 30px;
    }

    .featured-item img {
        max-width: 400px;
    }

    .car-info h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .featured-item {
        flex-direction: column;
        /* stack image + text */
        text-align: center;
        /* center text */
    }

    .featured-item img {
        max-width: 100%;
    }

    .car-info {
        max-width: 100%;
    }

    .car-info h2 {
        font-size: 1.8rem;
    }

    .car-info p {
        font-size: 1rem;
    }

    .car-info .btn-outline {
        margin-top: 15px;
    }
}

/* Section Header */
.latest-cars {
    padding: 80px 40px;
    background: #fff;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.section-header p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.section-header p a {
    color: var(--primary);
    text-decoration: underline;
}

.info-icon {
    width: 25px;
    vertical-align: middle;
    margin-right: 8px;
}

/* Car Grid */
.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.car-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.car-card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.car-card .car-tag {
    background: #000;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.car-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.car-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.verified {
    color: var(--primary);
    font-weight: 600;
}

.price {
    font-weight: 700;
    color: #222;
}

.estimate {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.desc {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 20px;
}

.car-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.btn-small {
    border: 1px solid #333;
    padding: 5px 12px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.btn-small:hover {
    background: var(--primary);
    color: #fff;
}

/* Load More Button */
.load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

#loadMoreBtn {
    padding: 12px 25px;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#loadMoreBtn:hover {
    background: #000;
}

.car-card[data-hidden] {
    display: none;
    /* hides cars until JS reveals them */
}



@media (max-width: 1024px) {
    .car-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .car-grid {
        grid-template-columns: 1fr;
    }
}


/* Reviews Section */
.reviews {
    padding: 120px 40px;
    background: #fafafa;
    text-align: center;
}

.reviews .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.review-card {
    background: #fff !important;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.review-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.stars {
    color: #f4c150;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.reviews.swiper {
    height: 500px !important;
}

/* Swiper Pagination */
.reviews .swiper-pagination-bullet {
    margin-top: 20px;
}

.reviews .swiper-pagination-bullet .swiper-pagination-bullet-active {
    background: var(--primary) !important;
}


/* Market Section */
.market {
    padding: 80px 40px;
    background: #fff;
    text-align: center;
}

.market .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.market .section-header h3 {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #444;
    margin-bottom: 20px;
}

.market-description {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: left;
}

.market-description img {
    width: 40px;
    height: 40px;
}

.market-description p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Layout */
.market-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.market-box {
    text-align: center;
}

.market-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.market-box p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.market-link {
    color: var(--primary);
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Car Image + Price Tags */
.market-car {
    position: relative;
}

.market-car img {
    max-width: 350px;
    width: 100%;
    border-radius: 4px;
}

/* Base styles */
.price-tag {
    position: absolute;
    top: -25px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    opacity: 0;
}

.price-tag span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
}

.price-tag.seller {
    left: 0;
    background: #008060;
    animation: moveSeller 4s infinite;
}

.price-tag.buyer {
    right: 0;
    background: #333;
    animation: moveBuyer 4s infinite;
}

.price-tag.sold {
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: green;
    display: block;
    opacity: 0;
    animation: showSold 3s infinite;
    animation-delay: 1.2s;
}

/* Animations */
@keyframes moveSeller {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    40% {
        transform: translateX(120px);
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    /* hide when meeting */
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes moveBuyer {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    40% {
        transform: translateX(-120px);
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes showSold {

    0%,
    40% {
        opacity: 0;
    }

    50%,
    70% {
        opacity: 1;
    }

    /* SOLD appears when both meet */
    100% {
        opacity: 0;
    }
}


/* Buttons */
.market-actions {
    display: none;
    justify-content: center;
    gap: 20px;
}

.market-actions .btn-outline {
    padding: 12px 25px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

.market-actions .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 992px) {
    .market-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .market-car {
        margin: 0 auto;
    }
}

.market-description {
    flex-direction: column;
    text-align: center;
    align-items: center;
}


/* Sell & Buy CTA */
.sell-buy {
    background: #fafafa;
    text-align: center;
    padding: 60px 20px;
}

.sell-buy h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 20px;
}

.sell-buy p {
    font-size: 1rem;
    margin: 8px 0;
    color: #222;
}

.sell-buy p strong {
    font-weight: 700;
}

.sell-buy .btn-outline {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sell-buy .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 768px) {
    .sell-buy h3 {
        font-size: 0.8rem;
    }

    .sell-buy p {
        font-size: 0.9rem;
    }
}


/* Directory Section */
.directory {
    display: none;
    padding: 60px 40px;
    background: #fff;
}

.directory-block {
    margin-bottom: 60px;
    text-align: center;
}

.directory-block h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.directory-block p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 25px;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.directory-grid ul {
    list-style: none;
    padding: 0;
}

.directory-grid ul li {
    margin-bottom: 12px;
}

.directory-grid ul li a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
}

.directory-grid ul li a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .directory-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .directory-grid ul {
        text-align: center;
    }
}


/* Buy Sell Trade Repeat Section */
.trade-repeat {
    background: var(--primary);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    gap: 20px;
}

.trade-text {
    max-width: 75%;
}

.trade-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.trade-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #fff;
}

.trade-action .btn-outline {
    padding: 12px 25px;
    border: 1px solid #fff;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.trade-action .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}


@media (max-width: 992px) {
    .trade-repeat {
        flex-direction: column;
        text-align: center;
    }

    .trade-text {
        max-width: 100%;
    }

    .trade-action {
        margin-top: 20px;
    }
}


/* Process Section */
.about-sec {
    padding: 80px 0px;
}

/* Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.process-box h4 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Steps */
.step {
    margin-bottom: 30px;
    position: relative;
}

.circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
}

.step h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-box {
        text-align: center;
    }

    .step {
        text-align: center;
    }
}


/* Sell Your Car Section */
.sell-car {
    position: relative;
    background: url('images/ferrari.jpg') no-repeat center center/cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sell-car .overlay {
    width: 100%;
    height: 100%;
    background: url(https://images.unsplash.com/photo-1621846970446-5ca1afc09cc8?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D) center center / cover no-repeat;
    /* dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.form-container {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    color: #fff;
    text-align: center;
}

.form-container h2 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.form-container h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 2px;
}

.sell-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Styled Inputs */
.sell-form input,
.form-step input,
.form-step select,
.form-step textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.sell-form input::placeholder,
.form-step input::placeholder,
.form-step textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.sell-form input:focus,
.form-step input:focus,
.form-step select:focus,
.form-step textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 8px rgba(0, 119, 182, 0.4);
}

.form-step input[type="file"] {
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    color: #fff;
    cursor: pointer;
}

.form-step input[type="file"]::-webkit-file-upload-button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
}

.form-step input[type="file"]::-webkit-file-upload-button:hover {
    background: #005f86;
}

.form-step {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-step.active {
    display: flex;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.step-buttons .btn-submit {
    flex: 1;
}

.btn-submit {
    background: var(--primary);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #005f86;
}

.disclaimer {
    margin-top: 15px;
    font-size: 0.7rem;
    line-height: 1.4;
    color: #ccc;
}

@media (max-width: 768px) {
    .form-container {
        max-width: 100%;
    }
}


/* Modal */

/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}


/* Modal Box */
.modal-content {
    background: rgba(0, 0, 0, 0.85);
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: #fff;
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Title */
.modal-content h2 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

/* Inputs */
.signup-form input,
.signup-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
}

.signup-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.signup-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 6px rgba(0, 119, 182, 0.4);
}

/* Button */
.btn-submit {
    background: var(--primary);
    color: #fff;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #005f86;
}

/* Footer */
.modal-footer {
    font-size: 0.85rem;
    margin-top: 15px;
    color: #ccc;
}

.modal-footer a {
    color: var(--primary);
    text-decoration: underline;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Footer Wrapper */
footer {
    background-color: #fff;
    padding: 40px 20px 20px;
    font-size: 14px;
    color: #333;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #333;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    color: #333;
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.footer-bottom a {
    margin: 0 8px;
    color: #666;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.country-select {
    margin-top: 10px;
    width: 100%;
    padding: 6px;
}

.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 30px;
    display: inline-block;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    background-color: var(--primary);
    border-radius: 100%;
    padding: 15px 20px;
    z-index: 999;
}

.back-to-top i {
    color: white;
}

@media (max-width: 600px) {
    .footer-social {
        justify-content: flex-start;
    }
}




/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: none;
    /* hidden by default */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top:hover {
    background: #005f86;
}



/* Section Wrapper */
.cars-listing {
    padding: 40px 20px;
    background: #fafafa;
}

/* Header */
.listing-header h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.listing-header p {
    color: #555;
    margin-bottom: 25px;
    max-width: 800px;
}

/* Filters */
.listing-filters {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.listing-filters input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-buttons select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1;
}

/* Prev Listings */
.prev-listings {
    display: inline-block;
    margin: 15px 0;
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
}

.prev-listings:hover {
    text-decoration: underline;
}

/* Car Grid */


.car-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 20px;
}

.car-selling {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 20px;
}

@media screen and (max-width: 991px) {
    .car-selling {
        grid-template-columns: 1fr;
    }
}


/* Car Card */
.car-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.car-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.car-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.car-tag {
    display: inline-block;
    background: #f1f1f1;
    color: var(--primary);
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
}

/* Seller Info */
.seller-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.seller-info .verified {
    color: var(--primary);
    font-size: 0.9rem;
}

.seller-info .price {
    font-weight: bold;
    color: #111;
}

/* Car Details */
.miles,
.estimate {
    font-size: 0.9rem;
    color: #444;
    margin: 2px 0;
}

.desc {
    font-size: 0.85rem;
    color: #666;
    margin: 10px 0 15px;
}

/* Actions */
.car-actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.car-actions .btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.car-actions .btn-link:hover {
    text-decoration: underline;
}

.car-actions .btn-tab {
    border: 1px solid #111;
    padding: 6px 12px;
    text-decoration: none;
    color: #111;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.car-actions .btn-tab:hover {
    background: #111;
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .car-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


@media (max-width: 768px) {
    .listing-filters {
        flex-direction: column;
    }

    .filter-buttons {
        flex-direction: column;
    }
}

/* Login Section */
.login-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("images/login-bg.jpg") center/cover no-repeat;
    /* optional car bg */
    padding: 40px;
}

/* Container */
.login-container {
    background: rgba(255, 255, 255, 0.95);
    /* semi-glass */
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Title */
.login-container h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
}

/* Inputs */
.login-form .form-group {
    margin-bottom: 18px;
}

.login-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.login-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 6px rgba(0, 119, 182, 0.3);
}

/* Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.form-options a {
    color: var(--primary);
    text-decoration: none;
}

.form-options a:hover {
    text-decoration: underline;
}

/* Button */
.btn-login {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: none;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-login:hover {
    background: #005f86;
}

/* Footer */
.form-footer {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
}

.form-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .login-container {
        padding: 30px 20px;
    }

    .login-container h2 {
        font-size: 1.4rem;
    }
}

/* Process */

.auction-process {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.auction-process .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #0a2a7a;
    position: relative;
}

.auction-process .section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #00b4d8;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.auction-step-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.auction-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    background: #eef6ff;
}

.auction-step-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #0a2a7a;
}

.auction-step-card h3 {
    font-size: 1rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 5px;
}

.auction-step-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a2a7a;
    margin-bottom: 10px;
}

.auction-step-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}


/* Stock Detail */

.car-details-section {
    padding: 140px 20px 60px;
    background: #fff;
}

.car-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.car-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.ref-id {
    color: #777;
    margin-bottom: 20px;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.price-box .price {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
}

.btn-search {
    border: 2px solid #222;
    color: #222;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    background: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-search:hover {
    background: #222;
    color: #fff;
}

.card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.stock-details h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #222;
}

.stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    font-size: 0.95rem;
    color: #333;
}

/* Quote Form */
.quote-form h3 {
    margin-bottom: 15px;
    color: #222;
    font-size: 1.2rem;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
}

.quote-form textarea {
    min-height: 80px;
    resize: vertical;
}

.quote-form button {
    width: 100%;
    font-family: inherit;
}

/* Gallery Slider */
.gallery-section {
    margin-top: 50px;
    padding-bottom: 40px;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.swiper {
    width: 100%;
    height: 200px !important;
    border-radius: 8px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    height: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}



/* Responsive */
@media (max-width: 992px) {
    .car-details-grid {
        grid-template-columns: 1fr;
    }

    .swiper {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .car-details-section {
        padding-top: 100px;
    }

    .price-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .car-title {
        font-size: 1.6rem;
    }

    .swiper {
        height: 300px;
    }

    .stock-grid {
        grid-template-columns: 1fr;
    }
}



.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 40px 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #000;
}

.terms-content {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.terms-sidebar {
    width: 280px;
    position: sticky;
    top: 20px;
    height: fit-content;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.terms-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.terms-section p {
    margin-bottom: 16px;
    color: #333;
    font-size: 15px;
}

.terms-section ol,
.terms-section ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.terms-section li {
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
}

.terms-section a {
    color: #0066cc;
    text-decoration: none;
}

.terms-section a:hover {
    text-decoration: underline;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 8px;
}

.sidebar-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.sidebar-nav a:hover {
    background-color: #f0f0f0;
}

.sidebar-nav a.active {
    background-color: #e8f4ff;
    color: #0066cc;
    font-weight: 500;
}

.highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

@media (max-width: 968px) {
    .terms-container {
        flex-direction: column;
    }

    .terms-sidebar {
        width: 100%;
        position: static;
    }

    .terms-content {
        padding: 24px;
    }
}

.privacy-table-wrapper {
    overflow-x: auto;
    margin: 15px 0;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.privacy-table th,
.privacy-table td {
    border: 1px solid #ccc;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.privacy-table th {
    background-color: #f0f0f0;
    color: #333;
    font-weight: bold;
}

.privacy-table td {
    background-color: #fff;
}


/* How to buy */

.howto {
    background: url(../img/howto.png) center center / cover no-repeat;
    padding: 140px 0px;
    overflow-x: hidden;
}


.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    padding-left: 40px;
    border-left: 3px solid #000;
    animation: growLine 1.5s ease-out forwards;
}

@keyframes growLine {
    from {
        height: 0;
    }

    to {
        height: 100%;
    }
}

.step {
    position: relative;
    margin-bottom: 80px;
    padding-left: 40px;
    animation: fadeUp 1s ease-in-out both;
}

.step:nth-child(2) {
    animation-delay: 0.3s;
}

.step:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.step::before {
    content: attr(data-step);
    position: absolute;
    left: -60px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: transform 0.3s ease;
}

.step:hover::before {
    transform: scale(1.2) rotate(15deg);
}

.icon {
    font-size: 40px;
    margin-bottom: 15px;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.title {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
    .timeline {
        padding-left: 20px;
        border-left: unset;
    }

    .icon {
        margin-bottom: 15px;
    }

    .step {
        padding-left: unset;
    }

    .step::before {
        position: unset;
        color: #fff;
        padding: 10px 15px;
    }
}


/* Bank Detail */

.bank-details-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 120px 20px;
    background-color: #fff;
    max-width: 1200px;
    margin: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.bank-details-section img {
    max-width: 100%;
    height: auto;
    flex: 1 1 300px;
    border-radius: 8px;
}

.bank-info {
    flex: 1 1 500px;
}

.bank-info h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.bank-info p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
}

.bank-info p strong {
    display: inline-block;
    width: 180px;
    color: #333;
}

.bank-bottom-banner {
    margin-top: 40px;
    text-align: center;
}

.bank-bottom-banner img {
    max-width: 100%;
    height: auto;
    border-top: 3px solid #7b001c;
}

@media (max-width: 768px) {
    .bank-info p strong {
        width: 100%;
        display: block;
        margin-bottom: 4px;
    }

    .bank-info p {
        font-size: 15px;
    }

    .bank-details-section {
        flex-direction: column;
        align-items: center;
    }
}



/* Process */

.auction-section {
    background: url(../img/auction.png) center center / cover no-repeat;
    padding: 120px 0px 0px;
}

.timeline-section {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #000;
    transform: translateX(-50%);
}

.timelime-box {
    position: relative;
    width: 50%;
    padding: 30px 40px;
    box-sizing: border-box;
}

.timelime-box::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    z-index: 1;
}

.timelime-box.left {
    left: 0;
    text-align: right;
}

.timelime-box.left::after {
    right: -10px;
}

.timelime-box.right {
    left: 50%;
    text-align: left;
}

.timelime-box.right::after {
    left: -10px;
}

.timeline-box-content {
    background: rgba(255, 255, 255, 0.90);
    padding: 20px 25px;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease , background 0.5s ease;

}

.timeline-box-content:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: var(--primary);
    color: white;
}

.timelinebox-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.timelinebox-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.timelinebox-number {
    font-size: 1rem;
    margin-bottom: 5px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-section::before {
        left: 10px;
        display: none;
    }

    .timelime-box.left::after {
        display: none;
    }

    .timelime-box.right::after {
        display: none;
    }

    .timelime-box {
        width: 100%;
        padding-left: 30px;
        padding-right: 20px;
        text-align: left !important;
    }

    .timelime-box.right,
    .timelime-box.left {
        left: 0;
    }

    .timelime-box::after {
        left: 0;
    }
}

/* Signup */

.signup {
    background: url(../img/custom-bg-2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 180px 0px;
}

.signup .container {
    backdrop-filter: blur(20px) brightness(1.2);
    ;
}


.form-panel {
    flex: 1;
    padding: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: 0.5s ease;
}

.form-panel:last-child {
    border-right: none;
}

.form-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #000;
}

.f-group {
    position: relative;
    margin-bottom: 25px;
}

.f-group input,
.f-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    color: #000;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.f-group textarea {
    resize: none;
    height: 100px;
}

.f-group label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: #000;
    font-size: 0.95rem;
    pointer-events: none;
    transition: 0.3s ease;
}

.f-group input:focus+label,
.f-group input:not(:placeholder-shown)+label,
.f-group textarea:focus+label,
.f-group textarea:not(:placeholder-shown)+label {
    top: -12px;
    left: 12px;
    background: #0f0c29;
    padding: 0 5px;
    font-size: 0.75rem;
    color: #38bdf8;
}

.signed-btn {
    background: #0056b3;
    border: none;
    padding: 12px 25px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.signed-btn:hover {
    background: #0056b3;
}

.note {
    font-size: 0.85rem;
    margin-top: 10px;
    color: red;
}


/* Responsive */
@media (max-width: 768px) {

    .form-panel {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .form-panel:last-child {
        border-bottom: none;
    }
}


.cta {
    position: relative;
}

.cta a {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.sp-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.sp-section:last-child {
    border-bottom: none;
}

.sp-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    color: #333;
}

.sp-tag {
    display: inline-flex;
    align-items: center;
    background: #e8f4f8;
    color: #0066cc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin: 4px 4px 4px 0;
    cursor: pointer;
}

.sp-tag:hover {
    background: #d0e8f2;
}

.sp-tag::after {
    content: '×';
    margin-left: 8px;
    font-size: 16px;
}

.range-slider {
    width: 100%;
    margin: 15px 0;
}

input[type="range"] {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #e0e0e0;
    outline: none;
}

.range-value {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.button-group {
    display: flex;
    gap: 8px;
}

.btn-option {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #000;
    color: white;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-option:hover {
    background: #f8f8f8;
    color: #000;
}

.btn-option.active {
    background: #000;
    color: white;
    border-color: #000;
}

.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 10px;
}

.go-btn {
    background: #064e7f;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.select-field {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: white;
}

.main-content {
    flex: 1;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 5px;
}

.results-count {
    font-size: 14px;
    color: #666;
}

.sort-save {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sort-btn,
.save-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sort-btn:hover,
.save-btn:hover {
    background: #f8f8f8;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.sp-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.sp-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.sp-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.sp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 18px;
}

.favorite-btn:hover {
    background: #f8f8f8;
}

.listing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.image-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    opacity: 0.6;
}

.dot.active {
    opacity: 1;
}

.sp-details {
    padding: 16px;
}

.sp-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 8px;
}

.sp-details .sp-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.sp-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.sp-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.sp-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #333;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.tag {
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    color: #333;
}

.mt-3 {
    margin-top: 12px;
}

.check-btn {
    display: block;
    width: 100%;
    background: #064e7f;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.check-btn:hover {
    background: #0052a3;
}

/* New styles for Filter and Price Calculator sections */
.filter-label {
    font-size: 14px;
    color: #4a4a4a;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.range-group {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.range-group .select-field {
    margin-bottom: 0;
    flex: 1;
}

.range-separator {
    color: #666;
    font-size: 14px;
}

.more-details-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 4px;
    margin-top: 10px;
}

.more-details-btn:hover {
    background: #f8f8f8;
}

.action-buttons {
    padding: 0;
    margin-top: 16px;
}

.search-btn {
    width: 100%;
    padding: 14px;
    background: #e60012;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-btn:hover {
    background: #cc0010;
}

.reset-btn {
    width: 100%;
    padding: 12px;
    background: white;
    color: #333;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reset-btn:hover {
    background: #f8f8f8;
}

.matches-badge {
    background: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.radio-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #e60012;
}

.radio-item label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.calculate-btn {
    width: 100%;
    padding: 14px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calculate-btn:hover {
    background: #34495e;
}

@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }

    .sp-container {
        display: block;
    }
}

@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: 1fr;
    }
}

.badge {
    left: 150px;
}

.pagination {
    display: grid;
    grid-template-columns: repeat(21, 1fr);
    margin-top: 10px;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
}

.pagination a.active {
    background-color: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

@media screen and (max-width: 991px) {
    .pagination {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
        float: unset;
    }
}



/* Fixes */

.quote-form .intl-tel-input .selected-flag {
    padding: 0 6px 12px 8px !important;
}

.contact-page-form .intl-tel-input .selected-flag {
    padding: 0 6px 0px 8px !important;
}

.form-panel .intl-tel-input .selected-flag {
    padding: 0 6px 8px 8px !important;
}


@media screen and (max-width: 768px) {
    .cta a {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 33%;
    }

    .cta .btn-primary {
        padding: 1px 10px;
        font-size: 12px;
    }
}

.bg{
    background: var(--primary);
    color: white;
}

.custom-card{
    transition: background 0.5s ease , transform 0.5s ease;
}

.custom-card:hover{
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}


.new-contact{
    background: var(--primary);
    height: 530px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width:991px) {
    .new-contact {
        height: fit-content;
    }
}