/* =========================================================
   DENTULU DENTAL SPECIALTIES
   ========================================================= */

:root {
    --dentulu-blue: rgb(20, 27, 93);
    --dentulu-dark-blue: rgb(20, 27, 93);
    --dentulu-light-blue: #eef3ff;
    --dentulu-soft-blue: #f6f8ff;

    --text-dark: rgb(20, 27, 93);
    --text-body: #5f667b;
    --border-color: #e7eaf3;

    --white: #ffffff;

    --card-radius: 20px;
    --transition: all 0.3s ease;
}


/* =========================================================
   SECTION
   ========================================================= */

.dental-specialties-section {
    position: relative;
    padding: 90px 0 100px;
    background: var(--white);
    overflow: hidden;
}


/* Subtle background decoration */

.dental-specialties-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(28, 63, 198, 0.04);
    top: -180px;
    left: -180px;
    pointer-events: none;
}

.dental-specialties-section::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(28, 63, 198, 0.035);
    bottom: -180px;
    right: -150px;
    pointer-events: none;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.specialties-header {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto 55px;
}


.section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 16px;

    border-radius: 50px;

    background: var(--dentulu-light-blue);
    color: var(--dentulu-blue);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    margin-bottom: 16px;
}




.section-description {
    max-width: 680px;

    margin: 18px auto 0;

    color: var(--text-body);

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   SPECIALTY GRID
   ========================================================= */

.specialty-grid {
    position: relative;
    z-index: 2;
}


/* =========================================================
   SPECIALTY CARD
   ========================================================= */

.specialty-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 0.5px solid #D8D8D8;
    background: #FFF;
    box-shadow: 4px 4px 4px 0 rgba(227, 223, 255, 0.18);
    padding: 20px;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
}


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

    border-color: rgba(28, 63, 198, 0.25);

    box-shadow:
        0 18px 45px rgba(20, 27, 93, 0.12);
          text-decoration: none;
}


/* =========================================================
   IMAGE
   ========================================================= */

.specialty-image {
    position: relative;

    height: 190px;

    overflow: hidden;

    background: var(--dentulu-soft-blue);
}


.specialty-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
border-radius: 16px;
    transition: transform 0.5s ease;
}


.specialty-card:hover .specialty-image img {
    transform: scale(1.06);
}


/* Image overlay */

.specialty-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(20, 27, 93, 0) 40%,
            rgba(20, 27, 93, 0.18) 100%
        );

    pointer-events: none;
}

.specialty-link
{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgb(20, 27, 93);
    font-size: 14px;
    font-weight: 700;
    transition: gap 0.25s ease;
}
.specialty-card:hover .specialty-link {
    gap: 11px;
}
/* =========================================================
   ICON
   ========================================================= */

.specialty-icon {
    position: absolute;

    left: 18px;
    bottom: 18px;

    z-index: 2;

    width: 44px;
    height: 44px;

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

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.95);

    color: var(--dentulu-blue);

    font-size: 20px;

    box-shadow: 0 6px 20px rgba(20, 27, 93, 0.15);

    transition: var(--transition);
}


.specialty-card:hover .specialty-icon {
    background: var(--dentulu-blue);
    color: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   CONTENT
   ========================================================= */

.specialty-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding-top: 16px;
}


.specialty-content h3 {
    margin: 0;
    color: #58595B;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 200%;
}


