@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

#pageLoader{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#pageLoader.hide{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body{
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none !important;
}

select:focus,
button:focus,
input:focus,
textarea:focus,
.form-select:focus,
.form-control:focus,
.btn:focus{
    box-shadow:none !important;
    outline:none !important;
}

.gradient-text{
    background: linear-gradient(90deg, #1E63C8 0%, #4A90F5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background: linear-gradient(90deg, #1E63C8 0%, #4A90F5 100%);
}

.bg-custom {
    background: #1f4e79 !important;
}

.text-custom {
    color: #1f4e79 !important;
}

.border-custom {
    border-color: #e9ecef !important;
}

.border-radius-custom {
    border-radius: 20px !important;
}

.hero-card, .hero-card-2 {
    position: relative;
    background: #010c24;
    overflow: hidden;
}

.hero-card::before, .hero-card-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/bg/hero.png") no-repeat center center;
    background-size: cover;
    opacity: 1;
    z-index: 0;
}

.hero-card > *{
    position: relative;
    z-index: 1;
}

.hero-card-2 > *{
    position: relative;
    z-index: 1;
}

.category-card{
    position:relative;
    overflow:hidden;
    display:block;
    height:100%;
    padding:22px;

    text-decoration:none;
    color:#212529;

    border-radius:24px;

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.85),
        rgba(255,255,255,.65)
    );

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.6);

    box-shadow:
    0 10px 30px rgba(31,38,135,.08),
    inset 0 1px 1px rgba(255,255,255,.5);

    transition:all .4s ease;
}

.category-card::before{
    content:"";

    position:absolute;

    width:140px;
    height:140px;

    top:-70px;
    right:-70px;

    border-radius:50%;

    background:
    radial-gradient(
    rgba(13,110,253,.18),
    transparent 70%
    );

    transition:.4s;
}

.category-card::after{
    content:"";

    position:absolute;

    width:100px;
    height:100px;

    left:-50px;
    bottom:-50px;

    border-radius:50%;

    background:
    radial-gradient(
    rgba(99,102,241,.12),
    transparent 70%
    );
}

.category-card:hover{
    transform:translateY(-8px);

    color:#212529;

    border-color:rgba(13,110,253,.2);

    box-shadow:
    0 20px 50px rgba(13,110,253,.12),
    0 10px 20px rgba(0,0,0,.05);
}

.category-card:hover::before{
    transform:scale(1.2);
}

.icon{
    width:64px;
    height:64px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:16px;

    border-radius:18px;

    color:#fff;
    font-size:30px;

    background:
    linear-gradient(
    135deg,
    #0d6efd,
    #4f9cff
    );

    box-shadow:
    0 10px 25px rgba(13,110,253,.25);

    transition:.4s;
}

.category-card:hover .icon{
    transform:scale(1.1) rotate(-8deg);
}

.category-card h5{
    margin-bottom:10px;
    font-size:1.2rem;
    font-weight:700;
    transition:.3s;
}

.category-card:hover h5{
    color:#0d6efd;
}

.category-card p{
    margin:0 0 15px;

    color:#64748b;

    font-size:14px;
    line-height:1.7;

    min-height:50px;
}

.category-card .tool-count{
    color:#0d6efd;
    font-weight:600;
}

.category-card .arrow{
    transition:.3s;
}

.category-card:hover .arrow{
    transform:translateX(6px);
}


.bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:15px;
    font-weight:500;
    font-size: 1.1rem;
}

.btn-custom {
    background: linear-gradient(135deg, #333 0%, #333 50%, #333 100%);
    height: 42px;
    color: #FFF;
}

.ad-slot{
    min-height:auto;
}

.ad-placeholder{
    background: #FFF;
    border:2px dashed #dbe3ea;
    padding:20px;
    color: ;
    border-radius: 15px;
    text-align:center;
}


.mobile-footer{
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 75px;
    background: #d6dcff;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10), 0 3px 10px rgba(0, 0, 0, .05);
    z-index: 1050;
}

.mobile-footer a {
    text-decoration:none;
    color:#444;
    text-align:center;
    flex:1;
    transition:.3s;
}

.mobile-footer .icon-box{
    width:45px;
    height:45px;
    margin:auto;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f7fa;
    transition:.3s;
}

.mobile-footer .icon-box i{
    font-size:22px;
}

.mobile-footer small{
    display:block;
    margin-top:4px;
    font-size:11px;
}

.mobile-footer a.active, .mobile-footer a:hover{
    color:#0d6efd;
}

.mobile-footer a.active .icon-box, .mobile-footer a .icon-box:hover{
    background:#0d6efd;
    color:#fff;
}

#searchOverlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(8px);
    z-index:2000;
    opacity:0;
    visibility:hidden;
    transition:.3s;
}

#searchOverlay.active{
    opacity:1;
    visibility:visible;
}

.search-container{
    width:95%;
    max-width:700px;
    margin:20px auto;
    position:relative;
}

.search-input{
    width:100%;
    height:58px;
    border:none;
    outline:none;
    border-radius:50px;
    background:#fff;
    padding:0 60px 0 55px;
    font-size:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.search-icon{
    position:absolute;
    left:20px;
    top:50%;
    transform:translateY(-50%);
    font-size:20px;
    color:#6c757d;
}

#closeSearch{
    position:absolute;
    right:8px;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#f8f9fa;
    font-size:18px;
    transition:.3s;
}

#closeSearch:hover{
    background:#e9ecef;
}

.calculator-card{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:20px;
    padding:20px;
    box-shadow: 0 10px 35px rgba(15,23,42,.05);
    transition:.3s;
}


.form-control {
    height:48px;
    border:2px solid #edf2f7;
    border-radius:10px;
    background:#fafcff;
    padding-left:10px;
    transition:.3s;
}

.form-control:focus{
    background:#fff;
    border-color:#2563eb;
    box-shadow: 0 0 0 .2rem rgba(37,99,235,.08);
}

.form-select {
    height: 48px;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    padding-left: 10px;
    transition: .3s;
    background-position: right .75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.calculate-btn {
    width:100%;
    height:48px;
    border:none;
    border-radius:10px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.border-radius-20 {
    border-radius: 21px;
}

.border-top-left-right-radius-20 {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}


.offcanvas{
    width:350px !important;
    background:#fff;
    z-index: 99999;
}

.menu-item{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#333;
    padding:6px 10px;
    margin-bottom:5px;
    border-radius:14px;
    transition:.3s;
}

.menu-item i:first-child{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f7fa;
    border-radius:10px;
    color:#5b4bff;
}

.menu-item:hover{
    background:#f5f7fa;
    color:#5b4bff;
    transform:translateX(5px);
}

.offcanvas .input-group{
    box-shadow:0 5px 20px rgba(0,0,0,.05);
    border-radius:50px;
    overflow:hidden;
}

.offcanvas .form-control:focus{
    box-shadow:none;
}

.offcanvas .input-group-text{
    border-radius:50px 0 0 50px;
}

.logo-icon {
    height: 48px;
    width: 48px;
    padding: 8px;
}

@media (min-width:768px){
    .w-md-75 {
        max-width: 75%;
    }
}

.bg-menu-footer{
    background: #d6dcff;
}