.page-hero {
    position: relative;
    min-height: clamp(260px, 32vw, 380px);
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    overflow: hidden;
    isolation: isolate;
    background-color: #0d47a1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: inherit;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 18%, rgba(133, 193, 247, 0.28), transparent 30%),
        linear-gradient(135deg, rgba(13, 71, 161, 0.92), rgba(21, 101, 192, 0.78));
}

.page-hero h1 {
    color: #ffffff !important;
    font-size: clamp(2.15rem, 4.7vw, 3.7rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
    margin-bottom: 1rem;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    font-weight: 550;
    line-height: 1.65;
    max-width: 760px;
    opacity: 1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

@media (max-width: 768px) {
    .page-hero {
        min-height: auto;
        padding-top: 64px !important;
        padding-bottom: 56px !important;
    }
    
    .page-hero h1 {
        font-size: clamp(2rem, 11vw, 2.65rem);
    }
}

/* Common styles for all pages */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.text-primary {
    color: #2a7f62 !important;
}

.bg-primary {
    background-color: #2a7f62 !important;
}

.btn-primary {
    background-color: #2a7f62;
    border-color: #2a7f62;
}

.btn-primary:hover {
    background-color: #236b52;
    border-color: #236b52;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #2a7f62;
}
