.banner-img {
    padding: 10px;
    border: 10px solid #045f62;
    aspect-ratio: 1/1;
    border-radius: 100%;

}

.banner-img img {
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 100%;
    padding: 10px;
    border: 10px solid #1fb5b9;

}





.breadcrumb {
    background: url(../../source/images/service/endocrine-banner.png) no-repeat center center/cover;
    position: relative;
    padding: 100px 0;
    margin: 0 !important;
}

.breadcrumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background: linear-gradient(135deg, #045f62 0%, #1fb5b9 100%);
}

.breadcrumb .breadcrumb-content {
    position: relative;
    z-index: 1;
}

.breadcrumb .breadcrumb-title {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
}

.breadcrumb .breadcrumb-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.breadcrumb .breadcrumb-links li {
    display: inline-block;
    color: #fff;
    font-size: 1rem;
}

.breadcrumb .breadcrumb-links li a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 767px) {
    .breadcrumb {
        padding: 50px 0;
    }

    .breadcrumb .breadcrumb-title {
        font-size: 1.5rem;
    }

    .breadcrumb .breadcrumb-links li {
        font-size: 0.875rem;
    }
}


.disease-box {
    background: #fff;
    border-radius: 20px 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin-bottom: 25px;
}

.disease-image img {
    border-radius: 20px;
    aspect-ratio: 16/8;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
    border: 5px solid #fff;
}

.disease-text h2 {
    font-size: 2rem;
    color: #045f62;
    border-bottom: 2px solid #045f62;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.disease-text h3 {
    font-size: 1.75rem;
    color: #045f62;
    border-bottom: 2px solid #045f62;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.disease-text h4 {
    font-size: 1.5rem;
    color: #045f62;
    margin-bottom: 15px;
}

.disease-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.disease-text ul {
    list-style: disc inside;
    padding-left: 25px;
    margin-bottom: 15px;
}

.disease-text ol {
    list-style: decimal inside;
    padding-left: 25px;
    margin-bottom: 15px;
}

.disease-text ul li {
    font-size: 1rem;
    color: #333;
    list-style-type: disc;
    line-height: 1.5;
    margin-bottom: 10px;
}

.disease-text ol li {
    font-size: 1rem;
    color: #333;
    list-style-type: decimal;
    line-height: 1.5;
    margin-bottom: 10px;
}


@media (max-width: 767px) {
    .disease-box {
        padding: 0;
        border: none;
        background: transparent;
        margin-bottom: 0;
        box-shadow: none;
    }

    .disease-text h2 {
        font-size: 1.5rem;
    }

    .disease-text h3 {
        font-size: 1.25rem;
    }

    .disease-text h4 {
        font-size: 1.1rem;
    }

    .disease-text p,
    .disease-text ul li,
    .disease-text ol li {
        font-size: 0.95rem;
    }
}

/* services */

.drfk-primary {
    color: #1fb5b9 !important;
}

.drfk-primary-bg {
    background-color: #1fb5b9 !important;
}

.drfk-secondary {
    color: #045f62 !important;
}

.drfk-secondary-bg {
    background-color: #045f62 !important;
}

.drfk-primary-border {
    border-color: #1fb5b9 !important;
}

.drfk-secondary-border {
    border-color: #045f62 !important;
}

.drfk-services-section {
    background-color: #f0f8f8;
    padding: 40px 0;
}

.drfk-service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(4, 95, 98, 0.1);
    box-shadow: 0 2px 12px rgba(4, 95, 98, 0.06);
}

.drfk-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(4, 95, 98, 0.12);
    border-color: rgba(4, 95, 98, 0.2);
}

.drfk-service-img-wrapper {
    overflow: hidden;
}

.drfk-service-img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.drfk-service-card:hover .drfk-service-img-wrapper img {
    transform: scale(1.05);
}

.drfk-card-body {
    padding: 15px;
}

.drfk-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #045f62;
    margin-bottom: 8px;
    line-height: 1.3;
}

.drfk-card-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drfk-btn-readmore {
    background-color: #1fb5b9;
    border-color: #1fb5b9;
    color: white;
    padding: 10px 25px;
    font-size: 0.9rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(31, 181, 185, 0.3);
}

.drfk-btn-readmore:hover {
    background-color: #045f62;
    border-color: #045f62;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(4, 95, 98, 0.4);
    text-decoration: none;
}

.drfk-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.drfk-section-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1fb5b9 0%, #045f62 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;

}

.drfk-section-subtitle {
    color: #64748b;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .drfk-service-img-wrapper img {
        height: 220px;
    }

    .drfk-card-title {
        font-size: 1rem;
    }

    .drfk-card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .drfk-service-img-wrapper img {
        height: 200px;
    }

    .drfk-section-title {
        font-size: 1.75rem;
    }
}


/* faq */

.acc-section {
    max-width: 900px;
    margin: 0 auto;
}

.acc-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 12px 32px rgba(31, 181, 185, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(31, 181, 185, 0.2);
}

