/* ==========================================================================
   SmartSchool Central — landing redesign v3 (Bumpa-inspired)
   Colorful, playful feature cards + premium footer. Loaded LAST.
   ========================================================================== */

:root {
    --ssl-green: #009444;
    --ssl-green-dark: #007a38;
    --ssl-ink: #16202a;
}

/* ======================= Section heading ================================ */
.features .sectionTitle span,
.features .sectionTitle {
    font-weight: 800 !important;
    letter-spacing: -0.5px;
    color: #16202a !important;
}

/* ======================= Feature cards ================================== */
.features .cardWrapper.ss-feature-grid {
    margin-top: 40px !important;
    gap: 0 !important;
    row-gap: 0 !important;
}
.ss-feature-grid > [class*="col-"] {
    margin-bottom: 22px;
    display: flex;
}

.ss-feature-card {
    --fc: #009444;
    --fc-tint: #e7f6ee;
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #edf0f3;
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.045);
    transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s ease, border-color .28s ease;
    overflow: hidden;
}
.ss-feature-card::before {
    content: "";
    position: absolute;
    left: 0; top: 16px; bottom: 16px;
    width: 5px;
    border-radius: 0 4px 4px 0;
    background: var(--fc);
    transition: top .28s ease, bottom .28s ease, width .28s ease;
}
.ss-feature-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 24px 42px -18px rgba(16, 24, 40, 0.22);
    box-shadow: 0 24px 42px -18px color-mix(in srgb, var(--fc) 42%, transparent);
}
.ss-feature-card:hover::before { top: 0; bottom: 0; width: 6px; }

.ss-feature-icon {
    flex: 0 0 auto;
    width: 62px; height: 62px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    background: var(--fc-tint);
    color: var(--fc);
    font-size: 26px;
    transition: transform .28s cubic-bezier(.34,1.4,.5,1), box-shadow .28s ease, background .28s ease, color .28s ease;
}
.ss-feature-card:hover .ss-feature-icon {
    background: var(--fc);
    color: #ffffff;
    transform: scale(1.07) rotate(-5deg);
    box-shadow: 0 12px 22px -6px rgba(16, 24, 40, 0.28);
    box-shadow: 0 12px 22px -6px color-mix(in srgb, var(--fc) 60%, transparent);
}

.ss-feature-name {
    flex: 1 1 auto;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #16202a !important;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.ss-feature-arrow {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #f3f5f7;
    color: #aab2bb;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all .28s ease;
}
.ss-feature-card:hover .ss-feature-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--fc);
    color: #ffffff;
}

