.bg-variant,
.bg-tool-hero{
    background: var(--brand-secondary-color);
}

.hamburger span {
    background-color: var(--main);
}

.hero-top{
    text-align:center;
    max-width: 800px;
    margin:auto;
}

form{
    display: grid;
    grid-template-columns: 3fr 0.5fr 0.4fr;
    gap: 15px;
    background: #ffffff12;
    padding: 16px;
    border-radius: 8px;
    margin-top: 44px;
    border: 1px solid #5252521a;
}

.form-field{
    position: relative;
}

.form-field label{
    position: absolute;
    font-size: 18px;
    font-weight: 600;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: hsl(39.8deg 65.33% 70.59%);
    padding: 0.35rem 0.5rem 0.3rem 0.5rem;
    margin: 0rem 1.2rem;
    transition: .1s ease-out;
    transform-origin: left top;
    pointer-events: none;
    border-radius: 3px;
}

.form-field input,
.form-field select{
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    border: 1px solid #00000024;
    border-radius: 5px;
    padding: 1rem 1.4rem;
    background-color: transparent;
    width:100%;
    width: -moz-available;
    width: -webkit-fill-available;
    transition: 0.1s ease-out;
}

.form-field select {
    width:250px;
    padding: 1rem 0.6rem;
}
.form-field input::placeholder{
    color:inherit;
}
.form-field input:focus{
    border: 2px solid #007bff33;
    border: 1px solid #007bff33;
}

.form-field input:focus + label{
    font-size: 18px;
    font-weight: 600;
    top: 0;
    transform: translateY(-50%) scale(.9);
    color: var(--brand-secondary-color);
    background: var(--main);
    transition: 0.2s ease all;
}

.form-field input:not(:placeholder-shown)+label{
    top: 0;
    transform: translateY(-50%) scale(.9);
}

.col2-inputs{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

button {
    width: 100%;
    width:150px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 20px 0px;
    color: var(--white);
    background: var(--hover);
    cursor: pointer;
    border: none;
    background-color: var(--main);
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

button:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media only screen and (max-width:1080px){
    form{
        grid-template-columns: 1fr;
    }
    
    .form-field input{
        padding: 1rem 1rem;
    }
    
    .form-field select {
        width: 100%;
    }
    
    .form-field input,
    .form-field select,
    .form-field label{
        font-size: 16px;
    }
    
    .form-field label{
        margin: 0rem 1.0rem;
    }
    
    .form-field input:focus + label{
        font-size: 16px;
    }
    
    .col2-inputs{
        grid-template-columns: 1fr;
    }

    button {
        width: 100%;
    }
}

/*-tools-features-lists-*/
.hightlight-features{
    max-width:700px;
    margin: auto;
    margin-top:80px;
}

/*-features-*/
.hightlight-features-list{
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-column-gap: 20px;
    grid-row-gap: 34px;
}

.hightlight-features-list li{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    grid-row-gap: 16px;
    font-size: 17px;
    font-weight: 600;
}

@media only screen and (max-width:767px){
    .hightlight-features-list{
        display: GRID;
        grid-template-columns:repeat(2, 1fr)
    }
}

/*-table-of-content-*/
.dtoc{
    width: 240px;
    position: sticky;
    top: 40px;
    bottom: 40px;
}

.dtoc p{
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    border-bottom: var(--outline);
    padding-bottom: 10px;
}

#toc-list{
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 12px;
    padding-top: 20px;
    padding-bottom: 20px;
}

#toc-list a{
    font-size: 16px;
    color: var(--d-text); 
    font-weight: 500;
    display: flex;
    line-height: 1.2;
    transition: color 0.3s;
}

#toc-list a:hover,
#toc-list a.active{
    font-weight: 700;
    color: var(--main);
}

@media only screen and (max-width:1080px){
    .dtoc{
        width: auto;
    }
    .dtoc p {
        font-size:14px;
        position: relative;
        cursor: pointer;
        transition: color 0.3s ease;
    }
    .dtoc p::after {
        content: "+";
        position: absolute;
        right: 0;
        font-size: 20px;
        transition: transform 0.3s ease, color 0.3s ease;
    }
    .dtoc p.active::after {
        content: "-";
        transform: rotate(180deg);
    } 
    #toc-list.open {
        max-height: 700px;
        opacity: 1;
        overflow: hidden;
        overflow-y: visible;
        padding-top: 20px;
        padding-bottom: 20px;
        border-bottom: var(--outline);
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }
    #toc-list {
        margin-left: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }
}

