@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    position: relative;
}

:root {
    --blue: #5680E9;
    --aqua: #84CEEB;
    --blueLight: #5AB9EA;
    --gray: #C1C8E4;
    --voilet: #8860D0;
    --white: #fff;
    --green: #29925e;
}

body {
    margin: 0;
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    background: url('../images/bg.svg');
    background-size: 100% auto;
    background-position: center top;
    background-color: #f5f5f5;
}


/* NavBar */
nav {
    display: flex;
    padding: 4px 10px;
    align-items: center;
    max-width: 1400px;
    margin: auto;
}

header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 99;
    background: var(--white);
}

#hamburger {
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
}

nav a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

.branding {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 44px;
}

.branding>img {
    max-height: 100%;
}

.branding>span {
    font-weight: bold;
    font-size: 1.4rem;
}

.nv-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: auto;
    list-style-type: none;
    padding: 0;
}

.nv-links a {
    height: 44px;
}

.nv-links a:hover {
    color: var(--voilet);
}

.nv-right {
    display: flex;
    gap: 1rem;
}

/* DropDown */
.nv-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nv-links ul li {
    position: relative;
}

.nv-links ul li a {
    padding: 15px;
    text-decoration: none;
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 4;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.01), 5px 0 10px rgba(0, 0, 0, 0.01), 0 -5px 10px rgba(0, 0, 0, 0.01), 0 5px 10px rgba(0, 0, 0, 0.01);
    border: 1px solid #fff;
    border-radius: 6px;
}

.dropdown-content ul {
    background: #fff;
    margin-top: 4px;
    border-radius: 6px;
}

/* Style the dropdown links */
.dropdown-content li a {
    padding: 12px 16px;
}

.dropdown:hover>.dropdown-content {
    display: block;
}


/* Button */
.btn_a {
    background-color: blue;
}

/* Hero section */
.hero-banner {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(45deg, #b9f1bc, #d0aaf1, #a4f1d6);
    border-radius: 1rem;
    max-height: 350px;
    overflow: hidden;
    align-items: center;
    width: 96%;
}

.hero-txt {
    display: flex;
    margin: 2rem 1rem;
    flex-direction: column;
    max-height: 75%;
    z-index: 2;
}

.hero-img {
    margin-left: auto;
    z-index: 1;
}

.hero-img img {
    max-height: 100%;
}

.hero-txt h2 {
    font-size: 2rem;
    margin: 0;
}

.hero-txt p {
    opacity: .6;
}

.hero-btns {
    margin-top: 1.2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* CAROUSEL */
.slider-container {
    /* width: 600px; */
    max-width: 1360px;
    margin: 1rem auto;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    /* height: 300px; */
    display: flex;
    justify-content: center;
    align-items: center;
}


#prevSlideBtn,
#nextSlideBtn {
    position: absolute;
    top: 45%;
    background: none;
    border: none;

}

#nextSlideBtn {
    right: 0;
}

.slider-indicators {
    position: absolute;
    bottom: -2px;
    width: 100%;
    text-align: center;
}

.slider-indicators span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #8b00ff;
    border-radius: 1rem;
    margin: 0 2px;
    cursor: pointer;
}

.slider-indicators span.active {
    background-color: #8b00ff;
    width: 1.2rem;
}

/* Card container */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.9rem;
    padding: 1rem;
}

/* product cards */
.prod-card {
    background: radial-gradient(50.79% 52.48% at 48.36% 50.79%, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.72) 100%);
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.01), 5px 0 10px rgba(0, 0, 0, 0.01), 0 -5px 10px rgba(0, 0, 0, 0.01), 0 5px 10px rgba(0, 0, 0, 0.01);
    border-radius: 40px;
    padding: 20px 20px 26px;
    border: 1px solid #fff;
}

.prod-card a {
    text-decoration: none;
    color: inherit;
}

.prod-card h5 {
    font-size: 20px;
    margin: 0;
}

.prod-card p {
    font-size: 14px;
    line-height: 19px;
    letter-spacing: .02em;
    color: rgba(51, 51, 51, 0.6);
    margin-bottom: 20px;
}

/* Banner */
.banner {
    width: fit-content;
    background: radial-gradient(50.79% 52.48% at 48.36% 50.79%, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.72) 100%);
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.01), 5px 0 10px rgba(0, 0, 0, 0.01), 0 -5px 10px rgba(0, 0, 0, 0.01), 0 5px 10px rgba(0, 0, 0, 0.01);
    margin: auto;
    padding: 10px 4rem;
    border-radius: 10rem;
    border: 1px solid #5bedf4;
}

