* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Box shadow added */
}



.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: black;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: black;
    width: 0;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-item:hover .underline {
    width: 100%;
}

.nav-item:hover .nav-link {
    color: peru;
}

.nav-item:hover~.underline {
    width: 0;
    left: 0;
}

/* banner */
.ban {
    background-image: url('Business_Deskto2p_1950x.jpg');
    height: 68vh;
    background-repeat: no-repeat;
    background-size: 100%;
    margin-top: 2%;
    background-position: center;
}

/* heading */
.heading h3 {
    text-align: center;
    margin-top: 2%;
    font-size: 2em;
    /* Default font size */
}

/* Responsive Design */
@media only screen and (max-width: 1200px) {
    .ban {
        height: 60vh;
    }

    .heading h3 {
        font-size: 1.8em;
    }
}

@media only screen and (max-width: 768px) {
    .ban {
        height: 50vh;
    }

    .heading h3 {
        font-size: 1.6em;
        margin-top: 3%;
    }
}

@media only screen and (max-width: 480px) {
    .ban {
        height: 40vh;
    }

    .heading h3 {
        font-size: 1.4em;
        margin-top: 4%;
    }
}

/* product cards */
:root {
    --font1: 'Heebo', sans-serif;
    --font2: 'Fira Sans Extra Condensed', sans-serif;
    --font3: 'Roboto', sans-serif;

    --btnbg: #ffcc00;
    --btnfontcolor: rgb(61, 61, 61);
    --btnfontcolorhover: rgb(255, 255, 255);
    --btnbghover: #ffc116;
    --btnactivefs: rgb(241, 195, 46);


    --label-index: gray;
    --danger-index: #5bc257;

    /* PAGINATE */
    --link-color: #000;
    --link-color-hover: #fff;
    --bg-content-color: #ffcc00;

}

.container-fluid {
    max-width: 1400px;

}

.card {
    background: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .08), 0 0 6px rgba(0, 0, 0, .05);
    transition: .3s transform cubic-bezier(.155, 1.105, .295, 1.12), .3s box-shadow, .3s -webkit-transform cubic-bezier(.155, 1.105, .295, 1.12);
    border: 0;
    border-radius: 1rem;
}

.card-img,
.card-img-top {
    border-top-left-radius: calc(1rem - 1px);
    border-top-right-radius: calc(1rem - 1px);
}


.card h5 {
    overflow: hidden;
    height: 55px;
    font-weight: 300;
    font-size: 1rem;
}

.card h5 a {
    color: black;
    text-decoration: none;
}

.card-img-top {
    width: 100%;
    min-height: 250px;
    max-height: 250px;
    object-fit: contain;
    padding: 30px;
}

.card h2 {
    font-size: 1rem;
}


.card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}

/* Centered text */
.label-top {
    position: absolute;
    background-color: var(--label-index);
    color: #fff;
    top: 8px;
    right: 8px;
    padding: 5px 10px 5px 10px;
    font-size: .7rem;
    font-weight: 600;
    border-radius: 3px;
    text-transform: uppercase;
}

.top-right {
    position: absolute;
    top: 24px;
    left: 24px;

    width: 90px;
    height: 90px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 900;
    background: #8bc34a;
    line-height: 90px;
    text-align: center;
    color: white;
}

.top-right span {
    display: inline-block;
    vertical-align: middle;

}

.aff-link {

    font-weight: 500;
}

.over-bg {
    background: rgba(53, 53, 53, 0.85);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(0.0px);
    -webkit-backdrop-filter: blur(0.0px);
    border-radius: 10px;
}

.bold-btn {

    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 5px 50px 5px 50px;
}

.box .btn {
    font-size: 1.5rem;
}

@media (max-width: 1025px) {
    .btn {
        padding: 5px 40px 5px 40px;
    }
}

@media (max-width: 250px) {
    .btn {
        padding: 5px 30px 5px 30px;
    }
}

/* START BUTTON */
.btn-warning {
    background: var(--btnbg);
    color: var(--btnfontcolor);
    fill: #ffffff;
    border: none;
    text-decoration: none;
    outline: 0;

    border-radius: 100px;
}

.btn-warning:hover {
    background: var(--btnbghover);
    color: var(--btnfontcolorhover);

}

.btn-check:focus+.btn-warning,
.btn-warning:focus {
    background: var(--btnbghover);
    color: var(--btnfontcolorhover);

}

.btn-warning:active:focus {
    box-shadow: 0 0 0 0.25rem var(--btnactivefs);
}

.btn-warning:active {
    background: var(--btnbghover);
    color: var(--btnfontcolorhover);

}

/* END BUTTON */

.bg-success {
    font-size: 1rem;
    background-color: var(--btnbg) !important;
    color: var(--btnfontcolor) !important;
}

.bg-danger {
    font-size: 1rem;
}


.price-hp {
    font-size: 1rem;
    font-weight: 600;
    color: darkgray;
}

.amz-hp {
    font-size: .7rem;
    font-weight: 600;
    color: darkgray;
}

.fa-question-circle:before {

    color: darkgray;
}

.fa-heart:before {
    color: crimson;
}

.fa-chevron-circle-right:before {
    color: darkgray;
}




/* footer */


.footer {
    margin-top: 5%;
    background-color: #282828;
    color: #ddd;
    padding: 40px 0;
    font-size: 14px;
    transition: background-color 0.5s ease;
}

.footer:hover {
    background-color: #333;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1 1 20%;
    /* Responsive Flexbox */
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-heading::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.footer-heading:hover::after {
    width: 100%;
}

.footer-section address {
    font-style: normal;
    line-height: 1.8;
    color: #ccc;
}

.footer-section address a {
    text-decoration: none;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #ddd;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
    padding-left: 10px;
}

.social-media {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.social-media a {
    width: 24px;
    height: 24px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.2);
}

.social-media img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-section {
        flex: 1 1 100%;
        min-width: 100%;
        margin-bottom: 20px;
    }

    .footer-heading {
        text-align: center;
    }

    .footer-section ul {
        text-align: center;
    }
}