
/* =========================================================
   BSI ELITE CONSULT — TALLY TRAINING PAGE
   CodeIgniter 3 / Bootstrap 4
========================================================= */

.tally-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 70px 0 80px;
    background:
        radial-gradient(circle at 90% 10%, rgba(8,169,154,.13), transparent 30%),
        linear-gradient(125deg, #f6f9ff, #edf4ff 60%, #effaf7);
}

.tally-hero-orb {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(36,99,235,.11);
    border-radius: 50%;
    pointer-events: none;
}

.tally-orb-one {
    top: -170px;
    right: -100px;
    width: 440px;
    height: 440px;
}

.tally-orb-two {
    bottom: -190px;
    left: 40%;
    width: 340px;
    height: 340px;
    border-color: rgba(8,169,154,.14);
}

.tally-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    color: #8492a6;
    font-size: 12px;
}

.tally-breadcrumb a {
    color: #2463eb;
    font-weight: 700;
}

.tally-breadcrumb a:hover {
    color: #07877d;
}

.tally-eyebrow,
.tally-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #2463eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    line-height: 1.7;
}

.tally-eyebrow > span,
.tally-section-eyebrow > span {
    display: inline-block;
    width: 27px;
    height: 3px;
    flex: 0 0 27px;
    background: #ff9d42;
    border-radius: 5px;
}

.tally-hero h1 {
    max-width: 680px;
    margin: 0 0 23px;
    color: #102b46;
    font-size: clamp(37px, 4.3vw, 56px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -1.8px;
}

.tally-hero h1 em {
    color: #2463eb;
    font-style: normal;
}

.tally-hero-copy {
    max-width: 570px;
    margin-bottom: 28px;
    color: #61738a;
    font-size: 14px;
    line-height: 1.95;
}

.tally-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.tally-btn-primary {
    padding: 14px 22px;
    color: #fff !important;
    background: linear-gradient(135deg, #2463eb, #477cf4);
    border: 1px solid #2463eb;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(36,99,235,.18);
    font-size: 12px;
    font-weight: 800;
    transition: all .25s ease;
}

.tally-btn-primary:hover,
.tally-btn-primary:focus {
    color: #fff !important;
    background: #102b46;
    border-color: #102b46;
    box-shadow: 0 13px 28px rgba(16,43,70,.17);
    transform: translateY(-2px);
}

.tally-btn-primary span {
    display: inline-block;
    margin-left: 7px;
    transition: transform .25s ease;
}

.tally-btn-primary:hover span {
    transform: translateX(4px);
}

.tally-text-link {
    color: #102b46;
    font-size: 12px;
    font-weight: 800;
}

.tally-text-link:hover {
    color: #2463eb;
}

.tally-text-link span {
    margin-left: 5px;
}

.tally-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 27px;
}

.tally-hero-points span {
    color: #52677f;
    font-size: 10px;
    font-weight: 700;
}

.tally-hero-points b {
    margin-right: 4px;
    color: #08a99a;
}

/* Hero dashboard illustration */

.tally-hero-visual {
    position: relative;
    margin-left: 12px;
    padding: 15px;
    background: linear-gradient(145deg, #173858, #0b2036);
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(16,43,70,.19);
}

.tally-visual-top {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 4px 15px;
}

.tally-window-dot {
    width: 7px;
    height: 7px;
    background: #ff9d42;
    border-radius: 50%;
}

.tally-window-dot:nth-child(2) {
    background: #59dfcc;
}

.tally-window-dot:nth-child(3) {
    background: #8bb5ff;
}

.tally-window-label {
    margin-left: 8px;
    color: #a9bfd6;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.tally-dashboard {
    padding: 24px 20px 18px;
    background: #fff;
    border-radius: 13px;
}

.tally-dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.tally-dashboard-heading small {
    color: #2463eb;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.tally-dashboard-heading h2 {
    margin: 6px 0 0;
    color: #102b46;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.4px;
}

.tally-dashboard-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    color: #fff;
    background: linear-gradient(135deg, #2463eb, #08a99a);
    border-radius: 12px;
    font-size: 24px;
    font-weight: 900;
}

.tally-dashboard-row {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 10px;
    padding: 13px 11px;
    border: 1px solid #e8edf5;
    border-radius: 10px;
}

.tally-dash-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 9px;
    font-size: 17px;
    font-weight: 800;
}

.tally-dash-blue {
    color: #2463eb;
    background: #eaf1ff;
}

.tally-dash-teal {
    color: #07877d;
    background: #e3f8f3;
}

.tally-dash-orange {
    color: #bd6b16;
    background: #fff0dd;
}

.tally-dashboard-row > div {
    min-width: 0;
    flex: 1;
}

.tally-dashboard-row strong,
.tally-dashboard-row small {
    display: block;
}

.tally-dashboard-row strong {
    color: #172c47;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.6;
}

.tally-dashboard-row small {
    margin-top: 3px;
    color: #8291a6;
    font-size: 9px;
    line-height: 1.5;
}

.tally-dash-arrow {
    color: #2463eb;
    font-size: 16px;
}

.tally-dashboard-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    color: #61738a;
    font-size: 10px;
    font-weight: 700;
}

