.sred-page{
    position:relative;
    min-height:calc(100vh - 74px);
    padding:26px 0 80px;

    overflow:hidden;
}

.sred-hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:60px;
    align-items:center;
    margin-bottom:34px;
	margin-top:-100px;
}
.sred-card h3{
    margin:0;
}

.sred-hero-content h1{margin-bottom:18px;
    max-width:820px;
}

.sred-lead{font-weight:800;
    margin-bottom:18px;
    max-width:850px;
}

.sred-summary{
    max-width:800px;
}


.sred-read-more{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:8px;

    width:100%;
    margin-top:26px;

    padding:0;
    border:none;
    background:none;

    color:#4EF3FF;
    font-weight:800;
    cursor:pointer;

    transition:
        color .35s ease,
        transform .35s ease;
}

.sred-read-more:hover,
.sred-card button:hover{
    color:#fff;
    transform:translateY(4px);
}

.sred-hero-visual img{display:block;
}

.sred-card-columns{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:18px;
    align-items:start;
}

.sred-card-col{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.sred-card{
    position:relative;
    height:250px;
    padding:24px 24px 22px;
    border-radius:10px;
transition:.25s ease;

    display:flex;
    flex-direction:column;
}
.sred-card.is-expanded{
    height:auto;
    min-height:250px;
}
.sred-card:hover{
    transform:translateY(-5px);
    border-color:rgba(78,243,255,.42);
    background:rgba(255,255,255,.065);
}

.sred-card-header{
    display:flex;
    align-items:center;
    gap:16px;

    margin-bottom:22px;
}

.sred-card-icon{
    flex-shrink:0;
    width:42px;
    height:42px;
    border-radius:10px;

    display:flex;
    align-items:center;
    justify-content:center;
border:1px solid rgba(78,243,255,.24);
}

.sred-card-icon svg,
.sred-read-more svg,
.sred-card-button svg{
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
    flex-shrink:0;
}

.sred-card-icon svg{
    width:24px;
    height:24px;
    stroke:#4EF3FF;
    stroke-width:1.8;
}

.sred-read-more,
.sred-card-button{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:0;
    background:none;
    border:none;

    color:#4EF3FF;
    font-weight:800;
    cursor:pointer;

    transition:
        color .35s ease,
        transform .35s ease;
}

.sred-card-button{
    margin-top:22px;
font-weight:700;
}

.sred-read-more svg,
.sred-card-button svg{
    width:18px;
    height:18px;
    stroke:currentColor;
    stroke-width:2.2;

    transition:transform .35s cubic-bezier(.4,0,.2,1);
}

.sred-read-more:hover,
.sred-card-button:hover{
    color:#ffffff;
}

.sred-card-button{
    margin-top:auto;
    margin-left:auto;
}
/* expanded white-card style*/
.sred-card.is-expanded{
    background:#ffffff;
    border-color:rgba(78,243,255,.75);
    color:#07152b;
}

.sred-card.is-expanded h3{
    color:#07152b;
}

.sred-card.is-expanded p{
    color:#26384f;
}

.sred-card-extra{
    display:none;
    margin-top:22px;
    padding-top:18px;
    border-top:1px solid rgba(31,95,191,.18);
}

.sred-card.is-expanded .sred-card-extra{
    display:block;
}

.sred-card-extra p{
    color:#26384f;
margin-bottom:14px;
}

.sred-card-extra ul{
    margin:12px 0 0 18px;
    color:#26384f;
    font-size:.9rem;
    line-height:1.7;
}
.sred-card.is-expanded .sred-card-icon{
    background:rgba(31,95,191,.06);
    border-color:rgba(31,95,191,.22);
}

.sred-card.is-expanded .sred-card-icon svg{
    stroke:#1f5fbf;
}

.sred-card.is-expanded .sred-card-button{
    color:#1f5fbf;
}

.sred-card.is-expanded .sred-card-button:hover{
    color:#174a96;
}
/* Default (collapsed) */
.sred-card-button svg{
    transform:rotate(90deg);
}

/* Expanded */
.sred-card.is-expanded .sred-card-button svg{
    transform:rotate(-90deg);
}


/* CRA Reference */

.sred-reference{
    margin-top:24px;
    padding-top:18px;
    border-top:1px solid rgba(31,95,191,.18);
}

.sred-reference strong{
    display:block;
    margin-bottom:8px;
    color:#07152b;
}

.sred-reference p{
    margin-bottom:14px;
    color:#41536a;
}


.sred-reference-link:hover{
    color:#174a96;
}


.sred-reference-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    line-height:1.2;
}

.sred-reference-link svg{
    width:16px;
    height:16px;
    position:relative;
    top:1px;

    fill:none;
    stroke:currentColor;
    stroke-width:2.3;
    stroke-linecap:round;
    stroke-linejoin:round;

    transition:transform .3s ease;
}