/* Accordian */
#accordion-container {
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.01), 5px 0 10px rgba(0, 0, 0, 0.01), 0 -5px 10px rgba(0, 0, 0, 0.01), 0 5px 10px rgba(0, 0, 0, 0.01);
    border-radius: 40px;
    border: 1px solid #fff;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #f7f7f7;
}

/* .accordion {
    background-color: #f7f7f7;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    Add spacing between buttons
} */

.accordion {
    background-color: #f7f7f7;
    color: #2f2f2f;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    transition: 0.4s;
    background: white;
    background-color: white;
    margin: 4px 2px;
}

.active,
.accordion:hover {
    background-color: #f8f5f8;
}

.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.accordion.active:after {
    content: "\002D";
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* Tables */
.tbl-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    font-size: inherit;
}

th {
    background-color: #5facff;
    color: white;
    font-weight: bold;
}

tr:hover {
    background-color: #f1f1f1;
}

td {
    color: #333;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* call support card */
.call-support-card {
    background-color: #a60afd3d;
    margin-top: 4rem !important;
    border-radius: 1rem;
    border: 1px solid #a60afd;
    box-shadow: 0 0 8px 0px #66339973;
    max-width: 1200px !important;
}

.call-support-card>div:first-child {
    margin: 1.5rem;
}

.call-support-card>div:last-child {
    position: absolute;
    max-width: 300px;
    display: block;
    width: 30%;
    top: -20%;
    right: 2%;
}

.call-support-card h3 {
    font-size: 1.8rem;
    margin: 4px 0px;
}

.call-support-card h6 {
    border: 1px solid #0f6cc4;
    padding: 6px 16px;
    margin: 0;
    width: fit-content;
    border-radius: 4rem;
    color: #0f6cc4;
}

.cta-group {
    display: flex;
    width: fit-content;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

.cta-btn {
    background: white;
    color: inherit;
    text-decoration: none;
    display: flex;
    width: fit-content;
    padding: 4px 14px 4px 4px;
    border-radius: 4rem;
    gap: 4px;
    align-items: center;
}

.cta-btn span:first-child {
    background-color: #9f4fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #fff;
}

/* loan application form */
.loan-apply-form {
    background: linear-gradient(132.36deg, #FFFFFF -2.92%, rgba(255, 255, 255, 0.93) 99.09%);
    margin: 1rem;
    padding: 1rem;
    border-radius: 1rem;
}

.loan-apply-form form div select,
.loan-apply-form form div input {
    background: linear-gradient(132.36deg, #FFFFFF -2.92%, rgba(255, 255, 255, 0.93) 99.09%);
    box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.01), 5px 0px 10px rgba(0, 0, 0, 0.01), 0px -5px 10px rgba(0, 0, 0, 0.01), 0px 5px 10px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(60, 122, 185, 0.3);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: .9rem;
    font-family: inherit;
    font-weight: 500;
    width: 100%;
}

.loan-apply-form form select:focus,
.loan-apply-form form input:focus {
    outline: 2px solid #0b98dda3;
}


.loan-apply-form form label {
    font-size: .9rem;
    margin-left: 6px;
}

.loan-apply-form form input[type="number"]::-webkit-inner-spin-button,
.loan-apply-form form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.loan-apply-form form input[type="number"] {
    -moz-appearance: textfield;
}

.loan-apply-form form>div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin: 1.6rem 0;
}

.loan-apply-form form>div>div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* FOOTER */
footer {
    background: linear-gradient(180deg, #5AB9EA17, #8860D063);
    padding-bottom: 1rem;
}

.footer-wrapper {
    padding: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer ul {
    list-style: none;
    padding: 0;
    line-height: 1.6rem;
}

footer ul a {
    text-decoration: none;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    color: #333;
    text-decoration: none;
}

.social-icons a:hover {
    color: #007bff;
}

/* OffCanvas */
#offcanvas {
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    backdrop-filter: blur(44px);
    -webkit-backdrop-filter: blur(44px);
}

/* buttons */
.btn-filled {
    cursor: pointer;
    background: #003fff;
    padding: 8px 1.2rem;
    border-radius: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    width: fit-content;
    text-decoration: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.btn-filled:hover {
    opacity: .8;
}

.btn-filled0:hover {
    opacity: .8;
}

.btn-filled0 {
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
    border: 1px solid #003fff;
    background-color: #0000ff14;
    padding: 8px 1.2rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    color: #003fff;
    font-weight: inherit;
    font-family: inherit;
    font-size: inherit;
}

.btn-filled:hover {
    background-color: #004cff;
    transition: .2s;
}

.btn-outlined {
    border: 1px solid #003fff;
    padding: 10px 1.2rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
}

/* Section header */
.sec-header h3 {
    font-size: 2rem;
    text-align: center;
}

/* # */

/* MISC */
.whyus {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin: auto;
}

.whyus h5 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: auto;
}

.stats {
    display: flex;
    margin: 1rem auto;
    align-items: center;
    text-align: center;
    gap: 2rem;

    span {
        font-size: 2rem;
        font-weight: 900;
    }
}

.stats>span {
    display: block;
    height: 4rem;
    width: 1px;

    background-color: red;
}


/* Responsive UI */
.container {
    max-width: 1360px;
    padding: 1rem;
    box-sizing: border-box;
    margin: 1rem auto;
}

/* Extra small devices (portrait phones) */
@media (max-width: 575px) {
    #hamburger {
        display: flex;
    }

    .nv-links {
        display: none;
    }

    .branding {
        margin: auto;
    }

    .nv-links {
        position: absolute;
        background: #fff;
        top: 52px;
        left: 0;
        display: none;
        flex-direction: column;
        min-width: 70%;
        z-index: 99;
        height: calc(100vh - 52px);
        align-items: flex-start;
        gap: 0rem;
        box-shadow: 2px 6px 8px 2px #c7a0ee45;
    }

    .dropdown-content {
        position: relative;
    }

    .nv-links li {
        width: 100%;
        padding-left: 1.2rem;
    }


    .banner {
        padding: 4px 1.2rem;
    }

    .stats {
        gap: .6rem;

        span {
            font-size: 1rem;
        }

        p {
            font-size: .8rem;
        }
    }

    .cal-details {
        padding: 1rem !important;
    }

    .cal-result {
        padding: 1.4rem I !important;
    }

    .call-support-card {
        margin: 4rem 10px 1rem 10px;
    }

    .hero-banner {
        margin: 8px;
    }

    .call-support-card>div:first-child {
        margin: 0;
    }

    .loan-apply-form form>div {
        grid-template-columns: auto;
    }

    .loan-apply-form {
        margin: 1rem !important;
    }

    .footer-section {
        flex: 1 1 100%;
    }

}

/* Small devices (landscape phones) */
@media (min-width: 576px) and (max-width: 767px) {

    /* navigation drawer */
    #hamburger {
        display: flex;
    }

    .nv-links {
        position: absolute;
        background: #f4f3f4;
        top: 0;
        left: 0;
        display: none;
        flex-direction: column;
        min-width: 60%;
        z-index: 99;
        height: 100vh;
        align-items: flex-start;
        gap: 0rem;
        box-shadow: 2px 0 8px 2px #c7a0ee45;
    }

    .dropdown-content {
        position: relative;
    }

    .nv-links li {
        width: 100%;
    }

    .nv-links a {
        padding: 0 1rem;
    }

    .branding {
        margin: auto;
    }

    .banner {
        padding: 10px 2.2rem;
    }

    .stats {
        gap: 1.2rem;

        span {
            font-size: 1.5rem;
        }
    }

    .call-support-card {
        margin: 4rem 10px 1rem 10px;
    }

    .hero-banner {
        margin: 8px;
    }

}

/* Medium devices (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        margin: 1rem;
    }
}

/* Large devices (desktops) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        margin: 1rem;
    }
}

/* Extra large devices (large desktops) */
@media (min-width: 1200px) {}

/* COMMAN STYLES */
/* flex item group */
.flex-grp {
    position: relative;
    gap: 4px;
    display: flex;
    align-items: center;
}


/* CALCULATOR LAYOUT */

/* calculator header */
.cal_header {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto 1rem;
}

.cal-selector {
    position: relative;
    width: fit-content;
}

#calSelectorBtn {
    display: flex;
    width: 10rem;
    font-size: inherit;
    padding: 12px 16px;
    background: #fff;
    border: none;
    border-radius: 10px;
    align-items: center;
    font-size: .9rem;
    font-weight: bold;
    cursor: pointer;
}

