/* ============================================================
   TPLDC Healthcare Platform - Modern Medical Stylesheet
   Brand Theme: Deep Medical Blue (#0b4d8c) & Vibrant Teal (#0284c7, #0d9488)
   ============================================================ */

:root {
    --primary: #0b4d8c;
    --primary-dark: #073562;
    --primary-light: #e8f2fc;
    --accent: #0284c7;
    --accent-teal: #0d9488;
    --accent-teal-light: #f0fdfa;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* --- Top Announcement Bar --- */
.tpldc-topbar {
    background-color: var(--primary-dark);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tpldc-topbar a {
    color: #cbd5e1;
}

.tpldc-topbar a:hover {
    color: #ffffff;
}

/* --- Main Navigation --- */
.tpldc-navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.tpldc-brand {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.45rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.5px;
}

.tpldc-brand-logo {
    display: block;
    width: 58px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 0.4rem;
}

.tpldc-footer-logo {
    display: block;
    width: 54px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 0.35rem;
}

.tpldc-brand .brand-full-name {
    display: block;
    width: 180px;
    max-width: 100%;
    font-size: 1.2rem;
    line-height: 1.12;
    letter-spacing: -0.2px;
    white-space: normal;
    background: linear-gradient(135deg, var(--primary), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tpldc-navbar .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.tpldc-navbar .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    white-space: nowrap !important;
    gap: 0.45rem !important;
    font-weight: 550;
    font-size: 0.95rem;
    color: #334155 !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.tpldc-navbar .nav-link i {
    font-size: 1rem;
    display: inline-block;
    margin: 0 !important;
    line-height: 1;
}

.tpldc-navbar .nav-link:hover, 
.tpldc-navbar .nav-link.active {
    color: var(--primary) !important;
    background-color: var(--primary-light);
}

/* --- Buttons --- */
.btn-tpldc-primary {
    background: linear-gradient(135deg, var(--primary), #1a5ea3);
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(11, 77, 140, 0.2);
    transition: all 0.25s ease;
}

.btn-tpldc-primary:hover {
    background: linear-gradient(135deg, #094075, var(--primary));
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(11, 77, 140, 0.3);
}

.btn-tpldc-teal {
    background: linear-gradient(135deg, var(--accent-teal), #0f766e);
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(13, 148, 136, 0.2);
    transition: all 0.25s ease;
}

.btn-tpldc-teal:hover {
    background: linear-gradient(135deg, #0f766e, var(--accent-teal));
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline-tpldc {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.55rem 1.3rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}

.btn-outline-tpldc:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f4f8 100%);
    padding: 4.5rem 0 3.5rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #bae6fd;
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-sm);
}

/* --- Quick Search Box --- */
.quick-search-box {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-top: 1.5rem;
}

/* --- Cards --- */
.tpldc-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.tpldc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-icon-teal {
    background: var(--accent-teal-light);
    color: var(--accent-teal);
}

/* --- Feature & Service Items --- */
.service-pill-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    background: #ffffff;
    transition: all 0.25s;
    height: 100%;
}

.service-pill-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

/* --- Section Styling --- */
.section-padding {
    padding: 4.5rem 0;
}

.section-title {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 2.1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

/* --- Badges --- */
.badge-service {
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

/* --- Footer --- */
.tpldc-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding-top: 4.5rem;
    font-size: 0.92rem;
}

.tpldc-footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.tpldc-footer a {
    color: #94a3b8;
    transition: color 0.2s;
}

.tpldc-footer a:hover {
    color: #38bdf8;
}

.tpldc-footer ul {
    list-style: none;
    padding-left: 0;
}

.tpldc-footer ul li {
    margin-bottom: 0.65rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 1.5rem 0;
    margin-top: 3.5rem;
    font-size: 0.85rem;
}
