@use '../root' as *;

/*----------------------------------------------
    # Buttons style here
----------------------------------------------*/

.theme-btn {
    &.style1 {
        display: inline-flex;
        height: 44px;
        padding: 16px 24px;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
        border-radius: 6px;
        background: #4D7B6B;
        color: $white;
        font-family: $body-font;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;

        position: relative;
        z-index: 1;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;

        @include breakpoint (max-md) {
            padding: 15px 28px;
        }
        a {
            color: $white!important;
            display: inline-block;
        }
        &:before {
            transition-duration: 800ms;
            position: absolute;
            width: 210%;
            height: 290%;
            content: "";
            top: 162%;
            left: 50%;
            background: $yellow2;
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%) rotate(-8deg);
            border-radius: 80%;
            z-index: -1;
        }
        &:hover {
            color: $white !important;
            &:before {
                top: -96%;
            }
        }
    }  
}

.theme-btn {
    &.style2 {
        display: inline-flex;
        height: 50px;
        padding: 12px 24px;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
        border-radius: 6px;
        background: $white;
        color: $title-color;
        font-family: $body-font;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;

        position: relative;
        z-index: 1;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;

        @include breakpoint (max-md) {
            padding: 15px 28px;
        }
        a {
            color: $white!important;
            display: inline-block;
        }
        &:before {
            transition-duration: 800ms;
            position: absolute;
            width: 210%;
            height: 290%;
            content: "";
            top: 162%;
            left: 50%;
            background: $yellow2;
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%) rotate(-8deg);
            border-radius: 80%;
            z-index: -1;
        }
        &:hover {
            color: $white !important;
            &:before {
                top: -96%;
            }
        }
    }  
}

.theme-btn {
    &.style3 {
        display: inline-flex;
        height: 44px;
        padding: 16px 24px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-shrink: 0;
        border-radius: 6px;
        background: #4D7B6B;
        color: $white;
        font-family: $body-font;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;

        position: relative;
        z-index: 1;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;

        @include breakpoint (max-xl) {
            padding: 16px 11px;
        }
        @include breakpoint (max-md) {
            padding: 15px 28px;
        }
        @include breakpoint (max-xxsmall) {
            padding: 15px 18px;
        }
        a {
            color: $white!important;
            display: inline-block;
        }
        &:before {
            transition-duration: 800ms;
            position: absolute;
            width: 210%;
            height: 290%;
            content: "";
            top: 162%;
            left: 50%;
            background: $yellow2;
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%) rotate(-8deg);
            border-radius: 80%;
            z-index: -1;
        }
        &:hover {
            color: $white !important;
            &:before {
                top: -96%;
            }
        }
    }  
}

.theme-btn {
    &.style4 {
        display: inline-flex;
        height: 50px;
        padding: 12px 24px;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
        border-radius: 6px;
        background: $title-color2;
        color: $title-color;
        font-family: $body-font;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;

        position: relative;
        z-index: 1;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;

        @include breakpoint (max-md) {
            padding: 15px 28px;
        }
        a {
            color: $white!important;
            display: inline-block;
        }
        &:before {
            transition-duration: 800ms;
            position: absolute;
            width: 210%;
            height: 290%;
            content: "";
            top: 162%;
            left: 50%;
            background: $yellow2;
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%) rotate(-8deg);
            border-radius: 80%;
            z-index: -1;
        }
        &:hover {
            color: $white !important;
            &:before {
                top: -96%;
            }
        }
    }  
}

.slider-arrow-btn {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.global-btn {
    position: relative;
    z-index: 2;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    border: none;
    text-transform: uppercase;
    text-align: center;
    background: $title-color;
    color: $white;
    font-family: $body-font;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    padding: 20px 16px 20px 25px;
    min-width: 160px;
    cursor: pointer;
    border-radius: 12px;
  
    &:before {
        transition-duration: 800ms;
        position: absolute;
        width: 210%;
        height: 290%;
        content: "";
        top: 162%;
        left: 50%;
        background: $theme-color;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%) rotate(-8deg);
        border-radius: 80%;
        z-index: -1;
    }
    &:hover {
        color: $theme-color !important;
        i {
            color: $white;
        }
        &:before {
            top: -96%;
        }
    }
}

// Form submit button
.btn-submit {
    width: 100%;
    height: 60px;
    padding: 17px;    
    color: $white;
    font-family: $body-font;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;

    border-radius: 10px;
    background: $theme-color;
    border: none;
    transition: background 0.3s ease;
    cursor: pointer;

    &:hover {
      background-color: #3CA200;
    }
}

.btn-submit2 {
    width: 100%;
    height: 56px;
    padding: 17px;    
    color: $white;
    font-family: $body-font;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 171.429% */
    text-transform: uppercase;

    border-radius: 10px;
    background: $yellow;
    border: none;
    transition: background 0.3s ease;
    cursor: pointer;

    &:hover {
      background-color: #3CA200;
    }
}

.btn-submit3 {
    width: 100%;
    height: 56px;
    padding: 17px;    
    color: $white;
    font-family: $body-font;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 171.429% */
    text-transform: uppercase;

    border-radius: 5px;
    background: $theme-color;
    border: none;
    transition: background 0.3s ease;
    cursor: pointer;
    max-width: 200px;

    &:hover {
      background-color: #3CA200;
    }
}

.btn-submit4 {
    width: 100%;
    height: 46px;
    padding: 13px;    
    color: $white;
    font-family: $body-font;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    border-radius: 6px;
    background: #4D7B6B;
    border: none;
    transition: background 0.3s ease;
    cursor: pointer;
    max-width: 200px;
    i {
        padding-left: 5px;
    }

    &:hover {
      background-color: #3CA200;
    }
}