/* Page Header Styling */
.page-header {
    background: linear-gradient(135deg, #1e285d 0%, #2a3a7a 100%);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

/* Product Section Layout */
.products-page-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #1e285d;
    box-shadow: 4px 4px 0px 0px #1e285d;
}

.about-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 20px;
}

/* Unified Card Design (Feature & Admin) */
.feature-card,
.admin-card {
    background: #ffffff;
    border: 2px solid #1e285d;
    border-radius: 8px;
    box-shadow: 4px 4px 0px 0px #1e285d;
    padding: 35px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px 0px #1e285d;
}

.feature-card h4,
.admin-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.feature-card h6,
.admin-card h6 {
    font-size: 18px;
    font-weight: 700;
    color: #1e285d;
    margin-top: 20px;
    margin-bottom: 15px;
}

.feature-card ul li,
.admin-card ul li {
    margin-bottom: 12px;
    color: #444;
    font-size: 15px;
}

/* Product Card Styling (Listings & Recommendations) */
.product-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.product-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Technical Data Table Styling */
.admin-card .table {
    margin-bottom: 0;
}

.admin-card .table th,
.admin-card .table td {
    padding: 12px;
    vertical-align: middle;
    border-color: #e9ecef;
}

.admin-card .table thead th {
    background-color: #f8f9fa;
    color: #1e285d;
    font-weight: 600;
    border-bottom-width: 2px;
}

.admin-card .table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.03);
}

.admin-card .table small {
    font-size: 0.85em;
    color: #6c757d;
}

/* Button Styling */
.btn-primary-custom {
    background-color: #1e285d;
    color: #ffffff;
    border: 2px solid #1e285d;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #ffffff;
    color: #1e285d;
}

.btn-outline-custom {
    border: 2px solid #1e285d;
    color: #1e285d;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Specific Header for Talc PP */
.page-header.header-pp {
    background: linear-gradient(135deg, #1e285d 0%, #7d8ada 100%);
}

/* Animation Support for Product Pages */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
    transition-duration: 0.8s;
    transition-timing-function: ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Responsive adjustments for product pages */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 38px;
    }
    .about-text h3 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    .page-header h1 {
        font-size: 32px;
    }
    .about-text h3 {
        font-size: 24px;
    }
    .admin-card {
        padding: 25px; /* Adjust padding for smaller screens */
    }
}