/*
Theme Name: CA Soft Base
Theme URI: https://www.caringalliance.co.uk
Author: Caring Alliance
Author URI: https://www.caringalliance.co.uk
Description: CA Soft Base — the stripped-down CA Soft theme with all content page templates removed. Core layout, styles, WooCommerce integration, and reusable components only; build your own pages on top.
Version: 1.0.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ca-soft-base
Tags: business, care, health, social-care, responsive, custom-menu, featured-images, threaded-comments, sticky-nav, scroll-top
*/

/* ====== Design Tokens ====== */
:root {
    --brand-blue: #006fb8;
    --brand-dark: #2c2c2c;
    --brand-bg: #5c93c4;
    --text: #333333;
    --border: #e0e0e0;
    --section-light: #f7f9fb;
    --link-hover: #005da3;
    --ca-page-bg: #f5f5f3;
    --ca-sage: #3b6b47;
    --ca-sage-hover: #335c3d;
    --ca-emerald: #02d66f;
    --ca-emerald-hover: #02c264;
    --ca-emerald-text: #002b16;
}

/* ====== Reset ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
}

a { color: var(--brand-blue); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }

/* ====== Container ====== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ====== Header ====== */
.site-header {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: padding 0.3s ease;
}

.site-header.is-compact {
    padding: 8px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    text-decoration: none;
}

.site-logo .caring {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: -0.5px;
}

.site-logo .alliance {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
}

/* Image logo (when uploaded via Customizer) */
.site-logo-image {
    display: inline-flex;
    align-items: center;
}

.site-logo-image img,
.site-logo-image .custom-logo {
    max-height: 70px;
    width: auto;
    height: auto;
    display: block;
    transition: max-height 0.3s ease;
}

.site-header.is-compact .site-logo-image img,
.site-header.is-compact .site-logo-image .custom-logo {
    max-height: 44px;
}

/* Header right side */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.header-phone-icon {
    color: var(--brand-blue);
}

.header-phone a {
    color: var(--brand-dark);
    text-decoration: none;
}

.header-phone a:hover {
    color: var(--brand-blue);
}

.header-hours {
    font-size: 0.7rem;
    color: #999;
}





/* ====== Sticky Navigation ====== */
.main-nav {
    background: #1080ff;
    border-bottom: 1px solid #0d6ad6;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease;
}

.main-nav.is-stuck {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

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

.main-nav ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 14px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
    text-align: center;
    position: relative;
}

.main-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
}



/* Dropdown */
.main-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #f5f5f5;
    min-width: 240px;
    z-index: 1000;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border: 1px solid #d5d5d5;
    border-radius: 0 0 8px 8px;
    padding: 0;
    margin: 0;
}

.main-nav ul li:hover > ul { display: flex; }

.main-nav ul li ul li a {
    padding: 11px 20px;
    font-size: 0.86rem;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
    text-align: left;
    color: var(--brand-dark);
}

.main-nav ul li ul li:last-child a { border-bottom: none; }
.main-nav ul li ul li a:hover { background: var(--brand-blue); color: #fff; }

.main-nav .menu-item-has-children > a::after { content: " \25BE"; font-size: 0.72rem; opacity: 0.7; }

/* Search bar (moved outside nav) */
.nav-search-bar {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    z-index: 998;
}

.nav-search-bar.is-open {
    display: block;
}

.nav-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
}

.nav-search-icon {
    color: #999;
    flex-shrink: 0;
}

.nav-search-form input[type="search"] {
    flex: 1;
    border: 1px solid #d0d8e0;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.nav-search-form input[type="search"]:focus {
    border-color: var(--brand-blue);
}

.nav-search-submit {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--brand-blue);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nav-search-submit:hover {
    background: var(--link-hover);
}

.nav-search-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

