/* =============================================
   BASE FRAMEWORK — auto-injected, do not edit
   ============================================= */

/* ── THEME VARIABLES ──
   Override these in your :root {} block to theme the entire site.
   SAFE = change freely. CONTRAST-CRITICAL = keep dark/light as labeled. */
:root {
    /* SAFE — Brand colors (any hue, medium-to-dark for buttons/links) */
    --bs-primary: #0d6efd;
    --brand-accent: #0d6efd;

    /* SAFE — Layout & decoration */
    --radius: 18px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --shadow: 0 10px 30px rgba(0,0,0,.10);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.15);
    --section-pad-y: 5rem;
    --transition-base: .3s cubic-bezier(.4,0,.2,1);
    --transition-bounce: .5s cubic-bezier(.34,1.56,.64,1);
    --nav-height: 76px;

    /* SAFE — Section backgrounds */
    --section-light-bg: #ffffff;
    --section-alt-bg: #f8f9fa;

    /* CONTRAST-CRITICAL — dark backgrounds (MUST stay very dark, near-black) */
    --ink-950: #0f172a;

    /* CONTRAST-CRITICAL — text colors (do NOT make text-dark light or text-light dark) */
    --text-dark: #0f172a;
    --text-light: rgba(255,255,255,.88);
    --text-light-muted: rgba(255,255,255,.68);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { color: var(--text-dark); background: var(--section-light-bg); min-height: 100dvh; overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background-color: var(--bs-primary); color: #fff; }
img, picture, video { max-width: 100%; height: auto; }
img { image-orientation: from-image; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
.row > * { min-width: 0; }
table { border-collapse: collapse; }
a { text-decoration: none; }
p a, .content a { text-decoration: underline; text-underline-offset: 2px; }
.navbar a, footer a, .card a, .btn, .nav-link { text-decoration: none !important; }
.shadow-soft { box-shadow: var(--shadow); }
.section-pad { padding-top: var(--section-pad-y); padding-bottom: var(--section-pad-y); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--bs-primary) 70%, white); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 9999; padding: 10px 12px; background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.15); }

/* Screen-reader only — hides visually, remains accessible to assistive tech */
.visually-hidden:not(:focus):not(:active), .sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; width: 1px;
    overflow: hidden; position: absolute; white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

/* Safety: prevent gap-* from breaking Bootstrap rows */
.row[class*="gap-"] { gap: 0 !important; }

/* Section contrast contract — text AND background enforced */
.section-light { color: var(--text-dark); background-color: var(--section-light-bg); }
.section-light h1, .section-light h2, .section-light h3, .section-light h4, .section-light h5, .section-light h6 { color: var(--text-dark); }
.section-light p, .section-light li, .section-light small, .section-light label { color: var(--text-dark); }
.section-light a:not(.btn) { color: var(--bs-primary); }

