/* PVG Website - Frontend Styles */
/* Fonts: Nunito (primary) and Quattrocento Sans (secondary) from Portland Vets */
/* Font loaded in HTML head for faster rendering */

:root {
    /* Portland Vets Color Palette */
    --primary-color: #16ad72;
    --primary-dark: #18ad72;
    --primary-light: #dbfaee;
    --secondary-color: #063625;
    --accent-color: #f16521;
    --danger-color: #f25757;
    --text-dark: #171717;
    --text-light: #6b7280;
    --text-muted: #94a3b8;
    --bg-light: #f8fff9;
    --bg-white: #ffffff;
    --bg-cream: #eae6dd;
    --border-color: #dcdcec;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    
    /* Typography */
    --font-primary: 'Nunito', sans-serif;
    --font-secondary: 'Quattrocento Sans', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Emergency Banner */
.emergency-banner {
    background: var(--primary-dark);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.emergency-banner a {
    color: white;
    text-decoration: underline;
    margin-left: 8px;
}

.emergency-banner a:hover {
    color: #fef2f2;
}

.emergency-banner .emergency-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Header */
header {
    background: #f0fdf4 !important;
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 45px;
}

.logo span {
    color: var(--secondary-color);
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Hide hamburger button on desktop */
.mobile-menu-toggle {
    display: none !important;
}

/* Hide mobile nav buttons on desktop */
.mobile-nav-buttons {
    display: none !important;
}

nav > ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

nav a {
    font-family: var(--font-primary) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    font-size: 0.95rem !important;
    text-transform: none;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav ul.main-nav > li > a.active::after {
    width: 100%;
}

nav a:hover,
nav ul.main-nav > li > a.active {
    color: var(--primary-color);
}

.header-buttons {
    display: flex;
    gap: 12px;
}

/* Dropdown Menu Styles */
nav ul.main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

nav ul.main-nav > li {
    position: relative;
}

nav ul.main-nav > li.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

nav ul.main-nav > li.has-dropdown > a .dropdown-arrow {
    font-size: 0.6em;
    transition: transform 0.3s ease;
}

nav ul.main-nav > li.has-dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

nav ul.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #f0fdf4 !important;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    display: block;
    list-style: none;
    gap: 0;
}

nav ul.main-nav > li:hover > ul.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav ul.dropdown li {
    position: relative;
    display: block;
}

nav ul.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-weight: 700 !important;
    font-size: 0.9rem;
    white-space: nowrap;
}

nav ul.dropdown li a::after {
    display: none !important;
    width: 0 !important;
}

nav ul.dropdown li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

nav ul.dropdown li.has-dropdown > a::after {
    content: ' ▸';
    font-size: 0.8em;
    opacity: 0.7;
    display: inline;
    position: static;
    width: auto;
    height: auto;
    background: none;
}

/* Sub-dropdown (Level 3) */
nav ul.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background: #f0fdf4 !important;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    display: block;
    list-style: none;
    gap: 0;
}

nav ul.dropdown li:hover > ul.sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary {
    box-shadow: 0 4px 0 rgba(0,0,0,0.15);
    transition: all 0.15s ease;
}
.btn-primary:hover, .btn-primary:active {
    background: var(--primary-dark);
    color: white;
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.15), inset 0 2px 4px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #162d4d;
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
    color: white;
}

.btn-success {
    background: #16a34a;
    color: white;
}

.btn-success:hover {
    background: #15803d;
    color: white;
}

.btn-warning {
    background: #eab308;
    color: #1f2937;
}

.btn-warning:hover {
    background: #ca8a04;
    color: #1f2937;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    color: white;
    padding-top: 100px;
    padding-bottom: 180px;
    text-align: center;
    position: relative;
    overflow: visible;
    min-height: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 400;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 150px;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
}

/* Branch Cards Overlapping Hero */
.branch-cards-wrapper {
    position: absolute;
    bottom: -200px;
    left: 0;
    right: 0;
    z-index: 10;
}

.branch-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.branch-card-new {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    text-decoration: none;
    transition: all 0.3s ease;
}

.branch-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.branch-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: white;
    height: 160px;
}

.branch-card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    font-family: var(--font-primary);
}

.branch-arrow-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.branch-card-new:hover .branch-arrow-icon {
    transform: translateX(5px);
}

.branch-arrow {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.branch-card-new:hover .branch-arrow {
    background: var(--primary-dark);
}

.branch-card-bar {
    height: 6px;
    background: var(--primary-color);
    margin: 0 20px;
    border-radius: 3px;
}

.branch-card-image {
    height: 250px;
    overflow: hidden;
}

.branch-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.branch-card-new:hover .branch-card-image img {
    transform: scale(1.05);
}

/* About Section - add margin for overlapping cards */
.about-section {
    padding: 350px 0 80px 0;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--secondary-color);
    color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.8);
}

/* Branches Section */
.branches-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.branch-card {
    background: #f0fdf4 !important;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-decoration: none;
    display: block;
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.branch-card-icon {
    width: 70px;
    height: 70px;
    background: #16ad72;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.branch-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.branch-card .address {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.branch-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.branch-card .phone {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.branch-card .emergency-badge {
    background: var(--danger-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 12px;
    display: inline-block;
}

/* About Section - padding defined above for overlapping cards */

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.service-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f0fdf4 !important;
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb !important;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(22,173,114,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.service-content {
    text-align: center;
}

.service-content h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--secondary-color);
    color: white;
}

.contact-section .section-title {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card p {
    margin-bottom: 8px;
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--primary-light);
    font-weight: 600;
}

.contact-card a:hover {
    color: white;
}

/* Footer */
footer {
    background: #0b3625;
    color: white;
    padding: 60px 0 100px 0;
}

.footer-branches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-branch {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.footer-branch:hover {
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.12);
}

.footer-branch h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-branch p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.5;
}

.footer-phone {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 1.05rem;
}

.footer-phone:hover {
    color: var(--primary-light) !important;
}