.tally-status-dot {
    width: 7px;
    height: 7px;
    background: #08a99a;
    border-radius: 50%;
}

.tally-floating-note {
    position: absolute;
    right: -18px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 260px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e4ebf4;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(16,43,70,.13);
}

.tally-floating-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    color: #fff;
    background: #08a99a;
    border-radius: 10px;
    font-size: 16px;
}

.tally-floating-note strong,
.tally-floating-note small {
    display: block;
}

.tally-floating-note strong {
    color: #172c47;
    font-size: 11px;
    font-weight: 800;
}

.tally-floating-note small {
    margin-top: 4px;
    color: #8291a6;
    font-size: 9px;
    line-height: 1.5;
}

/* Highlights */

.tally-highlights {
    padding: 25px 0;
    background: #fff;
    border-bottom: 1px solid #e7edf3;
    box-shadow: 0 8px 25px rgba(16,43,70,.025);
}

.tally-highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 65px;
    padding: 10px 0;
}

.tally-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 11px;
    font-size: 18px;
    font-weight: 800;
}

.tally-highlight-blue {
    color: #2463eb;
    background: #eaf1ff;
}

.tally-highlight-teal {
    color: #07877d;
    background: #e3f8f3;
}

.tally-highlight-orange {
    color: #bd6b16;
    background: #fff0dd;
}

.tally-highlight-purple {
    color: #7754c8;
    background: #f0eaff;
}

.tally-highlight-item strong,
.tally-highlight-item small {
    display: block;
}

.tally-highlight-item strong {
    color: #172c47;
    font-size: 12px;
    font-weight: 800;
}

.tally-highlight-item small {
    margin-top: 4px;
    color: #8291a6;
    font-size: 10px;
    line-height: 1.5;
}

/* Introduction */

.tally-intro-section {
    padding: 95px 0;
    background: #fff;
}

.tally-intro-visual {
    position: relative;
    min-height: 390px;
    margin-right: 15px;
    padding: 14px 0 14px 14px;
}

.tally-intro-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 78%;
    background: #e3f8f3;
    border-radius: 20px;
}

.tally-intro-visual > img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 375px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(16,43,70,.13);
}

.tally-intro-caption {
    position: absolute;
    z-index: 2;
    right: -5px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 17px;
    background: #fff;
    border: 1px solid #e7edf3;
    border-radius: 11px;
    box-shadow: 0 12px 30px rgba(16,43,70,.11);
}

.tally-intro-caption > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    color: #fff;
    background: #2463eb;
    border-radius: 10px;
}

.tally-intro-caption strong,
.tally-intro-caption small {
    display: block;
}

.tally-intro-caption strong {
    color: #172c47;
    font-size: 11px;
}

.tally-intro-caption small {
    margin-top: 4px;
    color: #8291a6;
    font-size: 9px;
}

.tally-intro-copy h2,
.tally-centered-heading h2,
.tally-audience-section h2,
.tally-faq-section h2 {
    margin: 0 0 22px;
    color: #172c47;
    font-size: clamp(30px, 3.2vw, 41px);
    font-weight: 800;
    line-height: 1.23;
    letter-spacing: -1px;
}

.tally-intro-copy h2 em,
.tally-centered-heading h2 em,
.tally-audience-section h2 em,
.tally-faq-section h2 em {
    color: #08a99a;
    font-style: normal;
}

.tally-intro-copy > p,
.tally-audience-section > .container > .row > .col-lg-5 > p,
.tally-faq-section > .container > .row > .col-lg-4 > p {
    color: #66758b;
    font-size: 13px;
    line-height: 1.95;
}

.tally-benefit-list {
    display: grid;
    gap: 15px;
    margin: 24px 0;
}

.tally-benefit-list > div {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.tally-benefit-list > div > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    color: #07877d;
    background: #e3f8f3;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.tally-benefit-list p {
    margin: 0;
}

.tally-benefit-list strong,
.tally-benefit-list small {
    display: block;
}

.tally-benefit-list strong {
    color: #172c47;
    font-size: 12px;
    font-weight: 800;
}

