/* ============================================================
   WordPress-specific overrides for Denart theme
   These fix issues caused by WP admin bar + Owl Carousel
============================================================ */

/* Smooth scroll for anchor links */
html { scroll-behavior: smooth; }

/* Offset fixed header height when jumping to section IDs */
[id] { scroll-margin-top: 90px; }

/* --- SLIDER HEADING FIX ---
   Long titles (FFS etc.) need responsive sizing + clean wrapping
*/
.header .slider-heading {
    font-size: clamp(32px, 4.5vw, 68px) !important;
    line-height: 1.15 !important;
    max-width: 700px;
    word-break: break-word;
}
.header .slider-heading span {
    display: inline;
}
.header .slider-desc {
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.8;
    max-width: 560px;
}

/* --- ABOUT SECTION FIXES ---
   Long title wrap, multi-paragraph text spacing
*/
.about-title {
    font-size: clamp(26px, 3vw, 46px) !important;
    line-height: 1.25 !important;
    word-break: break-word;
}
.about-text-wrap p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 14px;
}
.about-text-wrap p:last-child { margin-bottom: 0; }

/* FA icons inside page-list-icon (override dental icon font sizing) */
.about .page-list-icon i[class*="fa-"] {
    font-size: 18px;
    color: #00bde0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* List heading */
.about-list-wrap { margin-bottom: 20px; }
.about-list-heading {
    font-size: 15px;
    font-weight: 600;
    color: #031b4e;
    margin-bottom: 10px;
    margin-top: 0;
}

/* Tagline below list */
.about-tagline {
    font-size: 15px;
    font-style: italic;
    color: #00bde0;
    font-weight: 500;
    border-left: 3px solid #00bde0;
    padding-left: 12px;
    margin: 16px 0 20px;
    line-height: 1.6;
}

/* --- 1. SLIDER HEIGHT FIX ---
   Owl Carousel measures items as 0px (position:absolute).
   Force the stage to be viewport height.
*/
.slider-fade .owl-stage-outer,
.slider-fade .owl-stage,
.slider-fade .owl-item {
    height: calc(95vh - 100px) !important;
    min-height: 500px;
}
/* Offset for WordPress admin bar (32px) */
.admin-bar .slider-fade .owl-stage-outer,
.admin-bar .slider-fade .owl-stage,
.admin-bar .slider-fade .owl-item {
    height: calc(95vh - 132px) !important;
}

/* Ensure the bg-img items fill the full stage height */
.slider-fade .item {
    height: 100% !important;
    min-height: 100%;
}

/* --- 2. ABOUT SECTION CIRCLE FIX ---
   .reveal-effect has float:left which collapses .about .item height.
   overflow:hidden on .about .item acts as a clearfix (contains floats)
   so the item gets proper height and bottom:-6px positions correctly.
   We KEEP overflow:hidden on .item but ensure reveal-effect fills width.
*/
.about .item {
    overflow: hidden;
    position: relative;
}
.about .item .reveal-effect {
    width: 100%;
    float: none;
    display: block;
}
.about .item .reveal-effect img {
    width: 100%;
    display: block;
}

/* --- 3. WORDPRESS ADMIN BAR OFFSET ---
   Push navbar below admin bar
*/
.admin-bar .navbar {
    top: 32px;
}

/* --- 4. LOGO SIZING ---
   Ensure the logo image shows at correct size
*/
.navbar .logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}


/* --- 6. SLIDER IMAGE — CENTER ALL SLIDES ---
   Default background-position:top clips some images.
   Force center so all slider backgrounds show fully.
*/
.slider-fade .item {
    background-position: top center !important;
}

/* --- 7. REMOVE ALL HOVER UPWARD TRANSFORMS ---
   Original CSS lifts elements up on hover via transform.
   Overriding all of these to match flat/original behavior.
*/
section.blog .item:hover,
.contact-box .item:hover,
.navbar .navbar-right .durubtn5:hover,
.pagination-wrap li a:hover,
.team-details .item .wrap .social-icon a:hover,
.durubtn:hover,
.durubtn2:hover,
.durubtn3:hover,
.durubtn4:hover {
    transform: none !important;
}

