/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body, html {
    overflow-x: hidden; 
    font-family: 'Axiforma';
    padding-right: 0 !important;
}
p {
	font-weight: 400;
}
a {  
	text-decoration: none;
	transition: 0.3s ease-in-out;
}
a:hover {
	text-decoration: none;
}
html,
body {
	scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Cal Sans';
}
/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/

@font-face {
    font-family: 'Cal Sans';
    src: url('../fonts/CalSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../fonts/Axiforma-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma Book';
    src: url('../fonts/Axiforma-Book.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../fonts/Axiforma-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../fonts/Axiforma-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../fonts/Axiforma-HeavyItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../fonts/Axiforma-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../fonts/Axiforma-ExtraBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../fonts/Axiforma-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../fonts/Axiforma-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../fonts/Axiforma-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../fonts/Axiforma-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



/*--------------------------------------------------------------
# Main css 
--------------------------------------------------------------*/

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.commanbtn {
    background: linear-gradient(90deg, #7D03FF 0%, #230299 100%);
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 34px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}
.commanbtn1 {
    background: #fff;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 34px;
    border-radius: 50px;
    color: #7D03FF !important;
    font-weight: 600;
    font-size: 16px;
}
.commanbtn3 {
    background: #7D03FF;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 34px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}
.calculatorbanner{
    position: relative; 
}
.calculatorcomman{
    padding: 80px 0;
    position: relative; 
}
.calculatorcomman .container{
    position: relative;
    z-index: 1;
}
.calculatorcomman::after {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: url(../img/bg-img.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.calculatorbannermain {
    background: linear-gradient(0deg, #080014, #080014), linear-gradient(90deg, #36097B 0%, #160235 100%);
    display: flex;
    border-radius: 50px;
    padding: 60px 50px;
    overflow: hidden;
}
.calculatorbanner_text h1 {
    color: #F1EDFF;
    margin-bottom: 20px;
    font-size: 60px;
}
.calculatorbanner_text p {
    color: #9299A7;
    font-size: 18px;
    margin-bottom: 26px;
    line-height: 30px;
}
.commanbtn1 img {
    margin-left: 9px;
}
.calculatorimg {
    width: 50%;
}
.calculatorbanner_text {
    width: 50%;
}
.calculatorimg img {
    max-width: 100%;
    margin-bottom: -60px;
}
.commanhead h2 {
    color: #080014;
    font-size: 60px;
    font-weight: 500;
    margin: 0;
}
.calculatorbox {
    border: 1px solid #EEEEEE;
    padding: 40px 30px;
    background: #FFFFFF;
    border-radius: 40px;
    box-shadow: 0px 737px 250px 0px #8C6BAE03;
}
.formhead {
    color: #080014;
    font-weight: 600;
    font-size: 17px;
}
.commanform .form-group label {
    color: #080014;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}
.commanform .form-group .form-control {
    height: 64px;
    border-radius: 50px;
    padding: 10px 32px 10px 60px;
    border: 1px solid #EEEEEE;
    font-size: 15px;
    font-weight: 400;
    box-shadow: unset;
}
.commanform .form-group .form-select {
    height: 64px;
    border-radius: 50px;
    padding: 10px 32px 10px;
    border: 1px solid #EEEEEE;
    font-size: 15px;
    font-weight: 400;
    box-shadow: unset;
    background-position: 96%;
}
.sublabel {
    font-size: 14px;
    font-weight: 500;
    margin-top: -4px;
    color: #5D6982;
}

.adjustmentbox .commanbtn {
    width: 64px;
    border-radius: 50%;
    padding: 0;
    font-size: 30px;
    line-height: 60px;
}
.adjustinput{
    margin: 0 10px;
}
.adjustinput input {
    width: 120px;
    padding: 0 14px !important;
    text-align: center;
}
.currencyicon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 22px;
}
.currencyicon img{
    max-width: 100%;
}
.currencyicon img {
    max-width: 22px;
}
.questions img {
    max-width: 32px;
}
.budgetInfoModal .modal-body {
    padding: 40px 40px 30px;
    position: relative;
}
.budgetInfoModal .modal-body h2 {
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 24px;
}
.budgetInfoModal .modal-body p {
    font-weight: 500;
    margin-bottom: 0;
    font-size: 16px;
}
.budgetInfoModal .modal-body .btn-close {
    position: absolute;
    right: -25px;
    color: #fff;
    opacity: 1;
    filter: brightness(10.5) invert(1);
    top: -22px;
}

.budgetInfoModal .modal-content{
    border-radius: 20px;
}
.commanform .form-group .countryselectmain .form-control {
    padding: 14px 32px 10px 150px;
    font-weight: 600;
    font-size: 28px;
}
.countryselecter {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
}
.countryselecter a .flagimg {
    max-width: 38px;
    margin-right: 12px;
}
.countryselecter a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #080014;
    padding: 0;
    height: 23px;
    overflow: hidden;
}
.countryselecter .arrowdown {
    max-width: 21px;
    margin-left: 5px;
    margin-bottom: 0;
}
.countryselectmodal .modal-dialog {
    max-width: 800px;
}
.countryselectmodal .modal-body {
    padding: 40px 40px 30px;
    position: relative;
}
.countryselectmodal .modal-body .btn-close {
    position: absolute;
    right: -35px;
    color: #fff;
    opacity: 1;
    filter: brightness(10.5) invert(1);
    top: 0;
}
.currentheadmodal h2 {
    font-weight: 500;
    font-size: 24px;
    margin: 0;
}
.searcicon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.countryselectmodal .modal-content{
    border-radius: 20px;
}
.currency-list {
    padding: 0;
    margin: 0;
    list-style: none;
    height: calc(100vh - 260px);
    overflow-y: auto;
    overflow-x: hidden;
}
.currency-list::-webkit-scrollbar{
    display: none;
}
 .currency-left img {
    max-width: 24px;
    margin-right: 8px;
}
.currency-list li {
    display: flex;
    justify-content: space-between;
    padding: 14px 0px;
    border-bottom: 1px solid #EEEEEE;
    font-size: 14px;
    font-weight: 500;
}
.infobox {
    border-radius: 50px;
    background-color: #f2f2f2;
    text-align: center;
    padding: 12px 10px;
    font-size: 12px;
    font-weight: 500;
}




/* Calculator Wrapper */
.calculator {
   width: 350px;
   background: linear-gradient(180deg, #ffffff, #f3f4ff);
   border-radius: 24px;
   overflow: hidden;
   box-shadow:
      0 20px 40px rgba(86, 82, 255, 0.15),
      inset 0 1px 0 rgba(255,255,255,0.8);
   margin: 0 auto;
}

/* Grid */
.calculator .keys {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
}

/* Buttons */
.calculator .key {
   padding: 22px;
   font-size: 20px;
   border: 0;
   background: linear-gradient(180deg, #ffffff, #f1f2ff);
   color: #2c2f55;
   cursor: pointer;
   transition: all 0.25s ease;
   font-weight: 500;
}

/* Hover + Active */
.calculator .key:hover {
   background: linear-gradient(180deg, #eef0ff, #e3e6ff);
   transform: translateY(-1px);
}

.calculator .key:active {
   transform: scale(0.96);
}

/* Operator Buttons */
.calculator .op {
   background: linear-gradient(180deg, #e9ecff, #d8dcff);
   color: #230299;
   font-weight: 600;
}

/* Equals Button (Accent) */
.calculator .equals {
   background: linear-gradient(90deg, #7D03FF 0%, #230299 100%);

   color: #ffffff;
   font-weight: 700;
   box-shadow: 0 10px 20px rgba(90, 100, 255, 0.4);
}

.calculator .equals:hover {
   background: linear-gradient(90deg, #7D03FF 0%, #230299 100%);
}

/* Optional Wide Button */
.calculator .wide {
   grid-column: span 2;
}
.theresoldvalue img {
    max-width: 23px;
    margin-right: 6px;
}
.theresoldvalue {
    display: flex;
    align-items: center;
    line-height: 20px;
    font-size: 16px;
    font-weight: 700;
}
.theresoldvalue span {
    font-size: 14px;
    font-weight: 500;
    margin-top: -3px;
}
.commanform .form-group .questions img {
    max-width: 22px;
}
.toggle-switch {
   position: relative;
   width: 42px;
   height: 22px;
}

.toggle-switch input {
   display: none;
}

.toggle-switch label {
   display: block;
   width: 100%;
   height: 100%;
   background: #7D03FF ;
   border-radius: 30px;
   cursor: pointer;
   position: relative;
   transition: 0.3s;
}

.toggle-switch label::after {
   content: "";
   width: 18px;
   height: 18px;
   background: #fff;
   position: absolute;
   top: 2px;
   left: 2px;
   border-radius: 50%;
   transition: 0.3s;
}

.toggle-switch input:checked + label {
   background: #230299;
}

.toggle-switch input:checked + label::after {
   transform: translateX(20px);
}
.totalassets span {
    color: #080014;
    font-size: 15px;
    font-weight: 500;
    display: block;
}
.totalassets strong {
    color: #080014;
    font-size: 16px;
    font-weight: 600;
    display: block;
}
.totalassets strong img {
    max-width: 20px;
    margin-top: -4px;
    margin-right: 3px;
}
.zakatheade h2 {
    color: #080014;
    font-size: 32px;
    font-weight: 500;
    margin: 0;
}
.zakatheade p{
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0 0;
    color: #5D6982;
}
.zakatheade img {
    max-width: 135px;
    margin-bottom: 15px;
}

/* Tip Slider with Dynamic Color */
.form-range {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 10px;
    background: linear-gradient(to right, 
        #7D03FF 0%, 
        #7D03FF 18%, /* Default 18% - will be updated by JS */
        #f0f0f0 18%, 
        #f0f0f0 100%
    );
}

/* Custom thumb styling */
.form-range::-webkit-slider-thumb {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7D03FF 0%, #230299 100%);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(125, 3, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    top: -8px;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(125, 3, 255, 0.4);
}

.form-range::-moz-range-thumb {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7D03FF 0%, #230299 100%);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(125, 3, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
     top: -8px;
}

/* Progress count with gradient text */
.progress-count {
    font-weight: bold;
    font-size: 1.2rem;
    padding: 4px 12px;
    border-radius: 20px;
    min-width: 50px;
    text-align: center;
    background: linear-gradient(90deg, #7D03FF 0%, #230299 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

/* Current tip value with gradient */
#currentTipValue {
    font-weight: bold;
    font-size: 0.9rem;
    padding: 3px 10px;
    border-radius: 15px;
    display: inline-block;
    background: linear-gradient(90deg, #7D03FF 0%, #230299 100%);
    color: white;
    transition: all 0.3s ease;
}

/* Active state */
.form-range:active::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(125, 3, 255, 0.2);
}
.step-progress {
    font-weight: 600;
    font-size: 14px;
    color: #555;
}

.progress-bar {
    background-color: #2d7df6;
    transition: width 0.3s ease;
}

/* Step counter */
.step-progress {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    background: #fff;
    font-weight: 600;
    font-size: 13px;
    color: #230299;
    box-shadow: 0 4px 14px rgba(125, 3, 255, 0.25);
}

.step-progress span {
    font-weight: 700;
}

/* Progress container */
.progress {
    height: 8px;
    border-radius: 30px;
    background: #fff;
    overflow: hidden; 
}
 
/* Progress bar */
.progress-bar {
    border-radius: 30px;
    background: linear-gradient(
        90deg,
        #7D03FF 0%,
        #230299 100%
    );
    position: relative;
    transition: width 0.4s ease-in-out;
}

/* Subtle shimmer */
.progress-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.35),
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}


@media (max-width:1380px) {
    .container {
        max-width: 1280px; 
    }
}
@media (max-width:1279px) {
    .container {
        max-width: 1140px; 
    }
}
@media (max-width:1199px) {
    .container {
        max-width: 96%; 
    }
    .calculatorbannermain {
        border-radius: 20px;
        padding: 40px 30px;
    }
    .calculatorbanner_text h1 {
        margin-bottom: 15px;
        font-size: 44px;
    }
    .commanbtn1 , .commanbtn , .commanbtn3 {
        height: 58px;
        padding: 0 24px;
        border-radius: 10px;
    }
    .calculatorbanner_text p {
        font-size: 16px;
        margin-bottom: 24px;
        line-height: 27px;
    }
    .commanhead h2 {
        font-size: 44px;
        margin: 0;
    }
    .calculatorbox {
        padding: 40px 30px;
        border-radius: 20px;
    }
}
@media (max-width:1023px) {
    .calculatorbannermain {
        border-radius: 20px;
        padding: 40px 30px;
        flex-wrap: wrap;
    }
    .calculatorbanner_text {
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }
    .calculatorimg {
        width: 100%;
    }
    .commanhead h2 {
        font-size: 38px;
        margin: 0;
    }
    .calculatorbanner_text h1 {
        margin-bottom: 15px;
        font-size: 38px;
    }
    .adjustmentbox .commanbtn {
        width: 58px;
        border-radius: 50%;
        padding: 0;
        font-size: 24px;
        line-height: 40px;
    }
    .commanform .form-group .form-control {
        height: 58px;
    }
    .countryselectmodal .modal-dialog {
        max-width: 90%;
    }
}
@media (max-width:767px) {
    .container {
        max-width: 99%;
    }
    .calculatorbannermain {
        border-radius: 10px;
        padding: 30px 15px;
    }
    .calculatorbanner_text h1 {
        margin-bottom: 15px;
        font-size: 30px;
        line-height: 39px;
    }
    .calculatorbanner_text p {
        font-size: 15px;
        margin-bottom: 20px;
        line-height: 25px;
    }
    .commanbtn1, .commanbtn, .commanbtn3 {
        height: 50px;
        padding: 0 18px;
        border-radius: 10px;
        font-size: 14px;
        display: flex;
        width: 100%;
    }
    .commanhead h2 {
        font-size: 30px;
        margin: 0;
    }
    .commanform .form-group .form-control {
        height: 50px;
        padding: 10px 18px 10px 40px;
        border-radius: 10px;
        font-size: 14px;
    }
    .commanform .form-group .form-select {
        height: 50px;
        border-radius: 10px;
        font-size: 14px;
        padding: 11px 19px 10px;
    }
    .currencyicon img {
        max-width: 17px;
    }
    .currencyicon {
        left: 14px;
    }
    .calculatorbox {
        padding: 20px 16px;
        border-radius: 10px;
    }
    .formhead {
        font-size: 14px;
    }
    .commanform .form-group label {
        font-size: 13px;
        margin-bottom: 7px;
    }
    .adjustmentbox .commanbtn {
        width: 20%;
        border-radius: 10px;
        padding: 0;
        font-size: 24px;
        line-height: 40px;
    }
    .calculatorcomman {
        padding: 40px 0;
    }
    .adjustinput {
        margin: 0 10px;
        width: 60%;
    }
    .sublabel {
        font-size: 13px;
    }
    .adjustinput input{
        width: 100%;
    }
    .budgetInfoModal .modal-body {
        padding: 30px 20px 20px;
        position: relative;
    }
    .budgetInfoModal .modal-content {
        border-radius: 10px;
    }
    .budgetInfoModal .modal-body h2 {
        margin-bottom: 13px;
        font-size: 20px;
    }
    .budgetInfoModal .modal-body p {
        margin-bottom: 0;
        font-size: 14px;
    }
    .budgetInfoModal .modal-body .btn-close {
        right: 0px;
        top: -32px;
    }
    .calculator {
        width: 100%;
        border-radius: 10px;
    }
    .calculator .key {
        padding: 17px;
        font-size: 18px;
    }
    .infobox {
        border-radius: 10px;
        padding: 12px 10px;
        font-size: 12px;
        font-weight: 500;
    }
    .countryselecter {
        left: 16px;
    }
    .commanform .form-group .countryselectmain .form-control {
        padding: 14px 32px 10px 128px;
        font-weight: 600;
        font-size: 20px;
    }
    .countryselectmodal .modal-body {
        padding: 20px 30px 20px;
        position: relative;
    }
    .countryselectmodal .modal-content {
        border-radius: 10px;
    }
    .currentheadmodal h2 {
        font-size: 18px;
        margin: 0;
    }
    .searcicon {
        left: 10px;
    }
    .countryselectmodal .modal-body .btn-close {
        right: 0px;
        top: -30px;
    }
    .countryselectmodal .modal-dialog {
        max-width: 100%;
    }
    .questions img {
        max-width: 21px;
    }
    .theresoldvalue {
        line-height: 18px;
        font-size: 12px;
    }
    .theresoldvalue img {
        max-width: 16px;
        margin-right: 6px;
    }
    .theresoldvalue span {
        font-size: 11px;
        font-weight: 500;
        margin-top: 0;
    }
    .totalassets {
        display: block !important;
    }
    .zakatheade img {
        max-width: 90px;
    }
    .zakatheade h2 {
        font-size: 20px;
    }
    .zakatheade p {
        font-size: 13px;
    }
    .totalassets span {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .totalassets strong {
        font-size: 15px;
    }
}

