* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: white;
    color: #333;
}

/* BOOK APPOINTMENT BUTTON */
.book-appointment {
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    background: rgba(10, 9, 9, 0.392);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: fixed;
    bottom: 30px;
    right: 35px;
    z-index: 1100;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.book-appointment:hover {
    background: rgba(12, 0, 0, 0.879);
    border-color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 800px) {
    .book-appointment {
        display: flex;
        font-size: 12px;
        padding: 10px 15px;
        right: 7px;
    }
}

/* HEADER */
.Dth-headerD {
    background-image: url('/assets/images/BG%20Hero.jpg');
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 61px;
    letter-spacing: 1.1px;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.25),
        0 3px 6px rgba(0, 0, 0, 0.15),
        0 6px 12px rgba(0, 0, 0, 0.10);
    background-size: cover;
    background-position: center 80%;
    position: relative;
    flex-direction: column;
}

.Dth-headerD h1 {
    font-size: 60px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.Dth-mainD {
    max-width: 1260px;
    margin: 30px auto 50px;
    padding: 0 20px;
}

/* TABS AND SEARCH CONTAINER */
.Dth-tabs-search-containerD {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 35px;
    color: #222;
    gap: 20px;
}

.blog-text-bottom-hero {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.blog-text-bottom-hero:hover {
    text-decoration: underline;
}

.Dth-tabsD {
    display: flex;
    gap: 30px;
}

.Dth-tabD {
    display: none;
    cursor: pointer;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    user-select: none;
    transition: all 0.25s ease;
    font-weight: 500;
    color: #666;
}

.Dth-tabD:hover {
    color: #222;
}

.Dth-tabD.Dth-activeD {
    border-bottom: 2px solid #000;
    font-weight: 700;
    color: #000;
}

/* SEARCH BOX CONTAINER */
.Dth-search-boxD {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 420px;
    flex-shrink: 0;
}

/* DROPDOWN SELECTOR */
#searchType {
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1.5px solid #ddd;
    background: #fff;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

#searchType:hover {
    border-color: #999;
    background-color: #fafafa;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

#searchType:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

#searchType option {
    padding: 8px 12px;
    background: white;
    color: #333;
}

/* SEARCH INPUT */
#Dth-search-inputD {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1.5px solid #ddd;
    background: #fff;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    color: #333;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#Dth-search-inputD::placeholder {
    color: #999;
    font-weight: 400;
}

#Dth-search-inputD:hover {
    border-color: #999;
    background-color: #fafafa;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

#Dth-search-inputD:focus {
    border-color: #000;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* CARDS GRID */
.Dth-cardsD {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.Dth-cardD {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: pointer;
}

.Dth-cardD:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.Dth-card-imageD {
    height: 220px;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.Dth-card-contentD {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
}

.Dth-card-contentD h3 {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: #222;
}

.Dth-card-contentD p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

.Dth-card-dateD {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
    font-weight: 500;
}

/* READ MORE BUTTON */
.Dth-readmoreD {
    align-self: flex-end;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s ease;
    margin-top: auto;
    padding-top: 8px;
}

.Dth-readmoreD:hover {
    text-decoration: underline;
}

.Dth-cardD:hover .Dth-readmoreD {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER AND PAGINATION */
.Dth-footerD {
    max-width: 960px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 14px;
    user-select: none;
    color: #666;
}

.Dth-paginationD {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.Dth-page-btnD {
    cursor: pointer;
    user-select: none;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    transition: all 0.2s ease;
    font-weight: 500;
}

.Dth-page-btnD:hover:not(.Dth-disabledD):not(.Dth-activeD) {
    background-color: #f5f5f5;
    border-color: #999;
}

.Dth-page-btnD.Dth-disabledD {
    cursor: not-allowed;
    color: #ccc;
    border-color: #eee;
}

.Dth-page-btnD.Dth-activeD {
    background: #000;
    color: white;
    border-color: #000;
}

.Dth-page-arrowD {
    font-size: 16px;
    line-height: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .Dth-headerD {
        height: 350px;
    }

    .Dth-headerD h1 {
        font-size: 32px;
    }


    .Dth-tabs-search-containerD {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .Dth-search-boxD {
        width: 100%;
        flex-direction: column;
    }

    #searchType,
    #Dth-search-inputD {
        width: 100%;
    }

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

@media (max-width: 480px) {
    .Dth-headerD {
        height: 280px;
        font-size: 28px;
    }

    .Dth-headerD h1 {
        font-size: 30px;
    }


    .Dth-mainD {
        padding: 0 15px;
    }

    .Dth-tabsD {
        gap: 15px;
        font-size: 12px;
    }

    .Dth-cardsD {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .book-appointment {
        bottom: 15px;
        right: 10px;
        padding: 10px 12px;
        font-size: 11px;
    }

    #Dth-search-inputD {
        padding: 12px 16px;
    }

    .blog-text-bottom-hero {
        bottom: 12px;
        font-size: 14px;
    }
}