[data-theme="light"] button[aria-label="open navigation menu"][aria-expanded="false"] {
    background: url('../icons/light/menu.svg') no-repeat center
}

[data-theme="light"] button[aria-label="open navigation menu"][aria-expanded="true"] {
    background: var(--bg) url('../icons/light/left.svg') no-repeat center;
    z-index: 1000
}

[data-theme="light"] button[aria-label="open settings menu"] {
    background: url('../icons/light/settings.svg') no-repeat center
}

[data-theme="light"] button[aria-label="open settings menu"][aria-expanded="true"] {
    background: var(--bg) url('../icons/light/left.svg') no-repeat center;
    transform: rotateY(180deg);
    ;
    z-index: 1000
}

[data-theme="dark"] button[aria-label="open navigation menu"][aria-expanded="false"] {
    background: url('../icons/dark/menu.svg') no-repeat center
}

[data-theme="dark"] button[aria-label="open navigation menu"][aria-expanded="true"] {
    background: var(--bg) url('../icons/dark/left.svg') no-repeat center;
    z-index: 1000
}

[data-theme="dark"] button[aria-label="open settings menu"] {
    background: url('../icons/dark/settings.svg') no-repeat center
}

[data-theme="dark"] button[aria-label="open settings menu"][aria-expanded="true"] {
    background: var(--bg) url('../icons/dark/left.svg') no-repeat center;
    transform: rotateY(180deg);
    ;
    z-index: 1000
}


fieldset {
    border: none;
    padding: 0;
    display: flex;
    gap: 1.7em;
    align-items: center;
}

input[type="range"] {
    width: 75%;
    margin-top: 0.4em;
    margin-bottom: 2em;
    appearance: none;
    height: 4px;
    background: #787878;
    border-radius: 2px;
    outline: none;
    vertical-align: middle;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.375rem;
    background: var(--icon);
    border: 2px solid var(--bg);
    box-shadow: 0 2px 5px var(--slider-bs);
    cursor: pointer;
    transition: background .2s;
}

input[type="range"]:focus::-webkit-slider-thumb {
    outline: 2px solid #223d7a;
}

input[type="range"]::-moz-range-thumb,
input[type="range"]::-ms-thumb {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--p);
    border: 2px solid var(--bg);
    box-shadow: 0 2px 4px #eee;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-ms-fill-lower,
input[type="range"]::-ms-fill-upper {
    background: none;
    border: none;
}

input[type="checkbox"] {
    width: 1.5em;
    height: 1.5em;
    accent-color: var(--p);
    margin-right: 0.6em;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid var(--p);
    cursor: pointer;
    position: relative;
    outline: none;
    transition: all 0.25s ease;
    background-color: transparent;
}

input[type="checkbox"]:checked {
    background-color: var(--icon);
    border-color: var(--icon);
}

input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: -3px;
    left: 2px;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
}

input[type="checkbox"]:hover {
    border-color: var(--icon);
    box-shadow: 0 0 4px rgba(212, 175, 55, 0.5);
}


h2:not(main > section:first-of-type),
h3 {
    font-family: 'Inter-Semi', sans-serif;
}

#about ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background-repeat: no-repeat;
    background-size: contain;
}

#about {
    & h2 em {
        font-size: 1.0625rem;
        display: block;
        font-style: normal;
    }

    & ul {
        margin-bottom: 1.5rem;
        line-height: 1.618em;

        & li {
            position: relative;
            padding-left: 1.875rem;
            margin: 1.8em 0;
            line-height: 1.618;
            color: var(--p);

            &::before {
                top: 14px;
            }
        }
    }
}

[data-theme="light"] #about ul {
    li:nth-child(1)::before {
        background-image: url("../icons/light/work_history.svg");
    }

    li:nth-child(2)::before {
        background-image: url("../icons/light/electric_bolt.svg");
    }

    li:nth-child(3)::before {
        background-image: url("../icons/light/responsive.svg");
    }

    li:nth-child(4)::before {
        background-image: url("../icons/light/conversion.svg");
    }
}

[data-theme="dark"] #about ul {
    li:nth-child(1)::before {
        background-image: url("../icons/dark/work_history.svg");
    }

    li:nth-child(2)::before {
        background-image: url("../icons/dark/electric_bolt.svg");
    }

    li:nth-child(3)::before {
        background-image: url("../icons/dark/responsive.svg");
    }

    li:nth-child(4)::before {
        background-image: url("../icons/dark/conversion.svg");
    }
}

.profile-img {
    border-radius: 50%;
    object-fit: cover;
    width: auto;
}



button[aria-label*="Quote"] {
    padding: 3em 1em;
    padding: 1.618em 1em;
    background-color: var(--cta);
    color: #fff;
    margin-top: 1em;
    border-radius: 0.7em;
    text-decoration: none;
    border: 1px solid #164A4F;
    font-size: 1.1em;
    width: 100%;
    cursor: pointer;
}


/* -------- faq ----------- */

dl {
    margin-bottom: 1.8em;
}

