.impact-card-text a {
    color: initial;
    text-decoration: none;
}

section {
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.text-white p{
	color: #fff;
}

.sec-space {
    padding: 80px 15px;
}

.lh-11 {
    line-height: 1.1;
}

.lh-12 {
    line-height: 1.2;
}

.lh-13 {
    line-height: 1.3;
}

.fs14 {
    font-size: 14px !important;
}

.fs16 {
    font-size: 16px !important;
}

.fs18 {
    font-size: 18px !important;
}

.fs24 {
    font-size: 24px !important;
}

.fs36 {
    font-size: 36px !important;
}




.sec-heading {
    font-size: 36px;
    position: relative;
    display: inline-block;
    color: var(--black);
    font-weight: 700;
}


.main-heading {
    font-size: 36px;
    color: var(--black);
    font-weight: 700;
}

.sec-sub-title {
    font-size: 20px;
}

.sec-desc {
    font-size: 18px;
}
.sec-b-desc p {
    font-size: 20px;
}

.highlighted_text {
    color: var(--red);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}


p {
    font-size: 18px;
    color: #000;
    font-weight: normal;
    line-height: 1.2;
}

.inside-banner-sec {
    min-height: 580px;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    background-position: right center;
}

/* Home banner */

section.home-banner-sec {
    min-height: 680px;
    background-position: right center;
    display: flex;
    align-content: center;
    flex-wrap: wrap;	
}

.banner-heading {
    font-size: 48px;
}

.banner-sub-heading {
    font-size: 24px;
}

.banner-desc,
.banner-desc p {
    font-size: 20px;
}

.more-than-thanks-ribbon-wrap {
    display: inline-flex;
    filter: drop-shadow(0px 8px 14px rgba(0, 0, 0, 0.25));
    margin-top: 15px;
}

.more-than-thanks-ribbon {
    position: relative;
    background-color: #e1e6f2;
    clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 50%, 100% 100%, 0 100%);
    padding: 18px 55px 18px 24px;
    display: inline-flex;
    align-items: center;
    text-align: left;
    max-width: 355px;
}

.more-than-thanks-ribbon .ribbon-arrow-svg-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.more-than-thanks-ribbon .ribbon-text {
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    line-height: 1.35;
    letter-spacing: -0.15px;
}

.more-than-thanks-sec .side-image {
    position: relative;
    display: inline-block;
}



.more-than-thanks-sec .side-image:after {
    content: "";
    background: #afbad4;
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.side-image-stars {
    position: absolute;
    bottom: 30px;
    right: 0px;
    background: #afbad4;
    padding: 8px 12px 9px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0%, 100% 0%, 100% 0%, 100% 100%, 0% 100%, 15% 100%, 0% 0%);
}

.side-image-stars .star-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    border: none;
    border-radius: 0;
}

.side-image-overlay-bottom {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 2;
}

.side-image-stars-badge {
    background: #afbad4;
    padding: 4px 10px 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
}

.side-image-overlay-bottom .side-image-stars-badge {
    left: -25px;
    position: relative;
}

.side-image-overlay-text {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.more-than-thanks-rcol {
    display: flex;
    justify-content: flex-end;
}

.more-than-thanks-rcol-inner {
    max-width: 540px;
}


/* Our Mission */

.sec-heading-wrap {
    margin-bottom: 50px;
}

.mission-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 12px rgba(0, 14, 34, 0.15);
    border-radius: 10px;
}

.mission-btn {
    margin-bottom: -50px !important;
}

.sec-heading:before,
.sec-heading:after {
    content: "";
    background: url(https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/images/star-icon.webp);
    width: 21px;
    height: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.sec-heading:before {
    left: -40px;
}

.sec-heading:after {
    right: -40px;
}


/* Impact Card */

.impact-card-row {
    gap: 40px;
    margin-top: 70px;
    justify-content: space-between;
}

.impact-card-row>div {
    position: relative;
}

/* Normal state: left-to-right stacking so arrows sit on top of the next box */
.impact-card-row>div:nth-child(1) {
    z-index: 4;
}

.impact-card-row>div:nth-child(2) {
    z-index: 3;
}

.impact-card-row>div:nth-child(3) {
    z-index: 2;
}

.impact-card-row>div:nth-child(4) {
    z-index: 1;
}

.impact-card-col {
    position: relative;
    width: 22%;
    max-width: 100%;
    margin-left: -12px;
    cursor: pointer;
    /* Initially hidden before sequential display */
    opacity: 0;
    visibility: hidden;
    transform: translateY(35px) scale(0.92);
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1),
        z-index 0.25s ease;
}

.impact-card-col:first-child {
    margin: 0;
}

/* Revealed state (normal resting state once entrance completes) */
.impact-card-col.is-revealed {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Active Step / Hovered State - Elevates above all arrows and neighboring boxes */
.impact-card-col.is-active,
.impact-card-col.is-revealed:hover {
    z-index: 20 !important;
    pointer-events: auto;
}

/* Connecting Arrow - on normal state overlaps next box; behind when active */
.impact-card-col:after {
    content: "";
	background: url(https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/images/red_progress_arrow.webp);
    background-size: contain;
    background-repeat: no-repeat;
    width: 116px;
    height: 58px;
    position: absolute;
    right: -90px;
    top: 26%;
    z-index: 1;
    filter: drop-shadow(10px 0px 5px rgba(194, 26, 30, 0.36));
    opacity: 0;
    visibility: hidden;
    transform: translateX(-35px) scaleX(0.2);
    transform-origin: left center;
    transition: opacity 0.4s ease,
        transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
        filter 0.35s ease;
    pointer-events: none;
}

/* Arrow revealed between steps (normal resting state) */
.impact-card-col.arrow-revealed:after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scaleX(1);
}

.impact-card-col.arrow-revealed.is-active:after,
.impact-card-col.arrow-revealed:hover:after {
    filter: drop-shadow(12px 0px 8px rgba(194, 26, 30, 0.6)) drop-shadow(0 0 10px rgba(255, 224, 11, 0.5));
}

