/* ==========================================================================
   Dental Planet — design tokens
   Palette pulls from the logo (cosmic purple + teal) against a clean,
   clinical off-white. Headings in Space Grotesk (a nod to "Planet"),
   body copy in Manrope for calm readability.
   ========================================================================== */
:root {
    --dp-ink: #16213A;
    --dp-purple: #6C4CE0;
    --dp-purple-dark: #5637C4;
    --dp-teal: #14B8A6;
    --dp-bg: #F7F7FB;
    --dp-surface: #FFFFFF;
    --dp-muted: #6B7280;
    --dp-border: #E7E6F2;

    --dp-font-head: 'Lato', 'Segoe UI', sans-serif;
    --dp-font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

    --dp-icon-sm: 0.85rem;
    --dp-icon-md: 1rem;
    --dp-radius: 14px;
    --dp-shadow: 0 10px 30px -12px rgba(22, 33, 58, 0.16);
}

* { box-sizing: border-box; }

body {
    font-family: var(--dp-font-body);
    color: var(--dp-ink);
    background: var(--dp-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--dp-font-head);
    font-weight: 600;
    color: var(--dp-ink);
    letter-spacing: -0.01em;
}

a { text-decoration: none; }

/* Keep every icon glyph small and consistent — icons support the content,
   they shouldn't compete with it */
i.bi {
    font-size: var(--dp-icon-sm);
    line-height: 1;
    vertical-align: -0.05em;
}

/* ==========================================================================
   Top utility strip
   ========================================================================== */
