/* Tablets */


@media (max-width: 1100px) {
    .tally-hero {
        min-height: 680px;
    }

    .tally-hero-content {
        max-width: 650px;
    }

    .tally-hero-title {
        font-size: clamp(46px, 6vw, 64px);
        max-width: 650px;
    }

    .tally-floating-card {
        transform-origin: center;
        scale: 0.9;
    }

    .tally-card-icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }


    .tally-card-content strong {
        font-size: 13px;
    }

    .tally-card-content small,
    .tally-card-content span {
        font-size: 9px;
    }

    .tally-sales-card {
        left: 4%;
    }

    .tally-inventory-card {
        right: 4%;
        top: 18%;
    }

    .tally-banking-card {
        left: 2%;
    }

    .tally-profit-card {
        right: 2%;
    }

    .tally-gst-card,
    .tally-invoice-card {
        scale: 0.9;
    }



    /* Section ecosystem */


    .tally-ecosystem {
        padding: 110px 0;
    }

    .tally-ecosystem-container {
        width: min(92%, 1000px);
        gap: 50px;
    }

    .tally-ecosystem-visual {
        max-width: 480px;
    }

    .orbit-one {
        width: 280px;
        height: 280px;
    }

    .orbit-two {
        width: 390px;
        height: 390px;
    }

    .ecosystem-core {
        width: 135px;
        height: 135px;
    }

    .ecosystem-core-icon {
        width: 48px;
        height: 48px;
    }

    .ecosystem-core-icon img {
        width: 38px;
        height: 38px;
    }

    .ecosystem-core strong {
        font-size: 16px;
    }

    .ecosystem-node {
        padding: 9px 12px;
    }

    .ecosystem-node-icon {
        width: 28px;
        height: 28px;
    }

    .ecosystem-node span {
        font-size: 11px;
    }

    .tally-ecosystem-content h2 {
        font-size: clamp(36px, 4.5vw, 50px);
    }

    .tally-ecosystem-description {
        font-size: 16px;
    }



    /* section capabilities */


    .tally-capabilities {
        padding: 110px 0;
    }

    .tally-capabilities-container {
        width: min(92%, 950px);
        gap: 60px;
    }

    .tally-capabilities-intro h2 {
        font-size: clamp(36px, 4.5vw, 50px);
    }

    .tally-capabilities-intro p {
        font-size: 16px;
    }



}

/* Mobile */
@media (max-width: 820px) {
    .tally-hero {
        min-height: 700px;
    }

    .tally-hero-content {
        max-width: 620px;
    }

    .tally-hero-title {
        max-width: 620px;
        font-size: clamp(42px, 8vw, 60px);
    }

    .tally-hero-description {
        max-width: 500px;
        font-size: 16px;
    }

    .tally-floating-card {
        scale: 0.78;
    }

    .tally-sales-card {
        top: 14%;
        left: 1%;
    }

    .tally-inventory-card {
        top: 20%;
        right: 1%;
    }

    .tally-gst-card {
        top: 7%;
        left: 50%;
    }

    .tally-banking-card {
        bottom: 11%;
        left: 1%;
    }

    .tally-invoice-card {
        bottom: 3%;
        left: 50%;
    }




    /* SECTION CAPABILITIES */

    .tally-ecosystem {
        padding: 90px 0;
    }

    .tally-ecosystem-container {
        width: min(92%, 600px);
        grid-template-columns: 1fr;
        gap: 70px;
    }

    /* Visual stays first */
    .tally-ecosystem-visual {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Text underneath */
    .tally-ecosystem-content {
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
    }

    .tally-ecosystem-content h2 {
        margin-left: auto;
        margin-right: auto;
    }

    .tally-ecosystem-description {
        margin-left: auto;
        margin-right: auto;
    }

    .tally-ecosystem-benefits {
        text-align: left;
    }

    /* Slightly smaller ecosystem */
    .orbit-one {
        width: 270px;
        height: 270px;
    }

    .orbit-two {
        width: 370px;
        height: 370px;
    }

    .ecosystem-core {
        width: 125px;
        height: 125px;
        border-radius: 26px;
    }

    .ecosystem-core-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 6px;
    }

    .ecosystem-core-icon img {
        width: 35px;
        height: 35px;
    }

    .ecosystem-core strong {
        font-size: 15px;
    }

    .ecosystem-core small {
        font-size: 8px;
    }

    .ecosystem-node {
        padding: 8px 11px;
        gap: 7px;
        border-radius: 12px;
    }

    .ecosystem-node-icon {
        width: 27px;
        height: 27px;
        border-radius: 8px;
    }

    .ecosystem-node-icon .material-symbols-rounded {
        font-size: 15px;
    }

    .ecosystem-node span {
        font-size: 11px;
    }

    /* Reposition nodes slightly */
    .ecosystem-sales {
        top: 17%;
        left: 4%;
    }

    .ecosystem-inventory {
        top: 14%;
        right: 4%;
    }

    .ecosystem-gst {
        top: 45%;
        right: -1%;
    }

    .ecosystem-banking {
        bottom: 17%;
        right: 4%;
    }

    .ecosystem-expenses {
        bottom: 17%;
        left: 4%;
    }

    .ecosystem-reports {
        top: 45%;
        left: -1%;
    }

    /* Keep lines visible */
    .ecosystem-line {
        opacity: .8;
    }


    /* SECTION CAPABILITIES */


    .tally-capabilities {
        padding: 90px 0;
    }

    .tally-capabilities-container {
        width: min(92%, 600px);

        grid-template-columns: 1fr;
        gap: 55px;
    }

    .tally-capabilities-intro {
        position: static;
        max-width: 600px;
        text-align: center;
    }

    .tally-capabilities-intro h2 {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;

        font-size: clamp(36px, 8vw, 46px);
    }

    .tally-capabilities-intro p {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;

        font-size: 15px;
    }

    .tally-capability {
        grid-template-columns: 32px 1fr 28px;
        gap: 14px;

        padding: 22px 0;
    }

    .tally-capability-content h3 {
        font-size: 16px;
    }

    .tally-capability-content p {
        font-size: 12px;
    }

    .tally-capability:hover {
        padding-left: 4px;
    }

}


