/* ═══════════════════════════════════════════════════════════
   Fillan Healthcare - Rebuilt from Original Theme
   Original: WordPress theme "en_fillanhealthcare" by Energise Web
   Colors: Teal #007888, Green #8CB53F, Red #D82527
   Fonts: Montserrat (headings), Lato (body)
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset & Base ───────────────────────────────────────── */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #000;
    margin: 0;
    padding: 0;
    padding-top: 70px; /* fixed navbar height */
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 0;
}

h1 { color: #111; font-size: 36px; margin-bottom: 20px; }
h2 { color: #8CB53F; font-size: 28px; margin-bottom: 16px; }
h3 { color: #1E1E1E; font-size: 22px; margin-bottom: 14px; }
h4 { color: #1E1E1E; font-size: 18px; margin-bottom: 12px; }

a {
    color: #128DD8;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #D82527;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin-bottom: 15px;
}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar-default {
    background-color: #007888;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    min-height: 70px;
    transition: background-color 0.3s ease;
}

.navbar-default .navbar-brand {
    padding: 15px 20px;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar-brand .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #fff;
    letter-spacing: 0.5px;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 25px 15px;
    transition: background-color 0.3s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #fff;
    background-color: rgba(0,0,0,0.15);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
    color: #fff;
    background-color: #8CB53F;
}

/* Dropdown */
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: rgba(0,0,0,0.2);
}

.dropdown-menu {
    background-color: #007888;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 220px;
    padding: 0;
}

.dropdown-menu > li > a {
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s ease;
}

.dropdown-menu > li > a:hover {
    background-color: rgba(0,0,0,0.15);
    color: #fff !important;
}

.dropdown-menu > li:last-child > a {
    border-bottom: none;
}

/* Navbar Toggle (mobile) */
.navbar-default .navbar-toggle {
    border-color: rgba(255,255,255,0.3);
    margin-top: 18px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: rgba(255,255,255,0.1);
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #007888 0%, #005f6b 50%, #004d57 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat;
    background-size: 200px;
    opacity: 0.5;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    width: 100%;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.btn-cta {
    display: inline-block;
    background-color: #8CB53F;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 40px;
    border-radius: 3px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: #D82527;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ─── Content Area ───────────────────────────────────────── */
.content-area {
    padding: 60px 0 50px;
    min-height: 400px;
}

.content-area .container {
    max-width: 1140px;
}

.page-title {
    font-size: 36px;
    color: #111;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #8CB53F;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.entry-content h2 {
    margin-top: 30px;
}

.entry-content h3 {
    margin-top: 25px;
}

.entry-content img {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px;
    margin: 10px 0;
}

.entry-content ul,
.entry-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.entry-content ul li::marker {
    color: #8CB53F;
}

.entry-content blockquote {
    border-left: 4px solid #8CB53F;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* Clinician cards */
.clinician-card {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.clinician-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.clinician-card img {
    max-width: 200px;
    border-radius: 50%;
    border: 3px solid #ddd;
    margin-bottom: 15px;
}

.clinician-card h3 {
    font-size: 18px;
    color: #007888;
    margin-bottom: 5px;
}

.clinician-card .clinician-role {
    color: #8CB53F;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.clinician-card p {
    font-size: 14px;
    color: #666;
}

/* Promo blocks (homepage) */
.promo-blocks {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.promo-card {
    flex: 1;
    min-width: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, #007888, #005f6b);
}

.promo-card .promo-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #fff;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.promo-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.promo-card p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    margin-bottom: 15px;
}

.promo-card .btn-cta {
    font-size: 13px;
    padding: 10px 25px;
}

/* ─── CTA Bar ────────────────────────────────────────────── */
.cta-bar {
    background-color: #8CB53F;
    padding: 30px 0;
    text-align: center;
}

.cta-bar p {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    display: inline-block;
    margin: 0 20px 0 0;
    vertical-align: middle;
}

.btn-dark {
    display: inline-block;
    background-color: #3B393B;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    border-radius: 3px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    vertical-align: middle;
}

.btn-dark:hover {
    background-color: #D82527;
    color: #fff;
    text-decoration: none;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
    background-color: #3B393B;
    color: #E9EBEA;
}

.footer-top {
    padding: 50px 0 40px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer-tagline {
    font-size: 14px;
    color: #999;
    font-style: italic;
}

.footer-top h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8CB53F;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    padding: 8px 0;
}

.footer-nav li:last-child {
    border-bottom: none;
}

.footer-nav a {
    color: #E9EBEA;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #8CB53F;
    text-decoration: none;
}

.footer-contact-col p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-contact-col .fa {
    color: #8CB53F;
    width: 20px;
    margin-right: 8px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-section {
        min-height: 400px;
    }

    .page-title {
        font-size: 28px;
    }

    .cta-bar p {
        display: block;
        margin: 0 0 15px 0;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
        padding-top: 60px;
    }

    .navbar-default {
        min-height: 60px;
    }

    .navbar-default .navbar-brand {
        height: 60px;
        padding: 10px 15px;
    }

    .navbar-brand .logo-text {
        font-size: 18px;
    }

    .navbar-collapse {
        background-color: #007888;
        border-top: 1px solid rgba(255,255,255,0.1);
        max-height: 400px;
        overflow-y: auto;
    }

    .navbar-default .navbar-nav > li > a {
        padding: 15px 20px;
    }

    .dropdown-menu {
        background-color: rgba(0,0,0,0.1);
        box-shadow: none;
    }

    .hero-section {
        min-height: 350px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .content-area {
        padding: 40px 0 30px;
    }

    .page-title {
        font-size: 24px;
    }

    .promo-blocks {
        flex-direction: column;
    }

    .footer-top .row > div {
        margin-bottom: 30px;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .btn-cta {
        padding: 12px 30px;
        font-size: 14px;
    }

    .page-title {
        font-size: 22px;
    }
}

/* ─── Utility Classes ────────────────────────────────────── */
.text-teal { color: #007888; }
.text-green { color: #8CB53F; }
.text-red { color: #D82527; }
.bg-teal { background-color: #007888; }
.bg-green { background-color: #8CB53F; }

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* ─── Tables (for content) ───────────────────────────────── */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.entry-content table th,
.entry-content table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.entry-content table th {
    background-color: #007888;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.entry-content table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* ─── Forms ──────────────────────────────────────────────── */
.form-control {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px 15px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #007888;
    box-shadow: 0 0 0 3px rgba(0,120,136,0.1);
    outline: none;
}

.btn-primary {
    background-color: #8CB53F;
    border-color: #8CB53F;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 25px;
    border-radius: 3px;
}

.btn-primary:hover {
    background-color: #D82527;
    border-color: #D82527;
}

/* ─── WordPress Content Compatibility ────────────────────── */
.wp-caption {
    max-width: 100%;
    margin: 10px 0;
    padding: 5px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    text-align: center;
}

.wp-caption-text {
    font-size: 13px;
    color: #777;
    font-style: italic;
    padding: 5px 0 0;
}

.alignleft {
    float: left;
    margin: 0 20px 10px 0;
}

.alignright {
    float: right;
    margin: 0 0 10px 20px;
}

.aligncenter {
    display: block;
    margin: 10px auto;
}

.size-full,
.size-large,
.size-medium {
    max-width: 100%;
    height: auto;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.gallery-item {
    flex: 0 0 calc(33.33% - 10px);
}

.gallery-item img {
    width: 100%;
}
