/*
|--------------------------------------------------------------------------
| HomeTutorMarketplace
| HTM Core Framework v5.0
|--------------------------------------------------------------------------
| File        : htm-components.css
| Author      : Deepak Kumar
| Description : HTM UI Components
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Glass Card
|--------------------------------------------------------------------------
*/

.htm-card{

    background:var(--htm-glass-bg);

    border:1px solid var(--htm-glass-border);

    backdrop-filter:blur(var(--htm-glass-blur));

    -webkit-backdrop-filter:blur(var(--htm-glass-blur));

    border-radius:var(--bs-border-radius-xl);

    box-shadow:var(--htm-shadow);

    transition:var(--htm-transition);

}

.htm-card:hover{

    transform:translateY(-5px);

    box-shadow:var(--htm-shadow-lg);

}


/*
|--------------------------------------------------------------------------
| Glass Navbar
|--------------------------------------------------------------------------
*/

.htm-navbar{

    background:#16213e;

    min-height:85px;

    border-bottom:1px solid rgba(255,255,255,.08);

    box-shadow:0 12px 30px rgba(22,33,62,.30);

    z-index:1030;

}

.htm-logo{

    width:230px;

    height:auto;

    transition:.3s;

}

.htm-logo:hover{

    transform:scale(1.03);

}

.navbar-nav{

    gap:8px;

}

.htm-navbar .nav-link{

    color:#ffffff !important;

    font-weight:500;

    padding:12px 14px;

    border-radius:10px;

    transition:.3s;

}

.htm-navbar .nav-link:hover{

    color:#FFD54A !important;

    background:rgba(255,255,255,.10);

}

.htm-navbar .nav-link.active{

    color:#FFD54A !important;

}

.navbar-toggler{

    border:none;

}

.navbar-toggler:focus{

    box-shadow:none;

}


/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.btn-htm-primary{

    background:linear-gradient(
135deg,
var(--bs-primary),
var(--htm-primary-dark)
);

    border:none;

    color:#fff;

}

.btn-htm-primary:hover{

    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(13,110,253,.25);

}


.btn-htm-secondary{

    background:linear-gradient(
        135deg,
        var(--bs-secondary),
        var(--htm-secondary-dark)
    );

    border:none;

    color:#fff;

}

.btn-htm-secondary:hover{

    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(255,122,0,.25);

}


.btn-htm-outline{

    background:transparent;

    border:2px solid var(--bs-primary);

    color:var(--bs-primary);

}

.btn-htm-outline:hover{

    background:var(--bs-primary);

    color:#fff;

}


/*
|--------------------------------------------------------------------------
| Glass Inputs
|--------------------------------------------------------------------------
*/

.htm-input{

    background:rgba(255,255,255,.65);

    border:1px solid rgba(255,255,255,.40);

    backdrop-filter:blur(15px);

    -webkit-backdrop-filter:blur(15px);

}

.htm-input:focus{

    background:#fff;

}


/*
|--------------------------------------------------------------------------
| Section Title
|--------------------------------------------------------------------------
*/

.htm-section-title{

    margin-bottom:50px;

}

.htm-section-title h2{

    font-size:2.25rem;

    font-weight:700;

    margin-bottom:15px;

}

.htm-section-title p{

    max-width:650px;

    margin:auto;

}


/*
|--------------------------------------------------------------------------
| Premium Badge
|--------------------------------------------------------------------------
*/

.htm-badge-premium{

    display:inline-flex;

    align-items:center;

    gap:6px;

    padding:6px 15px;

    background:linear-gradient(
        135deg,
        #FFD54F,
        #FFB300
    );

    color:#212529;

    font-size:13px;

    font-weight:600;

    border-radius:50px;

}


/*
|--------------------------------------------------------------------------
| Verified Badge
|--------------------------------------------------------------------------
*/

.htm-badge-verified{

    display:inline-flex;

    align-items:center;

    gap:6px;

    padding:6px 14px;

    background:#198754;

    color:#fff;

    border-radius:50px;

    font-size:13px;

}


/*
|--------------------------------------------------------------------------
| Statistics Cards
|--------------------------------------------------------------------------
*/

.htm-stat-card{

    text-align:center;

    padding:40px 20px;

    border-radius:24px;

    transition:.35s;

    height:100%;

    overflow:hidden;

}