.tally-benefit-list small {
    margin-top: 4px;
    color: #8291a6;
    font-size: 11px;
    line-height: 1.7;
}

.tally-inline-link {
    color: #2463eb;
    font-size: 12px;
    font-weight: 800;
}

.tally-inline-link span {
    margin-left: 7px;
}

/* Curriculum */

.tally-curriculum-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(36,99,235,.06), transparent 28%),
        #f5f8fd;
}

.tally-centered-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.tally-center-eyebrow {
    justify-content: center;
}

.tally-centered-heading > p {
    max-width: 650px;
    margin: 0 auto;
    color: #66758b;
    font-size: 13px;
    line-height: 1.9;
}

.tally-module-grid > div {
    display: flex;
    margin-bottom: 22px;
}

.tally-module-card {
    width: 100%;
    padding: 27px;
    background: #fff;
    border: 1px solid #e3eaf4;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(16,43,70,.035);
    transition: transform .25s ease, box-shadow .25s ease;
}

.tally-module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(16,43,70,.09);
}

.tally-module-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 21px;
    border-radius: 13px;
}

.tally-module-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tally-module-blue {
    color: #2463eb;
    background: #eaf1ff;
}

.tally-module-teal {
    color: #07877d;
    background: #e3f8f3;
}

.tally-module-orange {
    color: #bd6b16;
    background: #fff0dd;
}

.tally-module-purple {
    color: #7754c8;
    background: #f0eaff;
}

.tally-module-number {
    display: block;
    margin-bottom: 9px;
    color: #8995a7;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.tally-module-card h3 {
    margin: 0 0 12px;
    color: #172c47;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
}

.tally-module-card p {
    margin: 0;
    color: #66758b;
    font-size: 12px;
    line-height: 1.9;
}

.tally-curriculum-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 10px;
    padding: 20px 23px;
    background: #eaf2ff;
    border: 1px solid #dbe8fc;
    border-radius: 11px;
}

.tally-note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    color: #fff;
    background: #2463eb;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
}

.tally-curriculum-note p {
    margin: 0;
    color: #53677f;
    font-size: 11px;
    line-height: 1.8;
}

.tally-curriculum-note strong {
    color: #172c47;
}

/* Audience */

.tally-audience-section {
    padding: 90px 0;
    background: #fff;
}

.tally-audience-section h2 {
    margin-bottom: 22px;
}

.tally-audience-section .tally-btn-primary {
    margin-top: 12px;
}

.tally-audience-list {
    padding: 12px 0;
}

.tally-audience-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e7edf3;
}

.tally-audience-item:last-child {
    border-bottom: 0;
}

.tally-audience-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 11px;
    font-size: 17px;
    font-weight: 800;
}

.tally-audience-blue {
    color: #2463eb;
    background: #eaf1ff;
}

.tally-audience-teal {
    color: #07877d;
    background: #e3f8f3;
}

.tally-audience-orange {
    color: #bd6b16;
    background: #fff0dd;
}

.tally-audience-purple {
    color: #7754c8;
    background: #f0eaff;
}

.tally-audience-item h3 {
    margin: 2px 0 7px;
    color: #172c47;
    font-size: 14px;
    font-weight: 800;
}

.tally-audience-item p {
    margin: 0;
    color: #66758b;
    font-size: 11px;
    line-height: 1.8;
}

/* Process */

.tally-process-section {
    padding: 90px 0;
    background: #f5f8fd;
}

.tally-process-grid > div {
    display: flex;
    margin-bottom: 15px;
}

.tally-process-card {
    width: 100%;
    min-height: 200px;
    padding: 27px;
    background: #fff;
    border: 1px solid #e3eaf4;
    border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tally-process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(16,43,70,.08);
}

.tally-process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 23px;
    color: #fff;
    background: #2463eb;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 900;
}

.tally-process-teal {
    background: #08a99a;
}

.tally-process-orange {
    color: #102b46;
    background: #ffbd75;
}

.tally-process-card h3 {
    margin-bottom: 11px;
    color: #172c47;
    font-size: 16px;
    font-weight: 800;
}

.tally-process-card p {
    margin: 0;
    color: #66758b;
    font-size: 12px;
    line-height: 1.9;
}

/* Enquiry form */

.tally-enquiry-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #eef4fc, #f7f9fd);
}

.tally-enquiry-panel {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e9f3;
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(16,43,70,.11);
}

.tally-enquiry-intro {
    position: relative;
    padding: 48px 38px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(8,169,154,.22), transparent 35%),
        linear-gradient(145deg, #173858, #0b2036);
}

