.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero 3.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    min-height: 400px; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}

/* Products Page Specific Styles */
.products-page {
    padding: 100px 5%;
    background: linear-gradient(135deg, #fff 50%, #f9f9f9 50%);
    overflow: hidden;
}


.hero-title {
    font-size: var(--fs-heading);
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.hero-subtitle {
    font-size: var(--fs-subheading);
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}

.products-page h2 {
    /* font-size: var(--fs-heading); */
    color: #4CAF50;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.product-image img {
    height: 280px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.15);
}
.product-price {
    margin: 10px 0 15px;
    font-size: var(--fs-body);
    font-weight: bold;
    color: #4CAF50; /* Match the theme color */
}

.product-price span {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: var(--fs-caption);
}

.product-info h3 {
    /* font-size: var(--fs-subheading); */
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 12px;
    /* padding: 0 20px; */
}

.product-info p {
    font-size: var(--fs-body);
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-features span {
    background: #4CAF50;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: var(--fs-caption);
}

.product-features span i{
    color: white;
}

.product-overlay .order-btn {
    background: #FFD700;
    color: #333;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease, background 0.3s ease;
    font-size: var(--fs-cation);
}

.product-overlay .order-btn:hover {
    background: #FFA500;
    transform: scale(1.1);
}

.products-cta {
    text-align: center;
    margin-top: 80px;
    padding: 40px;
    background: #247246;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.products-cta h2 {
    /* font-size: var(--fs-heading); */
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.products-cta p {
    font-size: var(--fs-body);
    color: #fff;
    margin-bottom: 25px;
}
.products-cta a{
    text-decoration: none;
    --color: #fff;
    font-family: inherit;
    display: inline-block;
    /* line-height: 2.5em; */
    /* margin: 20px; */
    padding: 10px 20px;
    /* position: relative; */
    cursor: pointer;
    overflow: hidden;
    border: 2px solid var(--color);
    transition: color 0.5s;
    z-index: 1;
    font-size: var(--fs-button);
    border-radius: 6px;
    font-weight: 500;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: var(--color);
}

.products-cta a:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--color);
  height: 150px;
  width: 200px;
  border-radius: 50%;
}

.products-cta a:hover {
  background-color: #fff;
  color: #4CAF50;
}

.products-cta a:before {
  top: 100%;
  left: 100%;
  transition: all 0.7s;
}

.products-cta a:hover:before {
  top: -30px;
  left: -30px;
}

.products-cta a:active:before {
  background: #4CAF50;
  transition: background 0s;
}

/* Animations */
.bounce-in {
    animation: bounceIn 1.5s ease-out;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.8); }
    60% { opacity: 1; transform: scale(1.1); }
    100% { transform: scale(1); }
}

.slide-in {
    animation: slideIn 1.5s ease-out;
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

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

.spin-icon {
    transition: transform 0.3s ease;
}

.product-card:hover .spin-icon {
    transform: rotate(360deg);
}



@media (max-width: 768px) {
    .products-hero {
        padding: 40px 10px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .products-container {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .product-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .products-cta {
        padding: 30px 10px;
    }

    /* .products-cta h2 {
        font-size: 1.8rem;
    }

    .products-cta p {
        font-size: 1rem;
    } */
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
/* 
    .product-info h3 {
        font-size: 1.5rem;
    }

    .product-info p {
        font-size: 1rem;
    } */
}

/* Premium Price List Styles */
.premium-price-list {
    max-width: 1200px;
    margin: 30px auto 80px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.premium-price-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #4CAF50 0%, #FFD700 100%);
}

.price-list-header {
    text-align: center;
    margin-bottom: 40px;
}

.header-content {
    position: relative;
    display: inline-block;
}

.price-list-header h3 {
    /* font-size: var(--fs-heading); */
    color: #4CAF50;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.effective-date {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    color: #666;
    font-size: var(--fs-caption);
    margin-top: 10px;
}

.header-decoration {
    width: 80px;
    height: 4px;
    background: #4CAF50;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Tabs Styling */
.price-list-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    color: #4CAF50;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    font-size: var(--fs-caption);
}

.tab-btn i {
    font-size: var(--fs-caption);
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(45deg, var(--accent-color) 0%, #FFD700 100%); */
    background-color: #4CAF50;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tab-btn:hover::before,
.tab-btn.active::before {
    opacity: 1;
}

.tab-btn:hover,
.tab-btn.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Price Grid Styling */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px;
}

.price-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #4CAF50, #FFD700);
    transition: height 0.3s ease;
}

.price-card:hover::before {
    height: 100%;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-card-content {
    position: relative;
    z-index: 1;
}

.price-card h4 {
    color: #247246;
    font-size: var(--fs-body);
    margin-bottom: 15px;
    font-weight: 600;
}

.price-tag {
    font-size: var(--fs-caption);
    color: #4CAF50;
    font-weight: 700;
    margin: 10px 0;
}

.unit {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(164, 164, 162, 0.1);
    border-radius: 12px;
    font-size: var(--fs-caption);
    color: #666;
    font-style: italic;
}

/* Featured and Premium Cards */
.price-card.featured::after,
.price-card.premium::after {
    content: '★ Popular';
    position: absolute;
    top: 15px;
    right: -35px;
    background: #4CAF50;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.price-card.premium::after {
    content: '★ Premium';
    background: #4CAF50;
}

/* Delivery Section */
.delivery-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px dashed rgba(0, 0, 0, 0.1);
}

.delivery-section h3 {
    /* font-size: var(--fs-heading); */
    color: #4CAF50;
    text-align: center;
    margin-bottom: 30px;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

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

.delivery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.delivery-card h4 {
    font-size: var(--fs-body);
    color: #247246;
    margin-bottom: 10px;
}

.delivery-price {
    font-size: var(--fs-caption);
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Category Display Logic */
.price-category {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.price-category.active {
    display: block;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .premium-price-list {
        margin: 20px;
        padding: 30px 20px;
    }

    /* .price-list-header h3 {
        font-size: 2em;
    } */

    /* .tab-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    } */

    .price-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        padding: 10px;
    }

    .price-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .premium-price-list {
        margin: 10px;
        padding: 20px 15px;
    }

    /* .price-list-header h3 {
        font-size: 1.8em;
    } */

    /* .tab-btn {
        padding: 8px 15px;
        font-size: 0.8em;
    } */

    .price-grid {
        grid-template-columns: 1fr;
    }

    .delivery-grid {
        grid-template-columns: 1fr;
    }
}