/* --- 8. SLIDER H5 ICON DOT ---
   Force the <i class="icon"> inside h5 to render as a
   4×4px teal dot, not an icon-font glyph or white circle.
*/
.header h5 .icon,
.section-subtitle .icon {
    display: inline-block !important;
    background-color: #00bde0 !important;
    background-image: none !important;
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    min-height: 6px !important;
    border-radius: 50% !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}
.header h5 .icon::before,
.header h5 .icon::after,
.section-subtitle .icon::before,
.section-subtitle .icon::after {
    display: none !important;
}

/* ============================================================
   SINGLE POST PAGE
============================================================ */

/* Post body typography */
.post-body {
    font-size: 16px;
    line-height: 1.9;
    color: #4a4a6a;
}
.post-body h2, .post-body h3, .post-body h4 {
    color: #031b4e;
    margin: 30px 0 15px;
    font-weight: 600;
}
.post-body h2 { font-size: 28px; }
.post-body h3 { font-size: 22px; }
.post-body p { margin-bottom: 20px; }
.post-body img {
    border-radius: 12px;
    margin: 20px 0;
    width: 100%;
}
.post-body a { color: #00bde0; }
.post-body blockquote {
    border-left: 4px solid #00bde0;
    background: #eff9ff;
    padding: 20px 25px;
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
    font-style: italic;
    color: #031b4e;
    font-size: 17px;
}
.post-body ul, .post-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}
.post-body ul li, .post-body ol li {
    margin-bottom: 8px;
}