.tally-enquiry-intro::after {
    position: absolute;
    right: -85px;
    bottom: -115px;
    width: 250px;
    height: 250px;
    content: "";
    border: 28px solid rgba(255,255,255,.04);
    border-radius: 50%;
    pointer-events: none;
}

.tally-eyebrow-light {
    color: #a5e6df;
}

.tally-enquiry-intro h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(29px, 3vw, 39px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
}

.tally-enquiry-intro h2 em {
    color: #59dfcc;
    font-style: normal;
}

.tally-enquiry-intro > p {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    color: #c6d4e4;
    font-size: 12px;
    line-height: 1.9;
}

.tally-enquiry-contact {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 19px;
}

.tally-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    font-size: 17px;
}

.tally-enquiry-contact small,
.tally-enquiry-contact a {
    display: block;
}

.tally-enquiry-contact small {
    margin-bottom: 4px;
    color: #91b8e8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.tally-enquiry-contact a {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.tally-enquiry-contact a:hover {
    color: #59dfcc;
}

.tally-enquiry-form-wrap {
    min-width: 0;
    padding: 43px 38px;
    background: #fff;
}

.tally-enquiry-form .form-group {
    margin-bottom: 20px;
}

.tally-enquiry-form label {
    display: block;
    margin-bottom: 8px;
    color: #172c47;
    font-size: 12px;
    font-weight: 800;
}

.tally-enquiry-form .form-control {
    min-height: 48px;
    padding: 12px 14px;
    color: #203650;
    background: #f8fafd;
    border: 1px solid #dce5f0;
    border-radius: 8px;
    box-shadow: none;
    font-size: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tally-enquiry-form .form-control::placeholder {
    color: #98a7bb;
}

.tally-enquiry-form .form-control:focus {
    background: #fff;
    border-color: #2463eb;
    box-shadow: 0 0 0 3px rgba(36,99,235,.1);
}

.tally-enquiry-form textarea.form-control {
    min-height: 125px;
    resize: vertical;
}

.tally-form-note {
    display: block;
    margin-top: 8px;
    color: #8291a6;
    font-size: 10px;
    line-height: 1.7;
}

.tally-form-message {
    margin-bottom: 20px;
    padding: 13px 15px;
    color: #126746;
    background: #e5f8ef;
    border: 1px solid #bdebd3;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.7;
}

/* FAQ */

.tally-faq-section {
    padding: 90px 0;
    background: #fff;
}

.tally-faq-section h2 {
    margin-bottom: 20px;
}

.tally-faq-list {
    border-top: 1px solid #e3eaf4;
}

.tally-faq-list details {
    padding: 20px 0;
    border-bottom: 1px solid #e3eaf4;
}

.tally-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #172c47;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.7;
    list-style: none;
    cursor: pointer;
}

.tally-faq-list summary::-webkit-details-marker {
    display: none;
}

.tally-faq-list summary::marker {
    content: "";
}

.tally-faq-list summary span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    color: #2463eb;
    background: #eaf1ff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 500;
    transition: transform .2s ease, background .2s ease;
}

.tally-faq-list details[open] summary span {
    color: #fff;
    background: #08a99a;
    transform: rotate(45deg);
}

.tally-faq-list summary:hover {
    color: #2463eb;
}

.tally-faq-list details p {
    margin: 13px 40px 0 0;
    color: #66758b;
    font-size: 12px;
    line-height: 1.9;
}

/* Final CTA */

.tally-final-cta {
    padding: 0 0 90px;
    background: #fff;
}

.tally-final-panel {
    position: relative;
    padding: 45px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(8,169,154,.2), transparent 35%),
        linear-gradient(120deg, #173858, #102b46);
    border-radius: 20px;
    box-shadow: 0 22px 50px rgba(16,43,70,.15);
}

.tally-final-panel > .row {
    position: relative;
    z-index: 1;
}