/* MobIle phones */


@media (max-width: 520px) {
.tally-hero {
    min-height: 680px;
    padding: 70px 18px;
}

.tally-hero-title {
    max-width: 100%;
    font-size: clamp(38px, 10vw, );
}

.tally-hero-description {
    max-width: 390px;
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 1.6;
}

.tally-hero-actions {
    flex-direction: column;
    align-items: center;
}

.tally-hero-actions .btn {
    width: 100%;
    max-width: 260px;
}

.tally-floating-card {
    scale: 0.62;
    padding: 12px 15px;
} 

.tally-card-icon {
    width: 34px;
    height: 34px;
}

.tally-sales-card {
    top: 12%;
    left: -3%;
}

.tally-inventory-card {
    top: 12%;
    right: -3%;
}

.tally-gst-card {
    top: 5%;
    left: 50%;
}

.tally-profit-card {
    right: -6%;
    bottom: 11%;
}

.tally-invoice-card {
    bottom: 2%;
    left: 50%;
}

.bg-particle {
    scale: 0.75;
}


/* SECTION TALLY CAPABILITES */

.tally-capabilities {
        padding: 75px 0;
    }

    .tally-capabilities-container {
        width: 94%;
        gap: 45px;
    }

    .tally-capabilities-intro h2 {
        font-size: 34px;
    }

    .tally-capabilities-intro p {
        font-size: 14px;
        line-height: 1.65;
    }

    .tally-capability {
        grid-template-columns: 27px 1fr 25px;
        gap: 10px;

        padding: 20px 0;
    }

    .tally-capability-number {
        font-size: 10px;
    }

    .tally-capability-content h3 {
        font-size: 15px;
    }

    .tally-capability-content p {
        font-size: 11px;
    }

    .tally-capability-arrow {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }


    /* SECTION TALLY CAPABILITIES */

    .tally-ecosystem {
        padding: 75px 0;
    }

    .tally-ecosystem-container {
        width: 94%;
        gap: 55px;
    }

    .tally-ecosystem-visual {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .orbit-one {
        width: 215px;
        height: 215px;
    }

    .orbit-two {
        width: 295px;
        height: 295px;
    }

    .tally-ecosystem-glow {
        width: 280px;
        height: 280px;
    }

    /* Core */
    .ecosystem-core {
        width: 105px;
        height: 105px;
        border-radius: 22px;
    }

    .ecosystem-core-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 5px;
        border-radius: 11px;
    }

    .ecosystem-core-icon img {
        width: 30px;
        height: 30px;
    }

    .ecosystem-core strong {
        font-size: 13px;
    }

    .ecosystem-core small {
        font-size: 7px;
    }

    /* Nodes */
    .ecosystem-node {
        padding: 6px 8px;
        gap: 6px;
        border-radius: 10px;
    }

    .ecosystem-node-icon {
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }

    .ecosystem-node-icon .material-symbols-rounded {
        font-size: 13px;
    }

    .ecosystem-node span {
        font-size: 10px;
    }

    /* Node positions */
    .ecosystem-sales {
        top: 17%;
        left: 0;
    }

    .ecosystem-inventory {
        top: 14%;
        right: 0;
    }

    .ecosystem-gst {
        top: 45%;
        right: -2%;
    }

    .ecosystem-banking {
        bottom: 17%;
        right: 0;
    }

    .ecosystem-expenses {
        bottom: 17%;
        left: 0;
    }

    .ecosystem-reports {
        top: 45%;
        left: -2%;
    }

    /* Connection lines */
    .ecosystem-line {
        height: 1px;
        opacity: .7;
    }

    /* Hide some decorative particles on very small screens */
    .ep-2,
    .ep-5 {
        display: none;
    }

    /* Content */
    .section-eyebrow {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .tally-ecosystem-content h2 {
        font-size: clamp(32px, 9vw, 40px);
        line-height: 1.08;
        margin-bottom: 18px;
    }

    .tally-ecosystem-description {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 30px;
    }

    .tally-ecosystem-benefits {
        gap: 18px;
    }

    .ecosystem-benefit {
        grid-template-columns: 28px 1fr;
        gap: 12px;
    }

    .ecosystem-benefit h3 {
        font-size: 14px;
    }

    .ecosystem-benefit p {
        font-size: 12px;
    }
}



/* =========================================
   TALLY ECOSYSTEM — SMALL MOBILE
========================================= */

@media (max-width: 520px) {

    
}