.sred-reference-link:hover svg{
    transform:translate(2px, -2px);
}


/* ==========================
   SR&ED BENEFIT BLOCKS
========================== */

.sred-benefits{
    margin:24px 0 0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.sred-benefit{
    position:relative;
    padding:18px 18px 18px 22px;
    border-radius:10px;
    background:rgba(31,95,191,.055);
    border:1px solid rgba(31,95,191,.16);
    border-left:4px solid #1f5fbf;
}

.sred-benefit h4{
    margin:0 0 8px;
    color:#07152b;
font-weight:800;
}

.sred-benefit p{
    margin:0;
    color:#41536a;
}


/* ==========================
   SR&ED PROFESSIONAL BULLETS
========================== */

.sred-benefit-points{
    margin:14px 0 0;
    padding:0;
    list-style:none;
}

.sred-benefit-points li{
    position:relative;
    margin:0 0 10px;
    padding-left:24px;

    color:#26384f;
}

.sred-benefit-points li:last-child{
    margin-bottom:0;
}

.sred-benefit-points li::before{
    content:"";
    position:absolute;
    left:0;
    top:.55em;

    width:8px;
    height:8px;
    border-radius:50%;

    background:#1f5fbf;
    box-shadow:0 0 0 5px rgba(31,95,191,.12);
}

.sred-section-intro{
    margin:18px 0 18px;
    padding-left:12px;

    border-left:3px solid rgba(31,95,191,.28);

    color:#41536a;
font-weight:500;
}


/* ==========================
   Eligibility Review Button
========================== */


.sred-review-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:12px 22px;

    border-radius:8px;

    background:#1f5fbf;
    color:#fff;
    text-decoration:none;
font-weight:700;

    transition:
        background .3s ease,
        transform .3s ease;
}

.sred-review-button:hover{
    background:#174a96;
    transform:translateY(-2px);
}

.sred-review-button svg{
    width:17px;
    height:17px;

    fill:none;
    stroke:currentColor;
    stroke-width:2.2;
    stroke-linecap:round;
    stroke-linejoin:round;

    transition:transform .3s ease;
}

.sred-review-button:hover svg{
    transform:translateX(3px);
}
.sred-review-action{
    margin:18px 0 18px;
}

/* laptop */
@media (max-width:1200px) and (min-width:701px){


.sred-review-button{
    padding:10px 18px;
gap:8px;
}

.sred-review-button svg{
    width:15px;
    height:15px;
}
.sred-card{
    padding:18px;
    height:210px;
}

.sred-card.is-expanded{
    height:auto;
    min-height:210px;
}
.sred-hero-content h1{margin-bottom:12px;
}

.sred-summary{max-width:560px;
}
    .sred-card-header{
        gap:10px;
        margin-bottom:16px;
        align-items:center;
    }

    .sred-card-icon{
        width:30px;
        height:30px;
        margin-bottom:0;
        border-radius:8px;
    }

    .sred-card-icon svg{
        width:17px;
        height:17px;
    }

    .sred-card h3{margin:0;
    }

.sred-card-button,
    .sred-read-more{gap:6px;
    }

    .sred-card-button svg,
    .sred-read-more svg{
        width:14px;
        height:14px;
    }
/* ==========================
   Expanded Card Typography
========================== */

.sred-section-title{margin:18px 0 6px;
}

.sred-section-intro{margin:14px 0 16px;
}

.sred-benefits{
    gap:12px;
    margin-top:18px;
}

.sred-benefit{
    padding:14px 15px 14px 18px;
}

.sred-benefit h4{margin-bottom:6px;
}

.sred-reference-link svg{
    width:13px;
    height:13px;
}


}
/* mobile */

/* ===========================
   Mobile (700px and below)
=========================== */

