body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/* for text grdient effect */
.text-gradient {
    display: inline-block;
    background: linear-gradient(to bottom, #000000, #bebebe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;  /* IE */
    scrollbar-width: none;     /* Firefox */
}

/* home page hero section */
.hero-text {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    left: 80px;
    bottom: 100px;
}
.hero-text h1 {
    font-size: 46px;
    font-weight: 600;
}
.hero-text a {
    border: 1px solid #fff;
    padding: 8px 40px;
    margin-top: 8px;
}
.white-padding {
    background-color: white;
    padding: 120px 244px;
}
.head-explore {
    color: black;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 40px;
    padding-bottom: 40px;
}
.head-explore h1 {
    font-size: 38px;
}
.head-explore p {
    font-size: 16px;
    color: #5b5b5b;
    margin-bottom: 30px;
}
.head-explore a {
    border-bottom: 1px solid #bbbbbb;
    display: flex;
    width: fit-content;
    gap: 10px;
    font-weight: 600;
    padding-bottom: 10px;
}
.head-explore svg {
    width: 15px;
}

.feature {
    color: #fff;
}
.feature h2 {
    font-size: 74px;
    font-weight: 600;
}
@media screen and (max-width: 500px) {
    .hero-text {
        gap: 1px;
        left: 30px;
        bottom: 43px;
    }
    .hero-text h1 {
        font-size: 24px;
    }
    .feature h2 {
        font-size: 34px;
    }
}

@media screen and (max-width: 1024px) {
    .white-padding {
        padding: 50px 30px;
    }
    .hero-text {
        left: 44px;
        bottom: 30px;
    }
}

@media screen and (max-width: 750px) {
    .white-padding {
        padding: 44px 24px;
    }
    .head-explore {
        padding-bottom: 0px;
    }
    .head-explore h1 {
        font-size: 20px;
        margin-top: 24px;
    }
    .head-explore p {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* testimonial card */
.cardTestimonial {
    flex-shrink: 0;
    background-color: #fff; /* gray-200 */
    border-radius: 0.75rem; /* rounded-xl = 12px */
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 34px 24px;
    width: 90%;
    font-size: 16px;
    border: 1px solid #dadada;
}
.cardTestimonial p {
    color: #5b5b5b;
    text-align: justify;
    letter-spacing: normal;
}
.cardTestimonial .star {
    width: 90px;
}
.cardTestimonial .testimonialUser {
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 16px;
}
.cardTestimonial .testimonialUser img {
    border-radius: 8px;
}
.testimonialUser .testimonialName {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.testimonialName p {
    font-size: 20px;
    color: black;
}
.testimonialName span {
    opacity: 0.6;
    font-size: 14px;
}

/* Hover */
.cardTestimonial:hover {
    background-color: #d1d5db; /* gray-300 */
}

/* Small screens (sm = 640px) */
@media (min-width: 640px) {
    .cardTestimonial {
        width: 50%;
        font-size: 18px;
    }
}

/* Large screens (lg = 1024px) */
@media (min-width: 1024px) {
    .cardTestimonial {
        width: 500px;
        height: 326px;
    }
}

/* faq section */
.sectionHeading {
    font-size: 50px;
    font-weight: medium;
}
.accordion-item {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

.accordion-item.active {
    background-color: #ffffff;
}
@media screen and (max-width: 1024px) {
    .sectionHeading {
        font-size: 40px;
    }
}
@media screen and (max-width: 760px) {
    .sectionHeading {
        font-size: 34px;
    }
}

/* blog section */
.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.slider::-webkit-scrollbar {
    display: none;
}

.card {
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    line-height: 1.3;
}
.card img {
    border-radius: 12px;
}
.card h2 {
    font-size: 18px;
    font-weight: normal;
}
.card p {
    font-size: 16px;
    color: #5b5b5b;
    border-bottom: 1px solid #c2c2c2;
    padding-bottom: 34px;
}
.cardDate p {
    border: none;
    padding: 0;
}
.cardDate a {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;
    width: 64px;
    padding: 10px;
    background-color: #002826;
    color: #fff;
    border-radius: 40px;
}
.cardDate a svg {
    color: #fff;
    width: 24px;
    height: 24px;
}

/* Mobile = 1 card */
.card {
    width: 95%;
}
.card .cardDate {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tablet 2 cards */
@media (min-width: 640px) {
    .card {
        width: 50%;
        gap: 16px;
    }
    .card h2 {
        font-size: 24px;
    }
}

/* Desktop  3 cards shows */
@media (min-width: 1024px) {
    .card {
        width: 31.333%;
    }

    .slider {
        overflow-x: hidden;
    }

    .progress-bar {
        display: none;
    }
}

/* Progress bar */
.progress-bar {
    width: 100px;
    margin: auto;
    height: 4px;
    background: #ddd;
    margin-top: 34px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: black;
    transition: width 0.2s ease;
}

/* footer css */

/* products details css */


.tooltip {
    position: absolute;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    top: -60px; 
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
}
.cartIcon:hover + .tooltip {
    opacity: 1;
}
.triangle {
    display: block;
    height: 0px;
    width: 0px;
    border: 10px solid transparent;
    border-top-color: silver;
    position: absolute;
    bottom: -20px;
    left: calc(50% - 10px);
}

/* user revies filter  */
.filterBtn{
    font-size: 14px;
    padding: 8px 15px;
    border: 1px solid #DBDBDB;
    border-radius: 24px;
}
.filterBtn.active{
    border: 1px solid #002826;
    background-color: #F4F8FF;
}
