/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,91,150,0.82) 0%, rgba(0,0,0,0.55) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 700px;
}

.page-hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-hero-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 580px;
    line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.breadcrumb a:hover { color: #27AE60; }
.breadcrumb span { color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.breadcrumb span:last-child { color: #27AE60; font-size: 0.88rem; }

/* ===== CATEGORIES SECTION ===== */
.cat-section {
    padding: 80px 0;
    background: var(--light);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 9px 22px;
    border: 2px solid #ddd;
    background: var(--white);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

/* Category Grid */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cat-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 45px rgba(0,0,0,0.13);
}

.cat-card.hidden { display: none; }

/* Card Image */
.cat-img {
    position: relative;
    overflow: hidden;
}

.cat-img img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.cat-card:hover .cat-img img { transform: scale(1.06); }

.cat-img-icon {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cat-img-placeholder i {
    font-size: 5rem;
    color: rgba(255,255,255,0.25);
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,91,150,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.cat-card:hover .cat-overlay { opacity: 1; }

.cat-view-btn {
    background: var(--white);
    color: var(--blue);
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, color 0.3s;
}

.cat-view-btn:hover { background: var(--green); color: var(--white); }

/* Card Body */
.cat-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cat-icon {
    width: 44px;
    height: 44px;
    background: #eef4fb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.cat-icon i { color: var(--blue); font-size: 1.2rem; }

.cat-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.cat-body > p {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.cat-list {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
}

.cat-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #555;
    font-weight: 500;
}

.cat-list li i { color: var(--green); font-size: 0.7rem; flex-shrink: 0; }

.cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    padding: 11px 22px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    margin-top: auto;
    justify-content: center;
}

.cat-btn:hover { background: var(--green); transform: translateY(-2px); }

/* ===== MATERIAL GRADES STRIP ===== */
.grades-strip {
    background: var(--blue);
    padding: 40px 0;
}

.grades-strip h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.grades-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.grades-list span {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.3s;
}

.grades-list span:hover { background: var(--green); border-color: var(--green); }

/* ===== CTA BANNER ===== */
.prod-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

.prod-cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.prod-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,91,150,0.88), rgba(0,0,0,0.65));
}

.prod-cta-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.prod-cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.prod-cta-content p {
    font-size: 1rem;
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.prod-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    padding: 13px 32px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.btn-cta-wa:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .page-hero { height: 320px; }
    .page-hero-content h1 { font-size: 2rem; }
    .page-hero-content p { font-size: 0.92rem; }
    .cat-grid { grid-template-columns: 1fr; }
    .cat-list { grid-template-columns: 1fr; }
    .filter-tabs { gap: 8px; }
    .filter-btn { padding: 7px 16px; font-size: 0.82rem; }
    .prod-cta-content h2 { font-size: 1.8rem; }
}