.nav-search-close:hover {
    color: var(--brand-dark);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    padding: 14px 16px;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-icon {
    position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after { top: 7px; }

.nav-toggle.is-open .nav-toggle-icon {
    background: transparent;
}

.nav-toggle.is-open .nav-toggle-icon::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-icon::after {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle-text {
    font-size: 0.95rem;
}

/* ====== Hero (Homepage) ====== */
.hero {
    position: relative;
    background: url('images/heroes/hero-homepage.jpg') center center / cover no-repeat;
    color: #14273d;
    padding: 70px 0;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(179, 199, 215, 0.90), rgba(179, 199, 215, 0.76));
    z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 { font-size: 2.4rem; margin-bottom: 16px; font-weight: 700; color: #14273d; text-shadow: 0 1px 3px rgba(255,255,255,0.6); }
.hero p { font-size: 1.15rem; max-width: 700px; margin: 0 auto 28px; opacity: 1; color: #22384f; text-shadow: 0 1px 3px rgba(255,255,255,0.6); }

/* ====== Page Hero (inner pages) ====== */
.page-hero {
    position: relative;
    color: #14273d;
    padding: 50px 0;
    text-align: center;
    background: #b3c7d7;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(179, 199, 215, 0.90), rgba(179, 199, 215, 0.76));
    z-index: 0;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { font-size: 2.2rem; margin-bottom: 12px; font-weight: 700; color: #14273d; text-shadow: 0 1px 3px rgba(255,255,255,0.6); }
.page-hero p { font-size: 1.1rem; opacity: 1; max-width: 650px; margin: 0 auto; color: #22384f; text-shadow: 0 1px 3px rgba(255,255,255,0.6); }

.page-hero-tall {
    padding: 120px 0;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-tall h1 { font-size: 2.6rem; }
.page-hero-tall p { font-size: 1.2rem; max-width: 720px; }

@media (max-width: 768px) {
    .page-hero-tall { padding: 70px 0; min-height: 220px; }
    .page-hero-tall h1 { font-size: 1.9rem; }
    .page-hero-tall p { font-size: 1.05rem; }
}

/* ====== Hero Image Backgrounds ====== */
.hero-img-provider-services     { background: url('images/heroes/hero-provider-services.jpg') center center / cover no-repeat; }
.hero-img-training              { background: url('images/heroes/hero-training.jpg') center center / cover no-repeat; }
.hero-img-about-us              { background: url('images/heroes/hero-about-us.jpg') center center / cover no-repeat; }
.hero-img-mentoring-coaching    { background: url('images/heroes/hero-mentoring-coaching.jpg') center center / cover no-repeat; }
.hero-img-investigation         { background: url('images/heroes/hero-investigation.jpg') center center / cover no-repeat; }
.hero-img-web-design            { background: url('images/heroes/hero-web-design.jpg') center center / cover no-repeat; }
.hero-img-contact               { background: url('images/heroes/hero-contact.jpg') center center / cover no-repeat; }
.hero-img-safer-recruitment     { background: url('images/heroes/hero-safer-recruitment.jpg') center center / cover no-repeat; }
.hero-img-business-development  { background: url('images/heroes/hero-business-development.jpg') center center / cover no-repeat; }
.hero-img-web-promotion         { background: url('images/heroes/hero-web-promotion.jpg') center center / cover no-repeat; }
.hero-img-web-hosting           { background: url('images/heroes/hero-web-hosting.jpg') center center / cover no-repeat; }

.hero-img-events              { background: url('images/heroes/hero-events.jpg') center center / cover no-repeat; }
.hero-img-membership          { background: url('images/heroes/hero-membership.jpg') center center / cover no-repeat; }
.hero-img-care-software       { background: url('images/heroes/hero-care-software.jpg') center center / cover no-repeat; }
.hero-img-compliance-quality-assurance  { background: url('images/heroes/hero-compliance-quality-assurance.jpg') center center / cover no-repeat; }
.hero-img-investigation-complaints      { background: url('images/heroes/hero-investigation-complaints.jpg') center center / cover no-repeat; }
.hero-img-investigation-safeguarding    { background: url('images/heroes/hero-investigation-safeguarding.jpg') center center / cover no-repeat; }
.hero-img-care-service-manager          { background: url('images/heroes/hero-care-service-manager.jpg') center center / cover no-repeat; }
.hero-img-care-service-manager-cloud    { background: url('images/heroes/hero-care-service-manager-cloud.jpg') center center / cover no-repeat; }
.hero-img-adult-day-centre-manager      { background: url('images/heroes/hero-adult-day-centre-manager.jpg') center center / cover no-repeat; }
.hero-img-epilepsy-awareness       { background: url('images/heroes/hero-epilepsy-awareness.jpg') center center / cover no-repeat; }
.hero-img-stroke-awareness         { background: url('images/heroes/hero-stroke-awareness.jpg') center center / cover no-repeat; }
.hero-img-adult-care-specialist     { background: url('images/heroes/hero-adult-care-specialist.jpg') center center / cover no-repeat; }
.hero-img-childcare-young-people   { background: url('images/heroes/hero-childcare-young-people.jpg') center center / cover no-repeat; }
.hero-img-supervised-contact-centre-manager { background: url('images/heroes/hero-supervised-contact-centre-manager.jpg') center center / cover no-repeat; }
.hero-img-cyps-manager { background: url('images/heroes/hero-cyps-manager.jpg') center center / cover no-repeat; }
.hero-img-pts-manager { background: url('images/heroes/hero-pts-manager.jpg') center center / cover no-repeat; }
.hero-img-adult-social-care-certificate { background: url('images/heroes/hero-adult-social-care-certificate.jpg') center center / cover no-repeat; }
.hero-img-moving-handling           { background: url('images/heroes/hero-moving-handling.jpg') center center / cover no-repeat; }
.hero-img-manual-handling-principles { background: url('images/heroes/hero-manual-handling-principles.jpg') center center / cover no-repeat; }
.hero-img-fire-safety               { background: url('images/heroes/hero-fire-safety.jpg') center center / cover no-repeat; }
.hero-img-digital-leadership      { background: url('images/heroes/hero-digital-leadership.jpg') center center / cover no-repeat; }
.hero-img-substance-misuse         { background: url('images/heroes/hero-substance-misuse.jpg') center center / cover no-repeat; }
.hero-img-learning-disabilities-cert { background: url('images/heroes/hero-learning-disabilities-certificate.jpg') center center / cover no-repeat; }
.hero-img-understanding-autism      { background: url('images/heroes/hero-understanding-autism.jpg') center center / cover no-repeat; }
.hero-img-info-advice-guidance      { background: url('images/heroes/hero-information-advice-guidance.jpg') center center / cover no-repeat; }
.hero-img-mediation-skills         { background: url('images/heroes/hero-mediation-skills.jpg') center center / cover no-repeat; }
.hero-img-advocacy-children        { background: url('images/heroes/hero-advocacy-children.jpg') center center / cover no-repeat; }
.hero-img-working-with-parents      { background: url('images/heroes/hero-working-with-parents.jpg') center center / cover no-repeat; }
.hero-img-child-learning-dev       { background: url('images/heroes/hero-child-learning-development.jpg') center center / cover no-repeat; }
.hero-img-outdoor-play-learning    { background: url('images/heroes/hero-outdoor-play-learning.jpg') center center / cover no-repeat; }
.hero-img-special-needs-children   { background: url('images/heroes/hero-special-needs-children.jpg') center center / cover no-repeat; }
.hero-img-education-training-l3   { background: url('images/heroes/hero-education-training-l3.jpg') center center / cover no-repeat; }
.hero-img-education-training-l4   { background: url('images/heroes/hero-education-training-l4.jpg') center center / cover no-repeat; }
.hero-img-education-training-l3-cert { background: url('images/heroes/hero-education-training-l3-cert.jpg') center center / cover no-repeat; }
.hero-img-assessment-principles-l3   { background: url('images/heroes/hero-assessment-principles-l3.jpg') center center / cover no-repeat; }
.hero-img-internal-quality-assurance-l4 { background: url('images/heroes/hero-internal-quality-assurance-l4.jpg') center center / cover no-repeat; }
.hero-img-managing-infection-prevention-l3   { background: url('images/heroes/hero-managing-infection-prevention-l3.jpg') center center / cover no-repeat; }
.hero-img-managing-medication-in-care-l3   { background: url('images/heroes/hero-managing-medication-in-care-l3.jpg') center center / cover no-repeat; }
.hero-img-managing-supervision-in-care-l3  { background: url('images/heroes/hero-managing-supervision-in-care-l3.jpg') center center / cover no-repeat; }
.hero-img-managing-training-in-care-l3     { background: url('images/heroes/hero-managing-training-in-care-l3.jpg') center center / cover no-repeat; }
.hero-img-managing-care-assessments-l3    { background: url('images/heroes/hero-managing-care-assessments-l3.jpg') center center / cover no-repeat; }
.hero-img-managing-safer-recruitment-l3    { background: url('images/heroes/hero-managing-safer-recruitment-l3.jpg') center center / cover no-repeat; }
.hero-img-senior-practitioners-courses       { background: url('images/heroes/hero-senior-practitioners-courses.jpg') center center / cover no-repeat; }
.hero-img-passenger-transport             { background: url('images/heroes/hero-passenger-transport.jpg') center center / cover no-repeat; }
.hero-img-nominated-training-provider   { background: url('images/heroes/hero-nominated-training-provider.jpg') center center / cover no-repeat; }


@media (max-width: 768px) {
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 1.8rem; }
    .page-hero { padding: 40px 0; }
    .page-hero h1 { font-size: 1.7rem; }
}

/* ====== Buttons ====== */
.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s, background 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary { background: #fff; color: var(--brand-blue); }
.btn-primary:hover { opacity: 0.9; text-decoration: none; color: var(--brand-blue); }

.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; color: #fff; }

.btn-solid { background: var(--brand-blue); color: #fff; }
.btn-solid:hover { opacity: 0.9; text-decoration: none; color: #fff; }

.btn-blue-outline { background: transparent; color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-blue-outline:hover { background: var(--brand-blue); color: #fff; text-decoration: none; }

.hero .btn, .page-hero .btn { margin: 0 8px; }

/* ====== Sections ====== */
section { padding: 50px 0; }
.section-light { background: var(--section-light); }

.section-title { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 12px; color: var(--brand-dark); }
.section-subtitle { text-align: center; font-size: 1.05rem; color: #666; margin-bottom: 36px; }

.intro { text-align: center; max-width: 800px; margin: 0 auto; font-size: 1.05rem; color: #555; }

/* ====== Pillars ====== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.pillar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.pillar:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-3px); }
.pillar h3 { color: var(--brand-blue); font-size: 1.3rem; margin-bottom: 10px; }
.pillar p { color: #666; font-size: 0.95rem; margin-bottom: 14px; }
.pillar a { color: var(--brand-blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.pillar a:hover { text-decoration: underline; }

/* ====== Sectors ====== */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.sector-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
}

.sector-card h4 { color: var(--brand-dark); font-size: 1.05rem; margin-bottom: 6px; }
.sector-card p { font-size: 0.85rem; color: #888; }

/* ====== Why Us List ====== */
.why-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    list-style: none;
}

.why-list li { padding: 16px 0 16px 44px; position: relative; }
.why-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 16px;
    width: 28px;
    height: 28px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.why-list strong { display: block; font-size: 1.05rem; color: var(--brand-dark); margin-bottom: 4px; }
.why-list span { font-size: 0.92rem; color: #666; }

/* ====== Membership CTA ====== */
.membership-cta {
    background: #d4e2ef;
    color: #14273d;
    text-align: center;
    padding: 50px 20px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.membership-cta h2 { font-size: 1.8rem; margin-bottom: 12px; color: #14273d; }
.membership-cta p { font-size: 1rem; opacity: 0.95; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.membership-cta .btn { background: #fff; color: var(--brand-blue); }
.membership-cta .btn:hover { color: var(--brand-blue); }

/* ====== Hero Stats ====== */
.hero-stats {
    position: relative;
    z-index: 1;
    padding: 0 0 30px;
}

.hero-stats .container {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero-stats .container { gap: 24px; }
    .hero-stat-number { font-size: 1.5rem; }
}

/* ====== Quick Services Bar ====== */
.quick-services {
    background: var(--brand-dark);
    padding: 0;
}

.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.quick-service-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 8px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s ease, color 0.2s ease;
}

.quick-service-link:last-child { border-right: none; }

.quick-service-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}

.quick-service-link svg {
    color: var(--brand-blue);
    opacity: 0.9;
}

@media (max-width: 992px) {
    .quick-services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .quick-services-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-service-link { padding: 14px 8px; font-size: 0.78rem; }
}

/* ====== Pillar Icons ====== */
.pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(0, 111, 184, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
}

.pillar-icon svg {
    color: var(--brand-blue);
}

/* ====== Values Grid ====== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.value-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.value-card h3 {
    color: var(--brand-blue);
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.value-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .values-grid { grid-template-columns: 1fr; }
}

/* ====== Featured Courses ====== */
.featured-courses {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.featured-course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 20px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.featured-course-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    text-decoration: none;
}

.featured-course-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-blue);
    background: rgba(0, 111, 184, 0.1);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
}

.featured-course-card h3 {
    color: var(--brand-dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.featured-course-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.featured-course-price {
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-blue);
}

@media (max-width: 992px) {
    .featured-courses { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .featured-courses { grid-template-columns: 1fr; }
}

/* ====== Software Showcase ====== */
.software-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.software-showcase-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 20px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.software-showcase-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    text-decoration: none;
}

.software-showcase-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-blue);
    background: rgba(0, 111, 184, 0.1);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
}

.software-showcase-card h3 {
    color: var(--brand-dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.software-showcase-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.software-showcase-price {
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-blue);
}

@media (max-width: 992px) {
    .software-showcase { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .software-showcase { grid-template-columns: 1fr; }
}

/* ====== Web Services Row ====== */
.web-services-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.web-service-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 24px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.web-service-tile:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    text-decoration: none;
}

.web-service-tile svg {
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.web-service-tile h3 {
    color: var(--brand-dark);
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.web-service-tile p {
    font-size: 0.86rem;
    color: #888;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .web-services-row { grid-template-columns: 1fr; }
}

/* ====== Membership Tiers Preview ====== */
.membership-tiers-preview {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.membership-tier-pill {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.2);
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* ====== Hero Buttons ====== */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ====== CTA Section ====== */
.cta-section {
    text-align: center;
    background: var(--brand-blue);
    color: #fff;
    padding: 50px 20px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 { font-size: 1.6rem; margin-bottom: 12px; color: #fff; }
.cta-section p { opacity: 0.95; margin-bottom: 24px; }
.cta-section .btn { margin: 0 8px; }
.cta-section .btn-solid { background: #fff; color: var(--brand-blue); }
.cta-section .btn-solid:hover { color: var(--brand-blue); }
.cta-section .btn-outline { border-color: #fff; color: #fff; }
.cta-section .btn-outline:hover { color: #fff; }

/* ====== Content Area (pages/posts) ====== */
.content-area { max-width: 800px; margin: 0 auto; padding: 50px 20px; }

.content-area h2 { color: var(--brand-dark); font-size: 1.7rem; margin: 36px 0 14px; font-weight: 700; }
.content-area h2:first-child { margin-top: 0; }
.content-area h3 { color: var(--brand-blue); font-size: 1.2rem; margin: 24px 0 8px; font-weight: 600; }
.content-area p { margin-bottom: 16px; font-size: 1.02rem; color: #555; }
.content-area ul, .content-area ol { margin-bottom: 18px; padding-left: 1.5rem; }
.content-area li { margin-bottom: 8px; color: #555; }
.content-area strong { color: var(--brand-dark); }

.content-area blockquote {
    border-left: 4px solid var(--brand-blue);
    margin: 20px 0;
    padding: 16px 20px;
    background: var(--section-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* ====== Service Blocks (Provider Services) ====== */
.service-block { margin-bottom: 50px; }
.service-block h2 {
    color: var(--brand-blue);
    font-size: 1.6rem;
    margin-bottom: 10px;
    border-bottom: 3px solid var(--brand-blue);
    padding-bottom: 8px;
    display: inline-block;
}
.service-block .overview { font-size: 1.05rem; color: #555; margin-bottom: 20px; }
.service-block h3 { color: var(--brand-dark); margin: 18px 0 8px; font-size: 1.1rem; }
.service-block ul { list-style: none; padding-left: 0; }
.service-block ul li { padding: 6px 0 6px 28px; position: relative; }
.service-block ul li::before { content: "→"; position: absolute; left: 0; color: var(--brand-blue); font-weight: 700; }

.who-for {
    background: #f0f5fa;
    border-left: 4px solid var(--brand-blue);
    padding: 16px 20px;
    margin-top: 16px;
    border-radius: 0 8px 8px 0;
}
.who-for strong { color: var(--brand-dark); }

/* ====== Training Page ====== */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table th { background: var(--brand-dark); color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; }
table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
table tr:nth-child(even) { background: var(--section-light); }
table tr:hover { background: #eef4fa; }

.specialist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.specialist-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.specialist-card h3 { color: var(--brand-blue); font-size: 1.15rem; margin-bottom: 8px; }
.specialist-card p { color: #666; font-size: 0.93rem; }

.provider-training-item { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #eee; }
.provider-training-item:last-child { border-bottom: none; }
.provider-training-item h3 { color: var(--brand-dark); font-size: 1.2rem; margin-bottom: 6px; }
.provider-training-item p { color: #555; }

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

.delivery-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
}

.delivery-card h3, .delivery-card h4 { color: var(--brand-blue); margin-bottom: 6px; font-size: 1.05rem; }
.delivery-card p { font-size: 0.9rem; color: #666; }

.why-train { list-style: none; max-width: 800px; margin: 0 auto; padding: 0; }
.why-train li { padding: 10px 0 10px 30px; position: relative; }
.why-train li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    width: 22px;
    height: 22px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.why-train strong { color: var(--brand-dark); }
.why-train span { color: #666; }

/* ====== Membership Page ====== */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 800px; margin: 0 auto; }

.benefit-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-icon {
    min-width: 26px;
    height: 26px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-text { font-size: 0.95rem; color: #555; }
.benefit-text strong { color: var(--brand-dark); }

.price-card {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--brand-blue);
    border-radius: 14px;
    padding: 40px 30px;
    text-align: center;
}

.price-card h3 { font-size: 1.3rem; color: var(--brand-dark); margin-bottom: 8px; }
.price-card .price { font-size: 3rem; font-weight: 700; color: var(--brand-blue); margin: 10px 0; }
.price-card .price span { font-size: 1.1rem; font-weight: 400; color: #888; }
.price-card .price-note { font-size: 0.9rem; color: #888; margin-bottom: 24px; }

/* ====== Membership Types (Two Card Layout) ====== */
.membership-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
}

.membership-type-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    position: relative;
}

.membership-type-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.membership-type-featured {
    border: 2px solid var(--brand-blue);
    box-shadow: 0 4px 16px rgba(0,111,184,0.12);
}

.membership-type-header {
    background: var(--section-light);
    padding: 28px 20px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.membership-type-featured .membership-type-header {
    background: linear-gradient(135deg, var(--brand-bg), #4a7db0);
    color: #fff;
    border-bottom-color: var(--brand-blue);
}

.membership-type-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 4px;
}

.membership-type-featured .membership-type-header h3 {
    color: #fff;
}

.membership-type-tagline {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 16px;
}

.membership-type-featured .membership-type-tagline {
    color: rgba(255,255,255,0.9);
}

.membership-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin: 8px 0;
}

.membership-type-featured .membership-price {
    color: #fff;
}

.membership-price span {
    font-size: 1.1rem;
    font-weight: 400;
    color: #888;
}

.membership-type-featured .membership-price span {
    color: rgba(255,255,255,0.85);
}

.membership-price-note {
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 0;
}

.membership-type-featured .membership-price-note {
    color: rgba(255,255,255,0.85);
}

.membership-features {
    list-style: none;
    padding: 20px 18px;
    margin: 0;
}

.membership-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.93rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
}

.membership-features li:last-child { border-bottom: none; }

.membership-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: 700;
    font-size: 0.85rem;
}

.membership-features li strong {
    color: var(--brand-dark);
    display: block;
    margin-bottom: 4px;
}

.membership-signup-btn {
    display: block;
    width: calc(100% - 36px);
    margin: 0 auto 24px;
    text-align: center;
}

/* Responsive: membership cards */
@media (max-width: 1024px) {
    .membership-types-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .membership-types-grid { grid-template-columns: 1fr; }
}


/* ====== About Us Page ====== */
.content-block { max-width: 800px; margin: 0 auto; }
.content-block p { margin-bottom: 16px; font-size: 1.05rem; color: #555; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }

.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.value-card h3 { color: var(--brand-blue); font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { color: #666; font-size: 0.95rem; }

.what-list { list-style: none; max-width: 800px; margin: 0 auto; padding: 0; }
.what-list li { padding: 10px 0 10px 30px; position: relative; }
.what-list li::before { content: "→"; position: absolute; left: 0; color: var(--brand-blue); font-weight: 700; }
.what-list strong { color: var(--brand-dark); }
.what-list span { color: #666; }

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

.exp-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 12px;
    text-align: center;
}

.exp-card h4 { color: var(--brand-dark); font-size: 1rem; }
.exp-card p { font-size: 0.83rem; color: #888; margin-top: 4px; }

.approach-quote {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-align: center;
    max-width: 700px;
    margin: 20px auto 0;
}

.contact-block { text-align: center; max-width: 700px; margin: 0 auto; }
.contact-block p { margin-bottom: 6px; color: #555; font-size: 1rem; }
.contact-block strong { color: var(--brand-dark); }
.contact-block .btn { margin-top: 20px; margin-left: 8px; }

/* ====== Contact Page ====== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }

.contact-info h3 { color: var(--brand-blue); font-size: 1.2rem; margin-bottom: 14px; }
.contact-info p { margin-bottom: 8px; font-size: 1rem; color: #555; }
.contact-info strong { color: var(--brand-dark); }
.contact-info a { color: var(--brand-blue); text-decoration: none; }
.contact-info .hours-note { margin-top: 14px; font-size: 0.9rem; color: #888; }

.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
}

.contact-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--brand-dark); }
.contact-form select, .contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-family: inherit;
}

.contact-form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: #888; margin-top: 10px; }

/* ====== Blog / Archive ====== */
.article-list { max-width: 800px; margin: 0 auto; }

.article-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 26px 24px;
    margin-bottom: 22px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.article-card h2 { font-size: 1.3rem; margin-bottom: 8px; }
.article-card h2 a { color: var(--brand-dark); text-decoration: none; }
.article-card h2 a:hover { color: var(--brand-blue); }
.article-card .post-meta { font-size: 0.83rem; color: #999; margin-bottom: 10px; }
.article-card .excerpt { color: #666; font-size: 0.93rem; margin-top: 8px; }
.article-card .read-more { color: var(--brand-blue); font-weight: 600; font-size: 0.88rem; text-decoration: none; margin-top: 12px; display: inline-block; }

.tags-row, .post-tags { margin: 10px 0 16px; }
.tag-pill {
    display: inline-block;
    background: #eef4fa;
    color: var(--brand-blue);
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-right: 6px;
}

.back-link { margin-bottom: 20px; }
.back-link a { color: var(--brand-blue); text-decoration: none; font-weight: 600; font-size: 0.88rem; }

/* ====== Comments ====== */
.comments-area { margin-top: 40px; }
.comments-area h2 { font-size: 1.4rem; margin-bottom: 20px; color: var(--brand-dark); }
.comment-list { list-style: none; padding: 0; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--border); }
.comment .children { list-style: none; padding-left: 24px; }
.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 12px;
    font-family: inherit;
}
.comment-form .submit { background: var(--brand-blue); color: #fff; padding: 12px 28px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; }

/* ====== Pagination ====== */
.pagination { text-align: center; padding: 30px 0; }
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--brand-blue);
    border: 1px solid var(--border);
    font-size: 0.9rem;
}
.pagination .page-numbers.current { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }
.pagination .page-numbers:hover { background: var(--section-light); text-decoration: none; }

/* ====== 404 ====== */
.error-404 { text-align: center; padding: 60px 20px; }
.error-404 h1 { font-size: 3rem; color: var(--brand-blue); margin-bottom: 12px; }
.error-404 p { font-size: 1.1rem; color: #666; margin-bottom: 24px; }

/* ====== Footer ====== */
.site-footer { background: #f5f5f5; color: #666; border-top: 4px solid var(--brand-blue); }

.footer-widgets {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-widget h3 {
    color: var(--brand-dark);
    font-size: 1.05rem;
    margin-bottom: 16px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 111, 184, 0.3);
}

.footer-widget p, .footer-widget li { font-size: 0.88rem; color: #666; line-height: 1.8; }
.footer-widget ul { list-style: none; padding: 0; }
.footer-widget ul li { padding: 3px 0; }
.footer-widget a { color: var(--brand-blue); text-decoration: none; }
.footer-widget a:hover { color: var(--brand-dark); text-decoration: underline; }

/* About widget */
.footer-about p { margin-bottom: 10px; }

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0, 111, 184, 0.08);
    color: var(--brand-blue);
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
    background: var(--brand-blue);
    color: #fff;
    text-decoration: none;
}

.footer-synergy-icon {
    background: rgba(0, 111, 184, 0.12);
    color: var(--brand-blue);
}

.footer-synergy-icon:hover {
    background: var(--brand-blue);
    color: #fff;
}

/* Contact widget */
.footer-contact {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.footer-contact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 600;
}

.footer-widget .footer-contact-btn {
    margin-top: 12px;
    display: inline-block;
    width: fit-content;
    padding: 10px 24px;
    font-size: 0.88rem;
    background: var(--brand-blue);
    color: #fff;
    font-weight: 700;
    border: 2px solid var(--brand-blue);
    box-shadow: 0 2px 8px rgba(0, 111, 184, 0.35);
    text-decoration: none;
}

.footer-widget .footer-contact-btn:hover,
.footer-widget .footer-contact-btn:focus {
    background: var(--link-hover);
    border-color: var(--link-hover);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 111, 184, 0.45);
}

/* Synergy CTA widget */
.footer-mega-widget {
    background: rgba(0, 111, 184, 0.06);
    border-radius: 10px;
    padding: 24px;
    border: 1px solid rgba(0, 111, 184, 0.15);
}

.footer-mega-widget h3 {
    border-bottom-color: rgba(0, 111, 184, 0.3);
}

.footer-mega-text {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-mega-btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.88rem;
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    border-radius: 6px;
    margin-bottom: 14px;
}

.footer-mega-btn:hover {
    background: var(--brand-blue);
    color: #fff;
    text-decoration: none;
}

.footer-mega-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-mega-feature {
    font-size: 0.78rem;
    color: var(--brand-blue);
    background: rgba(0, 111, 184, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
}

/* Links bar */
.footer-links-bar { background: #b3c7d7; padding: 18px 20px; text-align: center; }
.footer-links-bar ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; max-width: 1200px; margin: 0 auto; }
.footer-links-bar ul li { position: relative; }
.footer-links-bar ul li::after { content: "\00b7"; color: rgba(20, 39, 61, 0.4); margin: 0 14px; font-size: 1rem; }
.footer-links-bar ul li:last-child::after { display: none; }
.footer-links-bar ul li a { color: #14273d; text-decoration: none; font-size: 0.87rem; font-weight: 500; }
.footer-links-bar ul li a:hover { color: #0b3f70; text-decoration: underline; }

.footer-copyright { padding: 14px 20px; text-align: center; font-size: 0.82rem; color: #999; background: #fff; border-top: 1px solid var(--border); }

/* Responsive footer */
@media (max-width: 992px) {
    .why-list { grid-template-columns: 1fr 1fr; }
    .footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .footer-widgets { grid-template-columns: 1fr; gap: 24px; }
    .footer-links-bar ul { flex-direction: column; gap: 8px; }
    .footer-links-bar ul li::after { display: none; }
}

@media (max-width: 480px) {
    .scroll-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 1.2rem; }
    .header-contact { display: none; }
    .nav-toggle-text { display: none; }
}

/* ====== Scroll-to-Top Button ====== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--brand-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s;
    z-index: 998;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--link-hover); }
.scroll-top:focus-visible { outline: 3px solid rgba(0,111,184,0.4); outline-offset: 2px; }

/* ====== Legal / Privacy / Terms Pages ====== */
.legal-content { max-width: 850px; margin: 0 auto; }
.legal-content p { margin-bottom: 16px; font-size: 1rem; color: #555; line-height: 1.7; }
.legal-content h2 { color: var(--brand-blue); font-size: 1.4rem; font-weight: 700; margin: 36px 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--brand-blue); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { color: var(--brand-dark); font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; }
.legal-content ul { margin-bottom: 18px; padding-left: 1.5rem; }
.legal-content ul li { margin-bottom: 6px; color: #555; font-size: 0.98rem; }
.legal-content ul li strong { color: var(--brand-dark); }
.legal-content a { color: var(--brand-blue); text-decoration: underline; }

.legal-updated { background: #f0f5fa; border-left: 4px solid var(--brand-blue); padding: 12px 18px; border-radius: 0 6px 6px 0; margin-bottom: 30px; font-size: 0.93rem; color: #555; }

.legal-contact-box { background: #f7f9fb; border: 1px solid var(--border); border-radius: 10px; padding: 20px 24px; margin: 16px 0 20px; }
.legal-contact-box p { margin: 0; font-size: 0.95rem; color: #555; }
.legal-contact-box strong { color: var(--brand-dark); }
.legal-contact-box a { color: var(--brand-blue); text-decoration: none; }

/* ====== Page Last Updated ====== */
.page-last-updated {
    font-size: 0.82rem;
    color: #999;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-style: italic;
}

/* ====== Single Post Thumbnail ====== */
.single-post-thumbnail {
    border-radius: 10px;
    margin-bottom: 24px;
    width: 100%;
    height: auto;
}

/* ====== Related Posts ====== */
.related-posts {
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.related-posts h2 {
    font-size: 1.4rem;
    color: var(--brand-dark);
    margin-bottom: 20px;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.related-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 18px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.related-post-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    text-decoration: none;
}

.related-post-card h3 {
    color: var(--brand-dark);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.related-post-card p {
    font-size: 0.86rem;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

.related-post-date {
    font-size: 0.78rem;
    color: #999;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .related-posts-grid { grid-template-columns: 1fr; }
}

/* ====== Search Result Type Badge ====== */
.search-result-card {
    position: relative;
}

.search-result-type {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-blue);
    background: rgba(0, 111, 184, 0.1);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.search-result-count {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

/* ====== 404 Page Improvements ====== */
.error-404-big {
    font-size: 4rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 16px;
}

.error-404-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 600;
    transition: box-shadow 0.2s, transform 0.2s;
}

.error-404-link-card svg {
    color: var(--brand-blue);
}

.error-404-link-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--brand-blue);
}

@media (max-width: 600px) {
    .error-404-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
    .error-404-links { grid-template-columns: 1fr; }
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .pillars { grid-template-columns: 1fr 1fr; }
    .sectors { grid-template-columns: 1fr 1fr; }
    .specialist-grid { grid-template-columns: 1fr; }
    .delivery-grid { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: 1fr 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .exp-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-inner { flex-direction: row; align-items: center; }
    .header-right { gap: 12px; }
    .header-contact { font-size: 0.85rem; }
    .header-phone { font-size: 1.15rem; }
    .header-hours { display: none; }

    .nav-toggle { display: flex; }
    .main-nav .nav-inner { justify-content: flex-start; }
    .main-nav .nav-inner > ul { display: none; flex-direction: column; width: 100%; }
    .main-nav .nav-inner > ul.show { display: flex; }
    .main-nav ul li { width: 100%; }
    .main-nav ul li a { text-align: left; }
    .main-nav ul li ul { position: static; display: block; box-shadow: none; border-radius: 0; padding-left: 20px; transform: none; left: auto; }

    .nav-search-bar.is-open .nav-search-form { flex-wrap: wrap; }
    .nav-search-submit { width: 100%; }
    .main-nav .menu-item-has-children > a::after { content: ""; }

    .pillars, .sectors { grid-template-columns: 1fr; }
    .why-list { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .why-list { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: 1fr; }
    .footer-links-bar ul { flex-direction: column; gap: 8px; }
    .footer-links-bar ul li::after { display: none; }
    .values-grid, .exp-grid { grid-template-columns: 1fr; }

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

    .scroll-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .hero p { font-size: 1rem; }
    .btn { padding: 11px 24px; font-size: 0.88rem; }
}

/* ====== Course Category Grid (Training Page) ====== */
.course-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.course-category-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.course-category-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    border-color: var(--brand-blue);
    text-decoration: none;
}

.course-category-card h3 {
    color: var(--brand-blue);
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.course-category-card h3 a {
    color: inherit;
    text-decoration: none;
}

.course-category-card h3 a:hover {
    text-decoration: underline;
}

.course-category-card p {
    font-size: 0.93rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.course-category-link {
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

.course-category-card:hover .course-category-link {
    text-decoration: underline;
}

.course-category-link.category-link-center {
    display: block;
    text-align: center;
    text-decoration: none;
    margin-top: auto;
    padding: 12px 0 2px;
}

@media (max-width: 992px) {
    .course-category-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .course-category-grid { grid-template-columns: 1fr; }
}


/* ====== WHOIS Domain Lookup ====== */

/* ====== Provider Service Cards ====== */
.provider-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.provider-service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
}

.provider-service-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: var(--brand-blue);
}

.provider-service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.provider-service-card h3 a {
    text-decoration: none;
    color: var(--brand-dark);
    transition: color 0.2s;
}

.provider-service-card h3 a:hover {
    color: var(--brand-blue);
}

.provider-service-card p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.provider-service-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-decoration: none;
    transition: opacity 0.2s;
}

.provider-service-link:hover {
    opacity: 0.8;
}

@media (max-width: 992px) {
    .provider-service-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ====== WHOIS Domain Lookup ===== */
.whois-centre-wrap {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.whois-lookup {
    max-width: 620px;
    margin: 0 auto;
}

.whois-form {
    display: flex;
    gap: 10px;
    align-items: stretch;
    justify-content: center;
}

.whois-input {
    flex: 1;
    max-width: 280px;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1.05rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.whois-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 111, 184, 0.12);
}

.whois-tld {
    padding: 14px 10px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.98rem;
    background: #fff;
    cursor: pointer;
    min-width: 100px;
    transition: border-color 0.2s;
}

.whois-tld:focus { border-color: var(--brand-blue); }

.whois-check-btn {
    white-space: nowrap;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
}

/* WHOIS Result - Available Message */
.whois-result {
    margin-top: 24px;
    border-radius: 12px;
    display: none;
    text-align: center;
}

.whois-result.available {
    display: block;
    background: linear-gradient(135deg, #e8f5e9, #f1f8f1);
    border: 2px solid #81c784;
    padding: 32px 24px;
}

.whois-available-message {
    text-align: center;
}

.whois-available-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #4caf50;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.whois-available-headline {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 10px;
    line-height: 1.3;
}

.whois-available-subtext {
    font-size: 1.1rem;
    color: #388e3c;
    margin-bottom: 12px;
    font-weight: 500;
}

.whois-available-price {
    font-size: 0.95rem;
    color: #4caf50;
    font-weight: 600;
}

/* WHOIS Result - Unavailable */
.whois-result.unavailable {
    display: block;
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ffccbc;
    padding: 18px;
    font-weight: 600;
    font-size: 1.05rem;
}

/* WHOIS Result - Loading */
.whois-result.loading {
    display: block;
    background: var(--section-light);
    color: #666;
    padding: 18px;
    font-weight: 500;
}

/* WHOIS Result - Error */
.whois-result.error {
    display: block;
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
    padding: 18px;
    font-weight: 600;
}

/* Domain Suggestions */
.whois-suggestions {
    display: none;
    margin-top: 20px;
}

.whois-suggestions.visible {
    display: block;
}

.whois-suggestions-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
    text-align: center;
}

.whois-suggestion-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.whois-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.whois-suggestion-item:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.whois-suggestion-domain {
    font-weight: 600;
    font-size: 1rem;
    color: var(--brand-dark);
    flex: 1;
    text-align: left;
}

.whois-suggestion-price {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.whois-suggestion-pick {
    background: var(--brand-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.whois-suggestion-pick:hover {
    background: #005a91;
}

.whois-suggestions-loading {
    text-align: center;
    padding: 16px;
    color: #666;
    font-weight: 500;
}

.whois-suggestions-none {
    text-align: center;
    padding: 16px;
    color: #666;
}

.whois-suggestions-none a {
    color: var(--brand-blue);
    font-weight: 600;
}

/* Domain Pricing Table */
.domain-pricing-wrap {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.domain-pricing-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 18px;
}

.domain-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
}

.domain-price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.domain-price-item:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.domain-price-item .tld {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-dark);
}

.domain-price-item .price {
    font-size: 0.95rem;
    color: var(--brand-blue);
    font-weight: 600;
}

.domain-price-item .price span {
    font-size: 0.78rem;
    color: #999;
    font-weight: 400;
}

/* Domain Registration Info Cards */
.domain-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.domain-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: left;
}

.domain-info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 14px;
}

.domain-info-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 14px;
    line-height: 1.6;
}

.domain-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.domain-info-card li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 0.93rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
}

.domain-info-card li:last-child { border-bottom: none; }

.domain-info-card li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .domain-info-grid { grid-template-columns: 1fr; }
}


/* ====== Hosting Packages ====== */
.hosting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.hosting-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

/* Green column */
.hosting-card-green {
    border-color: #66bb6a;
}
.hosting-card-green:hover {
    border-color: #43a047;
}
.hosting-card-green .hosting-card-header {
    background: linear-gradient(135deg, #66bb6a, #43a047);
    color: #fff;
}
.hosting-card-green .hosting-card-header h3 { color: #fff; }
.hosting-card-green .hosting-price { color: #fff; }
.hosting-card-green .hosting-price span { color: rgba(255, 255, 255, 0.85); }
.hosting-card-green .hosting-features li::before { color: #43a047; }

/* Blue column */
.hosting-card-blue {
    border-color: var(--brand-blue);
    box-shadow: 0 4px 20px rgba(0, 111, 184, 0.15);
}
.hosting-card-blue:hover {
    border-color: #005a91;
}
.hosting-card-blue .hosting-card-header {
    background: linear-gradient(135deg, var(--brand-bg), #4a7db0);
    color: #fff;
}
.hosting-card-blue .hosting-card-header h3 { color: #fff; }
.hosting-card-blue .hosting-price { color: #fff; }
.hosting-card-blue .hosting-price span { color: rgba(255, 255, 255, 0.85); }
.hosting-card-blue .hosting-features li::before { color: var(--brand-blue); }

/* Purple column */
.hosting-card-purple {
    border-color: #9c27b0;
}
.hosting-card-purple:hover {
    border-color: #7b1fa2;
}
.hosting-card-purple .hosting-card-header {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: #fff;
}
.hosting-card-purple .hosting-card-header h3 { color: #fff; }
.hosting-card-purple .hosting-price { color: #fff; }
.hosting-card-purple .hosting-price span { color: rgba(255, 255, 255, 0.85); }
.hosting-card-purple .hosting-features li::before { color: #9c27b0; }

.hosting-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-blue);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 0 0 8px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.hosting-card-header {
    padding: 34px 24px 22px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hosting-card-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--brand-dark);
}

.hosting-price {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.hosting-price span {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.hosting-features {
    list-style: none;
    padding: 22px 22px;
    margin: 0;
    flex: 1;
}

.hosting-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.93rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.hosting-features li:last-child { border-bottom: none; }

.hosting-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 0.85rem;
}

.hosting-book-btn {
    display: block;
    width: calc(100% - 48px);
    margin: 0 auto 24px;
    text-align: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.2s, transform 0.15s;
}

.hosting-book-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
}

.hosting-book-btn-green { background: #43a047; }
.hosting-book-btn-blue { background: var(--brand-blue); }
.hosting-book-btn-purple { background: #9c27b0; }

/* ====== Booking Form (Improved) ====== */
.booking-form-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.hosting-booking-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Booking Summary - styled as 3 info cards */
.booking-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.booking-summary-item {
    background: var(--section-light);
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    border: 1px solid var(--border);
}

.booking-summary-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 6px;
}

.booking-summary-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-dark);
}

/* Booking Fields */
.booking-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-row { margin-bottom: 4px; }
.form-row-full { grid-column: 1 / -1; }

.form-row label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: var(--brand-dark);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 111, 184, 0.1);
}

.form-row textarea {
    resize: vertical;
    min-height: 70px;
}

/* Booking Actions */
.booking-actions {
    margin-top: 28px;
    text-align: center;
}

.booking-submit-btn {
    padding: 16px 48px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    transition: opacity 0.2s, transform 0.15s;
}

.booking-submit-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
}

.booking-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.booking-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #888;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== Web Service Overview Cards ====== */
.web-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.web-service-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.web-service-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.web-service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.web-service-card p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 14px;
}

.web-service-link {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.web-service-link:hover { opacity: 0.8; }

.web-service-current {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: var(--brand-blue);
    padding: 4px 14px;
    border-radius: 20px;
}

/* Color variants */
.web-service-card-blue {
    border-color: #90caf9;
}
.web-service-card-blue h3 { color: #1565c0; }
.web-service-card-blue .web-service-link { color: #1565c0; }

.web-service-card-green {
    border-color: #81c784;
    background: linear-gradient(135deg, #f1f8f1, #ffffff);
}
.web-service-card-green h3 { color: #2e7d32; }
.web-service-card-green .web-service-link { color: #2e7d32; }

.web-service-card-purple {
    border-color: #ce93d8;
}
.web-service-card-purple h3 { color: #7b1fa2; }
.web-service-card-purple .web-service-link { color: #7b1fa2; }

.web-service-card-orange {
    border-color: #ffb74d;
}
.web-service-card-orange h3 { color: #e65100; }
.web-service-card-orange .web-service-link { color: #e65100; }

@media (max-width: 992px) {
    .web-service-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ====== Hosting Responsive ====== */
@media (max-width: 992px) {
    .hosting-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .booking-fields { grid-template-columns: 1fr; }
    .booking-summary { grid-template-columns: 1fr; }
    .domain-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .whois-form { flex-direction: column; align-items: stretch; }
    .whois-input { max-width: 100%; }
    .whois-tld { width: 100%; }
    .whois-check-btn { width: 100%; }
    .hosting-booking-form { padding: 22px; }
    .booking-fields { grid-template-columns: 1fr; }
    .whois-available-headline { font-size: 1.25rem; }
    .domain-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .whois-suggestion-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    .whois-suggestion-pick { width: 100%; }
}


@media (max-width: 768px) {
    .whois-form { flex-direction: column; }
    .whois-tld { width: 100%; }
    .whois-check-btn { width: 100%; }
    .hosting-grid { grid-template-columns: 1fr; }
    .hosting-booking-form { padding: 20px; }
    .booking-fields { grid-template-columns: 1fr; }
}


/* ====== WooCommerce General ====== */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-noreviews,
.woocommerce .woocommerce-info p,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error {
    border-radius: 6px;
    border-left-width: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 16px 20px;
}

.woocommerce .woocommerce-message {
    border-left-color: #4caf50;
    background: #f1f8f1;
}

.woocommerce .woocommerce-info {
    border-left-color: var(--brand-blue);
    background: #f0f6fb;
}

.woocommerce .woocommerce-error {
    border-left-color: #f44336;
    background: #fef5f4;
}

.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
    background: var(--brand-blue);
    color: #fff;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 600;
    text-decoration: none;
}

/* ====== Breadcrumbs ====== */
.ca-breadcrumb-bar {
    background: var(--section-light);
    padding: 12px 0;
    font-size: 0.88rem;
    color: #888;
}

.ca-breadcrumb-bar a {
    color: var(--brand-blue);
    text-decoration: none;
}

.ca-breadcrumb-bar a:hover { text-decoration: underline; }

.ca-breadcrumb-sep {
    color: #ccc;
    margin: 0 6px;
}

.ca-breadcrumb-current {
    color: var(--brand-dark);
    font-weight: 600;
}

/* ====== Product Archive / Shop ====== */
.woocommerce-products-header p {
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.woocommerce-result-count {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
}

.woocommerce-ordering select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
}

/* ====== Product Cards (Grid) ====== */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products li.product .ca-product-card {
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    text-align: center;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: var(--brand-blue);
}

.ca-product-card-image {
    background: var(--section-light);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ca-product-card-image img {
    max-height: 160px;
    width: auto;
    object-fit: contain;
}

.woocommerce span.onsale {
    background: var(--brand-blue);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    min-height: auto;
    min-width: auto;
    line-height: 1.5;
}

.ca-product-card-body {
    padding: 20px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
    padding: 0;
    margin-bottom: 8px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: var(--brand-blue);
}

.ca-product-card-price {
    margin-bottom: 16px;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    color: var(--brand-blue);
    font-size: 1.4rem;
    font-weight: 700;
}

.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
    color: #999;
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.7;
}

.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins {
    text-decoration: none;
}

.ca-product-card-actions {
    margin-top: 12px;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    background: var(--brand-blue);
    color: #fff;
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-block;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #fff;
}

.woocommerce ul.products li.product .button.added {
    background: #4caf50;
}

.woocommerce ul.products li.product .loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Star rating */
.woocommerce .star-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.woocommerce .star-rating::before {
    color: #ddd;
}

/* ====== Single Product Page ====== */
.ca-single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.ca-product-images {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
    margin-bottom: 12px;
}

.woocommerce div.product div.images img {
    border-radius: 8px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ca-product-summary {
    padding: 8px 0;
}

.woocommerce div.product .product_title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 16px;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    color: #999;
    font-size: 1.3rem;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none;
}

.woocommerce div.product .woocommerce-product-rating {
    margin-bottom: 12px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 24px;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    padding: 16px;
    background: var(--section-light);
    border-radius: 8px;
    border-left: 4px solid var(--brand-blue);
}

.woocommerce div.product form.cart {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.woocommerce div.product form.cart .quantity {
    margin-right: 0;
}

.woocommerce .quantity .qty {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    width: 70px;
}

.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce div.product form.cart .button {
    background: var(--brand-blue);
    color: #fff;
    border-radius: 6px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    height: auto;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover {
    opacity: 0.9;
    color: #fff;
}

.woocommerce div.product .product_meta {
    font-size: 0.88rem;
    color: #666;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 24px;
}

.woocommerce div.product .product_meta .sku_wrapper,
.woocommerce div.product .product_meta .posted_in,
.woocommerce div.product .product_meta .tagged_as {
    display: block;
    margin-bottom: 6px;
}

.woocommerce div.product .product_meta .sku {
    color: var(--brand-dark);
    font-weight: 600;
}

/* Product Tabs */
.ca-product-tabs {
    margin-top: 50px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: var(--section-light);
    border: 1px solid var(--border);
    border-radius: 6px 6px 0 0;
    padding: 0;
    margin: 0;
    border-bottom: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--brand-dark);
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.92rem;
    display: block;
    text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #fff;
}

.woocommerce div.product .woocommerce-tabs .panel {
    border: 1px solid var(--border);
    border-radius: 0 0 8px 8px;
    padding: 24px;
    margin: 0;
    background: #fff;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 1.3rem;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

/* Related Products */
.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 28px;
    margin-top: 50px;
}

/* ====== Cart Page ====== */
.ca-cart-form {
    margin-top: 30px;
}

.ca-cart-table {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.ca-cart-table thead {
    background: var(--brand-dark);
}

.ca-cart-table thead th {
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 14px 16px;
    text-align: left;
    border: none;
}

.ca-cart-table tbody tr {
    border-bottom: 1px solid var(--border);
}

.ca-cart-table tbody tr:last-child {
    border-bottom: none;
}

.ca-cart-table td {
    padding: 16px;
    vertical-align: middle;
}

.ca-cart-table .product-thumbnail img {
    max-width: 70px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.ca-cart-table .product-name a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.ca-cart-table .product-name a:hover { text-decoration: underline; }

.ca-cart-remove {
    font-size: 1.4rem;
    color: #f44336;
    text-decoration: none;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.ca-cart-remove:hover {
    background: #fef5f4;
    text-decoration: none;
    color: #d32f2f;
}

.ca-cart-table .quantity .qty {
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 60px;
    font-size: 0.95rem;
}

.ca-cart-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--section-light);
}

.ca-coupon-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ca-coupon-input {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
}

.ca-coupon-btn {
    padding: 8px 16px;
    font-size: 0.88rem;
}

.ca-update-btn {
    padding: 10px 24px;
    font-size: 0.92rem;
}

/* Cart Totals */
.ca-cart-collaterals {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.cart_totals h2,
.cart_totals h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 16px;
}

.cart_totals table {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.cart_totals table th {
    background: var(--section-light);
    font-weight: 600;
    color: var(--brand-dark);
}

.cart_totals .wc-proceed-to-checkout {
    margin-top: 20px;
}

.cart_totals .checkout-button {
    background: var(--brand-blue);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: opacity 0.2s;
}

.cart_totals .checkout-button:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #fff;
}

/* ====== Checkout Page ====== */
.ca-checkout-form {
    margin-top: 30px;
}

.ca-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.ca-checkout-review {
    background: var(--section-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
}

.ca-checkout-review-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-blue);
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border: none;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.woocommerce-checkout-review-order-table .product-name {
    color: var(--brand-dark);
    font-weight: 600;
}

.woocommerce-checkout-review-order-table .product-total {
    text-align: right;
    color: var(--brand-blue);
    font-weight: 600;
}

.woocommerce-checkout-review-order-table tfoot th {
    border-bottom: 1px solid var(--border);
}

.woocommerce-checkout-review-order-table .order-total .amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-blue);
}

#payment {
    margin-top: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
}

#payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

#payment .payment_methods li {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 8px;
}

#payment .payment_methods li label {
    font-weight: 600;
    color: var(--brand-dark);
    cursor: pointer;
}

#payment .payment_box {
    background: var(--section-light);
    border-radius: 6px;
    padding: 12px;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #555;
}

#place_order {
    background: var(--brand-blue);
    color: #fff;
    padding: 14px 40px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.2s;
}

#place_order:hover {
    opacity: 0.9;
}

/* Checkout form fields */
.woocommerce form .form-row {
    margin-bottom: 16px;
    padding: 0;
}

.woocommerce form .form-row label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-dark);
    margin-bottom: 6px;
    display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--brand-blue);
}

.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
    border-color: #4caf50;
}

.woocommerce-checkout h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--brand-blue);
}

/* ====== Thank You Page ====== */
.ca-thank-you {
    max-width: 700px;
    margin: 0 auto;
}

.ca-order-status-bar {
    margin-bottom: 30px;
}

.ca-order-status {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.ca-order-status-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
}

.ca-order-status-failed {
    background: #fef5f4;
    border: 1px solid #ffccbc;
}

.ca-order-checkmark {
    width: 64px;
    height: 64px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ca-order-received {
    font-size: 1.2rem;
    color: #2e7d32;
    font-weight: 600;
}

.ca-order-overview {
    list-style: none;
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.ca-order-overview-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.ca-order-overview-item:last-child { border-bottom: none; }

.ca-order-overview-item strong {
    color: var(--brand-dark);
}

.ca-order-overview-item span {
    color: #666;
}

.ca-thank-you-actions {
    text-align: center;
    margin-top: 30px;
}

.ca-thank-you-actions .btn {
    margin: 0 8px;
}

/* ====== WooCommerce Responsive ====== */
@media (max-width: 992px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .ca-single-product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ca-checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr;
    }

    .ca-product-card-image {
        min-height: 140px;
    }

    /* Cart table to stacked layout */
    .ca-cart-table thead { display: none; }

    .ca-cart-table tbody tr {
        display: block;
        padding: 16px;
        border-bottom: 2px solid var(--border);
    }

    .ca-cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
        text-align: right;
    }

    .ca-cart-table td::before {
        content: attr(data-title);
        font-weight: 600;
        color: var(--brand-dark);
        font-size: 0.88rem;
    }

    .ca-cart-table .product-remove,
    .ca-cart-table .product-thumbnail {
        text-align: left;
    }

    .ca-cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ca-coupon-form {
        flex-direction: column;
        gap: 8px;
    }

    .ca-coupon-input,
    .ca-coupon-btn,
    .ca-update-btn {
        width: 100%;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 1.05rem;
    }

    .woocommerce div.product .product_title {
        font-size: 1.5rem;
    }

    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 1.6rem;
    }
}


/* ====== Software Category Grid (Care Software Page) ====== */
.software-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }

.software-category-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.software-category-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    border-color: var(--brand-blue);
    text-decoration: none;
}

.software-category-card h3 { color: var(--brand-blue); font-size: 1.25rem; margin-bottom: 10px; font-weight: 700; }
.software-category-card p { font-size: 0.93rem; color: #666; line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }
.software-category-tagline { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--brand-blue); margin-bottom: 8px; }
.software-category-link { color: var(--brand-blue); font-weight: 600; font-size: 0.9rem; margin-top: auto; }
.software-category-card:hover .software-category-link { text-decoration: underline; }

@media (max-width: 992px) { .software-category-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .software-category-grid { grid-template-columns: 1fr; } }

/* ====== Stat Strip (Software Product Pages) ====== */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 12px;
    text-align: center;
}

.stat-box .stat-number { font-size: 1.7rem; font-weight: 700; color: var(--brand-blue); line-height: 1.2; }
.stat-box .stat-label { font-size: 0.78rem; color: #888; margin-top: 4px; }

@media (max-width: 992px) { .stat-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ====== Role Chips ====== */
.role-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.role-chip {
    display: inline-block;
    background: #eef4fa;
    color: var(--brand-blue);
    font-size: 0.83rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

/* ====== Software Product Hero Meta ====== */
.product-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.product-meta-pill {
    background: rgba(255,255,255,0.45);
    color: #14273d;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(20,39,61,0.25);
}

/* ====== Back to Care Software link ====== */
.software-back-link { margin-bottom: 10px; }
.software-back-link a { color: var(--brand-blue); text-decoration: none; font-weight: 600; font-size: 0.88rem; }
.software-back-link a:hover { text-decoration: underline; }


/* ====== Pricing Table (Provider Services) ====== */
.pricing-table {
    margin-top: 24px;
    font-size: 0.92rem;
}

/* Style price columns: second-to-last and third-to-last are Price and Member Price; last is Book */
.pricing-table th:last-child,
.pricing-table td:last-child {
    text-align: center;
    width: 100px;
    white-space: nowrap;
}

.pricing-table td:last-child a { display: inline-block; }

/* Price and member price columns */
.pricing-table th:nth-last-child(3),
.pricing-table th:nth-last-child(2),
.pricing-table td:nth-last-child(3),
.pricing-table td:nth-last-child(2) {
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
    width: 110px;
}

/* Header text stays white (inherits dark header background); only data cells get the dark/green colours */
.pricing-table td:nth-last-child(3) {
    color: var(--brand-dark);
}

.pricing-table td:nth-last-child(2) {
    color: #4caf50;
}

/* ====== Small Button ====== */
.btn-small {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-small:hover {
    background: var(--brand-dark);
    color: #fff;
    text-decoration: none;
}

/* ====== Membership Discount Banner ====== */
.membership-discount-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(135deg, var(--section-light), #e8f0fa);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 36px;
    max-width: 900px;
    margin: 0 auto;
}

.membership-discount-text h3 {
    color: var(--brand-dark);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.membership-discount-text p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.6;
}

.membership-discount-cta {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .membership-discount-banner { flex-direction: column; text-align: center; }
}


/* ====== Training Calendar ====== */

/* ===== Course Navigator Cards ===== */
.course-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.course-nav-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text, #2d3748);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.course-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-blue, #1e6b8c);
}

.course-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--brand-light, #f0f6fa);
    color: var(--brand-blue, #1e6b8c);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.course-nav-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    color: var(--brand-blue, #1e6b8c);
}

.course-nav-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted, #718096);
    margin-bottom: 14px;
    flex-grow: 1;
}

.course-nav-price {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand-green, #2d8659);
    padding: 4px 12px;
    background: var(--brand-light, #f0f6fa);
    border-radius: 20px;
}

@media (max-width: 900px) {
    .course-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .course-nav-grid {
        grid-template-columns: 1fr;
    }
}

.training-calendar {
    max-width: 800px;
    margin: 0 auto;
}

.cal-event {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.cal-event:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cal-event-full {
    opacity: 0.65;
    background: var(--section-light);
}

.cal-date {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--brand-blue);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.cal-day {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.cal-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.cal-event-full .cal-date {
    background: #999;
}

.cal-details {
    flex: 1;
}

.cal-details h3 {
    font-size: 1.05rem;
    color: var(--brand-dark);
    margin-bottom: 6px;
}

.cal-meta {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 6px;
}

.cal-weekday { font-weight: 600; }

.cal-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cal-type-face-to-face {
    background: #e3f2fd;
    color: #1565c0;
}

.cal-type-blended {
    background: #f3e5f5;
    color: #7b1fa2;
}

.cal-type-online {
    background: #e8f5e9;
    color: #2e7d32;
}

.cal-booking {
    flex-shrink: 0;
    text-align: center;
    min-width: 90px;
}

.cal-spaces {
    display: block;
    font-size: 0.78rem;
    color: #666;
    margin-bottom: 8px;
}

.cal-full-badge {
    display: inline-block;
    background: #ffebee;
    color: #c62828;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
}

@media (max-width: 640px) {
    .cal-event {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .cal-date {
        width: 60px;
        height: 60px;
    }

    .cal-day { font-size: 1.4rem; }
    .cal-booking { width: 100%; }
}


/* ====== Contact Map ====== */
.contact-map {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

@media (max-width: 640px) {
    .contact-map {
        max-width: 100%;
    }
}


/* ====== Social Care Course Detail Cards ====== */
.course-detail-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px;
    margin-bottom: 28px;
}

.course-detail-card h3 {
    color: var(--brand-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.course-detail-price {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.course-detail-card h4 {
    color: var(--brand-blue);
    font-size: 1rem;
    font-weight: 600;
    margin: 18px 0 8px;
}

.course-detail-card ul {
    margin: 0 0 10px;
    padding-left: 18px;
}

.course-detail-card li {
    margin-bottom: 6px;
    font-size: 0.93rem;
    line-height: 1.6;
    color: #444;
}

.course-detail-booking {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
    .course-detail-card {
        padding: 20px 16px;
    }

    .course-detail-card h3 {
        font-size: 1.15rem;
    }
}

/* ===== Step Indicators (Hosting Page) ===== */
.hosting-steps-bar {
    padding: 28px 0 20px;
    background: var(--brand-light, #f4f7fa);
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.hosting-steps-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.hosting-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hosting-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 1.25rem;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.hosting-step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.hosting-step-divider {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 16px;
    margin-bottom: 22px;
    transition: background 0.3s ease;
}

.hosting-step-indicator.step-complete .hosting-step-num {
    background: var(--brand-blue, #1e6b8c);
    color: #fff;
    border-color: var(--brand-blue, #1e6b8c);
}

.hosting-step-indicator.step-complete .hosting-step-label {
    color: var(--brand-dark, #1a202c);
}

.hosting-step-indicator.step-complete + .hosting-step-divider {
    background: var(--brand-blue, #1e6b8c);
}

/* ===== Step Section Headers ===== */
.step-header {
    text-align: center;
    margin-bottom: 36px;
}

.step-badge {
    display: inline-block;
    background: var(--brand-blue, #1e6b8c);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ===== Step Next Hint ===== */
.step-next-hint {
    text-align: center;
    margin-top: 32px;
    padding: 16px 24px;
    background: var(--brand-light, #f4f7fa);
    border-radius: 8px;
    border-left: 3px solid var(--brand-blue, #1e6b8c);
}

.step-next-hint p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--brand-dark, #1a202c);
}

.step-next-hint strong {
    color: var(--brand-blue, #1e6b8c);
}

/* ===== Responsive Step Indicators ===== */
@media (max-width: 640px) {
    .hosting-steps-progress {
        gap: 0;
    }

    .hosting-step-num {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .hosting-step-label {
        font-size: 0.72rem;
    }

    .hosting-step-divider {
        margin: 0 8px;
        margin-bottom: 18px;
    }
}

/* ===== Qualification Cards Grid ===== */
.qual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.qual-card {
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    padding: 24px;
    transition: box-shadow 0.2s ease;
}

.qual-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.qual-card h3 {
    font-size: 1.1rem;
    color: var(--brand-dark, #1a202c);
    margin: 0 0 12px;
    line-height: 1.4;
}

.qual-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .qual-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Events Page ===== */

/* Filter Bar */
.event-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
}

.event-filter-btn {
    background: #fff;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.event-filter-btn:hover {
    background: var(--brand-blue);
    color: #fff;
}

.event-filter-btn.active {
    background: var(--brand-blue);
    color: #fff;
}

/* Event Grid */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.event-card {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.event-card:hover {
    box-shadow: 0 4px 20px rgba(0, 111, 184, 0.12);
    transform: translateY(-2px);
}

/* Event Card Top (date block + badges) */
.event-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 8px;
}

.event-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--brand-dark);
    border-radius: 8px;
    min-width: 56px;
    padding: 8px 10px;
    color: #fff;
}

.event-date-day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-date-month {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    opacity: 0.85;
}

.event-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

/* Event Featured Image */
.event-thumb {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
}

.event-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.event-type-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
}

.event-type-badge.webinar {
    background: #e8f1fb;
    color: var(--brand-blue);
}

.event-type-badge.face-to-face {
    background: #fdf3e7;
    color: #b8730a;
}

.event-member-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    background: #e8f8ed;
    color: #1a8a3e;
}

/* Event Title and Excerpt */
.event-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.event-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Event Meta */
.event-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

.event-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 600;
}

.event-meta-value {
    font-size: 0.9rem;
    color: var(--brand-dark);
    font-weight: 500;
}

.event-spaces {
    color: #1a8a3e;
    font-weight: 600;
}

.event-sold-out {
    color: #d63638;
    font-weight: 700;
}

/* Event Pricing */
.event-pricing {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e6ed;
}

.event-price-member,
.event-price-nonmember {
    flex: 1;
    padding: 10px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-price-member {
    background: #e8f1fb;
}

.event-price-nonmember {
    background: #f7f9fb;
    border-left: 1px solid #e0e6ed;
}

.price-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 600;
}

.price-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.event-price-all-free {
    width: 100%;
    padding: 12px;
    text-align: center;
    background: #e8f8ed;
    color: #1a8a3e;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    margin-bottom: 18px;
}

/* Booking Button */
.event-booking-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* No Events Message */
.no-events {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.no-events h3 {
    font-size: 1.4rem;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.no-events p {
    color: #666;
    line-height: 1.6;
}

/* Past Events */
.past-event-type {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    min-width: 90px;
    text-align: center;
}

.past-event-type.webinar {
    background: #e8f1fb;
    color: var(--brand-blue);
}

.past-event-type.face-to-face {
    background: #fdf3e7;
    color: #b8730a;
}

.past-event-title {
    font-size: 0.95rem;
    color: var(--brand-dark);
    font-weight: 500;
}

/* Membership CTA on Events */
.membership-event-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

.membership-event-cta h2 {
    font-size: 1.6rem;
    color: var(--brand-dark);
    margin-bottom: 14px;
}

.membership-event-cta p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.membership-event-cta .btn {
    margin: 0 8px;
}

/* Event Card Actions */
.event-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.event-booking-btn {
    flex: 1;
    text-align: center;
}

.event-cal-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    padding: 8px 10px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.event-cal-link:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    text-decoration: none;
}

.event-cal-link svg {
    flex-shrink: 0;
}

/* Event Count */
.event-count {
    text-align: center;
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 20px;
}

/* Past Event Grid (cards instead of list) */
.past-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    max-width: 100%;
}

.past-event-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 18px;
}

.past-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 8px;
}

.past-event-title {
    font-size: 0.95rem;
    color: var(--brand-dark);
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
}

.past-event-excerpt {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
}

/* Membership Event CTA Buttons */
.membership-event-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .event-meta {
        grid-template-columns: 1fr;
    }

    .event-filter-bar {
        justify-content: flex-start;
    }

    .event-card-actions {
        flex-direction: column;
    }

    .event-cal-link {
        width: 100%;
        justify-content: center;
    }
}

/* ===== SaaS Pricing Cards ===== */
.saas-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.saas-pricing-card {
    background: #fff;
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.saas-pricing-card:hover {
    box-shadow: 0 6px 24px rgba(0, 111, 184, 0.12);
    transform: translateY(-3px);
}

.saas-pricing-card.saas-pricing-popular {
    border-color: var(--brand-blue);
    box-shadow: 0 4px 16px rgba(0, 111, 184, 0.15);
}

.saas-pricing-card.saas-pricing-popular:hover {
    box-shadow: 0 8px 32px rgba(0, 111, 184, 0.22);
}

.saas-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.saas-pricing-header {
    padding: 28px 24px 20px;
    text-align: center;
    border-bottom: 1px solid #eef2f7;
}

.saas-pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 10px;
}

.saas-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
}

.saas-price span {
    font-size: 1rem;
    font-weight: 500;
    color: #999;
}

.saas-price-desc {
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
}

.saas-feature-list {
    list-style: none;
    padding: 20px 24px;
    margin: 0;
    flex-grow: 1;
}

.saas-feature-list li {
    padding: 8px 0 8px 26px;
    position: relative;
    font-size: 0.92rem;
    color: var(--brand-dark);
    line-height: 1.5;
}

.saas-feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 8px;
    color: #1a8a3e;
    font-weight: 700;
    font-size: 1rem;
}

.saas-cta-btn {
    margin: 0 24px 24px;
    width: calc(100% - 48px);
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .saas-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

/* ====== Software Pricing Summary (hub page) ====== */
.software-pricing-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.software-pricing-col {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.software-pricing-col:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.software-pricing-col.software-pricing-featured {
    border-color: var(--brand-blue);
    border-width: 2px;
}

.software-pricing-head h3 {
    font-size: 1.4rem;
    color: var(--brand-dark);
    margin-bottom: 4px;
}

.software-pricing-tag {
    font-size: 0.85rem;
    color: var(--brand-blue);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.software-pricing-amount {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin: 8px 0 20px;
}

.software-pricing-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.software-pricing-col .saas-feature-list {
    text-align: left;
    margin-bottom: 24px;
    flex-grow: 1;
}

.software-pricing-col .btn {
    margin-top: auto;
}

@media (max-width: 768px) {
    .software-pricing-summary { grid-template-columns: 1fr; }
}

/* ====== Early Bird Pricing ====== */
.early-bird-banner {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
    color: #fff;
    border-radius: 12px;
    padding: 20px 28px;
    text-align: center;
    margin-bottom: 32px;
}

.early-bird-banner h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.early-bird-banner p {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.92;
    margin: 0;
}

.software-pricing-col.has-early-bird,
.saas-pricing-card.has-early-bird {
    position: relative;
    padding-top: 44px;
    border-color: var(--brand-gold, #d4a017);
}

.early-bird-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-gold, #d4a017);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 18px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(212, 160, 23, 0.35);
}

.price-original {
    font-size: 1.1rem;
    color: #a3a3a3;
    text-decoration: line-through;
    font-weight: 400;
    display: block;
    margin-bottom: 4px;
}

.price-early-bird {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--brand-gold, #d4a017);
    line-height: 1.1;
}

.saas-pricing-header:has(.price-early-bird) {
    background: linear-gradient(180deg, rgba(212, 160, 23, 0.07), transparent 70%);
    border-radius: 10px 10px 0 0;
}

.early-bird-price-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-gold, #d4a017);
    margin-top: 6px;
    margin-bottom: -2px;
}

.software-pricing-amount .price-original-inline {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 6px;
}

.software-pricing-amount .price-early-inline {
    color: var(--brand-gold, #d4a017);
}


@media (max-width: 480px) {
    .saas-price {
        font-size: 2rem;
    }
}

/* ===== Free Resources Hub ===== */
.hero-img-free-resources              { background: url('images/heroes/hero-free-resources.jpg') center center / cover no-repeat; }
.hero-img-safe-recruitment-checklist   { background: url('images/heroes/hero-safe-recruitment-checklist.jpg') center center / cover no-repeat; }
.hero-img-risk-assessment-form       { background: url('images/heroes/hero-risk-assessment-form.jpg') center center / cover no-repeat; }
.hero-img-supervision-record         { background: url('images/heroes/hero-supervision-record.jpg') center center / cover no-repeat; }
.hero-img-reflective-practice         { background: url('images/heroes/hero-reflective-practice.jpg') center center / cover no-repeat; }
.hero-img-assessment-form            { background: url('images/heroes/hero-assessment-form.jpg') center center / cover no-repeat; }
.hero-img-survey-of-care-form        { background: url('images/heroes/hero-survey-of-care-form.jpg') center center / cover no-repeat; }
.hero-img-location-risk-assessment-form { background: url('images/heroes/hero-location-risk-assessment-form.jpg') center center / cover no-repeat; }
.hero-img-observation-of-competency-form { background: url('images/heroes/hero-observation-of-competency-form.jpg') center center / cover no-repeat; }
.hero-img-compliance-quality-audit-form  { background: url('images/heroes/hero-compliance-quality-audit-form.jpg') center center / cover no-repeat; }
.hero-img-satisfaction-of-service-form   { background: url('images/heroes/hero-satisfaction-of-service-form.jpg') center center / cover no-repeat; }
.hero-img-pbs-plan-form              { background: url('images/heroes/hero-pbs-plan-form.jpg') center center / cover no-repeat; }
.hero-img-abc-form                   { background: url('images/heroes/hero-abc-form.jpg') center center / cover no-repeat; }
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.resource-card {
    background: #fff;
    border: 1px solid var(--border, #e1e8ed);
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.resource-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.resource-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #eaf2f8;
    color: #1a5276;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.resource-card h3 {
    font-size: 1.25rem;
    color: #1a5276;
    margin-bottom: 10px;
    font-weight: 700;
}
.resource-card p {
    font-size: 0.95rem;
    color: #5d6d7e;
    margin-bottom: 16px;
    flex-grow: 1;
}
.resource-card-meta {
    margin-bottom: 18px;
}
.resource-tag {
    display: inline-block;
    background: #eaf2f8;
    color: #1a5276;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 12px;
    margin-right: 6px;
    margin-bottom: 4px;
}
.resource-tag-soon {
    background: #fef9e7;
    color: #b7950b;
}
.resource-card-btn {
    align-self: flex-start;
}
.resource-card-coming-soon {
    opacity: 0.75;
    border-style: dashed;
}
.resource-cta {
    background: #eaf2f8;
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    margin: 20px 0;
}
.resource-cta h2 {
    color: #1a5276;
    margin-bottom: 12px;
}
.resource-cta p {
    color: #5d6d7e;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* ===== Interactive Checklist Page ===== */
.checklist-page {
    background: #fafbfc;
    padding: 50px 0;
}
.checklist-container {
    max-width: 860px;
    margin: 0 auto;
}
.checklist-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.checklist-toolbar-bottom {
    margin-top: 32px;
    justify-content: center;
}
.checklist-reset-btn,
.checklist-print-btn {
    font-size: 0.9rem;
}
.btn-text {
    color: #1a5276;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 8px 12px;
}
.btn-text:hover {
    text-decoration: underline;
}
.checklist-intro {
    font-size: 1.05rem;
    color: #5d6d7e;
    font-style: italic;
    margin-bottom: 32px;
}
.checklist-heading {
    font-size: 1.3rem;
    color: #1a5276;
    margin: 32px 0 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e1e8ed;
}
.checklist-conditional {
    font-size: 0.8rem;
    font-weight: normal;
    color: #5d6d7e;
}
.checklist-card {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 8px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.checklist-items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.checklist-items li {
    padding: 10px 0;
    border-bottom: 1px solid #eef2f5;
    font-size: 0.95rem;
    color: #2c3e50;
}
.checklist-items li:last-child {
    border-bottom: none;
}
.checklist-items label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
}
.checklist-items input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #2980b9;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    margin-top: 1px;
    transition: background 0.15s, border-color 0.15s;
}
.checklist-items input[type="checkbox"]:checked {
    background: #27ae60;
    border-color: #27ae60;
}
.checklist-items input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: -2px;
    left: 2px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}
.checklist-items input[type="checkbox"]:checked + span {
    color: #27ae60;
    text-decoration: line-through;
    text-decoration-color: rgba(39, 174, 96, 0.4);
}
.checklist-subitems {
    padding: 8px 0 8px 32px;
    border-bottom: 1px solid #eef2f5;
}
.checklist-subitems ul {
    list-style: disc;
    padding-left: 20px;
    color: #5d6d7e;
    font-size: 0.88rem;
}
.checklist-subitems li {
    padding: 3px 0;
}
.checklist-divider {
    text-align: center;
    margin: 32px 0;
    color: #ccc;
    letter-spacing: 8px;
    font-size: 1.5rem;
}
.checklist-callout {
    background: #fef9e7;
    border-left: 4px solid #f4d03f;
    padding: 16px 20px;
    margin: 28px 0;
    border-radius: 4px;
}
.checklist-callout p {
    margin: 0;
    color: #2c3e50;
}
.checklist-callout strong {
    font-size: 1.05rem;
}
.checklist-signoff-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
}
.checklist-signoff-table th {
    background: #1a5276;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}
.checklist-signoff-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e1e8ed;
    font-size: 0.9rem;
}
.checklist-signoff-table tr:last-child td {
    border-bottom: none;
}
.signoff-input {
    width: 100%;
    min-height: 24px;
    border: none;
    border-bottom: 1px dotted #ccc;
    background: transparent;
    font-size: 0.9rem;
    font-family: inherit;
    color: #2c3e50;
    padding: 2px 0;
    outline: none;
}
.signoff-input:focus {
    border-bottom: 1px solid #2980b9;
}
.checklist-footer-note {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e1e8ed;
    font-size: 0.85rem;
    color: #5d6d7e;
    text-align: center;
}

/* ===== Print Styles for Checklist ===== */
@media print {
    .site-header,
    .main-nav,
    .site-footer,
    .scroll-top,
    .checklist-toolbar,
    .checklist-print-btn,
    .checklist-reset-btn,
    .btn-text {
        display: none !important;
    }
    .checklist-page {
        background: #fff;
        padding: 10px 0;
    }
    .page-hero {
        min-height: auto !important;
        padding: 10px 0 !important;
        background: none !important;
    }
    .page-hero::before {
        display: none !important;
    }
    .page-hero h1 {
        font-size: 1.4rem !important;
        color: #1a5276 !important;
        text-shadow: none !important;
    }
    .page-hero p {
        font-size: 0.9rem !important;
        color: #555 !important;
        text-shadow: none !important;
    }
    .checklist-container {
        max-width: 100%;
    }
    .checklist-card {
        box-shadow: none;
        page-break-inside: avoid;
    }
    .checklist-items input[type="checkbox"] {
        border-color: #999;
    }
    .checklist-items input[type="checkbox"]:checked {
        background: #999;
        border-color: #999;
    }
    .checklist-items input[type="checkbox"]:checked + span {
        color: #333;
        text-decoration: line-through;
    }
    .checklist-signoff-table {
        page-break-inside: avoid;
    }
    .signoff-input {
        border-bottom: 1px solid #999;
    }
    body {
        background: #fff;
    }
}

@media (max-width: 600px) {
    .resource-grid {
        grid-template-columns: 1fr;
    }
    .checklist-container {
        padding: 0 14px;
    }
    .checklist-heading {
        font-size: 1.1rem;
    }
    .checklist-signoff-table th,
    .checklist-signoff-table td {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
    .resource-cta {
        padding: 28px 20px;
    }
}

/* ===== Form Template Styles ===== */
.form-section {
    margin-bottom: 32px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px 20px;
    margin-top: 10px;
}
.form-field {
    display: flex;
    flex-direction: column;
}
.form-field-full {
    width: 100%;
    margin-top: 14px;
}
.form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a5276;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.form-input {
    border: 1px solid #e1e8ed;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 0.92rem;
    font-family: inherit;
    color: #2c3e50;
    background: #fff;
    transition: border-color 0.15s;
}
.form-input:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 2px rgba(41, 128, 185, 0.1);
}
.form-textarea {
    width: 100%;
    border: 1px solid #e1e8ed;
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-family: inherit;
    color: #2c3e50;
    background: #fff;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.15s;
}
.form-textarea:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 2px rgba(41, 128, 185, 0.1);
}
.form-select {
    border: 1px solid #e1e8ed;
    border-radius: 5px;
    padding: 6px 8px;
    font-size: 0.88rem;
    font-family: inherit;
    color: #2c3e50;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s;
}
.form-select:focus {
    outline: none;
    border-color: #2980b9;
}
.form-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
}
.form-table th {
    background: #1a5276;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.82rem;
}
.form-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #eef2f5;
    font-size: 0.88rem;
    vertical-align: middle;
}
.form-table tr:last-child td {
    border-bottom: none;
}
.form-table input[type="text"],
.form-table input.signoff-input {
    width: 100%;
    border: none;
    border-bottom: 1px dotted #ddd;
    background: transparent;
    font-size: 0.88rem;
    font-family: inherit;
    color: #2c3e50;
    padding: 2px 0;
    outline: none;
}
.form-table input[type="text"]:focus,
.form-table input.signoff-input:focus {
    border-bottom: 1px solid #2980b9;
}
.form-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.form-subheading {
    font-size: 1.05rem;
    color: #2980b9;
    margin: 24px 0 10px;
    font-weight: 600;
}
.rating-select {
    min-width: 80px;
}

/* Print styles for form tables */
@media print {
    .form-input,
    .form-textarea {
        border: 1px solid #ccc;
    }
    .form-table {
        page-break-inside: avoid;
    }
    .form-table input[type="text"],
    .form-table input.signoff-input {
        border-bottom: 1px solid #999;
    }
    .form-select {
        border: 1px solid #ccc;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-table th,
    .form-table td {
        padding: 6px 8px;
        font-size: 0.78rem;
    }
}

/* ====== Single Product — Booking Card ====== */
.ca-product-page {
    background: var(--ca-page-bg);
    padding: 48px 0 64px;
}

.ca-product-page-inner {
    max-width: 1080px;
}

.ca-product-detail-card {
    background: #fff;
    border: 1px solid #ececea;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    padding: 40px 40px 32px;
}

.ca-product-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1.3;
    margin-bottom: 28px;
}

.ca-product-image-wrap {
    margin-bottom: 32px;
}

.ca-product-image-wrap img {
    display: block;
    width: min(1000px, 100%);
    height: 460px;
    object-fit: cover;
    border-radius: 14px;
    margin: 0 auto;
}

.ca-product-price {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ca-sage);
    margin-bottom: 28px;
}

.ca-product-price .woocommerce-Price-amount { color: inherit; }

.ca-product-description {
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.ca-product-description > *:first-child { margin-top: 0; }
.ca-product-description > *:last-child { margin-bottom: 0; }

.ca-product-description h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 28px 0 12px;
}

.ca-product-description h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 24px 0 10px;
}

.ca-product-description p,
.ca-product-description li {
    color: #444;
    line-height: 1.7;
}

.ca-product-description ul,
.ca-product-description ol {
    padding-left: 22px;
    margin: 12px 0;
}

.ca-product-description li { margin-bottom: 6px; }

@media (max-width: 640px) {
    .ca-product-description { padding: 24px 20px; }
}

.ca-product-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}

.ca-product-form .ca-btn {
    margin-bottom: 0 !important;
}

.ca-product-form .ca-btn-book {
    margin-bottom: 16px !important;
}

.ca-product-qty {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.ca-product-qty .quantity .qty {
    width: 90px;
    text-align: center;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

.ca-btn {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    border: none !important;
    border-radius: 10px !important;
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.2s, transform 0.15s;
    font-family: inherit;
    box-shadow: none !important;
}

.ca-btn:hover { transform: translateY(-1px); }

.ca-btn-book,
button.ca-btn-book,
.woocommerce button.button.alt.ca-btn-book {
    background: var(--ca-sage) !important;
    color: #fff !important;
}

.ca-btn-book:hover,
button.ca-btn-book:hover,
.woocommerce button.button.alt.ca-btn-book:hover {
    background: var(--ca-sage-hover) !important;
    color: #fff !important;
}

.ca-btn-pay,
button.ca-btn-pay {
    background: var(--ca-emerald) !important;
    color: var(--ca-emerald-text) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ca-btn-pay:hover,
button.ca-btn-pay:hover {
    background: var(--ca-emerald-hover) !important;
    color: var(--ca-emerald-text) !important;
}

.ca-onelink-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ca-emerald-text);
    flex-shrink: 0;
}

.ca-onelink-word { font-weight: 800; }

.ca-product-unavailable {
    text-align: center;
    color: #a33;
    font-weight: 600;
    padding: 16px;
    background: #fef5f4;
    border-radius: 8px;
    margin-top: 16px;
}

.ca-product-default-cart .button {
    background: var(--ca-sage);
    color: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

.ca-product-default-cart .button:hover { background: var(--ca-sage-hover); }

.ca-trust-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: #666;
}

.ca-trust-row span::before {
    content: "\2713";
    color: var(--ca-sage);
    font-weight: 700;
    margin-right: 5px;
}

@media (max-width: 600px) {
    .ca-product-detail-card { padding: 28px 20px 24px; }
    .ca-product-title { font-size: 1.35rem; }
    .ca-product-image-wrap img { height: 220px; }
    .ca-product-price { font-size: 1.8rem; }
    .ca-trust-row { flex-direction: column; align-items: center; gap: 8px; }
}

/* ====== Cart Page — Basket Card ====== */
.ca-cart-page {
    background: var(--ca-page-bg);
    padding: 48px 0 64px;
}

.ca-cart-page-inner {
    max-width: 900px;
}

.ca-cart-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 24px;
}

.ca-cart-card {
    background: #fff;
    border: 1px solid #ececea;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    overflow: hidden;
    margin-bottom: 28px;
}

.ca-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.ca-cart-table thead th {
    background: var(--ca-page-bg);
    color: #767676;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    padding: 16px 16px;
    border-bottom: 1px solid #ececea;
}

.ca-cart-table thead th.product-price,
.ca-cart-table thead th.product-quantity,
.ca-cart-table thead th.product-subtotal {
    text-align: left;
}

.ca-cart-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #ececea;
    vertical-align: middle;
    color: #333;
}

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

.ca-cart-table .product-remove {
    width: 36px;
    text-align: center;
}

.ca-cart-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

.ca-cart-remove:hover { color: var(--link-hover); }

.ca-cart-table .product-thumbnail {
    width: 76px;
}

.ca-cart-table .product-thumbnail img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.ca-cart-table .product-name a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.ca-cart-table .product-name a:hover { text-decoration: underline; }

.ca-cart-table .product-quantity .quantity .qty {
    width: 64px;
    text-align: center;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
}

.ca-cart-table .product-subtotal {
    font-weight: 600;
    color: #2b2b2b;
}

.ca-cart-actions {
    padding: 20px 16px !important;
    border-bottom: none !important;
}

.ca-cart-actions .ca-update-btn {
    display: inline-block;
    width: auto;
    padding: 12px 28px;
    margin-bottom: 0;
}

.ca-coupon-form {
    display: inline-flex;
    gap: 10px;
    margin-left: 16px;
    vertical-align: middle;
}

.ca-coupon-input {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.92rem;
}

.ca-coupon-btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 18px;
}

@media (max-width: 640px) {
    .ca-cart-actions .ca-coupon-form {
        display: flex;
        margin-left: 0;
        margin-top: 14px;
    }
}

/* ====== Basket Totals Card ====== */
.ca-cart-totals-card {
    background: var(--ca-page-bg);
    border: 1px solid #e5e5e2;
    border-radius: 14px;
    padding: 28px;
}

.ca-cart-totals-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 16px;
}

.ca-cart-totals-table {
    width: 100%;
    background: #fff;
    border: 1px solid #ececea;
    border-radius: 10px;
    border-collapse: collapse;
    overflow: hidden;
    margin-bottom: 20px;
}

.ca-cart-totals-table tr {
    background: #fff;
}

.ca-cart-totals-table th,
.ca-cart-totals-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #ececea;
    text-align: left;
    font-weight: 400;
    color: #333;
}

.ca-cart-totals-table tr:last-child th,
.ca-cart-totals-table tr:last-child td {
    border-bottom: none;
}

.ca-cart-totals-table th {
    font-weight: 700;
    color: var(--brand-dark);
}

.ca-cart-totals-table td {
    text-align: right;
}

.ca-cart-totals-table .order-total th,
.ca-cart-totals-table .order-total td {
    font-weight: 700;
    font-size: 1.05rem;
}

.ca-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--ca-sage);
    color: #fff;
    padding: 16px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.02rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.ca-proceed-to-checkout .checkout-button:hover {
    background: var(--ca-sage-hover);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .ca-cart-table thead { display: none; }
    .ca-cart-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: none;
        padding: 8px 16px;
    }
    .ca-cart-table tbody tr {
        display: block;
        border-bottom: 1px solid #ececea;
        padding: 8px 0;
    }
    .ca-cart-table tbody td::before {
        content: attr(data-title);
        font-weight: 700;
        color: #767676;
        font-size: 0.8rem;
        text-transform: uppercase;
        margin-right: 12px;
    }
    .ca-cart-table .product-remove::before,
    .ca-cart-table .product-thumbnail::before { content: none; }
}

/* ====== Checkout Page ====== */
.ca-checkout-page {
    background: var(--ca-page-bg);
    padding: 48px 0 64px;
}

.ca-checkout-page-inner {
    max-width: 1000px;
}

.ca-checkout-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 24px;
}

/* Added-to-basket / info / error notices */
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border: 1.5px solid #a9cefb;
    border-left-width: 1.5px;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 28px;
    box-shadow: none;
    list-style: none;
}

.woocommerce-checkout .woocommerce-error { border-color: #f4a3a3; }

.woocommerce-checkout .woocommerce-message .button.wc-forward,
.woocommerce-checkout .woocommerce-info .button.wc-forward {
    background: var(--ca-sage);
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    order: 2;
}

.woocommerce-checkout .woocommerce-message .button.wc-forward:hover,
.woocommerce-checkout .woocommerce-info .button.wc-forward:hover {
    background: var(--ca-sage-hover);
}

.ca-checkout-grid-outer {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 24px;
    align-items: start;
}

.ca-checkout-billing-col,
.ca-checkout-summary-col {
    background: #fff;
    border: 1px solid #ececea;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    padding: 28px 28px 32px;
}

/* --- Billing column --- */
.ca-checkout-billing-col .woocommerce-billing-fields > h3 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #6b6b6b;
    margin-bottom: 14px;
}

.ca-checkout-step {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ca-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ca-sage);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ca-step-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2b2b2b;
}

.ca-checkout-billing-col .form-row {
    margin-bottom: 16px;
}

.ca-checkout-billing-col label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.ca-checkout-billing-col label .required {
    color: #d9534f;
    text-decoration: none;
}

.ca-checkout-billing-col label .optional {
    font-weight: 400;
    color: #888;
}

.ca-checkout-billing-col input.input-text,
.ca-checkout-billing-col textarea,
.ca-checkout-billing-col select,
.ca-checkout-billing-col .select2-selection {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d5d5d3;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
}

.ca-checkout-billing-col input.input-text:focus,
.ca-checkout-billing-col textarea:focus,
.ca-checkout-billing-col select:focus {
    outline: none;
    border-color: var(--ca-sage);
}

.ca-checkout-billing-col h3#order_comments_field,
.woocommerce-additional-fields > h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2b2b2b;
    margin: 24px 0 14px;
}

.ca-checkout-shipping {
    margin-top: 20px;
}

/* --- Order Summary column --- */
.ca-checkout-review-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 16px;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    background: #fdfbf9;
    border: 1px solid #ececea;
    border-radius: 10px;
    border-collapse: collapse;
    overflow: hidden;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table thead { display: none; }

.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
    padding: 14px 16px;
    border-bottom: 1px solid #ececea;
    text-align: left;
}

.woocommerce-checkout-review-order-table tr:last-child td,
.woocommerce-checkout-review-order-table tr:last-child th {
    border-bottom: none;
}

.woocommerce-checkout-review-order-table .cart_item .product-name,
.woocommerce-checkout-review-order-table .cart_item .product-total {
    color: #999;
    font-size: 0.92rem;
}

.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .cart-subtotal td {
    color: #777;
}

.woocommerce-checkout-review-order-table td { text-align: right; }
.woocommerce-checkout-review-order-table th { text-align: left; }

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-weight: 700;
    color: #2b2b2b;
    font-size: 1.02rem;
}

.ca-payment-options-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

#payment ul.payment_methods {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
}

#payment ul.payment_methods li.wc_payment_method {
    border: none;
    padding: 0;
    margin-bottom: 10px;
}

#payment ul.payment_methods li.wc_payment_method > label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2b2b2b;
    cursor: pointer;
}

#payment ul.payment_methods li.wc_payment_method input.input-radio {
    accent-color: var(--ca-sage);
    width: 16px;
    height: 16px;
}

#payment .payment_box {
    background: #fff;
    border: 1px solid #ececea;
    border-radius: 10px;
    padding: 18px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

#payment .payment_box:before { display: none; }

.ca-checkout-disclaimer {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    margin: 16px 0;
}

.ca-checkout-disclaimer a {
    color: var(--brand-blue);
    text-decoration: underline;
}

#place_order,
.ca-checkout-summary-col .button.alt {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--ca-sage);
    color: #fff;
    padding: 16px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

#place_order:hover {
    background: var(--ca-sage-hover);
    transform: translateY(-1px);
}

@media (max-width: 860px) {
    .ca-checkout-grid-outer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ca-checkout-billing-col,
    .ca-checkout-summary-col {
        padding: 22px 18px 26px;
    }
    .woocommerce-checkout .woocommerce-message,
    .woocommerce-checkout .woocommerce-info,
    .woocommerce-checkout .woocommerce-error {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ====== Product Page Notices ====== */
.ca-product-page .woocommerce-message,
.ca-product-page .woocommerce-info,
.ca-product-page .woocommerce-error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border: 1.5px solid #a9cefb;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 24px;
    box-shadow: none;
    list-style: none;
}

.ca-product-page .woocommerce-error { border-color: #f4a3a3; }

.ca-product-page .woocommerce-message .button.wc-forward,
.ca-product-page .woocommerce-info .button.wc-forward {
    background: var(--ca-sage);
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    order: 2;
}

.ca-product-page .woocommerce-message .button.wc-forward:hover,
.ca-product-page .woocommerce-info .button.wc-forward:hover {
    background: var(--ca-sage-hover);
}
