.training-hero {
    position: relative;
    min-height: 690px;
    padding: 105px 40px 110px;
    overflow: hidden;
    background: #f8f8f5;
    isolation: isolate;
}

.training-hero-bg {
    position: absolute;
    width: 650px;
    height: 650px;
    top: -170px;
    right: -100px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.11) 0%,
        rgba(37, 99, 235, 0.045) 42%,
        transparent 72%
    );
    filter: blur(20px);
    z-index: -1;
}

.training-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 65px;
}

.training-hero-content {
    position: relative;
    z-index: 2;
}

.training-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-pill);
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.training-hero-content h1 {
    margin: 27px 0 22px;
    max-width: 620px;
    color: #111111;
    font-size: clamp(45px, 5vw, 68px);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -3.5px;
}

.training-hero-content h1 span {
    display: block;
    color: #2563eb;
}

.tally-hero-content-description {
    max-width: 510px;
    color: #666666;
    font-size: 18px;
    line-height: 1.8;
}

.training-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.training-btn-primary,
.training-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 23px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 300ms ease;
}

.training-btn-primary {
    color: #fff;
    background: #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.19);
}

.training-btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
}

.training-btn-primary .material-symbols-rounded {
    font-size: 19px;
    transition: transform 300ms ease;
}

.training-btn-primary:hover .material-symbols-rounded {
    transform: translateX(4px)
}

.training-btn-secondary {
    color: #222;
    border: 1px solid #dedede;
    background: rgba(255, 255, 255, 0.65);
}

.training-btn-secondary:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #fff;
}

.training-hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 35px;
    color: #777;
    font-size: 13px;
}

.training-hero-note .material-symbols-rounded {
    color: #2563eb;
    font-size: 19px;
}


.training-hero-visual {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    isolation: isolate;
}

.learning-orb-glow {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.16),
        rgba(37, 99, 235, 0.055) 48%,
        transparent 72%
    );
    filter: blur(35px);
    z-index: -2;
}


.learning-orbit {
    position: absolute;
    width: 440px;
    height: 210px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 50%;
    transform: rotate(-27deg);
    z-index: -1;
}

.orbit-two {
    width: 510px;
    height: 290px;
    transform: rotate(35deg);
    border-color: rgba(37, 99, 235, 0.08);
}

.learning-block {
    position: absolute;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.97),
        rgba(242, 247, 255, 0.88)
    );
    box-shadow:
        0 20px 50px rgba(35, 66, 120, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    transform-style: preserve-3d;
    will-change: transform;
}

.learning-block::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.65),
        transparent 55%
    );
    pointer-events: none;
}

.block-main {
    z-index: 3;
    width: 245px;
    min-height: 245px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(-10deg) rotateX(5deg);
    animation: main-block-float 7s ease-in-out infinite;
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow:
        0 30px 70px rgba(37, 99, 235, 0.16),
        0 8px 25px rgba(30, 50, 90, 0.08),
        inset 0 1px 0 #fff;
}

.block-top {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7b8ba5;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.block-top .material-symbols-rounded {
    color: #2563eb;
    font-size: 17px;
}

.block-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
    text-align: center;
}

.block-main-icon.tally-logo {
    display: grid;
    width: 76px;
    height: 65px;
    place-items: center;

    border-radius: 15px;
    background: transparent;
}

.block-main-icon.tally-logo img {
    display: block;
    width: 58px;
    height: 48px;
    object-fit: contain;
}

.block-main-content h3 {
    margin: 15px 0 5px;
    color: #17243b;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.block-main-content p {
    color: #7b879b;
    font-size: 10px;
}

.block-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
    color: #2563eb;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.block-bottom-line {
    width: 35px;
    height: 1px;
    background: #9abaff;
}

.block-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
}

.block-icon .material-symbols-rounded {
    font-size: 22px;
}

.block-category {
    display: block;
    color: #9aa5b7;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.learning-block h4 {
    margin: 7px 0 4px;
    color: #1d293d;
    font-size: 15px;
    font-weight: 650;
}