.tally-final-decoration {
    position: absolute;
    right: 25px;
    bottom: -70px;
    color: rgba(255,255,255,.045);
    font-size: 240px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.tally-final-panel h2 {
    margin: 0 0 17px;
    color: #fff;
    font-size: clamp(29px, 3.4vw, 41px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
}

.tally-final-panel h2 em {
    color: #59dfcc;
    font-style: normal;
}

.tally-final-panel p {
    max-width: 570px;
    margin: 0;
    color: #c6d4e4;
    font-size: 13px;
    line-height: 1.9;
}

.tally-final-button {
    padding: 14px 20px;
    color: #102b46 !important;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.tally-final-button:hover {
    background: #ffd166;
    border-color: #ffd166;
    transform: translateY(-2px);
}

.tally-final-button span {
    margin-left: 7px;
}

/* Responsive */

@media (max-width: 991.98px) {
    .tally-hero {
        padding: 55px 0 65px;
    }

    .tally-hero-visual {
        margin: 45px 12px 0;
    }

    .tally-intro-section,
    .tally-curriculum-section,
    .tally-audience-section,
    .tally-process-section,
    .tally-enquiry-section,
    .tally-faq-section {
        padding: 70px 0;
    }

    .tally-intro-visual {
        max-width: 550px;
        margin: 0 auto 45px;
    }

    .tally-enquiry-intro,
    .tally-enquiry-form-wrap {
        padding: 35px 28px;
    }

    .tally-final-panel {
        padding: 35px;
    }

    .tally-final-panel .text-lg-right {
        margin-top: 25px;
        text-align: left !important;
    }
}

@media (max-width: 767.98px) {
    .tally-hero {
        padding: 42px 0 50px;
    }

    .tally-hero h1 {
        font-size: 36px;
        letter-spacing: -1.2px;
    }

    .tally-hero-copy {
        font-size: 13px;
    }

    .tally-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .tally-hero-actions .tally-btn-primary {
        width: 100%;
    }

    .tally-text-link {
        align-self: flex-start;
    }

    .tally-hero-points {
        flex-direction: column;
        gap: 9px;
    }

    .tally-hero-visual {
        margin: 38px 8px 0;
        padding: 10px;
        border-radius: 15px;
    }

    .tally-dashboard {
        padding: 18px 12px 14px;
    }

    .tally-dashboard-heading h2 {
        font-size: 15px;
    }

    .tally-dashboard-row {
        gap: 8px;
        padding: 11px 8px;
    }

    .tally-dashboard-row strong {
        font-size: 9px;
    }

    .tally-dashboard-row small {
        font-size: 8px;
    }

    .tally-floating-note {
        right: -7px;
        bottom: 15px;
        max-width: 225px;
        padding: 11px;
    }

    .tally-highlights {
        padding: 15px 0;
    }

    .tally-highlight-item {
        align-items: flex-start;
        gap: 8px;
    }

    .tally-highlight-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 15px;
    }

    .tally-highlight-item strong {
        font-size: 10px;
    }

    .tally-highlight-item small {
        font-size: 9px;
    }

    .tally-intro-section,
    .tally-curriculum-section,
    .tally-audience-section,
    .tally-process-section,
    .tally-enquiry-section,
    .tally-faq-section {
        padding: 58px 0;
    }

    .tally-intro-visual {
        min-height: 310px;
        margin-bottom: 35px;
    }

    .tally-intro-visual > img {
        height: 300px;
    }

    .tally-intro-copy h2,
    .tally-centered-heading h2,
    .tally-audience-section h2,
    .tally-faq-section h2 {
        font-size: 30px;
    }

    .tally-centered-heading {
        margin-bottom: 32px;
    }

    .tally-module-card {
        padding: 23px;
    }

    .tally-enquiry-panel {
        border-radius: 16px;
    }

    .tally-enquiry-intro,
    .tally-enquiry-form-wrap {
        padding: 30px 22px;
    }

    .tally-enquiry-form .form-row {
        margin-right: 0;
        margin-left: 0;
    }

    .tally-enquiry-form .form-row > .form-group {
        padding-right: 0;
        padding-left: 0;
    }

    .tally-enquiry-form .tally-btn-primary {
        width: 100%;
    }

    .tally-final-cta {
        padding-bottom: 60px;
    }

    .tally-final-panel {
        padding: 30px 23px;
        border-radius: 15px;
    }

    .tally-final-panel h2 {
        font-size: 30px;
    }

    .tally-final-panel .tally-final-button {
        display: block;
        width: 100%;
        margin-top: 22px;
    }

    .tally-final-decoration {
        right: 0;
        bottom: -20px;
        font-size: 150px;
    }
}

@media (max-width: 420px) {
    .tally-hero h1 {
        font-size: 31px;
    }

    .tally-intro-copy h2,
    .tally-centered-heading h2,
    .tally-audience-section h2,
    .tally-faq-section h2 {
        font-size: 27px;
    }

    .tally-dashboard-heading h2 {
        font-size: 13px;
    }

    .tally-dashboard-row {
        gap: 7px;
    }

    .tally-dash-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .tally-final-panel h2 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tally-hero *,
    .tally-intro-section *,
    .tally-curriculum-section *,
    .tally-audience-section *,
    .tally-process-section *,
    .tally-enquiry-section *,
    .tally-faq-section *,
    .tally-final-cta * {
        transition: none !important;
    }
}