dt {
    cursor: pointer;
    font-weight: 500;
    border-top: var(--hr);
    position: relative;
    letter-spacing: 0.02em;
    word-spacing: 0.03em;
    padding: 1.5em 0;
    color: var(--p);
}

dt.active {
    color: var(--h);
}

dt::after,
summary::after {
    content: '';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
    top: 35%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(270deg);
}

[data-theme="light"] dt::after,
[data-theme="light"] summary::after {
    background-image: url("../icons/light/left.svg");
}

[data-theme="dark"] dt::after,
[data-theme="dark"] summary::after {
    background-image: url("../icons/dark/left.svg");
}

dt.active::after,
details[open]>summary::after {
    transform: rotate(90deg);
    top: 35%;
}

dd {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--p);
    padding: 0 0;
}

dd.open {
    max-height: 300px;
    padding: 0 0 3.25em;
    margin-top: -0.5em;
}

#faq dt:nth-child(1) {
    border-top: 0;
    margin-top: 1.5em;
}

/* ------------- calculator ----------- */
#calculator {
    height: auto;
    min-height: auto;

    & mark {
        margin-top: 2.5em;
        background: transparent;
        color: var(--p);
        border: 1px solid var(--icon);
        border-radius: 0.3em;
        padding: 1em;
    }

    & h3 {
        margin-top: 1em;
        color: var(--h);
    }

    & label {
        color: var(--p);
    }

    & ul li {
        color: var(--p);
        margin-bottom: 0.7em;
    }

    & fieldset {
        margin-bottom: 0.5em;
    }

    &>label {
        margin-top: 2em;
    }
}

.totalrow {
    font-size: 1em;
    margin-bottom: 2em;
    margin-top: 1em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em;
    border: 1px solid var(--icon);
    border-radius: 0.7em;
    justify-content: space-between;
    width: 100%;
}

.totalrow strong {
    font-size: 1em;
    font-weight: 600;
    color: var(--h);
    padding-bottom: 2px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5em;

    & span {
        width: 1.16em;
        height: 1.16em;
        display: inline-block;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

.total-value {
    display: flex;
    column-gap: 15px;
    flex-wrap: wrap;
}

[data-theme="light"] .totalrow strong span {
    background-image: url(../icons/light/rupee.svg);
}

[data-theme="dark"] .totalrow strong span {
    background-image: url(../icons/dark/rupee.svg);
}

details[open] .faq-body {
    transition: bottom 0.3s ease;
}

fieldset {
    border: none;
    padding: 0;
    display: flex;
    gap: 1.7em;
    align-items: center;
}

label[for^="type"] {
    font-weight: 400;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

input[type="radio"] {
    accent-color: var(--icon);
    width: 1.5rem;
    height: 1.5rem;
    top: 6px;
    position: relative;
    margin-right: 4px;
    cursor: pointer;
}


label[for^="type"] input[type="radio"]:checked+span {
    color: var(--b);
    font-weight: 600;
}

/* Sliders */
label[for="pages"],
label[for="blog"],
label[for="logos"],
input[name="name"],
input[name="email"],
input[name="phone"] {
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 1em;
    display: block;
    margin-top: 3em;
}



/* FAQ accordion block */
details {
    margin-top: 2.5em;
    border-top: var(--hr);
    font-size: 1em;
    width: 100%;
}

dt::-webkit-details-marker {
    display: none;
}

dt::marker {
    content: none;
}

summary {
    outline: none;
    list-style: none;
    padding: 0.9em 0 0.6em 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--p);
    gap: 0.7em;
    position: relative;
    padding-right: 1.2em;
}

/* summary::-webkit-details-marker { display: none; } */
/* Info icon */
summary::before {
    content: '';
    margin-right: 0.3em;
    font-size: 1.09em;
    background-repeat: no-repeat;
    width: 1.875rem;
    height: 1.375rem;
    background-size: contain;

}

[data-theme="light"] summary::before {
    background-image: url("../icons/light/info.svg");
}

[data-theme="dark"] summary::before {
    background-image: url("../icons/dark/info.svg");
}

.faq-body {
    margin: 0.2em 0 1em 2em;
    color: var(--p);
    font-size: 0.99em;
    line-height: 1.8;
}

#calculator label strong {
    color: var(--b);
}

#calculator table {
    border: var(--hr);
    margin-top: 1rem;

    & tr:nth-last-child(2) {
        & td {
            &:last-child {
                & p:first-child {
                    margin-top: 3em;
                }
            }
        }
    }

    & tr:last-child {
        border-top: var(--hr);
    }

    & td {
        &:first-child {
            padding-left: 0.625rem;
            border-right: var(--hr);
            text-align: left;
        }

        &:last-child {
            padding-right: 0.625rem;
            text-align: right;

            & p:first-child {
                margin-top: calc(3em + 1.625rem);
            }
        }

        legend {
            margin-bottom: 3em;
        }

        p {
            margin-bottom: 2em;
        }

        strong {
            display: inline;
        }
    }
}