.impact-card-col:last-child:after {
    display: none !important;
}

.impact-card {
    background: linear-gradient(120deg, #f1f1f1 0%, #bbbbbb 100%);
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 40px 30px 30px 25px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    box-shadow: 0 8px 18px rgba(0, 14, 34, 0.15);
}

/* Active Card Pop Out (elevates in front of outgoing and incoming arrows) */
.impact-card-col.is-active .impact-card,
.impact-card-col.is-revealed:hover .impact-card {
    transform: translateY(-12px) scale(1.04);
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 60%, #e1e7f0 100%);
    border-color: var(--yellow);
    box-shadow: 0 20px 40px rgba(0, 14, 34, 0.28), 0 0 25px rgba(255, 224, 11, 0.35);
}

.impact-card-col.is-active .impact-card-heading,
.impact-card-col.is-revealed:hover .impact-card-heading {
    color: var(--blue) !important;
}

.impact-card:after {
    content: "";
    background: url(https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/images/big-star-icon.webp);
    bottom: -45px;
    right: -45px;
    position: absolute;
    width: 144px;
    height: 137px;
    opacity: 0.6;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.impact-card-col.is-active .impact-card:after,
.impact-card-col.is-revealed:hover .impact-card:after {
    transform: scale(1.18) rotate(22deg);
    opacity: 1;
}

.impact-keywords-wrap {
    margin-top: 50px;
    position: relative;
}

.impact-keywords {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
}

.impact-keyword a {
    color: inherit;
    text-decoration: none;
}

.impact-keyword {
    position: relative;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.45s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.3s ease,
        text-shadow 0.3s ease;
}

.impact-keyword.is-revealed {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.impact-keyword.is-active,
.impact-keyword.is-revealed:hover {
    color: var(--yellow) !important;
    transform: scale(1.1) !important;
    text-shadow: 0 0 16px rgba(255, 224, 11, 0.7);
}

.impact-keyword:after {
    content: "";
    background: url(https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/images/red-star-icon.webp);
    width: 21px;
    height: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -45px;
    pointer-events: none;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.impact-keyword.is-active:after,
.impact-keyword.is-revealed:hover:after {
    transform: translateY(-50%) scale(1.35) rotate(25deg);
    filter: drop-shadow(0 0 8px rgba(255, 224, 11, 0.8));
}

.impact-keyword:last-child:after {
    display: none;
}

.impact-card-col:before {
    content: "";
	background: url(https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/images/yellow-star.webp);
    width: 66px;
    height: 63px;
    position: absolute;
    top: -38px;
    left: -20px;
    z-index: 9;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.impact-card-col.is-active:before,
.impact-card-col:hover:before {
    transform: translateY(-12px) scale(1.2) rotate(15deg);
    filter: drop-shadow(0 0 12px rgba(255, 224, 11, 0.95));
}

.impact-card-counter {
    position: absolute;
    z-index: 9;
    top: -16px;
    left: 7px;
    font-size: 18px;
    font-weight: bold;
    user-select: none;
    pointer-events: none;
    transition: transform 0.35s ease;
}

.impact-card-col.is-active .impact-card-counter,
.impact-card-col:hover .impact-card-counter {
    transform: translateY(-12px) scale(1.15);
}

.beyond-thank-you-sec .row {
    margin: 0;
}

.beyond-card {
    background-size: cover;
    background-position: top center;
    height: 500px;
    transition: background-size 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.beyond-card:hover {
    background-size: 110% 110%;
}

.beyond-card-content {
    padding: 30px 25px 35px 25px;
    justify-content: flex-end;
    background-size: cover;
}

.beyond-card-btn {
    max-width: 270px;
    justify-content: space-between !important;
}

.beyond-card-yellow-text {
    font-size: 16px;
    line-height: 1.35;
}


/* =========================================================
   A Book That Teaches / Book Feature Section
   ========================================================= */

.book-teaches-sec {
    background-color: #ffffff;
    position: relative;
}

.book-mission-subheading {
    font-size: 24px;
    font-weight: 700;
    margin-top: 42px;
    margin-bottom: 26px;
}

.book-feature-card {
    border: 1px solid #89a2c9;
    border-radius: 5px;
    padding: 24px 16px 20px 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 16px 23px rgb(0 0 0 / 10%);
    background: linear-gradient(180deg, #fff 0%, #e8ecf2 100%);
}

.book-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(2, 29, 69, 0.1);
}

.book-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.book-icon-svg {
    width: 44px;
    height: 44px;
}

.book-footnote {
    font-size: 14px;
    line-height: 1.2;
    color: var(--red);
    font-style: italic;
    font-weight: 700;
    margin-top: 55px;
}

.book-showcase-col {
    position: relative;
}

.book-showcase-col .book-3d-interactive-wrap {
    max-width: 480px;
    padding-top: 50px;
}

.book-showcase-col .book-3d-stage {
    --book-width: 420px;
    --book-height: 660px;
    --book-depth: 38px;
}

.book-teaches-sec .main-heading {
    margin-top: -50px;
}

.book-desc-wrap {
    max-width: 505px;
}


/* =========================================================
   3D Full Geometric Interactive Book Box & 360 Orbit
   ========================================================= */

.book-3d-interactive-wrap {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

/* 3D Orbit Stage / Viewport */
.book-3d-stage {
    /* =========================================================
       DEFAULT BOOK DIMENSIONS (Overridable by parent section)
       ========================================================= */
    --book-width: 420px;
    --book-height: 660px;
    --book-depth: 38px;

    /* Automatic Calculated Derived Geometry */
    --book-half-depth: calc(var(--book-depth) / 2);
    --book-page-inset: 5px;
    --book-page-width: calc(var(--book-width) - (var(--book-page-inset) * 2));
    --book-page-height: calc(var(--book-height) - (var(--book-page-inset) * 2));
    --book-page-depth: calc(var(--book-depth) - 4px);
    --book-half-page-depth: calc(var(--book-page-depth) / 2);

    position: relative;
    width: 100%;
    max-width: var(--book-width);
    height: var(--book-height);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.book-3d-stage.is-dragging {
    cursor: grabbing;
}

/* 3D Orbit Pivot */
.book-3d-pivot {
    position: relative;
    width: var(--book-width);
    height: var(--book-height);
    transform-style: preserve-3d;
    transform-origin: center center;
    will-change: transform;
}

/* 3D Book Box Mesh */
.book-3d-box {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--book-width);
    height: var(--book-height);
    transform-style: preserve-3d;
    transform-origin: center center;
}

/* Base Book Face */
.book-face {
    position: absolute;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
}

/* 1. FRONT COVER */
.book-face.face-front {
    width: var(--book-width);
    height: var(--book-height);
    top: 0;
    left: 0;
    transform: translateZ(var(--book-half-depth));
    border-radius: 0 5px 5px 0;
    overflow: hidden;
    background-color: #021d45;
    box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.2);
}

.book-face.face-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 2. BACK COVER */
.book-face.face-back {
    width: var(--book-width);
    height: var(--book-height);
    top: 0;
    left: 0;
    transform: rotateY(180deg) translateZ(var(--book-half-depth));
    border-radius: 5px 0 0 5px;
    overflow: hidden;
    background-color: #021d45;
    box-shadow: inset 2px 0 4px rgba(0, 0, 0, 0.2);
}

.book-face.face-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dynamic Glare on Front & Back covers */
.book-face-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0.6;
    mix-blend-mode: overlay;
    transition: opacity 0.3s ease;
}

/* Hardcover Crease Line near Spine */
.book-cover-crease {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    width: 3px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.2));
    z-index: 6;
    pointer-events: none;
}

.book-cover-crease.crease-right {
    left: auto;
    right: 18px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.2));
}

/* 3. SPINE (Left Face) */
.book-face.face-spine {
    width: var(--book-depth);
    height: var(--book-height);
    top: 0;
    left: calc(-1 * var(--book-half-depth));
    transform: rotateY(-90deg);
    background: linear-gradient(to right, #01132e 0%, #032b69 35%, #021d45 70%, #011430 100%);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spine-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.spine-headband {
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(to right, #c21a1e 0px, #c21a1e 4px, #ead01d 4px, #ead01d 8px);
}

.spine-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    transform: rotate(180deg);
    max-height: 200px;
}

.spine-author {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #ead01d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transform: rotate(180deg);
}

.spine-star {
    color: #ead01d;
    font-size: 10px;
}

/* 4. PAGE BLOCK (Right Face) */
.book-face.face-right {
    width: var(--book-page-depth);
    height: var(--book-page-height);
    top: var(--book-page-inset);
    right: calc(-1 * var(--book-half-page-depth));
    transform: rotateY(90deg);
    background: #fbf7ee;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* 5. TOP EDGE (Top Pages) */
.book-face.face-top {
    width: var(--book-page-width);
    height: var(--book-page-depth);
    top: calc(-1 * var(--book-half-page-depth));
    left: var(--book-page-inset);
    transform: rotateX(90deg);
    background: #fbf7ee;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* 6. BOTTOM EDGE (Bottom Pages) */
.book-face.face-bottom {
    width: var(--book-page-width);
    height: var(--book-page-depth);
    bottom: calc(-1 * var(--book-half-page-depth));
    left: var(--book-page-inset);
    transform: rotateX(-90deg);
    background: #fbf7ee;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.pages-texture {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(to bottom, #fbf7ee 0px, #fbf7ee 1px, #ede2cc 2px, #e1d3b7 3px);
}

.book-face.face-top .pages-texture,
.book-face.face-bottom .pages-texture {
    background: repeating-linear-gradient(to right, #fbf7ee 0px, #fbf7ee 1px, #ede2cc 2px, #e1d3b7 3px);
}

/* Dynamic Floor Shadow */
.book-3d-floor-shadow {
    position: absolute;
    bottom: -40px;
    left: 5%;
    width: 90%;
    height: 38px;
    background: radial-gradient(ellipse at center, rgba(2, 29, 69, 0.45) 0%, rgba(2, 29, 69, 0) 75%);
    border-radius: 50%;
    filter: blur(10px);
    transform: rotateX(90deg) translateZ(-40px);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Drag Hint Badge */
.book-3d-drag-hint {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(2, 29, 69, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: opacity 0.3s ease;
    z-index: 20;
}

.book-3d-stage.is-dragging .book-3d-drag-hint,
.book-3d-stage.has-interacted .book-3d-drag-hint {
    opacity: 0.25;
}

.book-3d-stage:hover .book-3d-drag-hint {
    opacity: 0.9;
}



/* Ribbon Banner */
.book-sales-ribbon-wrap {
    display: inline-flex;
    position: absolute;
    left: -285px;
    top: 28px;
    z-index: 10;
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.35));
    pointer-events: auto;
}

.book-sales-ribbon {
    position: relative;
    background-color: #e2e7f3;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 25px 50%);
    padding: 18px 15px 18px 45px;
    display: inline-flex;
    align-items: center;
    text-align: left;
    max-width: 315px;
}

.book-sales-ribbon .ribbon-arrow-svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.book-sales-ribbon .ribbon-text {
    font-size: 17px;
    font-weight: 400;
    color: #000000;
    line-height: 1.35;
    letter-spacing: -0.15px;
}

.book-showcase-actions .btn-vet {
    min-width: 200px;
    justify-content: center;
}

.book-showcase-actions {
    margin-top: 50px;
}

/* =========================================================
   Teaching The Next Generation Section
   ========================================================= */

.teaching-next-generation-sec {
    position: relative;
}

.teaching-text {
    margin: 36px 0 50px 0;
}

.teaching-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.teaching-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 35px 18px;
    border: 1px solid #8da9d0;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 20, 50, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background: linear-gradient(105deg, #ffffff 0%, #e8ecf2 100%);
}

.teaching-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 20, 50, 0.08);
}


.teaching-card-content {
    flex: 1;
    min-width: 0;
}

.teaching-card-check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #6bb73d;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    margin-left: auto;
    position: absolute;
    top: -12px;
    right: -12px;
    border: 2px solid #89a2c9;
    border-radius: 100%;
}

.teaching-card-text {
    letter-spacing: -0.2px;
}


/* =========================================================
   Your Support Creates Impact
   ========================================================= */

.support-creates-impact-sec {
    background-color: #f5f5f5;
}

.impact-stat-card {
    position: relative;
    border: 1px solid #89a2c9;
    padding: 35px 28px 35px 50px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(15deg, #fff 0%, #e8ecf2 100%);
    box-shadow: 0 16px 23px 0 rgba(0, 21, 43, 0.1);
}

.impact-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(2, 29, 69, 0.12);
}

.impact-stat-star {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 20px;
    height: 20px;
    object-fit: contain;
    transform-origin: center center;
    animation: starZoomBlink 2.8s ease-in-out infinite;
    will-change: transform, opacity, filter;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

/* Staggered animation delays for organic twinkling effect */
.impact-stats-row>div:nth-child(1) .impact-stat-star {
    animation-delay: 0s;
}

.impact-stats-row>div:nth-child(2) .impact-stat-star {
    animation-delay: 0.55s;
}

.impact-stats-row>div:nth-child(3) .impact-stat-star {
    animation-delay: 1.1s;
}

.impact-stats-row>div:nth-child(4) .impact-stat-star {
    animation-delay: 1.65s;
}

.impact-stats-row>div:nth-child(5) .impact-stat-star {
    animation-delay: 2.2s;
}

/* Interactive card hover boost */
.impact-stat-card:hover .impact-stat-star {
    animation-play-state: paused;
    transform: scale(1.45) rotate(45deg);
    filter: drop-shadow(0 0 8px rgba(234, 208, 29, 0.95)) drop-shadow(0 0 16px rgba(194, 26, 30, 0.45));
}

@keyframes starZoomBlink {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.75;
        filter: drop-shadow(0 0 0px rgba(234, 208, 29, 0));
    }

    40% {
        transform: scale(1.32) rotate(12deg);
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(234, 208, 29, 0.9)) drop-shadow(0 0 12px rgba(255, 224, 11, 0.5));
    }

    70% {
        transform: scale(0.92) rotate(-6deg);
        opacity: 0.7;
        filter: drop-shadow(0 0 2px rgba(234, 208, 29, 0.3));
    }
}

