/* Hero Section */
.hero-section {
    position: relative;
    margin-bottom: 30px;
}

.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.hero-slider .owl-prev,
.hero-slider .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 20px;
    transition: all 0.3s ease;
}

.hero-slider .owl-prev:hover,
.hero-slider .owl-next:hover {
    background: #4CAF50 !important;
    color: white;
}

.hero-slider .owl-prev {
    left: 20px;
}

.hero-slider .owl-next {
    right: 20px;
}

.hero-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 100px;
}

.hero-slide.slide-1 {
    background:url('../assets/images/srvm/wellness.jpg');
}

.hero-slide.slide-2 {
    background:url('../assets/images/srvm/beauty.jpg');
}

.hero-content {
    max-width: 600px;
    color: white;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-hero {
    background: #4CAF50;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.btn-hero:hover {
    background: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    color: white;
}

.hero-sidebar {
    height: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
}

.hero-promo {
    flex: 1;
    border-radius: 10px;
    padding: 40px 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-promo:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.promo-1 {
    background: url('../assets/images/srvm/personal_care_products.jpg') center/cover;
}

.promo-2 {
    background: url('../assets/images/srvm/home_care_products.png') center/cover;
}

.hero-promo h4 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.hero-promo p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.promo-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: transform 0.3s ease;
}

.promo-link:hover {
    transform: translateX(5px);
    color: #4CAF50;
}

/* Features Section */
.features-section {
    background: #f8f9fa;
}

.feature-card {
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.feature-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Featured Products */
.section-header {
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4CAF50;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
    margin-top: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-media {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.badge-discount {
    background: #FF5722;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.btn-wishlist, .btn-quick-view {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-wishlist:hover, .btn-quick-view:hover {
    background: #4CAF50;
    color: white;
    transform: scale(1.1);
}

.product-details {
    padding: 20px;
}

.product-category a {
    color: #4CAF50;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
}

.product-name a {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 8px 0;
}

.product-name a:hover {
    color: #4CAF50;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: #4CAF50;
}

.price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.price-out-of-stock {
    color: #FF5722;
    font-weight: 600;
}

.btn-add-to-cart {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-cart:hover {
    background: #388E3C;
    transform: translateY(-2px);
}

.btn-add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-view-all {
    background: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #4CAF50;
    color: white;
}

/* Category Grid */
.category-card {
    height: 300px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: white;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.category-card:hover {
    transform: scale(1.03);
}

.category-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    z-index: 1;
}

.category-card-1 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../assets/images/srvm/health_care_products.jpg');
}

.category-card-2 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../assets/images/demos/demo4/slides/2.jpg');
}

.category-card-3 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../assets/images/srvm/personal_care_products.jpg');
}

.category-card-4 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../assets/images/srvm/home_care_products.png');
}

.category-card-5 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../assets/images/srvm/paarambariya_arisi_vagaigal.jpg');
}

.category-card-6 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../assets/images/srvm/provisions.jpg');
}

.category-content {
    position: relative;
    z-index: 2;
}

.category-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.btn-category {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-category:hover {
    background: white;
    color: #4CAF50;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 10px;
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-author h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #4CAF50;
    font-size: 14px;
}

.testimonial-slider .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.testimonial-slider .owl-dot.active span {
    background: #4CAF50 !important;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.newsletter-form .form-control {
    height: 60px;
    border: none;
    border-radius: 30px 0 0 30px;
    padding: 0 25px;
    font-size: 16px;
}

.newsletter-form .btn-subscribe {
    height: 60px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 0 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.newsletter-form .btn-subscribe:hover {
    background: #34495e;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 40px;
    }
    .hero-slide {
        height: 500px;
        padding: 0 50px;
    }
    .hero-sidebar {
        height: 500px;
    }
}

@media (max-width: 991px) {
    .hero-section .row {
        flex-direction: column;
    }
    .hero-slide {
        height: 400px;
        padding: 0 30px;
    }
    .hero-sidebar {
        height: 200px;
        flex-direction: row;
    }
    .hero-promo {
        flex: 1;
    }
    .hero-title {
        font-size: 32px;
    }
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .section-title {
        font-size: 26px;
    }
    .category-card {
        height: 250px;
    }
    .category-card h3 {
        font-size: 24px;
    }
    .testimonial-item {
        padding: 30px 20px;
    }
}

@media (max-width: 575px) {
    .hero-slide {
        height: 350px;
        padding: 0 20px;
    }
    .hero-sidebar {
        height: 150px;
    }
    .hero-promo {
        padding: 20px;
    }
    .hero-promo h4 {
        font-size: 20px;
    }
    .features-section .row {
        gap: 15px;
    }
    .feature-card {
        padding: 20px 15px;
    }
    .newsletter-title {
        font-size: 24px;
    }
    .newsletter-form .form-control,
    .newsletter-form .btn-subscribe {
        height: 50px;
    }
}

/* Animation Classes */
.appear-animate {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInRight {
    animation-name: fadeInRight;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notification CSS */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: slideInRight 0.3s ease;
}

.notification-success {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

.notification-error {
    background: linear-gradient(135deg, #FF5722, #FF9800);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Sticky header effect */
.sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}