.specialty-content p {
    margin: 0 0 16px;
    color: #58595B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 200%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================================
   LINK
   ========================================================= */

.specialty-content a {
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;

    color: var(--dentulu-blue);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: var(--transition);
}


.specialty-content a i {
    font-size: 16px;

    transition: transform 0.25s ease;
}


.specialty-content a:hover {
    color: var(--dentulu-dark-blue);
}


.specialty-content a:hover i {
    transform: translateX(5px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */

@media (max-width: 1199.98px) {

    .dental-specialties-section {
        padding: 75px 0 85px;
    }

    .specialty-image {
        height: 180px;
    }

}


/* Mobile */

@media (max-width: 767.98px) {

    .dental-specialties-section {
        padding: 60px 0 70px;
    }

    .specialties-header {
        margin-bottom: 38px;
    }

    .section-title {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .section-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .specialty-image {
        height: 145px;
    }

    .specialty-content {
        padding: 18px 16px 18px;
    }

    .specialty-content h3 {
        font-size: 16px;
    }

    .specialty-content p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .specialty-content a {
        font-size: 13px;
    }

    .specialty-icon {
        width: 38px;
        height: 38px;

        left: 12px;
        bottom: 12px;

        font-size: 17px;
    }

}


/* Small Mobile */

@media (max-width: 420px) {

    .dental-specialties-section {
        padding-left: 4px;
        padding-right: 4px;
    }

    .specialty-grid {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 16px;
    }

    .specialty-image {
        height: 125px;
    }

    .specialty-content {
        padding: 16px 13px;
    }

    .specialty-content h3 {
        font-size: 15px;
    }

    .specialty-content p {
        font-size: 12px;
    }

    .specialty-content a {
        font-size: 12px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .specialty-card,
    .specialty-image img,
    .specialty-icon,
    .specialty-content a i {
        transition: none;
    }

}



/* =========================================
   RELATED RESOURCES
   ========================================= */

.related-resources-section {
    background: #ffffff;
}


/* Section Heading */

.related-resources-section .section-heading {
    max-width: 760px;
}

.related-resources-section .section-label {
    display: inline-block;
    margin-bottom: 10px;

    color: rgb(20, 27, 93);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}



/* =========================================
   RESOURCE CARD
   ========================================= */

.resource-card {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;
    padding: 30px;

    background: #ffffff;

    border: 1px solid #e6eaf2;
    border-radius: 18px;

    text-decoration: none;

    box-shadow: 0 8px 25px rgba(20, 27, 93, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-7px);

    border-color: rgba(28, 63, 198, 0.25);

    box-shadow: 0 18px 40px rgba(20, 27, 93, 0.12);
}


/* =========================================
   RESOURCE ICON
   ========================================= */

.resource-icon {
    width: 58px;
    height: 58px;

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

    margin-bottom: 22px;

    background: #eef2ff;

    border-radius: 14px;

    color: rgb(20, 27, 93);

    font-size: 26px;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.resource-card:hover .resource-icon {
    background: rgb(20, 27, 93);
    color: #ffffff;

    transform: scale(1.05);
}


/* =========================================
   RESOURCE CONTENT
   ========================================= */

.resource-content {
    display: flex;
    flex-direction: column;

    height: 100%;
}

.resource-content h3 {
    margin-bottom: 12px;
    margin: 0;
    color: #58595B;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 200%;
}

.resource-content p {
    flex-grow: 1;
    color: #58595B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 200%;
    margin-bottom: 0;
    overflow: hidden;
}


/* =========================================
   RESOURCE LINK
   ========================================= */

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: rgb(20, 27, 93);

    font-size: 14px;
    font-weight: 700;

    transition: gap 0.25s ease;
}

.resource-card:hover .resource-link {
    gap: 11px;
}

.resource-link i {
    font-size: 15px;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 767.98px) {

    .resource-card {
        padding: 25px;
    }

    .resource-content h3 {
        font-size: 20px;
    }
}


@media (max-width: 575.98px) {

    .related-resources-section {
        padding-top: 45px !important;
        padding-bottom: 45px !important;
    }

    .related-resources-section .section-title {
        font-size: 30px;
    }

    .related-resources-section .section-description {
        font-size: 15px;
    }

    .resource-card {
        padding: 22px;
    }
}


/* section */
.saliva-section {
  display: block;
}
/* image wrapper */
.saliva-section .saliva-wrapper {
  position: relative;
  display: inline-block;
}

/* main image */
.saliva-section .main-img {
  max-width: 850px;
}

/* info boxes */
.saliva-section .info-box {
  position: absolute;
  border-radius: 12px;
  background: var(--White, #fff);
  box-shadow: 0 24px 50px 0 rgba(0, 0, 0, 0.1);
  padding: 5px 16px;
  text-decoration: none;
  color: var(--Text-Navigation, #727272);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px; /* 285.714% */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* hover animation */
.saliva-section .info-box:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  color: #141b5d;
}

/* icon */
.saliva-section .icon {
  font-size: 18px;
}

/* positions */

.saliva-section .detect-box {
  left: -20%;
  top: 25%;
}

.saliva-section .home-box {
  right: -40px;
  top: 20%;
}

.saliva-section .review-box {
  right: -20%;
  bottom: 20%;
}

.saliva-section .use-box {
  left: -10%;
  bottom: 10%;
}
.saliva-section-img {
  display: none;
}
/* responsive */

@media (max-width: 768px) {
  .saliva-section {
    display: none;
  }
  .saliva-section-img {
    display: block;
  }
}

.den-section-btn-cta {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 135%;
  display: inline;
  padding: 12px 16px;
  gap: 10px;
  transition: all 0.3s;
  border-radius: 72px;
  background: #141b5d;
  box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.12) inset,
    0 1px 1.5px 0 rgba(255, 255, 255, 0.25) inset,
    0 2px 6px 0 rgba(74, 58, 255, 0.1);
  color: #fff;
  border: 1px solid #141b5d;
}

.den-section-btn-cta:hover {
  background: #141b5d;
  box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.12) inset,
    0 1px 1.5px 0 rgba(255, 255, 255, 0.25) inset,
    0 2px 6px 0 rgba(74, 58, 255, 0.1);
  color: #fff;
  border: 1px solid #141b5d;
}

.den-section-btn-cta-a {
  color: #141b5d;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 135%;
  display: inline;

  padding: 12px 16px;
  gap: 10px;
  text-decoration: none !important;
  transition: all 0.3s;
  border-radius: 72px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.12) inset,
    0 1px 1.5px 0 rgba(255, 255, 255, 0.25) inset,
    0 2px 6px 0 rgba(74, 58, 255, 0.1);
}
.den-section-btn-cta-a:hover {
  background-color: #fff;
  color: #141b5d !important;
  border: none;
  border: 1px solid #ddd;
}




/* =========================================
   DENTALPEDIA HERO
========================================= */

.dentalpedia-hero {
    position: relative;
    padding: 80px 0 90px;
    background: linear-gradient(180deg, #f5f7ff 0%, #ffffff 100%);
    overflow: hidden;
}

.dentalpedia-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -220px;
    right: -180px;
    border: 1px solid rgba(28, 63, 198, 0.08);
    border-radius: 50%;
}

.dentalpedia-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -180px;
    left: -120px;
    border: 1px solid rgba(28, 63, 198, 0.06);
    border-radius: 50%;
}


/* =========================================
   BREADCRUMB
========================================= */

.dentalpedia-breadcrumb {
    position: relative;
    z-index: 2;
}

.dentalpedia-breadcrumb .breadcrumb {
    font-size: 14px;
}

.dentalpedia-breadcrumb a {
    color: #667085;
    text-decoration: none;
    font-weight: 500;
}

.dentalpedia-breadcrumb a:hover {
    color: #1c3fc6;
}

.dentalpedia-breadcrumb .breadcrumb-item.active {
    color: #1c3fc6;
    font-weight: 600;
}


/* =========================================
   HERO CONTENT
========================================= */

.dentalpedia-hero .col-xl-9 {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #1c3fc6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.dentalpedia-hero h1 {
    max-width: 900px;
    margin: 0 auto 20px;
    color: #141b5d;
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    color: #667085;
    font-size: 18px;
    line-height: 1.75;
}


/* =========================================
   TOPIC FILTER
========================================= */

.dentalpedia-filter {
    max-width: 620px;
    margin: 36px auto 28px;
}

.filter-input-wrapper {
    position: relative;
}

.filter-input-wrapper > i {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 20px;
    color: #98a2b3;
    font-size: 18px;
    transform: translateY(-50%);
    pointer-events: none;
}

.filter-input-wrapper .form-control {
    height: 58px;
    padding: 0 52px;
    color: #202633;
    background: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(20, 27, 93, 0.06);
    font-size: 16px;
}

.filter-input-wrapper .form-control::placeholder {
    color: #98a2b3;
}

.filter-input-wrapper .form-control:focus {
    border-color: #1c3fc6;
    box-shadow:
        0 0 0 4px rgba(28, 63, 198, 0.10),
        0 8px 25px rgba(20, 27, 93, 0.06);
}

.filter-clear {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 16px;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #667085;
    background: #f2f4f7;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
}

.filter-clear:hover {
    color: #141b5d;
    background: #e4e7ec;
}

.filter-help {
    margin: 10px 0 0;
    color: #98a2b3;
    font-size: 13px;
}


/* =========================================
   BROWSE TOPICS
========================================= */

.browse-topics-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #1c3fc6;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.browse-topics-link i {
    font-size: 17px;
    transition: transform 0.2s ease;
}

.browse-topics-link:hover {
    color: #141b5d;
}

.browse-topics-link:hover i {
    transform: translateY(4px);
}


/* =========================================
   NO RESULTS
========================================= */

.topic-no-results {
    padding: 50px 20px;
}

.topic-no-results > i {
    color: #98a2b3;
    font-size: 32px;
}

.topic-no-results h3 {
    margin: 15px 0 8px;
    color: #141b5d;
    font-size: 22px;
    font-weight: 700;
}

.topic-no-results p {
    margin: 0;
    color: #667085;
    font-size: 15px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991.98px) {

    .dentalpedia-hero {
        padding: 65px 0 75px;
    }

    .dentalpedia-hero h1 {
        font-size: 46px;
    }

    .hero-text {
        font-size: 17px;
    }
}

@media (max-width: 767.98px) {

    .dentalpedia-hero {
        padding: 55px 0 65px;
    }

    .dentalpedia-hero h1 {
        font-size: 38px;
        letter-spacing: -0.7px;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.65;
    }

    .dentalpedia-filter {
        margin-top: 30px;
    }

    .filter-input-wrapper .form-control {
        height: 54px;
    }
}

@media (max-width: 575.98px) {

    .dentalpedia-hero {
        padding: 45px 0 55px;
    }

    .dentalpedia-hero h1 {
        font-size: 34px;
    }

    .hero-text {
        font-size: 15px;
    }

    .dentalpedia-breadcrumb .breadcrumb {
        font-size: 13px;
    }

    .filter-input-wrapper .form-control {
        height: 52px;
        font-size: 15px;
    }
}


/* =========================================
   DENTAL SPECIALTIES SECTION
========================================= */

.specialties-section {
    padding: 90px 0;
    background: #ffffff;
}

/* Section Heading */
.section-heading {
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #1c3fc6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}



.section-heading p {
    margin: 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   SPECIALTY CARD
========================================= */

.specialty-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(20, 27, 93, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(20, 27, 93, 0.12);
}


/* =========================================
   SPECIALTY IMAGE
========================================= */

.specialty-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f7f9fc;
}

.specialty-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.specialty-card:hover .specialty-image img {
    transform: scale(1.04);
}


/* =========================================
   SPECIALTY ICON
========================================= */

.specialty-icon {
    position: absolute;
    right: 20px;
    bottom: 20px;

    width: 52px;
    height: 52px;

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

    color: rgb(20, 27, 93);
    background: #ffffff;
    border-radius: 50%;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

    font-size: 22px;
}

.emergency-icon {
    color: #d92d20;
}


/* =========================================
   SPECIALTY CONTENT
========================================= */

.specialty-content {
    padding: 26px;
}

.specialty-content h3 {
    margin: 0 0 12px;
    color: #141b5d;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.specialty-content p {
    min-height: 72px;
    margin: 0 0 20px;
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
}


/* =========================================
   SPECIALTY LINK
========================================= */

.specialty-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: rgb(20, 27, 93);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    transition: color 0.2s ease;
}

.specialty-link:hover {
    color: #141b5d;
}

.specialty-link i {
    transition: transform 0.2s ease;
}

.specialty-link:hover i {
    transform: translateX(4px);
}


/* =========================================
   FILTER HIDDEN STATE
========================================= */

.specialty-filter-item.d-none {
    display: none !important;
}


/* =========================================
   NO RESULTS
========================================= */

.topic-no-results {
    padding: 50px 20px;
}

.topic-no-results > i {
    color: #98a2b3;
    font-size: 32px;
}

.topic-no-results h3 {
    margin: 15px 0 8px;
    color: #141b5d;
    font-size: 22px;
    font-weight: 700;
}

.topic-no-results p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991.98px) {

    .specialties-section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .specialty-image {
        height: 210px;
    }
}


@media (max-width: 767.98px) {

    .specialties-section {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .specialty-image {
        height: 200px;
    }

    .specialty-content {
        padding: 22px;
    }

    .specialty-content p {
        min-height: auto;
    }
}


@media (max-width: 575.98px) {

    .specialties-section {
        padding: 50px 0;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .specialty-image {
        height: 190px;
    }

    .specialty-content h3 {
        font-size: 20px;
    }
}