.impact-stat-icon {
    margin-right: 18px;
    min-width: 65px;
}

.impact-stat-content {
    flex: 1;
}

.impact-stat-number {
    font-size: 60px;
    font-weight: 300;
    color: #000;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: 0;
}

.impact-stat-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/* =========================================================
   Ways to Support Section (Split Screen)
   ========================================================= */

.ways-to-support-sec {
    overflow: hidden;
    position: relative;
}

.ways-support-checklist .check-icon,
.ways-support-right .check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon-img {
    width: 27px;
    height: 24px;
    object-fit: contain;
}

.ways-support-checklist .check-text,
.ways-support-right .check-text {
    font-size: 18px;
    line-height: 1.3;
}

.ways-support-book-wrap {
    position: relative;
    z-index: 3;
}

.ways-support-book-img {
    max-height: 440px;
    width: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}

.ways-support-book-img:hover {
    transform: scale(1.03) translateY(-4px);
}

.ways-to-support-sec:before {
    position: absolute;
    content: "";
    width: 50%;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    z-index: -1;
    background-image: url(https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/images/veterans-matters.webp);
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

.ways-to-support-sec:after {
    position: absolute;
    content: "";
    background: url(https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/images/ranks.webp);
    width: 50%;
    display: block;
    top: 0;
    right: 0;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.ways-support-left {
    padding-right: 40px;
    padding-bottom: 100px;
}

.ways-support-right {
    display: flex;
    justify-content: flex-end;
    padding-left: 40px;
    padding-bottom: 100px;
}

.ways-support-left-content {
    max-width: 560px;
    width: 100%;
}

.ways-support-right-content {
    max-width: 560px;
    width: 100%;
}

ul.ways-support-checklist {
    column-count: 2;
    row-gap: 20px;
    margin: 35px 0 25px 0;
}

ul.ways-support-checklist li {
    width: 50%;
    margin: 0;
}

.ways-support-btns {
    margin-top: 70px;
}

ul.give-book-checklist {
    row-gap: 20px;
    margin: 50px 0 120px 0;
}

.ways-to-support-rcol {
    position: relative;
}

.ways-to-support-rcol:after {
    content: "";
    position: absolute;
    background: url(https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/veterans-book-mini.png);
    width: 458px;
    height: 471px;
    right: 0;
    bottom: -107px;
}

/* =========================================================
   Teaching The Next Generation / Never Forgotten Section
   ========================================================= */

.never-forgotten-sec {
    position: relative;
    overflow: hidden;
}

.never-forgotten-sec:before {
    position: absolute;
    content: "";
    width: 50%;
    display: block;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 1;
    background-color: rgba(2, 19, 61, 0.75);
}

.never-forgotten-content {
    padding: 80px 0 80px 80px;
}

.never-forgotten-tagline {
    color: #a7b7e5;
}

.never-forgotten-sub {
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
}

ul.never-forgotten-star-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 14px;
    column-gap: 28px;
    margin: 20px 0 25px 0;
    max-width: 370px;
}

ul.never-forgotten-star-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}


