/********** Template CSS **********/
:root {
    /* --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E; */
     --primary: #344767;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
    --white: #ffffff;
}

html {
    font-family: Inter !important;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.text-white{
    color : var(--white) !important;
}

h1 {
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

h2 {
    font-size: 2rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

h3 {
    font-size: 1.75rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

h4 {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

h5 {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

h6 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

h1,h2,h3,h4,h5,p{
    color: var(--primary) !important;
}
.bg-primary{
    background-color : var(--primary) !important;
}
.text-primary{
    color : var(--primary) !important;
}
.text-muted{
    color : var(--primary) !important;
}
.main-heading{
    font-size: 3rem !important;
}

.btn {
    /* font-family: 'Jost', sans-serif; */
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    background-color: var(--primary) !important;
}

.btn-primary:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.btn-secondary:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}
.btn-light {
    color : var(--primary);
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    /* font-family: 'Jost', sans-serif; */
    /* font-family: 'Roboto', sans-serif !important; */
    padding: 35px 15px;
    /* font-size: 18px; */
    color: var(--dark) !important;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}


@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        /* font-size: 14px; */
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px !important;
        font-weight: 600 !important;
    }
    .navbar{
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .navbar .btn{
        margin-left: 0 !important;
    }
    .logo-heading{
        /* font-size: 20px !important; */
    }
    .banner .wow{
        margin-top: 30px;
    }
    .bg-offer .btn{
        margin: 5px 0 !important;
    }
    .testimonial-carousel .owl-item img{
        object-fit: cover !important;
    }
    .appointment-form{
        padding: 2rem !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--primary);
    border-radius: 2px;
    /* font-size: 22px; */
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel { 
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--primary);
    border-radius: 2px;
    /* font-size: 22px; */
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.blog-card:hover {
    transform: translateY(-4px);
    transition: 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.badge {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.blog-feature-image img {
    transition: 0.4s ease;
}
.blog-feature-image img:hover {
    transform: scale(1.02);
}
.blog-related-card:hover {
    transform: translateY(-4px);
    transition: 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}


/* ---------- Category shell (boxed white area) ---------- */
.category-shell {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 30px rgba(20,30,60,0.04);
    padding: 3%;
    margin-bottom: 30px;
}

/* ---------- Centered heading with underline ---------- */
.category-heading {
    font-weight: 700;
    font-size: 1.35rem;
    display: inline-block;
    padding-bottom: .5rem;
    position: relative;
    margin: 0 0 18px;
    color: var(--primary);
}
.category-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 44%;
    height: 4px;
    background: var(--primary);;
    border-radius: 6px;
}

/* ---------- Responsive card grid ---------- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    align-items: start;
}

/* ---------- Card ---------- */
.tool-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0px 0px 4px rgba(23, 43, 76, 0.3);
    transition: transform .16s ease, box-shadow .16s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(15,23,42,0.04);
    overflow: hidden;
    min-height: 74px;
}
.tool-card:focus,
.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 0px 8px 4px rgba(23, 43, 76, 0.3),
    outline: none;
}

/* ---------- Icon area ---------- */
.icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(13,110,253,0.06), rgba(13,110,253,0.02));
    color: var(--primary);
    font-size: 20px;
    transition: transform .16s ease;
}
.icon-wrap img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

/* icon pop */
.tool-card:hover .icon-wrap { transform: scale(1.06); }

/* ---------- Tool info ---------- */
.tool-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}
.tool-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    white-space: normal;   /* allow wrapping */
    overflow: visible;     /* no hiding */
    text-overflow: unset;  /* no dots */
    line-height: 1.3;
}
.tool-sub {
    font-size: .84rem;
    color: #6b7280;
    margin-top: 4px;
}

/* ---------- Chevron ---------- */
/* .chev {
    flex: 0 0 22px;
    color: #9aa4b2;
    opacity: .95;
    transform: translateX(0);
    transition: transform .16s ease, opacity .16s ease;
}
.tool-card:hover .chev { transform: translateX(4px); opacity: 1; } */

/* ---------- Small screens ---------- */
@media (max-width: 576px) {
    .tools-grid { gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
    .icon-wrap { width: 48px; height: 48px; border-radius: 10px; }
    .icon-wrap img { width: 30px; height: 30px; }
    .tool-card { padding: 10px; border-radius: 10px; min-height: 64px; }
}

/* Make page background and spacing consistent */
#tools { background: transparent; padding-top: 18px; padding-bottom: 18px; }


.category-slider-wrapper {
    scrollbar-width: none;
}
.category-slider::-webkit-scrollbar {
    display: none;
}
.category-slider a.active {
    background-color: #0d6efd;
    color: #fff !important;
    border-color: #0d6efd;
}
.category-slider a:hover {  
    background-color: #0d6efd;
    color: #fff !important;
}

/* ================== QUESTION CARD ================== */
.question-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}
.question-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.question-title {
    font-size: 1rem !important;
    font-weight: 600;
    color: var(--primary) !important;
}
.question-answer {
    font-size: 0.95rem !important;
    color: var(--primary) !important;;
    line-height: 1.6;
    margin-top: 8px;
}
.question-meta {
    font-size: 0.85rem;
    color: var(--primary) !important;;
}
.breadcrumb {
  background: #f8f9fa;
  font-size: 0.9rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--primary) !important;;
}
.breadcrumb a {
  color: var(--primary) !important;;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.btn-outline-primary{
    color: var(--primary) !important;
    border-color: var(--primary) !important;;
}
.breadcrumb-item.active{
    color: var(--primary) !important;
}

.bg-info {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}


/* ================== RESPONSIVE ================== */
@media (max-width: 767.98px) {
    .question-title {
        font-size: 0.95rem !important;
    }
    .question-answer {
        font-size: 0.9rem !important;
    }
}

.div-border-main{
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(20, 30, 60, 0.04);
    /* color: var(--white); */
}
.div-border-main h2{
  font-size : 1rem !important;
}
.div-border-main h3{
  font-size : 0.8rem !important;
}
.div-border-main h4{
  font-size : 0.8rem !important;
}

.div-border-main-faq{
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(20, 30, 60, 0.04);
    /* color: var(--white); */
}