@media (max-width:700px){

    .sred-page{
        padding:38px 0 48px;
    }

    .sred-hero-grid{
        display:block;
        margin-top:0;
        margin-bottom:24px;
    }

.sred-hero-content{
        max-width:100%;
    }

/* ===========================
   Mobile (700px and below)
=========================== */

.sred-hero-content h1{margin-bottom:14px;
}

.sred-lead{font-weight:800;
    margin-bottom:14px;
}

.sred-summary{max-width:100%;
}

    .sred-read-more{gap:6px;
    }

    .sred-read-more svg{
        width:15px;
        height:15px;
    }

    /* Cards */

.sred-card-columns{
    grid-template-columns:1fr;
    gap:14px;
    padding:0 6px;
}

.sred-card-col{
    gap:14px;
}

    .sred-card{
        min-height:auto;
        padding:20px;
    }

    .sred-card:hover{
        transform:none;
    }

    .sred-card-header{
        display:flex;
        align-items:center;
        gap:12px;
        margin-bottom:16px;
    }

    .sred-card-icon{
        width:34px;
        height:34px;
        margin-bottom:0;
        border-radius:8px;
    }

    .sred-card-icon svg{
        width:18px;
        height:18px;
    }

    .sred-card h3{
        margin:0;
}

.sred-card-button{
        margin-top:auto;
        margin-left:auto;
gap:6px;
    }

    .sred-card-button svg{
        width:15px;
        height:15px;
    }

    /* Modal */

    .sred-modal{
        padding:18px;
    }

    .sred-modal-card{
        padding:34px 24px;
        border-radius:12px;
    }

    .sred-modal-card h2{
        font-size:1.45rem;
    }

    .sred-modal-card p{
        font-size:.92rem;
        line-height:1.7;
    }


	/* ==========================
   Expanded Card Typography
========================== */

.sred-section-title{margin:18px 0 8px;
}

.sred-section-intro{margin:16px 0;
}

.sred-benefits{
    gap:14px;
    margin-top:18px;
}

.sred-benefit{
    padding:16px 16px 16px 18px;
}

.sred-reference-link svg{
    width:14px;
    height:14px;
}
}


.sred-card.is-expanded .sred-card-button{
    transform: translateY(8px);
}

/* =====================================================
   SR&ED PAGE — FINAL LIGHT THEME
   Place at the end of sred.css
   ===================================================== */


/* =====================================================
   PAGE BACKGROUND
   ===================================================== */

.sred-page{
    background:
        radial-gradient(
            circle at 78% 24%,
            rgba(120,170,255,.18) 0%,
            rgba(120,170,255,.08) 22%,
            transparent 48%
        ),
        linear-gradient(
            135deg,
            #f7fafd 0%,
            #eef4fa 38%,
            #e5eef7 72%,
            #dde8f4 100%
        );
}


/* =====================================================
   HERO PANEL
   ===================================================== */

.sred-hero-grid{
    position:relative;

    margin-top:22px;
    padding:38px;

    gap:50px;
    align-items:center;

    border:1.5px solid #6aaeff;
    border-radius:22px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.82),
            rgba(255,255,255,.58)
        );

    backdrop-filter:blur(6px);

    box-shadow:
        0 18px 45px rgba(33,74,132,.10),
        inset 0 1px 0 rgba(255,255,255,.75);

    overflow:hidden;
}


/* Hero glow */

/* Decorative dotted pattern */


/* =====================================================
   HERO CONTENT
   ===================================================== */

.sred-hero-content{
    position:relative;
    align-self:center;

    padding:4px 0 4px 28px;
    z-index:1;
}


/* Full-height blue accent line */

.sred-hero-content::before{
    content:"";

    position:absolute;
    top:0;
    bottom:0;
    left:0;

    width:5px;

    border-radius:10px;

    background:
        linear-gradient(
            180deg,
            #0d6efd,
            #4fb8ff
        );
}


.sred-hero-content h1{
    color:#0b1f3a;
}


.sred-lead{
    color:#087fbd;
}


.sred-summary{
    color:#405570;
}


/* =====================================================
   HERO IMAGE
   ===================================================== */

/* =====================================================
   CARDS
   ===================================================== */

.sred-card{
    background:rgba(255,255,255,.72);

    border:1px solid rgba(38,91,154,.15);

    box-shadow:
        0 16px 38px rgba(24,58,101,.12);
}


.sred-card:hover{
    background:rgba(255,255,255,.94);

    border-color:rgba(19,119,183,.34);

    box-shadow:
        0 20px 44px rgba(24,58,101,.16);
}


.sred-card h3{
    color:#102746;
}


.sred-card p{
    color:#465d79;
}


/* =====================================================
   CARD ICONS
   ===================================================== */

.sred-card-icon{
    background:rgba(8,127,189,.07);
    border-color:rgba(8,127,189,.24);
}


.sred-card-icon svg{
    stroke:#087fbd;
}


/* =====================================================
   CARD BUTTONS AND LINKS
   ===================================================== */

.sred-read-more,
.sred-card-button{
    color:#087fbd;
}


.sred-read-more svg,
.sred-card-button svg{
    stroke:currentColor;
}


.sred-read-more:hover,
.sred-card-button:hover,
.sred-card button:hover{
    color:#0b4f86;
}


/* =====================================================
   EXPANDED CARDS
   ===================================================== */

.sred-card.is-expanded{
    background:#ffffff;
    border-color:rgba(8,127,189,.38);
}


.sred-card.is-expanded h3{
    color:#102746;
}


.sred-card.is-expanded p,
.sred-card-extra p{
    color:#405570;
}


.sred-card.is-expanded .sred-card-icon{
    background:rgba(8,127,189,.08);
    border-color:rgba(8,127,189,.22);
}


.sred-card.is-expanded .sred-card-icon svg{
    stroke:#087fbd;
}


