:root {
    --white: #ffffff;
    --black: #010101;
    --grey: #6b7280;
    --bg-grey: #f9fafb;
    --blue: #4f46e5;
    --paragraph: #4b5563;
    --border-color: #d1d5db;
    --custom-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

/*-- navbsar style start --*/
.navbar-nav .nav-item .nav-link {
    font-weight: 400;
    color: var(--paragraph);
    font-size: 16px;
}

/*-- navbar style end --*/

.hero-sec {
    padding: 72px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
/*-- location-sec style start --*/
.location-sec a.location-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.location-sec a.location-card:hover {
    transform: scale(1.05); /* Slight scale up on hover */
}

.location-sec a.location-card .img{
    height: 8rem;
    overflow: hidden;
}
.location-sec a.location-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    margin: auto;
    border-radius: 16px;
}
.location-sec a.location-card h3{
    font-size: 16px;
    color: var(--black);
    text-align: center;
}
/*-- location-sec style end --*/
/*--  teachers-sec style start --*/


.teachers-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
            overflow: hidden;
            max-width: 100%;
            height: 100%;
        }

        .teachers-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .teachers-card .card-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 1rem;
            position: relative;
            text-align: center;
        }

        .teachers-card .profile-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: 3px solid white;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            margin-bottom: 0.5rem;
        }

        .teachers-card .verification-badge {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            padding: 0.2rem 0.5rem;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 600;
        }

        .teachers-card .not-verified {
            background-color: #663399;
            color: #ffeb3b;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .teachers-card .verified {
            background-color: var(--white);
            color: #4caf50;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .teachers-card .teacher-name {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0;
            text-align: left;
        }

        .teachers-card .card-body {
            padding: 1rem;
        }

        .teachers-card .info-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem;
            background-color: #f8f9fa;
            border-radius: 8px;
            margin-bottom: 0.75rem;
        }

        .teachers-card .info-left {
            display: flex;
            align-items: center;
            overflow: hidden;
        }

        .teachers-card .info-icon {
            width: 35px;
            height: 35px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            margin-right: 0.75rem;
            font-size: 0.8rem;
        }

        .teachers-card .info-content {
            flex: 1;
            overflow: hidden;
        }

        .teachers-card .info-label {
            font-size: 0.75rem;
            color: #6c757d;
            margin-bottom: 0.1rem;
            font-weight: 500;
        }

        .teachers-card .info-value {
            font-weight: 600;
            color: #212529;
            font-size: 0.9rem;
            white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
        }

        .teachers-card .info-badge {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .teachers-card .view-profile-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 8px;
            padding: 0.6rem 1.5rem;
            color: white;
            font-weight: 600;
            transition: all 0.3s ease;
            width: 100%;
            display: block;
            font-size: 14px;
            text-decoration: none;
            text-align: center;
        }

        .teachers-card .view-profile-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
            color: white;
        }

/*.teachers-sec .teachers-card .img {*/
    /*height: 16rem;*/
/*    overflow: hidden;*/
/*    text-align: center;*/
/*}*/

/*.teachers-sec .teachers-card .img img{*/
/*    width: 130px;*/
/*    height: 130px;*/
/*    object-fit: cover;*/
/*    object-position: top;*/
/*    border-radius: 16px;*/
/*}*/
/*.teachers-sec .teachers-card .img .teacher-name-profile{*/
/*    width: 80px;*/
/*    height: 80px;*/
/*    border-radius: 16px;*/
/*    background-color: var(--blue);*/
/*    color: var(--white);*/
/*    font-size: 24px;*/
/*    font-weight: bold;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    margin: auto;*/
/*}*/
/*.teachers-sec .teachers-card h3 {*/
/*    font-size: 18px;*/
/*    color: var(--black);*/
/*    text-align: center;*/
/*}*/

/*.teachers-sec .teachers-card .subject,*/
/*.teachers-sec .teachers-card .experience {*/
/*    font-size: 14px;*/
/*    color: var(--grey);*/
/*    text-align: center;*/
/*}*/
/*.teachers-sec .teachers-card .total-views {*/
/*    font-size: 14px;*/
/*    color: var(--bs-code-color);*/
/*    text-align: center;*/
/*}*/
/*.teachers-sec .teachers-card p {*/
/*    font-size: 16px;*/
/*    color: var(--black);*/
/*    margin-top: 8px;*/
/*    text-align: center;*/
/*}*/