.top-strip {
    background: var(--dp-ink);
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--dp-font-body);
}
.top-strip a {
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.15s ease;
}
.top-strip a:hover { color: #ffffff; }
.top-strip i.bi { font-size: 0.75rem; }

/* Phone gets its own visual weight even in the slim utility strip */
.top-strip .top-phone {
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.top-strip .top-phone i.bi { color: var(--dp-teal); }

/* ==========================================================================
   Main nav
   ========================================================================== */
.main-nav {
    border-bottom: 1px solid var(--dp-border);
    padding: 0.5rem 0;
}
.main-nav .nav-link {
    font-family: var(--dp-font-body);
    font-weight: 600;
    color: var(--dp-ink);
    padding: 0.5rem 0.9rem !important;
}
.main-nav .nav-link.active,
.main-nav .nav-link:hover {
    color: var(--dp-purple);
}

.btn-dental {
    /*background: var(--dp-purple);*/
    background: linear-gradient(160deg, #EFE9FF, #E6FBF8);
    color: #333;
    border:.01em solid rgba(0, 0, 0, 0.2);
    font-family: var(--dp-font-body);
    border-radius: 10px;
    padding: 0.2rem 1.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.5s ease, transform 0.15s ease;
}
.btn-dental:hover { background: var(--dp-purple-dark); color: #fff; transform: translateY(-1px); }



.btn-book {
    background: var(--dp-purple);
    border: none;
    color: #fff;
    font-family: var(--dp-font-body);
    font-weight: 500;
    border-radius: 999px;
    padding: 0.6rem 1.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.15s ease, transform 0.15s ease;
}
.btn-book:hover { background: var(--dp-purple-dark); color: #fff; transform: translateY(-1px); }
.btn-book i.bi { font-size: var(--dp-icon-sm); color: #fff; }

.btn-outline-book {
    border: 1.5px solid var(--dp-border);
    color: var(--dp-ink);
    font-weight: 500;
    border-radius: 999px;
    padding: 0.6rem 1.35rem;
    display: inline-flex;
    align-items: center;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-outline-book:hover { border-color: var(--dp-purple); color: var(--dp-purple); }

/* Primary phone CTA — bigger, stacked "Call Now / number" so it reads as
   the one action on the page you can't miss */
.btn-call {
    padding: 0.7rem 1.6rem 0.7rem 1.3rem;
    gap: 0.65rem;
}
.btn-call i.bi {
    font-size: 1.15rem;
    color: #fff;
}
.btn-call-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}
.btn-call-text small {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}
.btn-call-text {
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 3.5rem;
    /*background: radial-gradient(circle at 85% 20%, #EFE9FF 0%, var(--dp-bg) 55%);*/
}

/* Background video sits behind everything else; the overlay keeps text
   readable regardless of what's playing underneath */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(247, 247, 251, 0.65) 0%, rgba(247, 247, 251, 0.8) 25%, rgba(247, 247, 251, 0.7) 70%);
    z-index: 1;
}
.orbit-ring {
    position: absolute;
    border: 1.5px solid rgba(108, 76, 224, 0.18);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.orbit-ring-1 { width: 620px; height: 620px; top: -220px; right: -160px; }
.orbit-ring-2 { width: 420px; height: 420px; top: -80px; right: -20px; border-color: rgba(20, 184, 166, 0.16); }
.hero .container { position: relative; z-index: 2; }

.eyebrow {
    display: inline-block;
    font-family: var(--dp-font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--dp-purple);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 15ch;
}
.hero-sub {
    color: var(--dp-muted);
    font-size: 1.05rem;
    max-width: 46ch;
    margin-bottom: 0;
}

.hero-stats { flex-wrap: wrap; }
.stat-num {
    font-family: var(--dp-font-head);
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--dp-ink);
}
.stat-label {
    font-size: 0.82rem;
    color: var(--dp-muted);
}

.hero-logo { max-width: 320px; }

.overflow-x{
    overflow-x: hidden!important;
}




/* ==========================================================================
   About intro
   ========================================================================== */
.about-section {

    /*background: var(--dp-bg);*/
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#83c783+0,ffffff+100&0.25+1,0+100 */
    background: linear-gradient(to bottom,  rgba(131,199,131,0.1) 0%,rgba(132,200,132,0.1) 1%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}


.about-section h2 { margin-bottom: 1.5rem; }

.about-text {
    color: var(--dp-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 auto 1.1rem;
}

.about-tagline {
    font-style: italic;
    color: var(--dp-ink);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 1.75rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dp-border);
}



/* ==========================================================================
   Shared section rhythm
   ========================================================================== */
.section { padding: 3.75rem 0; }
.section-head { max-width: 560px; margin-left: auto; margin-right: auto; margin-bottom: 2.75rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.65rem; }
.section-sub { color: var(--dp-muted); font-size: 1rem; line-height: 1.55; margin-bottom: 0; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-section { background: var(--dp-surface); }

.service-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 0.85rem 0.85rem 1.4rem;
    height: 100%;
    text-align: center;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.service-card:hover { box-shadow: var(--dp-shadow); border-color: transparent; }



/* Photo slot — gradient fallback shows until the real file lands at the
   path referenced in the <img src>, so nothing looks broken meanwhile */
.service-photo {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.9rem;
    background: linear-gradient(160deg, #EFE9FF, #E6FBF8);
}
.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.service-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--dp-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.service-link i.bi { font-size: 0.7rem; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 1.25rem;
    height: 100%;
}
.why-card i.bi {
    font-size: 1rem;
    color: var(--dp-teal);
    margin-bottom: 0.6rem;
    display: block;
}
.why-card h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.why-card p { font-size: 0.88rem; color: var(--dp-muted); margin-bottom: 0; }

/* ==========================================================================
   Doctor teaser
   ========================================================================== */
.doctor-section {
    /*background: var(--dp-surface);*/
    background: url("../images/bg2.webp") center fixed;
    padding: 2.25rem 0;
}

/* Square frames sized for the client's own doctor photos —
   .img-placeholder alone (no real photo yet) shows the dashed hint;
   .img-placeholder.p-0 holds a real <img> and drops all that styling */
.doctor-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
    max-width: 360px;
    margin: 0 auto;
}
.img-placeholder {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
    border-radius: var(--dp-radius);
    background: linear-gradient(160deg, #EFE9FF, #E6FBF8);
    border: 1.5px dashed rgba(108, 76, 224, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--dp-purple);
    gap: 0.4rem;
    padding: 0.5rem;
    overflow: hidden;
}
.img-placeholder.p-0 { border: none; background: none; }
.img-placeholder.p-0 img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder i.bi { font-size: 1.4rem; }
.img-placeholder span {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--dp-muted);
    line-height: 1.35;
}
.img-placeholder small { font-size: 0.65rem; }
.img-placeholder-main {
    grid-column: 1 / span 2;
    aspect-ratio: 1 / 1;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 1.5rem;
    height: 100%;
}
.stars i.bi { font-size: 0.75rem; color: #F5B301; margin-right: 2px; }
.testimonial-card p { font-size: 0.92rem; color: var(--dp-ink); margin: 0.7rem 0; }
.testimonial-author { font-size: 0.82rem; color: var(--dp-muted); font-weight: 600; }

/* ==========================================================================
   Map + contact
   ========================================================================== */
.map-frame {
    border-radius: var(--dp-radius);
    overflow: hidden;
    border: 1px solid var(--dp-border);
}
.contact-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 1.75rem;
    height: 100%;
}
.contact-card h3 { font-size: 1.15rem; }
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: var(--dp-muted);
    margin-bottom: 0.6rem;
}
.contact-info-list i.bi { margin-top: 0.2rem; color: var(--dp-purple); }
.contact-info-list a { color: var(--dp-ink); font-weight: 600; }

/* Phone line in the contact card reads bigger and bolder than the rest */
.contact-phone-line { font-size: 1rem; }
.contact-phone-line a {
    color: var(--dp-purple-dark);
    font-weight: 600;
    font-size: 1.05rem;
}
.contact-phone-line i.bi { color: var(--dp-teal); font-size: 0.95rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--dp-ink);
    color: rgba(255, 255, 255, 0.78);
    margin-top: 1rem;
}
.orbit-divider {
    height: 3px;
    background: linear-gradient(90deg, var(--dp-purple), var(--dp-teal));
}
.footer-text { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }
.footer-heading {
    font-family: var(--dp-font-head);
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 0.9rem;
}
.footer-links li { margin-bottom: 0.5rem; font-size: 0.88rem; }
.footer-links a { color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: var(--dp-teal); }
.footer-links i.bi { font-size: 0.75rem; color: var(--dp-teal); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Floating actions (mobile call/WhatsApp)
   ========================================================================== */
.floating-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 1040;
}
.fab {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--dp-shadow);
    color: #fff;
}
.fab i.bi { font-size: 1.05rem; }
.fab-whatsapp { background: #25D366; }
.fab-call {
    background: var(--dp-purple);
    animation: dp-pulse 2.4s ease-in-out infinite;
}
@keyframes dp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108, 76, 224, 0.35), var(--dp-shadow); }
    50% { box-shadow: 0 0 0 8px rgba(108, 76, 224, 0), var(--dp-shadow); }
}

@media (prefers-reduced-motion: reduce) {
    .fab-call { animation: none; }
}

/* ==========================================================================
   Small screens
   ========================================================================== */
@media (max-width: 767.98px) {
    .hero { padding: 3rem 0 2.5rem; text-align: left; }
    .hero-logo { max-width: 220px; margin-top: 1.5rem; }
    .section { padding: 2.75rem 0; }
    .btn-call-text { font-size: 0.95rem; }
}
.why-section{
    background: url("../images/bg1.webp") center fixed;
}

/* =============================================================================================================== */
/* =============================================================================================================== */
/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */
.page-header {
    background: linear-gradient(160deg, #EFE9FF, #F7F7FB);
    padding: 2.5rem 0 1.75rem;
    border-bottom: 1px solid var(--dp-border);
}
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0.4rem 0 0.75rem; }
.breadcrumb { font-size: 0.85rem; }
.breadcrumb-item a { color: var(--dp-purple); }
.breadcrumb-item.active { color: var(--dp-muted); }

/* ==========================================================================
   Doctor cards (About page) — polished
   ========================================================================== */
.doctor-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.doctor-card:hover {
    box-shadow: var(--dp-shadow);
    border-color: transparent;
    transform: translateY(-2px);
}

.doctor-photo {
    aspect-ratio: 1 / 1;
    margin: 1rem;
    border:.01em solid rgba(0, 0, 0, 0.07);
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(160deg, #EFE9FF, #E6FBF8);
}
.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-card-body {
    padding: 1.1rem 1.5rem 1.1rem 0;
}
.doctor-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.doctor-name-row h4 {
    font-size: 1.05rem;
    margin-bottom: 0;
}
.doctor-role {
    color: var(--dp-purple);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.25rem 0 0.65rem;
}
.doctor-exp {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--dp-teal);
    background: rgba(20, 184, 166, 0.1);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.doctor-bio {
    font-size: 0.88rem;
    color: var(--dp-muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 575.98px) {
    .doctor-photo { margin: 1rem 1rem 0; }
    .doctor-card-body { padding: 1rem 1.25rem 1.25rem; }
    .doctor-name-row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

/* ==========================================================================
   About page sidebar — polished
   ========================================================================== */
.about-sidebar { position: sticky; top: 90px; }

.sidebar-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

/* Contact card gets a subtle branded treatment to anchor the sidebar */
.sidebar-card--contact {
    background: linear-gradient(165deg, var(--dp-ink) 0%, #241a4d 100%);
    border: none;
    color: rgba(255, 255, 255, 0.92);
}
.sidebar-card--contact .sidebar-heading { color: #fff; }
.sidebar-card--contact .contact-info-list li { color: rgba(255, 255, 255, 0.7); }
.sidebar-card--contact .contact-info-list i.bi { color: var(--dp-teal); }
.sidebar-card--contact .contact-info-list a {
    color: #fff;
    font-weight: 600;
}
.sidebar-card--contact .btn-outline-book {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.sidebar-card--contact .btn-outline-book:hover {
    border-color: var(--dp-teal);
    color: var(--dp-teal);
}

.sidebar-heading {
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.9rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--dp-border);
}
.sidebar-card--contact .sidebar-heading { border-bottom-color: rgba(255, 255, 255, 0.12); }

.sidebar-hours li,
.sidebar-links li { font-size: 0.85rem; margin-bottom: 0.6rem; }
.sidebar-hours li:last-child,
.sidebar-links li:last-child { margin-bottom: 0; }
.sidebar-hours li { display: flex; justify-content: space-between; color: var(--dp-muted); }
.sidebar-hours li span:first-child { color: var(--dp-ink); font-weight: 600; }

.sidebar-links a {
    color: var(--dp-ink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    transition: color 0.15s ease, gap 0.15s ease;
}
.sidebar-links a:hover { color: var(--dp-purple); gap: 0.7rem; }
.sidebar-links i.bi { color: var(--dp-teal); font-size: 0.7rem; }

@media (max-width: 767.98px) {
    .about-sidebar { position: static; margin-top: 2.5rem; }
}
/* =================================================================================================== */
/* ================================================================================== contact us page  */
/* =================================================================================================== */

/* ==========================================================================
   Contact page — form panel
   ========================================================================== */
.contact-form-panel {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 1.75rem 2rem;
}
.contact-form-panel h3 { font-size: 1.15rem; }
.contact-form-panel .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dp-ink);
    margin-bottom: 0.35rem;
}
.contact-form-panel .form-control,
.contact-form-panel .form-select {
    border: 1px solid var(--dp-border);
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
}
.contact-form-panel .form-control:focus,
.contact-form-panel .form-select:focus {
    border-color: var(--dp-purple);
    box-shadow: 0 0 0 3px rgba(108, 76, 224, 0.12);
}

@media (max-width: 575.98px) {
    .contact-form-panel { padding: 1.5rem; }
}



/* =================================================================================================== */
/* ================================================================================== implantology page  */
/* =================================================================================================== */
/* ==========================================================================
   Service detail cards (Implantology and other service pages)
   ========================================================================== */
.implant-service-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
    scroll-margin-top: 100px;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.implant-service-card:hover {
    box-shadow: var(--dp-shadow);
    border-color: transparent;
    transform: translateY(-2px);
}

.implant-icon {
    aspect-ratio: 1 / 1;
    margin: 1rem;
    border-radius: 12px;
    /*background: linear-gradient(160deg, #EFE9FF, #E6FBF8);*/
    border:.01em solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0!important;
}
.implant-icon img{
    border-radius: 12px;
}
.implant-icon i.bi {
    font-size: 1.8rem;
    color: var(--dp-purple);
}

.implant-service-body {
    padding: 1.1rem 1.5rem 1.1rem 0;
}
.implant-service-body h4 {
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
}
.implant-subtitle {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--dp-muted);
}
.implant-desc {
    font-size: 0.88rem;
    color: var(--dp-muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 575.98px) {
    .implant-icon { margin: 1rem 1rem 0; }
    .implant-service-body { padding: 1rem 1.25rem 1.25rem; }
}

/*
.bg-implantology{
    background: url("../images/bg-implantology.webp") center no-repeat;
}*/