.sred-card.is-expanded .sred-card-button{
    color:#087fbd;
}


.sred-card.is-expanded .sred-card-button:hover{
    color:#0b4f86;
}


/* =====================================================
   EXPANDED CONTENT TYPOGRAPHY
   ===================================================== */

.sred-section-title,
.sred-reference strong,
.sred-benefit h4{
    color:#102746;
}


.sred-section-intro,
.sred-reference p,
.sred-benefit p,
.sred-benefit-points li{
    color:#405570;
}


/* =====================================================
   BENEFIT BLOCKS
   ===================================================== */

.sred-benefit{
    background:rgba(8,127,189,.055);

    border-color:rgba(8,127,189,.16);
    border-left-color:#087fbd;
}


.sred-benefit-points li::before{
    background:#087fbd;

    box-shadow:
        0 0 0 5px rgba(8,127,189,.12);
}


/* =====================================================
   REFERENCE LINKS
   ===================================================== */

.sred-reference-link{
    color:#087fbd;
}


.sred-reference-link:hover{
    color:#0b4f86;
}


/* =====================================================
   REVIEW BUTTON
   ===================================================== */

.sred-review-button{
    background:#1769b0;
    color:#ffffff;
}


.sred-review-button:hover{
    background:#0b4f86;
}

/* =====================================================
   HERO — RESPONSIVE LAPTOP VERTICAL ALIGNMENT
   ===================================================== */

@media (min-width:701px) and (max-height:900px){

    .sred-hero-grid{
        align-items:center;
        padding-top:30px;
        padding-bottom:30px;
    }

    .sred-hero-content{
        top:auto;
        transform:none;
        align-self:center;
    }

}


/* SR&ED HERO — MINIMAL FINAL OVERRIDE */

.sred-hero-grid {
    padding: 0 !important;
    min-height: 420px;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 8px 22px rgba(36, 74, 120, .08),
        0 22px 55px rgba(36, 74, 120, .10);
}

.sred-hero-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 0;
}

.sred-hero-visual img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    filter: none;
}

.sred-hero-content {
    z-index: 1;
    padding: 42px 20px 42px 52px;
}

.sred-hero-content::before {
    left: 22px;
    top: 42px;
    bottom: 42px;
}

.sred-hero-grid::before,
.sred-hero-grid::after {
    display: none;
}
/* =========================================================
   SR&ED PAGE — FINAL TYPOGRAPHY OVERRIDE
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

/* Main hero title */
.sred-page .sred-hero-content h1 {
    font-size: clamp(2.35rem, 2.8vw, 3.1rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -1px;
}

/* Hero lead */
.sred-page .sred-lead {
    font-size: 1.125rem !important;
    line-height: 1.55 !important;
}

/* Hero summary */
.sred-page .sred-summary {
    font-size: 1rem !important;
    line-height: 1.65 !important;
}


/* =========================================================
   MAIN CARDS
   ========================================================= */

/* Card titles */
.sred-page .sred-card h3 {
    font-size: 1.125rem !important;
    line-height: 1.3 !important;
}

/* Main card descriptions */
.sred-page .sred-card > p {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
}

/* Read More / Less actions */
.sred-page .sred-card-button,
.sred-page .sred-read-more {
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
}


/* =========================================================
   EXPANDED CARD CONTENT
   ========================================================= */

/* Expanded introductory paragraphs */
.sred-page .sred-card-extra > p,
.sred-page .sred-section-intro {
    font-size: 0.9375rem !important;
    line-height: 1.65 !important;
}

/* Expanded section titles */
.sred-page .sred-section-title,
.sred-page .sred-benefit h4,
.sred-page .sred-reference strong {
    font-size: 1rem !important;
    line-height: 1.4 !important;
}

/* Benefit descriptions + reference text */
.sred-page .sred-benefit p,
.sred-page .sred-reference p {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
}

/* Professional bullet points */
.sred-page .sred-benefit-points li {
    font-size: 0.9375rem !important;
    line-height: 1.55 !important;
}

/* CRA reference link + eligibility button */
.sred-page .sred-reference-link,
.sred-page .sred-review-button {
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .sred-page .sred-hero-content h1 {
        font-size: clamp(2.1rem, 9vw, 2.6rem) !important;
    }

    .sred-page .sred-lead {
        font-size: 1rem !important;
    }

    .sred-page .sred-summary {
        font-size: 1rem !important;
    }

    .sred-page .sred-card h3 {
        font-size: 1.0625rem !important;
    }

    .sred-page .sred-card > p,
    .sred-page .sred-card-extra > p,
    .sred-page .sred-section-intro,
    .sred-page .sred-benefit p,
    .sred-page .sred-benefit-points li,
    .sred-page .sred-reference p {
        font-size: 0.9375rem !important;
    }
}