/* colour rotation — playful Bumpa-style variety */
.ss-fc-0 { --fc: #009444; --fc-tint: #e7f6ee; }
.ss-fc-1 { --fc: #2f6fed; --fc-tint: #e9f0fd; }
.ss-fc-2 { --fc: #e0930a; --fc-tint: #fcf3e1; }
.ss-fc-3 { --fc: #e5486a; --fc-tint: #fdeaef; }
.ss-fc-4 { --fc: #7c4ddb; --fc-tint: #f1ebfc; }
.ss-fc-5 { --fc: #0d9488; --fc-tint: #e3f5f3; }

.features .cardWrapper.ss-feature-grid .commonBtn.view-more-feature {
    margin-top: 28px !important;
    border-radius: 999px !important;
}

/* ============================ Footer ==================================== */
.ss-footer {
    position: relative;
    background: radial-gradient(900px 320px at 82% -10%, rgba(0,148,68,0.14), transparent 60%),
                #0e1621 !important;
    color: #c4ccd2;
    padding: 68px 0 26px !important;
    margin-top: 88px;
    border-top: 3px solid var(--ssl-green);
    overflow: hidden;
}
.ss-footer .container { max-width: 1180px; }
.ss-footer-top { padding-bottom: 44px; }

.ss-footer-brand { max-width: 400px; }
.ss-footer-logo { display: inline-block; margin-bottom: 22px; }
.ss-footer-logo .logo {
    height: 52px !important; width: auto !important;
    background: #ffffff;
    padding: 9px 14px;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
.ss-footer-desc {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #9aa6b0 !important;
    font-weight: 400 !important;
    margin-bottom: 26px !important;
}

.ss-social { display: flex; gap: 12px; }
.ss-social a {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09) !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
    font-size: 17px;
    transition: all .22s ease;
}
.ss-social a i { color: #ffffff !important; }
.ss-social a:hover {
    background: var(--ssl-green) !important;
    border-color: var(--ssl-green);
    transform: translateY(-4px);
    box-shadow: 0 12px 22px rgba(0, 148, 68, 0.45);
}

.ss-footer-col { display: flex; flex-direction: column; }
.ss-footer-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.13em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    margin-bottom: 22px !important;
    position: relative;
    padding-bottom: 12px;
}
.ss-footer-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 30px; height: 3px;
    border-radius: 3px;
    background: var(--ssl-green);
}
.ss-footer .ss-footer-col a,
footer.ss-footer .ss-footer-col a {
    color: #b3bdc6 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    padding: 8px 0 !important;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    transition: color .18s ease, transform .18s ease;
}
.ss-footer .ss-footer-col a::before {
    content: "";
    width: 0; height: 1.5px;
    background: var(--ssl-green);
    border-radius: 2px;
    transition: width .2s ease, margin-right .2s ease;
}
.ss-footer .ss-footer-col a:hover {
    color: #ffffff !important;
    transform: translateX(2px);
}
.ss-footer .ss-footer-col a:hover::before { width: 14px; margin-right: 10px; }

.ss-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding-top: 24px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.ss-copyright {
    font-size: 14.5px;
    color: #93a0aa;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ss-copyright i { color: var(--ssl-green); }
.ss-madewith { font-size: 13.5px; color: #93a0aa; }
.ss-madewith i { color: #ff5b6e; margin: 0 3px; }

@media (max-width: 767px) {
    .features .cardWrapper.ss-feature-grid { margin-top: 28px !important; }
    .ss-feature-grid > [class*="col-"] { margin-bottom: 14px; }
    .ss-feature-card { padding: 16px 18px; border-radius: 18px; gap: 15px; }
    .ss-feature-icon { width: 54px; height: 54px; font-size: 22px; border-radius: 16px; }
    .ss-feature-name { font-size: 16.5px !important; }
    .ss-feature-arrow { display: none; }

    .ss-footer { padding: 48px 0 22px !important; margin-top: 56px; }
    .ss-footer-top { padding-bottom: 28px; }
    .ss-footer-brand { margin-bottom: 30px; max-width: 100%; }
    .ss-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ====================================================================
   Educynk brand band — the two key visuals with the message beside them.
   Both graphics carry their own baked-in text, so nothing is overlaid.
   ==================================================================== */

.edu-band { position: relative; }

.edu-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: center;
}

.edu-band__figure { margin: 0; }

.edu-band__figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    box-shadow: 0 22px 55px rgba(6, 62, 36, .18);
}

.edu-band__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0F703D;
    background: #e9f6ef;
    border-radius: 999px;
    padding: 7px 14px;
    margin-bottom: 16px;
}

.edu-band__title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    line-height: 1.18;
    color: #10261a;
    margin-bottom: 16px;
}

.edu-band__title span { color: #0F703D; display: block; }

.edu-band__lede {
    font-size: 16px;
    line-height: 1.75;
    color: #4a5560;
    margin-bottom: 22px;
    max-width: 56ch;
}

.edu-band__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.edu-band__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #2f3a44;
    line-height: 1.55;
}

.edu-band__list i { color: #0F703D; margin-top: 3px; flex: 0 0 auto; }

.edu-band__quote { margin: 52px 0 0; }

.edu-band__quote img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    box-shadow: 0 22px 55px rgba(6, 62, 36, .18);
}

@media (max-width: 991.98px) {
    .edu-band__grid { grid-template-columns: 1fr; gap: 30px; }
    .edu-band__quote { margin-top: 34px; }
}

/* ====================================================================
   Brand buttons. .commonBtn (Get In Touch, Send, and the other CTAs on
   this page) inherits --primary-color from style.css, which is the stock
   blue #215679 — wrong next to the Educynk green everywhere else.
   Scoped to the landing page rather than redefining --primary-color,
   which is used well beyond these buttons.
   ==================================================================== */

.commonBtn,
a.commonBtn,
input[type="submit"].commonBtn,
button.commonBtn {
    background: #0F703D !important;
    border-color: #0F703D !important;
    color: #fff !important;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.commonBtn:hover,
a.commonBtn:hover,
input[type="submit"].commonBtn:hover,
button.commonBtn:hover {
    background: #0b5b31 !important;
    border-color: #0b5b31 !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(15, 112, 61, .28);
    transform: translateY(-1px);
}

.commonBtn:focus,
.commonBtn:active {
    background: #0b5b31 !important;
    box-shadow: 0 0 0 3px rgba(15, 112, 61, .22) !important;
}