#cal_opts {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
    position: absolute;
    width: 100%;
    z-index: 2;
    background-color: #fff;
    display: none;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}


.cal-opt>input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.cal-opt>input+label {
    display: block;
    padding: 10px 16px;
}

.cal-opt>input:hover+label {
    background-color: var(--aqua);

}

.cal-opt>input:checked+label {
    background-color: var(--blue);
}

/* calculator switchers */
.cal-switch {
    width: 12rem;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 2.2rem;
    margin: auto;
    background: linear-gradient(132.36deg, #FFFFFF -2.92%, rgba(255, 255, 255, 0.93) 99.09%);
    box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.01), 5px 0px 10px rgba(0, 0, 0, 0.01), 0px -5px 10px rgba(0, 0, 0, 0.01), 0px 5px 10px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(60, 122, 185, 0.3);
    border-radius: 8px;
    padding: 2px 0;
}

.cal-switch input {
    display: none;
}

.cal-switch label {
    flex: 1;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s;
    font-weight: 500;
    font-size: 18px;
    padding: 2px 10px;
    width: 5rem;
}

.cal-switch .switcherBG {
    position: absolute;
    width: 49%;
    height: 86%;
    background-color: #ffe38c;
    border-radius: 6px;
    transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    left: 2px;
    right: 2px;
}

