/* ===== SEAI Grant Page Styles ===== */

/* Prevent horizontal scroll on mobile */
html,
body {
    overflow-x: hidden;
}

/* ----- Hero Section ----- */
#seai-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0c1628 0%, #162544 50%, #1a3a5c 100%);
    overflow: hidden;
    padding: 140px 0 80px;
}

#seai-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(0, 173, 239, 0.08);
}

#seai-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(4, 232, 36, 0.05);
}

.seai-hero-content {
    position: relative;
    z-index: 2;
}

.seai-hero-badge {
    display: inline-block;
    background: rgba(0, 173, 239, 0.15);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

#seai-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

#seai-hero h1 span {
    color: var(--primary);
}

#seai-hero p.seai-hero-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 540px;
    margin-bottom: 32px;
}

.seai-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.seai-hero-stat {
    text-align: center;
}

.seai-hero-stat-value {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

.seai-hero-stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

.seai-hero-image-col {
    position: relative;
    z-index: 2;
}

.seai-hero-grant-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
}

.seai-hero-grant-card .seai-grant-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.seai-hero-grant-card .seai-grant-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.seai-hero-grant-card .seai-grant-breakdown {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.seai-grant-breakdown-item span:first-child {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.seai-grant-breakdown-item span:last-child {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ----- Buttons ----- */
.seai-btn-cta {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 12px 32px;
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.seai-btn-cta:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 173, 239, 0.3);
}

.seai-btn-cta-outline {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 12px 32px;
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.seai-btn-cta-outline:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ----- Grant Amount Cards ----- */
.seai-grant-card {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    height: 100%;
}

.seai-grant-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 173, 239, 0.15);
}

.seai-grant-card.seai-featured {
    border-color: var(--primary);
    position: relative;
}

.seai-grant-card.seai-featured::before {
    content: 'Most Common';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.seai-grant-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary);
    background: rgba(0, 173, 239, 0.1);
}

.seai-grant-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.seai-grant-card .seai-grant-total {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.seai-grant-card .seai-grant-total-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
}

.seai-grant-card .seai-grant-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.seai-grant-card .seai-grant-detail-label {
    color: #666;
}

.seai-grant-card .seai-grant-detail-value {
    font-weight: 600;
    color: #333;
}

.seai-grant-note {
    background: rgba(0, 173, 239, 0.06);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin-top: 32px;
    font-size: 0.9rem;
    color: #555;
}

.seai-grant-note i {
    color: var(--primary);
    margin-right: 8px;
}

/* ----- Eligibility Section ----- */
.seai-eligibility-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.seai-eligibility-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.seai-eligibility-icon.seai-check {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.seai-eligibility-item h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.seai-eligibility-item p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.seai-insulation-tip {
    background: linear-gradient(135deg, rgba(0, 173, 239, 0.04), rgba(4, 232, 36, 0.04));
    border: 1px solid rgba(0, 173, 239, 0.15);
    border-radius: 16px;
    padding: 28px;
}

.seai-insulation-tip h5 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1rem;
}

.seai-insulation-tip p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

/* ----- Step Cards ----- */
.seai-step-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--box-shadow);
    position: relative;
    height: 100%;
    transition: var(--transition);
}

.seai-step-card:hover {
    transform: translateY(-4px);
}

.seai-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.seai-step-card h5 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.seai-step-card p {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 0;
}

.seai-step-connector {
    display: none;
}

@media (min-width: 992px) {
    .seai-step-connector {
        display: block;
        position: absolute;
        top: 55px;
        right: -28px;
        color: #ccc;
        font-size: 1.2rem;
        z-index: 1;
    }
}

/* ----- Process Timeline ----- */
.seai-process-timeline {
    position: relative;
    padding-left: 48px;
}

.seai-process-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 3px;
}

.seai-process-step {
    position: relative;
    margin-bottom: 36px;
}

.seai-process-step:last-child {
    margin-bottom: 0;
}

.seai-process-step-dot {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.seai-process-step-dot i {
    font-size: 11px;
    color: var(--primary);
}

.seai-process-step h5 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.seai-process-step p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* ----- Info Cards ----- */
.seai-info-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.seai-info-card h5 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.seai-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seai-info-card ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.9rem;
    color: #555;
}

.seai-info-card ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    color: var(--primary);
    font-size: 13px;
}

/* ----- FAQ Accordion ----- */
.seai-faq .accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.seai-faq .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 18px 24px;
    color: #333;
    background: white;
}

.seai-faq .accordion-button:not(.collapsed) {
    background: white;
    color: var(--primary);
    box-shadow: none;
}

.seai-faq .accordion-button:focus {
    box-shadow: none;
}

.seai-faq .accordion-button::after {
    background-size: 16px;
}

.seai-faq .accordion-body {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

/* ----- CTA Section ----- */
#seai-cta {
    background: linear-gradient(135deg, #0c1628 0%, #162544 50%, #1a3a5c 100%);
    position: relative;
    overflow: hidden;
}

#seai-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 173, 239, 0.06);
}

#seai-cta h2 {
    color: white;
}

#seai-cta p {
    color: rgba(255, 255, 255, 0.7);
}

#seai-cta .seai-cta-inner {
    position: relative;
    z-index: 2;
}

/* ----- Disclaimer ----- */
.seai-disclaimer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 24px 0;
    font-size: 0.82rem;
    color: #888;
    text-align: center;
}

.seai-disclaimer a {
    color: var(--primary);
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
    #seai-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    #seai-hero h1 {
        font-size: 2.2rem;
    }

    .seai-hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .seai-hero-grant-card {
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    #seai-hero h1 {
        font-size: 1.8rem;
    }

    .seai-hero-grant-card .seai-grant-amount {
        font-size: 2.5rem;
    }

    .seai-hero-stats {
        gap: 20px;
    }

    .seai-hero-stat-value {
        font-size: 1.5rem;
    }

    .seai-grant-card .seai-grant-total {
        font-size: 1.8rem;
    }

    .seai-hero-grant-card .seai-grant-breakdown {
        flex-direction: column;
        gap: 16px;
    }
}