.htm-stat-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(22,33,62,.15);

}

.htm-stat-icon{

    width:80px;

    height:80px;

    margin:0 auto 20px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #16213e,
        #0F3460
    );

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:30px;

    box-shadow:0 15px 30px rgba(22,33,62,.25);

}

.htm-stat-card h2{

    font-size:2.8rem;

    font-weight:700;

    color:#16213e;

    margin-bottom:10px;

}

.htm-stat-card p{

    margin:0;

    font-size:16px;

    font-weight:600;

    color:#6c757d;

}


/*
|--------------------------------------------------------------------------
| Subject Card
|--------------------------------------------------------------------------
*/

.htm-subject-card{

    text-align:center;

    padding:30px;

    transition:var(--htm-transition);

}

.htm-subject-card i{

    font-size:40px;

    color:var(--bs-primary);

    margin-bottom:20px;

}

.htm-subject-card:hover{

    transform:translateY(-5px);

}


/*
|--------------------------------------------------------------------------
| City Card
|--------------------------------------------------------------------------
*/

.htm-city-card{

    padding:25px;

    text-align:center;

}

.htm-city-card:hover{

    transform:translateY(-5px);

}


/*
|--------------------------------------------------------------------------
| Tutor Card
|--------------------------------------------------------------------------
*/

.htm-tutor-card{

    overflow:hidden;

}

.htm-tutor-card img{

    width:110px;

    height:110px;

    object-fit:cover;

    border-radius:50%;

    margin:auto;

    border:4px solid rgba(255,255,255,.50);

}

.htm-tutor-card .card-body{

    text-align:center;

}

.htm-tutor-card h5{

    margin-top:20px;

    margin-bottom:10px;

}

.htm-tutor-card .location{

    color:var(--htm-text-muted);

    margin-bottom:20px;

}


/*
|--------------------------------------------------------------------------
| Membership Card
|--------------------------------------------------------------------------
*/

.htm-membership-card{

    text-align:center;

    padding:40px;

}

.htm-membership-card .price{

    font-size:3rem;

    font-weight:700;

    color:var(--bs-primary);

}


/*
|--------------------------------------------------------------------------
| CTA Box
|--------------------------------------------------------------------------
*/

.htm-cta{

    padding:70px;

    text-align:center;

}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.htm-footer{

    background:#0B1E36;

    color:#fff;

}

.htm-footer a{

    color:#CED4DA;

}

.htm-footer a:hover{

    color:#fff;

}


/*
|--------------------------------------------------------------------------
| Hover Effect
|--------------------------------------------------------------------------
*/

.htm-hover{

    transition:var(--htm-transition);

}

.htm-hover:hover{

    transform:translateY(-5px);

}


/*
|--------------------------------------------------------------------------
| Glass Utilities
|--------------------------------------------------------------------------
*/

.htm-glass{

    background:var(--htm-glass-bg);

    border:1px solid var(--htm-glass-border);

    backdrop-filter:blur(var(--htm-glass-blur));

    -webkit-backdrop-filter:blur(var(--htm-glass-blur));

}


.htm-rounded{

    border-radius:var(--bs-border-radius-xl);

}


.htm-shadow{

    box-shadow:var(--htm-shadow);

}


.htm-shadow-lg{

    box-shadow:var(--htm-shadow-lg);

}

/*
|--------------------------------------------------------------------------
| Statistics Section
|--------------------------------------------------------------------------
*/

.htm-statistics{

    position:relative;

    margin-top:-70px;

    z-index:20;

}

.htm-stat-card{

    background:#fff;

    border-radius:24px;

    padding:40px 25px;

    text-align:center;

    height:100%;

    border:1px solid rgba(22,33,62,.08);

    box-shadow:0 20px 40px rgba(0,0,0,.06);

    transition:.35s;

}

.htm-stat-card:hover{

    transform:translateY(-12px);

    box-shadow:0 30px 60px rgba(22,33,62,.15);

}

.htm-stat-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #16213e,
        #0F3460
    );

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    box-shadow:0 20px 40px rgba(22,33,62,.25);

}

.htm-stat-card h2{

    font-size:3rem;

    font-weight:700;

    color:#16213e;

    margin-bottom:12px;

}

.htm-stat-card p{

    margin:0;

    color:#6c757d;

    font-size:16px;

    font-weight:600;

}