.section-dark { color: var(--text-light); background-color: var(--ink-950); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6 { color: #fff !important; }
.section-dark p, .section-dark li, .section-dark small, .section-dark label, .section-dark .lead { color: var(--text-light); }
.section-dark .text-muted, .section-dark .text-secondary { color: var(--text-light-muted) !important; }
.section-dark a:not(.btn) { color: rgba(255,255,255,.88); }
.section-dark a:not(.btn):hover { color: #fff; }
.section-dark .border, .section-dark hr { border-color: rgba(255,255,255,.15) !important; }

/* Buttons */
.btn-primary { background-color: var(--bs-primary); border-color: var(--bs-primary); color: #fff !important; }
.btn-primary:hover { filter: brightness(.92); color: #fff !important; }
.btn-outline-primary { color: var(--bs-primary); border-color: var(--bs-primary); }
.btn-outline-primary:hover { background-color: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
/* Buttons with icons — ensure icon + text vertically center */
.btn:has(> i), .btn:has(> svg), .btn:has(> [class*="fa-"]) { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
/* Auto-fix outline-primary in dark sections — make it white outline so it's visible */
.section-dark .btn-outline-primary { color: #fff; border-color: rgba(255,255,255,.5); }
.section-dark .btn-outline-primary:hover { background: #fff; color: var(--text-dark); border-color: #fff; }

/* Layout offsets for fixed navbar — !important prevents AI theme overrides */
:root { --nav-height: 76px; }
.page-content { padding-top: var(--nav-height) !important; }
/* When page-content starts with a page-banner or hero, the banner handles the nav offset — remove double padding */
.page-content:has(> .page-banner:first-child),
.page-content:has(> .hero-section:first-child) { padding-top: 0 !important; }
.hero-section { margin-top: calc(var(--nav-height) * -1) !important; padding: calc(var(--nav-height) + 1.5rem) 0 2rem !important; min-height: 70vh; display: flex; align-items: center; background-size: cover; background-position: center; color: var(--text-light); position: relative; overflow: hidden; }
.hero-section h1, .hero-section h2, .hero-section h3 { color: #fff !important; }
.hero-section p, .hero-section .lead { color: var(--text-light); }
.hero-section a:not(.btn) { color: rgba(255,255,255,.88); }
.hero-section .btn-outline-primary { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-section .btn-outline-primary:hover { background: #fff; color: var(--text-dark); border-color: #fff; }
@media (min-width: 992px) { .hero-section { min-height: 75vh; } }
/* Hero/section video backgrounds + overlays — base rules so AI doesn't need to reinvent these */
.hero-video-wrapper, .hero-video-bg { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; z-index: 0 !important; }
.hero-video-wrapper video, video.hero-video-bg { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; }
.hero-overlay { position: absolute !important; inset: 0 !important; z-index: 1 !important; background: rgba(0,0,0,.45); }
.hero-content { position: relative !important; z-index: 2 !important; width: 100%; }

/* Page banner (inner pages) — always dark overlay, enforce all text white */
.page-banner { padding: 6rem 0 3.5rem !important; min-height: 280px; display: flex; align-items: flex-end; position: relative; overflow: hidden; color: var(--text-light); background-size: cover; background-position: center; }
.page-banner > .container, .page-banner > .container-fluid, .page-banner > div:not([class*="overlay"]):not([style*="position"]) { position: relative; z-index: 2; }
.page-banner h1, .page-banner h2, .page-banner h3 { color: #fff !important; }
.page-banner p, .page-banner .lead { color: var(--text-light); }
.page-banner a:not(.btn) { color: rgba(255,255,255,.8) !important; }
.page-banner a:not(.btn):hover { color: #fff !important; }
.page-banner .breadcrumb { margin-bottom: 0; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: rgba(255,255,255,.65) !important; font-size: .85rem; text-decoration: none; }
.page-banner .breadcrumb-item a:hover { color: rgba(255,255,255,.9) !important; }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,.5) !important; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* Navbar — solid background, never transparent. Default: DARK. AI may use .navbar-light for light variant. */
.navbar { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease; }
.navbar.navbar-dark { background-color: color-mix(in srgb, var(--ink-950) 95%, transparent); }
.navbar.navbar-light { background-color: rgba(255,255,255,.97); }
.navbar-dark.navbar-scrolled { background-color: color-mix(in srgb, var(--ink-950) 98%, transparent); box-shadow: 0 2px 20px rgba(0,0,0,.15); }
.navbar-light.navbar-scrolled { background-color: rgba(255,255,255,.99); box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.navbar-brand img { max-height: 50px; width: auto; object-fit: contain; }
.logo-pill { background: rgba(255,255,255,.92); padding: 4px 10px; border-radius: 10px; }
.logo-pill-dark { background: rgba(15,23,42,.08); padding: 4px 10px; border-radius: 10px; }
.headroom--unpinned { transform: translateY(-100%); }
.headroom--pinned { transform: translateY(0); }

/* Desktop navbar — reset mobile styles, keep standard layout */
@media (min-width: 992px) {
    .navbar .navbar-collapse { display: flex !important; position: static; background: transparent !important; border-radius: 0 !important; padding: 0 !important; margin-top: 0 !important; box-shadow: none !important; backdrop-filter: none !important; opacity: 1; visibility: visible; pointer-events: auto; }
    .mobile-menu-close { display: none !important; }
}
/* Navbar-dark text — light text on dark bg */
.navbar-dark .nav-link { color: rgba(255,255,255,.85) !important; }
.navbar-dark .nav-link:hover, .navbar-dark .nav-link.active, .navbar-dark .nav-link:focus { color: #fff !important; }
.navbar-dark .navbar-brand { color: #fff !important; }
/* Navbar-light text — dark text on light bg */
.navbar-light .nav-link { color: var(--text-dark) !important; }
.navbar-light .nav-link:hover, .navbar-light .nav-link.active, .navbar-light .nav-link:focus { color: var(--bs-primary) !important; }
.navbar-light .navbar-brand { color: var(--text-dark) !important; }
.navbar-light .navbar-toggler-icon { filter: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.navbar-toggler:focus { box-shadow: none; }

/* Mobile menu — fullscreen overlay, moved to <body> by JS to escape navbar transform/backdrop-filter containing block */
@media (max-width: 991.98px) {
    .navbar-collapse { position: fixed; inset: 0; z-index: 1050; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s ease, visibility .35s ease; }
    .navbar-collapse[data-theme="dark"] { background: color-mix(in srgb, var(--ink-950) 97%, transparent); }
    .navbar-collapse[data-theme="light"] { background: rgba(255,255,255,.97); }
    .navbar-collapse.show { opacity: 1; visibility: visible; pointer-events: auto; }
    .navbar-collapse .navbar-nav { flex-direction: column; align-items: center; gap: .25rem; margin: 0; padding: 0; width: 100%; }
    .navbar-collapse .nav-link { font-size: 1.5rem; font-weight: 600; letter-spacing: .01em; padding: .85rem 1rem; transition: color .2s, transform .2s; text-align: center; }
    .navbar-collapse[data-theme="dark"] .nav-link { color: rgba(255,255,255,.85) !important; }
    .navbar-collapse[data-theme="dark"] .nav-link:hover, .navbar-collapse[data-theme="dark"] .nav-link.active { color: #fff !important; transform: scale(1.05); }
    .navbar-collapse[data-theme="light"] .nav-link { color: var(--text-dark) !important; }
    .navbar-collapse[data-theme="light"] .nav-link:hover, .navbar-collapse[data-theme="light"] .nav-link.active { color: var(--bs-primary) !important; transform: scale(1.05); }
    .navbar-collapse .btn { margin-top: 1.5rem; min-width: 220px; text-align: center; font-size: 1.1rem; padding: .75rem 2rem; }
    .mobile-menu-close { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; font-size: 1.75rem; cursor: pointer; z-index: 1051; padding: .5rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
    .navbar-collapse[data-theme="dark"] .mobile-menu-close { color: #fff; }
    .navbar-collapse[data-theme="light"] .mobile-menu-close { color: var(--text-dark); }
    .mobile-menu-close:hover { opacity: .7; }
    body.mobile-menu-open { overflow: hidden; }
}

/* Media frames */
.media-frame { border-radius: .75rem; overflow: hidden; background: rgba(255,255,255,.04); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.poster-frame { max-height: 520px; }
.poster-frame img { max-height: 520px; width: 100%; object-fit: contain; background: #fff; }

/* Gallery sizing — !important prevents AI theme overrides from breaking uniform heights */
.gallery-grid img, .portfolio-grid img { width: 100% !important; height: 260px !important; object-fit: cover !important; border-radius: .5rem; }
@media (min-width: 768px) { .gallery-grid img, .portfolio-grid img { height: 300px !important; } }

/* Card image safety — prevent distortion */
.card > img, .card > a > img, .card .card-img-top, .card .card-img { object-fit: cover; width: 100%; }

/* General section image safety — prevent stretching of raw imgs in grid columns */
section .row > [class*="col"] > img:not(.logo-pill):not([class*="-logo"]):not([class*="logo-"]),
section .row > [class*="col"] > .ratio img { object-fit: cover; width: 100%; border-radius: .5rem; }

/* Image grid uniform heights — catches images in grid columns whether direct, in <a> wrappers (GLightbox), or in cards.
   Any row of images inside a section gets uniform height + object-fit:cover automatically.
   Excludes logo images (supplier-logo, partner-logo, client-logo, brand-logo, etc.) */
section .row > [class*="col"] > a > img:not([class*="-logo"]):not([class*="logo-"]),
section .row > [class*="col"] > a > img.img-fluid:not([class*="-logo"]):not([class*="logo-"]),
section .row > [class*="col"] > .glightbox > img { width: 100%; height: 260px; object-fit: cover; border-radius: .5rem; }
@media (min-width: 768px) {
    section .row > [class*="col"] > a > img:not([class*="-logo"]):not([class*="logo-"]),
    section .row > [class*="col"] > a > img.img-fluid:not([class*="-logo"]):not([class*="logo-"]),
    section .row > [class*="col"] > .glightbox > img { height: 300px; }
}

/* Team member image consistency — uniform aspect ratio */
.team-member img, .team-card img,
[class*="team"] .rounded-circle,
[class*="member"] .rounded-circle { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; margin-left: auto; margin-right: auto; }
/* Circular team photos with explicit dimensions — center and cap at their set size */
.team-card .rounded-circle[style*="width"],
.team-member .rounded-circle[style*="width"] { width: auto !important; max-width: 100%; }
/* Neutralize .ratio wrapper inside team cards — base aspect-ratio on img handles it */
.team-card .ratio, .team-member .ratio { padding: 0 !important; position: relative; }
.team-card .ratio::before, .team-member .ratio::before { display: none; }
.team-card .ratio > img, .team-member .ratio > img { position: static; width: 100%; height: auto; }
/* Team cards: ensure uniform height and text contrast on dark backgrounds */
.team-card { height: 100%; overflow: hidden; }
.team-card .card-body, .team-card [class*="body"],
.team-member .card-body, .team-member [class*="body"] { background: #fff; }
.team-card h3, .team-card h4, .team-card h5, .team-card .team-name,
.team-member h3, .team-member h4, .team-member h5 { color: #1a1a2e !important; }
.team-card p, .team-card .team-role, .team-card .text-muted,
.team-member p, .team-member .text-muted { color: #6b7280 !important; }

/* Equal-height cards/boxes in grid rows — catches .card, *-card, *-box, *-step */
.row > .col > .card, .row > [class*="col-"] > .card, .row > [class*="col "] > .card,
.row > .col > [class*="-card"], .row > [class*="col-"] > [class*="-card"], .row > [class*="col "] > [class*="-card"],
.row > .col > [class*="-box"]:not(.icon-box), .row > [class*="col-"] > [class*="-box"]:not(.icon-box),
.row > .col > [class*="-step"], .row > [class*="col-"] > [class*="-step"] { display: flex; flex-direction: column; }
/* Only force full-height when explicitly requested via .h-100.
   Prevents single cards (e.g. "Leave a Review") stretching to a tall neighbor's height. */
.row > .col > .h-100, .row > [class*="col-"] > .h-100 { height: 100%; display: flex; flex-direction: column; }
/* Card-body fills card and becomes a flex column — enables icon-card and buttons to align properly across equal-height cards. */
.row > .col > .card .card-body, .row > [class*="col-"] > .card .card-body { flex: 1; display: flex; flex-direction: column; }
/* Pin the last link/button in a card-body to the bottom so cards align even with different text lengths */
.card-body > a:last-child, .card-body > .btn:last-child,
.card-body > p:last-child > a:only-child { margin-top: auto; }
/* Cards inside row-cols grids must stretch to equal height */
[class*="row-cols-"] > * > .card { height: 100%; display: flex; flex-direction: column; }
/* Center incomplete last rows in card grids and gallery grids */
[class*="row-cols-"] { justify-content: center; }
.gallery-grid, .portfolio-grid { justify-content: center; }
.gallery-grid .row, .portfolio-grid .row { justify-content: center; }
.row.justify-content-center { justify-content: center; }
/* Auto-center for common card grid patterns with gutters */
.row[class*=" g-"]:has(> [class*="col-"] > .card),
.row[class*=" g-"]:has(> .col > .card),
.row[class*=" g-"]:has(> [class*="col-"] > [class*="-step"]),
.row[class*=" g-"]:has(> [class*="col-"] > [class*="-card"]) { justify-content: center; }

/* Reset <footer> elements inside content (blockquotes, cards, etc.) — prevents site-footer styles from leaking */
blockquote footer, .card footer, .testimonial-card footer,
.blockquote-footer { background: none !important; color: inherit !important; padding: 0; margin: 0; }

/* Footer — always dark */
footer, .site-footer { background: var(--ink-950); color: var(--text-light); }
footer img.footer-logo, footer a > img:first-child { max-height: 60px; width: auto; max-width: 200px; object-fit: contain; }
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 { color: #fff !important; }
footer p, footer li, footer small, footer label, footer address { color: var(--text-light); }
footer .text-muted, footer .text-secondary { color: var(--text-light-muted) !important; }
footer a:not(.btn) { color: rgba(255,255,255,.75); text-decoration: none !important; }
footer a:not(.btn):hover { color: #fff; }
footer .border, footer hr { border-color: rgba(255,255,255,.15) !important; }
footer .copyright, footer .bottom-bar { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; margin-top: 2rem; }
/* White containers inside footer — same reset as section-dark */
footer .bg-white, footer .bg-white * { color: var(--text-dark) !important; }
footer .bg-white .btn-primary { color: #fff !important; }

/* Any light-background container inside a dark section — reset ALL text to dark.
   Exclude bg-opacity-* (Bootstrap modifier makes bg semi-transparent = still dark). */
.section-dark .bg-white:not([class*="bg-opacity-"]), .section-dark .bg-light:not([class*="bg-opacity-"]), .section-dark .bg-light-subtle,
.section-dark .bg-body-secondary, .section-dark .bg-body-tertiary { color: var(--text-dark) !important; }
.section-dark .bg-white:not([class*="bg-opacity-"]) *, .section-dark .bg-light:not([class*="bg-opacity-"]) *, .section-dark .bg-light-subtle *,
.section-dark .bg-body-secondary *, .section-dark .bg-body-tertiary * { color: var(--text-dark) !important; }
.section-dark .bg-white:not([class*="bg-opacity-"]) h1, .section-dark .bg-white:not([class*="bg-opacity-"]) h2, .section-dark .bg-white:not([class*="bg-opacity-"]) h3,
.section-dark .bg-white:not([class*="bg-opacity-"]) h4, .section-dark .bg-white:not([class*="bg-opacity-"]) h5, .section-dark .bg-white:not([class*="bg-opacity-"]) h6,
.section-dark .bg-light:not([class*="bg-opacity-"]) h1, .section-dark .bg-light:not([class*="bg-opacity-"]) h2, .section-dark .bg-light:not([class*="bg-opacity-"]) h3,
.section-dark .bg-light:not([class*="bg-opacity-"]) h4, .section-dark .bg-light:not([class*="bg-opacity-"]) h5, .section-dark .bg-light:not([class*="bg-opacity-"]) h6 { color: var(--text-dark) !important; }
.section-dark .bg-white:not([class*="bg-opacity-"]) .text-muted, .section-dark .bg-light:not([class*="bg-opacity-"]) .text-muted,
.section-dark .bg-white:not([class*="bg-opacity-"]) .text-secondary, .section-dark .bg-light:not([class*="bg-opacity-"]) .text-secondary { color: rgba(15,23,42,.72) !important; }
.section-dark .bg-white:not([class*="bg-opacity-"]) .form-control, .section-dark .bg-light:not([class*="bg-opacity-"]) .form-control,
.section-dark .bg-white:not([class*="bg-opacity-"]) .form-select, .section-dark .bg-light:not([class*="bg-opacity-"]) .form-select,
.section-dark .bg-white:not([class*="bg-opacity-"]) .form-check-label, .section-dark .bg-light:not([class*="bg-opacity-"]) .form-check-label { color: var(--text-dark) !important; }
.section-dark .bg-white:not([class*="bg-opacity-"]) .form-control::placeholder, .section-dark .bg-light:not([class*="bg-opacity-"]) .form-control::placeholder { color: rgba(15,23,42,.55) !important; }
.section-dark .bg-white:not([class*="bg-opacity-"]) a:not(.btn), .section-dark .bg-light:not([class*="bg-opacity-"]) a:not(.btn) { color: var(--bs-primary) !important; }
.section-dark .bg-white:not([class*="bg-opacity-"]) .check-list li::before, .section-dark .bg-light:not([class*="bg-opacity-"]) .check-list li::before { color: var(--bs-primary); }
/* Preserve icon-box brand colors inside white cards in dark sections (overrides the * reset above) */
.section-dark .bg-white:not([class*="bg-opacity-"]) .icon-box,
.section-dark .bg-white:not([class*="bg-opacity-"]) .icon-box-sm,
.section-dark .bg-light:not([class*="bg-opacity-"]) .icon-box,
.section-dark .bg-light:not([class*="bg-opacity-"]) .icon-box-sm { background: color-mix(in srgb, var(--bs-primary) 12%, white) !important; color: var(--bs-primary) !important; }
.section-dark .bg-white:not([class*="bg-opacity-"]) .icon-box i,
.section-dark .bg-white:not([class*="bg-opacity-"]) .icon-box-sm i,
.section-dark .bg-light:not([class*="bg-opacity-"]) .icon-box i,
.section-dark .bg-light:not([class*="bg-opacity-"]) .icon-box-sm i { color: var(--bs-primary) !important; }
/* Preserve filled button text colors (overrides the * reset above) */
.section-dark .bg-white:not([class*="bg-opacity-"]) .btn-primary, .section-dark .bg-white:not([class*="bg-opacity-"]) .btn-secondary,
.section-dark .bg-white:not([class*="bg-opacity-"]) .btn-success, .section-dark .bg-white:not([class*="bg-opacity-"]) .btn-danger,
.section-dark .bg-white:not([class*="bg-opacity-"]) .btn-info, .section-dark .bg-white:not([class*="bg-opacity-"]) .btn-dark,
.section-dark .bg-light:not([class*="bg-opacity-"]) .btn-primary, .section-dark .bg-light:not([class*="bg-opacity-"]) .btn-secondary,
.section-dark .bg-light:not([class*="bg-opacity-"]) .btn-success, .section-dark .bg-light:not([class*="bg-opacity-"]) .btn-danger,
.section-dark .bg-light:not([class*="bg-opacity-"]) .btn-info, .section-dark .bg-light:not([class*="bg-opacity-"]) .btn-dark { color: #fff !important; }
.section-dark .bg-white:not([class*="bg-opacity-"]) .btn-outline-primary, .section-dark .bg-light:not([class*="bg-opacity-"]) .btn-outline-primary { color: var(--bs-primary) !important; }
.section-dark .bg-white:not([class*="bg-opacity-"]) .btn-outline-primary:hover, .section-dark .bg-light:not([class*="bg-opacity-"]) .btn-outline-primary:hover { color: #fff !important; }
/* Light-background buttons in dark sections need dark text */
.section-dark .btn-light { color: var(--text-dark) !important; background-color: #fff !important; }
.section-dark .btn-light:hover { color: var(--text-dark) !important; background-color: #e9ecef !important; }
.section-dark .btn-outline-light { color: rgba(255,255,255,.88) !important; border-color: rgba(255,255,255,.4) !important; }
.section-dark .btn-outline-light:hover { color: var(--text-dark) !important; background-color: #fff !important; }

/* Dark cards/containers inside light sections — reverse contrast safety net */
.section-light .bg-dark, .section-light .text-bg-dark, .section-light .text-bg-primary, .section-light .bg-primary { color: var(--text-light) !important; }
.section-light .bg-dark *, .section-light .text-bg-dark *, .section-light .text-bg-primary *, .section-light .bg-primary * { color: var(--text-light) !important; }
.section-light .bg-dark h1, .section-light .bg-dark h2, .section-light .bg-dark h3,
.section-light .bg-dark h4, .section-light .bg-dark h5, .section-light .bg-dark h6,
.section-light .bg-primary h1, .section-light .bg-primary h2, .section-light .bg-primary h3,
.section-light .bg-primary h4, .section-light .bg-primary h5, .section-light .bg-primary h6 { color: #fff !important; }
.section-light .bg-dark a:not(.btn), .section-light .text-bg-dark a:not(.btn), .section-light .bg-primary a:not(.btn) { color: rgba(255,255,255,.85) !important; text-decoration: underline; }
.section-light .bg-dark a:not(.btn):hover, .section-light .text-bg-dark a:not(.btn):hover, .section-light .bg-primary a:not(.btn):hover { color: #fff !important; }
.section-light .bg-dark .btn-primary, .section-light .bg-dark .btn-secondary,
.section-light .bg-dark .btn-success, .section-light .bg-dark .btn-danger,
.section-light .bg-primary .btn-light, .section-light .bg-primary .btn-outline-light { color: var(--text-dark) !important; }
.section-light .bg-dark .btn-outline-primary { color: rgba(255,255,255,.88) !important; border-color: rgba(255,255,255,.5) !important; }
.section-light .bg-dark .btn-outline-primary:hover { color: var(--text-dark) !important; background: #fff !important; }
.section-light .bg-dark .text-muted, .section-light .bg-dark .text-secondary,
.section-light .bg-primary .text-muted, .section-light .bg-primary .text-secondary { color: rgba(255,255,255,.55) !important; }
.section-light .bg-primary .opacity-75, .section-light .bg-primary .text-white-50 { color: rgba(255,255,255,.75) !important; }

/* Also handle inline dark backgrounds via style attribute */
.section-light [style*="background"][class*="text-white"] a:not(.btn),
.section-light [style*="background"][class*="text-light"] a:not(.btn) { color: rgba(255,255,255,.85) !important; }

/* Form controls — only dark section contrast, let Bootstrap + AI handle styling */
/* Dark section standalone forms (not inside a white card) */
.section-dark .form-control, .section-dark .form-select { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.section-dark .form-control::placeholder { color: rgba(255,255,255,.45); }
.section-dark .form-control:focus, .section-dark .form-select:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); }
.section-dark .form-label, .section-dark .form-check-label { color: var(--text-light); }
/* Light container inside dark section overrides the dark form styles back to normal */
.section-dark .bg-white .form-control, .section-dark .bg-light .form-control,
.section-dark .bg-white .form-select, .section-dark .bg-light .form-select { background: #fff; border-color: #dee2e6; color: var(--text-dark) !important; }
.section-dark .bg-white .form-control::placeholder, .section-dark .bg-light .form-control::placeholder { color: rgba(15,23,42,.55) !important; }
.section-dark .bg-white .form-control:focus, .section-dark .bg-light .form-control:focus,
.section-dark .bg-white .form-select:focus, .section-dark .bg-light .form-select:focus { border-color: var(--bs-primary); background: #fff; }
.section-dark .bg-white .form-check-input, .section-dark .bg-light .form-check-input { background-color: #fff; border-color: #dee2e6; }
.section-dark .bg-white .form-check-input:checked, .section-dark .bg-light .form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }

/* Accordion/FAQ in dark sections */
.section-dark .accordion-item { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.15); }
.section-dark .accordion-button { background: rgba(255,255,255,.06); color: #fff; }
.section-dark .accordion-button:not(.collapsed) { background: rgba(255,255,255,.10); color: #fff; }
.section-dark .accordion-button::after { filter: invert(1) brightness(2); }
.section-dark .accordion-body { color: var(--text-light); }

/* Dark section tables + badges */
.section-dark .table { color: var(--text-light); border-color: rgba(255,255,255,.15); }
.section-dark .table th { color: #fff; }
.section-dark .table td { color: var(--text-light); }
.section-dark .table-striped > tbody > tr:nth-of-type(odd) > * { color: var(--text-light); --bs-table-bg-type: rgba(255,255,255,.03); }
.section-dark .badge { font-weight: 500; }
.section-dark .badge.bg-light { color: var(--text-dark) !important; }
.section-dark .nav-link { color: rgba(255,255,255,.7); }
.section-dark .nav-link.active, .section-dark .nav-link:hover { color: #fff; }
.section-dark .nav-tabs .nav-link.active { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); color: #fff; }

/* Dark section list-groups */
.section-dark .list-group-item { background: rgba(255,255,255,.06); color: var(--text-light); border-color: rgba(255,255,255,.15); }
.section-dark .list-group-item.active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }

/* Dark section breadcrumbs (general, outside page-banner) */
.section-dark .breadcrumb-item, .section-dark .breadcrumb-item a { color: rgba(255,255,255,.65); }
.section-dark .breadcrumb-item a:hover { color: #fff; }
.section-dark .breadcrumb-item.active { color: rgba(255,255,255,.5); }
.section-dark .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* Dark section pagination */
.section-dark .page-link { background: rgba(255,255,255,.06); color: var(--text-light); border-color: rgba(255,255,255,.15); }
.section-dark .page-link:hover { background: rgba(255,255,255,.12); color: #fff; }
.section-dark .page-item.active .page-link { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.section-dark .page-item.disabled .page-link { background: rgba(255,255,255,.03); color: rgba(255,255,255,.3); }

/* Dark section progress bars */
.section-dark .progress { background: rgba(255,255,255,.1); border-radius: .5rem; }

/* Dark section alerts — transparent tinted variants */
.section-dark .alert { border: none; }
.section-dark .alert-primary { background: rgba(13,110,253,.15); color: #6ea8fe; }
.section-dark .alert-success { background: rgba(25,135,84,.15); color: #75b798; }
.section-dark .alert-danger { background: rgba(220,53,69,.15); color: #ea868f; }
.section-dark .alert-warning { background: rgba(255,193,7,.15); color: #ffda6a; }
.section-dark .alert-info { background: rgba(13,202,240,.15); color: #6edff6; }

/* Close button in dark sections */
.section-dark .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

/* Modals + offcanvas always render light (they float above page context) */
.modal-content { background: #fff; color: var(--text-dark); }
.modal-content h1, .modal-content h2, .modal-content h3, .modal-content h4, .modal-content h5, .modal-content h6 { color: var(--text-dark); }
.modal-content p, .modal-content li, .modal-content span, .modal-content label { color: var(--text-dark); }
.modal-header { border-bottom-color: #dee2e6; }
.modal-footer { border-top-color: #dee2e6; }
.offcanvas { background: #fff; color: var(--text-dark); }

/* Dark section form-check inputs (standalone, not inside white container) */
.section-dark .form-check-input { background-color: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.section-dark .form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.section-dark .form-check-label { color: var(--text-light); }
.section-dark .form-switch .form-check-input { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,.6)'/%3e%3c/svg%3e"); }

/* Dropdown menus (navbar + general) */
.navbar .dropdown-menu { background: #fff; border: none; border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem 0; }
.navbar .dropdown-menu .dropdown-item { color: var(--text-dark); padding: .5rem 1.25rem; transition: background .15s; }
.navbar .dropdown-menu .dropdown-item:hover, .navbar .dropdown-menu .dropdown-item:focus { background: #f0f4f8; color: var(--text-dark); }
.navbar .dropdown-menu .dropdown-divider { border-color: #e9ecef; }
.section-dark .dropdown-menu { background: rgba(15,23,42,.95); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(10px); }
.section-dark .dropdown-menu .dropdown-item { color: var(--text-light); }
.section-dark .dropdown-menu .dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Blockquote contrast in dark sections */
.section-dark blockquote, .section-dark .blockquote { color: var(--text-light); }
.section-dark blockquote footer, .section-dark .blockquote-footer { color: var(--text-light-muted); }

/* Code / pre / kbd — dark section contrast */
.section-dark code { color: #e9b0ff; background: rgba(255,255,255,.08); padding: .15em .4em; border-radius: .25rem; }
.section-dark pre { background: rgba(0,0,0,.4); color: var(--text-light); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1rem; overflow-x: auto; }
.section-dark pre code { background: none; color: inherit; padding: 0; }
.section-dark kbd { background: rgba(255,255,255,.15); color: #fff; }
/* Code in light sections — ensure readable */
.section-light code { color: #c7254e; background: rgba(0,0,0,.04); padding: .15em .4em; border-radius: .25rem; }
.section-light pre { background: #f8f9fa; color: var(--text-dark); border: 1px solid #e9ecef; border-radius: var(--radius); padding: 1rem; overflow-x: auto; }

/* Mark/del/ins inline elements */
.section-dark mark, .section-dark .mark { background: rgba(255,193,7,.25); color: #fff; padding: .15em .3em; border-radius: .15rem; }
.section-dark del, .section-dark s { color: var(--text-light-muted); }
.section-dark ins { color: var(--text-light); text-decoration-color: rgba(255,255,255,.4); }

/* Input group addons — dark section contrast */
.section-dark .input-group-text { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: var(--text-light); }
.section-dark .bg-white:not([class*="bg-opacity-"]) .input-group-text,
.section-dark .bg-light:not([class*="bg-opacity-"]) .input-group-text { background: #e9ecef; border-color: #dee2e6; color: var(--text-dark); }

/* Form floating labels — dark section contrast */
.section-dark .form-floating > .form-control:not(:placeholder-shown) ~ label,
.section-dark .form-floating > .form-select ~ label { color: var(--text-light-muted); }
.section-dark .form-floating > .form-control:focus ~ label { color: var(--text-light); }

/* Badge completeness — all variants in dark sections */
.section-dark .badge.bg-white { color: var(--text-dark) !important; }
.section-dark .badge.bg-light { color: var(--text-dark) !important; }

/* All outline button variants in dark sections — ensure visibility */
.section-dark .btn-outline-secondary { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.3); }
.section-dark .btn-outline-secondary:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); }
.section-dark .btn-outline-success { color: #75b798; border-color: #75b798; }
.section-dark .btn-outline-danger { color: #ea868f; border-color: #ea868f; }
.section-dark .btn-outline-warning { color: #ffda6a; border-color: #ffda6a; }
.section-dark .btn-outline-info { color: #6edff6; border-color: #6edff6; }
.section-dark .btn-outline-dark { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.3); }

/* Footer form controls — dark bg needs light inputs */
footer .form-control, footer .form-select { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
footer .form-control::placeholder { color: rgba(255,255,255,.45); }
footer .form-control:focus, footer .form-select:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); }
footer .form-label { color: var(--text-light); }
footer .form-check-input { background-color: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
footer .form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
footer .input-group-text { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: var(--text-light); }

/* Nested containers: .card.bg-white inside another card inside dark section */
.section-dark .card .card.bg-white:not([class*="bg-opacity-"]),
.section-dark .card .bg-white:not([class*="bg-opacity-"]) { color: var(--text-dark) !important; }
.section-dark .card .card.bg-white:not([class*="bg-opacity-"]) *,
.section-dark .card .bg-white:not([class*="bg-opacity-"]) * { color: var(--text-dark) !important; }
.section-dark .card .card.bg-white:not([class*="bg-opacity-"]) .btn-primary,
.section-dark .card .bg-white:not([class*="bg-opacity-"]) .btn-primary { color: #fff !important; }

/* Section utility backgrounds */
.bg-ink { background: var(--ink-950); }
.bg-light-subtle { background: #f8f9fa; }
.bg-accent { background: var(--bs-primary); color: #fff; }
.bg-accent h1, .bg-accent h2, .bg-accent h3, .bg-accent h4, .bg-accent p, .bg-accent li { color: #fff; }
.bg-accent a:not(.btn) { color: #fff; text-decoration: underline; }

/* Alternating section background helper */
.section-alt { background: #f8f9fb; color: var(--text-dark); }

/* Button contrast fixes */
.btn-light { background: #fff; color: var(--text-dark); border-color: #fff; }
.btn-light:hover { background: #f0f0f0; color: var(--text-dark); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: #fff; color: var(--text-dark); }

/* Icon boxes (for feature/service sections) */
.icon-box, .icon-box-sm { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease; }
.icon-box { width: 64px; height: 64px; border-radius: 16px; font-size: 1.5rem; }
.icon-box-sm { width: 48px; height: 48px; border-radius: 12px; font-size: 1.1rem; }
.section-light .icon-box, .section-light .icon-box-sm, .section-alt .icon-box, .section-alt .icon-box-sm { background: color-mix(in srgb, var(--bs-primary) 10%, white); color: var(--bs-primary); }
.section-dark .icon-box, .section-dark .icon-box-sm { background: rgba(255,255,255,.12); color: #fff; }
.icon-box i, .icon-box-sm i { min-width: 1em; min-height: 1em; }

/* Service cards — elevated, interactive cards with branded hover */
.service-card { border-radius: var(--radius) !important; padding: 2rem 1.75rem; transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1), border-color .3s ease; border-bottom: 3px solid transparent; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.14) !important; border-bottom-color: var(--bs-primary); }
.service-card:hover .icon-box, .service-card:hover .service-icon { background: var(--bs-primary) !important; color: #fff !important; transform: scale(1.08); box-shadow: 0 8px 24px color-mix(in srgb, var(--bs-primary) 35%, transparent); }
.service-card .icon-box { width: 72px; height: 72px; border-radius: 50%; font-size: 1.5rem; margin-bottom: 1.25rem; }
.service-card .service-icon { width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; background: color-mix(in srgb, var(--bs-primary) 10%, white); color: var(--bs-primary); transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease; }
.section-light .service-card { background: #fff; border: 1px solid rgba(0,0,0,.06); border-bottom: 3px solid transparent; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.section-alt .service-card { background: #fff; border-bottom: 3px solid transparent; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.section-dark .service-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-bottom: 3px solid transparent; }
.section-dark .service-card:hover { border-bottom-color: var(--bs-primary); }
.section-dark .service-card .service-icon { background: rgba(255,255,255,.1); color: #fff; }
.service-card h3, .service-card h4, .service-card h5 { font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.service-card p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Icon-card — responsive icon+text layout that adapts to card width automatically.
   Wide cards (2-col grids, >320px): icon LEFT of text (horizontal).
   Narrow cards (3/4-col grids, ≤320px): icon ABOVE text (stacked, centered).
   Breakpoint 320px catches: col-lg-3 at all viewports, col-lg-4 at lg, nested cards. */
.card { container-type: inline-size; }
.icon-card { display: flex; flex-direction: row; align-items: flex-start; gap: 1rem; flex: 1; }
.icon-card > .icon-box + div { flex: 1; min-width: 0; }
.icon-card h3, .icon-card h4, .icon-card h5, .icon-card h6 { margin-bottom: .35rem; }
.icon-card p:last-child { margin-bottom: 0; }

/* Stacked mode — narrow cards get centered vertical layout with cross-card alignment */
@container (max-width: 320px) {
    .icon-card { flex-direction: column; align-items: center; text-align: center; gap: .75rem; }
    .icon-card .icon-box { width: 56px; height: 56px; font-size: 1.3rem; border-radius: 14px; }
    .icon-card > .icon-box + div { display: flex; flex-direction: column; width: 100%; }
    .icon-card h3, .icon-card h4, .icon-card h5, .icon-card h6 { min-height: 2.5em; }
}

/* Horizontal mode — medium-width cards (320px–440px) use compact icon */
@container (min-width: 321px) and (max-width: 440px) {
    .icon-card .icon-box { width: 48px; height: 48px; font-size: 1.1rem; border-radius: 12px; }
    .icon-card { gap: .75rem; }
}

/* Card padding safety net — ensures cards always have usable internal spacing */
.card:not(:has(.card-body)) { padding: 1.5rem; }
.card .card-body { padding: 1.5rem; }

/* Inline CTA cards — solid-bg cards inside single-column article layouts must stay contained */
.card[class*="bg-"] { overflow: hidden; max-width: 100%; box-sizing: border-box; }
.card[class*="bg-"]:not(.h-100) { border-radius: var(--radius, .5rem); }

/* Article/blog content — readable typography with visual rhythm */
article { font-size: 1.05rem; line-height: 1.8; }
article h2 { margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid color-mix(in srgb, var(--bs-primary) 15%, transparent); }
article h3 { margin-top: 2rem; margin-bottom: .75rem; }
article p { margin-bottom: 1.25rem; }
article .lead { font-size: 1.15rem; color: #4b5563; line-height: 1.9; }
article blockquote { border-left: 4px solid var(--bs-primary); padding: 1.25rem 1.5rem; margin: 2rem 0; background: rgba(0,0,0,.02); border-radius: 0 .5rem .5rem 0; font-style: italic; }
article img:not(.icon-box img) { border-radius: .75rem; margin: 1.5rem 0; }

/* Card contrast in dark sections — glass-style cards need visible distinction */
.section-dark .card { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); }
.section-dark .card h3, .section-dark .card h4, .section-dark .card h5 { color: #fff !important; }
.section-dark .card p, .section-dark .card li { color: var(--text-light); }

/* Default list polish — clean spacing and branded markers for both themes */
.section-light ul:not(.list-unstyled):not(.check-list):not(.navbar-nav):not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.list-group) { padding-left: 0; list-style: none; }
.section-light ul:not(.list-unstyled):not(.check-list):not(.navbar-nav):not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.list-group) > li { padding-left: 1.5rem; position: relative; margin-bottom: .4rem; }
.section-light ul:not(.list-unstyled):not(.check-list):not(.navbar-nav):not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.list-group) > li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--bs-primary); }
.section-dark ul:not(.list-unstyled):not(.check-list):not(.navbar-nav):not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.list-group) { padding-left: 0; list-style: none; }
.section-dark ul:not(.list-unstyled):not(.check-list):not(.navbar-nav):not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.list-group) > li { padding-left: 1.5rem; position: relative; margin-bottom: .4rem; }
.section-dark ul:not(.list-unstyled):not(.check-list):not(.navbar-nav):not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.list-group) > li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); }

/* Check-mark list — !important prevents AI theme CSS from breaking the icon positioning */
.check-list { list-style: none !important; padding-left: 0 !important; }
.check-list li { padding-left: 1.75rem !important; position: relative !important; margin-bottom: .5rem; display: block !important; }
.check-list li::before { content: '\f00c' !important; font-family: 'Font Awesome 6 Free' !important; font-weight: 900 !important; position: absolute !important; left: 0 !important; color: var(--bs-primary); font-size: .85rem; top: .15em !important; }
.section-dark .check-list li::before { color: rgba(255,255,255,.7); }

/* Section heading accent */
.section-label { text-transform: uppercase; font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--bs-primary); margin-bottom: .25rem; }
.section-dark .section-label { color: rgba(255,255,255,.6); }

/* CTA section helper -- always has a dark/colored bg, so enforce white text and button contrast */
.cta-section { padding: 4rem 0; text-align: center; color: #fff; }
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4, .cta-section h5, .cta-section h6 { color: #fff !important; }
.cta-section p, .cta-section .lead { color: rgba(255,255,255,.9); }
.cta-section a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: underline; }
.cta-section .btn { color: #fff !important; border-color: rgba(255,255,255,.5); }
.cta-section .btn-primary, .cta-section .btn-dark { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.cta-section .btn-primary:hover, .cta-section .btn-dark:hover { background: rgba(255,255,255,.25); }
.cta-section .btn-light { color: var(--text-dark, #1e293b) !important; background: #fff; border-color: #fff; }
.cta-section .btn-light:hover { background: rgba(255,255,255,.9); }
.cta-section .btn-outline-light { color: #fff !important; border-color: rgba(255,255,255,.6); background: transparent; }
.cta-section .btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* Contact info items -- consistent layout for phone/email/location/hours blocks */
.contact-item, .contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; padding: .75rem; border-radius: var(--radius-sm, 8px); transition: background .2s ease; }
.contact-item:hover, .contact-info-item:hover { background: rgba(0,0,0,.02); }
.contact-icon, .contact-info-icon { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; background: color-mix(in srgb, var(--bs-primary) 10%, white); color: var(--bs-primary); transition: transform .2s ease, background .2s ease, color .2s ease; }
.contact-item:hover .contact-icon, .contact-info-item:hover .contact-info-icon { background: var(--bs-primary); color: #fff; transform: scale(1.05); }
.section-dark .contact-icon, .section-dark .contact-info-icon { background: rgba(255,255,255,.1); color: #fff; }
.section-dark .contact-item:hover, .section-dark .contact-info-item:hover { background: rgba(255,255,255,.04); }
.section-dark .contact-item:hover .contact-icon, .section-dark .contact-info-item:hover .contact-info-icon { background: rgba(255,255,255,.2); }
.contact-details h5, .contact-details h6, .contact-info-details h5, .contact-info-details h6 { margin-bottom: .25rem; font-size: .95rem; font-weight: 600; }
.contact-details p, .contact-info-details p { margin-bottom: 0; font-size: .9rem; color: #6b7280; }
.contact-details a, .contact-info-details a { color: var(--bs-primary); font-weight: 500; }
.contact-info-card { display: flex; flex-direction: column; gap: .25rem; padding: 2rem; border-radius: var(--radius); background: #fff; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 4px 16px rgba(0,0,0,.05); height: auto !important; }
.section-alt .contact-info-card { box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.section-dark .contact-info-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); }
.section-dark .contact-details p, .section-dark .contact-info-details p { color: rgba(255,255,255,.7); }
.section-dark .contact-details h5, .section-dark .contact-details h6, .section-dark .contact-info-details h5, .section-dark .contact-info-details h6 { color: #fff; }

/* Lead text helper */
.lead { font-size: 1.15rem; line-height: 1.7; }

/* Divider */
div.section-divider, hr.section-divider, span.section-divider { width: 60px; height: 3px; background: var(--bs-primary); border-radius: 3px; display: block; }

/* Back-to-top button */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; z-index: 1030; width: 44px; height: 44px; border-radius: 50%; background: var(--bs-primary); color: #fff; border: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, transform .3s; cursor: pointer; }
.back-to-top.show, .back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); filter: brightness(.9); }

/* Responsive table wrapper */
.table-responsive { border-radius: var(--radius); }
.section-dark .table-responsive { border: 1px solid rgba(255,255,255,.15); }

/* Horizontal rule in dark sections */
.section-dark hr { border-top-color: rgba(255,255,255,.15); }

/* Testimonial / review cards */
.testimonial-card { position: relative; padding: 2rem; border-radius: var(--radius); border-left: 3px solid var(--bs-primary); transition: transform .3s ease, box-shadow .3s ease; }
.testimonial-card:hover { transform: translateY(-3px); }
.testimonial-card::before { content: '\201c'; font-size: 5rem; line-height: 1; position: absolute; top: .25rem; left: 1.25rem; color: var(--bs-primary); opacity: .15; font-family: Georgia, serif; pointer-events: none; }
.section-light .testimonial-card, .section-alt .testimonial-card { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.section-light .testimonial-card:hover, .section-alt .testimonial-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.09); }
.section-dark .testimonial-card { background: rgba(255,255,255,.06); border-left-color: rgba(255,255,255,.3); }
.section-dark .testimonial-card::before { color: rgba(255,255,255,.15); }
.testimonial-card footer, .testimonial-card cite, .testimonial-card .attribution,
blockquote footer, blockquote cite { background: none !important; display: block; font-style: normal; font-size: .9rem; margin-top: .75rem; }
.section-light .testimonial-card footer, .section-light .testimonial-card cite,
.section-light blockquote footer, .section-light blockquote cite,
.section-alt .testimonial-card footer, .section-alt .testimonial-card cite,
.section-alt blockquote footer, .section-alt blockquote cite { color: var(--text-muted) !important; }
.section-dark .testimonial-card footer, .section-dark .testimonial-card cite,
.section-dark blockquote footer, .section-dark blockquote cite { color: rgba(255,255,255,.65) !important; }

/* Star ratings */
.stars { color: #fbbf24; font-size: 1rem; letter-spacing: .1em; }
.section-dark .stars { color: #fbbf24; }

/* Pricing table highlights */
.pricing-card.featured, .pricing-card.popular { border: 2px solid var(--bs-primary); transform: scale(1.03); }
.pricing-card .price { font-size: 2.5rem; font-weight: 700; line-height: 1.1; }
.pricing-card .price small { font-size: .9rem; font-weight: 400; opacity: .7; }

/* Number counter / stat styling */
.stat-number { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-label { display: block; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: .5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-item, .stat-card, .stat-box { text-align: center; padding: 1.5rem 1rem; overflow: hidden; }
.section-dark .stat-number { color: #fff; }
.section-dark .stat-label { color: rgba(255,255,255,.7); }
.section-light .stat-number, .section-alt .stat-number { color: var(--bs-primary); }
.section-light .stat-label, .section-alt .stat-label { color: #6b7280; }
.section-light .stat-item, .section-alt .stat-item { position: relative; }
.section-light .stat-item + .stat-item::before, .section-alt .stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: rgba(0,0,0,.1); }
@media (max-width: 767.98px) { .stat-item + .stat-item::before { display: none; } }

/* Value / feature cards — icon + heading + text with depth and interaction */
.value-card, .feature-card { padding: 2rem 1.75rem; border-radius: var(--radius); transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1), border-color .3s ease; display: flex; flex-direction: column; text-align: center; border-bottom: 3px solid transparent; }
.value-card:hover, .feature-card:hover { transform: translateY(-6px); border-bottom-color: var(--bs-primary); }
.value-card h3, .value-card h4, .value-card h5, .feature-card h3, .feature-card h4, .feature-card h5 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.value-card p, .feature-card p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.section-light .value-card, .section-light .feature-card { background: var(--section-alt-bg, #f8f9fb); box-shadow: 0 4px 16px rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.04); border-bottom: 3px solid transparent; }
.section-light .value-card:hover, .section-light .feature-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.section-alt .value-card, .section-alt .feature-card { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.04); border-bottom: 3px solid transparent; }
.section-alt .value-card:hover, .section-alt .feature-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.section-dark .value-card, .section-dark .feature-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-bottom: 3px solid transparent; }
.section-dark .value-card:hover, .section-dark .feature-card:hover { border-bottom-color: var(--bs-primary); }
.value-icon, .feature-icon { width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin: 0 auto 1.25rem; background: color-mix(in srgb, var(--bs-primary) 10%, white); color: var(--bs-primary); transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease; }
.value-card:hover .value-icon, .feature-card:hover .feature-icon { background: var(--bs-primary); color: #fff; transform: scale(1.1); box-shadow: 0 8px 24px color-mix(in srgb, var(--bs-primary) 30%, transparent); }
.section-dark .value-icon, .section-dark .feature-icon { background: rgba(255,255,255,.1); color: #fff; }
.section-dark .value-card:hover .value-icon, .section-dark .feature-card:hover .feature-icon { background: rgba(255,255,255,.2); transform: scale(1.1); }

/* Project / portfolio cards — image + overlay + info */
.project-card { border-radius: var(--radius); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.15); }
.project-image { position: relative; overflow: hidden; }
.project-image img { width: 100%; height: 280px; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }
.project-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: .75rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.project-category { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.85); }
.project-info { padding: 1.25rem 1rem; }
.project-info h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.project-info p { font-size: .9rem; margin-bottom: 0; opacity: .75; }
.section-light .project-card { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.section-dark .project-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.section-dark .project-info h4 { color: #fff; }
.section-dark .project-info p { color: rgba(255,255,255,.65); }
@media (max-width: 767.98px) { .project-image img { height: 220px; } }

/* Service link inside service-card */
.service-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--bs-primary); text-decoration: none; margin-top: auto; padding-top: .75rem; }
.service-link:hover { gap: .6rem; }
.service-link i { font-size: .75rem; transition: transform .2s ease; }
.service-link:hover i { transform: translateX(3px); }

/* Timeline / process step styling */
.step-number { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.section-light .step-number, .section-alt .step-number { background: color-mix(in srgb, var(--bs-primary) 12%, white); color: var(--bs-primary); }
.section-dark .step-number { background: rgba(255,255,255,.12); color: #fff; }

/* Process step — alternating image+text layout for building process / how-we-work pages */
.process-timeline { display: flex; flex-direction: column; gap: 4rem; }
.process-step-number { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; font-weight: 700; font-size: 1.25rem; margin-bottom: 1.25rem; flex-shrink: 0; }
.section-light .process-step-number, .section-alt .process-step-number { background: color-mix(in srgb, var(--bs-primary) 12%, white); color: var(--bs-primary); }
.section-dark .process-step-number { background: rgba(255,255,255,.12); color: #fff; }
.process-step-content { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 2.5rem; align-items: center; }
.process-step-reverse .process-step-content { direction: rtl !important; }
.process-step-reverse .process-step-content > * { direction: ltr !important; }
.process-step-image { overflow: hidden; border-radius: var(--radius); }
.process-step-image img { width: 100% !important; height: 350px !important; object-fit: cover !important; border-radius: var(--radius); }
.process-step-text h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: .75rem; }
.process-step-text p { line-height: 1.7; }
@media (max-width: 768px) {
    .process-step-content { grid-template-columns: 1fr !important; }
    .process-step-reverse .process-step-content { direction: ltr !important; }
    .process-step-image img { height: 250px !important; }
}

/* ---- Utility classes (opt-in building blocks) ---- */

/* Overlay positioning for image sections */
.overlay { position: absolute; inset: 0; z-index: 1; }
.overlay + .container, .overlay ~ .container, .overlay + .container-fluid, .overlay ~ .container-fluid { position: relative; z-index: 2; }

/* Gradient overlays — AI picks direction, these are ready-to-use */
.gradient-dark { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.3) 100%); }
.gradient-left { background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, transparent 70%); }
.gradient-bottom { background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 60%); }
.gradient-radial { background: radial-gradient(ellipse at center, rgba(0,0,0,.1) 0%, rgba(0,0,0,.5) 100%); }

/* Text truncation */
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Object fit utilities */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Aspect ratio helpers */
.aspect-square { aspect-ratio: 1; }
.aspect-video { aspect-ratio: 16/9; }
.aspect-portrait { aspect-ratio: 3/4; }

/* Glassmorphism utility */
.glass { background: rgba(255,255,255,.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.12); }
.glass-light { background: rgba(255,255,255,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.5); }

/* Hover effects (opt-in) */
.hover-lift { transition: transform .3s ease, box-shadow .3s ease; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.hover-scale { transition: transform .3s ease; }
.hover-scale:hover { transform: scale(1.03); }

/* Gradient text */
.text-gradient { background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Full-width break out of container — overflow-x safe */
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); overflow-x: hidden; }

/* Sticky sidebar helper */
.sticky-aside { position: sticky; top: calc(var(--nav-height) + 2rem); }

/* Spacing between stacked sections */
.section-gap { margin-top: var(--section-pad-y); }

/* Numbered list (ordered) with styled counters */
.numbered-list { list-style: none; padding-left: 0; counter-reset: numbered; }
.numbered-list li { padding-left: 2.5rem; position: relative; margin-bottom: 1rem; counter-increment: numbered; }
.numbered-list li::before { content: counter(numbered); position: absolute; left: 0; top: 0; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: color-mix(in srgb, var(--bs-primary) 12%, white); color: var(--bs-primary); font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.section-dark .numbered-list li::before { background: rgba(255,255,255,.12); color: #fff; }

/* ---- Animation keyframes (opt-in building blocks) ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.animate-fade-in-up { animation: fadeInUp .6s ease both; }
.animate-fade-in { animation: fadeIn .5s ease both; }
.animate-slide-left { animation: slideInLeft .6s ease both; }
.animate-slide-right { animation: slideInRight .6s ease both; }

/* Skeleton loading placeholder */
.skeleton { background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%); background-size: 200% 100%; animation: shimmer 1.5s ease infinite; border-radius: .5rem; color: transparent !important; }
.section-dark .skeleton { background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.06) 75%); background-size: 200% 100%; }

/* Loading spinner */
.spinner { width: 2rem; height: 2rem; border: 3px solid rgba(0,0,0,.1); border-top-color: var(--bs-primary); border-radius: 50%; animation: spin .6s linear infinite; display: inline-block; }
.section-dark .spinner { border-color: rgba(255,255,255,.15); border-top-color: #fff; }

/* Windows High Contrast / forced-colors mode */
@media (forced-colors: active) {
    .btn { border: 1px solid ButtonText; }
    .card { border: 1px solid CanvasText; }
    .form-control, .form-select { border: 1px solid ButtonText; }
    :focus-visible { outline: 2px solid Highlight; }
    .section-dark, .hero-section, .page-banner, footer { border: 1px solid CanvasText; }
}

/* Touch device minimum target sizes (WCAG 2.5.8) */
@media (pointer: coarse) {
    .btn, .nav-link, .dropdown-item, .page-link { min-height: 44px; display: inline-flex; align-items: center; }
    .form-control, .form-select { min-height: 44px; }
}

/* ── MOBILE RESPONSIVENESS ── */

/* Typography scaling — prevent oversized headings on small screens */
@media (max-width: 575.98px) {
    h1, .h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    h2, .h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
    h3, .h3 { font-size: clamp(1.2rem, 4vw, 1.75rem); }
    .lead { font-size: 1rem; }
    .stat-number { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    .pricing-card .price { font-size: 2rem; }
}

/* Section padding — reduce vertical space on mobile */
@media (max-width: 767.98px) {
    .section-pad { padding-top: 3rem; padding-bottom: 3rem; }
    .cta-section { padding: 2.5rem 0; }
    .hero-section { padding: calc(var(--nav-height) + 1rem) 0 1.5rem !important; min-height: 60vh; }
    .page-banner { padding: 4rem 0 2rem !important; min-height: 200px; }
}

/* Cards & grids — stack cleanly on mobile */
@media (max-width: 575.98px) {
    .card:not(:has(.card-body)) { padding: 1.25rem; }
    .card .card-body { padding: 1.25rem; }
    .testimonial-card { padding: 1.5rem; }
    .testimonial-card::before { font-size: 3rem; }
}

/* Buttons — full width on mobile when stacked */
@media (max-width: 575.98px) {
    .hero-section .btn, .cta-section .btn, .page-banner .btn { width: 100%; }
    .hero-section .d-flex.gap-3, .cta-section .d-flex.gap-3 { flex-direction: column; width: 100%; }
    .hero-section .d-flex.gap-3 .btn, .cta-section .d-flex.gap-3 .btn { width: 100%; justify-content: center; }
}

/* Footer — center content on mobile when columns stack */
@media (max-width: 767.98px) {
    footer .row > [class*="col"] { text-align: center; }
    footer .d-flex { justify-content: center; }
    footer .footer-logo { margin-left: auto; margin-right: auto; display: block; }
    footer ul { padding-left: 0; }
}

/* Two-column text+image sections — ensure proper stacking order */
@media (max-width: 991.98px) {
    .row > [class*="col-lg-"] > .media-frame,
    .row > [class*="col-lg-"] > .ratio,
    .row > [class*="col-lg-"] > img { margin-bottom: 1.5rem; }
    /* Contact info + form: add spacing when columns stack */
    .row > [class*="col-lg-"] > .contact-info-card { margin-bottom: 1.5rem; }
}

/* Forms — full width on mobile, proper spacing */
@media (max-width: 575.98px) {
    .form-control, .form-select { font-size: 16px; }
}

/* Tables — force responsive scroll on mobile */
@media (max-width: 767.98px) {
    table:not(.table-responsive *) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Poster/media frames — reduce max height on mobile */
@media (max-width: 575.98px) {
    .poster-frame { max-height: 300px; }
    .poster-frame img { max-height: 300px; }
}

/* Gallery — smaller on mobile */
@media (max-width: 575.98px) {
    .gallery-grid img, .portfolio-grid img { height: 180px !important; }
}

/* Badge/pill groups — allow wrapping with smaller gap on mobile */
@media (max-width: 575.98px) {
    .d-flex.flex-wrap.gap-2 { gap: .4rem !important; }
    .badge { font-size: .75rem; padding: .35em .6em; }
}

/* Footer — stack columns and center on small screens */
@media (max-width: 575.98px) {
    footer .row > [class*="col"] { text-align: center; margin-bottom: 2rem; }
    footer .row > [class*="col"]:last-child { margin-bottom: 0; }
}

/* Sticky aside — unstick on mobile (would cover content) */
@media (max-width: 991.98px) {
    .sticky-aside { position: static; }
}

/* Icon card — ensure text doesn't cramp on very small screens */
@media (max-width: 575.98px) {
    .icon-card { gap: .75rem; }
}

/* Prevent horizontal overflow from any rogue element */
section { overflow-x: clip; }

/* Print stylesheet */
@media print {
    .navbar, footer, .back-to-top, .skip-link { display: none !important; }
    body { color: #000 !important; background: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .section-dark { background: #f5f5f5 !important; color: #000 !important; }
    .section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6,
    .section-dark p, .section-dark li, .section-dark span, .section-dark label { color: #000 !important; }
    .hero-section, .page-banner { background: #f5f5f5 !important; padding: 2rem 0 !important; margin-top: 0 !important; }
    .hero-section h1, .hero-section p, .page-banner h1, .page-banner p { color: #000 !important; }
    .shadow, .shadow-sm, .shadow-soft, .shadow-lg { box-shadow: none !important; }
    .card { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: avoid; }
    a[href]::after { content: " (" attr(href) ")"; font-size: .8em; color: #666; }
    a.btn::after, .navbar a::after { content: none !important; }
    img { max-width: 100% !important; }
    .page-content { padding-top: 0 !important; }
}

/* ===== EXTENDED LAYOUT COMPONENTS ===== */

/* intro-split — two-panel hero: left text, right full-bleed image */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; }
.intro-split-text { display: flex; flex-direction: column; justify-content: center; padding: 4rem 3rem; }
.intro-split-image { overflow: hidden; }
.intro-split-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991.98px) {
    .intro-split { grid-template-columns: 1fr; min-height: auto; }
    .intro-split-image { min-height: 50vh; }
}

/* listing — numbered vertical list (alternative to card grids) */
.listing { list-style: none; padding: 0; margin: 0; counter-reset: listing-counter; }
.listing-item { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid rgba(0,0,0,.1); position: relative; }
.listing-item::before { counter-increment: listing-counter; content: counter(listing-counter, decimal-leading-zero); font-size: 1rem; font-weight: 400; font-family: 'JetBrains Mono', 'SF Mono', monospace; color: rgba(0,0,0,.25); padding-top: .2rem; }
.listing-item:first-child { border-top: 1px solid rgba(0,0,0,.1); }
.listing-item h3, .listing-item h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; margin-bottom: .5rem; }
.listing-item p { margin-bottom: 0; opacity: .7; max-width: 600px; }
.section-dark .listing-item { border-bottom-color: rgba(255,255,255,.1); }
.section-dark .listing-item:first-child { border-top-color: rgba(255,255,255,.1); }
.section-dark .listing-item::before { color: rgba(255,255,255,.2); }
@media (max-width: 767.98px) {
    .listing-item { grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.75rem 0; }
}

/* pull-quote — large centered quote block (alternative to testimonial cards) */
.pull-quote { text-align: center; padding: 4rem 0; border-top: 1px solid rgba(0,0,0,.1); border-bottom: 1px solid rgba(0,0,0,.1); margin: 0 auto; max-width: 800px; }
.pull-quote blockquote, .pull-quote p.quote-text { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; margin-bottom: 1.5rem; font-style: italic; }
.pull-quote cite, .pull-quote .attribution { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; font-style: normal; display: block; opacity: .5; }
.section-dark .pull-quote { border-top-color: rgba(255,255,255,.1); border-bottom-color: rgba(255,255,255,.1); }

/* image-break — full-bleed image between sections */
.image-break { width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; }
.image-break img { width: 100%; height: 50vh; object-fit: cover; display: block; }
@media (min-width: 992px) { .image-break img { height: 60vh; } }

/* metric — inline stat display with monospace numbers */
.metric { display: inline-block; margin-right: 3rem; margin-bottom: 1.5rem; }
.metric-value { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-family: 'JetBrains Mono', 'SF Mono', monospace; }
.metric-label { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; margin-top: .5rem; opacity: .45; display: block; }
.section-dark .metric-value { color: #fff; }
.section-light .metric-value { color: var(--bs-primary); }

/* text-band — constrained-width text block for editorial content */
.text-band { max-width: 720px; margin: 0 auto; }
.text-band h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1.5rem; }
.text-band p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.25rem; }

/* showcase-grid — masonry-style image grid */
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.showcase-item { overflow: hidden; position: relative; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.showcase-item:hover img { transform: scale(1.04); }
.showcase-item:nth-child(3n+1) { grid-row: span 2; }
.showcase-caption { padding: 1rem 0; }
.showcase-caption h4 { font-size: 1rem; font-weight: 700; margin-bottom: .15rem; }
.showcase-caption p { font-size: .8rem; opacity: .5; margin-bottom: 0; }
@media (min-width: 768px) { .showcase-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .showcase-item:nth-child(3n+1) { grid-row: span 1; } }

/* tag-label — monospace uppercase label */
.tag-label { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .25em; font-family: 'JetBrains Mono', 'SF Mono', monospace; margin-bottom: 1.5rem; display: block; color: var(--bs-primary); }
.section-dark .tag-label { color: rgba(255,255,255,.4); }

/* minimal-footer — single-line compact footer layout */
.minimal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2rem 0; }
.minimal-footer .footer-logo { margin-right: auto; }
.minimal-footer .footer-links { display: flex; gap: 2rem; }
.minimal-footer .copyright { margin-left: auto; margin-top: 0; padding-top: 0; border-top: none; }
@media (max-width: 767.98px) {
    .minimal-footer { flex-direction: column; text-align: center; }
    .minimal-footer .footer-logo, .minimal-footer .copyright { margin-left: 0; margin-right: 0; }
}

/* btn-accent — secondary brand accent button */
.btn-accent { background: var(--brand-accent); border: none; color: #fff !important; padding: .6rem 2rem; font-weight: 600; transition: filter .2s ease; }
.btn-accent:hover { filter: brightness(.85); }

/* stat-row — horizontal stat layout */
.stat-row, .stats-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 0; }
.stat-row .stat-item, .stat-row .stat-card, .stat-row .stat-box,
.stats-row .stat-item, .stats-row .stat-card, .stats-row .stat-box { flex: 1; min-width: 120px; }

/* section-pad-lg — extra generous padding */
.section-pad.section-pad-lg { padding-top: 7rem; padding-bottom: 7rem; }
@media (max-width: 767.98px) {
    .section-pad.section-pad-lg { padding-top: 4rem; padding-bottom: 4rem; }
}

/* =============================================
   EXTENDED COMPONENTS — UNIVERSAL FRAMEWORK
   Covers every common website type: e-commerce,
   restaurants, real estate, medical, SaaS, blogs,
   events, directories, portfolios, and more.
   ============================================= */

/* ── BUTTON VARIANTS ── */
.btn-gradient { background: linear-gradient(135deg, var(--bs-primary), var(--brand-accent)); border: none; color: #fff !important; padding: .6rem 2rem; font-weight: 600; transition: opacity var(--transition-base); }
.btn-gradient:hover { opacity: .88; color: #fff !important; }
.btn-pill { border-radius: 50rem !important; }
.btn-icon { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); flex-shrink: 0; }
.btn-icon i, .btn-icon svg { margin: 0; }
.btn-xl { padding: .9rem 2.5rem; font-size: 1.1rem; }
.btn-link-arrow { background: none; border: none; color: var(--bs-primary); font-weight: 600; padding: 0; display: inline-flex; align-items: center; gap: .4rem; transition: gap var(--transition-base); }
.btn-link-arrow:hover { gap: .7rem; color: var(--bs-primary); text-decoration: none; }
.btn-link-arrow::after { content: '\2192'; transition: transform var(--transition-base); }
.btn-link-arrow:hover::after { transform: translateX(3px); }
.section-dark .btn-link-arrow { color: rgba(255,255,255,.88); }
.section-dark .btn-link-arrow:hover { color: #fff; }

/* ── E-COMMERCE ── */
.product-card { border-radius: var(--radius); overflow: hidden; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-image { position: relative; overflow: hidden; }
.product-image img { width: 100%; height: 280px; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge { position: absolute; top: .75rem; left: .75rem; padding: .3rem .75rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--radius-sm); z-index: 2; }
.product-badge-sale { background: #ef4444; color: #fff; }
.product-badge-new { background: var(--bs-primary); color: #fff; }
.product-badge-hot { background: #f59e0b; color: #fff; }
.product-info { padding: 1.25rem; }
.product-info h4, .product-info h5 { margin-bottom: .35rem; font-weight: 600; }
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--bs-primary); }
.price-tag { font-weight: 700; font-size: 1.25rem; }
.price-original { text-decoration: line-through; opacity: .5; font-weight: 400; font-size: .9em; margin-right: .5rem; }
.price-sale { color: #ef4444; font-weight: 700; }
.section-dark .product-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .product-info h4, .section-dark .product-info h5 { color: #fff; }
.section-dark .product-price { color: rgba(255,255,255,.9); }
.section-light .product-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.cart-badge { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: #ef4444; color: #fff; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.product-gallery { display: flex; gap: .5rem; }
.product-gallery-main { flex: 1; border-radius: var(--radius); overflow: hidden; }
.product-gallery-main img { width: 100%; height: 400px; object-fit: cover; }
.product-gallery-thumbs { display: flex; flex-direction: column; gap: .5rem; width: 80px; }
.product-gallery-thumbs img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; opacity: .6; transition: opacity var(--transition-base); border: 2px solid transparent; }
.product-gallery-thumbs img:hover, .product-gallery-thumbs img.active { opacity: 1; border-color: var(--bs-primary); }
.quantity-selector { display: inline-flex; align-items: center; border: 1px solid #dee2e6; border-radius: var(--radius-sm); overflow: hidden; }
.quantity-selector button { width: 36px; height: 36px; border: none; background: #f8f9fa; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition-base); }
.quantity-selector button:hover { background: #e9ecef; }
.quantity-selector input { width: 48px; height: 36px; border: none; text-align: center; font-weight: 600; font-size: .9rem; -moz-appearance: textfield; }
.quantity-selector input::-webkit-outer-spin-button, .quantity-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rating { display: inline-flex; align-items: center; gap: .15rem; }
.rating i { color: #fbbf24; font-size: .9rem; }
.rating-count { font-size: .8rem; color: #6b7280; margin-left: .35rem; }
.section-dark .rating-count { color: var(--text-light-muted); }
.category-card { position: relative; overflow: hidden; border-radius: var(--radius); }
.category-card img { width: 100%; height: 250px; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 1.5rem; }
.category-card-overlay h3, .category-card-overlay h4 { color: #fff; margin: 0; font-weight: 700; }
.category-card-overlay p { color: rgba(255,255,255,.8); margin: .25rem 0 0; font-size: .85rem; }
@media (max-width: 767.98px) {
    .product-image img { height: 200px; }
    .product-gallery-main img { height: 280px; }
    .product-gallery-thumbs { flex-direction: row; width: 100%; }
    .product-gallery-thumbs img { width: 60px; height: 60px; }
    .product-gallery { flex-direction: column-reverse; }
    .category-card img { height: 180px; }
}

/* ── RESTAURANT / FOOD ── */
.menu-section { margin-bottom: 2.5rem; }
.menu-section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 2px solid color-mix(in srgb, var(--bs-primary) 20%, transparent); }
.menu-item { display: flex; align-items: baseline; gap: .5rem; padding: .85rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-weight: 600; font-size: 1rem; flex-shrink: 0; }
.menu-divider { flex: 1; border-bottom: 1px dotted rgba(0,0,0,.2); margin: 0 .5rem; min-width: 2rem; align-self: center; }
.menu-item-price { font-weight: 700; color: var(--bs-primary); white-space: nowrap; flex-shrink: 0; }
.menu-item-description { font-size: .85rem; color: #6b7280; margin-top: .2rem; display: block; width: 100%; }
.menu-item-wrapper { display: flex; flex-wrap: wrap; }
.menu-item-top { display: flex; align-items: baseline; gap: .5rem; width: 100%; }
.section-dark .menu-item { border-bottom-color: rgba(255,255,255,.08); }
.section-dark .menu-item-name { color: #fff; }
.section-dark .menu-divider { border-bottom-color: rgba(255,255,255,.15); }
.section-dark .menu-item-price { color: rgba(255,255,255,.9); }
.section-dark .menu-item-description { color: var(--text-light-muted); }
.section-dark .menu-section-title { color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .6rem 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: .95rem; }
.hours-table td:first-child { font-weight: 600; }
.hours-table td:last-child { text-align: right; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table .today td { font-weight: 700; color: var(--bs-primary); }
.section-dark .hours-table td { border-bottom-color: rgba(255,255,255,.1); color: var(--text-light); }
.section-dark .hours-table td:first-child { color: #fff; }
.reservation-card { background: var(--bs-primary); border-radius: var(--radius); padding: 2rem; color: #fff; text-align: center; }
.reservation-card h3, .reservation-card h4 { color: #fff !important; margin-bottom: .75rem; }
.reservation-card p { color: rgba(255,255,255,.85); margin-bottom: 1.25rem; }
.reservation-card .btn { color: var(--bs-primary) !important; background: #fff; border: none; }
.reservation-card .btn:hover { background: rgba(255,255,255,.9); }
@media (max-width: 575.98px) {
    .menu-item { flex-wrap: wrap; }
    .menu-divider { display: none; }
    .menu-item-price { margin-left: auto; }
}

/* ── REAL ESTATE / PROPERTY ── */
.property-card { border-radius: var(--radius); overflow: hidden; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.property-image { position: relative; overflow: hidden; }
.property-image img { width: 100%; height: 240px; object-fit: cover; transition: transform .4s ease; }
.property-card:hover .property-image img { transform: scale(1.05); }
.property-badge { position: absolute; top: .75rem; left: .75rem; padding: .3rem .75rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--radius-sm); z-index: 2; background: var(--bs-primary); color: #fff; }
.property-badge-sold { background: #ef4444; }
.property-badge-new { background: #10b981; }
.property-badge-featured { background: #f59e0b; }
.property-info { padding: 1.25rem; }
.property-price { font-size: 1.35rem; font-weight: 800; color: var(--bs-primary); margin-bottom: .35rem; }
.property-address { font-size: .85rem; color: #6b7280; margin-bottom: .75rem; display: flex; align-items: center; gap: .35rem; }
.property-features { display: flex; gap: 1.25rem; padding-top: .75rem; border-top: 1px solid rgba(0,0,0,.06); }
.property-feature { display: flex; align-items: center; gap: .35rem; font-size: .85rem; color: #6b7280; }
.property-feature i { color: var(--bs-primary); font-size: .8rem; }
.section-light .property-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-dark .property-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .property-info h4, .section-dark .property-info h5 { color: #fff; }
.section-dark .property-price { color: rgba(255,255,255,.95); }
.section-dark .property-address { color: var(--text-light-muted); }
.section-dark .property-features { border-top-color: rgba(255,255,255,.1); }
.section-dark .property-feature { color: var(--text-light-muted); }
.section-dark .property-feature i { color: rgba(255,255,255,.7); }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.agent-card { display: flex; gap: 1.25rem; padding: 1.25rem; border-radius: var(--radius); align-items: center; }
.agent-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.agent-card h5 { margin-bottom: .15rem; }
.agent-card p { margin-bottom: .25rem; font-size: .85rem; color: #6b7280; }
.section-light .agent-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-dark .agent-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .agent-card h5 { color: #fff; }
.section-dark .agent-card p { color: var(--text-light-muted); }
@media (max-width: 767.98px) {
    .property-image img { height: 200px; }
    .listing-grid { grid-template-columns: 1fr; }
}

/* ── BLOG / CONTENT ── */
.blog-card { border-radius: var(--radius); overflow: hidden; transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1); }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.14); }
.blog-card .card-img-top { height: 220px; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .card-img-top { transform: scale(1.05); }
.blog-card .overflow-hidden { overflow: hidden; }
.section-light .blog-card { border: 1px solid rgba(0,0,0,.06); box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.blog-meta { display: flex; align-items: center; gap: .75rem; font-size: .8rem; color: #6b7280; margin-bottom: .75rem; flex-wrap: wrap; }
.blog-category { display: inline-block; padding: .2rem .6rem; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bs-primary) 12%, white); color: var(--bs-primary); }
.blog-date { display: inline-flex; align-items: center; gap: .3rem; }
.blog-author { display: inline-flex; align-items: center; gap: .3rem; }
.section-dark .blog-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .blog-meta { color: var(--text-light-muted); }
.section-dark .blog-category { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.section-light .blog-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.author-box { display: flex; gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius); align-items: center; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box h5 { margin-bottom: .15rem; }
.author-box p { font-size: .9rem; color: #6b7280; margin-bottom: 0; }
.section-light .author-box { background: var(--section-alt-bg); border: 1px solid rgba(0,0,0,.06); }
.section-dark .author-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.section-dark .author-box h5 { color: #fff; }
.section-dark .author-box p { color: var(--text-light-muted); }
.share-buttons { display: flex; gap: .5rem; align-items: center; }
.share-buttons a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; transition: transform var(--transition-base), background var(--transition-base); text-decoration: none !important; }
.share-buttons a:hover { transform: scale(1.1); }
.section-light .share-buttons a { background: var(--section-alt-bg); color: var(--text-dark); }
.section-light .share-buttons a:hover { background: var(--bs-primary); color: #fff; }
.section-dark .share-buttons a { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.section-dark .share-buttons a:hover { background: rgba(255,255,255,.2); color: #fff; }
.reading-time { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; color: #6b7280; }
.section-dark .reading-time { color: var(--text-light-muted); }
.toc { border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.toc-title { font-weight: 700; margin-bottom: .75rem; font-size: .95rem; }
.toc ol, .toc ul { padding-left: 1.25rem; margin-bottom: 0; }
.toc li { margin-bottom: .35rem; font-size: .9rem; }
.toc a { color: var(--bs-primary); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.section-light .toc { background: var(--section-alt-bg); border: 1px solid rgba(0,0,0,.06); }
.section-dark .toc { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.section-dark .toc a { color: rgba(255,255,255,.85); }
.section-dark .toc-title { color: #fff; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-cloud a { display: inline-block; padding: .3rem .75rem; font-size: .8rem; border-radius: var(--radius-sm); text-decoration: none; transition: all var(--transition-base); }
.section-light .tag-cloud a { background: var(--section-alt-bg); color: var(--text-dark); border: 1px solid rgba(0,0,0,.06); }
.section-light .tag-cloud a:hover { background: var(--bs-primary); color: #fff; border-color: var(--bs-primary); }
.section-dark .tag-cloud a { background: rgba(255,255,255,.08); color: var(--text-light); border: 1px solid rgba(255,255,255,.12); }
.section-dark .tag-cloud a:hover { background: rgba(255,255,255,.18); color: #fff; }
.sidebar-widget { margin-bottom: 2rem; padding: 1.5rem; border-radius: var(--radius); }
.sidebar-widget-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid color-mix(in srgb, var(--bs-primary) 20%, transparent); }
.section-light .sidebar-widget { background: var(--section-alt-bg); border: 1px solid rgba(0,0,0,.06); }
.section-dark .sidebar-widget { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.section-dark .sidebar-widget-title { color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.post-navigation { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid rgba(0,0,0,.08); }
.post-navigation a { display: flex; flex-direction: column; gap: .25rem; text-decoration: none; max-width: 45%; }
.post-navigation a small { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; }
.post-navigation a span { font-weight: 600; color: var(--text-dark); transition: color var(--transition-base); }
.post-navigation a:hover span { color: var(--bs-primary); }
.post-navigation .post-next { text-align: right; margin-left: auto; }
.section-dark .post-navigation { border-top-color: rgba(255,255,255,.1); }
.section-dark .post-navigation a small { color: var(--text-light-muted); }
.section-dark .post-navigation a span { color: #fff; }
.section-dark .post-navigation a:hover span { color: rgba(255,255,255,.7); }
.related-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }

/* Featured / hero blog card — full-width spotlight card on blog index.
   Supports two patterns: overlay (img behind + gradient) and side-by-side (row with img + content cols). */
.blog-featured { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.blog-featured:not(:has(.row)) { min-height: 400px; display: flex; align-items: flex-end; }
.blog-featured:not(:has(.row)) > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-featured:not(:has(.row)) > .blog-featured-content { position: relative; z-index: 1; padding: 2.5rem; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; }
.blog-featured .row { background: #fff; }
.blog-featured .row img { height: 100%; min-height: 350px; object-fit: cover; }
.blog-featured .row .blog-featured-content { background: #fff; color: var(--text-dark, #1e293b); display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
.blog-featured .row .blog-featured-content h2, .blog-featured .row .blog-featured-content h3 { color: var(--text-dark, #1e293b); margin-bottom: .75rem; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; }
.blog-featured .row .blog-featured-content h2 a, .blog-featured .row .blog-featured-content h3 a { color: var(--text-dark, #1e293b); }
.blog-featured .row .blog-featured-content h2 a:hover, .blog-featured .row .blog-featured-content h3 a:hover { color: var(--bs-primary); }
.blog-featured .row .blog-featured-content p { color: #6b7280; margin-bottom: 1.25rem; font-size: .95rem; line-height: 1.7; }
.blog-featured .row .blog-meta { color: #6b7280; font-size: .85rem; }
.blog-featured:not(:has(.row)) .blog-featured-content h2, .blog-featured:not(:has(.row)) .blog-featured-content h3 { color: #fff; margin-bottom: .75rem; }
.blog-featured:not(:has(.row)) .blog-featured-content h2 a, .blog-featured:not(:has(.row)) .blog-featured-content h3 a { color: #fff; }
.blog-featured:not(:has(.row)) .blog-featured-content h2 a:hover, .blog-featured:not(:has(.row)) .blog-featured-content h3 a:hover { color: rgba(255,255,255,.8); }
.blog-featured:not(:has(.row)) .blog-featured-content p { color: rgba(255,255,255,.85); margin-bottom: 1.25rem; font-size: .95rem; }
.blog-featured:not(:has(.row)) .blog-meta { color: rgba(255,255,255,.7); }
.blog-featured .blog-category { background: rgba(255,255,255,.2); color: #fff; }
.section-dark .blog-featured { box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.section-dark .blog-featured .row { background: rgba(255,255,255,.06); }
.section-dark .blog-featured .row .blog-featured-content { background: transparent; color: #fff; }
.section-dark .blog-featured .row .blog-featured-content h2, .section-dark .blog-featured .row .blog-featured-content h3 { color: #fff; }
.section-dark .blog-featured .row .blog-featured-content p { color: rgba(255,255,255,.75); }

/* Article header — post title block at top of single post */
.article-header { margin-bottom: 2.5rem; }
.article-header h1 { margin-bottom: 1rem; }
.article-header .blog-meta { margin-bottom: 1rem; }
.article-header .lead { margin-bottom: 0; }

/* Drop cap — decorative first letter for article opening */
.drop-cap::first-letter { float: left; font-size: 3.5em; line-height: .8; font-weight: 700; margin-right: .1em; margin-top: .05em; color: var(--bs-primary); }
.section-dark .drop-cap::first-letter { color: #fff; }

/* Figure captions inside articles */
article figure { margin: 2rem 0; }
article figure img { width: 100%; border-radius: var(--radius); }
article figcaption { font-size: .8rem; color: #6b7280; text-align: center; margin-top: .5rem; font-style: italic; }
.section-dark article figcaption { color: var(--text-light-muted); }

/* Footnotes */
.footnotes { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,.1); font-size: .85rem; color: #6b7280; }
.footnotes ol { padding-left: 1.25rem; }
.footnotes li { margin-bottom: .5rem; }
.footnote-ref { font-size: .75em; vertical-align: super; text-decoration: none; color: var(--bs-primary); font-weight: 600; }
.section-dark .footnotes { border-top-color: rgba(255,255,255,.1); color: var(--text-light-muted); }
.section-dark .footnote-ref { color: rgba(255,255,255,.85); }

/* Blog list view — horizontal card layout for list-style blog index */
.blog-list-item { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(0,0,0,.06); align-items: flex-start; }
.blog-list-item:last-child { border-bottom: none; }
.blog-list-item img { width: 240px; height: 160px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.blog-list-item-content { flex: 1; min-width: 0; }
.blog-list-item-content h3, .blog-list-item-content h4 { margin-bottom: .5rem; }
.blog-list-item-content p { font-size: .9rem; color: #4b5563; margin-bottom: .5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.section-dark .blog-list-item { border-bottom-color: rgba(255,255,255,.08); }
.section-dark .blog-list-item-content p { color: var(--text-light-muted); }
.section-dark .blog-list-item-content h3, .section-dark .blog-list-item-content h4 { color: #fff; }

/* Category filter tabs — horizontal pills for blog index filtering */
.category-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.category-filter a, .category-filter button { display: inline-block; padding: .4rem 1rem; font-size: .8rem; font-weight: 600; border-radius: 50rem; border: 1px solid rgba(0,0,0,.1); background: transparent; color: var(--text-dark); text-decoration: none; transition: all var(--transition-base); cursor: pointer; }
.category-filter a:hover, .category-filter button:hover, .category-filter a.active, .category-filter button.active { background: var(--bs-primary); color: #fff; border-color: var(--bs-primary); }
.section-dark .category-filter a, .section-dark .category-filter button { border-color: rgba(255,255,255,.15); color: var(--text-light); }
.section-dark .category-filter a:hover, .section-dark .category-filter button:hover, .section-dark .category-filter a.active, .section-dark .category-filter button.active { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.25); }

/* Content highlight box — callout/info/warning boxes inside articles */
.content-box { padding: 1.25rem 1.5rem; border-radius: var(--radius); margin: 1.5rem 0; border-left: 4px solid var(--bs-primary); }
.content-box-info { border-left-color: #3b82f6; }
.content-box-warning { border-left-color: #f59e0b; }
.content-box-success { border-left-color: #10b981; }
.content-box-danger { border-left-color: #ef4444; }
.content-box h5 { margin-bottom: .5rem; font-size: .95rem; }
.content-box p:last-child { margin-bottom: 0; }
.section-light .content-box { background: var(--section-alt-bg); }
.section-dark .content-box { background: rgba(255,255,255,.06); }
.section-dark .content-box h5 { color: #fff; }

@media (max-width: 767.98px) {
    .blog-card .card-img-top { height: 180px; }
    .post-navigation { flex-direction: column; }
    .post-navigation a { max-width: 100%; }
    .post-navigation .post-next { text-align: left; }
    .author-box { flex-direction: column; text-align: center; }
    .related-posts { grid-template-columns: 1fr; }
    .blog-featured { min-height: 300px; }
    .blog-featured-content { padding: 1.5rem; }
    .blog-list-item { flex-direction: column; }
    .blog-list-item img { width: 100%; height: 200px; }
}

/* ── SAAS / TECH ── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.feature-row:nth-child(even) { direction: rtl; }
.feature-row:nth-child(even) > * { direction: ltr; }
.feature-row-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-row-text h3 { margin-bottom: .75rem; }
.feature-row-text p { color: #6b7280; }
.section-dark .feature-row-text h3 { color: #fff; }
.section-dark .feature-row-text p { color: var(--text-light); }
.section-dark .feature-row-image img { box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.comparison-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.comparison-table th { padding: 1rem; text-align: center; font-weight: 700; font-size: .9rem; }
.comparison-table th:first-child { text-align: left; }
.comparison-table td { padding: .75rem 1rem; text-align: center; border-bottom: 1px solid rgba(0,0,0,.06); }
.comparison-table td:first-child { text-align: left; font-weight: 500; }
.comparison-table .check { color: #10b981; font-size: 1.1rem; }
.comparison-table .cross { color: #ef4444; font-size: 1.1rem; }
.comparison-table .plan-featured { background: color-mix(in srgb, var(--bs-primary) 6%, white); }
.section-light .comparison-table { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-light .comparison-table th { background: var(--section-alt-bg); }
.section-dark .comparison-table { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.section-dark .comparison-table th { background: rgba(255,255,255,.06); color: #fff; }
.section-dark .comparison-table td { border-bottom-color: rgba(255,255,255,.08); color: var(--text-light); }
.section-dark .comparison-table .plan-featured { background: rgba(255,255,255,.06); }
.integration-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1.5rem; align-items: center; justify-items: center; }
.integration-grid img { height: 40px; width: auto; max-width: 120px; object-fit: contain; opacity: .6; transition: opacity var(--transition-base); filter: grayscale(100%); }
.integration-grid img:hover { opacity: 1; filter: grayscale(0%); }
.section-dark .integration-grid img { filter: grayscale(100%) brightness(2); opacity: .5; }
.section-dark .integration-grid img:hover { filter: grayscale(0%) brightness(1); opacity: 1; }
.code-block { background: #1e293b; color: #e2e8f0; padding: 1.25rem 1.5rem; border-radius: var(--radius); font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace; font-size: .85rem; line-height: 1.7; overflow-x: auto; position: relative; }
.code-block-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.code-block-lang { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); }
.badge-pill { display: inline-flex; align-items: center; padding: .25rem .65rem; font-size: .7rem; font-weight: 600; border-radius: 50rem; }
.badge-pill-primary { background: color-mix(in srgb, var(--bs-primary) 12%, white); color: var(--bs-primary); }
.badge-pill-success { background: rgba(16,185,129,.12); color: #059669; }
.badge-pill-warning { background: rgba(245,158,11,.12); color: #d97706; }
.badge-pill-danger { background: rgba(239,68,68,.12); color: #dc2626; }
.section-dark .badge-pill-primary { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.section-dark .badge-pill-success { background: rgba(16,185,129,.15); color: #6ee7b7; }
.section-dark .badge-pill-warning { background: rgba(245,158,11,.15); color: #fcd34d; }
.section-dark .badge-pill-danger { background: rgba(239,68,68,.15); color: #fca5a5; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-dot-online { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.status-dot-offline { background: #6b7280; }
.status-dot-busy { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.2); }
.status-dot-away { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.notification-badge { position: relative; }
.notification-badge::after { content: attr(data-count); position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; border-radius: 50%; background: #ef4444; color: #fff; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0 4px; }
@media (max-width: 767.98px) {
    .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature-row:nth-child(even) { direction: ltr; }
    .integration-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* ── EVENTS / VENUES ── */
.event-card { border-radius: var(--radius); overflow: hidden; display: flex; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.event-date-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem 1.25rem; min-width: 80px; text-align: center; flex-shrink: 0; }
.event-date-badge .month { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.event-date-badge .day { font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.event-date-badge .year { font-size: .7rem; opacity: .6; }
.event-info { padding: 1rem 1.25rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.event-info h4, .event-info h5 { margin-bottom: .25rem; }
.event-info p { margin-bottom: 0; font-size: .85rem; color: #6b7280; }
.event-time { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; color: #6b7280; }
.section-light .event-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-light .event-date-badge { background: color-mix(in srgb, var(--bs-primary) 8%, white); color: var(--bs-primary); }
.section-dark .event-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .event-date-badge { background: rgba(255,255,255,.08); color: #fff; }
.section-dark .event-info h4, .section-dark .event-info h5 { color: #fff; }
.section-dark .event-info p, .section-dark .event-time { color: var(--text-light-muted); }
.countdown { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.countdown-unit { text-align: center; min-width: 70px; }
.countdown-value { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; line-height: 1; }
.countdown-label { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; margin-top: .35rem; opacity: .5; }
.section-light .countdown-value { color: var(--bs-primary); }
.section-dark .countdown-value { color: #fff; }
.schedule-item { display: flex; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.schedule-item:last-child { border-bottom: none; }
.schedule-time { min-width: 100px; font-weight: 600; color: var(--bs-primary); flex-shrink: 0; font-size: .9rem; }
.schedule-content { flex: 1; }
.schedule-title { font-weight: 600; margin-bottom: .15rem; }
.schedule-description { font-size: .85rem; color: #6b7280; margin-bottom: 0; }
.section-dark .schedule-item { border-bottom-color: rgba(255,255,255,.1); }
.section-dark .schedule-time { color: rgba(255,255,255,.7); }
.section-dark .schedule-title { color: #fff; }
.section-dark .schedule-description { color: var(--text-light-muted); }
.speaker-card { text-align: center; padding: 1.5rem; border-radius: var(--radius); transition: transform var(--transition-base); }
.speaker-card:hover { transform: translateY(-3px); }
.speaker-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.speaker-card h5 { margin-bottom: .15rem; }
.speaker-card .role { font-size: .85rem; color: #6b7280; }
.section-light .speaker-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-dark .speaker-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .speaker-card h5 { color: #fff; }
.section-dark .speaker-card .role { color: var(--text-light-muted); }
.venue-info { display: flex; gap: 1rem; align-items: flex-start; }
.venue-info i { color: var(--bs-primary); margin-top: .15rem; flex-shrink: 0; }
.venue-info p { margin-bottom: 0; }
.section-dark .venue-info i { color: rgba(255,255,255,.7); }
.section-dark .venue-info p { color: var(--text-light); }
@media (max-width: 575.98px) {
    .event-card { flex-direction: column; }
    .event-date-badge { flex-direction: row; gap: .5rem; padding: .75rem 1rem; min-width: auto; }
    .countdown-unit { min-width: 60px; }
    .schedule-item { flex-direction: column; gap: .5rem; }
    .schedule-time { min-width: auto; }
}

/* ── MEDICAL / PROFESSIONAL SERVICES ── */
.doctor-card { text-align: center; border-radius: var(--radius); overflow: hidden; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.doctor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.doctor-card img { width: 100%; height: 300px; object-fit: cover; object-position: top; }
.doctor-card-body { padding: 1.5rem; }
.doctor-card h4, .doctor-card h5 { margin-bottom: .15rem; }
.doctor-card .credentials { font-size: .8rem; color: var(--bs-primary); font-weight: 600; margin-bottom: .35rem; }
.doctor-card .specialty { font-size: .85rem; color: #6b7280; margin-bottom: 0; }
.section-light .doctor-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-dark .doctor-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .doctor-card h4, .section-dark .doctor-card h5 { color: #fff; }
.section-dark .doctor-card .credentials { color: rgba(255,255,255,.7); }
.section-dark .doctor-card .specialty { color: var(--text-light-muted); }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: .9rem; }
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { font-weight: 600; }
.hours-list .time { color: #6b7280; }
.hours-list .closed { color: #ef4444; font-weight: 500; }
.section-dark .hours-list li { border-bottom-color: rgba(255,255,255,.1); }
.section-dark .hours-list .day { color: #fff; }
.section-dark .hours-list .time { color: var(--text-light-muted); }
.service-list-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.service-list-item:last-child { border-bottom: none; }
.service-list-item .service-list-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: color-mix(in srgb, var(--bs-primary) 10%, white); color: var(--bs-primary); }
.service-list-item .service-list-text { flex: 1; }
.service-list-item .service-list-text h5, .service-list-item .service-list-text h6 { margin-bottom: .1rem; font-size: .95rem; }
.service-list-item .service-list-text p { margin-bottom: 0; font-size: .8rem; color: #6b7280; }
.service-list-item .service-list-price { font-weight: 700; color: var(--bs-primary); white-space: nowrap; flex-shrink: 0; }
.section-dark .service-list-item { border-bottom-color: rgba(255,255,255,.1); }
.section-dark .service-list-item .service-list-icon { background: rgba(255,255,255,.1); color: #fff; }
.section-dark .service-list-item .service-list-text h5, .section-dark .service-list-item .service-list-text h6 { color: #fff; }
.section-dark .service-list-item .service-list-text p { color: var(--text-light-muted); }
.section-dark .service-list-item .service-list-price { color: rgba(255,255,255,.9); }
.insurance-logos { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; }
.insurance-logos img { height: 40px; width: auto; max-width: 120px; object-fit: contain; opacity: .6; transition: opacity var(--transition-base); }
.insurance-logos img:hover { opacity: 1; }
.booking-cta { padding: 2rem; border-radius: var(--radius); text-align: center; background: color-mix(in srgb, var(--bs-primary) 6%, white); border: 1px solid color-mix(in srgb, var(--bs-primary) 15%, white); }
.booking-cta h4, .booking-cta h5 { margin-bottom: .5rem; }
.booking-cta p { color: #6b7280; margin-bottom: 1rem; }
.section-dark .booking-cta { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section-dark .booking-cta h4, .section-dark .booking-cta h5 { color: #fff; }
.section-dark .booking-cta p { color: var(--text-light-muted); }
@media (max-width: 767.98px) {
    .doctor-card img { height: 240px; }
    .service-list-item { flex-wrap: wrap; }
    .service-list-item .service-list-price { width: 100%; padding-left: calc(40px + 1rem); }
}

/* ── DIRECTORY / LISTINGS ── */
.listing-card-horizontal { display: flex; border-radius: var(--radius); overflow: hidden; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.listing-card-horizontal:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.listing-card-horizontal img { width: 240px; height: auto; min-height: 180px; object-fit: cover; flex-shrink: 0; }
.listing-card-horizontal .listing-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.listing-card-horizontal h4, .listing-card-horizontal h5 { margin-bottom: .35rem; }
.listing-card-horizontal p { font-size: .9rem; color: #6b7280; flex: 1; }
.section-light .listing-card-horizontal { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-dark .listing-card-horizontal { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .listing-card-horizontal h4, .section-dark .listing-card-horizontal h5 { color: #fff; }
.section-dark .listing-card-horizontal p { color: var(--text-light-muted); }
.filter-bar { display: flex; gap: .75rem; flex-wrap: wrap; padding: 1rem; border-radius: var(--radius); margin-bottom: 1.5rem; align-items: center; }
.section-light .filter-bar { background: var(--section-alt-bg); border: 1px solid rgba(0,0,0,.06); }
.section-dark .filter-bar { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.filter-tag { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; font-size: .8rem; font-weight: 500; border-radius: 50rem; cursor: pointer; transition: all var(--transition-base); }
.filter-tag .remove { font-size: .65rem; cursor: pointer; opacity: .6; transition: opacity var(--transition-base); }
.filter-tag .remove:hover { opacity: 1; }
.section-light .filter-tag { background: color-mix(in srgb, var(--bs-primary) 10%, white); color: var(--bs-primary); border: 1px solid color-mix(in srgb, var(--bs-primary) 20%, white); }
.section-dark .filter-tag { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.2); }
.sort-options { display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
.sort-options label { font-weight: 600; white-space: nowrap; }
.pagination-bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.pagination-bar .pagination-info { font-size: .85rem; color: #6b7280; }
.section-dark .pagination-bar .pagination-info { color: var(--text-light-muted); }
@media (max-width: 767.98px) {
    .listing-card-horizontal { flex-direction: column; }
    .listing-card-horizontal img { width: 100%; height: 200px; }
    .filter-bar { flex-direction: column; }
    .pagination-bar { flex-direction: column; gap: .75rem; }
}

/* ── PORTFOLIO / CREATIVE ── */
.portfolio-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; justify-content: center; }
.portfolio-filter button, .portfolio-filter a { padding: .4rem 1.1rem; font-size: .85rem; font-weight: 500; border-radius: 50rem; border: 1px solid rgba(0,0,0,.12); background: transparent; cursor: pointer; transition: all var(--transition-base); text-decoration: none; }
.portfolio-filter button:hover, .portfolio-filter a:hover, .portfolio-filter button.active, .portfolio-filter a.active { background: var(--bs-primary); color: #fff; border-color: var(--bs-primary); }
.section-light .portfolio-filter button, .section-light .portfolio-filter a { color: var(--text-dark); }
.section-dark .portfolio-filter button, .section-dark .portfolio-filter a { color: var(--text-light); border-color: rgba(255,255,255,.2); }
.section-dark .portfolio-filter button:hover, .section-dark .portfolio-filter a:hover, .section-dark .portfolio-filter button.active, .section-dark .portfolio-filter a.active { background: #fff; color: var(--text-dark); border-color: #fff; }
.portfolio-item { overflow: hidden; border-radius: var(--radius); position: relative; }
.portfolio-item img { width: 100%; height: 300px; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.65); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s ease; padding: 1.5rem; text-align: center; }
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.portfolio-item-overlay h4, .portfolio-item-overlay h5 { color: #fff; margin-bottom: .25rem; }
.portfolio-item-overlay p { color: rgba(255,255,255,.8); font-size: .85rem; margin-bottom: 0; }
.before-after { position: relative; overflow: hidden; border-radius: var(--radius); }
.before-after img { width: 100%; display: block; }
.before-after-label { position: absolute; bottom: 1rem; padding: .3rem .75rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: rgba(0,0,0,.7); color: #fff; border-radius: var(--radius-sm); }
.before-after-label-before { left: 1rem; }
.before-after-label-after { right: 1rem; }
.client-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2rem; align-items: center; justify-items: center; }
.client-logo-grid img { height: 45px; width: auto; max-width: 140px; object-fit: contain; opacity: .5; transition: opacity var(--transition-base); filter: grayscale(100%); }
.client-logo-grid img:hover { opacity: 1; filter: grayscale(0%); }
.section-dark .client-logo-grid img { filter: grayscale(100%) brightness(2); opacity: .4; }
.section-dark .client-logo-grid img:hover { filter: grayscale(0%) brightness(1); opacity: 1; }
.case-study-card { border-radius: var(--radius); overflow: hidden; }
.case-study-card img { width: 100%; height: 220px; object-fit: cover; }
.case-study-card-body { padding: 1.5rem; }
.case-study-card h4 { margin-bottom: .5rem; }
.case-study-card p { font-size: .9rem; color: #6b7280; }
.case-study-stats { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.06); margin-top: .75rem; }
.case-study-stats .stat { text-align: center; }
.case-study-stats .stat-value { font-size: 1.25rem; font-weight: 800; color: var(--bs-primary); display: block; }
.case-study-stats .stat-desc { font-size: .7rem; color: #6b7280; }
.section-light .case-study-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-dark .case-study-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .case-study-card h4 { color: #fff; }
.section-dark .case-study-card p { color: var(--text-light-muted); }
.section-dark .case-study-stats { border-top-color: rgba(255,255,255,.1); }
.section-dark .case-study-stats .stat-value { color: #fff; }
.section-dark .case-study-stats .stat-desc { color: var(--text-light-muted); }
@media (max-width: 767.98px) {
    .portfolio-item img { height: 220px; }
    .client-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .case-study-card img { height: 180px; }
}

/* ── SOCIAL PROOF / TRUST ── */
.review-card { padding: 1.5rem; border-radius: var(--radius); }
.review-card-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.review-card-header img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-card-header h5, .review-card-header h6 { margin-bottom: 0; font-size: .9rem; }
.review-card-header small { font-size: .75rem; color: #6b7280; }
.review-card p { font-size: .9rem; margin-bottom: .5rem; }
.review-source { font-size: .75rem; color: #6b7280; display: inline-flex; align-items: center; gap: .3rem; }
.section-light .review-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-dark .review-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .review-card h5, .section-dark .review-card h6 { color: #fff; }
.section-dark .review-card p { color: var(--text-light); }
.section-dark .review-card-header small, .section-dark .review-source { color: var(--text-light-muted); }
.trust-badges { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; }
.trust-badge { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; }
.trust-badge i { font-size: 1.25rem; color: var(--bs-primary); }
.section-dark .trust-badge { color: var(--text-light); }
.section-dark .trust-badge i { color: rgba(255,255,255,.7); }
.logo-carousel { overflow: hidden; position: relative; }
.logo-carousel-track { display: flex; gap: 3rem; align-items: center; animation: logoScroll 30s linear infinite; width: max-content; }
.logo-carousel-track img { height: 40px; width: auto; max-width: 140px; object-fit: contain; opacity: .5; flex-shrink: 0; }
.logo-carousel-track img:hover { opacity: 1; }
@keyframes logoScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.section-dark .logo-carousel-track img { filter: brightness(2); opacity: .4; }
.section-dark .logo-carousel-track img:hover { opacity: .8; }
.counter-up { font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) {
    .trust-badges { gap: 1rem; }
    .trust-badge { font-size: .8rem; }
}

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: color-mix(in srgb, var(--bs-primary) 20%, transparent); }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -2rem; top: .25rem; width: 16px; height: 16px; border-radius: 50%; background: var(--bs-primary); border: 3px solid var(--section-light-bg); z-index: 1; }
.timeline-dot-outline { background: var(--section-light-bg); border: 3px solid var(--bs-primary); }
.timeline-content h4, .timeline-content h5 { margin-bottom: .25rem; }
.timeline-content p { font-size: .9rem; color: #6b7280; margin-bottom: 0; }
.timeline-date { font-size: .8rem; font-weight: 600; color: var(--bs-primary); margin-bottom: .35rem; }
.section-dark .timeline::before { background: rgba(255,255,255,.15); }
.section-dark .timeline-dot { border-color: var(--ink-950); }
.section-dark .timeline-dot-outline { background: var(--ink-950); border-color: rgba(255,255,255,.4); }
.section-dark .timeline-content h4, .section-dark .timeline-content h5 { color: #fff; }
.section-dark .timeline-content p { color: var(--text-light-muted); }
.section-dark .timeline-date { color: rgba(255,255,255,.6); }
.timeline-horizontal { display: flex; justify-content: space-between; position: relative; padding-top: 2rem; }
.timeline-horizontal::before { content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: color-mix(in srgb, var(--bs-primary) 20%, transparent); }
.timeline-horizontal .timeline-item { padding-bottom: 0; flex: 1; text-align: center; position: relative; }
.timeline-horizontal .timeline-dot { left: 50%; top: -2rem; transform: translateX(-50%); }
.section-dark .timeline-horizontal::before { background: rgba(255,255,255,.15); }
.milestone { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem; border-radius: var(--radius); }
.milestone-year { font-size: 1.5rem; font-weight: 800; color: var(--bs-primary); flex-shrink: 0; min-width: 60px; }
.milestone h5 { margin-bottom: .15rem; }
.milestone p { font-size: .85rem; color: #6b7280; margin-bottom: 0; }
.section-light .milestone { background: var(--section-alt-bg); }
.section-dark .milestone { background: rgba(255,255,255,.06); }
.section-dark .milestone-year { color: rgba(255,255,255,.7); }
.section-dark .milestone h5 { color: #fff; }
.section-dark .milestone p { color: var(--text-light-muted); }
@media (max-width: 767.98px) {
    .timeline-horizontal { flex-direction: column; padding-top: 0; padding-left: 2rem; }
    .timeline-horizontal::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
    .timeline-horizontal .timeline-item { text-align: left; padding-bottom: 2rem; }
    .timeline-horizontal .timeline-dot { left: -2rem; top: .25rem; transform: none; }
}

/* ── MAPS / LOCATION ── */
.map-wrapper { border-radius: var(--radius); overflow: hidden; }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; min-height: 300px; }
.location-card { border-radius: var(--radius); overflow: hidden; }
.location-card .map-wrapper { height: 200px; }
.location-card-body { padding: 1.25rem; }
.section-light .location-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-dark .location-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .location-card-body h5 { color: #fff; }
.section-dark .location-card-body p { color: var(--text-light-muted); }
.address-block { font-style: normal; line-height: 1.7; }
.address-block strong { display: block; margin-bottom: .25rem; }
.directions-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--bs-primary); text-decoration: none; }
.directions-link:hover { text-decoration: underline; }
.directions-link i { font-size: .8rem; }
.section-dark .directions-link { color: rgba(255,255,255,.85); }

/* ── TABS / ACCORDIONS (extended) ── */
.tabs-pills { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tabs-pills .nav-link { border-radius: 50rem; font-size: .85rem; padding: .4rem 1.1rem; font-weight: 500; transition: all var(--transition-base); }
.section-light .tabs-pills .nav-link { color: var(--text-dark); background: var(--section-alt-bg); }
.section-light .tabs-pills .nav-link.active { background: var(--bs-primary); color: #fff; }
.section-dark .tabs-pills .nav-link { color: var(--text-light); background: rgba(255,255,255,.08); }
.section-dark .tabs-pills .nav-link.active { background: rgba(255,255,255,.2); color: #fff; }
.tabs-underline { display: flex; gap: 0; border-bottom: 2px solid rgba(0,0,0,.08); margin-bottom: 1.5rem; }
.tabs-underline .nav-link { border: none; border-bottom: 2px solid transparent; border-radius: 0; margin-bottom: -2px; padding: .6rem 1.25rem; font-weight: 500; font-size: .9rem; transition: all var(--transition-base); }
.section-light .tabs-underline .nav-link { color: #6b7280; }
.section-light .tabs-underline .nav-link.active { color: var(--bs-primary); border-bottom-color: var(--bs-primary); }
.section-dark .tabs-underline { border-bottom-color: rgba(255,255,255,.1); }
.section-dark .tabs-underline .nav-link { color: var(--text-light-muted); }
.section-dark .tabs-underline .nav-link.active { color: #fff; border-bottom-color: #fff; }
.callout { padding: 1.25rem 1.5rem; border-radius: var(--radius-sm); border-left: 4px solid; margin-bottom: 1.5rem; }
.callout h5, .callout h6 { margin-bottom: .35rem; font-size: .95rem; }
.callout p:last-child { margin-bottom: 0; }
.callout-info { border-left-color: #3b82f6; background: rgba(59,130,246,.06); }
.callout-success { border-left-color: #10b981; background: rgba(16,185,129,.06); }
.callout-warning { border-left-color: #f59e0b; background: rgba(245,158,11,.06); }
.callout-danger { border-left-color: #ef4444; background: rgba(239,68,68,.06); }
.section-dark .callout-info { background: rgba(59,130,246,.12); }
.section-dark .callout-success { background: rgba(16,185,129,.12); }
.section-dark .callout-warning { background: rgba(245,158,11,.12); }
.section-dark .callout-danger { background: rgba(239,68,68,.12); }
.section-dark .callout h5, .section-dark .callout h6 { color: #fff; }
.section-dark .callout p { color: var(--text-light); }
.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: .9rem; }
.notice i { margin-top: .15rem; flex-shrink: 0; }
.notice p { margin-bottom: 0; }
.section-light .notice { background: var(--section-alt-bg); border: 1px solid rgba(0,0,0,.06); }
.section-dark .notice { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.section-dark .notice p { color: var(--text-light); }

/* ── NOTIFICATIONS / ALERTS ── */
.banner-alert { width: 100%; padding: .75rem 1.5rem; text-align: center; font-size: .85rem; font-weight: 500; position: relative; }
.banner-alert a { font-weight: 700; text-decoration: underline; }
.banner-alert-info { background: #dbeafe; color: #1e40af; }
.banner-alert-success { background: #d1fae5; color: #065f46; }
.banner-alert-warning { background: #fef3c7; color: #92400e; }
.banner-alert-danger { background: #fee2e2; color: #991b1b; }
.banner-alert .close { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; opacity: .5; font-size: 1rem; }
.banner-alert .close:hover { opacity: 1; }

/* ── MEDIA (extended) ── */
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; }
.video-card img { width: 100%; height: 260px; object-fit: cover; }
.video-card-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.3); transition: background var(--transition-base); }
.video-card:hover .video-card-play { background: rgba(0,0,0,.5); }
.video-card-play i, .video-card-play svg { color: #fff; font-size: 2.5rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); transition: transform var(--transition-base); }
.video-card:hover .video-card-play i, .video-card:hover .video-card-play svg { transform: scale(1.15); }
.video-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.video-card-info h5 { color: #fff; margin-bottom: .15rem; font-size: .95rem; }
.video-card-info p { color: rgba(255,255,255,.75); font-size: .8rem; margin-bottom: 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-block; flex-shrink: 0; }
.avatar-sm { width: 32px; height: 32px; }
.avatar-lg { width: 56px; height: 56px; }
.avatar-xl { width: 80px; height: 80px; }
.avatar-group { display: flex; }
.avatar-group .avatar { border: 2px solid #fff; margin-left: -10px; }
.avatar-group .avatar:first-child { margin-left: 0; }
.section-dark .avatar-group .avatar { border-color: var(--ink-950); }
.avatar-group-count { width: 40px; height: 40px; border-radius: 50%; background: var(--section-alt-bg); color: var(--text-dark); font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-left: -10px; border: 2px solid #fff; }
.section-dark .avatar-group-count { background: rgba(255,255,255,.15); color: #fff; border-color: var(--ink-950); }
.image-overlay-text { position: relative; border-radius: var(--radius); overflow: hidden; }
.image-overlay-text img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-overlay-text-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 60%); }
.image-overlay-text-content h3, .image-overlay-text-content h4, .image-overlay-text-content h5 { color: #fff; margin-bottom: .25rem; }
.image-overlay-text-content p { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 0; }
@media (max-width: 767.98px) {
    .video-card img { height: 200px; }
}

/* ── DIVIDERS / DECORATIVE ── */
.divider-icon { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; }
.divider-icon::before, .divider-icon::after { content: ''; flex: 1; height: 1px; background: rgba(0,0,0,.1); }
.divider-icon i { color: var(--bs-primary); font-size: 1rem; opacity: .5; }
.section-dark .divider-icon::before, .section-dark .divider-icon::after { background: rgba(255,255,255,.15); }
.section-dark .divider-icon i { color: rgba(255,255,255,.4); }
.divider-text { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: rgba(0,0,0,.1); }
.divider-text span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #6b7280; white-space: nowrap; }
.section-dark .divider-text::before, .section-dark .divider-text::after { background: rgba(255,255,255,.15); }
.section-dark .divider-text span { color: var(--text-light-muted); }
.divider-gradient { height: 1px; background: linear-gradient(90deg, transparent, rgba(0,0,0,.15), transparent); margin: 2rem 0; border: none; }
.section-dark .divider-gradient { background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent); }
.wave-divider { position: relative; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: auto; }
.wave-divider-top { transform: rotate(180deg); }
.angle-divider { position: relative; overflow: hidden; height: 60px; }
.angle-divider::before { content: ''; position: absolute; bottom: 0; left: -5%; right: -5%; height: 120px; transform: skewY(-2deg); transform-origin: bottom left; }
.angle-divider-light::before { background: var(--section-light-bg); }
.angle-divider-dark::before { background: var(--ink-950); }
.angle-divider-alt::before { background: var(--section-alt-bg); }

/* ── LOADING STATES ── */
.skeleton-text { height: 1em; border-radius: 4px; background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%); background-size: 200% 100%; animation: shimmer 1.5s ease infinite; margin-bottom: .5rem; }
.skeleton-text:last-child { width: 60%; }
.skeleton-text-sm { height: .75em; }
.skeleton-text-lg { height: 1.5em; }
.skeleton-image { border-radius: var(--radius); background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%); background-size: 200% 100%; animation: shimmer 1.5s ease infinite; min-height: 200px; }
.skeleton-card { border-radius: var(--radius); overflow: hidden; }
.skeleton-card .skeleton-image { border-radius: 0; min-height: 180px; }
.skeleton-card .skeleton-body { padding: 1.25rem; }
.section-dark .skeleton-text { background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.06) 75%); background-size: 200% 100%; }
.section-dark .skeleton-image { background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.06) 75%); background-size: 200% 100%; }
.loading-overlay { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.85); border-radius: inherit; }
.section-dark .loading-overlay { background: rgba(15,23,42,.85); }
.progress-bar-animated { height: 4px; border-radius: 2px; overflow: hidden; position: relative; }
.progress-bar-animated::before { content: ''; position: absolute; inset: 0; background: var(--bs-primary); animation: progressIndeterminate 1.5s ease infinite; transform-origin: left; }
@keyframes progressIndeterminate { 0% { transform: scaleX(0) translateX(-100%); } 50% { transform: scaleX(.6) translateX(30%); } 100% { transform: scaleX(0) translateX(200%); } }
.section-light .progress-bar-animated { background: rgba(0,0,0,.06); }
.section-dark .progress-bar-animated { background: rgba(255,255,255,.1); }
.section-dark .progress-bar-animated::before { background: rgba(255,255,255,.6); }
.dots-loader { display: inline-flex; gap: 6px; align-items: center; }
.dots-loader span { width: 8px; height: 8px; border-radius: 50%; background: var(--bs-primary); animation: dotsLoaderBounce .6s ease infinite alternate; }
.dots-loader span:nth-child(2) { animation-delay: .2s; }
.dots-loader span:nth-child(3) { animation-delay: .4s; }
@keyframes dotsLoaderBounce { 0% { transform: translateY(0); opacity: .4; } 100% { transform: translateY(-8px); opacity: 1; } }
.section-dark .dots-loader span { background: rgba(255,255,255,.7); }

/* ── ANIMATIONS (extended) ── */
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes scaleOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.85); } }
@keyframes bounceIn { 0% { opacity: 0; transform: scale(.3); } 50% { transform: scale(1.05); } 70% { transform: scale(.95); } 100% { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.animate-slide-up { animation: slideUp .6s ease both; }
.animate-slide-down { animation: slideDown .6s ease both; }
.animate-scale-in { animation: scaleIn .5s ease both; }
.animate-bounce-in { animation: bounceIn .6s ease both; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-gradient { background-size: 200% 200%; animation: gradientShift 4s ease infinite; }
.delay-100 { animation-delay: .1s; }
.delay-200 { animation-delay: .2s; }
.delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; }
.delay-500 { animation-delay: .5s; }

/* ── UTILITIES (extended) ── */
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.gap-section { gap: var(--section-pad-y); }
.z-1 { z-index: 1; } .z-2 { z-index: 2; } .z-3 { z-index: 3; } .z-5 { z-index: 5; } .z-10 { z-index: 10; } .z-20 { z-index: 20; } .z-30 { z-index: 30; } .z-50 { z-index: 50; }
.blur-bg { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mask-gradient { -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent); mask-image: linear-gradient(to bottom, black 60%, transparent); }
.scroll-snap-x { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.scroll-snap-x > * { scroll-snap-align: start; flex-shrink: 0; }
.scroll-snap-y { overflow-y: auto; scroll-snap-type: y mandatory; }
.scroll-snap-y > * { scroll-snap-align: start; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.columns-2 { column-count: 2; column-gap: 2rem; }
.columns-3 { column-count: 3; column-gap: 2rem; }
.columns-2 > *, .columns-3 > * { break-inside: avoid; margin-bottom: 1rem; }
.accent-border-top { border-top: 3px solid var(--bs-primary); }
.accent-border-left { border-left: 3px solid var(--bs-primary); }
.accent-border-bottom { border-bottom: 3px solid var(--bs-primary); }
.shadow-colored { box-shadow: 0 10px 30px color-mix(in srgb, var(--bs-primary) 20%, transparent); }
.shadow-colored-lg { box-shadow: 0 20px 50px color-mix(in srgb, var(--bs-primary) 25%, transparent); }
.bg-gradient-primary { background: var(--bs-primary); }
.bg-gradient-dark { background: linear-gradient(135deg, var(--ink-950), color-mix(in srgb, var(--ink-950) 70%, #1e293b)); }
.bg-pattern-dots { background-image: radial-gradient(circle, rgba(0,0,0,.06) 1px, transparent 1px); background-size: 20px 20px; }
.section-dark .bg-pattern-dots { background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px); }
.bg-pattern-grid { background-image: linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px); background-size: 40px 40px; }
.section-dark .bg-pattern-grid { background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); }
.text-uppercase-sm { text-transform: uppercase; font-size: .75rem; font-weight: 600; letter-spacing: .1em; }
.max-w-prose { max-width: 65ch; }
.text-center p, .text-center .lead { margin-inline: auto; }
.max-w-narrow { max-width: 540px; }
.max-w-wide { max-width: 960px; }
.ratio-21x9 { aspect-ratio: 21/9; }
.ratio-3x2 { aspect-ratio: 3/2; }
.fit-cover { object-fit: cover; width: 100%; height: 100%; }
.fit-contain { object-fit: contain; }
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
@media (max-width: 767.98px) {
    .columns-2, .columns-3 { column-count: 1; }
}

/* ── RESPONSIVE EXTRAS ── */
@media (max-width: 767.98px) {
    .hide-mobile { display: none !important; }
    .text-center-mobile { text-align: center !important; }
    .stack-mobile { flex-direction: column !important; }
    .stack-mobile > * { width: 100% !important; }
}
@media (min-width: 768px) {
    .show-mobile { display: none !important; }
}
@media (max-width: 991.98px) {
    .hide-tablet { display: none !important; }
    .stack-tablet { flex-direction: column !important; }
}

/* ── SOCIAL MEDIA LINKS ── */
.social-links { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; transition: all var(--transition-base); text-decoration: none !important; }
.social-links-sm a { width: 32px; height: 32px; font-size: .85rem; }
.social-links-lg a { width: 48px; height: 48px; font-size: 1.15rem; }
.section-light .social-links a { background: var(--section-alt-bg); color: var(--text-dark); }
.section-light .social-links a:hover { background: var(--bs-primary); color: #fff; transform: translateY(-2px); }
.section-dark .social-links a, footer .social-links a { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }
.section-dark .social-links a:hover, footer .social-links a:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-2px); }
.social-links-outline a { background: transparent !important; border: 1px solid; }
.section-light .social-links-outline a { border-color: rgba(0,0,0,.15); color: var(--text-dark); }
.section-light .social-links-outline a:hover { border-color: var(--bs-primary); color: var(--bs-primary); }
.section-dark .social-links-outline a { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.7); }
.section-dark .social-links-outline a:hover { border-color: rgba(255,255,255,.6); color: #fff; }

/* ── NEWSLETTER / SIGNUP ── */
.newsletter-form { display: flex; gap: .5rem; max-width: 480px; }
.newsletter-form .form-control { flex: 1; border-radius: var(--radius); }
.newsletter-form .btn { flex-shrink: 0; white-space: nowrap; }
.newsletter-inline { display: flex; gap: .5rem; align-items: center; }
.newsletter-stacked { display: flex; flex-direction: column; gap: .5rem; max-width: 360px; }
.section-dark .newsletter-form .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.section-dark .newsletter-form .form-control::placeholder { color: rgba(255,255,255,.45); }
footer .newsletter-form .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
footer .newsletter-form .form-control::placeholder { color: rgba(255,255,255,.45); }
@media (max-width: 575.98px) {
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn { width: 100%; }
}

/* ── COOKIE CONSENT ── */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--ink-950); color: var(--text-light); box-shadow: 0 -4px 20px rgba(0,0,0,.15); }
.cookie-bar p { margin: 0; font-size: .85rem; flex: 1; min-width: 200px; }
.cookie-bar a { color: rgba(255,255,255,.85); text-decoration: underline; }
.cookie-bar-actions { display: flex; gap: .5rem; flex-shrink: 0; }
@media (max-width: 575.98px) {
    .cookie-bar { flex-direction: column; text-align: center; }
    .cookie-bar-actions { width: 100%; justify-content: center; }
}

/* ── PRICING TOGGLE ── */
.pricing-toggle { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 2rem; font-size: .9rem; font-weight: 500; }
.pricing-toggle-switch { position: relative; width: 48px; height: 26px; border-radius: 13px; cursor: pointer; transition: background var(--transition-base); }
.section-light .pricing-toggle-switch { background: #dee2e6; }
.section-dark .pricing-toggle-switch { background: rgba(255,255,255,.2); }
.pricing-toggle-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform var(--transition-base); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pricing-toggle-switch.active { background: var(--bs-primary); }
.pricing-toggle-switch.active::after { transform: translateX(22px); }
.pricing-toggle .label-active { font-weight: 700; color: var(--bs-primary); }
.section-dark .pricing-toggle { color: var(--text-light); }
.section-dark .pricing-toggle .label-active { color: #fff; }
.pricing-badge { font-size: .65rem; font-weight: 700; padding: .15rem .5rem; border-radius: 50rem; background: #10b981; color: #fff; margin-left: .35rem; vertical-align: middle; }

/* ── STEPPER / WIZARD ── */
.stepper { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; counter-reset: stepper; }
.stepper-step { display: flex; flex-direction: column; align-items: center; gap: .35rem; flex: 1; position: relative; text-align: center; }
.stepper-step::before { counter-increment: stepper; content: counter(stepper); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; transition: all var(--transition-base); z-index: 1; }
.stepper-step::after { content: ''; position: absolute; top: 18px; left: 50%; width: 100%; height: 2px; z-index: 0; }
.stepper-step:last-child::after { display: none; }
.stepper-label { font-size: .75rem; font-weight: 500; white-space: nowrap; }
.section-light .stepper-step::before { background: #e9ecef; color: #6b7280; border: 2px solid #e9ecef; }
.section-light .stepper-step::after { background: #e9ecef; }
.section-light .stepper-step.active::before { background: var(--bs-primary); color: #fff; border-color: var(--bs-primary); }
.section-light .stepper-step.completed::before { background: #10b981; color: #fff; border-color: #10b981; content: '\2713'; }
.section-light .stepper-step.completed::after { background: #10b981; }
.section-light .stepper-label { color: #6b7280; }
.section-light .stepper-step.active .stepper-label, .section-light .stepper-step.completed .stepper-label { color: var(--text-dark); font-weight: 600; }
.section-dark .stepper-step::before { background: rgba(255,255,255,.1); color: rgba(255,255,255,.5); border: 2px solid rgba(255,255,255,.15); }
.section-dark .stepper-step::after { background: rgba(255,255,255,.1); }
.section-dark .stepper-step.active::before { background: var(--bs-primary); color: #fff; border-color: var(--bs-primary); }
.section-dark .stepper-step.completed::before { background: #10b981; color: #fff; border-color: #10b981; content: '\2713'; }
.section-dark .stepper-step.completed::after { background: #10b981; }
.section-dark .stepper-label { color: var(--text-light-muted); }
.section-dark .stepper-step.active .stepper-label, .section-dark .stepper-step.completed .stepper-label { color: #fff; font-weight: 600; }
@media (max-width: 575.98px) {
    .stepper-label { display: none; }
    .stepper-step::before { width: 30px; height: 30px; font-size: .75rem; }
}

/* ── SEARCH OVERLAY ── */
.search-overlay { position: fixed; inset: 0; z-index: 1060; display: flex; align-items: flex-start; justify-content: center; padding-top: 15vh; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.search-overlay.show { opacity: 1; visibility: visible; }
.search-overlay-bg { position: absolute; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.search-overlay-content { position: relative; z-index: 1; width: 90%; max-width: 640px; }
.search-overlay-content .form-control { font-size: 1.5rem; padding: 1rem 1.5rem; border: none; border-bottom: 2px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 0; }
.search-overlay-content .form-control::placeholder { color: rgba(255,255,255,.4); }
.search-overlay-content .form-control:focus { border-bottom-color: #fff; box-shadow: none; }
.search-overlay-close { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: #fff; font-size: 1.75rem; cursor: pointer; z-index: 2; padding: .5rem; opacity: .7; transition: opacity var(--transition-base); }
.search-overlay-close:hover { opacity: 1; }

/* ── FLOATING ACTION BUTTON ── */
.fab { position: fixed; bottom: 2rem; right: 2rem; z-index: 1030; width: 56px; height: 56px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: transform var(--transition-base), box-shadow var(--transition-base); }
.fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.fab i { font-size: 1.25rem; }
.fab-primary { background: var(--bs-primary); color: #fff; }
.fab-whatsapp { background: #25d366; color: #fff; }
.fab-phone { background: #10b981; color: #fff; }
.fab-sm { width: 44px; height: 44px; }
.fab-sm i { font-size: 1rem; }
.fab-group { position: fixed; bottom: 2rem; right: 2rem; z-index: 1030; display: flex; flex-direction: column-reverse; gap: .75rem; align-items: center; }

/* ── SCROLL PROGRESS ── */
.scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: var(--bs-primary); z-index: 1100; transition: width .1s linear; }
.reading-progress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; z-index: 1100; }
.reading-progress-bar { height: 100%; background: var(--bs-primary); transition: width .1s linear; width: 0%; }

/* ── MARQUEE / TICKER ── */
.marquee { overflow: hidden; white-space: nowrap; position: relative; }
.marquee-track { display: inline-flex; gap: 3rem; animation: marqueeScroll 20s linear infinite; }
.marquee-track > * { flex-shrink: 0; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-slow .marquee-track { animation-duration: 40s; }
.marquee-fast .marquee-track { animation-duration: 12s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-text { font-size: clamp(1.5rem, 3vw, 3rem); font-weight: 700; display: inline-flex; align-items: center; gap: 2rem; }
.marquee-text .separator { opacity: .2; font-weight: 300; }
.section-dark .marquee-text { color: #fff; }

/* ── ERROR / SPECIAL PAGES ── */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.error-page h1 { font-size: clamp(5rem, 15vw, 12rem); font-weight: 900; line-height: 1; letter-spacing: -0.05em; opacity: .15; margin-bottom: 0; }
.error-page h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: .75rem; }
.error-page p { font-size: 1.1rem; color: #6b7280; max-width: 480px; margin: 0 auto 1.5rem; }
.section-dark .error-page h1 { color: #fff; }
.section-dark .error-page h2 { color: #fff; }
.section-dark .error-page p { color: var(--text-light-muted); }
.coming-soon { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.coming-soon h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; margin-bottom: .75rem; }
.coming-soon p { font-size: 1.1rem; color: #6b7280; max-width: 500px; margin: 0 auto 2rem; }
.section-dark .coming-soon h1 { color: #fff; }
.section-dark .coming-soon p { color: var(--text-light-muted); }

/* ── LOGIN / AUTH FORMS ── */
.auth-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card { width: 100%; max-width: 420px; padding: 2.5rem; border-radius: var(--radius-lg); }
.auth-card-header { text-align: center; margin-bottom: 2rem; }
.auth-card-header img { height: 48px; margin-bottom: 1.5rem; }
.auth-card-header h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .25rem; }
.auth-card-header p { font-size: .9rem; color: #6b7280; margin-bottom: 0; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; font-size: .8rem; color: #6b7280; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #dee2e6; }
.auth-social { display: flex; gap: .5rem; margin-bottom: 1rem; }
.auth-social button, .auth-social a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .6rem; border-radius: var(--radius-sm); border: 1px solid #dee2e6; background: #fff; font-size: .85rem; font-weight: 500; cursor: pointer; transition: background var(--transition-base); text-decoration: none; color: var(--text-dark); }
.auth-social button:hover, .auth-social a:hover { background: #f8f9fa; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: .85rem; color: #6b7280; }
.auth-footer a { color: var(--bs-primary); font-weight: 600; }
.section-light .auth-card { background: #fff; box-shadow: var(--shadow-lg); }
.section-dark .auth-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .auth-card-header h2 { color: #fff; }
.section-dark .auth-card-header p, .section-dark .auth-footer { color: var(--text-light-muted); }
.section-dark .auth-divider { color: var(--text-light-muted); }
.section-dark .auth-divider::before, .section-dark .auth-divider::after { background: rgba(255,255,255,.15); }
.section-dark .auth-social button, .section-dark .auth-social a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: var(--text-light); }
.section-dark .auth-social button:hover, .section-dark .auth-social a:hover { background: rgba(255,255,255,.1); }

/* ── FEATURE HIGHLIGHT / SPOTLIGHT ── */
.feature-spotlight { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 3rem; display: flex; align-items: center; gap: 3rem; }
.feature-spotlight-content { flex: 1; z-index: 1; }
.feature-spotlight-content h2 { margin-bottom: .75rem; }
.feature-spotlight-content p { font-size: 1.05rem; margin-bottom: 1.25rem; }
.feature-spotlight-image { flex: 1; z-index: 1; }
.feature-spotlight-image img { width: 100%; border-radius: var(--radius); }
.section-light .feature-spotlight { background: var(--section-alt-bg); }
.section-dark .feature-spotlight { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.section-dark .feature-spotlight-content h2 { color: #fff; }
.section-dark .feature-spotlight-content p { color: var(--text-light); }
@media (max-width: 767.98px) {
    .feature-spotlight { flex-direction: column; padding: 2rem; gap: 1.5rem; }
}

/* ── DONATION / CAMPAIGN ── */
.donation-card { border-radius: var(--radius); padding: 2rem; text-align: center; }
.donation-card h4 { margin-bottom: .75rem; }
.donation-card p { color: #6b7280; margin-bottom: 1.25rem; }
.donation-amounts { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.donation-amounts button { padding: .5rem 1.25rem; border-radius: var(--radius-sm); border: 1px solid rgba(0,0,0,.12); background: #fff; font-weight: 600; cursor: pointer; transition: all var(--transition-base); }
.donation-amounts button:hover, .donation-amounts button.active { background: var(--bs-primary); color: #fff; border-color: var(--bs-primary); }
.campaign-progress { margin-bottom: 1.5rem; }
.campaign-progress-bar { height: 10px; border-radius: 5px; overflow: hidden; margin-bottom: .5rem; }
.section-light .campaign-progress-bar { background: #e9ecef; }
.section-dark .campaign-progress-bar { background: rgba(255,255,255,.1); }
.campaign-progress-fill { height: 100%; border-radius: 5px; background: var(--bs-primary); transition: width .6s ease; }
.campaign-progress-stats { display: flex; justify-content: space-between; font-size: .85rem; }
.campaign-progress-stats strong { color: var(--bs-primary); }
.section-light .donation-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-dark .donation-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .donation-card h4 { color: #fff; }
.section-dark .donation-card p { color: var(--text-light-muted); }
.section-dark .donation-amounts button { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: var(--text-light); }

/* ── PARALLAX SECTION ── */
.parallax-section { background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; }
@supports (-webkit-overflow-scrolling: touch) { .parallax-section { background-attachment: scroll; } }
@media (hover: none) { .parallax-section { background-attachment: scroll; } }

/* ── MEGA MENU ── */
.mega-menu { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid rgba(0,0,0,.06); box-shadow: 0 8px 30px rgba(0,0,0,.1); padding: 2rem; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; z-index: 1050; }
.nav-item:hover > .mega-menu, .nav-item:focus-within > .mega-menu { opacity: 1; visibility: visible; }
.mega-menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.mega-menu-section h6 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #6b7280; margin-bottom: .75rem; }
.mega-menu-section a { display: block; padding: .35rem 0; font-size: .9rem; color: var(--text-dark); text-decoration: none; transition: color var(--transition-base); }
.mega-menu-section a:hover { color: var(--bs-primary); }
.section-dark .mega-menu { background: color-mix(in srgb, var(--ink-950) 98%, white); border-top-color: rgba(255,255,255,.08); box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.section-dark .mega-menu-section h6 { color: var(--text-light-muted); }
.section-dark .mega-menu-section a { color: var(--text-light); }
.section-dark .mega-menu-section a:hover { color: #fff; }

/* ── SIDEBAR NAVIGATION ── */
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { border-bottom: 1px solid rgba(0,0,0,.06); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a { display: flex; align-items: center; justify-content: space-between; padding: .65rem 0; font-size: .9rem; color: var(--text-dark); text-decoration: none; transition: color var(--transition-base); }
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--bs-primary); }
.sidebar-nav a.active { font-weight: 600; }
.sidebar-nav .badge { font-size: .7rem; }
.section-dark .sidebar-nav li { border-bottom-color: rgba(255,255,255,.08); }
.section-dark .sidebar-nav a { color: var(--text-light); }
.section-dark .sidebar-nav a:hover, .section-dark .sidebar-nav a.active { color: #fff; }

/* ── HOVER EFFECT CARDS ── */
.card-hover-border:hover { border-color: var(--bs-primary) !important; }
.card-hover-shadow:hover { box-shadow: var(--shadow-lg); }
.card-hover-fill:hover { background: var(--bs-primary) !important; color: #fff !important; }
.card-hover-fill:hover * { color: #fff !important; }
.card-zoom-image:hover img { transform: scale(1.08); }
.card-zoom-image img { transition: transform .4s ease; }

/* ── CONTENT COLUMNS ── */
.content-2col { column-count: 2; column-gap: 2.5rem; }
.content-2col p:first-child { margin-top: 0; }
.content-3col { column-count: 3; column-gap: 2rem; }
@media (max-width: 767.98px) {
    .content-2col, .content-3col { column-count: 1; }
}

/* ── LINK STYLES ── */
.link-hover-underline { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: left bottom; background-repeat: no-repeat; transition: background-size var(--transition-base); }
.link-hover-underline:hover { background-size: 100% 1px; }

/* ── EMPTY STATES ── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state-icon { font-size: 3rem; opacity: .25; margin-bottom: 1.25rem; display: block; }
.empty-state h3, .empty-state h4 { margin-bottom: .5rem; }
.empty-state p { color: #6b7280; max-width: 400px; margin: 0 auto 1.5rem; font-size: .95rem; }
.section-dark .empty-state-icon { color: rgba(255,255,255,.2); }
.section-dark .empty-state h3, .section-dark .empty-state h4 { color: #fff; }
.section-dark .empty-state p { color: var(--text-light-muted); }

/* ── TOAST / SNACKBAR ── */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1080; display: flex; flex-direction: column; gap: .5rem; pointer-events: none; }
.toast-container-left { right: auto; left: 1.5rem; }
.toast-container-top { bottom: auto; top: 1.5rem; }
.toast-container-center { right: 50%; transform: translateX(50%); }
.snackbar { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.25rem; border-radius: var(--radius-sm); box-shadow: 0 4px 20px rgba(0,0,0,.15); font-size: .9rem; pointer-events: auto; animation: slideUp .3s ease; min-width: 280px; max-width: 480px; }
.snackbar-default { background: var(--ink-950); color: #fff; }
.snackbar-success { background: #065f46; color: #fff; }
.snackbar-error { background: #991b1b; color: #fff; }
.snackbar-warning { background: #92400e; color: #fff; }
.snackbar-info { background: #1e40af; color: #fff; }
.snackbar p { margin: 0; flex: 1; }
.snackbar .snackbar-action { font-weight: 700; background: none; border: none; color: rgba(255,255,255,.85); cursor: pointer; white-space: nowrap; padding: 0; text-decoration: underline; }
.snackbar .snackbar-close { background: none; border: none; color: rgba(255,255,255,.5); cursor: pointer; padding: 0 0 0 .5rem; font-size: 1.1rem; }
.snackbar .snackbar-close:hover { color: rgba(255,255,255,.9); }
@media (max-width: 575.98px) {
    .toast-container { left: 1rem; right: 1rem; transform: none; }
    .toast-container-center { right: 1rem; transform: none; }
    .snackbar { min-width: auto; max-width: 100%; }
}

/* ── STANDALONE BREADCRUMB ── */
.breadcrumb-custom { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .5rem 0; margin-bottom: 1rem; font-size: .85rem; }
.breadcrumb-custom a { color: var(--bs-primary); text-decoration: none; transition: color var(--transition-base); }
.breadcrumb-custom a:hover { text-decoration: underline; }
.breadcrumb-custom .separator { color: #9ca3af; font-size: .7rem; }
.breadcrumb-custom .current { color: #6b7280; font-weight: 500; }
.section-dark .breadcrumb-custom a { color: rgba(255,255,255,.7); }
.section-dark .breadcrumb-custom a:hover { color: #fff; }
.section-dark .breadcrumb-custom .separator { color: rgba(255,255,255,.3); }
.section-dark .breadcrumb-custom .current { color: rgba(255,255,255,.5); }

/* ── TABLE VARIANTS ── */
.table-bordered { border: 1px solid rgba(0,0,0,.08); }
.table-bordered th, .table-bordered td { border: 1px solid rgba(0,0,0,.08); }
.table-hover tbody tr { transition: background var(--transition-base); }
.table-hover tbody tr:hover { background: rgba(0,0,0,.02); }
.table-sm th, .table-sm td { padding: .4rem .6rem; font-size: .85rem; }
.section-dark .table-bordered { border-color: rgba(255,255,255,.12); }
.section-dark .table-bordered th, .section-dark .table-bordered td { border-color: rgba(255,255,255,.12); }
.section-dark .table-hover tbody tr:hover { background: rgba(255,255,255,.04); }

/* ── FILE UPLOAD / DROPZONE ── */
.dropzone { border: 2px dashed rgba(0,0,0,.15); border-radius: var(--radius); padding: 2.5rem; text-align: center; transition: all var(--transition-base); cursor: pointer; }
.dropzone:hover, .dropzone.dragover { border-color: var(--bs-primary); background: color-mix(in srgb, var(--bs-primary) 4%, white); }
.dropzone-icon { font-size: 2rem; color: var(--bs-primary); margin-bottom: .75rem; opacity: .5; display: block; }
.dropzone p { color: #6b7280; margin-bottom: .25rem; font-size: .9rem; }
.dropzone small { color: #9ca3af; font-size: .8rem; }
.dropzone-preview { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.dropzone-file { display: flex; align-items: center; gap: .5rem; padding: .4rem .75rem; border-radius: var(--radius-sm); font-size: .8rem; background: var(--section-alt-bg); border: 1px solid rgba(0,0,0,.06); }
.dropzone-file .remove { cursor: pointer; opacity: .5; font-size: .7rem; }
.dropzone-file .remove:hover { opacity: 1; color: #ef4444; }
.section-dark .dropzone { border-color: rgba(255,255,255,.15); }
.section-dark .dropzone:hover, .section-dark .dropzone.dragover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.section-dark .dropzone-icon { color: rgba(255,255,255,.5); }
.section-dark .dropzone p { color: var(--text-light-muted); }
.section-dark .dropzone small { color: rgba(255,255,255,.35); }
.section-dark .dropzone-file { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: var(--text-light); }

/* ── RANGE / SLIDER INPUT ── */
input[type="range"].range-styled { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; outline: none; }
.section-light input[type="range"].range-styled { background: #e9ecef; }
.section-dark input[type="range"].range-styled { background: rgba(255,255,255,.15); }
input[type="range"].range-styled::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--bs-primary); cursor: pointer; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform var(--transition-base); }
input[type="range"].range-styled::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"].range-styled::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--bs-primary); cursor: pointer; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); }

/* ── TAG / CHIP INPUT ── */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 50rem; font-size: .8rem; font-weight: 500; line-height: 1.4; }
.chip-remove { cursor: pointer; opacity: .5; font-size: .65rem; transition: opacity var(--transition-base); }
.chip-remove:hover { opacity: 1; }
.section-light .chip { background: var(--section-alt-bg); color: var(--text-dark); border: 1px solid rgba(0,0,0,.08); }
.section-light .chip-primary { background: color-mix(in srgb, var(--bs-primary) 12%, white); color: var(--bs-primary); border-color: color-mix(in srgb, var(--bs-primary) 20%, white); }
.section-dark .chip { background: rgba(255,255,255,.1); color: var(--text-light); border: 1px solid rgba(255,255,255,.15); }
.chip-group { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip-input { display: flex; flex-wrap: wrap; gap: .35rem; padding: .4rem .6rem; border-radius: var(--radius-sm); min-height: 42px; align-items: center; cursor: text; }
.section-light .chip-input { border: 1px solid #dee2e6; background: #fff; }
.section-dark .chip-input { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); }
.chip-input input { border: none; outline: none; background: transparent; flex: 1; min-width: 80px; font-size: .85rem; padding: .15rem 0; }
.section-dark .chip-input input { color: #fff; }

/* ── PASSWORD STRENGTH ── */
.password-strength { height: 4px; border-radius: 2px; margin-top: .35rem; overflow: hidden; display: flex; gap: 3px; }
.password-strength-segment { flex: 1; border-radius: 2px; transition: background var(--transition-base); }
.section-light .password-strength-segment { background: #e9ecef; }
.section-dark .password-strength-segment { background: rgba(255,255,255,.1); }
.password-strength-segment.weak { background: #ef4444; }
.password-strength-segment.fair { background: #f59e0b; }
.password-strength-segment.good { background: #3b82f6; }
.password-strength-segment.strong { background: #10b981; }
.password-strength-label { font-size: .75rem; margin-top: .2rem; font-weight: 500; }
.password-strength-label.weak { color: #ef4444; }
.password-strength-label.fair { color: #f59e0b; }
.password-strength-label.good { color: #3b82f6; }
.password-strength-label.strong { color: #10b981; }

/* ── COMMENT THREAD ── */
.comment { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.comment:last-child { border-bottom: none; }
.comment .avatar { flex-shrink: 0; }
.comment-body { flex: 1; min-width: 0; }
.comment-header { display: flex; align-items: center; gap: .5rem; margin-bottom: .25rem; flex-wrap: wrap; }
.comment-header strong { font-size: .9rem; }
.comment-header time { font-size: .75rem; color: #6b7280; }
.comment-body p { font-size: .9rem; margin-bottom: .35rem; }
.comment-actions { display: flex; gap: 1rem; font-size: .8rem; }
.comment-actions a, .comment-actions button { background: none; border: none; padding: 0; color: #6b7280; cursor: pointer; text-decoration: none; transition: color var(--transition-base); font-size: .8rem; }
.comment-actions a:hover, .comment-actions button:hover { color: var(--bs-primary); }
.comment-replies { margin-left: 3rem; padding-left: 1rem; border-left: 2px solid rgba(0,0,0,.06); }
.section-dark .comment { border-bottom-color: rgba(255,255,255,.08); }
.section-dark .comment-header strong { color: #fff; }
.section-dark .comment-header time { color: var(--text-light-muted); }
.section-dark .comment-body p { color: var(--text-light); }
.section-dark .comment-actions a, .section-dark .comment-actions button { color: var(--text-light-muted); }
.section-dark .comment-actions a:hover, .section-dark .comment-actions button:hover { color: #fff; }
.section-dark .comment-replies { border-left-color: rgba(255,255,255,.1); }
@media (max-width: 575.98px) {
    .comment-replies { margin-left: 1.5rem; padding-left: .75rem; }
}

/* ── USER PROFILE CARD ── */
.profile-card { text-align: center; border-radius: var(--radius); overflow: hidden; }
.profile-card-cover { height: 120px; background: var(--bs-primary); position: relative; }
.profile-card-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin: -40px auto 0; position: relative; z-index: 1; display: block; }
.profile-card-body { padding: 1rem 1.5rem 1.5rem; }
.profile-card h5 { margin-bottom: .1rem; }
.profile-card .role { font-size: .85rem; color: #6b7280; margin-bottom: .75rem; }
.profile-card-stats { display: flex; justify-content: center; gap: 1.5rem; padding-top: .75rem; border-top: 1px solid rgba(0,0,0,.06); }
.profile-card-stats .stat { text-align: center; }
.profile-card-stats .stat strong { display: block; font-size: 1.1rem; }
.profile-card-stats .stat small { color: #6b7280; font-size: .75rem; }
.section-light .profile-card { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.section-dark .profile-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-dark .profile-card-avatar { border-color: var(--ink-950); }
.section-dark .profile-card h5 { color: #fff; }
.section-dark .profile-card .role { color: var(--text-light-muted); }
.section-dark .profile-card-stats { border-top-color: rgba(255,255,255,.1); }
.section-dark .profile-card-stats .stat strong { color: #fff; }
.section-dark .profile-card-stats .stat small { color: var(--text-light-muted); }

/* ── CHAT BUBBLES ── */
.chat { display: flex; flex-direction: column; gap: .75rem; }
.chat-message { display: flex; gap: .5rem; max-width: 75%; }
.chat-message-outgoing { margin-left: auto; flex-direction: row-reverse; }
.chat-bubble { padding: .65rem 1rem; border-radius: var(--radius); font-size: .9rem; line-height: 1.5; }
.chat-message-incoming .chat-bubble { border-bottom-left-radius: 4px; }
.chat-message-outgoing .chat-bubble { border-bottom-right-radius: 4px; }
.section-light .chat-message-incoming .chat-bubble { background: var(--section-alt-bg); color: var(--text-dark); }
.section-light .chat-message-outgoing .chat-bubble { background: var(--bs-primary); color: #fff; }
.section-dark .chat-message-incoming .chat-bubble { background: rgba(255,255,255,.08); color: var(--text-light); }
.section-dark .chat-message-outgoing .chat-bubble { background: var(--bs-primary); color: #fff; }
.chat-time { font-size: .7rem; color: #9ca3af; margin-top: .15rem; }
.chat-message-outgoing .chat-time { text-align: right; }
.section-dark .chat-time { color: rgba(255,255,255,.35); }
@media (max-width: 575.98px) {
    .chat-message { max-width: 85%; }
}

/* ── NOTIFICATION CENTER ── */
.notification-list { list-style: none; padding: 0; margin: 0; }
.notification-item { display: flex; gap: .75rem; padding: 1rem; border-bottom: 1px solid rgba(0,0,0,.06); transition: background var(--transition-base); }
.notification-item:last-child { border-bottom: none; }
.notification-item:hover { background: rgba(0,0,0,.02); }
.notification-item.unread { background: color-mix(in srgb, var(--bs-primary) 4%, white); }
.notification-item .notification-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .85rem; }
.notification-item .notification-content { flex: 1; min-width: 0; }
.notification-item .notification-content p { margin-bottom: .15rem; font-size: .85rem; }
.notification-item .notification-content time { font-size: .75rem; color: #9ca3af; }
.section-dark .notification-item { border-bottom-color: rgba(255,255,255,.06); }
.section-dark .notification-item:hover { background: rgba(255,255,255,.04); }
.section-dark .notification-item.unread { background: rgba(255,255,255,.06); }
.section-dark .notification-item .notification-content p { color: var(--text-light); }
.section-dark .notification-item .notification-content time { color: var(--text-light-muted); }

/* ── STICKY SECTION HEADER ── */
.sticky-section-header { position: sticky; top: var(--nav-height); z-index: 10; padding: .75rem 0; transition: box-shadow var(--transition-base); }
.section-light .sticky-section-header { background: var(--section-light-bg); }
.section-dark .sticky-section-header { background: var(--ink-950); }
.section-alt .sticky-section-header { background: var(--section-alt-bg); }
.sticky-section-header.stuck { box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* ── LIST GROUP VARIANTS ── */
.list-group-flush .list-group-item { border-left: none; border-right: none; border-radius: 0; }
.list-group-flush .list-group-item:first-child { border-top: none; }
.list-group-flush .list-group-item:last-child { border-bottom: none; }
.list-group-numbered { list-style: none; counter-reset: list-group; padding: 0; }
.list-group-numbered .list-group-item { counter-increment: list-group; }
.list-group-numbered .list-group-item::before { content: counter(list-group) "."; font-weight: 700; margin-right: .75rem; color: var(--bs-primary); min-width: 1.5rem; display: inline-block; }
.section-dark .list-group-numbered .list-group-item::before { color: rgba(255,255,255,.6); }
.list-group-horizontal { flex-direction: row; }
.list-group-horizontal .list-group-item { border-bottom: none; border-right: 1px solid rgba(0,0,0,.06); }
.list-group-horizontal .list-group-item:last-child { border-right: none; }
.section-dark .list-group-horizontal .list-group-item { border-right-color: rgba(255,255,255,.1); }

/* ── BADGE VARIANTS ── */
.badge-outline { background: transparent; border: 1px solid; }
.badge-outline-primary { border-color: var(--bs-primary); color: var(--bs-primary); }
.badge-outline-success { border-color: #10b981; color: #059669; }
.badge-outline-warning { border-color: #f59e0b; color: #d97706; }
.badge-outline-danger { border-color: #ef4444; color: #dc2626; }
.section-dark .badge-outline-primary { border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.85); }
.badge-dot { width: 8px; height: 8px; min-width: 8px; padding: 0; border-radius: 50%; display: inline-block; }

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar { padding: .5rem 1rem; text-align: center; font-size: .8rem; font-weight: 500; position: relative; z-index: 1050; }
.announcement-bar a { font-weight: 700; text-decoration: underline; margin-left: .25rem; }
.announcement-bar-primary { background: var(--bs-primary); color: #fff; }
.announcement-bar-primary a { color: #fff; }
.announcement-bar-dark { background: var(--ink-950); color: var(--text-light); }
.announcement-bar-dark a { color: rgba(255,255,255,.85); }
.announcement-bar-accent { background: var(--brand-accent); color: #fff; }
.announcement-bar .close { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: inherit; opacity: .6; cursor: pointer; }
.announcement-bar .close:hover { opacity: 1; }

/* ── PRINT (extended components) ── */
@media print {
    .cookie-bar, .fab, .fab-group, .scroll-progress, .reading-progress, .search-overlay,
    .toast-container, .announcement-bar, .banner-alert, .back-to-top { display: none !important; }
    .product-card, .property-card, .blog-card, .event-card, .doctor-card,
    .review-card, .case-study-card, .listing-card-horizontal { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: avoid; }
    .parallax-section { background-attachment: scroll !important; }
    .logo-carousel-track, .marquee-track { animation: none !important; }
    .portfolio-item-overlay { display: none !important; }
    .video-card-play { display: none !important; }
}

/* ===== THEME CUSTOMIZATIONS BELOW ===== */

:root {
    --bs-primary: #0d8a00;
    --brand-accent: #00f800;
    --bs-secondary: #116dff;
    --accent: #00f800;
    --radius: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --section-pad-y: 5rem;
    --section-light-bg: #ffffff;
    --section-alt-bg: #f8faf9;
    --ink-950: #0a1a0f;
    --text-dark: #1a2e1f;
    --text-light: #f0fff4;
    --text-light-muted: #a8d4b8;
}

/* Typography */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0a6e00;
    border-color: #0a6e00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 138, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-light {
    background-color: #fff;
    border-color: #fff;
    color: var(--bs-primary);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-light:hover {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--ink-950);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--bs-primary);
    transform: translateY(-2px);
}

.btn-pill {
    border-radius: 50px;
}

/* Links */
a {
    color: var(--bs-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0a6e00;
}

/* Navbar */
.navbar {
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar-dark {
    background: transparent;
}

.navbar-scrolled.navbar-dark {
    background: rgba(10, 26, 15, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.02);
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Service Cards */

/* Value Cards */

/* Icon Boxes */

/* Stats */

/* Testimonials */

/* Project Cards */
.project-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-card img {
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

/* Section Styling */
.section-light {
    background: var(--section-light-bg);
}

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

.section-dark {
    background: var(--ink-950);
}

.section-pad {
    padding: var(--section-pad-y) 0;
}

.section-pad-lg {
    padding: 7rem 0;
}

/* Section Labels */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bs-primary);
    background: rgba(13,138,0,0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--ink-950) 0%, #0d2810 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,248,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Hero Section */

/* Page Banner */

/* Process Timeline */
.process-step-number {
    width: 56px;
    height: 56px;
    background: var(--bs-primary);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Team Cards */
.team-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

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

.team-card img {
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

/* Contact Info Card */

/* Gallery Grid */

/* Footer */
.site-footer {
    background: var(--ink-950);
}

.site-footer a {
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--brand-accent);
}

.footer-logo {
    max-height: 50px;
    width: auto;
}

/* Form Styling */
.form-control,
.form-select {
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(13,138,0,0.15);
}

/* Check List */

/* Media Frame */
.media-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 991.98px) {
    
}

@media (max-width: 767.98px) {
    .section-pad {
        padding: 3.5rem 0;
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus States */
a:focus-visible,
button:focus-visible,
.form-control:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--brand-accent);
    color: var(--ink-950);
}