/* ── Futuristic Dental Header ── */
.home-letterhead {
    width: 100%;
    max-width: 1400px;
    /* Wider for panoramic feel */
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque for readability */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem 2.5rem;
    border-radius: 20px;
    box-shadow:
        0 10px 40px -10px rgba(15, 118, 110, 0.15),
        /* Soft Teal Shadow */
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    /* Inner white border */
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    z-index: 50;
    border: 1px solid rgba(204, 251, 241, 0.6);
    /* Very light teal border */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    animation: slideDownFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-letterhead:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px -12px rgba(15, 118, 110, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    border-color: rgba(20, 184, 166, 0.4);
}

/* ── Content Formatting ── */

/* Logos */
.home-letterhead-left img,
.home-letterhead-right img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

.home-letterhead-left img:hover,
.home-letterhead-right img:hover {
    transform: scale(1.05);
    /* Gentle zoom */
}

/* Center Block */
.home-letterhead-center {
    flex: 2;
    text-align: center;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Main Title - Modern & Clean */
.letterhead-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #0F766E;
    /* Deep Teal */
    background: linear-gradient(135deg, #0F766E 0%, #0D9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Subtitle - Futuristic Pill Style */
.letterhead-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0D9488;
    margin: 0.5rem 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(204, 251, 241, 0.5);
    /* Light teal bg */
    padding: 0.35rem 1.25rem;
    border-radius: 100px;
    border: 1px solid rgba(20, 184, 166, 0.15);
    display: inline-block;
    box-shadow: 0 2px 10px rgba(15, 118, 110, 0.05);
}

/* Address - Minimal */
.letterhead-address {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Accreditation Badge - High Tech */
.letterhead-accreditation {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #059669;
    /* Emerald Green */
    background: linear-gradient(to right, #D1FAE5, #ECFDF5);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.35rem 1rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

.letterhead-accreditation:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.letterhead-accreditation::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Logo Placeholder */
.nabh-placeholder {
    height: 80px;
    width: 80px;
    background: #F8FAFC;
    color: #94A3B8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.65rem;
    border-radius: 50%;
    border: 2px dashed #CBD5E1;
    text-align: center;
    transition: all 0.3s ease;
}

.nabh-placeholder:hover {
    border-color: #0F766E;
    color: #0F766E;
    background: #F0FDFA;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .home-letterhead {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .letterhead-title {
        font-size: 1.5rem;
    }

    .home-letterhead-left img,
    .home-letterhead-right img {
        height: 60px;
    }
}