/*.teachers-sec .teachers-card a {*/
/*    display: block;*/
/*    width: 100%;*/
/*    border: 1px solid var(--blue);*/
/*    font-size: 16px;*/
/*    font-weight: normal;*/
/*    border-radius: 8px;*/
/*    color: var(--blue);*/
/*    padding: 8px;*/
/*    text-align: center;*/
/*    text-decoration: none;*/
/*    font-weight: 400;*/
/*}*/

/*.teachers-sec .teachers-card a:hover {*/
/*    background: var(--blue);*/
/*    color: var(--white);*/
/*}*/

/*.teachers-sec .teachers-card .category-name {*/
   /* border-radius: 50px; */
/*    font-size: 14px;*/
/*    padding: 4px 8px;*/
    /* background: #edecfc; */
/*    color: #00cd00;*/
/*    text-align: center;*/
/*    font-weight: 500;*/
/*}*/

/*.teachers-sec a.view-all-btn {*/
/*    padding: 12px 24px;*/
/*    border: 1px solid var(--border-color);*/
/*    color: var(--black);*/
/*    border-radius: 8px;*/
/*    text-decoration: none;*/
/*    font-size: 16px;*/
/*    margin: 16px 0;*/
/*    display: inline-block;*/
/*}*/

/*.teachers-sec a.view-all-btn:hover {*/
/*    background: var(--bg-grey);*/
/*}*/

/*--  teachers-sec style end --*/

/*-- category-sec style start --*/
.category-sec {
    background: var(--bg-white);
}

.category-sec a.view-all-btn {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    color: var(--black);
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin: 16px 0;
    display: inline-block;
}

.category-sec a.view-all-btn:hover {
    background: var(--bg-grey);
}
/*.category-sec .category-item:hover p {*/
/*    color: var(--blue);*/
/*}*/

/*.category-sec .category-item .icon {*/
/*    width: 90px;*/
/*    height: 90px;*/
/*    border-radius: 90px;*/
/*    box-shadow: var(--custom-shadow);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-size: 22px;*/
/*    color: var(--blue);*/
/*    background: var(--white);*/
/*}*/

/*.category-sec .category-item p {*/
/*    color: var(--black);*/
/*    font-size: 16px;*/
/*}*/
.category-cart .inner{
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--custom-shadow);
}
.category-cart .thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px 0 0 6px;
    overflow: hidden;
}

.category-cart .thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px 0 0 6px;
    overflow: hidden;
}

.category-cart .thumbnail .thumbnail-img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.category-cart .inner .content .title{
    font-size: 16px;
    color: var(--black);
    text-transform: capitalize;
}
.category-cart .inner .content .rbt-btn-link{
    font-size: 14px;
    color: var(--black);
    text-transform: capitalize;
}
/*-- category-sec style end --*/

/*-- bedge sec start --*/
.bedge-sec{
    background: var(--bg-grey);
}
.bedge-sec .bedge-card{
    display: block;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border-color);
    font-size: 16px;
    font-weight: normal;
    border-radius: 8px;
    color: var(--paragraph);
    text-transform: capitalize;
    text-decoration: none;
}
/*-- bedge sec end --*/

