.cap-pastor-section {
    --cap-blue: #0756c7;
    --cap-blue-dark: #032e80;
    --cap-blue-deep: #021b54;
    --cap-light-blue: #3b91ff;
    --cap-orange: #f39020;
    --cap-white: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    background:
        radial-gradient(circle at 88% 18%, rgba(81, 169, 255, .30), transparent 25%),
        radial-gradient(circle at 12% 75%, rgba(69, 150, 255, .24), transparent 27%),
        linear-gradient(125deg, #03255f 0%, #06449f 43%, #0768d7 100%);
    font-family: "DM Sans", sans-serif;
    isolation: isolate;
}

.cap-pastor-section *,
.cap-pastor-section *::before,
.cap-pastor-section *::after {
    box-sizing: border-box;
}

.cap-container {
    z-index: 5;
}

.cap-wave {
    position: absolute;
    width: 125%;
    height: 340px;
    border-radius: 42%;
    left: -12%;
    pointer-events: none;
}

.cap-wave-one {
    top: -170px;
    background: rgba(255,255,255,.07);
    transform: rotate(-4deg);
    animation: capWaveMove 12s ease-in-out infinite alternate;
}

.cap-wave-two {
    bottom: -230px;
    background: rgba(109,190,255,.12);
    transform: rotate(5deg);
    animation: capWaveMoveTwo 15s ease-in-out infinite alternate;
}

.cap-wave::before,
.cap-wave::after {
    content: "";
    position: absolute;
    inset: 25px 0 0;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: inherit;
}

.cap-wave::after {
    inset: 55px 0 0;
}

.cap-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.cap-glow-one {
    width: 320px;
    height: 320px;
    right: -80px;
    top: 45px;
    background: radial-gradient(circle, rgba(55,174,255,.30), transparent 68%);
    animation: capGlowMove 7s ease-in-out infinite alternate;
}

.cap-glow-two {
    width: 280px;
    height: 280px;
    left: -100px;
    bottom: -40px;
    background: radial-gradient(circle, rgba(118,194,255,.22), transparent 70%);
    animation: capGlowMove 9s ease-in-out infinite alternate-reverse;
}

.cap-particle {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(255,255,255,.7);
    box-shadow: 0 0 14px rgba(255,255,255,.65);
    animation: capParticleFloat 7s ease-in-out infinite;
}

.cap-p1 {
    width: 5px;
    height: 5px;
    left: 8%;
    top: 17%;
}

.cap-p2 {
    width: 8px;
    height: 8px;
    left: 16%;
    bottom: 13%;
    animation-delay: -2s;
}

.cap-p3 {
    width: 4px;
    height: 4px;
    left: 43%;
    top: 13%;
    animation-delay: -4s;
}

.cap-p4 {
    width: 6px;
    height: 6px;
    right: 16%;
    top: 18%;
    animation-delay: -1s;
}

.cap-p5 {
    width: 4px;
    height: 4px;
    right: 7%;
    bottom: 21%;
    animation-delay: -3s;
}

.cap-p6 {
    width: 7px;
    height: 7px;
    left: 54%;
    bottom: 12%;
    animation-delay: -5s;
}

.cap-p7 {
    width: 4px;
    height: 4px;
    right: 35%;
    top: 45%;
    animation-delay: -2s;
}

.cap-p8 {
    width: 5px;
    height: 5px;
    left: 31%;
    top: 7%;
    animation-delay: -4s;
}

.cap-image-column {
    position: relative;
    min-height: 475px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cap-photo-ring {
    position: relative;
    width: min(365px, 82vw);
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.72);
    box-shadow:
        0 0 0 7px rgba(255,255,255,.08),
        0 30px 60px rgba(0,22,77,.35);
    z-index: 3;
}

.cap-photo-ring::before {
    content: "";
    position: absolute;
    inset: -13px;
    border-radius: inherit;
    border: 1px solid rgba(143,207,255,.55);
}

.cap-photo-ring::after {
    content: "";
    position: absolute;
    inset: 13px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,.46);
    pointer-events: none;
    z-index: 3;
}

.cap-photo-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
}

.cap-pastor-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform .7s cubic-bezier(.2,.75,.3,1);
}

.cap-photo-ring:hover .cap-pastor-image {
    transform: scale(1.075);
}

.cap-image-graphic {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.16);
}

.cap-image-graphic-one {
    width: 420px;
    height: 420px;
}

.cap-image-graphic-two {
    width: 465px;
    height: 465px;
    border-style: dashed;
    animation: capSlowRotate 35s linear infinite;
}

.cap-cross-decoration {
    position: absolute;
    width: 59px;
    height: 59px;
    top: 43px;
    right: 16%;
    z-index: 8;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffb333;
    background: rgba(3,40,104,.88);
    border: 1px solid rgba(255,255,255,.4);
    box-shadow:
        0 0 0 6px rgba(255,255,255,.07),
        0 10px 30px rgba(0,0,0,.2);
    font-size: 25px;
    animation: capCrossPulse 2.5s ease-in-out infinite;
}

