body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f7f5;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

header {
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, background-color 0.3s ease, box-shadow 0.3s ease;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    white-space: nowrap;
}

/* Animation Styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}


/* Tabs */
.tab-btn.active {
    background: #24a1b3;
    /* teal-600 */
    color: #fff;
}

.tab-pane {
    display: none;
}


/* Slider */
.product-card {
    background: #fff;
    padding: 0 0 20px 0px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
    width: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 400px;
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider img.active {
    opacity: 1;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
}

.dots button.active {
    background: #333;
}

.logo_cozer {
    width: 125px;
}

/* Hero Banner Slider */
.hero-banner-section {
    position: relative;
    width: 100%;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
    transform: translateX(0);
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-bottom: 16px;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}

.hero-dots button.active {
    background: #24a1b3;
}


.warrantyButton {
    border-radius: 20px;
    background: #24a1b3;
    color: #fff;
}

.warrantyButton a {
    color: #fff;
}

.warrantyButton:hover a {
    color: #24a1b3;
}

.warrantyButton:hover {
    background-color: #fff;
    color: #24a1b3 !important;
    border: 1px solid #24a1b3;
}


/* Desktop - show 2 cards, horizontal slider */
.tab-content .tab-pane.active {
    display: flex;
    justify-content: center;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}
#kitchen-appliances{
    justify-content: left;
}
.tab-content .tab-pane.active::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.tab-content .tab-pane.active>.product-card {
    flex: 0 0 calc(46.4% - 1rem);
    /* 2 cards per view */
    scroll-snap-align: start;
}

/* form page */
.bg-color {
    background-color: rgb(36 161 179);
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom focus styles for form elements */
.form-input:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px #14b8a6;
    /* teal-500 */
    border-color: #14b8a6;
}

/* Modal transition */
#successModal.hidden {
    display: none;
}

#successModal {
    transition: opacity 0.3s ease;
}
input, select{
    font-size: 12px !important;
}
img.warrantBanner {
    width: 595px;
    height: 500px;
}
@media (max-width: 640px) {
    .hero-dots {
        margin-top: 12px;
        padding-bottom: 12px;
    }
    
    .hero-dots button {
        width: 10px;
        height: 10px;
    }

    .product-tab-container {
        position: relative;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        padding-left: 1rem;
        padding-right: 1rem;
        clip-path: inset(0 0 0 0);
    }

    .product-tab-container::-webkit-scrollbar {
        display: none;
    }
    .tab-content .tab-pane.active {
    justify-content: left;
    }
    img.warrantBanner {
    width: auto;
    height: auto;
}
.slider {
    position: relative;
    width: 100%;
    height: 340px;
}
.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 327px;
    object-fit: contain;
}
    .product-tab-container .tab-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
    }



    .tab-content .tab-pane.active {
        gap: 1rem;
    }


    .tab-content .tab-pane.active::-webkit-scrollbar {
        display: none;
    }


    .tab-content .tab-pane.active>.product-card {
        flex: 0 0 calc(100% - 1rem);
        scroll-snap-align: start;
    }

    .product-card {
        padding-bottom: 0 !important;
    }
}