/*--- counter section start ---*/
.counter-sec .counter-box .fa-solid{
    width: 50px;
    height: 50px;
    background-color: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin: auto;
}
.counter-sec .counter-box {
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
      box-shadow: var(--custom-shadow);
}
.counter-sec .counter-box:hover {
  transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.counter-sec .count {
  font-size: 2rem;
  color: var(--blue);
}
@media(max-width:768px){
  .counter-sec .count {
  font-size: 1.5rem;
}  
}
/*--- counter sec end ***/

/*-- testimonial-sec sec start --*/
.testimonial-sec {
    background: var(--bg-grey);
}

.testimonial-sec .testimonialItem {
    background: var(--white);
    box-shadow: var(--custom-shadow);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
}
.testimonial-sec .testimonialItem:hover{
    transform: translateY(-2px);
}
.testimonial-sec .testimonialItem img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

.testimonial-sec .testimonialItem .name {
    font-size: 16px;
    color: var(--black);
    opacity: .6;
    font-weight: 600;
}

.testimonial-sec .testimonialItem .profile {
    font-size: 14px;
    color: var(--black);
    font-size: 12px;
    opacity: .6;
}

.teachers-sec .testimonialItem .review-star .fa-solid {
    color: #facc15;
}

.testimonial-sec .testimonialItem p {
    font-size: 16px;
    color: var(--black);
    opacity: .8;
}

.testimonial-sec a.view-all-btn {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--black);
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin: 16px 0;
    display: inline-block;
}

.testimonial-sec a.view-all-btn:hover {
    background: var(--bg-grey);
}

/*-- testimonial-sec sec end --*/

/*-- whychoose-sec sec start --*/
.whychoose-sec {
    background: var(--white);
}

.whychoose-sec .item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);;
    border-radius: 8px;
    box-shadow: var(--custom-shadow);
    transition: all 0.3s ease;
}
.whychoose-sec .item:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.whychoose-sec .item .fa-solid {
    width: 55px;
    height: 55px;
    border-radius: 55px;
    font-size: 18px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.whychoose-sec .item h3 {
    font-size: 22px;
    color: var(--white);
}

.whychoose-sec .item p {
    font-size: 16px;
    color: var(--white);
}

/*-- whychoose-sec sec end --*/

/*-- become-teacher-sec style start --*/
.become-teacher-sec {
    background: var(--bg-grey);
}

.become-teacher-sec .item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
}

.become-teacher-sec .item ul {
    padding: 0;
    margin: 0;
}

.become-teacher-sec .item ul li {
    list-style: none;
    position: relative;
    padding-left: 24px;
    font-size: 16px;
    color: var(--paragraph);
    line-height: 32px;
}

.become-teacher-sec .item ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    margin-right: 8px;
    color: var(--blue);
    position: absolute;
    left: 0;
}

.become-teacher-sec .item a {
    padding: 12px 24px;
    border: 1px solid var(--blue);
    background: var(--blue);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin: 16px 0;
    display: inline-block;
}

.become-teacher-sec .item a:hover {
    background: var(--white);
    color: var(--blue);
}

/*-- become-teacher-sec style end --*/

/*-- footer style start --*/
footer {
    background: #111827;
}

footer .footer-item p {
    color: #98a3af;
    font-size: 16px;
}

footer .footer-item h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 16px;
}

footer .footer-item ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer .footer-item ul li {
    list-style: none;
}

footer .footer-item ul li a {
    color: #98a3af;
    font-size: 16px;
    text-decoration: none;
}

footer .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    background: #1f2937;
    font-size: 12px;
}

/*-- footer style end --*/

/*-- details page style start --*/
.hero {
    background: linear-gradient(to right, var(--blue), #6366f1);
    color: var(--white);
    padding: 60px 20px 100px;
    text-align: center;
    position: relative;
}

.profile-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--custom-shadow);
    padding: 2rem;
    /* margin-top: -80px; */
}

.profile-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.chip {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--bg-grey);
    border-radius: 50px;
    font-size: 0.85rem;
    margin: 4px;
    color: var(--blue);
    font-weight: 500;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: var(--custom-shadow);
}

.form-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--custom-shadow);
    margin-top: 3rem;
}
.form-control{
    text-transform: capitalize;
    border-radius: 8px;
}
.btn-primary {
    border-radius: 8px;
}

.btn-primary {
    background-color: var(--blue);
    border: none;
    padding: 0.6rem 1.5rem;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

/*-- details page style end --*/

/*-- custom swiper code start --*/
.swiper-button-next,
.swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    border-radius: 40px !important;
    box-shadow: var(--custom-shadow);
    background-color: var(--blue);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px !important;
    color: var(--white) !important;
}

/*-- custom swiper code end --*/