.cap-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 7;
    background: #82caff;
    box-shadow: 0 0 18px #6ebfff;
    animation: capLocalFloat 4s ease-in-out infinite;
}

.cap-dot-1 {
    width: 9px;
    height: 9px;
    top: 100px;
    left: 11%;
}

.cap-dot-2 {
    width: 5px;
    height: 5px;
    bottom: 115px;
    left: 9%;
    animation-delay: -1s;
}

.cap-dot-3 {
    width: 7px;
    height: 7px;
    right: 8%;
    bottom: 125px;
    animation-delay: -2s;
}

.cap-dot-4 {
    width: 4px;
    height: 4px;
    right: 14%;
    top: 152px;
    animation-delay: -3s;
}

.cap-pastor-badge {
    position: absolute;
    z-index: 10;
    left: 2%;
    bottom: 76px;
    min-width: 210px;
    padding: 9px 15px 9px 9px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #12386a;
    background: #fff;
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 13px 30px rgba(2,23,68,.27);
    animation: capBadgeFloat 4s ease-in-out infinite;
}

.cap-badge-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg,#f7a826,#e87b00);
    border-radius: 4px;
}

.cap-pastor-badge small,
.cap-pastor-badge strong {
    display: block;
}

.cap-pastor-badge small {
    color: #778397;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.cap-pastor-badge strong {
    margin-top: 1px;
    color: #083c89;
    font-size: 15px;
    font-weight: 800;
}

.cap-years-badge {
    position: absolute;
    right: 7%;
    bottom: 24px;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    color: #fff;
    background: rgba(1,31,90,.93);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 5px;
    box-shadow: 0 12px 30px rgba(0,19,63,.2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
}

.cap-years-badge i {
    color: #ffc45c;
    font-size: 15px;
}

.cap-content {
    position: relative;
    color: #fff;
}

.cap-small-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 11px;
    color: #cce8ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.cap-small-label > span {
    width: 27px;
    height: 2px;
    display: inline-block;
    background: #ffad2f;
}

.cap-small-label i {
    color: #ffb43f;
}

.cap-main-title {
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 4.6vw, 59px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 800;
}

.cap-main-title span {
    color: #aad9ff;
}

.cap-divider {
    width: 240px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 19px 0 21px;
}

.cap-divider-line {
    width: 89px;
    height: 1px;
    background: linear-gradient(90deg,#ffb23a,rgba(255,255,255,.85));
}

.cap-short-line {
    width: 48px;
    background: linear-gradient(90deg,rgba(255,255,255,.85),transparent);
}

.cap-divider-symbol {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #ffc25e;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    font-size: 12px;
}

.cap-subtitle {
    max-width: 720px;
    margin: 0 0 18px;
    color: #d9edff;
    font-size: clamp(17px,2vw,20px);
    line-height: 1.55;
    font-weight: 500;
}

.cap-highlight-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 19px;
    padding: 14px 18px;
    color: #172844;
    background:
        linear-gradient(130deg,rgba(255,255,255,.98),rgba(220,228,236,.95));
    border-left: 4px solid #ff9b17;
    border-radius: 5px;
    box-shadow: 0 13px 28px rgba(0,28,84,.17);
}

.cap-highlight-box::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -54px;
    top: -55px;
    border-radius: 50%;
    border: 18px solid rgba(126,145,168,.13);
}

.cap-highlight-decoration {
    position: absolute;
    right: 65px;
    bottom: -25px;
    width: 90px;
    height: 55px;
    border-radius: 50%;
    border: 1px dashed rgba(92,111,135,.25);
}

.cap-highlight-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    color: #fff;
    background: linear-gradient(145deg,#7d8996,#a6b0ba);
}

.cap-highlight-box strong {
    position: relative;
    z-index: 2;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 800;
}

.cap-description {
    max-width: 735px;
    margin: 0 0 20px;
    color: rgba(241,248,255,.88);
    font-size: 14px;
    line-height: 1.8;
}

.cap-features {
    margin-bottom: 21px;
}

.cap-feature {
    position: relative;
    overflow: hidden;
    min-height: 82px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 5px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.cap-feature:hover {
    transform: translateY(-4px);
}

.cap-feature-orange {
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%,rgba(255,255,255,.22),transparent 30%),
        linear-gradient(135deg,#ef8b16,#f7a52b);
    box-shadow: 0 10px 25px rgba(122,63,0,.18);
}

.cap-feature-silver {
    color: #152a47;
    background:
        radial-gradient(circle at 91% 12%,rgba(255,255,255,.9),transparent 28%),
        linear-gradient(135deg,#eef2f5,#cdd5dd);
    box-shadow: 0 10px 25px rgba(0,25,65,.13);
}

.cap-feature-pattern {
    position: absolute;
    width: 105px;
    height: 105px;
    border: 13px solid rgba(255,255,255,.14);
    border-radius: 50%;
    right: -36px;
    top: -43px;
}

.cap-feature-silver .cap-feature-pattern {
    border-color: rgba(87,108,129,.1);
}

.cap-feature-icon {
    position: relative;
    z-index: 2;
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    font-size: 21px;
}

.cap-feature-orange .cap-feature-icon {
    color: #ef8a10;
    background: #fff;
}

.cap-feature-silver .cap-feature-icon {
    color: #fff;
    background: linear-gradient(145deg,#66788c,#8293a5);
}

.cap-feature div:last-child {
    position: relative;
    z-index: 2;
}

.cap-feature small {
    display: block;
    margin-bottom: 1px;
    font-size: 10px;
    font-weight: 700;
    opacity: .77;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.cap-feature h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
}

.cap-button-wrap {
    display: flex;
}

.cap-read-more {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 17px;
    min-width: 151px;
    padding: 6px 7px 6px 19px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 5px;
    color: #093a83;
    background: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0,20,68,.18);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        color .3s ease;
}

.cap-read-more::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,transparent 25%,rgba(73,174,255,.25) 50%,transparent 75%);
    transform: translateX(-120%);
    transition: transform .7s ease;
}