#elgCalBtn:checked~.switcherBG {
    left: 50%;
}

/* calutor layout */
.cal-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 1rem;
    margin: auto;
    max-width: 1200px;
    background: radial-gradient(50.79% 52.48% at 48.36% 50.79%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.01), 5px 0px 10px rgba(0, 0, 0, 0.01), 0px -5px 10px rgba(0, 0, 0, 0.01), 0px 5px 10px rgba(0, 0, 0, 0.01);
    border-radius: 30px;
    height: 100%;
    overflow: hidden;
}

#eligibilityCalculator {
    display: none;
}

.cal-details {
    padding: 2.4rem;
    border-radius: 1rem;
    box-shadow: 0px 0 10px -6px #0064ff
}

.cal-result {
    padding: 3rem;
    border-radius: 1rem;
}


.loan_eligibility {
    text-align: center;
}


/* eligibile Amount and EMi divider */
.elg_br {
    background: #52e9bb;
    text-align: center;
    padding: 1rem;
    width: 90%;
    margin: auto;
    border-radius: 1rem;
}

/* iconed input */
/* Remove all default styles including hover, focus, active, and target */
.iconed_input input {
    all: unset;
}

.iconed_input {
    width: 10rem;
    display: flex;
    background: linear-gradient(132.36deg, #FFFFFF -2.92%, rgba(255, 255, 255, 0.93) 99.09%);
    box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.01), 5px 0px 10px rgba(0, 0, 0, 0.01), 0px -5px 10px rgba(0, 0, 0, 0.01), 0px 5px 10px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(60, 122, 185, 0.3);
    border-radius: 8px;
    padding: 2px 0;
    text-align: center;
}

.iconed_input span {
    border-right: 1px solid rgba(60, 122, 185, 0.3);
    margin: 2px 4px;
    padding: 0 8px;
    font-weight: 400;
}

.iconed_input input {
    height: 100%;
    width: 100%;
    margin: auto 4px;
}

/* inline labeled */
.inline_labeled {
    display: flex;
    align-items: center;
    padding: 4px;
}

/* EMI RESULT */
.monthly_emi {
    background-color: rgb(82, 233, 187);
    display: flex;
    flex-direction: column;
    margin: auto;
    text-align: center;
    width: 65%;
    padding: 2rem;
    align-items: center;
    border-radius: 1rem;
}

.amt-breakdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

.amt-breakdown>div:first-child {
    border-right: 2px solid rgb(243, 207, 88);
    padding-right: 2rem;

}

.payable {
    background-color: #d4e0eb;
    align-items: center;
    display: flex;
    gap: 2rem;
    padding: .5rem;
    border-radius: 8px;
    margin: 1rem;
}

#total_amount {
    margin-left: auto;
}

#total_amount::before {
    content: '₹';
}

.cal_cta {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.cal_cta a {
    text-decoration: none;
    color: #fff;
    background-color: blueviolet;
    padding: 10px 1.5rem;
    border-radius: 3rem;
}




/* CUSTOM SELECT */
.custom-select {
    position: relative;
    font-family: Arial;
}

.custom-select select {
    display: none;
    /*hide original SELECT element:*/
}

.select-selected {
    background-color: DodgerBlue;
}

/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
}

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: DodgerBlue;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}


/* CUSTOM RANGE SLIDER */
input[type="range"] {
    font-size: 1.5rem;
    width: 100%;
    /* width: 12.5em; */
}

