/* HERO */
.products-hero {
    background: linear-gradient(rgba(25,118,210,.9), rgba(25,118,210,.9)),
    url('../images/Blister_Packaging_Desktop_Banner.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* SECTIONS */
.products-section {
    padding: 80px 0;
}

.packaging-section {
    background: #f5f7fa;
}

/* SECTION TITLE */
.section-title.center {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1976d2;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
}

/* GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

/* CARD */
.product-item {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: all .4s ease;
    position: relative;
}

.product-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #1976d2, #42a5f5);
    transition: .4s;
}

.product-item:hover::after {
    width: 100%;
}

.product-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(25,118,210,.25);
}

/* IMAGE */
.product-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.12);
}

/* BADGE - Circle */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 6px 18px rgba(25,118,210,.35);
    z-index: 2;
}

/* optional hover glow */
.product-item:hover .product-badge {
    box-shadow: 0 0 0 6px rgba(25,118,210,.15);
}

/* DETAILS */
.product-details {
    padding: 30px 25px;
}

.product-details h3 {
    font-size: 1.25rem;
    color: #1976d2;
    margin-bottom: 12px;
    position: relative;
}

.product-details h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #1976d2;
    margin-top: 8px;
    border-radius: 2px;
}

.product-desc {
    color: #555;
    line-height: 1.7;
    font-size: .95rem;
}


.product-item:hover {
    transform: translateY(-10px);
}

/* IMAGE */
.product-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BADGE */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e53935;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: .8rem;
}

/* DETAILS */
.product-details {
    padding: 25px;
}

.product-details h3 {
    color: #1976d2;
    margin-bottom: 10px;
}

.product-desc {
    color: #555;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width:1024px){
    .products-grid{
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:768px){
    .products-grid{
        grid-template-columns: 1fr;
    }

    .products-hero h1{
        font-size: 2.2rem;
    }
}
/* Toggle Buttons */
.toggle-section {
    padding: 30px 0;
    text-align: center;
}

.toggle-buttons {
    display: inline-flex;
    gap: 20px;
}

.toggle-btn {
    padding: 12px 30px;
    font-size: 1rem;
    border: 2px solid #1976d2;
    border-radius: 30px;
    background: #fff;
    color: #1976d2;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn.active,
.toggle-btn:hover {
    background: #1976d2;
    color: #fff;
}