.learning-block p {
    color: #8490a2;
    font-size: 10px;
}

.block-accounting {
    z-index: 4;
    width: 178px;
    top: 32px;
    left: 12px;
    transform: rotate(-7deg);
    animation: accounting-float 6s ease-in-out infinite;
}

.accounting-icon {
    color: #2563eb;
    background: #eaf1ff;
}

.block-gst {
    z-index: 4;
    width: 178px;
    top: 45px;
    right: 0;
    transform: rotate(7deg);
    animation: gst-float 7s ease-in-out infinite;
}

.gst-icon {
    color: #16835b;
    background: #e8f7ef;
}

.block-inventory {
    z-index: 4;
    width: 178px;
    bottom: 65px;
    left: 5px;
    transform: rotate(6deg);
    animation: inventory-float 7s ease-in-out infinite;
}

.inventory-icon {
    color: #8b5cf6;
    background: #f2edff;
}

.block-reports {
    z-index: 4;
    width: 178px;
    right: 0;
    bottom: 45px;
    transform: rotate(-6deg);
    animation: reports-float 6s ease-in-out infinite;
}

.reports-icon {
    color: #d47b28;
    background: #fff3e7;
}

.learning-particle {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #75a6ff;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.45);
}

.particle-one {
    top: 15%;
    right: 28%;
}

.particle-two {
    bottom: 18%;
    right: 24%;
    width: 5px;
    height: 5px;
}

.particle-three {
    top: 48%;
    left: 3%;
    width: 5px;
    height: 5px;
}

.learning-caption {
    position: absolute;
    bottom: 5px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 999px;
    color: #64748b;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(30, 50, 90, 0.06);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transform: translateX(-50%);
}


@keyframes main-block-float {
    0%, 100% {
        transform: translate(-50%, -50%) rotateY(-10deg) rotateX(5deg);
    }
    50% {
        transform: translate(-50%, calc(-50% - 10px)) rotateY(-7deg) rotateX(7deg);
    }
}

@keyframes accounting-float {
    0%, 100% { transform: translateY(0) rotate(-7deg); }
    50% { transform: translateY(-13px) rotate(-4deg); }
}

@keyframes gst-float {
    0%, 100% { transform: translateY(0) rotate(7deg); }
    50% { transform: translateY(12px) rotate(4deg); }
}

@keyframes inventory-float {
    0%, 100% { transform: translateY(0) rotate(6deg); }
    50% { transform: translateY(-11px) rotate(3deg); }
}

@keyframes reports-float {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(12px) rotate(-3deg); }
}


/* SECTION 3 DEMOLEARN VIDEO */


.demo-learning-section {
    position: relative;
    padding: 110px 0;
    background: #f8f8f5;
    overflow: hidden;
}

.demo-learning-container {
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 85px;
}

.demo-learning-video {
    max-width: 470px;
}

.demo-learning-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.demo-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
}

.demo-learning-intro h2 {
    margin: 24px 0 20px;

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: -2px;
    font-weight: 650;
    color: #111111;
}

.demo-learning-intro h2 span {
    display: block;
    color: #2563eb;
}

.demo-learning-intro > p {
    color: #666666;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 30px;
}


.demo-learning-points {
    display: flex;
    flex-direction: column;
    margin-bottom: 34px;
    gap: 17px;
}

.demo-point {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #343a46;
    font-size: 14px;
    font-weight: 500;
}

.demo-point .material-symbols-rounded {
    color: #2563eb;
    font-size: 21px;
}

.demo-playlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 21px;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 300ms ease,
                transform 300ms ease;
}

.demo-playlist-btn:hover {
    background: #174fc5;
    transform: translateY(-3px);
}

.demo-playlist-btn .material-symbols-rounded {
    font-size: 19px;
}


/* Video container demo yt */