.cap-read-more:hover::before {
    transform: translateX(120%);
}

.cap-read-more:hover {
    color: #fff;
    background: #0b70dc;
    transform: translateY(-3px);
    box-shadow:
        0 14px 30px rgba(0,20,70,.22),
        0 0 24px rgba(94,178,255,.38);
}

.cap-read-more > span {
    position: relative;
    z-index: 2;
}

.cap-button-arrow {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-left: auto;
    border-radius: 4px;
    color: #fff;
    background: linear-gradient(145deg,#f6a82d,#ec8511);
    transition: transform .3s ease;
}

.cap-read-more:hover .cap-button-arrow {
    transform: translateX(3px);
}

@keyframes capWaveMove {
    from {
        transform: translateX(-2%) rotate(-4deg);
    }
    to {
        transform: translateX(5%) rotate(-1deg);
    }
}

@keyframes capWaveMoveTwo {
    from {
        transform: translateX(2%) rotate(5deg);
    }
    to {
        transform: translateX(-5%) rotate(2deg);
    }
}

@keyframes capGlowMove {
    0% {
        transform: translate(0,0) scale(.95);
        opacity: .65;
    }
    100% {
        transform: translate(-28px,22px) scale(1.12);
        opacity: 1;
    }
}

@keyframes capParticleFloat {
    0%,100% {
        transform: translateY(0);
        opacity: .4;
    }
    50% {
        transform: translateY(-24px);
        opacity: 1;
    }
}

@keyframes capLocalFloat {
    0%,100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-13px) scale(1.25);
    }
}

@keyframes capCrossPulse {
    0%,100% {
        transform: scale(1);
        box-shadow:
            0 0 0 6px rgba(255,255,255,.07),
            0 10px 30px rgba(0,0,0,.2);
    }
    50% {
        transform: scale(1.08);
        box-shadow:
            0 0 0 11px rgba(255,184,58,.09),
            0 0 25px rgba(255,181,54,.35);
    }
}

@keyframes capBadgeFloat {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes capSlowRotate {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991.98px) {
    .cap-pastor-section {
        padding: 58px 0;
    }

    .cap-image-column {
        min-height: 450px;
        margin-bottom: 8px;
    }

    .cap-content {
        max-width: 760px;
        margin: auto;
        text-align: center;
    }

    .cap-small-label,
    .cap-divider,
    .cap-button-wrap {
        justify-content: center;
    }

    .cap-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .cap-subtitle,
    .cap-description {
        margin-left: auto;
        margin-right: auto;
    }

    .cap-highlight-box {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .cap-pastor-section {
        padding: 46px 0 50px;
    }

    .cap-image-column {
        min-height: 390px;
    }

    .cap-photo-ring {
        width: min(292px,78vw);
    }

    .cap-image-graphic-one {
        width: 330px;
        height: 330px;
    }

    .cap-image-graphic-two {
        width: 355px;
        height: 355px;
    }

    .cap-cross-decoration {
        width: 47px;
        height: 47px;
        right: 5%;
        top: 31px;
        font-size: 20px;
    }

    .cap-pastor-badge {
        left: 3%;
        bottom: 59px;
        min-width: 178px;
        padding: 7px 10px 7px 7px;
    }

    .cap-badge-icon {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .cap-pastor-badge strong {
        font-size: 13px;
    }

    .cap-pastor-badge small {
        font-size: 9px;
    }

    .cap-years-badge {
        right: 2%;
        bottom: 10px;
        padding: 8px 10px;
        font-size: 10px;
    }

    .cap-main-title {
        letter-spacing: -1px;
    }

    .cap-highlight-box {
        align-items: flex-start;
        padding: 13px;
    }

    .cap-highlight-box strong {
        font-size: 13px;
    }

    .cap-description {
        font-size: 13px;
    }

    .cap-feature {
        min-height: 74px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cap-pastor-section *,
    .cap-pastor-section *::before,
    .cap-pastor-section *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
</style>

<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>

<script>
document.addEventListener("DOMContentLoaded", function () {
    if (typeof AOS !== "undefined") {
        AOS.init({
            duration: 850,
            once: true,
            offset: 60,
            easing: "ease-out-cubic"
        });
    }
});