
:root {
    --primary-color: #e63946;
    --secondary-color: #f4a261;
    --accent-color: #2a9d8f;
    --text-dark: #264653;
    --background-light: #f1faee;
}

body, html {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(135deg, rgba(231, 111, 81, 0.1), rgba(255, 190, 141, 0.2)),
                url('./Mothers\ day1346\ pixel\ Height\ 383.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(241, 250, 238, 0.219);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* General Product Card Styling */
.product-card {
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Product Image Container */
.product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

/* Primary and Secondary Product Images */
.product-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.product-card:hover .product-card-img {
    opacity: 0;
}

.product-card:hover .product-card-img-hover {
    opacity: 1;
}

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #dc3545;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    z-index: 2;
}

/* Card Body */
.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 15px;
}

/* Card Title */
.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
    height: 2.8em;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

/* Price container */
.d-flex.justify-content-center.align-items-center {
    transition: opacity 0.3s ease;
}

/* Hide title and price on hover */
.product-card:hover .card-title,
.product-card:hover .d-flex.justify-content-center.align-items-center {
    opacity: 0;
}

/* Button styling */
.btn-shop-now {
    margin-top: auto;
    background: linear-gradient(to right, #e91e63, #f06292);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    opacity: 1;
}

/* Center the button when hovering */
.product-card:hover .btn-shop-now {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* Make button slightly smaller than card width */
}

.btn-shop-now:hover {
    background: linear-gradient(to right, #d81b60, #ec407a);
    color: #fff;
}

.testimonial-section {
    background-color: var(--background-light);
    padding: 50px 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timer {
    background-color: var(--accent-color);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.2rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
}



.new-section {
    background-color: white;
    padding: 50px 0;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial-section {
    background-color: var(--background-light);
    padding: 50px 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.story-section {
    background:#ffca587a ;
    color: rgb(0, 0, 0);
    padding: 50px 0;
}

.care-guide-section {
    background-color: white;
    padding: 50px 0;
}

.care-guide-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.care-guide-card:hover {
    transform: scale(1.05);
}

.newsletter-section {
    background-color: var(--background-light);
    padding: 50px 0;
}

.view-more-btn {
    display: none;
    margin-top: 40px;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 25px;
    border: 1px solid #888;
    background-color: #f8f9fa;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover .view-more-btn {
    display: block;
}

.view-more-btn:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}