.demo-featured-video {
    min-width: 0;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e9eaf0;
    border-radius: 18px;
    box-shadow:
        0 20px 60px rgba(20, 35, 65, 0.08),
        0 3px 12px rgba(20, 35, 65, 0.03);
}

.demo-video-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 5px 5px 14px;
}

.demo-video-label {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #667085;
}

.demo-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22a06b;
}

.demo-video-topbar > .material-symbols-rounded {
    color: #2563eb;
    font-size: 22px;
}

.demo-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
    border-radius: 11px;
    background: #17191f;
}

.demo-video-frame iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: none;
}


.demo-video-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    padding: 20px 6px 7px;
}

.demo-video-info > span {
    color: #2563eb;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.demo-video-info h3 {
    margin-top: 7px;
    color: #17191f;
    font-size: 16px;
    font-weight: 650;
}

.demo-video-footer > a {
    flex-shrink: 0;

    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;
    background: #f1f5ff;
    color: #2563eb;
    text-decoration: none;

    transition: background 250ms ease,
                color 250ms ease;
}

.demo-video-footer > a:hover {
    background: #2563eb;
    color: #ffffff;
}


/* Section 4 Course Plan Section */

.course-plans {
    padding: 110px 24px;
    background: #f8f8f5;
}

.course-plans-container {
    max-width: 1280px;
    margin: 0 auto;
}

.course-plans-heading {
    max-width: 680px;
    margin: 0 auto 58px;
    text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.course-plans-heading h2 {
    margin: 0;
    color: #111;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: -2px;
    font-weight: 650;
}

.course-plans-heading h2 span {
  color: #2563eb;
}

.course-plans-heading p {
  max-width: 570px;
  margin: 20px auto 0;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
}

.course-plans-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.course-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px;
    background: #fff;
    border: 1px solid #e8e8e5;
    border-radius: 22px;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(20, 30, 50, 0.07);
}

.course-card-featured {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.06);
}

.course-featured-label {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-bottom: 24px;
    padding: 8px 12px;
    color: #2563eb;
    background: #eff5ff;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 650;
}

.course-featured-label .material-symbols-rounded {
  font-size: 17px;
}

.course-level {
    display: block;
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.course-card-top h3 {
    margin: 0;
    color: #111;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -1px;
}

.course-card-top h3 strong {
    font-weight: 750;
}

.course-card-top p {
    max-width: 430px;
    margin: 12px 0 0;
    color: #707070;
    line-height: 1.7;
}

.course-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 28px 0;
    padding: 20px 0;
    border-top: 1px solid #ededeb;
    border-bottom: 1px solid #ededeb; 
}

.course-duration, .course-mode {
    display: flex;
    align-items: center;
    gap: 11px;
}

.course-duration > .material-symbols-rounded,
.course-mode > .material-symbols-rounded {
  color: #2563eb;
  font-size: 23px;
}

.course-meta small,
.course-meta strong {
  display: block;
}

.course-meta small {
    margin-bottom: 5px;
    color: #888;
    font-size: 11px;
}

.course-meta strong {
  color: #222;
  font-size: 13px;
  font-weight: 650;
}

.course-modules h4 {
    margin: 0 0 18px;
    color: #222;
    font-size: 15px;
    font-weight: 650;
}

.course-modules ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.course-modules li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    font-size: 13px;
    line-height: 1.5;
}

.course-modules li .material-symbols-rounded {
  flex-shrink: 0;
  color: #2563eb;
  font-size: 18px;
}

.course-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 15px 18px;
    color: #fff;
    background: #2563eb;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: background 250ms ease;
}

.course-cta:hover {
  background: #174fc5;
}

.course-cta .material-symbols-rounded {
  font-size: 19px;
  transition: transform 250ms ease;
}

.course-cta:hover .material-symbols-rounded {
  transform: translateX(4px);
}

.course-plans-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: #777;
  text-align: center;
}

.course-plans-note .material-symbols-rounded {
  color: #2563eb;
  font-size: 19px;
}

.course-plans-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}