/* Featured image */
.post-feat-img img {
    border-radius: 20px;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Tags row */
.post-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.post-tags .tag-title {
    font-size: 15px;
    font-weight: 600;
    color: #031b4e;
    margin: 0 10px 0 0;
}
.post-tags .tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.post-tags .tags li {
    background: #eff9ff;
    border-radius: 5px;
    padding: 6px 18px;
    margin: 0 !important;
    float: none !important;
}
.post-tags .tags li a { color: #00bde0; font-size: 14px; }
.post-tags .tags li:hover { background: #00bde0; }
.post-tags .tags li:hover a { color: #fff; }

/* Author box */
.post-author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #eff9ff;
    border-radius: 16px;
    padding: 30px;
    border-left: 4px solid #00bde0;
}
.post-author-box .author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00bde0;
    margin: 0;
}
.post-author-box .author-info h5 {
    font-size: 18px;
    color: #031b4e;
    margin-bottom: 8px;
    font-weight: 600;
}
.post-author-box .author-info p {
    font-size: 14px;
    color: #6e778c;
    margin: 0;
    line-height: 1.7;
}

/* Banner section-subtitle in banner-header */
.banner-header .section-subtitle {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff !important;
    backdrop-filter: blur(4px);
    margin-bottom: 20px;
}
.banner-header .section-subtitle .icon {
    background-color: #00bde0 !important;
}

/* Comments styling */
.post-comments .comment-list { list-style: none; padding: 0; }
.post-comments .comment-body {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 30px rgba(0,189,224,0.08);
}
.post-comments .comment-author .fn { color: #031b4e; font-weight: 600; font-size: 15px; }
.post-comments .comment-meta a { color: #6e778c; font-size: 13px; }
.post-comments .comment-content p { color: #4a4a6a; font-size: 15px; line-height: 1.8; margin: 10px 0 0; }
.post-comments .reply a {
    display: inline-block;
    padding: 6px 18px;
    background: #eff9ff;
    color: #00bde0;
    border-radius: 30px;
    font-size: 13px;
    margin-top: 10px;
    transition: 0.3s;
}
.post-comments .reply a:hover { background: #00bde0; color: #fff; }
.post-comments h3 { font-size: 24px; color: #031b4e; margin-bottom: 25px; font-weight: 700; }
.post-comments .comment-respond h3 { font-size: 22px; color: #031b4e; margin-bottom: 20px; }
.post-comments .comment-form input,
.post-comments .comment-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(0,189,224,0.2);
    border-radius: 10px;
    background: #eff9ff;
    color: #031b4e;
    font-size: 15px;
    margin-bottom: 15px;
    outline: none;
    font-family: 'Jost', sans-serif;
    transition: border 0.3s;
}
.post-comments .comment-form input:focus,
.post-comments .comment-form textarea:focus {
    border-color: #00bde0;
    background: #fff;
}
.post-comments .comment-form textarea { height: 140px; resize: none; }
.post-comments .comment-form .submit {
    background: #00bde0;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    transition: 0.3s;
}
.post-comments .comment-form .submit:hover { background: #031b4e; }

/* Nex-prv post navigation */
.nex-prv { border-radius: 16px; overflow: hidden; }
.nex-prv .prv, .nex-prv .nxt { flex: 1; }
.nex-prv .img { padding: 50px 40px; }
.nex-prv .prv .img { border-right: 1px solid rgba(0,189,224,0.15); }
.nex-prv h5, .nex-prv h5 a { font-size: 16px !important; color: #fff !important; }
.nex-prv span.icon { font-size: 24px !important; display: block; margin-bottom: 8px; }

/* Banner post meta */
.banner-header .post .date-comment { color: rgba(255,255,255,0.85); }
.banner-header .post .date-comment i { color: #00bde0; margin-right: 6px; }

/* ============================================================
   VIRTUAL TOUR SECTION
============================================================ */
.virtual-tour { background: #f5fbff; }
.virtual-tour .section-title { font-size: 40px; }
.virtual-tour .section-title span { color: #00bde0; }

/* Stats row */
.virtual-tour-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.vt-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0,189,224,.18);
    border-radius: 14px;
    padding: 16px 24px;
    min-width: 100px;
    box-shadow: 0 4px 18px rgba(0,189,224,.08);
}
.vt-stat-num {
    font-size: 28px;
    font-weight: 700;
    color: #00bde0;
    line-height: 1;
    margin-bottom: 6px;
}
.vt-stat-label {
    font-size: 12px;
    color: #6e778c;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Embed iframe wrapper */
.vt-embed-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(3,27,78,.18);
    border: 1px solid rgba(0,189,224,.2);
    background: #031b4e;
}

/* Fake browser chrome bar */
.vt-embed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #031b4e;
    padding: 12px 18px;
}
.vt-embed-dots {
    display: flex;
    gap: 6px;
}
.vt-embed-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: block;
}
.vt-embed-dots span:nth-child(1) { background: #e74c3c; }
.vt-embed-dots span:nth-child(2) { background: #f39c12; }
.vt-embed-dots span:nth-child(3) { background: #2ecc71; }
.vt-embed-label {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    flex: 1;
    text-align: center;
    font-family: 'Jost', sans-serif;
}

/* Iframe container — 16:9 ratio */
.vt-embed-body {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.vt-embed-body iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .vt-embed-wrap { margin-top: 30px; }
}
@media (max-width: 767px) {
    .virtual-tour-stats { gap: 12px; }
    .vt-stat { padding: 12px 16px; min-width: 80px; }
    .virtual-tour .section-title { font-size: 30px; }
}

/* ============================================================
   CONTACT PAGE
============================================================ */

/* Banner */
.contact-banner {
    padding: 120px 0 80px;
    text-align: center;
}
.contact-banner h1 { font-size: 48px; font-weight: 700; }
.contact-breadcrumb {
    margin-top: 18px;
    font-size: 14px;
    color: rgba(255,255,255,.65);
}
.contact-breadcrumb a { color: #00bde0; }
.contact-breadcrumb .mx-10 { margin: 0 8px; }

/* Info Cards */
.contact-info-cards { background: #fff; }
.cinfo-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid rgba(0,189,224,.15);
    box-shadow: 0 6px 30px rgba(3,27,78,.06);
    height: 100%;
    transition: box-shadow .3s, transform .3s;
}
.cinfo-card:hover {
    box-shadow: 0 14px 50px rgba(0,189,224,.16);
    transform: translateY(-4px);
}
.cinfo-icon {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff9ff, #d0f0fb);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #00bde0;
    margin: 0 auto 18px;
    border: 2px solid rgba(0,189,224,.2);
}
.cinfo-card h5 {
    font-size: 17px; font-weight: 600;
    color: #031b4e; margin-bottom: 10px;
}
.cinfo-card p {
    font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 12px;
}
.cinfo-card p a { color: #031b4e; }
.cinfo-card p a:hover { color: #00bde0; }
.cinfo-link {
    font-size: 13px; color: #00bde0; font-weight: 500;
    display: inline-flex; align-items: center; gap: 5px;
}
.cinfo-link:hover { color: #031b4e; }

/* Hours list inside info card */
.cinfo-hours {
    list-style: none; padding: 0; margin: 0;
    text-align: left;
}
.cinfo-hours li {
    display: flex; justify-content: space-between;
    font-size: 13px; color: #555;
    padding: 7px 0; border-bottom: 1px solid rgba(0,189,224,.1);
}
.cinfo-hours li:last-child { border: none; }
.cinfo-hours li span:first-child { font-weight: 600; color: #031b4e; }
.text-primary-c { color: #00bde0 !important; }

/* Form Section */
.contact-form-section { background: #f5fbff; }
.contact-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(3,27,78,.07);
    border: 1px solid rgba(0,189,224,.12);
}
.denart-contact-form .form-group {
    margin-bottom: 0;
}
.denart-contact-form input,
.denart-contact-form select,
.denart-contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0,189,224,.2);
    border-radius: 10px;
    background: #f5fbff;
    color: #031b4e;
    font-size: 15px;
    font-family: 'Jost', sans-serif;
    outline: none;
    transition: border .3s, background .3s;
    -webkit-appearance: none;
    appearance: none;
}
.denart-contact-form input:focus,
.denart-contact-form select:focus,
.denart-contact-form textarea:focus {
    border-color: #00bde0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,189,224,.1);
}
.denart-contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300bde0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.denart-contact-form textarea { height: 150px; resize: none; }
.denart-contact-form input[type="date"] { color: #6e778c; }
.denart-contact-form input[type="date"]:valid { color: #031b4e; }
#denart-form-msg.success {
    background: #e8faf0; border: 1px solid #27ae60;
    color: #1a7d43; padding: 14px 20px; border-radius: 10px;
    font-size: 15px;
}
#denart-form-msg.error {
    background: #fef0f0; border: 1px solid #e74c3c;
    color: #c0392b; padding: 14px 20px; border-radius: 10px;
    font-size: 15px;
}


/* Social Card */
.contact-social-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(0,189,224,.12);
    box-shadow: 0 4px 20px rgba(3,27,78,.05);
}
.cs-title {
    font-size: 16px !important; font-weight: 600 !important;
    color: #031b4e !important; margin-bottom: 16px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,189,224,.12);
}
.cs-links { display: flex; flex-direction: column; gap: 10px; }
.cs-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; border-radius: 10px;
    background: #f5fbff; border: 1px solid rgba(0,189,224,.12);
    color: #031b4e; font-size: 14px; font-weight: 500;
    transition: all .3s;
}
.cs-item i { color: #00bde0; font-size: 16px; width: 18px; text-align: center; }
.cs-item:hover { background: #00bde0; border-color: #00bde0; color: #fff; }
.cs-item:hover i { color: #fff; }


/* Google Map */
.contact-map-section { line-height: 0; }
.cmap-wrap { position: relative; height: 450px; overflow: hidden; }
.cmap-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

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

/* ── Contact Form 7 Styling ── */
.contact-form-wrap .wpcf7 { margin: 0; }

/* CF7 wraps every field in an inline <span> — force block + full width */
.contact-form-wrap .wpcf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.contact-form-wrap .wpcf7 .wpcf7-form-control {
    display: block;
    width: 100%;
}

/* All inputs, selects, textareas inside CF7 */
.contact-form-wrap .wpcf7 input:not([type="submit"]),
.contact-form-wrap .wpcf7 select,
.contact-form-wrap .wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0,189,224,.2);
    border-radius: 10px;
    background: #f5fbff;
    color: #031b4e;
    font-size: 15px;
    font-family: 'Jost', sans-serif;
    outline: none;
    transition: border .3s, background .3s, box-shadow .3s;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    margin-bottom: 0;
}
.contact-form-wrap .wpcf7 input:not([type="submit"]):focus,
.contact-form-wrap .wpcf7 select:focus,
.contact-form-wrap .wpcf7 textarea:focus {
    border-color: #00bde0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,189,224,.1);
}
.contact-form-wrap .wpcf7 select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300bde0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-color: #f5fbff;
    padding-right: 40px;
    cursor: pointer;
}
.contact-form-wrap .wpcf7 select:focus {
    background-color: #fff;
}
.contact-form-wrap .wpcf7 textarea {
    height: 150px;
    resize: none;
}
.contact-form-wrap .wpcf7 input[type="date"] {
    color: #6e778c;
}
.contact-form-wrap .wpcf7 input[type="date"]:valid {
    color: #031b4e;
}

/* Submit button */
.contact-form-wrap .wpcf7 input[type="submit"],
.contact-form-wrap .wpcf7 .wpcf7-submit {
    background: #00bde0;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Jost', sans-serif;
    cursor: pointer;
    transition: background .3s, transform .2s;
    width: auto;
    display: inline-block;
    letter-spacing: .5px;
}
.contact-form-wrap .wpcf7 input[type="submit"]:hover,
.contact-form-wrap .wpcf7 .wpcf7-submit:hover {
    background: #031b4e;
}

/* Use durubtn style if class is applied via CF7 */
.contact-form-wrap .wpcf7 .durubtn {
    padding: 14px 40px !important;
    font-size: 15px !important;
}

/* Validation errors */
.contact-form-wrap .wpcf7 .wpcf7-not-valid {
    border-color: #e74c3c !important;
    background: #fff8f8 !important;
}
.contact-form-wrap .wpcf7 .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    font-family: 'Jost', sans-serif;
}

/* Response messages */
.contact-form-wrap .wpcf7 .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    border: none !important;
}
.contact-form-wrap .wpcf7 .wpcf7-mail-sent-ok {
    background: #e8faf0;
    border-left: 4px solid #27ae60 !important;
    color: #1a7d43;
}
.contact-form-wrap .wpcf7 .wpcf7-mail-sent-ng,
.contact-form-wrap .wpcf7 .wpcf7-spam-blocked {
    background: #fef0f0;
    border-left: 4px solid #e74c3c !important;
    color: #c0392b;
}
.contact-form-wrap .wpcf7 .wpcf7-validation-errors {
    background: #fff8e6;
    border-left: 4px solid #f0ad4e !important;
    color: #856404;
}

/* Remove CF7 default paragraph wrappers */
.contact-form-wrap .wpcf7 br { display: none; }
.contact-form-wrap .wpcf7 p { margin: 0; }
.contact-form-wrap .wpcf7 .form-group { margin-bottom: 0; }

/* Responsive */
@media (max-width: 991px) {
    .contact-form-wrap { padding: 28px 22px; }
}
@media (max-width: 767px) {
    .contact-banner h1 { font-size: 32px; }
    .cmap-wrap { height: 300px; }
    .contact-cta-strip { text-align: center; }
    .contact-cta-strip .text-md-end { text-align: center !important; margin-top: 20px; }
}

/* ============================================================
   LOGOS CAROUSEL
============================================================ */
.section-padding-sm { padding: 60px 0; }

.logo-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,189,224,.12);
    transition: box-shadow .3s, border-color .3s;
    min-height: 90px;
}
.logo-partner-item:hover {
    box-shadow: 0 6px 24px rgba(0,189,224,.15);
    border-color: rgba(0,189,224,.35);
}
.logo-partner-item img {
    max-height: 55px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(60%);
    opacity: .75;
    transition: filter .3s, opacity .3s;
}
.logo-partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================================
   TEAM SINGLE PAGE
============================================================ */

/* Hero photo */
.team-single-photo {
    position: relative;
    display: inline-block;
}
.team-single-photo img {
    width: 340px;
    height: 400px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px 20px 0 0;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.team-single-photo::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; height: 60px;
    background: #f5fbff;
    border-radius: 10px 10px 0 0;
    z-index: 1;
}

/* Hero info */
.team-single-hero-info { padding: 20px 0 40px; }
.team-single-name {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.1;
}
.team-single-tagline {
    font-size: 18px;
    color: rgba(255,255,255,.7);
    margin-bottom: 30px;
    font-weight: 400;
}

/* Stats */
.team-single-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.stat-item {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 14px 24px;
    text-align: center;
    backdrop-filter: blur(8px);
}
.stat-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #00bde0;
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social */
.team-single-social { display: flex; gap: 10px; margin-bottom: 10px; }
.team-single-social a {
    width: 42px; height: 42px; line-height: 42px;
    text-align: center; border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff; font-size: 15px;
    transition: all .3s;
}
.team-single-social a:hover {
    background: #00bde0;
    border-color: #00bde0;
}

/* Buttons */
.team-single-btns .durubtn2 {
    background: transparent;
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
}
.team-single-btns .durubtn2:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.7);
}

/* Body */
.team-single-body { background: #f5fbff; }
.team-single-content p { font-size: 16px; line-height: 1.8; color: #555; margin-bottom: 16px; }

/* Features */
.team-single-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(0,189,224,.12);
    transition: box-shadow .3s;
}
.team-single-feature:hover { box-shadow: 0 8px 30px rgba(0,189,224,.12); }
.team-single-feature > i {
    font-size: 26px;
    color: #00bde0;
    width: 36px;
    flex-shrink: 0;
    margin-top: 2px;
}
.team-single-feature h6 {
    font-size: 15px;
    font-weight: 600;
    color: #031b4e;
    margin-bottom: 4px;
}
.team-single-feature p { font-size: 13px; color: #777; margin: 0; }

/* Timeline */
.team-single-timeline { position: relative; padding-left: 30px; }
.team-single-timeline::before {
    content: '';
    position: absolute;
    left: 8px; top: 10px; bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, #00bde0, rgba(0,189,224,.15));
}
.timeline-item {
    position: relative;
    padding: 0 0 30px 30px;
}
.timeline-dot {
    position: absolute;
    left: -30px; top: 6px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #00bde0;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(0,189,224,.25);
}
.timeline-year {
    font-size: 12px;
    color: #00bde0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 6px;
}
.timeline-item h5 {
    font-size: 17px;
    font-weight: 600;
    color: #031b4e;
    margin-bottom: 6px;
}
.timeline-item p { font-size: 14px; color: #666; margin: 0; line-height: 1.6; }

/* Sidebar cards */
.team-single-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0,189,224,.12);
    box-shadow: 0 4px 24px rgba(3,27,78,.05);
}
.team-single-card-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #031b4e !important;
    margin-bottom: 18px !important;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,189,224,.15);
}

/* Hours list */
.team-hours-list { list-style: none; padding: 0; margin: 0; }
.team-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,189,224,.1);
    color: #555;
}
.team-hours-list li:last-child { border: none; }
.team-hours-list li span:first-child { font-weight: 600; color: #031b4e; }
.closed { color: #e74c3c !important; }

/* Book CTA box */
.team-single-book-cta {
    background: linear-gradient(135deg, #031b4e, #042b6e);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}
.team-single-book-cta::before {
    content:'';
    position:absolute;
    top:-40px;right:-40px;
    width:120px;height:120px;
    border-radius:50%;
    background:rgba(0,189,224,.15);
}
.team-single-book-cta .icon-wrap {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(0,189,224,.2);
    border: 2px solid rgba(0,189,224,.4);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: #00bde0;
}
.team-single-book-cta h5 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}
.team-single-book-cta p {
    color: rgba(255,255,255,.65);
    font-size: 13px;
    margin-bottom: 18px;
}
.team-single-book-cta .durubtn {
    background: #00bde0;
    border: none;
    padding: 12px 20px;
}

/* Other Doctors mini cards */
.team-mini-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,189,224,.1);
    box-shadow: 0 4px 20px rgba(3,27,78,.06);
    transition: box-shadow .3s, transform .3s;
}
.team-mini-card:hover { box-shadow: 0 12px 40px rgba(0,189,224,.18); transform: translateY(-4px); }
.team-mini-photo { position: relative; overflow: hidden; }
.team-mini-photo img { width: 100%; height: 260px; object-fit: cover; object-position: top; transition: transform .5s; }
.team-mini-card:hover .team-mini-photo img { transform: scale(1.05); }
.team-mini-overlay {
    position: absolute; inset: 0;
    background: rgba(3,27,78,.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .35s;
}
.team-mini-card:hover .team-mini-overlay { opacity: 1; }
.team-mini-info { padding: 18px 20px; }
.team-mini-info h4 { font-size: 18px; font-weight: 600; color: #031b4e; margin-bottom: 4px; }
.team-mini-info p { font-size: 14px; color: #00bde0; margin: 0; }

/* Responsive */
@media (max-width: 767px) {
    .team-single-name { font-size: 32px; }
    .team-single-photo img { width: 240px; height: 280px; }
    .team-single-stats { gap: 12px; }
    .stat-item { padding: 10px 16px; }
}

/* ── HOW IT WORKS SECTION ─────────────────────────────────── */
.hiw-section { padding: 0; overflow: hidden; }

.hiw-bg {
    background: linear-gradient(135deg, #031b4e 0%, #0a2d6e 55%, #00bde0 100%);
    padding: 80px 0 90px;
    position: relative;
}
.hiw-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(0,189,224,.12) 0%, transparent 55%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 45%);
    pointer-events: none;
}

/* Section heading overrides for dark bg */
.hiw-subtitle { color: #00bde0 !important; background: rgba(255,255,255,.1) !important; border-color: rgba(0,189,224,.3) !important; }
.hiw-subtitle .icon { background: #00bde0 !important; }
.hiw-title { color: #fff !important; }
.hiw-title span { color: #00bde0 !important; -webkit-text-fill-color: #00bde0 !important; }

/* Steps flex row */
.hiw-steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

/* Each step */
.hiw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 220px;
    max-width: 220px;
    position: relative;
    z-index: 1;
}

/* Icon circle */
.hiw-step-icon-wrap {
    position: relative;
    margin-bottom: 24px;
}
.hiw-step-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 2px solid rgba(0,189,224,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s, border-color .3s, transform .3s;
    position: relative;
}
.hiw-step-circle::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(0,189,224,.3);
    animation: hiw-spin 12s linear infinite;
}
@keyframes hiw-spin { to { transform: rotate(360deg); } }

.hiw-step:hover .hiw-step-circle {
    background: rgba(0,189,224,.25);
    border-color: #00bde0;
    transform: translateY(-4px);
}
.hiw-step-circle i {
    font-size: 38px;
    color: #fff;
    line-height: 1;
    display: block;
}

/* Step number badge */
.hiw-step-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    background: #00bde0;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #031b4e;
    letter-spacing: .5px;
}

/* Connector between steps */
.hiw-connector {
    position: absolute;
    top: 50px; /* center of 100px circle */
    left: 100%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    width: calc(100% - 100px); /* gap between steps */
    pointer-events: none;
    z-index: 0;
}
.hiw-connector-line {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}
.hiw-connector-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0,189,224,.5);
    animation: hiw-dot-pulse 1.5s ease-in-out infinite;
}
.hiw-connector-dot:nth-child(2) { animation-delay: .3s; }
.hiw-connector-dot:nth-child(3) { animation-delay: .6s; }
@keyframes hiw-dot-pulse {
    0%, 100% { opacity: .3; transform: scale(1); }
    50%       { opacity: 1;  transform: scale(1.4); }
}
.hiw-connector-arrow {
    font-size: 13px;
    color: #00bde0;
    opacity: .7;
}

/* Step text */
.hiw-step-body h5 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}
.hiw-step-body p {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    margin: 0;
    max-width: 190px;
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
    .hiw-steps-row { flex-direction: column; align-items: center; gap: 40px; }
    .hiw-step { flex: 0 0 auto; max-width: 280px; }
    .hiw-connector {
        position: relative;
        top: auto; left: auto;
        transform: none;
        width: auto;
        flex-direction: column;
        gap: 3px;
        margin: -20px 0;
    }
    .hiw-connector-line { flex-direction: column; gap: 3px; }
    .hiw-connector-arrow { transform: rotate(90deg); }
    .hiw-bg { padding: 60px 0 70px; }
}

/* ── CONTACT HOME SECTION ─────────────────────────────────── */
.contact-home { background: #f8fbff; }
.ch-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: 0 2px 14px rgba(3,27,78,.06);
    transition: transform .25s;
}
.ch-info-card:hover { transform: translateX(4px); }
.ch-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, #00bde0 0%, #031b4e 100%);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.ch-icon i { font-size: 20px; color: #fff; }
.ch-text strong { display: block; font-size: 13px; font-weight: 700; color: #031b4e; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.ch-text p { font-size: 14px; color: #5a6a85; margin: 0; line-height: 1.6; }
.ch-text a { color: #00bde0; text-decoration: none; }
.ch-text a:hover { text-decoration: underline; }
.ch-map-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 6px 30px rgba(3,27,78,.1); }
.ch-map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.ch-map-placeholder {
    height: 420px; background: #eef4fb; border-radius: 16px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #aab; gap: 12px;
}
.ch-map-placeholder i { font-size: 48px; }
.ch-map-placeholder p { font-size: 14px; text-align: center; max-width: 260px; }

/* ── WHATSAPP FLOATING BUTTON ─────────────────────────────── */
/* Pulse ring wrapper — separate element so transforms never touch the icon */
.denart-wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    text-decoration: none;
}
/* The visible green circle */
.denart-wa-float .wa-btn-inner {
    position: absolute;
    inset: 0;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37,211,102,.45);
    transition: box-shadow .25s;
    z-index: 1;
}
.denart-wa-float:hover .wa-btn-inner {
    box-shadow: 0 8px 28px rgba(37,211,102,.65);
}
.denart-wa-float .wa-btn-inner i {
    font-size: 30px;
    color: #fff;
    line-height: 1;
    display: block;
    pointer-events: none;
}
/* Pulse ring — completely separate layer, never overlaps icon */
.denart-wa-float .wa-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    animation: wa-pulse 2.2s ease-out infinite;
    z-index: 0;
    will-change: transform, opacity;
    pointer-events: none;
}
@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: .6; }
    70%  { transform: scale(1.65); opacity: 0; }
    100% { transform: scale(1.65); opacity: 0; }
}
/* Tooltip */
.denart-wa-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a2e;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    z-index: 2;
}
.denart-wa-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1a1a2e;
}
.denart-wa-float:hover .denart-wa-tooltip { opacity: 1; }

@media (max-width: 767px) {
    .denart-wa-float { bottom: 20px; right: 18px; width: 52px; height: 52px; }
    .denart-wa-float .wa-btn-inner i { font-size: 26px; }
    .denart-wa-tooltip { display: none; }
}