input[type="range"] {
    color: #2375ef;
    --thumb-height: .8em;
    --track-height: 0.125em;
    --track-color: rgba(0, 0, 0, 0.2);
    --brightness-hover: 180%;
    --brightness-down: 90%;
    --clip-edges: 0.125em;
}

input[type="range"].win10-thumb {
    --thumb-height: .8em;
    --thumb-width: 0.5em;
    --clip-edges: 0.0125em;
}

/* === range commons === */
input[type="range"] {
    position: relative;
    background: #fff0;
    overflow: hidden;
}

input[type="range"]:active {
    cursor: grabbing;
}

input[type="range"]:disabled {
    filter: grayscale(1);
    opacity: 0.3;
    cursor: not-allowed;
}

/* WebKit specific styles */
input[type="range"],
input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    transition: all ease 100ms;
    height: var(--thumb-height);
}

input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb {
    position: relative;
}

input[type="range"]::-webkit-slider-thumb {
    --thumb-radius: calc((var(--thumb-height) * 0.5) - 1px);
    --clip-top: calc((var(--thumb-height) - var(--track-height)) * 0.5 - 0.5px);
    --clip-bottom: calc(var(--thumb-height) - var(--clip-top));
    --clip-further: calc(100% + 1px);
    --box-fill: calc(-100vmax - var(--thumb-width, var(--thumb-height))) 0 0 100vmax currentColor;

    width: var(--thumb-width, var(--thumb-height));
    background: linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--track-height) + 1px);
    background-color: currentColor;
    box-shadow: var(--box-fill);
    border-radius: var(--thumb-width, var(--thumb-height));

    filter: brightness(100%);
    clip-path: polygon(100% -1px,
            var(--clip-edges) -1px,
            0 var(--clip-top),
            -100vmax var(--clip-top),
            -100vmax var(--clip-bottom),
            0 var(--clip-bottom),
            var(--clip-edges) 100%,
            var(--clip-further) var(--clip-further));
}

input[type="range"]:hover::-webkit-slider-thumb {
    filter: brightness(var(--brightness-hover));
    cursor: grab;
}

input[type="range"]:active::-webkit-slider-thumb {
    filter: brightness(var(--brightness-down));
    cursor: grabbing;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: linear-gradient(var(--track-color) 0 0) scroll no-repeat center / 100% calc(var(--track-height) + 1px);
}

input[type="range"]:disabled::-webkit-slider-thumb {
    cursor: not-allowed;
}

/* === Firefox specific styles === */
input[type="range"],
input[type="range"]::-moz-range-track,
input[type="range"]::-moz-range-thumb {
    appearance: none;
    transition: all ease 100ms;
    height: var(--thumb-height);
}

input[type="range"]::-moz-range-track,
input[type="range"]::-moz-range-thumb,
input[type="range"]::-moz-range-progress {
    background: #fff0;
}

input[type="range"]::-moz-range-thumb {
    background: currentColor;
    border: 0;
    width: var(--thumb-width, var(--thumb-height));
    border-radius: var(--thumb-width, var(--thumb-height));
    cursor: grab;
}

input[type="range"]:active::-moz-range-thumb {
    cursor: grabbing;
}

input[type="range"]::-moz-range-track {
    width: 100%;
    background: var(--track-color);
}

input[type="range"]::-moz-range-progress {
    appearance: none;
    background: currentColor;
    transition-delay: 30ms;
}

input[type="range"]::-moz-range-track,
input[type="range"]::-moz-range-progress {
    height: calc(var(--track-height) + 1px);
    border-radius: var(--track-height);
}

input[type="range"]::-moz-range-thumb,
input[type="range"]::-moz-range-progress {
    filter: brightness(100%);
}

input[type="range"]:hover::-moz-range-thumb,
input[type="range"]:hover::-moz-range-progress {
    filter: brightness(var(--brightness-hover));
}

input[type="range"]:active::-moz-range-thumb,
input[type="range"]:active::-moz-range-progress {
    filter: brightness(var(--brightness-down));
}

input[type="range"]:disabled::-moz-range-thumb {
    cursor: not-allowed;
}





/* RESPONSIVE STYLE */
@media only screen and (max-width: 768px) {
    .cal-wrapper {
        grid-template-columns: auto;
    }

    .hero-img {
        height: 220px;
    }

    .hero-txt h2 {
        font-size: 1.4rem;
    }

}

@media only screen and (max-width: 540px) {
    .hero-banner {
        grid-template-columns: auto;
        max-height: fit-content;
    }

    .hero-img {
        margin: auto;
    }

}