.footer-view-branch {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white !important;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-view-branch:hover {
    background: var(--primary-light);
    color: white !important;
}

.footer-bottom {
    padding-bottom: 100px;
    text-align: center;
    width: 100%;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin: 0;
    display: inline;
}

.footer-bottom p::after {
    content: "|";
    margin: 0 15px;
    color: rgba(255,255,255,0.4);
}

.footer-links {
    display: inline;
}

.footer-links a:not(:last-child)::after {
    content: "|";
    margin: 0 15px;
    color: rgba(255,255,255,0.4);
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* Branch Page */
.branch-hero {
    background: #16ad72;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.branch-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.branch-hero .emergency-tag {
    background: var(--danger-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

.branch-content {
    padding: 60px 0;
}

.branch-info {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.branch-info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.branch-description h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.branch-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.branch-services-list {
    list-style: none;
}

.branch-services-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.branch-services-list li:last-child {
    border-bottom: none;
}

.branch-services-list .icon {
    font-size: 1.3rem;
}

.branch-contact-box {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 35px;
    border: 1px solid var(--border-color);
}

.branch-contact-box h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a.phone-link {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Service Page */
.service-hero {
    background: #16ad72;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.service-icon-large {
    display: none !important;
    font-size: 4rem;
    margin-bottom: 20px;
}

.service-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.service-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.service-content {
    padding: 60px 0;
}

.service-info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.service-description h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-full-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.service-full-content h2, 
.service-full-content h3, 
.service-full-content h4 {
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-full-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Service Page List Grid Cards */
.service-full-content ul, 
.service-full-content ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding-left: 0px !important;
    list-style: none;
    color: var(--text-light);
}

.service-full-content li {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-color, #003c3c);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 60, 60, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.service-full-content li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 60, 60, 0.15);
    border-left-color: #b8860b;
}

.service-full-content li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color, #003c3c);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.service-full-content li strong {
    color: var(--primary-color, #003c3c);
    font-weight: 600;
}

/* Dark background variant */
.service-full-content .dark-list li {
    background: #16ad72;
    color: white;
    border-left-color: #b8860b;
}

.service-full-content .dark-list li::before {
    background: #b8860b;
    color: #003c3c;
}

/* Service List Mobile Responsive */
@media (max-width: 600px) {
    .service-full-content ul,
    .service-full-content ol {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-full-content li {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .service-full-content li::before {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* FAQ Section Styling */
.faq-section {
    margin-top: 30px;
}

.faq-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.faq-section h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.faq-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-section ul,
.faq-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
    color: var(--text-light);
}

.faq-section li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.faq-section strong {
    color: var(--text-dark);
}

/* ===================================
   Price Page Styles
   =================================== */
.price-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.price-page h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.price-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.price-section {
    margin-bottom: 50px;
}

.price-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.price-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-style: italic;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.price-table thead {
    background: var(--primary-color);
    color: white;
}

.price-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.price-table th:not(:first-child) {
    text-align: center;
}

.price-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.price-table td:not(:first-child) {
    text-align: center;
    font-weight: 600;
}

.price-table tbody tr:hover {
    background: #f8f9fa;
}

.price-table tbody tr:last-child td {
    border-bottom: none;
}

.price-table .included {
    color: var(--success-color, #28a745);
    font-weight: 600;
}

.price-cta {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.price-cta h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.price-cta p {
    margin-bottom: 0;
}

.price-cta .btn {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .price-table {
        font-size: 0.9rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 12px 10px;
    }
    
    .price-page {
        padding: 10px;
    }
}

/* ===================================
   Careers Page Styles
   =================================== */
.careers-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.careers-page h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.careers-intro {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
}

.careers-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.careers-section {
    margin-bottom: 40px;
}

.careers-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.careers-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.careers-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.mission-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mission-block {
    margin-bottom: 25px;
}

.mission-block:last-child {
    margin-bottom: 0;
}

.mission-block h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.mission-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-block li {
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.6;
}

.mission-block li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.benefits-section {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.benefits-grid ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    grid-column: 1 / -1;
    gap: 15px;
    margin-bottom: 30px;
    padding-left: 0px !important;
    list-style: none;
    color: var(--text-light);
}

li.benefit-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-color, #003c3c);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 60, 60, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

li.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 60, 60, 0.15);
    border-left-color: #b8860b;
}

.benefit-item {
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 60, 60, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 60, 60, 0.15);
    border-left-color: #00a896;
}

li.benefit-item::before {
    content: "\2714";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
    background: var(--primary-color, #003c3c);
    border-radius: 50%;
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit-text {
    font-weight: 600;
}

.careers-cta {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.careers-cta h3 {
    color: white;
    border-bottom: none;
    margin-bottom: 15px;
}

.careers-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.careers-cta .btn {
    background: white;
    color: var(--primary-color);
}

.careers-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .careers-page {
        padding: 10px;
    }
    
    .careers-intro,
    .mission-section,
    .benefits-section,
    .careers-cta {
        padding: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid ul {
        grid-template-columns: 1fr !important;
    }
}

/* ===================================
   Complaints Page Styles
   =================================== */
.complaints-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.complaints-page h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.complaints-section {
    margin-bottom: 35px;
}

.complaints-section h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.complaints-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.complaints-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-light);
}

.complaints-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.complaints-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid #eee;
}

.complaints-list li:last-child {
    border-bottom: none;
}

.complaints-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.complaints-contact {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.complaints-contact h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.complaints-contact p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .complaints-page {
        padding: 10px;
    }
    
    .complaints-contact {
        padding: 20px;
    }
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-cta-box,
.other-services-box {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.service-cta-box h3,
.other-services-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-cta-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.branch-list {
    list-style: none;
    padding-left: 0px !important;
}

.branch-list li {
    margin-bottom: 10px;
}

.branch-list li a {
    display: flex;
    flex-direction: column;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.branch-list li a:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.branch-list li a strong {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.branch-list li a span {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.other-services-list {
    list-style: none;
    padding-left: 0px !important;
}

.other-services-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.other-services-list li:last-child a {
    border-bottom: none;
}

.other-services-list li a:hover {
    color: var(--primary-color);
}

.other-services-list li a .icon {
    font-size: 1.2rem;
}
.other-services-list li a span {
    text-align: left;
}

/* Services Listing Page */
.services-listing {
    padding: 60px 0;
}

.services-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card-full {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #f0fdf4 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.service-card-full:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.service-card-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.service-card-content {
    flex: 1;
}

.service-card-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-card-content .learn-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card-image {
    width: 120px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-cta {
    padding: 60px 0;
    background: var(--bg-light);
}

.services-cta .cta-box {
    text-align: center;
    padding: 50px;
    background: #f0fdf4 !important;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.services-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.services-cta p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .services-grid-full {
        grid-template-columns: 1fr;
    }
    
    .service-card-full {
        flex-direction: column;
    }
    
    .service-card-image {
        width: 100%;
        height: 150px;
        order: -1;
    }
}

/* Page Content */
.page-hero {
    background: #16ad72;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
}

.page-content {
    padding: 60px 0;
    min-height: 400px;
}

.page-content .container {
    max-width: 1200px;
}

.page-content h1, .page-content h2, .page-content h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Contact Form */
.contact-page {
    padding: 60px 0;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22,173,114,0.1);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 600;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Shortcode Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Shortcode Form */
.shortcode-form {
    max-width: 600px;
}

.shortcode-form .form-group {
    margin-bottom: 20px;
}

.shortcode-form .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.shortcode-form .form-check-inline {
    display: inline-flex;
    margin-right: 20px;
    margin-bottom: 0;
}

.shortcode-form .form-radio-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shortcode-form .form-check input[type="checkbox"],
.shortcode-form .form-check input[type="radio"] {
    width: 18px;
    height: 18px;
}

.shortcode-form .required {
    color: var(--danger-color);
}

/* Form Section Headers */
.form-section-header {
    margin: 35px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.form-section-header:first-child {
    margin-top: 0;
}

.form-section-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Registration Form Specific */
.registration-form-wrapper .shortcode-form {
    max-width: 800px;
}

.registration-form-wrapper .form-group {
    margin-bottom: 15px;
}

/* Two column layout for registration forms on larger screens */
@media (min-width: 768px) {
    .registration-form-wrapper .shortcode-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }
    
    .registration-form-wrapper .form-section-header,
    .registration-form-wrapper .form-group:has(textarea),
    .registration-form-wrapper .form-terms,
    .registration-form-wrapper .form-submit,
    .registration-form-wrapper #add-pet-btn-wrapper {
        grid-column: 1 / -1;
    }
}

/* Page intro styling */
.page-intro {
    margin-bottom: 30px;
}

.page-intro .lead {
    font-size: 1.15rem;
    color: #374151;
    line-height: 1.7;
}

/* Other Branches */
.other-branches {
    padding: 60px 0;
    background: var(--bg-light);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .branch-info,
    .branch-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
    
    .branch-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        padding-bottom: 380px;
    }

    .branch-cards-wrapper {
        bottom: -220px;
    }

    .about-section {
        padding-top: 400px;
    }

    .footer-branches {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
        order: 2;
    }
    
    .hamburger-line {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-dark);
        margin: 3px 0;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    /* Hamburger animation when active */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Hide desktop nav, show mobile nav on toggle */
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding: 80px 20px 30px;
    }
    
    nav.active {
        left: 0;
    }
    
    /* Make nav a flex column to stack menu and buttons */
    nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav > ul,
    nav ul.main-nav {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: stretch;
    }
    
    nav > ul > li,
    nav ul.main-nav > li {
        border-bottom: 1px solid #eee;
    }
    
    nav > ul > li > a,
    nav ul.main-nav > li > a {
        display: block;
        padding: 15px 10px;
        font-size: 1rem;
    }
    
    /* Mobile dropdowns - hidden by default */
    nav .dropdown,
    nav ul.dropdown {
        position: static !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f9f9f9;
        padding-left: 15px;
        min-width: unset;
        width: 100%;
    }
    
    nav .dropdown.open,
    nav ul.dropdown.open {
        display: block !important;
    }
    
    nav .dropdown li {
        border-bottom: 1px solid #eee;
    }
    
    nav .dropdown li:last-child {
        border-bottom: none;
    }
    
    nav .dropdown a {
        padding: 12px 10px;
        font-size: 0.95rem;
    }
    
    nav .sub-dropdown {
        background: #f0f0f0;
        padding-left: 15px;
        display: none !important;
        position: static !important;
    }
    
    nav .sub-dropdown.open {
        display: block !important;
    }
    
    /* Disable hover on mobile - only click toggles */
    nav ul.main-nav > li:hover > ul.dropdown {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    nav ul.main-nav > li.open > ul.dropdown {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Dropdown toggle arrow */
    nav .has-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    nav .has-dropdown > a::after {
        content: '+';
        font-size: 1.2rem;
        font-weight: bold;
        margin-left: 10px;
    }
    
    nav .has-dropdown.open > a::after {
        content: '−';
    }
    
    /* Mobile nav buttons */
    .mobile-nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 25px;
        padding-top: 20px;
        border-top: 2px solid #eee;
    }
    
    .mobile-nav-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* Hide desktop header buttons on mobile */
    .header-buttons {
        display: none !important;
    }
    
    header .container {
        position: relative;
    }
    
    /* Mobile menu overlay */
    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto;
    }
    
    .branch-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero {
        padding-bottom: 550px;
        background-size: 100%;
        background-repeat: repeat;
        background-image: url('/assets/uploads/media/media_1774589156_69c614e454430.jpg') !important;
    }

    .branch-cards-wrapper {
        bottom: -420px;
    }

    .about-section {
        padding-top: 550px;
    }

    .footer-branches {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    

}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 600px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .section,
    .branches-section,
    .services-section {
        padding: 50px 0;
    }
    
    .branch-card {
        padding: 25px 20px;
    }
    
    .branch-cards-wrapper {
        bottom: -480px;
    }

    .about-section {
        padding-top: 580px;
    }

    .branch-card-header h3 {
        font-size: 1.3rem;
    }
}


/* ========== Branch Detail Page Styles ========== */
.branch-hero {
    background: #16ad72;
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    background-size: cover;
    background-position: center;
}
.branch-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.branch-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.branch-quick-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.quick-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 180px;
}
.quick-info-item:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-3px);
}
.quick-info-item .icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}
.quick-info-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}
.quick-info-item .value {
    font-size: 0.95rem;
    font-weight: 600;
}

.branch-action-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    color: white;
}

.branch-info-section {
    padding: 60px 0;
    background: var(--bg-light);
}
.branch-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}
.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.emergency-card {
    border-left: 4px solid var(--danger-color);
    background: #fef2f2;
}
.emergency-card h3 {
    color: var(--danger-color);
}
.emergency-phone {
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}
.emergency-phone a {
    color: var(--danger-color);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}
.hours-table tr {
    border-bottom: 1px solid var(--border-color);
}
.hours-table tr:last-child {
    border-bottom: none;
}
.hours-table td {
    padding: 10px 0;
}
.hours-table .day {
    font-weight: 600;
    color: var(--text-dark);
}
.hours-table .hours {
    text-align: right;
    color: var(--text-light);
}
.hours-table tr.today {
    background: rgba(13, 148, 136, 0.1);
    border-radius: 8px;
}
.hours-table tr.today td {
    padding: 10px;
}
.hours-table tr.today .day {
    color: var(--primary-color);
}
.hours-table tr.today .hours {
    color: var(--primary-color);
    font-weight: 600;
}

.about-card p {
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.7;
}

.branch-services-section {
    padding: 60px 0;
}
.branch-services-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}
.branch-services-section .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
}
.branch-services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.branch-services-section .service-card {
    background: #f0fdf4 !important;
    border: 1px solid #e5e7eb !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
}
.branch-services-section .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}
.branch-services-section .service-card .service-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}
.branch-services-section .service-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}
.branch-services-section .service-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.branch-map-section {
    padding: 60px 0;
    background: var(--bg-light);
}
.branch-map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.all-branches-section {
    padding: 60px 0;
    background: var(--secondary-color);
    color: white;
}
.branches-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.branch-footer-card {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.branch-footer-card:hover {
    background: rgba(255,255,255,0.15);
}
.branch-footer-card.current-branch {
    border: 2px solid var(--primary-color);
    background: rgba(13, 148, 136, 0.2);
}
.branch-footer-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.branch-footer-card .branch-address {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 8px;
}
.branch-footer-card .branch-phone a {
    color: white;
    font-weight: 600;
}
.branch-footer-card .btn-sm {
    margin-top: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.85rem;
}
.branch-footer-card .btn-sm:hover {
    background: var(--primary-light);
    color: white;
}

/* Branch page responsive */
@media (max-width: 768px) {
    .branch-hero h1 {
        font-size: 2rem;
    }
    .branch-tagline {
        font-size: 1rem;
    }
    .branch-quick-info {
        gap: 15px;
    }
    .quick-info-item {
        min-width: 140px;
        padding: 12px 15px;
    }
    .branch-action-btns {
        flex-direction: column;
        align-items: center;
    }
    .branch-action-btns .btn,
    .branch-action-btns .btn-outline-light {
        width: 100%;
        max-width: 300px;
    }
    .branch-info-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PET WELLNESS PLANS PAGE STYLES
   ===================================================== */

.wellness-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
    background: #f0fdf4 !important;
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    overflow: hidden;
}

.wellness-table thead {
    background: #16ad72;
    color: white;
}

.wellness-table th {
    padding: 18px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wellness-table th:first-child {
    text-align: left;
}

.wellness-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    vertical-align: middle;
}

.wellness-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: var(--bg-light);
    color: var(--text-dark);
}

