/* ==========================================
   PROPOSAL PAGE SPECIFIC STYLES
========================================== */

/* Add a subtle fade-in animation for the proposal cards */
.proposal-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Stagger the animation delay for consecutive cards */
.proposal-card:nth-child(1) {
    animation-delay: 0.1s;
}

.proposal-card:nth-child(2) {
    animation-delay: 0.2s;
}

.proposal-card:nth-child(3) {
    animation-delay: 0.3s;
}

.proposal-card:nth-child(4) {
    animation-delay: 0.4s;
}

.proposal-card:nth-child(5) {
    animation-delay: 0.5s;
}

.proposal-card:nth-child(6) {
    animation-delay: 0.6s;
}

.proposal-card:nth-child(7) {
    animation-delay: 0.7s;
}

.proposal-card:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhance hover effects on list items */
.proposal-card ul li,
.proposal-card .grid>div {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proposal-card ul li:hover,
.proposal-card .grid>div:hover {
    transform: translateX(4px);
}

/* Specific styling for the signature box hover */
.signature-box {
    transition: all 0.3s ease;
}

.signature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--color-primary);
}

/* ==========================================
   PROPOSAL PAGE HEADER
========================================== */
.proposal-page-header {
    background: linear-gradient(135deg, #071e3d 0%, #0a2d57 40%, #0f4c81 100%);
    padding-top: 260px;
    padding-bottom: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background Grids & Orbs */
.proposal-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: heroGridDrift 90s linear infinite;
    pointer-events: none;
}

.proposal-page-header::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 60%);
    pointer-events: none;
    animation: orb1Float 16s ease-in-out infinite alternate;
}

.proposal-page-header > .container {
    position: relative;
    z-index: 2;
}

/* Simple responsive padding for headers */
@media (max-width: 1024px) {
    .proposal-page-header {
        padding-top: 115px;
        padding-bottom: 3rem;
    }
}