/* --- 1. FONTS & RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f0f4f8; /* Very soft blue-gray background */
  color: #334155; /* Slate-700 text for better readability than pure black */
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }

/* --- 2. GLOBAL LAYOUT --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* --- 3. NDIS HEADER --- */
.site-header {
  width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Top Bar (Trust Indicators) */
.header-top {
  background-color: #e0f2f1; /* Light Teal background */
  font-size: 0.85rem; 
  padding: 8px 0; 
  color: #00695c; /* Dark Teal text */
  border-bottom: 1px solid #b2dfdb;
}
.top-bar-flex { display: flex; justify-content: flex-end; }
.social-links a { margin-left: 15px; font-weight: 600; font-size: 0.8rem; }

/* Main Bar (Navy Blue) */
.header-main {
  background: #0f172a; /* Deep Slate Navy (Professional/Medical) */
  padding: 1rem 0; 
  color: white;
}
.main-nav-flex { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
}

/* Logo */
.logo a { 
  color: white; 
  font-weight: 900; 
  font-size: 1.5rem; 
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.logo .highlight { color: #2dd4bf; /* Bright Teal Highlight */ }

/* Menu */
.main-menu { display: flex; align-items: center; }
.main-menu a { 
  color: #cbd5e1; /* Light gray-blue */
  margin: 0 20px; 
  font-weight: 700; 
  text-transform: uppercase; 
  font-size: 0.85rem; 
  letter-spacing: 0.5px;
}
.main-menu a:hover { color: #2dd4bf; }

/* CTA Area */
.header-actions { display: flex; align-items: center; gap: 20px; }

.phone-box { text-align: right; line-height: 1.2; }
.phone-label { display: block; font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; }
.phone-number { display: block; font-weight: 700; color: white; font-size: 1.1rem;}

.btn-quote { 
  background: #008080; /* Trust Teal */
  color: #ffffff; 
  padding: 12px 28px; 
  border-radius: 50px; 
  font-weight: 800; 
  text-transform: uppercase; 
  font-size: 0.85rem; 
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 128, 128, 0.2);
}
.btn-quote:hover { 
  background: #006666; /* Darker Teal on hover */
  transform: translateY(-2px); 
  box-shadow: 0 5px 15px rgba(0, 128, 128, 0.4); 
}

/* --- 4. CONTENT GRID --- */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px; 
  gap: 40px;
  margin: 40px auto;
  align-items: start;
}

/* --- 5. COMPONENT: CARD --- */
.card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}

.badge {
  display: inline-block;
  background: #e0f2f1; /* Light Teal */
  color: #008080; /* Teal Text */
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a; /* Dark Navy Heading */
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.article-meta {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

/* Article Typography */
.article-body h2 { font-size: 1.8rem; margin: 2rem 0 1rem; color: #008080; /* Teal Subheadings */ }
.article-body h3 { font-size: 1.4rem; margin: 1.5rem 0 1rem; color: #334155; }
.article-body p { margin-bottom: 1.25rem; font-size: 1.05rem; color: #475569; }

/* Indent lists */
.article-body ul, 
.article-body ol { 
  margin-left: 2rem; 
  margin-bottom: 1.5rem; 
  color: #475569; 
}
.article-body li {
  margin-bottom: 0.5rem; 
}

/* Links */
.article-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #a5f3fc; /* Light Cyan underline */
  color: #0e7490; /* Cyan-700 Text */
  font-weight: 600;
  transition: all 0.2s;
}

.article-body a:hover {
  color: #008080; 
  text-decoration-color: #008080;
  background: transparent; 
}

/* --- 6. SIDEBAR WIDGETS --- */
.sidebar-widget { 
  background: white; 
  padding: 30px; 
  border-radius: 8px; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
  margin-bottom: 30px; 
  border: 1px solid #f1f5f9;
}

.sidebar-title { 
  font-size: 1rem; 
  font-weight: 800; 
  margin-bottom: 20px; 
  border-bottom: 2px solid #e2e8f0; 
  padding-bottom: 10px; 
  text-transform: uppercase;
  color: #0f172a;
}

.sidebar-links li { 
  margin-bottom: 12px; 
  border-bottom: 1px solid #f8fafc; 
  padding-bottom: 12px; 
}

.sidebar-links a { 
  color: #64748b; 
  font-size: 0.95rem; 
  font-weight: 600;
  text-decoration: underline; 
  text-underline-offset: 3px; 
  text-decoration-color: #e2e8f0; 
  transition: all 0.2s;
}

.sidebar-links a:hover { 
  color: #008080; /* Teal Text */
  text-decoration-color: #008080; /* Teal Underline */
}

/* --- 7. MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
  .content-wrapper { grid-template-columns: 1fr; } 
  
  .main-nav-flex { flex-direction: column; gap: 20px; text-align: center; }
  .main-menu { flex-direction: column; gap: 10px; margin: 15px 0; }
  .header-actions { flex-direction: column; gap: 15px; }
  .phone-box { text-align: center; }
  
  h1 { font-size: 2rem; }
  .card { padding: 25px; }
}

/* --- BRANDING COLORS --- */
:root {
    --bs-primary: #003366; /* Dark Blue */
    --bs-primary-rgb: 0, 51, 102;
    --bs-warning: #eebf3b; /* Accent Yellow */
    --bs-info: #5b92e5; /* Light Blue */
}

/* Override Bootstrap Primary Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.text-primary {
    color: var(--bs-info) !important;
}
.bg-light {
    background-color: #f8f9fa !important;
}

/* --- NAV MENU HOVER EFFECT --- */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; 
    }
}

.dropdown {
    position: relative;
}

.insights-dropdown {
    z-index: 1050;
}

/* --- ACTIVE MENU STATE --- */
.nav-link {
    color: var(--bs-info) !important;
}

.nav-link.active, .nav-link:hover {
    color: #8bbfea !important; /* Lighter Blue on hover/active */
    font-weight: 600;
}



/* --- FOOTER --- */

.site-footer {

    background-color: #f8f9fa;

    padding: 60px 0;

    margin-top: 60px;

    border-top: 1px solid #e9ecef;

    font-size: 0.9rem;

    color: #6c757d;

}



.footer-heading {

    font-size: 1.1rem;

    font-weight: 600;

    color: #343a40;

    margin-bottom: 20px;

}



.footer-text {

    margin-bottom: 10px;

}



.footer-links li {

    margin-bottom: 10px;

}



.footer-links a {

    color: #6c757d;

    text-decoration: none;

    transition: color 0.2s;

}



.footer-links a:hover {

    color: var(--bs-primary);

}

/* --- TL;DR blockquote — blue left border --- */
.article-content blockquote {
    border-left: 4px solid #2563eb;
    background: #eff6ff;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 6px 6px 0;
}

.article-content blockquote p {
    color: #1e40af;
    font-weight: 600;
    margin: 0;
}

/* --- Key Takeaways — green background --- */
.article-content #key-takeaways + ul {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    padding: 1rem 1rem 1rem 2.5rem;
    border-radius: 0 6px 6px 0;
    list-style: disc;
}

/* Restore bullet points inside article content */
.article-content ul {
    list-style: disc;
    padding-left: 1.5rem;
}