/* =========================================================
   Meet the Founder Section
   ========================================================= */

.meet-the-founder-sec {
    background-color: #f5f5f5;
    padding: 20px 0 90px 0;
    position: relative;
}

.founder-intro-wrap {
    display: inline-block;
    align-items: center;
    gap: 30px;
    position: relative;
}

.founder-img-box {
    flex: 0 0 auto;
    max-width: 532px;
}

.founder-identity-box {
    position: absolute;
    right: -65px;
    top: 75px;
}

.founder-eyebrow {
    text-align: right;
}

.founder-name {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
}

.founder-titles {
    font-size: 18px;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
    text-transform: uppercase;
    text-align: right;
}

.founder-bio-wrap {
    max-width: 495px;
    padding-top: 70px;
}

.founder-bio-p {
    font-size: 18px;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 22px;
}

.founder-bio-p:last-of-type {
    margin-bottom: 32px;
}

.founder-btn-wrap {
    margin-top: 40px;
}

.meet-the-founder-sec .shield-badge-svg {
    width: 22px;
    height: 24px;
    display: block;
}


/* =========================================================
   Your Support Makes a Difference / Ribbon CTA Section
   ========================================================= */

.support-difference-sec {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.support-difference-card {
    padding: 35px 45px;
    border-radius: 4px;
    border: 2px solid #021d46;
    background: linear-gradient(125deg, rgb(255 255 255 / 80%) 0%, rgb(230 245 255 / 80%) 100%);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.support-difference-actions {
    display: flex;
    justify-content: flex-end;
}

.support-difference-actions-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.support-difference-actions .btn-vet {
    min-width: 200px;
    justify-content: center;
}

.support-learn-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid var(--red);
    padding-bottom: 2px;
    line-height: 1.2;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.support-learn-more-link:hover {
    color: var(--red);
}

.support-learn-more-link .link-arrow {
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.support-learn-more-link:hover .link-arrow {
    transform: translateX(3px);
}


/* =========================================================
   Custom Search Form & Search Bar
   ========================================================= */

.custom-search-form {
    width: 100%;
}

.search-form-input-group {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 2px solid #021d46;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.search-form-input-group:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(194, 26, 30, 0.22);
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #ffffff;
}

.search-input-icon {
    color: #021d46;
    font-size: 18px;
    margin-right: 12px;
    opacity: 0.7;
}

.custom-search-form .search-field.form-control {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    width: 100%;
    outline: none;
}

.custom-search-form .search-field.form-control::placeholder {
    color: #8a99a8;
    font-size: 15px;
}

.search-submit-btn {
    background: #c21a1e;
    color: #ffffff;
    border: none;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-submit-btn:hover {
    background: #a0080c;
    color: #ffffff;
}

.search-submit-btn .link-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.search-submit-btn:hover .link-arrow {
    transform: translateX(4px);
}


/* =========================================================
   Search Page - Hero / Banner Section
   ========================================================= */

.search-hero-sec {
    position: relative;
    overflow: hidden;
    padding: 50px 0 65px 0;
    background-image: url(http://veterans.test/wp-content/uploads/2026/09/understand-impact-background.webp);
}

.search-hero-sec::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.search-breadcrumbs {
    font-size: 14px;
    font-weight: 500;
}

.search-breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.search-breadcrumbs a:hover {
    color: var(--yellow);
}

.search-breadcrumbs .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.search-breadcrumbs .breadcrumb-item.active {
    color: var(--yellow);
    font-weight: 700;
}

.search-hero-title {
    font-size: 42px;
    line-height: 1.15;
}

.search-keyword-highlight {
    color: var(--yellow);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.search-hero-subtitle {
    font-size: 20px;
    color: var(--yellow);
}

.search-hero-box-wrap {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.search-hero-box-title {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* =========================================================
   Search Page - Results & Meta Bar
   ========================================================= */

.search-results-sec {
    background-color: #fbfcfe;
}

.search-meta-bar {
    border-color: #e2e8f0 !important;
}

.search-meta-pill {
    display: inline-flex;
    align-items: center;
    background: #021d46;
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 8px rgba(2, 29, 70, 0.15);
}

.search-query-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    color: #334155;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
}

.search-meta-right {
    font-size: 14px;
    color: #64748b;
}


/* =========================================================
   Search Page - Result Cards Grid
   ========================================================= */

.search-result-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.search-result-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(2, 29, 70, 0.12);
    border-color: rgba(2, 29, 70, 0.3);
}

.search-card-img-col {
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.search-card-img-link {
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.search-card-img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-result-card:hover .search-card-img {
    transform: scale(1.08);
}

.search-card-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 29, 70, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-result-card:hover .search-card-img-overlay {
    opacity: 1;
}

.search-card-content-col {
    display: flex;
    flex-direction: column;
}

.search-card-body {
    padding: 24px;
}

.search-type-badge {
    display: inline-block;
    background: #eaf2ff;
    color: #021d46;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(2, 29, 70, 0.15);
}

.search-card-date {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.search-card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.search-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.search-card-title a:hover {
    color: var(--red);
}

.search-card-excerpt p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

.search-card-footer {
    border-color: #f1f5f9 !important;
}

.search-card-btn {
    font-size: 14px !important;
    padding: 10px 18px !important;
    border-radius: 4px;
    gap: 8px !important;
}

.search-card-category {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    max-width: 160px;
}

.search-card-category a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.search-card-category a:hover {
    color: var(--red);
}


/* =========================================================
   Search Page - Pagination
   ========================================================= */

.search-pagination-wrapper {
    margin-top: 50px;
}

.search-pagination-nav .pagination,
.search-pagination-nav .nav-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.search-pagination-nav .page-numbers {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 2px solid #021d46;
    background: #ffffff;
    color: #021d46;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.search-pagination-nav .page-numbers:hover {
    background: #021d46;
    color: #ffffff;
    border-color: #021d46;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(2, 29, 70, 0.2);
}

.search-pagination-nav .page-numbers.current {
    background: #c21a1e;
    border-color: #c21a1e;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(194, 26, 30, 0.35);
}

.search-pagination-nav .page-numbers.dots {
    border: none;
    background: transparent;
    color: #64748b;
    box-shadow: none;
    min-width: 30px;
}

.search-pagination-nav .page-numbers.prev,
.search-pagination-nav .page-numbers.next {
    padding: 0 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* =========================================================
   Search Page - Empty State / No Results Found
   ========================================================= */
.search-no-results-icon-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #fef2f2;
    color: #c21a1e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 10px 24px rgba(194, 26, 30, 0.15);
}

.search-no-results-title {
    font-size: 32px;
    color: #021d46;
}

.search-no-results-desc {
    font-size: 17px;
    color: #64748b;
    max-width: 620px;
    line-height: 1.6;
}

.search-no-results-form-wrap {
    max-width: 520px;
}

.search-suggestions-box {
    border-color: #e2e8f0 !important;
}

.search-suggestions-title {
    font-size: 18px;
    color: #021d46;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-suggestions-box .btn-vet {
    min-height: 50px;
    font-size: 15px;
}

.search-suggestions-box .btn-vet .btn-vet-icon {
    padding: 12px 14px;
    font-size: 16px;
}

.search-suggestions-box .btn-vet .btn-vet-text {
    padding: 0 24px 0 12px;
}


/* =========================================================
   Search Page - Responsive Breakpoints
   ========================================================= */

@media (max-width: 991.98px) {
    .search-hero-title {
        font-size: 32px;
    }

    .search-card-img-col {
        min-height: 200px;
    }
}

@media (max-width: 767.98px) {
    .search-hero-sec {
        padding: 40px 0 50px 0;
    }

    .search-hero-title {
        font-size: 26px;
    }

    .search-hero-subtitle {
        font-size: 17px;
    }

    .search-card-title {
        font-size: 19px;
    }

    .search-card-body {
        padding: 20px;
    }

    .search-no-results-card {
        padding: 40px 20px;
    }

    .search-no-results-title {
        font-size: 24px;
    }

    .search-no-results-desc {
        font-size: 15px;
    }

    .search-submit-btn {
        padding: 0 16px;
        font-size: 14px;
    }

    .search-form-input-group {
        border-width: 1.5px;
    }

    .custom-search-form .search-field.form-control {
        font-size: 14px;
        padding: 12px 0;
    }
}

@media (max-width: 480.98px) {
    .search-hero-title {
        font-size: 22px;
    }

    .search-card-footer {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .search-card-category {
        max-width: 100%;
        margin-left: 0 !important;
    }

    .search-pagination-nav .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 14px;
    }

    .search-suggestions-box .btn-vet {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================
   404 Page - Hero / Banner & Main Section
   ========================================================= */

.page-404-hero-sec {
    background-image: url(http://veterans.test/wp-content/uploads/2026/09/understand-impact-background.webp);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.page-404-hero-title {
    font-size: 42px;
    line-height: 1.15;
}

.page-404-hero-subtitle {
    font-size: 20px;
    color: var(--yellow);
}

.page-404-sec {
    background-color: #fbfcfe;
}

.page-404-card {
    max-width: 860px;
    margin: 0 auto;
}

.page-404-icon-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #fef2f2;
    color: #c21a1e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 10px 24px rgba(194, 26, 30, 0.15);
}

.page-404-code-display {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    color: #021d46;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px rgba(194, 26, 30, 0.12);
}

.page-404-heading {
    font-size: 32px;
    color: #021d46;
}

.page-404-desc {
    font-size: 17px;
    color: #64748b;
    max-width: 620px;
    line-height: 1.6;
}

.page-404-form-wrap {
    max-width: 520px;
}

.page-404-suggestions-box {
    border-color: #e2e8f0 !important;
}

.page-404-suggestions-title {
    font-size: 18px;
    color: #021d46;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-404-suggestions-box .btn-vet {
    min-height: 50px;
    font-size: 15px;
}

.page-404-suggestions-box .btn-vet .btn-vet-icon {
    padding: 12px 14px;
    font-size: 16px;
}

.page-404-suggestions-box .btn-vet .btn-vet-text {
    padding: 0 24px 0 12px;
}

@media (max-width: 991.98px) {
    .page-404-hero-title {
        font-size: 32px;
    }

    .page-404-code-display {
        font-size: 64px;
    }
}

@media (max-width: 767.98px) {
    .page-404-hero-sec {
        padding: 40px 0 50px 0;
    }

    .page-404-hero-title {
        font-size: 26px;
    }

    .page-404-hero-subtitle {
        font-size: 17px;
    }

    .page-404-code-display {
        font-size: 52px;
    }

    .page-404-heading {
        font-size: 24px;
    }

    .page-404-desc {
        font-size: 15px;
    }
}

@media (max-width: 480.98px) {
    .page-404-hero-title {
        font-size: 22px;
    }

    .page-404-suggestions-box .btn-vet {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================
   Back to Top Floating Button
   ========================================================= */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background-color: var(--red);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 8px 24px rgba(194, 26, 30, 0.4);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
}

.back-to-top i {
    transition: transform 0.25s ease, color 0.25s ease;
    line-height: 1;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--blue);
    color: var(--yellow);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(2, 29, 70, 0.45);
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

@media (max-width: 767.98px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* =========================================================
   Support Veteran Book Section: One Book. Another Way to Give Back.
   ========================================================= */

.support-veteran-book-sec {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    padding-top: 85px;
    padding-bottom: 95px;
}

.support-book-showcase-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--book-height, 540px);
}

/* Background Pill Shape with Gradient & Red Border Curve */
.support-book-bg-shape {
    position: absolute;
    left: -15%;
    top: 50%;
    transform: translateY(-50%);
    width: 125%;
    height: 85.5%;
    background: url('https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/images/book_3d_bg.webp') no-repeat right center / contain;
    pointer-events: none;
    z-index: 1;
}

.support-book-bg-shape:before {
    position: absolute;
    content: "";
    left: -99%;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 84%;
    background: #f3f2f2;
}

/* 3D Book Container in Support Section */
.support-veteran-book-sec .book-3d-interactive-wrap {
    position: relative;
    z-index: 3;
    padding-top: 0;
    margin: 0;
}

.support-veteran-book-sec .book-3d-stage {
	--book-width: 400px;
    --book-height: 630px;
    --book-depth: 34px;
}

/* Right Content Column */
.support-book-content-col {
    z-index: 4;
}

.support-book-content {
    display: flex;
    justify-content: flex-end;
}

.support-book-content-inner {
    max-width: 540px;
}

.support-book-actions {
    margin-top: 32px;
}

.support-book-btn-note {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1.3;
	font-size: 24px;
    font-weight: 700;
}


/* MISISON PAGE **/


.four-ways-honor-ribbon-wrap {
    text-align: center;
}

.four-ways-honor-ribbon {
    position: relative;
    background-color: rgb(226, 231, 243);
    clip-path: polygon(
  0px 0px,
  100% 0px,
  calc(100% - 25px) 50%,
  100% 100%,
  0px 100%,
  25px 50%
);
    display: inline-flex;
    align-items: center;
    text-align: left;
    padding: 18px 45px 18px 45px;
}
.four-ways-honor-ribbon .ribbon-text {
    font-size: 24px;
    color: #031d46;
    font-weight: 700;
}

.four-ways-honor-ribbon .ribbon-arrow-svg-right {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 30px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}
.four-ways-honor-ribbon .ribbon-arrow-svg {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 30px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.mission-legacy.never-forgotten-sec:before {
    background-color: rgb(220 53 69 / 80%);
}

.heavy-note {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
}

.appreciation-action-content {
    max-width: 560px;
}
.appreciation-action-content ul {
    padding: 0;
    list-style: none;
}

.appreciation-action-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-text {
    background: #031a40;
    padding: 50px 70px;
    border: 1px solid #afbad4;
    max-width: 500px;
}

.quote-text p {
    font-size: 36px;
    font-weight: 500;
    margin: 0;
}

.quote-text span {
    display: block;
}

.appreciation-action-star {
    text-align: center;
    background: #031a40;
    margin-bottom: -26px;
    padding: 0px 10px;
    z-index: 1;
}

.appreciation-action-bottom-stars {
    text-align: center;
    background: #031a40;
    margin-top: -22px;
    padding: 0px 10px;
}


.tg-card-img-wrap .tg-card-img {
    position: relative;
    object-fit: cover;
    display: block;
    border-radius: 40px;
    background-color: rgb(136, 136, 136);
    width: 100%;
    height: 196px;
}
.tg-card-img-wrap:before {
    content: "";
    background: linear-gradient(125deg, #ffffff 0%, #768fb7 100%);
    opacity: 00.5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: radial-gradient( ellipse at top left, #768fb7 0%, rgba(118, 143, 183, 0.5) 35%, transparent 70% ), radial-gradient( ellipse at top right, #e99a9e 0%, rgba(200, 35, 39, 0.35) 40%, transparent 70% ), #ffffff;*/
	background: radial-gradient(ellipse at top left, #768fb7 0%, rgb(17 63 137 / 60%) 35%, transparent 70%), radial-gradient(ellipse at top right, #c82327 0%, rgba(200, 35, 39, 0.35) 40%, transparent 70%), #ffffff;
}

.tg-mission-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}
.tg-card {
    background: #ffffff;
    border: 1px solid rgb(137, 162, 201);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tg-card-served, .tg-card-growing {
    flex: 0 1 396px;
    max-width: 396px;
    width: 100%;
}

.tg-card-center {
    flex: 0 1 396px;
    max-width: 396px;
    width: 100%;
    background: linear-gradient(180deg, #ffffff 65%, #edf3fa 100%);
    padding: 35px 40px 40px;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.tg-connector {
    flex: 0 0 52px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.tg-connector-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}
.tg-connector-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}
.tg-connector-dot.dot-blue {
    background-color: #274d82;
}
.tg-connector-line.line-blue {
    background-color: #274d82;
}
.tg-connector-dot.dot-red {
    background-color: #cf2027;
}
.tg-connector-line.line-red {
    background-color: #cf2027;
}

.tg-card-img-wrap {
    position: relative;
    padding: 40px 30px 0 30px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.tg-card-content {
    padding: 40px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


.inspiring-young-people-sec{
	position: relative;
	background-position: top right;
}
.inspiring-young-people-sec:before {
    position: absolute;
    content: "";
    width: 50%;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1;
    background-color: rgba(2, 19, 61, 0.80);
}

.inspiring-young-people-content {
    padding: 70px 60px 100px 0px;
}

ul.inspiring-young-people-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 3px;
    margin: 20px 0 25px 0;
}
ul.inspiring-young-people-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
	text-transform: uppercase;
	width: 40%;
}
ul.inspiring-young-people-list li .red-star-icon {
    top: -3px;    
	position: relative;
    min-width: 21px;
}


/* =========================================================
   Our Mission - Be Part of the Mission / Ribbon Section
   ========================================================= */
.mission-difference-sec {
    padding: 70px 0;
}

.mission-difference-card {
  border-style: solid;
  border-width: 2px;
  border-color: rgb(255, 255, 255);
  border-radius: 4px;
  background-image: -moz-linear-gradient( 125deg, rgb(255,255,255) 0%, rgb(230,245,255) 100%);
  background-image: -webkit-linear-gradient( 125deg, rgb(255,255,255) 0%, rgb(230,245,255) 100%);
  background-image: -ms-linear-gradient( 125deg, rgb(255,255,255) 0%, rgb(230,245,255) 100%);
  box-shadow: 0px 16px 32px 0px rgba(95, 43, 34, 0.22);
  padding: 30px 30px;
}
.mission-difference-col-right {
    display: flex;
    flex-direction: column;
}
.mission-difference-lists-wrap {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
}
ul.mission-difference-list {
    padding: 0;
    list-style: none;
    row-gap: 7px;
    display: flex;
    flex-direction: column;
}
ul.mission-difference-list li {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
}
.mission-difference-actions-wrap {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
}
.our-mission-sec .book-feature-card {
    padding: 24px 35px 30px 35px;
}
.trust-earned-sec .heavy-note {
    font-size: 30px;
    color: #e8cc0b;
    font-weight: 300;
}

/* Service page */

/* military section css start */

.military-dogs-sec {
  width: 100%;
  overflow: hidden;
  background-color: #f4f4f4;
}

.military-dogs-sec .item {
  position: relative;
  width: 100%;
  min-height: 500px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
  transition: background-size 0.3s ease;
}

/* Dark Gradient Overlay */

.military-dogs-sec .item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: -1;
  transition: background 0.3s ease;
}

/* Hover Effect */

.military-dogs-sec .item:hover::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.25) 35%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

/* Content */

.military-dogs-sec .item .content {
  position: relative;
  width: 100%;
  padding: 30px 25px;
  color: #fff;
}


/** Military History Sec **/

.military-history-sec {
  background-color: #f4f4f4;
}

.military-history-sec .impact-subtext{
	max-width: 875px;
	margin-right: auto;
	margin-left: auto;
}

.military-history-sec .history-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 15px;
}

.military-history-sec .history-left,
.military-history-sec .history-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: 45px;
}

/* Side Content */

.military-history-sec .history-side {
  flex-shrink: 0;
}

.military-history-sec .history-then {
  text-align: left;
  margin-right: 30px;
}

.military-history-sec .history-today {
  text-align: left;
  margin-left: 30px;
}

.military-history-sec .history-heading {
  font-size: 60px;
  font-weight: 300;
  color: #000;
}

.military-history-sec .history-label {
  font-size: 16px;
  color: #bd080c;
}

/* Circular Images */

.military-history-sec .history-img {
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0px 16px 23px 0px rgba(0, 14, 34, 0.1);
}

.military-history-sec .history-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Left Image */

.military-history-sec .history-img-left {
  width: 275px;
  height: 275px;
  margin-right: -45px;
  z-index: 1;
}

/* Center Group */

.military-history-sec .history-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Center Image */

.military-history-sec .history-img-center {
  width: 375px;
  height: 375px;
}

/* Right Image */

.military-history-sec .history-img-right {
  width: 275px;
  height: 275px;
  margin-left: -20px;
  z-index: 1;
}

/* Bottom Content */

.military-history-sec .bottom-content {
  margin-top: 10px;
  text-align: center;
}

.military-history-sec .history-left {
  transform: translate(30px, 0px);
}

.military-history-sec .history-right {
  transform: translate(-55px, 0px);
}

/* service cta section css start */

.service-cta-sec {
  padding: 60px 0px;
  background: url("../service-cta-sec.webp");
}

.service-cta-sec .right a {
  width: fit-content;
}

/* Gallery Section CSS Start */

.gallery-sec {
  background: #f4f4f4;
}

/* Slider Wrapper */

.gallery-sec .gallery-slider-wrap {
  position: relative;
  padding: 0 60px;
}

.gallery-sec .gallerySlides {
  overflow: hidden;
}

.gallery-sec .swiper-slide {
  height: 475px;
}

/* Gallery Images */

.gallery-sec .gallery-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-sec .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-sec .gallery-item:hover img {
  transform: scale(1.05);
}

/* Middle Two Images */

.gallery-sec .gallery-middle {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.gallery-sec .gallery-middle .gallery-item {
  flex: 1;
  min-height: 0;
}

/* Slider Buttons */

.gallery-sec .swiper-button-prev,
.gallery-sec .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px !important;
  height: 30px !important;
  margin-top: 0 !important;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.gallery-sec .swiper-button-prev {
  left: 0 !important;
}

.gallery-sec .swiper-button-next {
  right: 0 !important;
}

.gallery-sec .swiper-button-prev::after,
.gallery-sec .swiper-button-next::after {
  display: none;
}

.gallery-sec .swiper-button-prev img,
.gallery-sec .swiper-button-next img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* donation section css start */

.donation-cta-sec {
  padding: 80px 0px 150px 0px;
  background-color: #f5f0ec;
  overflow: hidden;
}

.donation-cta-sec::before {
  position: absolute;
  content: url("https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/images/donate-cta-sec-left-flag.webp");
  left: 0;
  bottom: -8px;
}

.donation-cta-sec::after {
  position: absolute;
  content: url("https://projects.reavertechnologies.com/projects/faeez/veterans_honored/wp-content/themes/veterans-honored/assets/images/donate-cta-sec-right-flag.webp");
  right: 0;
  bottom: -8px;
}

/* form section css start */

.contact-form-sec {
  background-color: #f5f5f5;
}

.contact-form-sec .sec-heading {
  color: #c21a1e;
}

.contact-form-sec .contact-form-wrapper {
  background-color: rgb(235, 239, 245);
  border: 1px solid #6f92c9;
  border-radius: 20px;
  overflow: hidden;
}

.contact-form-sec .left {
  height: 100%;
}

.contact-form-sec .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-right: 1px solid #6f92c9;
}

/* Right Content */

.contact-form-sec .right {
  padding: 60px 60px;
}

/* Form */

.contact-form-sec .form-label {
  font-size: 18px;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 500;
}

.contact-form-sec .form-control {
  width: 100%;
  padding: 10px 20px;
  border: 2px solid #3d6199;
  border-radius: 8px;
  box-shadow: inset 0px -6px 0px 0px rgba(0, 0, 0, 0.13);
  background-color: #fff;
  color: #5d5f59;
  font-size: 18px;
}

.contact-form-sec .form-control::placeholder {
  color: #5d5f59;
}

.contact-form-sec .form-control:focus {
  border-color: #3d6199;
  box-shadow: inset 0px -6px 0px 0px rgba(0, 0, 0, 0.13);
  outline: none;
}

.contact-form-sec textarea.form-control {
  resize: none;
  box-shadow: inset 0px -6px 0px 0px rgba(0, 0, 0, 0.13);
}





button.btn-vet.btn-rd:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: ease 1s width;
    background: #a0080c;
}
button.btn-vet.btn-rd {
    border: 0;
    min-height: 58px;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    background: #c21a1e;
    color: #fff;
    box-shadow: -1px 2px 0px #a0080c;
}
button.btn-vet.btn-rd .btn-vet-icon {
    background: #a0080c;
    padding: 15px;
    z-index: 1;
}
button.btn-vet.btn-rd .btn-vet-text {
    padding: 0 35px 0 15px;
    z-index: 1;
}
button.btn-vet.btn-rd br{
    display: none;
}
button.btn-vet.btn-rd:hover:before {
    width: 100%;
}