﻿/* SCOPED STYLES - ONLY FOR PAGES WITH .page-heading CLASS */

.page-heading {
    position: relative;
    background: linear-gradient(135deg, rgba(17,92,64,0.92) 0%, rgba(255,107,53,0.88) 100%), repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
    margin-bottom: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.page-heading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.page-heading::after {
    content: "📚 ✏️ 🎓 📖 🏫";
    position: absolute;
    font-size: 130px;
    opacity: 0.28;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 65px;
    white-space: nowrap;
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.5));
}

.page-heading .container { position: relative; z-index: 2; }

.page-heading .page-title {
    font-family: "Poppins","Dosis",sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin: 0 0 15px 0;
    text-transform: capitalize;
    letter-spacing: 1px;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.4), 0 0 30px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.page-heading .title-under {
    display: inline-block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    margin: 15px auto;
    border-radius: 3px;
    box-shadow: 0 3px 15px rgba(251,191,36,0.5);
}

.page-heading .page-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    line-height: 1.6;
}

/* BREADCRUMBS */
.breadcrumb-modern {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(15px);
    padding: 15px 40px;
    margin: 0;
    text-align: center;
    font-size: 1.3rem;
    list-style: none;
    border-radius: 12px;
    border: 3px solid rgba(255,255,255,0.45);
    box-shadow: 0 6px 30px rgba(0,0,0,0.7);
    display: inline-block;
}

.breadcrumb-modern li {
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 4px 4px 15px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,0.9);
}

.breadcrumb-modern li a {
    color: #fbbf24;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 4px 4px 15px rgba(0,0,0,1), 0 0 35px rgba(251,191,36,0.9);
    transition: all 0.3s;
}

.breadcrumb-modern li a:hover {
    color: #fcd34d;
    text-shadow: 4px 4px 18px rgba(0,0,0,1), 0 0 40px rgba(251,191,36,1);
    transform: scale(1.12);
}

.breadcrumb-modern li + li:before {
    content: "›";
    padding: 0 18px;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    text-shadow: 4px 4px 15px rgba(0,0,0,1);
}

/* INNER PAGE CONTENT - SIBLING OF .page-heading ONLY */
.page-heading ~ .container p,
.page-heading ~ .container .row p,
.page-heading ~ div p {
    font-size: 1.3rem;
    line-height: 1.9;
    color: #2d3748;
    margin-bottom: 1.4rem;
}

.page-heading ~ .container h2,
.page-heading ~ .container .row h2,
.page-heading ~ div h2 {
    font-size: 2.5rem;
    margin-bottom: 1.6rem;
    line-height: 1.3;
    color: #1a202c;
}

.page-heading ~ .container h3,
.page-heading ~ .container .row h3,
.page-heading ~ div h3 {
    font-size: 2.1rem;
    margin-bottom: 1.4rem;
    line-height: 1.4;
    color: #2d3748;
}

.page-heading ~ .container h4,
.page-heading ~ .container .row h4,
.page-heading ~ div h4 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    color: #2d3748;
}

.page-heading ~ .container ul li,
.page-heading ~ .container ol li,
.page-heading ~ .container .row ul li,
.page-heading ~ .container .row ol li {
    font-size: 1.25rem;
    line-height: 1.9;
    margin-bottom: 0.8rem;
    color: #2d3748;
}

@media (max-width: 768px) {
    .page-heading { min-height: 200px; padding: 40px 15px 30px; margin-bottom: 40px; }
    .page-heading .page-title { font-size: 2rem; }
    .page-heading::after { font-size: 55px; letter-spacing: 35px; }
    .breadcrumb-modern { font-size: 1.15rem; padding: 12px 28px; }
    .breadcrumb-modern li + li:before { padding: 0 12px; font-size: 1.4rem; }
    .page-heading ~ .container p, .page-heading ~ div p { font-size: 1.15rem; }
    .page-heading ~ .container h2, .page-heading ~ div h2 { font-size: 2rem; }
    .page-heading ~ .container h3, .page-heading ~ div h3 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .page-heading .page-title { font-size: 1.7rem; }
    .page-heading::after { font-size: 42px; letter-spacing: 22px; }
    .breadcrumb-modern { font-size: 1.05rem; padding: 11px 22px; }
    .page-heading ~ .container p, .page-heading ~ div p { font-size: 1.05rem; }
    .page-heading ~ .container h2, .page-heading ~ div h2 { font-size: 1.8rem; }
}