/* ------------ header --------- */


/* ------------ breakup ----------- */

#breakup {
    min-height: auto;
}

#breakup h2 {
    font-size: 1.4rem;
    letter-spacing: -.01em;
    margin: 0 0 .4rem
}

#breakup p {
    color: var(--p);
    margin: .4rem 0 1.2rem;
    line-height: 1.6
}

#breakup article {
    margin: .6rem 0 1rem
}

#breakup article>header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

#breakup h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--b);
}

#breakup article b {
    font-weight: 700;
    color: var(--h);
    white-space: nowrap
}

#breakup article p {
    margin: .4rem 0 1rem
}

#breakup mark {
    background: var(--icon);
    color: var(--bg);
    border-radius: 0.25rem;
    padding: .35rem .55rem;
    display: inline-block;
    font-size: .86rem
}

#breakup hr {
    border: 0;
    border-top: var(--hr);
    margin: 1rem 0
}

/* totals */
#breakup dl {
    margin: 1rem 0 1.4rem;
    padding-top: .4rem;
    width: 100%;
}

#breakup dt {
    color: var(--p);
}

#breakup dd {
    margin: 0;
    color: var(--h);
}

/* back link with arrow */
#breakup a {
    display: inline-block;
    margin: 1.875rem auto 0px;
    ;
    color: #1f5ad6;
    text-decoration: none;
    font-weight: 600;
}

#breakup a::after {
    content: "";
    display: inline-block;
    margin-left: .4rem;
    border: solid currentColor;
    border-width: 0 .12em .12em 0;
    padding: .22em;
    transform: rotate(225deg) translate(-1px, -1px)
}

/* #calculator a::after{content:"";display:inline-block;margin-left:.4rem;border:solid currentColor;border-width:0 .12em .12em 0;padding:.22em;transform:rotate(45deg) translate(-1px,-1px)} */





#get-started {
    width: 100%;

    & form {
        margin-bottom: 1.875rem;
    }

    & label {
        color: var(--p);
    }

    & input {
        width: calc(100% - 1px);
        border: 1px solid #787878;
        font-size: 1.0625rem;
        padding: 0.625rem;
        border-radius: 0.3125rem;
    }
}

section>p:last-of-type strong {
    display: block;
}





table {
    width: 100%;
    border-collapse: collapse;
}

tr {
    border-bottom: var(--hr);
    margin: 0 -8px;
}

tr:nth-last-child(-n+3) {
    border-bottom: none;
}

table td {
    padding: 0.5rem;
    padding-top: 1.2rem;
}

table td mark {
    margin-bottom: 1.2rem;
}

table tr td:nth-child(1) {
    padding-left: 0;
}

table tr td:nth-child(2) {
    padding-right: 0;
}

table strong {
    display: block;
    margin-bottom: 0.625rem;
}

table td:nth-child(2) {
    min-width: 95px;
    vertical-align: top;
}

table tr:nth-last-child(1) td:nth-child(1),
table tr:nth-last-child(2) td:nth-child(1),
table tr:nth-last-child(3) td:nth-child(1) {
    text-align: right;
}


footer {
    padding: 6vh 6vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75em;

    & strong {
        margin-left: 0.375rem;
        width: 6.25rem;
        line-height: 1.1;
    }

    & nav {
        margin-top: 1.5625rem;
        margin-bottom: 1.5625rem;
        width: 100%;

        & li {
            margin-bottom: 1.25rem;

            & a {
                color: var(--icon);
            }
        }
    }
}

img {
    width: 2rem;
}




.steps {
    border-left: 2px solid var(--sb);
    padding-left: 10vw;
    margin-top: 1rem;
    margin-bottom: 1.5625rem;
}

.step {
    margin-bottom: 1.5625rem;
    position: relative;
}

.step:first-child {
    margin-top: -5px;
}

.step:last-child {
    margin-bottom: 0;
}

.step::before {
    content: "";
    position: absolute;
    left: -10vw;
    top: 0.3125rem;
    width: 0;
    height: 0;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
    border-left: 1rem solid var(--icon);
}

.step h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--h);
    margin-bottom: 0.3125rem;
}

/* .step p {
      font-size: 14px;
      color: #555;
      margin: 0;
      line-height: 1.6;
    } */

.step p a {
    color: var(--icon);
    font-weight: 600;
    display: inline;
}

.bottom-text {
    font-size: 0.8125rem;
    color: var(--p);
    margin-top: 1.25rem;
    text-align: center;
}

@media screen and (max-width: 600px) {
    section {
        min-height: 100vh;
    }
}

@media screen and (min-width: 769px) {
    #about {
        display: flex;
        flex-direction: row;
        align-items: center;

        & div {
            flex: 1;
        }

    }
}

@media screen and (max-width: 768px) {
    #about>div:first-child {
        width: 100%;
    }
}

@media screen and (min-width: 1200px) {
    #calculator {
        display: flex;
        flex-direction: column;
    }
}