.wellness-table tbody tr:hover {
    background-color: rgba(13, 148, 136, 0.05);
}

.wellness-table tbody tr:last-child td {
    border-bottom: none;
}

.wellness-table .pricing-row {
    background: rgba(22, 173, 114, 0.1);
}

.wellness-table .pricing-row td {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.wellness-table .savings-row {
    background: linear-gradient(to right, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.2));
}

.wellness-table .savings-row td {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
}

/* Page Content Styling for Wellness Plans */
.page-content h2 {
    color: var(--primary-dark);
    margin: 40px 0 20px;
    font-size: 1.8rem;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.page-content h3 {
    color: var(--secondary-color);
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.page-content ol, .page-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.page-content hr {
    border: none;
    height: 2px;
    background: #16ad72;
    margin: 40px 0;
}

.page-content .btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.page-content table td:empty::after {
    content: "-";
    color: var(--text-muted);
}

/* Responsive Wellness Tables */
@media (max-width: 992px) {
    .wellness-table {
        font-size: 0.85rem;
    }
    .wellness-table th,
    .wellness-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 768px) {
    .wellness-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .wellness-table th,
    .wellness-table td {
        min-width: 100px;
    }
    .wellness-table td:first-child {
        min-width: 150px;
    }
}

/* =====================================================
   PAGE LAYOUT WITH SIDEBAR
   ===================================================== */

.page-with-sidebar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.page-main-content {
    min-width: 0; /* Prevents grid overflow */
}

.page-sidebar {
    position: sticky;
    top: 20px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #f0fdf4 !important;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* Contact Widget */
.sidebar-contact-info {
    margin-bottom: 15px;
}

.sidebar-contact-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.sidebar-icon {
    margin-right: 8px;
}

/* Quick Links Widget */
.sidebar-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 10px;
}

.sidebar-links a {
    display: block;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sidebar-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Opening Hours Widget */
.sidebar-hours-content {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Emergency Widget */
.sidebar-emergency .emergency-box {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid var(--danger-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.sidebar-emergency h4 {
    color: var(--danger-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.sidebar-emergency p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* Button Block Style */
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
    color: white;
}

/* Responsive Sidebar Layout */
@media (max-width: 768px) {
    .page-with-sidebar {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-sidebar {
        position: relative;
        top: 0;
    }
    
    /* On mobile, show widgets in a row */
    .page-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .page-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Emergency button icon - added 2026-03-02 */
.header-buttons .btn-danger::before,
.mobile-nav-buttons .btn-danger::before {
    content: '⚠';
    margin-right: 4px;
}

/* Header button spacing and sizing - 2026-03-02 */
.header-buttons {
    margin-left: 30px;
}
.header-buttons .btn-sm {
    padding: 6px 24px;
    white-space: nowrap;
}

/* Header button override - 2026-03-02 v2 */
header .header-buttons {
}
header .header-buttons .btn.btn-sm {
}

/* Header button override - 2026-03-02 v2 */
header .header-buttons {
    margin-left: 30px !important;
    gap: 12px !important;
}
header .header-buttons .btn.btn-sm {
    padding: 6px 28px !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
}

/* Force header buttons compact - 2026-03-02 v3 */
header .container .header-buttons .btn {
    padding: 8px 32px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
}

/* Ultra compact header buttons - 2026-03-02 v4 */
header .header-buttons {
    margin-left: 25px !important;
}
header .header-buttons .btn,
header .header-buttons .btn.btn-sm,
header .header-buttons a.btn {
    padding: 5px 30px !important;
    line-height: 1.4 !important;
    font-size: 0.8rem !important;
}

/* Centered cards layout - 2026-03-02 */
.service-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card .service-icon,
.service-card > div:first-child {
    margin-bottom: 15px;
}

.service-content {
    text-align: center;
}

.service-content h3,
.service-card h3 {
    text-align: center;
}

.service-content p,
.service-card p {
    text-align: center;
}

/* Service card full centered */
.service-card-full {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card-full .service-card-icon {
    margin-bottom: 15px;
}

.service-card-content {
    text-align: center;
}

.service-card-content h3,
.service-card-content p,
.service-card-content .learn-more {
    text-align: center;
}

/* Feature cards centered */
.feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card h3,
.feature-card p {
    text-align: center;
}

/* Branch card services list centered */
.branch-card .services-list {
    text-align: center;
}

/* Force centered service cards - 2026-03-02 v5 */
a.service-card,
.service-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: flex-start !important;
}

a.service-card .service-icon,
.service-card .service-icon {
    margin-bottom: 15px !important;
    margin-right: 0 !important;
}

a.service-card .service-content,
.service-card .service-content {
    text-align: center !important;
    width: 100% !important;
}

a.service-card .service-content h3,
.service-card .service-content h3,
a.service-card .service-content p,
.service-card .service-content p {
    text-align: center !important;
}

/* Green eco-style cards - 2026-03-02 */
:root {
    --eco-pale: #f0fdf4;
    --eco-green: #2E7D32;
    --portland-green: #0a3d2e;
}

/* Apply green background to all service cards */
.service-card,
a.service-card {
    background: var(--eco-pale) !important;
    border: 1px solid #e5e7eb !important;
}

.service-card:hover,
a.service-card:hover {
    background: #f0fdf4 !important;
    border-color: #16ad72 !important;
    box-shadow: 0 10px 35px rgba(0,0,0,0.1) !important;
}

.service-card h3,
.service-card .service-content h3 {
    color: var(--portland-green) !important;
}

/* Service icon with green background */
.service-card .service-icon {
    background: rgba(22,173,114,0.15) !important;
    font-size: 2.5rem !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
}

/* Center odd cards in grid */
.services-grid {
    justify-content: center !important;
}

/* For grids with incomplete rows, center the last row */
.services-grid::after {
    content: ;
    flex: auto;
}

/* Branch services green cards - 2026-03-02 */
.branch-services-section .service-card {
    background: #f0fdf4 !important;
    border: 1px solid #e5e7eb !important;
    background: var(--eco-pale) !important;
    border: 1px solid #e5e7eb !important;
}

.branch-services-section .service-card:hover {
    background: white !important;
}

/* Center odd cards properly using flexbox */
.services-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 25px !important;
}

.services-grid .service-card {
    flex: 0 1 320px !important;
    max-width: 350px !important;
}

/* For 2-column incomplete rows, center items */
@supports (display: grid) {
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        justify-items: center !important;
    }
    
    .services-grid .service-card {
        max-width: 100% !important;
    }
}

/* FINAL FIX - HOME PAGE CARDS - 2026-03-02 */
/* Override all previous grid attempts */
.homepage section.services-section .services-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
}

.homepage section.services-section .services-grid .service-card {
}

.homepage section.services-section .services-grid .service-card:hover {
}

/* FINAL FIX - HOME PAGE CARDS - 2026-03-02 */
.homepage section.services-section .services-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.homepage section.services-section .services-grid .service-card {
    background: #f0fdf4 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

.homepage section.services-section .services-grid .service-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    transform: translateY(-3px) !important;
    border-color: #16AD72 !important;
}

/* BRANCH PAGE HERO SUBTITLE - 2026-03-02 */
.branch-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-top: -10px;
    margin-bottom: 20px;
}

/* BRANCH PAGE CARD CENTERING - 2026-03-02 */
.branch-services-section .services-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 25px !important;
}

.branch-services-section .services-grid .service-card {
    flex: 0 0 320px !important;
    max-width: 320px !important;
}

.branch-services-section .service-card:hover {
    box-shadow: 0 15px 45px rgba(0,0,0,0.12) !important;
    transform: translateY(-3px) !important;
    border-color: #16AD72 !important;
}

/* BRANCH INTRO SECTION - 2026-03-02 */
.branch-intro-section {
    padding: 60px 20px;
    background: white;
    text-align: center;
}

.branch-intro-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.branch-intro-section .intro-title {
    font-size: 2.2rem;
    color: #0a3d2e;
    margin-bottom: 30px;
    font-weight: 600;
}

.branch-intro-section .intro-content {
    text-align: center;
    line-height: 1.8;
}

.branch-intro-section .intro-content p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.branch-intro-section .intro-content a {
    color: #16AD72;
    text-decoration: none;
    font-weight: 500;
}

.branch-intro-section .intro-content a:hover {
    text-decoration: underline;
}

/* ======================================
   BRANCH PAGE - LIVE SITE MATCHING STYLES
   ====================================== */

/* Hero - Clean centered layout */
.branch-hero {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.branch-hero .hero-content-centered {
    max-width: 800px;
    color: #fff;
}

.branch-hero h1 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.branch-hero .branch-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.branch-hero .hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.branch-hero .btn-primary {
    background: var(--accent, #2ecc71);
    color: #fff;
    padding: 14px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--accent, #2ecc71);
    transition: all 0.3s ease;
}

.branch-hero .btn-primary:hover {
    background: transparent;
    color: #fff;
}

.branch-hero .btn-outline-light {
    background: transparent;
    color: #fff;
    padding: 14px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.branch-hero .btn-outline-light:hover {
    background: #fff;
    color: var(--primary, #0a3d2e);
}


/* Feature Cards Section */
.branch-feature-cards {
    padding: 60px 0;
    background: #f8f9fa;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-card h3 {
    color: var(--primary, #0a3d2e);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-link {
    display: inline-block;
    background: var(--accent, #2ecc71);
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.feature-link:hover {
    background: var(--primary, #0a3d2e);
}


/* Info Columns Section */
.branch-info-columns {
    padding: 60px 0;
    background: #fff;
}

.info-columns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.info-column h3 {
    color: var(--primary, #0a3d2e);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent, #2ecc71);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.info-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #444;
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: var(--accent, #2ecc71);
    font-weight: bold;
}

.info-link {
    display: inline-block;
    color: var(--primary, #0a3d2e);
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--accent, #2ecc71);
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--accent, #2ecc71);
}


/* Contact Section */
.branch-contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.contact-card h3 {
    color: var(--primary, #0a3d2e);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent, #2ecc71);
}

.contact-card.emergency {
    border-left: 4px solid #e74c3c;
}

.contact-card.emergency h3 {
    border-bottom-color: #e74c3c;
}

.contact-item {
    margin-bottom: 15px;
    color: #444;
}

.contact-item a {
    color: var(--accent, #2ecc71);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.emergency-phone {
    font-size: 1.25rem;
    margin-top: 15px;
}

.emergency-phone a {
    color: #e74c3c;
    font-weight: 600;
    text-decoration: none;
}

.emergency-phone a:hover {
    text-decoration: underline;
}

/* Hours table in contact card */
.contact-card .hours-table {
    width: 100%;
}

.contact-card .hours-table td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.contact-card .hours-table tr:last-child td {
    border-bottom: none;
}

.contact-card .hours-table .day {
    font-weight: 500;
    color: var(--text-dark);
}

.contact-card .hours-table .hours {
    text-align: right;
    color: #666;
}

.contact-card .hours-table tr.today td {
    color: var(--accent, #2ecc71);
    font-weight: 600;
}


/* Responsive */
@media (max-width: 768px) {
    .branch-hero h1 {
        font-size: 2rem;
    }
    
    .feature-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .info-columns-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================
   BRANCH PAGE v2 - PROFESSIONAL STYLES
   ====================================== */

/* Intro Section - Light Gray Centered */
.branch-intro-section {
    background: #f8f9fa;
    padding: 70px 20px;
}

.branch-intro-section .intro-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.branch-intro-section h2 {
    color: var(--primary, #0a3d2e);
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.branch-intro-section p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.branch-intro-section a {
    color: var(--accent, #2ecc71);
    text-decoration: none;
    font-weight: 500;
}

.branch-intro-section a:hover {
    text-decoration: underline;
}


/* Feature Cards Section - Green Background */
.branch-features-section {
    background: #16ad72;
    padding: 70px 20px;
}

.branch-features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.branch-features-section .feature-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.branch-features-section .feature-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.branch-features-section .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.branch-features-section .feature-box h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.branch-features-section .feature-box p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.branch-features-section .feature-btn {
    display: inline-block;
    background: var(--accent, #2ecc71);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.branch-features-section .feature-btn:hover {
    background: #27ae60;
    transform: scale(1.05);
}


/* Two Column Split Section */
.branch-two-col-section {
    display: flex;
}

.branch-two-col-section .two-col-wrapper {
    display: flex;
    width: 100%;
}

.branch-two-col-section .two-col-left,
.branch-two-col-section .two-col-right {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
}

.branch-two-col-section .two-col-left {
    background: #fff;
}

.branch-two-col-section .two-col-right {
    background: #f0f7f4;
}

.branch-two-col-section .two-col-content {
    max-width: 400px;
}

.branch-two-col-section h3 {
    color: var(--primary, #0a3d2e);
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent, #2ecc71);
}

.branch-two-col-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.branch-two-col-section ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #444;
    font-size: 1rem;
}

.branch-two-col-section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent, #2ecc71);
    font-weight: bold;
}

.branch-two-col-section .two-col-link {
    display: inline-block;
    color: var(--primary, #0a3d2e);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 2px solid var(--accent, #2ecc71);
    transition: color 0.3s ease;
}

.branch-two-col-section .two-col-link:hover {
    color: var(--accent, #2ecc71);
}


/* Contact Section */
.branch-contact-section {
    background: #fff;
    padding: 70px 20px;
}

.branch-contact-section .section-heading {
    text-align: center;
    color: var(--primary, #0a3d2e);
    font-size: 2rem;
    margin-bottom: 50px;
}

.branch-contact-section .contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.branch-contact-section .contact-box {
    background: #f8f9fa;
    padding: 35px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.branch-contact-section .contact-box h3 {
    color: var(--primary, #0a3d2e);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.branch-contact-section .contact-phone a {
    font-size: 1.4rem;
    color: var(--accent, #2ecc71);
    font-weight: 600;
    text-decoration: none;
}

.branch-contact-section .contact-box a {
    color: var(--accent, #2ecc71);
    text-decoration: none;
}

.branch-contact-section .contact-box a:hover {
    text-decoration: underline;
}

.branch-contact-section .hours-tbl {
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
}

.branch-contact-section .hours-tbl td {
    padding: 6px 8px;
    border-bottom: 1px solid #e0e0e0;
}

.branch-contact-section .hours-tbl tr:last-child td {
    border-bottom: none;
}

.branch-contact-section .hours-tbl tr.today td {
    font-weight: 600;
    color: var(--accent, #2ecc71);
}


/* Emergency Banner */
.branch-contact-section .emergency-banner-box {
    max-width: 800px;
    margin: 50px auto 0;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: #fff;
    padding: 35px;
    border-radius: 10px;
    text-align: center;
}

.branch-contact-section .emergency-banner-box h3 {
    color: #fff;
    margin-bottom: 15px;
}

.branch-contact-section .emergency-banner-box p {
    margin-bottom: 10px;
    opacity: 0.95;
}

.branch-contact-section .emergency-num a {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
}

.branch-contact-section .emergency-num a:hover {
    text-decoration: underline;
}


/* Responsive */
@media (max-width: 900px) {
    .branch-features-section .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .branch-two-col-section .two-col-wrapper {
        flex-direction: column;
    }
    
    .branch-contact-section .contact-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ===================================
   Testimonials Carousel
   =================================== */
.testimonials-carousel-section {
    background: #16ad72;
    padding: 60px 20px;
    margin: 50px -20px 0;
    border-radius: 20px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-header h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.testimonials-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 280px;
    overflow: hidden;
}

.testimonial-slide {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonial-slide.active {
    display: block !important;
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-quote {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-quote .quote-mark {
    display: block;
    font-size: 4rem;
    color: #b8860b;
    line-height: 1;
    margin-bottom: 10px;
    font-family: Georgia, serif;
}

.testimonial-quote p {
    color: white;
    font-size: 1.15rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    color: #b8860b;
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.testimonial-dots .dot.active {
    background: #b8860b;
    transform: scale(1.2);
}

/* About Page Styling */
.about-page {
    max-width: 900px;
    margin: 0 auto;
}

.about-page h2 {
    color: var(--primary-color, #003c3c);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #b8860b;
}

.about-page h3 {
    color: var(--primary-color, #003c3c);
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.about-page .lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.about-page p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.about-page ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.about-page ul li {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-color, #003c3c);
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 60, 60, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-page ul li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--primary-color, #003c3c);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .testimonials-carousel-section {
        padding: 40px 15px;
        margin: 30px -15px 0;
    }
    
    .testimonial-quote {
        padding: 25px 20px;
    }
    
    .testimonial-quote p {
        font-size: 1rem;
    }
    
    .testimonials-header h2 {
        font-size: 1.5rem;
    }
    
    .about-page ul {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Carousel Fix */
.testimonials-carousel .testimonial-slide:not(.active) {
    display: none !important;
    visibility: hidden;
}

.testimonials-carousel .testimonial-slide.active {
    display: block !important;
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Override page-content styles for testimonials */
.page-content .testimonials-carousel-section,
article .testimonials-carousel-section {
    background: #16ad72;
    padding: 60px 20px;
    margin: 50px -20px 0;
    border-radius: 20px;
    width: calc(100% + 40px);
}

.page-content .testimonials-carousel-section .testimonial-slide:not(.active),
article .testimonials-carousel-section .testimonial-slide:not(.active) {
    display: none !important;
    visibility: hidden;
}

.page-content .testimonials-carousel-section .testimonial-slide.active,
article .testimonials-carousel-section .testimonial-slide.active {
    display: block !important;
    display: block;
    visibility: visible;
    opacity: 1;
}

.page-content .testimonials-carousel-section h2,
article .testimonials-carousel-section h2 {
    color: white;
    text-align: center;
    border: none;
}

.page-content .testimonials-carousel-section p,
article .testimonials-carousel-section p {
    color: rgba(255, 255, 255, 0.9);
}

.page-content .quote-mark,
article .quote-mark {
    font-size: 4rem;
    color: #b8860b;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.page-content .testimonial-author,
article .testimonial-author {
    color: #b8860b;
    font-weight: 600;
    display: block;
    margin-top: 15px;
}

.page-content .testimonial-quote,
article .testimonial-quote {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.page-content .testimonials-header,
article .testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-content .testimonial-dots,
article .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-content .testimonial-dot,
article .testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-content .testimonial-dot.active,
article .testimonial-dot.active {
    background: #b8860b;
    transform: scale(1.2);
}

/* Logo spacing improvements */
header .logo {
    margin-right: 20px;
}

header .logo img {
    height: 50px;
    max-width: 200px;
    object-fit: contain;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}


/* Insurance Details Toggle - hidden by default */
.form-group.insurance-details {
    display: none !important;
    animation: fadeIn 0.3s ease;
}

.form-group.insurance-details.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}











/* ========== Mobile Responsiveness Fixes ========== */
@media (max-width: 768px) {
    /* Branch cards positioning - 4 stacked cards ~1700px total */
    .branch-cards-wrapper {
        position: relative;
        bottom: auto;
        margin-top: -100px;
    }

    .about-section {
        padding-top: 80px !important;
    }
    
    .hero {
        padding-bottom: 150px !important;
    }
    
    /* Ensure branch card images use full desktop height */
    .branch-card-image {
        height: 250px !important;
    }
    
    .branch-card-image img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    
    /* Services grid - equal width columns */
    section.services-section .services-grid,
    .services-section .services-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
    section.services-section .services-grid .service-card,
    .services-section .services-grid .service-card,
    .services-grid .service-card,
    a.service-card {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px 10px !important;
                display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        min-height: unset !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    /* Center icons properly */
    section.services-section .service-icon,
    .services-section .service-icon,
    .service-card .service-icon,
    a.service-card .service-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
        margin: 0 auto 8px auto !important;
        margin-right: auto !important;
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .service-card .service-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Center service titles */
    section.services-section .service-card h3,
    .services-section .service-card h3,
    .service-card h3,
    .service-card .service-content h3 {
        font-size: 0.7rem !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Hide descriptions on mobile */
    section.services-section .service-card p,
    .services-section .service-card p,
    .service-card p,
    .service-card .service-content p {
        display: none !important;
    }
    
    .service-card .service-content {
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

@media (max-width: 480px) {
    /* Ensure branch card images use full desktop height on small screens too */
    .branch-card-image {
        height: 250px !important;
    }
    
    /* 3 equal width columns for services */
    section.services-section .services-grid,
    .services-section .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    
    section.services-section .services-grid .service-card,
    .services-section .services-grid .service-card,
    .services-grid .service-card,
    a.service-card {
        padding: 12px 8px !important;
            }
    
    section.services-section .service-icon,
    .services-section .service-icon,
    .service-card .service-icon,
    a.service-card .service-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
        margin: 0 auto 6px auto !important;
    }
    
    .service-card .service-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    section.services-section .service-card h3,
    .services-section .service-card h3,
    .service-card h3 {
        font-size: 0.6rem !important;
    }
}


/* Mobile padding fixes */
@media (max-width: 768px) {
    header .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .emergency-banner {
        font-size: 0.7rem !important;
        line-height: 1.4;
        background: #18ad72 !important;
        padding: 8px 10px !important;
    }
    
    .branch-cards-wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


/* Branch page services mobile padding */
@media (max-width: 768px) {
    .services-section .container,
    .services-grid,
    section.services-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


/* Branch page services - 3 column grid on mobile */

/* 3 columns at 1100px */
@media (max-width: 1100px) {
    .bp-services .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .bp-services .services-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        padding: 0 10px !important;
    }
    
    .bp-services .service-card {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        min-height: unset !important;
        height: auto !important;
    }
    
    .bp-services .service-icon {
        font-size: 28px !important;
        margin-bottom: 8px !important;
    }
    
    .bp-services .service-card h3 {
        font-size: 0.75rem !important;
        margin-bottom: 5px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 550px) {
    .bp-services .service-card p {
        display: none !important;
    }
    
    .bp-services .service-card h3 {
        font-size: 0.65rem !important;
        margin-bottom: 0 !important;
    }
}


/* Service page - sidebar below content on mobile */
@media (max-width: 768px) {
    .service-info-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .service-description {
        order: 1 !important;
    }
    
    .service-sidebar {
        order: 2 !important;
        width: 100% !important;
    }
    
    .service-content .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


/* Service page buttons - centered with gap on mobile */
@media (max-width: 768px) {
    .service-description > div:last-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .service-description > div:last-child .btn {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 80% !important;
        text-align: center !important;
    }
}


/* Service page buttons - centered with gap on mobile */
@media (max-width: 768px) {
    .service-description > div:last-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .service-description > div:last-child .btn {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 80% !important;
        text-align: center !important;
    }
}


/* Referral page - condensed available box */
.referral-available-box {
    padding: 20px !important;
}

.referral-available-box h3 {
    margin-bottom: 10px !important;
}

.branch-list-inline {
    margin: 0 !important;
    line-height: 1.8 !important;
}

.branch-list-inline a {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.branch-list-inline a:hover {
    text-decoration: underline !important;
}

/* Referral/Service page buttons - centered on mobile */
@media (max-width: 768px) {
    .service-description > div[style*="margin-top"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        text-align: center !important;
    }
    
    .service-description > div[style*="margin-top"] .btn {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 80% !important;
        display: block !important;
    }
}


@media (max-width: 768px) {
    .service-content,
    .service-info-grid,
    .service-description,
    .service-sidebar,
    .branch-list-inline {
        max-width: 100% !important;
        overflow-x: hidden !important;
        word-wrap: break-word !important;
    }
    
    .service-full-content {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .service-full-content img {
        max-width: 100% !important;
        height: auto !important;
    }
}


/* Safari iOS fix - min-height for service cards */
@media (max-width: 768px) {
    .service-card,
    a.service-card,
    .services-grid .service-card,
    .bp-services .service-card {
        min-height: 85px !important;
        overflow: visible !important;
    }
    
    .service-card h3,
    a.service-card h3,
    .bp-services .service-card h3 {
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
    }
}


/* Safari iOS fix - min-height for service cards */
@media (max-width: 768px) {
    .service-card,
    a.service-card,
    .services-grid .service-card,
    .bp-services .service-card {
        min-height: 85px !important;
        overflow: visible !important;
    }
    
    .service-card h3,
    a.service-card h3,
    .bp-services .service-card h3 {
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
    }
}

/* Site Search Styles */
.site-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 15px;
}
.search-toggle-btn {
    background: none;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #16ad72;
    transition: all 0.3s ease;
}
.search-toggle-btn:hover {
    background: #16ad72;
    color: white;
}
.site-search-box {
    position: absolute;
    right: 0;
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 1000;
}
.site-search-box.active {
    width: 350px;
    opacity: 1;
    visibility: visible;
}
.site-search-box input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 1rem;
    outline: none;
    background: transparent;
    min-width: 0;
}
.site-search-box input::placeholder { color: #999; }
.search-close-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-close-btn:hover { color: var(--text-dark); }
.search-results {
    position: absolute;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
}
.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: #f8f9fa; }
.search-icon {
    font-size: 20px;
    margin-right: 12px;
    width: 30px;
    text-align: center;
}
.search-result-content { flex: 1; min-width: 0; }
.search-result-title {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-subtitle {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-loading, .search-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
}
@media (max-width: 768px) {
    .site-search-wrapper {
        position: fixed;
        right: 70px;
        margin-left: 0;
        z-index: 1001;
    }
    .search-toggle-btn { width: 36px; height: 36px; }
    .site-search-box {
        position: fixed;
        left: 15px;
        right: 15px;
        transform: none;
        width: auto !important;
        border-radius: 12px;
    }
    .site-search-box.active { width: auto !important; }
    .search-results {
        position: relative;
        border-radius: 0 0 12px 12px;
        box-shadow: none;
    }
}

/* Search results dropdown fix */
.site-search-box {
    position: relative;
}
.search-results {
    position: absolute;
    inset-block-start: 100%;
    left: 0;
    right: 0;
    margin-block-start: 5px;
    z-index: 9999;
}
.site-search-wrapper {
    position: relative;
    z-index: 1000;
}
.site-search-box.active {
    overflow: visible;
}

/* Ensure search results visible over nav */
nav .site-search-wrapper {
    position: static;
}
nav .site-search-box {
    position: absolute;
    inset-block-start: 100%;
    inset-inline-end: 0;
    margin-block-start: 10px;
}
nav .site-search-box.active {
    overflow: visible !important;
}
nav .search-results {
    position: absolute;
    inset-block-start: 100%;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 350px;
    margin-block-start: 5px;
    z-index: 9999;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
header {
    overflow: visible !important;
}
header .container {
    overflow: visible !important;
}

/* Fix search box alignment - expand inline with search icon */
nav .site-search-wrapper {
    position: relative !important;
    display: flex;
    align-items: center;
}
nav .site-search-box {
    position: absolute !important;
    inset-block-start: 50% !important;
    transform: translateY(-50%);
    inset-inline-end: 45px !important;
    margin-block-start: 0 !important;
}
nav .site-search-box.active {
    width: 350px !important;
}
nav .search-results {
    inset-block-start: calc(100% + 5px) !important;
}

/* Hide search wrapper inside mobile nav */
@media (max-width: 768px) {
    nav .site-search-wrapper {
        display: none !important;
    }
}

/* Mobile search - keep it fixed in header, not in nav drawer */
@media (max-width: 768px) {
    .site-search-wrapper {
        position: fixed !important;
        right: 60px !important;
        left: auto !important;
        z-index: 1002 !important;
    }
    nav .site-search-wrapper {
        position: fixed !important;
        right: 60px !important;
        left: auto !important;
        display: flex !important;
    }
    .site-search-box {
        position: fixed !important;
        left: 15px !important;
        right: 15px !important;
    }
}

/* Ensure only has-dropdown items show + on mobile */
@media (max-width: 768px) {
    nav ul.main-nav > li > a::after,
    nav ul.main-nav > li > a::before {
        content: none !important;
        display: none !important;
    }
    nav ul.main-nav > li.has-dropdown > a::after {
        content: '' !important;
        display: inline-block !important;
        font-size: 1.2rem;
        font-weight: bold;
    }
    nav ul.main-nav > li.has-dropdown.open > a::after {
        content: '−' !important;
    }
}

/* Final mobile search fix - position in header bar */
@media (max-width: 768px) {
    nav .site-search-wrapper {
        position: fixed !important;
        display: flex !important;
        right: 60px !important;
        left: auto !important;
        z-index: 1002 !important;
        inset-block-start: 18px !important;
    }
}

/* More aggressive fix - hide plus from non-dropdown menu items */
@media (max-width: 768px) {
    nav ul.main-nav > li:not(.has-dropdown) > a::after,
    nav ul.main-nav > li:not(.has-dropdown) > a::before,
    nav > ul > li:not(.has-dropdown) > a::after,
    nav > ul > li:not(.has-dropdown) > a::before {
        content: "" !important;
        display: none !important;
        visibility: hidden !important;
    }
}

/* Search now outside nav - proper positioning */
.site-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 15px;
}
@media (max-width: 768px) {
    .site-search-wrapper {
        position: fixed !important;
        inset-block-start: 18px !important;
        right: 60px !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 1002 !important;
    }
    .site-search-box {
        position: fixed !important;
        inset-block-start: 70px !important;
        left: 15px !important;
        right: 15px !important;
    }
}


/* Mobile Search Button (beside hamburger) */
.mobile-search-btn {
    display: none !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .mobile-search-btn {
        display: flex !important;
        display: flex;
        align-items: center;
        justify-content: center;
        order: 2;
        margin-right: 10px;
    }

    .mobile-menu-toggle {
        order: 3;
    }

    /* Hide the search from inside the nav on mobile */
    nav .site-search-wrapper,
    .site-search-wrapper {
        display: none !important;
    }
}


/* Mobile Search Overlay */
.mobile-search-overlay {
    display: none !important;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 9998;
    padding: 15px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-search-overlay.active {
    display: block !important;
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 15px;
}

.mobile-search-container input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
    padding: 5px 0;
}

.mobile-search-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #666;
}

.mobile-search-results {
    max-height: 60vh;
    overflow-y: auto;
    margin-top: 10px;
}

.mobile-search-results .search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: var(--text-dark);
}

.mobile-search-results .search-result-item:hover {
    background: #f8f9fa;
}

.mobile-search-results .search-icon {
    font-size: 1.5rem;
}

.mobile-search-results .search-result-title {
    font-weight: 600;
    color: #1f2937;
}

.mobile-search-results .search-result-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
}

.mobile-search-results .search-loading,
.mobile-search-results .search-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
}

@media (min-width: 769px) {
    .mobile-search-overlay {
        display: none !important;
    }
}


/* Terms and Conditions Checkbox */
.form-terms {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    flex-basis: 100%;
    clear: both;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: -8px;
    cursor: pointer;
    flex-shrink: 0;
}

.terms-check label {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1.5;
}

.terms-check label a {
    color: #16ad72;
    text-decoration: underline;
}

.terms-check label a:hover {
    color: #128a5b;
}

/* Disabled Submit Button */
.btn.btn-primary:disabled,
.btn.btn-primary[disabled] {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn.btn-primary:disabled:hover,
.btn.btn-primary[disabled]:hover {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
}

/* Sidebar content to button gap */
.sidebar-widget .sidebar-content {
    margin-bottom: 15px;
}

.sidebar-widget .sidebar-html-content {
    margin-bottom: 15px;
}


/* Branch Hero Name and Phone */
.bp-hero-branch-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.bp-hero-phone {
    margin-top: 25px;
}

.bp-hero-phone a {
    color: #0a3d2e;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: white;
    border: 2px solid white;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.bp-hero-phone a::before {
    content: '\260E';
    font-size: 1.4rem;
}

.bp-hero-phone a:hover {
    background: #16ad72;
    border-color: #16ad72;
    color: white;
}



/* Branch Card Info and Phone */
.branch-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.branch-card-phone {
    padding: 0 25px 15px;
}

.branch-card-phone a {
    color: #0a3d2e;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.branch-card-phone a:hover {
    color: #16ad72;
}

/* Branch Card Title Link */
.branch-card-header h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.branch-card-header h3 a:hover {
    color: #16ad72;
}


/* Branch card phone number */
.branch-card-phone {
    text-align: center;
    padding: 10px;
}
.branch-card-phone a {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.branch-card-phone a:hover {
    color: #16ad72;
}

/* Branch card header height */
.branch-card-header {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Branch card header arrow spacing */
.branch-card-header h3 a {
    padding-right: 15px;
}

/* Phone icon fix */
.branch-card-phone a i {
    font-size: 1.3rem;
    margin-right: 5px;
}




/* Mobile hero background for homepage */
@media (max-width: 768px) {
    section.hero.home-hero,
    .hero.home-hero[style] {
        background-image: url("https://portlandvets.co.uk/assets/uploads/media/media_1777645951_69f4b97f214fb.jpeg") !important;
        background-repeat: no-repeat !important;
        background-size: 100% 100% !important;
        background-position: center !important;
    }

    .popup-btn {
        padding: 20px 0px !important;
    }
}


/* === Phone link colour normalisation (added by amend) === */
a[href^="tel:"] {
    color: #111 !important;
    text-decoration: none;
}
a[href^="tel:"]:hover {
    text-decoration: underline;
}
/* Red for emergency contexts where the phone is a 999/emergency line */
.emergency-banner a[href^="tel:"],
.bp-emergency a[href^="tel:"],
.emergency-content a[href^="tel:"],
.emergency-section a[href^="tel:"],
a[href^="tel:"].emergency-phone {
    color: #c41e3a !important;
    font-weight: 700;
}
/* Keep nav red Emergency button text white */
.btn[style*="c41e3a"] { color: #fff !important; }


/* === Header logo enlargement (visual only — banner height unchanged) === */
header .logo img,
.logo img {
    height: 75px !important;
    max-width: 260px !important;
    margin-top: -14px !important;
    margin-bottom: -14px !important;
    object-fit: contain;
}
@media (max-width: 768px) {
    header .logo img,
    .logo img {
        height: 60px !important;
        margin-top: -10px !important;
        margin-bottom: -10px !important;
    }
}


/* === Tactile press on all hero/CTA buttons (extended) === */
.hero-buttons .btn,
.about-buttons .btn,
.btn-lg,
a.btn.btn-lg,
.bp-intro-buttons .btn {
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.15);
}
.hero-buttons .btn:hover,
.hero-buttons .btn:active,
.about-buttons .btn:hover,
.about-buttons .btn:active,
.btn-lg:hover,
.btn-lg:active,
a.btn.btn-lg:hover,
a.btn.btn-lg:active,
.bp-intro-buttons .btn:hover,
.bp-intro-buttons .btn:active {
    transform: translateY(2px) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.15), inset 0 2px 4px rgba(0,0,0,0.18) !important;
}


/* === Tactile press universal (all .btn + service-card View All) === */
a.btn,
button.btn,
.btn,
.service-card span[style*="background"],
.additional-services-card span,
a.service-card span[style*="background: #16ad72"],
a.service-card span[style*="background: #16AD72"] {
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.15);
}
a.btn:hover, a.btn:active,
button.btn:hover, button.btn:active,
.btn:hover, .btn:active,
.additional-services-card:hover span,
a.service-card:hover span[style*="background: #16ad72"],
a.service-card:hover span[style*="background: #16AD72"] {
    transform: translateY(2px) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.15), inset 0 2px 4px rgba(0,0,0,0.18) !important;
}
/* Don't double-press the nav red Emergency button */
header .header-buttons a.btn[style*="c41e3a"],
.mobile-nav-buttons a.btn[style*="c41e3a"] {
    box-shadow: none !important;
}
header .header-buttons a.btn[style*="c41e3a"]:hover,
header .header-buttons a.btn[style*="c41e3a"]:active,
.mobile-nav-buttons a.btn[style*="c41e3a"]:hover,
.mobile-nav-buttons a.btn[style*="c41e3a"]:active {
    transform: translateY(1px) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.25) !important;
}


/* === Slimmer page banners (Pricing/Complaints/Careers/etc.) === */
.page-hero {
    padding: 32px 0 !important;
}
.page-hero h1 {
    font-size: 2rem !important;
    margin: 0 !important;
}
/* Service-hero: keep title-and-tagline pages slightly taller, shrink rest */
.service-hero {
    padding: 48px 0 !important;
}
.service-hero h1 {
    font-size: 2.2rem !important;
    margin-bottom: 8px !important;
}
.service-hero .service-tagline {
    font-size: 1.05rem !important;
}
/* When a hero contains ONLY an h1 (no tagline / no subhead), compress further */
.page-hero:has(> .container > h1:only-child),
.page-hero:has(.container h1:only-child),
.service-hero:has(> .container > h1:only-child) {
    padding: 22px 0 !important;
}
@media (max-width: 768px) {
    .page-hero { padding: 24px 0 !important; }
    .page-hero h1 { font-size: 1.6rem !important; }
    .service-hero { padding: 32px 0 !important; }
    .service-hero h1 { font-size: 1.7rem !important; }
}


/* === Page hero auto-sizing & image variants === */
/* Plain (title only) — slim */
.page-hero {
    padding: 24px 0 !important;
}
.page-hero h1 {
    font-size: 1.9rem !important;
    margin: 0 !important;
}
/* With subtitle — taller */
.page-hero.has-subtitle {
    padding: 56px 0 !important;
}
.page-hero.has-subtitle h1 {
    font-size: 2.4rem !important;
    margin-bottom: 10px !important;
}
.page-hero .page-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.92);
    margin: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
/* With image — even taller */
.page-hero.has-image {
    padding: 90px 0 !important;
    background-color: #16ad72;
    background-size: cover !important;
    background-position: center !important;
}
.page-hero.has-image h1 {
    font-size: 2.6rem !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.page-hero.has-image .page-subtitle {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .page-hero { padding: 20px 0 !important; }
    .page-hero h1 { font-size: 1.5rem !important; }
    .page-hero.has-subtitle { padding: 36px 0 !important; }
    .page-hero.has-subtitle h1 { font-size: 1.8rem !important; }
    .page-hero.has-image { padding: 60px 0 !important; }
    .page-hero.has-image h1 { font-size: 2rem !important; }
}


/* === Mobile horizontal-scroll fix (services page + global) === */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
@media (max-width: 768px) {
    body, .services-hero, .services-section, .services-cta-section, .services-container, .services-grid {
        max-width: 100vw;
        overflow-x: hidden;
    }
    /* Prevent any direct child of body from being wider than viewport */
    body > * { max-width: 100vw; }
    /* Cards must not overflow container */
    .services-grid .service-card {
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .services-grid .service-card h3 {
        overflow-wrap: break-word;
        word-break: break-word;
    }
    /* Force-fit any image to container */
    img { max-width: 100%; height: auto; }
    /* Tables (price list) wrapped */
    .price-table-wrapper, .price-table-container { overflow-x: auto; max-width: 100vw; }
}


/* === /services mobile equal-margin grid === */
@media (max-width: 768px) {
    .services-section {
        padding: 30px 12px !important;
        box-sizing: border-box;
    }
    .services-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .services-grid .service-card {
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 12px 4px !important;
        box-sizing: border-box;
    }
    .services-hero { padding: 40px 16px !important; box-sizing: border-box; }
    .services-cta-section { padding: 30px 12px !important; box-sizing: border-box; }
    .cta-box-centered { padding: 28px 18px !important; box-sizing: border-box; max-width: 100%; }
}
.sidebar-widget a.btn.btn-primary.btn-block { padding: 12px 0px; }
@media (max-width: 768px) { .home-services-cta { margin: 0 !important; } }


/* ============================================================
   Generic tick-list cards (.tick-list) — same look as BOAS list,
   usable in any page content, articles, or page-content sections.
   Added 2026-05-06.
   ============================================================ */
.tick-list, ul.tick-list, ol.tick-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 20px 0 30px;
    padding-left: 0 !important;
    list-style: none !important;
    text-align: left;
}
.tick-list li {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-color, #16ad72);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 60, 60, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark, #1a2a3a);
    list-style: none !important;
}
.tick-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 60, 60, 0.15);
}
.tick-list li::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color, #16ad72);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}
.tick-list li strong {
    color: var(--primary-color, #16ad72);
    font-weight: 600;
}
@media (max-width: 600px) {
    .tick-list { grid-template-columns: 1fr; gap: 12px; }
    .tick-list li { padding: 12px 15px; font-size: 0.95rem; }
    .tick-list li::before { width: 20px; height: 20px; font-size: 10px; }
}