/*-Content-Section-*/
.content-sec{
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 0.7fr;
    grid-column-gap: 75px;
    grid-row-gap: 24px;
}

.single_content{
    font-size: 20px;
    overflow: hidden;
}

.single_content figure{
    margin: 24px 0px;
}

.single_content img{
    width:100%;
    width:-moz-available;
    width: -webkit-fill-available;
    margin: 20px 0px 0px;
    border-radius: 8px;
}

.single_content h2{
    font-size: 39.4px;
    margin-top: 70px;
    margin-bottom: 15px;
}
.single_content h3{
    font-size: 32.83px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.single_content h4{
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.single_content h5,
.single_content h6{
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.single_content p,
.single_content ul,
.single_content ol{
    margin-bottom: 20px;
}

.single_content ul,
.single_content ol{
    margin-left: 20px;
}
    
.single_content p:last-child{
    margin-bottom:0px;
}

.single_content ul li,
.single_content ol li{
    list-style-type: square;
    margin-left: 21px;
    margin-bottom: 15px;
}

.single_content ul li::marker,
.single_content ol li::marker {
    color: var(--hover);
}

.single_content ul li:first-child,
.single_content ol li:first-child{
    margin-top:20px;
}
.single_content ul li:last-child,
.single_content ol li:last-child{
    margin-bottom:40px;
}

.single_content a{
    color:var(--hover);
}
.single_content a:hover {
    text-decoration:underline;
}

blockquote {
    display: inline-flex;
    border-left: 4px solid var(--hover);
    padding: 10px 20px;
    background: #f9f9f9;
}

blockquote p{
    color: var(--main);
}

/*-content-table-*/
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: inherit;
    font-size: 17px;
    border-radius: .375rem;
    overflow: hidden;
    margin-bottom: 24px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

th, td {
    padding: 10px 15px;
    text-align: left;
    border-right: var(--outline);
    border-bottom: var(--outline);
}

th:last-child,
td:last-child {
    border-right: none;
}

tr:last-child td {
    border-bottom: none;
}

table thead {
    background: #b0acac;
}

table tbody {
    background: var(--bg);
}

th:first-child {
    border-top-left-radius: .375rem;
}

th:last-child {
    border-top-right-radius: .375rem;
}

tr:last-child td:first-child {
    border-bottom-left-radius: .375rem;
}

tr:last-child td:last-child {
    border-bottom-right-radius: .375rem;
}

@media screen and (max-width: 767px) {
    table {
        font-size: 14px;
    }
}

@media only screen and (max-width:1080px) {
    .content-sec{
        grid-template-columns: 1fr;
    }
    
    .single_content{
        order:2;
    }

}

@media only screen and (max-width:767px) {
    h1{
        font-size: 36px;
    }
    
    .single_content{
        font-size: inherit;
    }
    
    .single_content h2{
        font-size: 30px;
        margin-top: 60px;
    }
    
    .single_content h3 {
        font-size: 26px;
    }
    
    .single_content h4,
    .single_content h5,
    .single_content h6{
        font-size: 24px;
    }
    
    .single_content ul,
    .single_content ol{
        margin-left: 10px;
    }
}

/*--Related-tools-content--*/
.tools_list{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
    margin-top:20px;
}  

.tools_list a {
    color:var(--d-text);
    background: var(--l-hover);
    padding: 10px 10px 15px 20px;
    display: flex;
    width: -moz-available;
    width: -webkit-fill-available;
    height: 220px;
    font-weight: 700;
    border-radius: 10px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.tools_list a:hover {
    background: var(--brand-primary-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.tools_list a span{
    display: flex;
    width: 100%;
    justify-content: flex-end;
    overflow:hidden;
}

.tools_list a span svg{
    padding: 1px;
    /*transform: rotate(-45deg);*/
    transform-origin: 50% 50% 0px;
    transition: transform 0.4s ease-in-out;
}

.tools_list a:hover span svg{
    transform: rotate(45deg);
}

@media only screen and (max-width:1080px){
    .tools_list{
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and (max-width:767px){
    .tools_list{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width:599px){
    .tools_list{
        grid-template-columns: repeat(2, 1fr);
    }
}