@media (max-width: 768px) {
    .acc-container {
        padding: 25px 12px;
        margin: 0;
    }
}

.acc-header {
    text-align: center;
}

.acc-heading {
    font-size: 32px;
    font-weight: 600;
    color: #334155 !important;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.acc-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.acc-item {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.acc-item:hover {
    box-shadow: 0 20px 45px rgba(31, 181, 185, 0.15);
    transform: translateY(-2px);
}

.acc-item.is-open {
    border-color: #1fb5b9;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(31, 181, 185, 0.03));
    box-shadow: 0 16px 40px rgba(31, 181, 185, 0.12);
}

.acc-header-btn {
    width: 100%;
    padding: 12px 15px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.acc-title-wrap {
    flex: 1;
}

.acc-title {
    font-size: 18px !important;
    font-weight: 600;
    color: #333;
    margin: 0 !important;
}

.acc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 181, 185, 0.08);
    color: #1fb5b9;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.acc-icon svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.acc-item.is-open .acc-icon {
    background: #1fb5b9;
    color: white;
}

.acc-item.is-open .acc-icon svg {
    transform: rotate(180deg);
}

.acc-content {
    padding: 0 24px 24px;
    display: none;
}

.acc-item.is-open .acc-content {
    display: block;
}

.acc-text {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin: 0;
    word-break: normal;
    white-space: normal;
    overflow-wrap: break-word;
}

.acc-content ul {
    margin: 12px 0 0;
    padding-left: 20px;
    list-style: disc;
}

.acc-content ul li {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    list-style-type: disc;
    word-break: normal;
}

@media (max-width: 768px) {
    .acc-heading {
        font-size: 26px;
    }

    .acc-title {
        font-size: 16px !important;
    }

    .acc-header-btn {
        padding: 12px;
    }

    .acc-content {
        padding: 12px !important;
    }
}

/* gallery */

.gallery-img img {
    border-radius: 20px;
    box-shadow: 0 0 30px rgb(0 0 0/ 15%);
    aspect-ratio: 3/2;
    object-fit: cover;
}




/* blog */

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    /* height: 220px; */
}

.blog-image {
    width: 100%;
    /* height: 100%; */
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #1fb5b9;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.blog-body {
    padding: 20px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-btn {
    font-size: 1rem;
    padding: 7px 25px;
    border-radius: 50px;
    color: #1fb5b9;
    border: 1px solid #1fb5b9;
    margin: 0;
}

.blog-btn:hover {
    background-color: #1fb5b9;
    color: #fff;
}



/* service links  */

.dr-widget .profile-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.dr-widget .profile-header {
    background: linear-gradient(45deg, #1fb5b9, #045f62);
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.dr-widget .doctor-avatar {
    width: 420px;
    height: auto;
    /* aspect-ratio: 1/1; */
    object-fit: cover;
    border-radius: 17px;
    border: 4px solid rgb(255, 255, 255);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.dr-widget .doctor-avatar:hover {
    transform: scale(1.05);
}

.dr-widget .doctor-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #045f62;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    line-height: 1.2;
    /* padding-bottom: 2px; */
    border-bottom: 2px solid #045f62;
}

.dr-widget .doctor-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.dr-widget .credential-badge {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dr-widget .credential-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.dr-widget .stat-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    color: #fff;
}

.dr-widget .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #045f62;
    border-bottom: 3px solid #045f62;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-bottom: 3px;
    margin-bottom: 20px;
}

.dr-widget .section-title i {
    color: #213454;
    font-size: 1.5rem;
}

.dr-widget .service-card a {
    background: #ecfeff;
    border: 2px solid #045f62;
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dr-widget .service-card a::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(4, 95, 98, 0.08) 0%, transparent 70%);
    transition: transform 0.6s ease;
    transform: scale(0);
}

.dr-widget .service-card a:hover::before {
    transform: scale(1);
}

.dr-widget .service-card a:hover {
    border-color: #045f62;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(4, 95, 98, 0.2);
}

.dr-widget .service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    position: relative;
    z-index: 1;

    a {
        color: inherit;
        display: block;
    }
}

.dr-widget .contact-card {
    background: #045f62;
    border-radius: 0;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.dr-widget .contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;

}

.dr-widget .contact-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
}

.dr-widget .contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.dr-widget .contact-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #045f62 0%, #1fb5b9 100%);
    border-radius: 8px;
    font-size: 1rem;
}

.dr-widget .appointment-form {
    background: #fff;
    border: 2px solid #e0f2fe;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dr-widget .appointment-form h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #045f62;
}

.dr-widget .form-control {
    padding: 10px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    font-family: 'Poppins', sans-serif;
}

.dr-widget .form-control:focus {
    border-color: #045f62;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(4, 95, 98, 0.1);
}

.dr-widget .btn-submit {
    background: linear-gradient(135deg, #045f62 0%, #1fb5b9 100%);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(4, 95, 98, 0.2);
    transition: all 0.3s ease;
}

.dr-widget .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(4, 95, 98, 0.4);
    color: #fff;
}