/* ═══════════════════════════════════════════════════════════════════════════
   RUBANSOFTWARES — SHARED STYLESHEET
   Covers: frontend.html (corporate site) + admin.html (dashboard)

   Sections:
     1.  CSS Variables
     2.  Base Reset
     3.  Shared Utilities & Helpers
     4.  Shared Form Elements
     5.  Shared Accordion
     6.  Shared Dropdown (admin-scoped overrides)
     7.  Shared Scrollbar
     8.  CORPORATE FRONTEND  (.site-topbar, .navbar-main, .hero-*, .fe-*, etc.)
     9.  ADMIN PANEL         (.sidebar, .topbar, .stat-card, .admin-navbar, etc.)
   ═══════════════════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════
   1. CSS VARIABLES
   ══════════════════════════════════════════════════ */
:root {
    /* Brand colours */
    --primary:        #e69829;
    --primary-dark:   #cb7c11;
    --primary-light:  #fff1dd;
    --accent:         #102b45;
    --accent-soft:    #e7eef6;

    /* Text */
    --text-dark:  #1f2937;
    --text-muted: #6b7280;

    /* Surface */
    --white:  #ffffff;
    --bg:     #f4f6f9;
    --border: #e5e7eb;

    /* Elevation */
    --shadow:    0 2px 16px rgba(16, 43, 69, .09);
    --shadow-md: 0 4px 24px rgba(16, 43, 69, .12);

    /* Shape & Motion */
    --radius:     10px;
    --transition: all 0.3s ease;

    /* Status */
    --success: #22c55e;
    --danger:  #ef4444;
    --warning: #f59e0b;
    --info:    #3b82f6;

    /* Admin layout (safe to define globally, unused by frontend) */
    --sidebar-w:         260px;
    --sidebar-collapsed: 72px;
    --topbar-h:          62px;

    /* ───────────────────────────────────────────────
       DESIGN-SYSTEM SCALE LAYER  (added 2026-06-17)
       Additive only — existing tokens above unchanged.
       Spec-named aliases map onto the established palette
       so new + legacy class names resolve to one source.
       ─────────────────────────────────────────────── */

    /* Semantic colour aliases (brief naming) */
    --secondary:      var(--accent);     /* dark navy as the secondary brand */
    --surface:        var(--white);
    --surface-hover:  #f9fafb;
    --bg-light:       #f9fafb;            /* was referenced site-wide but never defined — fixes latent transparent-bg bug */
    --text:           var(--text-dark);
    /* Accessible amber for TEXT on light surfaces — #e69829 on white is only
       ~2.2:1 (fails WCAG AA). This darker shade is ~5.5:1. Use for amber text/
       links on white; keep --primary for fills, badges and text on dark navy. */
    --primary-text:   #9a5a00;
    /* --bg, --border, --text-muted, --primary, --primary-dark,
       --success, --warning, --danger, --info already defined above */

    /* Spacing scale (4px base) */
    --space-xs:   0.25rem;   /*  4px */
    --space-sm:   0.5rem;    /*  8px */
    --space-md:   1rem;      /* 16px */
    --space-lg:   1.5rem;    /* 24px */
    --space-xl:   2.5rem;    /* 40px */
    --space-2xl:  4rem;      /* 64px */

    /* Radius scale (legacy --radius kept = md) */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-pill: 50px;

    /* Shadow scale (legacy --shadow / --shadow-md kept above) */
    --shadow-sm:  0 1px 3px rgba(16, 43, 69, .06), 0 1px 2px rgba(16, 43, 69, .08);
    --shadow-lg:  0 12px 40px rgba(16, 43, 69, .16);

    /* Typography scale — fluid, mobile-responsive via clamp() */
    --text-display: clamp(2.4rem, 5vw,  3.6rem);
    --text-h1:      clamp(2rem,   4vw,  2.8rem);
    --text-h2:      clamp(1.6rem, 3vw,  2.2rem);
    --text-h3:      clamp(1.3rem, 2.2vw, 1.7rem);
    --text-h4:      clamp(1.1rem, 1.6vw, 1.3rem);
    --text-h5:      1.1rem;
    --text-lg:      1.125rem;   /* body large */
    --text-body:    1rem;
    --text-sm:      0.875rem;
    --text-caption: 0.78rem;

    /* Line-heights */
    --leading-tight: 1.2;
    --leading-snug:  1.4;
    --leading-normal:1.6;
    --leading-relaxed:1.8;
}


/* ══════════════════════════════════════════════════
   2. BASE RESET
   ══════════════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Page-level backgrounds — scoped by body class added per file */
body.frontend-page { background: var(--white); display: flex; flex-direction: column; min-height: 100vh; }
body.admin-page    { background: var(--bg); }

/* Sticky-footer layout (frontend only) */
body.frontend-page main  { flex: 1; flex-shrink: 0; }
body.frontend-page footer { flex-shrink: 0; }


/* ══════════════════════════════════════════════════
   3. SHARED UTILITIES & HELPERS
   ══════════════════════════════════════════════════ */

/* ── Section heading helpers (frontend primary use, harmless in admin) ── */
.section-label {
    font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--primary-text);
    margin-bottom: .5rem; display: block;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800;
    color: var(--accent); line-height: 1.2;
}
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }

.divider { width: 60px; height: 4px; background: var(--primary); border-radius: 2px; margin: 1rem 0; }
.divider-center { margin: 1rem auto; }

/* ── Buttons ── */

/* Base — shared across both pages */
.btn-primary-custom {
    background: var(--primary); color: var(--accent);
    border: none; font-weight: 700; transition: var(--transition);
}
.btn-primary-custom:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Frontend: pill shape */
body.frontend-page .btn-primary-custom { border-radius: 50px; padding: .65rem 1.8rem; }

/* Admin: box shape */
body.admin-page .btn-primary-custom { border-radius: 8px; }

.btn-accent {
    background: var(--accent); color: #fff;
    border: none; font-weight: 700; border-radius: 8px;
}
.btn-accent:hover { background: #0a1c2d; color: #fff; }

/* ── Colour helpers ── */
.text-primary-c  { color: var(--primary) !important; }
.text-accent     { color: var(--accent)  !important; }
.bg-primary-c    { background: var(--primary) !important; }

/* ── Badge helpers ── */
.badge-primary   { background: var(--primary-light); color: var(--primary-text); font-size: .75rem; font-weight: 700; }
.badge-primary-c { background: var(--primary-light); color: var(--primary-text); font-weight: 700; }
.badge-accent    { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.pill-tag        { background: var(--primary-light); color: var(--primary-text); font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 50px; }

/* ── Floating card (used in frontend About section) ── */
.floating-card { background: #fff; border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: var(--shadow); }

/* ── Awards ribbon ── */
.awards-ribbon { background: var(--primary); color: var(--accent); font-size: .7rem; font-weight: 800; padding: .2rem .6rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px; }


/* ══════════════════════════════════════════════════
   4. SHARED FORM ELEMENTS
   ══════════════════════════════════════════════════ */
.form-control,
.form-select {
    border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: .75rem 1rem; font-size: .93rem; transition: var(--transition);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 152, 41, .15);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--accent); margin-bottom: .4rem; }

/* Admin toggle override */
.form-switch .form-check-input { width: 2.4em; height: 1.2em; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }


/* ══════════════════════════════════════════════════
   5. SHARED ACCORDION (used in frontend FAQ)
   ══════════════════════════════════════════════════ */
.accordion-item {
    border: 1px solid var(--border); border-radius: var(--radius) !important;
    margin-bottom: .8rem; overflow: hidden;
}
.accordion-button { font-weight: 600; color: var(--accent); background: #fff; font-size: .95rem; }
.accordion-button:not(.collapsed) { background: var(--primary-light); color: var(--accent); box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: invert(60%) sepia(80%) saturate(500%) hue-rotate(10deg); }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(230, 152, 41, .25); }
.accordion-body { color: var(--text-muted); font-size: .93rem; line-height: 1.7; }


/* ══════════════════════════════════════════════════
   6. SHARED DROPDOWN BASE
   (Admin page overrides below in Section 9 for scoped admin menus)
   ══════════════════════════════════════════════════ */
body.admin-page .dropdown-menu {
    border: 1px solid var(--border); box-shadow: var(--shadow-md);
    border-radius: var(--radius); font-size: .88rem;
}
body.admin-page .dropdown-item {
    padding: .55rem 1rem; color: var(--text-dark);
    display: flex; align-items: center; gap: .65rem;
}
body.admin-page .dropdown-item:hover { background: var(--accent-soft); color: var(--accent); }
body.admin-page .dropdown-item i { font-size: 1rem; color: var(--text-muted); }


/* ══════════════════════════════════════════════════
   7. SHARED SCROLLBAR
   ══════════════════════════════════════════════════ */
::-webkit-scrollbar          { width: 6px; height: 6px; }
::-webkit-scrollbar-track    { background: transparent; }
::-webkit-scrollbar-thumb    { background: var(--border); border-radius: 3px; }


/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  8. CORPORATE FRONTEND                                               ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

/* ── SITE TOP BAR (announcement / ticker strip) ── */
.site-topbar {
    background: var(--accent); color: #fff;
    font-size: .82rem; padding: .38rem 0;
    border-bottom: 2px solid var(--primary);
}
.site-topbar a { color: var(--primary); text-decoration: none; }
.site-topbar a:hover { color: #fff; }
.site-topbar .ticker {
    animation: ticker 20s linear infinite;
    display: inline-block; white-space: nowrap;
}
@keyframes ticker {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ── MAIN NAVBAR (frontend) ── */
.navbar-main {
    background: var(--accent) !important;
    padding: .5rem 0; transition: var(--transition);
    box-shadow: 0 2px 16px rgba(16, 43, 69, .3);
}
.navbar-main.scrolled { padding: .3rem 0; }

.navbar-brand { color: #fff !important; font-weight: 800; font-size: 1.5rem; letter-spacing: -.5px; }
.navbar-brand span { color: var(--primary); }

.navbar-main .nav-link {
    color: rgba(255,255,255,.87) !important; font-weight: 500;
    padding: .5rem 1rem !important; border-radius: 6px;
    transition: var(--transition); font-size: .93rem;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active { color: var(--primary) !important; background: rgba(230,152,41,.12); }

.btn-quote {
    background: var(--primary); color: var(--accent) !important;
    font-weight: 700; border-radius: 50px; padding: .45rem 1.4rem !important;
}
.btn-quote:hover { background: var(--primary-dark); transform: translateY(-1px); }

.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: brightness(10); }

/* ── HERO CAROUSEL ── */
.hero-carousel .carousel-item { height: 100vh; min-height: 600px; position: relative; overflow: hidden; }
.hero-carousel .hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(.45);
}
.hero-carousel .carousel-caption {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    text-align: left; padding: 0;
}
.hero-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: 1.2rem; }
.hero-title span { color: var(--primary); }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 2rem; }
.hero-badge {
    background: var(--primary); color: var(--accent); font-weight: 700;
    font-size: .78rem; border-radius: 50px; padding: .3rem .9rem;
    letter-spacing: 1px; text-transform: uppercase;
    display: inline-block; margin-bottom: 1rem;
}
.btn-hero-primary {
    background: var(--primary); color: var(--accent); font-weight: 700;
    border-radius: 50px; padding: .8rem 2rem;
    border: none; font-size: 1rem; transition: var(--transition);
}
.btn-hero-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,152,41,.4); }
.btn-hero-outline {
    border: 2px solid #fff; color: #fff; font-weight: 600;
    border-radius: 50px; padding: .8rem 2rem;
    background: transparent; font-size: 1rem; transition: var(--transition);
}
.btn-hero-outline:hover { background: #fff; color: var(--accent); transform: translateY(-2px); }

.carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.5); border: 2px solid rgba(255,255,255,.5);
}
.carousel-indicators .active { background: var(--primary); border-color: var(--primary); width: 30px; border-radius: 5px; }

/* ── CLIENTS BAR ── */
.clients-bar { background: var(--accent-soft); padding: 2rem 0; border-top: 3px solid var(--primary); }
.clients-bar .label { font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.client-logo { opacity: .5; filter: grayscale(1); transition: var(--transition); font-weight: 800; font-size: 1.1rem; color: var(--accent); }
.client-logo:hover { opacity: 1; filter: none; }

/* ── FRONTEND SECTIONS ── */
section { padding: 5rem 0; }

/* ── FRONTEND STATS STRIP (fe-* prefix to avoid conflict with admin .stat-card) ── */
.fe-stats-section { background: var(--accent); padding: 4rem 0; }
.fe-stat-card { text-align: center; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.15); }
.fe-stat-card:last-child { border-right: none; }
.fe-stat-num { font-size: 3rem; font-weight: 900; color: var(--primary); display: block; line-height: 1; }
.fe-stat-label { color: rgba(255,255,255,.75); font-size: .9rem; margin-top: .4rem; }

/* ── SERVICE CARDS ── */
.service-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem 1.5rem; transition: var(--transition);
    position: relative; overflow: hidden; height: 100%;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--primary);
    transform: scaleX(0); transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: var(--primary); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: var(--primary-light); display: flex; align-items: center;
    justify-content: center; margin-bottom: 1.5rem;
    font-size: 1.8rem; color: var(--primary); transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-card h5 { font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
.service-card p  { color: var(--text-muted); font-size: .92rem; line-height: 1.7; }
.service-link    { color: var(--primary-text); font-weight: 600; font-size: .88rem; text-decoration: none; display: flex; align-items: center; gap: .3rem; margin-top: 1rem; }
.service-link:hover { gap: .6rem; }

/* ── ABOUT SECTION ── */
.about-img-wrap  { position: relative; }
.about-img-main  { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.about-img-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--primary); color: var(--accent);
    border-radius: var(--radius); padding: 1.2rem 1.5rem;
    box-shadow: var(--shadow); font-weight: 800;
}
.about-badge-num { font-size: 2.5rem; line-height: 1; display: block; }
.feature-item  { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.feature-icon  { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.feature-text h6 { font-weight: 700; color: var(--accent); margin-bottom: .2rem; }
.feature-text p  { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ── PROCESS / HOW IT WORKS ── */
.process-section { background: var(--primary-light); }
.process-step    { text-align: center; position: relative; }
.step-num {
    width: 70px; height: 70px; border-radius: 50%;
    background: var(--accent); color: var(--primary);
    font-size: 1.5rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; position: relative; z-index: 2;
    border: 4px solid var(--primary);
}
.step-connector { position: absolute; top: 35px; left: 60%; width: 80%; height: 2px; background: var(--primary); z-index: 1; }
.process-step:last-child .step-connector { display: none; }
.process-step h5 { font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
.process-step p  { color: var(--text-muted); font-size: .9rem; }

/* ── PORTFOLIO ── */
.portfolio-filter .btn         { border-radius: 50px; font-weight: 600; font-size: .88rem; padding: .4rem 1.2rem; transition: var(--transition); }
.portfolio-filter .btn-active  { background: var(--primary); color: var(--accent); border-color: var(--primary); }
.portfolio-item                { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.portfolio-item img            { width: 100%; height: 260px; object-fit: cover; transition: transform .4s ease; }
.portfolio-item:hover img      { transform: scale(1.08); }
.portfolio-overlay {
    position: absolute; inset: 0;
    background: rgba(16,43,69,.85); opacity: 0;
    transition: var(--transition); display: flex; align-items: center;
    justify-content: center; flex-direction: column;
    text-align: center; padding: 1.5rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h5  { color: #fff; font-weight: 700; margin-bottom: .4rem; }
.portfolio-overlay p   { color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 1rem; }
.portfolio-overlay .btn { background: var(--primary); color: var(--accent); border: none; font-weight: 700; border-radius: 50px; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--accent); }
.testimonial-card {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius); padding: 2rem;
}
.quote-icon        { font-size: 2.5rem; color: var(--primary); line-height: 1; margin-bottom: 1rem; }
.testimonial-text  { color: rgba(255,255,255,.87); font-size: .98rem; line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: .9rem; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--primary); object-fit: cover; }
.author-name { color: #fff; font-weight: 700; font-size: .92rem; }
.author-role { color: var(--primary); font-size: .8rem; }
.star-rating { color: var(--primary); font-size: .85rem; margin-bottom: .8rem; }

/* ── TEAM ── */
.team-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); background: #fff; }
.team-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(16,43,69,.18); }
.team-img-wrap     { position: relative; overflow: hidden; }
.team-img-wrap img { width: 100%; height: 300px; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-social {
    position: absolute; bottom: -60px; left: 0; right: 0;
    display: flex; justify-content: center; gap: .5rem; padding: 1rem;
    transition: .4s; background: linear-gradient(transparent, rgba(16,43,69,.8));
}
.team-card:hover .team-social { bottom: 0; }
.team-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary); display: flex; align-items: center;
    justify-content: center; color: var(--accent);
    font-size: .9rem; transition: var(--transition); text-decoration: none;
}
.team-social a:hover { background: #fff; }
.team-info     { padding: 1.2rem 1.5rem; }
.team-info h5  { font-weight: 700; color: var(--accent); margin-bottom: .2rem; }
.team-info span { color: var(--primary); font-size: .85rem; font-weight: 600; }

/* ── PRICING ── */
.pricing-card {
    border: 2px solid var(--border); border-radius: var(--radius);
    padding: 2.5rem 2rem; transition: var(--transition);
    text-align: center; position: relative; height: 100%; background: #fff;
}
.pricing-card.featured { border-color: var(--primary); background: var(--primary-light); transform: scale(1.04); box-shadow: var(--shadow); }
.pricing-card:hover    { border-color: var(--primary); box-shadow: var(--shadow); }
.pricing-badge {
    background: var(--primary); color: var(--accent);
    font-size: .75rem; font-weight: 700; padding: .25rem .9rem; border-radius: 50px;
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
}
.pricing-price     { font-size: 3rem; font-weight: 900; color: var(--accent); line-height: 1; }
.pricing-price sup { font-size: 1.4rem; font-weight: 700; vertical-align: top; margin-top: .6rem; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-plan-name { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: .5rem; }
.pricing-card ul   { list-style: none; text-align: left; margin: 1.5rem 0; padding: 0; }
.pricing-card ul li {
    padding: .5rem 0; color: var(--text-muted); font-size: .9rem;
    display: flex; align-items: center; gap: .6rem;
    border-bottom: 1px solid var(--border);
}
.pricing-card ul li i.bi-check-circle-fill { color: var(--primary); }
.pricing-card ul li i.bi-x-circle-fill     { color: #d1d5db; }
.btn-pricing         { border-radius: 50px; font-weight: 700; padding: .7rem 2rem; width: 100%; transition: var(--transition); }
.btn-pricing-primary { background: var(--primary); color: var(--accent); border: none; }
.btn-pricing-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-pricing-primary:hover,
.btn-pricing-outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }

/* ── BLOG ── */
.blog-card     { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); background: #fff; height: 100%; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(16,43,69,.18); }
.blog-card img   { width: 100%; height: 210px; object-fit: cover; transition: transform .4s; }
.blog-card:hover img { transform: scale(1.05); }
.blog-meta     { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: 1rem; margin-bottom: .7rem; }
.blog-category { background: var(--primary-light); color: var(--primary-text); font-weight: 700; font-size: .75rem; padding: .2rem .8rem; border-radius: 50px; }
.blog-card h5  { font-weight: 700; color: var(--accent); line-height: 1.4; margin-bottom: .8rem; font-size: 1rem; }
.blog-card p   { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }
.blog-body     { padding: 1.5rem; }
.read-more     { color: var(--primary-text); font-weight: 600; font-size: .85rem; text-decoration: none; display: flex; align-items: center; gap: .3rem; }
.read-more:hover { gap: .6rem; color: var(--primary-dark); }

/* ── FAQ SECTION ── */
.faq-section { background: var(--accent-soft); }

/* ── CTA BANNER ── */
.cta-section   { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 5rem 0; }
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; color: var(--accent); }
.cta-section p  { color: rgba(16,43,69,.75); font-size: 1.1rem; }
.btn-cta {
    background: var(--accent); color: #fff; border: none;
    border-radius: 50px; font-weight: 700; padding: .9rem 2.5rem;
    font-size: 1rem; transition: var(--transition);
}
.btn-cta:hover { background: #0a1c2d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,43,69,.35); color: #fff; }
.btn-cta-outline {
    background: transparent; color: var(--accent); border: 2px solid var(--accent);
    border-radius: 50px; font-weight: 700; padding: .9rem 2.5rem;
    font-size: 1rem; transition: var(--transition);
}
.btn-cta-outline:hover { background: var(--accent); color: #fff; }

/* ── CONTACT ── */
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon {
    width: 50px; height: 50px; border-radius: var(--radius);
    background: var(--primary-light); display: flex;
    align-items: center; justify-content: center;
    color: var(--primary); font-size: 1.3rem; flex-shrink: 0;
}
.contact-text h6  { font-weight: 700; color: var(--accent); margin-bottom: .2rem; }
.contact-text p,
.contact-text a   { color: var(--text-muted); font-size: .92rem; text-decoration: none; }
.contact-text a:hover { color: var(--primary); }
.map-embed        { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Contact two-panel card */
.contact-card { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.contact-card-left {
    background: var(--accent); padding: 2.5rem;
    display: flex; flex-direction: column; justify-content: space-between;
}
.contact-card-left .contact-icon { background: rgba(255,255,255,.12); color: #fff; }
.contact-card-left .contact-text h6 { color: rgba(255,255,255,.9); }
.contact-card-left .contact-text p,
.contact-card-left .contact-text a  { color: rgba(255,255,255,.6); }
.contact-card-left .contact-text a:hover { color: var(--primary); }
.contact-card-right { background: #fff; padding: 2.5rem; }

/* Contact form — register.php field design */
.contact-form .form-label { font-weight: 600; font-size: 0.875rem; color: #374151; margin-bottom: 0.35rem; }
.contact-form .form-control,
.contact-form .form-select {
    border-color: #d1d5db; border-radius: 8px;
    padding: 0.6rem 0.85rem; font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,152,41,.15);
}
.contact-form .input-group-text {
    background: #f9fafb; border-color: #d1d5db;
    color: #9ca3af; font-size: 0.9rem;
    border-radius: 8px 0 0 8px;
}
.contact-form .input-group .form-control { border-radius: 0 8px 8px 0; }
.contact-form .form-check-label { font-size: 0.85rem; color: var(--text-muted); }
.contact-form .form-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-form .form-link:hover { color: var(--primary-dark); }
.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none; color: #fff; font-weight: 700;
    padding: 0.75rem; border-radius: 8px; font-size: 1rem;
    transition: all 0.2s;
}
.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark), #b56b0a);
    color: #fff; transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(230,152,41,.35);
}

/* ── NEWSLETTER ── */
.newsletter-section { background: var(--accent); padding: 3.5rem 0; }
.newsletter-section h4 { color: #fff; font-weight: 800; }
.newsletter-section p  { color: rgba(255,255,255,.7); }
.newsletter-input {
    border-radius: 50px 0 0 50px; border: none;
    padding: .8rem 1.5rem; font-size: .93rem; flex: 1;
}
.newsletter-input:focus { box-shadow: none; }
.newsletter-btn {
    background: var(--primary); color: var(--accent); border: none;
    border-radius: 0 50px 50px 0; padding: .8rem 1.8rem;
    font-weight: 700; transition: var(--transition);
}
.newsletter-btn:hover { background: var(--primary-dark); }

/* ── FOOTER ── */
footer { background: #0a1c2d; color: rgba(255,255,255,.7); padding: 4rem 0 0; }
.footer-brand     { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: .8rem; }
.footer-brand span { color: var(--primary); }
.footer-desc      { font-size: .88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social a  {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08); display: inline-flex;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); font-size: .95rem;
    transition: var(--transition); text-decoration: none; margin-right: .4rem;
}
.footer-social a:hover  { background: var(--primary); color: var(--accent); }
.footer-title {
    font-size: .9rem; font-weight: 700; color: #fff;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 1.2rem; padding-bottom: .5rem;
    border-bottom: 2px solid var(--primary); display: inline-block;
}
footer ul       { list-style: none; padding: 0; margin: 0; }
footer ul li    { margin-bottom: .6rem; }
footer ul li a  {
    color: rgba(255,255,255,.65); text-decoration: none; font-size: .88rem;
    transition: var(--transition); display: flex; align-items: center; gap: .4rem;
}
footer ul li a:hover  { color: var(--primary); padding-left: .3rem; }
footer ul li a i      { color: var(--primary); font-size: .75rem; }
.footer-locations-row {
    margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
}
.footer-locations-label {
    color: rgba(255,255,255,.5); font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; white-space: nowrap;
}
.footer-locations-row a {
    color: rgba(255,255,255,.6); font-size: .8rem; text-decoration: none;
    transition: var(--transition);
}
.footer-locations-row a::after { content: ' ·'; color: rgba(255,255,255,.2); }
.footer-locations-row a:last-child::after { content: ''; }
.footer-locations-row a:hover { color: var(--primary); }

.footer-bottom        { background: rgba(0,0,0,.3); padding: 1.2rem 0; margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p      { font-size: .83rem; margin: 0; }
.footer-bottom a      { color: var(--primary); text-decoration: none; }

/* ── BACK TO TOP ── */
#backToTop {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 46px; height: 46px;
    background: var(--primary); color: var(--accent);
    border: none; border-radius: 50%; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(230,152,41,.4);
    transition: var(--transition); opacity: 0; visibility: hidden;
    z-index: 9999; cursor: pointer;
}
#backToTop.show  { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ── COOKIE BAR ── */
#cookieBar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--accent); color: #fff; padding: 1rem 0; z-index: 9998; display: none; }
#cookieBar.show { display: block; }


/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  9. ADMIN PANEL                                                      ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

/* ── SIDEBAR ── */
.sidebar {
    position: fixed; top: 0; left: 0;
    width: var(--sidebar-w); height: 100vh;
    background: var(--accent); display: flex; flex-direction: column;
    transition: var(--transition); z-index: 1050; overflow: hidden;
}
.sidebar.collapsed { width: var(--sidebar-collapsed); }

.sidebar-brand {
    height: var(--topbar-h); display: flex; align-items: center;
    padding: 0 1.2rem; gap: .8rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    white-space: nowrap; overflow: hidden; flex-shrink: 0;
}
.brand-icon {
    width: 36px; height: 36px; background: var(--primary); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1.1rem; font-weight: 900; flex-shrink: 0;
}
.brand-text        { font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.brand-text span   { color: var(--primary); }

.sidebar-nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: .8rem 0; }
.sidebar-nav::-webkit-scrollbar       { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }

.nav-section-label {
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: rgba(255,255,255,.35);
    padding: .8rem 1.2rem .3rem; white-space: nowrap; overflow: hidden;
}
.sidebar.collapsed .nav-section-label { opacity: 0; height: 0; padding: 0; }

.sidebar-link {
    display: flex; align-items: center; gap: .85rem; padding: .65rem 1.2rem;
    color: rgba(255,255,255,.72); text-decoration: none;
    font-size: .88rem; font-weight: 500; transition: var(--transition);
    white-space: nowrap; overflow: hidden;
    border-left: 3px solid transparent; margin: 1px 0; position: relative;
}
.sidebar-link:hover { background: rgba(255,255,255,.07); color: #fff; border-left-color: var(--primary); }
.sidebar-link.active { background: rgba(230,152,41,.18); color: var(--primary); border-left-color: var(--primary); font-weight: 600; }
.sidebar-link i         { font-size: 1.1rem; flex-shrink: 0; width: 20px; text-align: center; }
.sidebar-link .link-text { flex: 1; overflow: hidden; }

.sidebar-badge {
    background: var(--primary); color: var(--accent);
    font-size: .65rem; font-weight: 800;
    padding: .15rem .5rem; border-radius: 50px; flex-shrink: 0;
}
.sidebar.collapsed .link-text,
.sidebar.collapsed .sidebar-badge,
.sidebar.collapsed .nav-section-label { display: none; }

.sidebar-footer { padding: .8rem 1.2rem; border-top: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }
.sidebar-user   { display: flex; align-items: center; gap: .8rem; overflow: hidden; }
.sidebar-user img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--primary); flex-shrink: 0; }
.sidebar-user .user-info .user-name { color: #fff; font-weight: 700; font-size: .85rem; }
.sidebar-user .user-info .user-role { color: var(--primary); font-size: .72rem; }
.sidebar.collapsed .user-info { display: none; }

/* ── MAIN WRAPPER ── */
.main-wrapper          { margin-left: var(--sidebar-w); min-height: 100vh; transition: var(--transition); display: flex; flex-direction: column; }
.main-wrapper.expanded { margin-left: var(--sidebar-collapsed); }

/* ── ADMIN TOPBAR (white header bar) ── */
.topbar {
    height: var(--topbar-h); background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; padding: 0 1.5rem; gap: 1rem;
    position: sticky; top: 0; z-index: 1040; box-shadow: var(--shadow);
}
.toggle-btn {
    width: 36px; height: 36px; border: none;
    background: var(--accent-soft); color: var(--accent);
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; cursor: pointer;
    font-size: 1.1rem; transition: var(--transition); flex-shrink: 0;
}
.toggle-btn:hover { background: var(--primary); color: var(--accent); }

.topbar-search { flex: 1; max-width: 340px; }
.search-wrap   { position: relative; }
.search-wrap i {
    position: absolute; left: .85rem; top: 50%;
    transform: translateY(-50%); color: var(--text-muted); font-size: .9rem;
}
.search-wrap input {
    padding-left: 2.4rem; border: 1.5px solid var(--border);
    border-radius: 50px; font-size: .88rem;
    background: var(--bg); height: 38px; width: 100%;
}
.search-wrap input:focus {
    outline: none; border-color: var(--primary);
    background: #fff; box-shadow: 0 0 0 3px rgba(230,152,41,.12);
}
.topbar-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

.action-btn {
    width: 38px; height: 38px; border: none;
    background: var(--accent-soft); color: var(--accent);
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; cursor: pointer;
    font-size: 1rem; transition: var(--transition);
    position: relative; text-decoration: none;
}
.action-btn:hover             { background: var(--primary-light); color: var(--primary); }
.action-btn .badge-dot        { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: var(--danger); border-radius: 50%; border: 2px solid #fff; }
.action-btn .badge-count      { position: absolute; top: 2px; right: 2px; background: var(--danger); color: #fff; font-size: .6rem; font-weight: 800; border-radius: 50px; padding: 0 4px; min-width: 16px; text-align: center; }

.user-menu-btn { display: flex; align-items: center; gap: .6rem; background: none; border: none; cursor: pointer; padding: .3rem .6rem; border-radius: 8px; transition: var(--transition); }
.user-menu-btn:hover        { background: var(--accent-soft); }
.user-menu-btn img          { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--primary); }
.user-menu-btn .user-name   { font-weight: 700; font-size: .85rem; color: var(--text-dark); }
.user-menu-btn .user-role   { font-size: .72rem; color: var(--text-muted); }

/* ── ADMIN SECONDARY NAVBAR ── */
.admin-navbar {
    background: var(--accent); height: 44px;
    display: flex; align-items: center; padding: 0 1.5rem; gap: .25rem;
    position: sticky; top: var(--topbar-h); z-index: 1039;
    box-shadow: 0 2px 8px rgba(16,43,69,.18);
    overflow-x: auto; flex-shrink: 0;
}
.admin-navbar::-webkit-scrollbar { height: 0; }

.admin-nav-link {
    display: flex; align-items: center; gap: .45rem;
    color: rgba(255,255,255,.68); font-size: .82rem; font-weight: 500;
    text-decoration: none; padding: .3rem .85rem; border-radius: 6px;
    white-space: nowrap; transition: var(--transition);
    border: 1px solid transparent; position: relative;
}
.admin-nav-link i           { font-size: .9rem; }
.admin-nav-link:hover       { color: #fff; background: rgba(255,255,255,.1); }
.admin-nav-link.active      { color: var(--accent); background: var(--primary); font-weight: 700; border-color: var(--primary-dark); }
.admin-nav-link .nav-badge  { background: var(--danger); color: #fff; font-size: .6rem; font-weight: 800; padding: 1px 5px; border-radius: 50px; min-width: 16px; text-align: center; }
.admin-nav-link.active .nav-badge { background: var(--accent); color: var(--primary); }

.admin-nav-sep { width: 1px; height: 22px; background: rgba(255,255,255,.15); flex-shrink: 0; margin: 0 .3rem; }

.admin-navbar .dropdown-toggle::after { display: none; }
.admin-navbar .dropdown-menu          { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-md); margin-top: .4rem; min-width: 200px; }
.admin-navbar .dropdown-menu .dropdown-item { font-size: .85rem; padding: .55rem 1rem; gap: .65rem; display: flex; align-items: center; }
.admin-navbar .dropdown-menu .dropdown-item i     { color: var(--text-muted); font-size: .95rem; }
.admin-navbar .dropdown-menu .dropdown-item:hover { background: var(--accent-soft); color: var(--accent); }
.admin-navbar .dropdown-menu .dropdown-header     { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); padding: .6rem 1rem .3rem; }

.navbar-env-badge { background: rgba(34,197,94,.2); color: #4ade80; font-size: .65rem; font-weight: 800; padding: .15rem .55rem; border-radius: 50px; border: 1px solid rgba(34,197,94,.35); margin-left: auto; flex-shrink: 0; white-space: nowrap; }

/* ── PAGE LAYOUT ── */
.page-content        { padding: 1.5rem; flex: 1; }
.page-header         { margin-bottom: 1.5rem; }
.page-title          { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.breadcrumb          { font-size: .82rem; }
.breadcrumb-item a   { color: var(--primary); text-decoration: none; }
.breadcrumb-item.active { color: var(--text-muted); }

/* ── ADMIN CARDS ── */
.card        { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.card-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 1.25rem; font-weight: 700; font-size: .92rem; color: var(--accent); }
.card-body   { padding: 1.25rem; }

/* ── ADMIN STAT CARDS (gradient KPI cards) ── */
.stat-card          { border-radius: var(--radius); padding: 1.4rem; position: relative; overflow: hidden; border: none; }
.stat-card .stat-icon  { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.stat-card .stat-value { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.stat-card .stat-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; opacity: .7; margin-bottom: .3rem; }
.stat-card .stat-trend { font-size: .78rem; font-weight: 600; display: flex; align-items: center; gap: .25rem; margin-top: .4rem; }
.stat-card .stat-trend.up   { color: var(--success); }
.stat-card .stat-trend.down { color: var(--danger); }
.stat-card-bg { position: absolute; right: -1rem; bottom: -1rem; font-size: 5rem; opacity: .08; }

.stat-revenue                  { background: linear-gradient(135deg, var(--accent) 0%, #1e4a7a 100%); color: #fff; box-shadow: 0 4px 20px rgba(16,43,69,.3); }
.stat-revenue .stat-icon       { background: rgba(255,255,255,.15); color: #fff; }
.stat-orders                   { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--accent); box-shadow: 0 4px 20px rgba(230,152,41,.35); }
.stat-orders .stat-icon        { background: rgba(16,43,69,.15); color: var(--accent); }
.stat-users                    { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); color: #fff; box-shadow: 0 4px 20px rgba(34,197,94,.3); }
.stat-users .stat-icon         { background: rgba(255,255,255,.2); color: #fff; }
.stat-products                 { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); color: #fff; box-shadow: 0 4px 20px rgba(139,92,246,.3); }
.stat-products .stat-icon      { background: rgba(255,255,255,.2); color: #fff; }

/* ── CHART WRAPPER ── */
.chart-container { position: relative; }

/* ── ADMIN TABLE ── */
.table th   { font-size: .77rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); border-bottom: 2px solid var(--border); padding: .75rem 1rem; white-space: nowrap; }
.table td   { padding: .75rem 1rem; vertical-align: middle; font-size: .88rem; border-color: var(--border); }
.table tbody tr:hover { background: var(--accent-soft); }
.table-avatar { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }

/* ── ORDER STATUS BADGES ── */
.order-status    { font-size: .72rem; font-weight: 700; padding: .25rem .8rem; border-radius: 50px; }
.status-delivered  { background: #dcfce7; color: #16a34a; }
.status-pending    { background: #fef3c7; color: #d97706; }
.status-processing { background: #dbeafe; color: #2563eb; }
.status-cancelled  { background: #fee2e2; color: #dc2626; }
.status-returned   { background: #f3e8ff; color: #7c3aed; }

/* ── ACTIVITY FEED ── */
.activity-item        { display: flex; gap: .85rem; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.activity-item:last-child { border-bottom: none; }
.activity-icon        { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.activity-text        { font-size: .85rem; color: var(--text-dark); line-height: 1.4; }
.activity-text span   { font-weight: 700; }
.activity-time        { font-size: .75rem; color: var(--text-muted); margin-top: .2rem; }

/* ── QUICK ACTIONS ── */
.quick-action {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: .5rem; padding: 1rem .5rem;
    border-radius: var(--radius); border: 1.5px dashed var(--border);
    text-decoration: none; color: var(--text-muted);
    font-size: .78rem; font-weight: 600;
    transition: var(--transition); text-align: center;
}
.quick-action:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.quick-action i     { font-size: 1.5rem; }

/* ── PROGRESS BARS ── */
.progress          { height: 8px; border-radius: 4px; background: var(--accent-soft); }
.progress-bar      { border-radius: 4px; }
.progress-primary  { background: var(--primary); }
.progress-accent   { background: var(--accent); }
.progress-success  { background: var(--success); }
.progress-info     { background: var(--info); }

/* ── TASK LIST ── */
.task-item           { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.task-item:last-child { border-bottom: none; }
.task-check          { width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--border); flex-shrink: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.task-check.done     { background: var(--primary); border-color: var(--primary); color: var(--accent); font-size: .7rem; }
.task-text           { flex: 1; font-size: .85rem; }
.task-text.done      { text-decoration: line-through; color: var(--text-muted); }
.task-priority       { font-size: .7rem; font-weight: 700; padding: .15rem .5rem; border-radius: 50px; }
.priority-high       { background: #fee2e2; color: #dc2626; }
.priority-med        { background: #fef3c7; color: #d97706; }
.priority-low        { background: #dcfce7; color: #16a34a; }

/* ── MINI PROFILE CARD ── */
.profile-cover  { height: 80px; background: linear-gradient(135deg, var(--accent) 0%, #1e4a7a 100%); border-radius: var(--radius) var(--radius) 0 0; position: relative; }
.profile-avatar { width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--primary); position: absolute; bottom: -30px; left: 1.25rem; }
.profile-body   { padding: 2.5rem 1.25rem 1.25rem; }

/* ── NOTIFICATION DROPDOWN ── */
.notification-dropdown { width: 340px; }
.notif-item            { display: flex; gap: .75rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); transition: var(--transition); cursor: pointer; }
.notif-item:hover      { background: var(--accent-soft); }
.notif-item.unread     { background: var(--primary-light); }
.notif-icon            { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.notif-text            { font-size: .82rem; color: var(--text-dark); line-height: 1.4; }
.notif-time            { font-size: .72rem; color: var(--text-muted); margin-top: .15rem; }

/* ── MINI CALENDAR ── */
.mini-cal th            { font-size: .72rem; font-weight: 700; color: var(--text-muted); text-align: center; padding: .4rem; }
.mini-cal td            { font-size: .82rem; text-align: center; padding: .4rem; border-radius: 6px; cursor: pointer; }
.mini-cal td:hover      { background: var(--accent-soft); }
.mini-cal td.today      { background: var(--primary); color: var(--accent); font-weight: 800; }
.mini-cal td.has-event  { position: relative; }
.mini-cal td.has-event::after { content: ''; width: 4px; height: 4px; background: var(--primary); border-radius: 50%; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); }
.mini-cal td.other-month { color: var(--border); }

/* ── SETTINGS PANEL ── */
.settings-item           { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.settings-item:last-child { border-bottom: none; }

/* ── REGION TABLE ── */
.country-row            { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.country-row:last-child { border-bottom: none; }
.country-flag           { font-size: 1.3rem; }
.country-name           { font-size: .85rem; font-weight: 600; flex: 1; }
.country-amount         { font-size: .85rem; font-weight: 700; color: var(--accent); }
.country-pct            { font-size: .72rem; color: var(--text-muted); }

/* ── SIDEBAR OVERLAY (mobile) ── */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1049; }

/* ── ADMIN FORM COMPONENTS ── */
.adm-form-section {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem;
    margin-bottom: 1.25rem;
}
.adm-form-section-title {
    font-size: .8rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 1rem; padding-bottom: .6rem;
    border-bottom: 2px solid var(--primary-light);
}
.adm-igt {
    background: var(--accent-soft); border-color: var(--border);
    color: var(--text-muted); font-size: .88rem;
}
/* Radio status cards */
.adm-radio-card { position: relative; }
.adm-radio-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.adm-radio-card label {
    display: flex; align-items: center; gap: .75rem;
    padding: .65rem .9rem; border: 1.5px solid var(--border);
    border-radius: 8px; cursor: pointer; background: #fff;
    font-size: .85rem; font-weight: 600; transition: var(--transition);
}
.adm-radio-card input[type="radio"]:checked + label {
    border-color: var(--primary); background: var(--primary-light);
}
.adm-radio-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.adm-radio-dot.published { background: var(--success); }
.adm-radio-dot.draft     { background: var(--warning); }
.adm-radio-dot.scheduled { background: var(--info); }
.adm-radio-sub { font-size: .73rem; color: var(--text-muted); font-weight: 400; }
/* File drop zone */
.adm-file-drop {
    position: relative; border: 2px dashed var(--border);
    border-radius: var(--radius); padding: 1.5rem;
    text-align: center; cursor: pointer; background: #fff;
    transition: border-color .2s, background .2s;
}
.adm-file-drop:hover { border-color: var(--primary); background: var(--primary-light); }
/* Image thumbnails */
.adm-img-thumb {
    position: relative; width: 72px; height: 72px;
    border-radius: 8px; overflow: hidden; border: 1.5px solid var(--border);
}
.adm-img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-img-remove {
    position: absolute; top: 2px; right: 2px;
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(0,0,0,.55); border: none; color: #fff;
    font-size: .6rem; display: flex; align-items: center; justify-content: center;
    cursor: pointer; padding: 0;
}
/* Form action bar */
.adm-form-action-bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: .75rem;
    padding: 1rem 1.25rem; background: var(--accent-soft);
    border: 1px solid var(--border); border-radius: var(--radius);
}

/* ── RESPONSIVE ── */
@media (max-width: 991.98px) {
    .sidebar             { transform: translateX(-100%); }
    .sidebar.mobile-open { transform: translateX(0); }
    .main-wrapper        { margin-left: 0 !important; }
    .sidebar-overlay     { display: block !important; }
    .adm-form-action-bar { flex-direction: column; align-items: stretch; }
    .adm-form-action-bar > div { justify-content: stretch; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ADM EXTENDED SECTIONS — appended after .adm-form-action-bar
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Mini Stat Cards ── */
.adm-mini-stat {
    display: flex; align-items: center; gap: .85rem;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
}
.adm-mini-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.adm-mini-val {
    font-size: 1.3rem; font-weight: 800; color: var(--accent); line-height: 1.1;
}
.adm-mini-lbl {
    font-size: .72rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .4px; margin-top: .15rem;
}

/* ── Table Action Buttons ── */
.adm-act-view,
.adm-act-edit,
.adm-act-del {
    width: 30px; height: 30px; border-radius: 6px;
    border: none; cursor: pointer; display: inline-flex;
    align-items: center; justify-content: center; font-size: .85rem;
    transition: var(--transition);
}
.adm-act-view { background: var(--accent-soft);   color: var(--accent); }
.adm-act-edit { background: var(--primary-light);  color: var(--primary); }
.adm-act-del  { background: #fee2e2;               color: #dc2626; }
.adm-act-view:hover { background: var(--accent);    color: #fff; }
.adm-act-edit:hover { background: var(--primary);   color: var(--accent); }
.adm-act-del:hover  { background: #dc2626;          color: #fff; }

/* ── Customer Status Badges ── */
.adm-cust-badge {
    display: inline-flex; align-items: center; gap: .25rem;
    font-size: .71rem; font-weight: 700; padding: .2rem .7rem;
    border-radius: 50px;
}
.adm-cust-badge.active  { background: #dcfce7; color: #16a34a; }
.adm-cust-badge.vip     { background: #fef3c7; color: #b45309; }
.adm-cust-badge.blocked { background: #fee2e2; color: #dc2626; }
.adm-cust-badge.new     { background: #dbeafe; color: #2563eb; }
.adm-vip-badge { font-size: .7rem; }

/* ── Coupon Codes & Type Pills ── */
.adm-coupon-code {
    font-family: 'Courier New', monospace; font-size: .8rem; font-weight: 700;
    color: var(--primary); background: var(--primary-light);
    border: 1.5px dashed var(--primary); padding: .15rem .55rem;
    border-radius: 6px; letter-spacing: .5px;
}
.adm-coupon-type-pct,
.adm-coupon-type-flat,
.adm-coupon-type-free {
    font-size: .71rem; font-weight: 700; padding: .18rem .6rem;
    border-radius: 50px;
}
.adm-coupon-type-pct  { background: #f3e8ff; color: #7c3aed; }
.adm-coupon-type-flat { background: #dcfce7; color: #16a34a; }
.adm-coupon-type-free { background: #dbeafe; color: #2563eb; }

/* ── Return Badges ── */
.adm-return-badge {
    font-size: .71rem; font-weight: 700; padding: .2rem .7rem;
    border-radius: 50px; display: inline-block;
}
.adm-return-badge.requested { background: #fef3c7; color: #d97706; }
.adm-return-badge.approved  { background: #dbeafe; color: #2563eb; }
.adm-return-badge.picked    { background: #f3e8ff; color: #7c3aed; }
.adm-return-badge.refunded  { background: #dcfce7; color: #16a34a; }
.adm-return-badge.rejected  { background: #fee2e2; color: #dc2626; }

/* ── Ticket Priority Badges ── */
.adm-ticket-priority {
    font-size: .71rem; font-weight: 700; padding: .2rem .7rem;
    border-radius: 50px; display: inline-block;
}
.adm-ticket-priority.urgent { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }
.adm-ticket-priority.high   { background: #ffedd5; color: #c2410c; }
.adm-ticket-priority.medium { background: #fef3c7; color: #d97706; }
.adm-ticket-priority.low    { background: #f1f5f9; color: #64748b; }

/* ── SLA Badges ── */
.adm-sla-badge {
    font-size: .68rem; font-weight: 700; padding: .15rem .6rem;
    border-radius: 50px; display: inline-block;
}
.adm-sla-badge.overdue  { background: #fee2e2; color: #dc2626; }
.adm-sla-badge.due-soon { background: #fef3c7; color: #d97706; }
.adm-sla-badge.ok       { background: #dcfce7; color: #16a34a; }

/* ── Ticket Status Badges ── */
.adm-ticket-status {
    font-size: .71rem; font-weight: 700; padding: .2rem .7rem;
    border-radius: 50px; display: inline-block;
}
.adm-ticket-status.open        { background: #fee2e2; color: #dc2626; }
.adm-ticket-status.in-progress { background: #dbeafe; color: #2563eb; }
.adm-ticket-status.resolved    { background: #dcfce7; color: #16a34a; }
.adm-ticket-status.closed      { background: #f1f5f9; color: #64748b; }

/* ── Permission / Role Table ── */
.adm-perm-table th { text-align: center; font-size: .75rem; vertical-align: middle; }
.adm-perm-table td { vertical-align: middle; }
.adm-perm-table td:first-child { text-align: left; }
.adm-role-badge {
    font-size: .75rem; font-weight: 700; padding: .25rem .75rem;
    border-radius: 50px; display: inline-block; white-space: nowrap;
}

/* ── Transaction Amount & Status ── */
.adm-txn-credit { font-weight: 700; color: #16a34a; }
.adm-txn-debit  { font-weight: 700; color: #dc2626; }

.adm-txn-status {
    font-size: .71rem; font-weight: 700; padding: .2rem .65rem;
    border-radius: 50px; display: inline-block;
}
.adm-txn-status.paid     { background: #dcfce7; color: #16a34a; }
.adm-txn-status.pending  { background: #fef3c7; color: #d97706; }
.adm-txn-status.failed   { background: #fee2e2; color: #dc2626; }
.adm-txn-status.refunded { background: #f3e8ff; color: #7c3aed; }

/* ── Stars Display ── */
.adm-stars {
    color: var(--primary); font-size: .95rem; letter-spacing: .05em;
}

/* ── Review Status Badges ── */
.adm-review-status {
    font-size: .71rem; font-weight: 700; padding: .2rem .65rem;
    border-radius: 50px; display: inline-block;
}
.adm-review-status.published { background: #dcfce7; color: #16a34a; }
.adm-review-status.pending   { background: #fef3c7; color: #d97706; }
.adm-review-status.flagged   { background: #fee2e2; color: #dc2626; }

/* ── Campaign Status Badges ── */
.adm-campaign-status {
    font-size: .71rem; font-weight: 700; padding: .2rem .65rem;
    border-radius: 50px; display: inline-block;
}
.adm-campaign-status.sent      { background: #dcfce7; color: #16a34a; }
.adm-campaign-status.scheduled { background: #dbeafe; color: #2563eb; }
.adm-campaign-status.draft     { background: #f1f5f9; color: #64748b; }
.adm-campaign-status.paused    { background: #fef3c7; color: #d97706; }

/* ── Open Rate metric ── */
.adm-open-rate {
    font-size: .83rem; font-weight: 700; color: var(--accent);
}

/* ── Media Library Grid ── */
.adm-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: .75rem;
}
.adm-media-card {
    border: 1.5px solid var(--border); border-radius: var(--radius);
    overflow: hidden; background: var(--white);
    transition: var(--transition); cursor: pointer;
}
.adm-media-card:hover {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(230,152,41,.15);
}
.adm-media-thumb {
    position: relative; height: 90px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.adm-media-thumb-icon {
    display: flex; align-items: center; justify-content: center;
}
.adm-media-cb {
    position: absolute; top: 5px; left: 5px;
    opacity: 0; transition: opacity .2s;
    cursor: pointer;
}
.adm-media-card:hover .adm-media-cb { opacity: 1; }
.adm-media-info {
    padding: .4rem .5rem;
    border-top: 1px solid var(--border);
}
.adm-media-name {
    font-size: .72rem; font-weight: 600; color: var(--accent);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.adm-media-size {
    font-size: .68rem; color: var(--text-muted); margin-top: .1rem;
}

/* ── Audit Log Entries ── */
.adm-audit-entry {
    display: flex; align-items: flex-start; gap: .6rem;
    padding: .6rem 0; border-bottom: 1px solid var(--border);
}
.adm-audit-entry:last-child { border-bottom: none; }
.adm-audit-dot {
    width: 10px; height: 10px; border-radius: 50%;
    flex-shrink: 0; margin-top: .3rem;
}
.adm-audit-dot.info    { background: var(--info); }
.adm-audit-dot.success { background: var(--success); }
.adm-audit-dot.warning { background: var(--warning); }
.adm-audit-dot.danger  { background: var(--danger); }
.adm-audit-action {
    font-size: .82rem; color: var(--text-dark); line-height: 1.4;
}
.adm-audit-action span { font-weight: 700; color: var(--accent); }
.adm-audit-meta {
    font-size: .73rem; color: var(--text-muted); margin-top: .15rem;
}

/* ── Export Buttons ── */
.adm-export-btn {
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem 1rem; background: var(--white);
    border: 1.5px solid var(--border); border-radius: var(--radius);
    text-align: left; cursor: pointer; transition: var(--transition);
}
.adm-export-btn:hover {
    border-color: var(--primary); background: var(--primary-light);
}
.adm-export-icon {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}

/* ── Import Drop Zone ── */
.adm-import-drop {
    border: 2px dashed var(--border); border-radius: var(--radius);
    padding: 1.5rem 1rem; text-align: center;
    transition: var(--transition); background: var(--bg);
}
.adm-import-drop:hover {
    border-color: var(--primary); background: var(--primary-light);
}

/* ── Settings Groups & Rows ── */
.adm-settings-group {
    margin-bottom: 1.25rem;
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden;
}
.adm-settings-group-title {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: var(--text-muted);
    background: var(--bg); padding: .55rem 1rem;
    border-bottom: 1px solid var(--border);
}
.adm-settings-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: .65rem 1rem;
    border-bottom: 1px solid var(--border);
}
.adm-settings-row:last-child { border-bottom: none; }
.adm-settings-label { flex: 1; min-width: 0; }
.adm-settings-desc  { font-size: .75rem; color: var(--text-muted); margin-top: .1rem; }
.adm-settings-input { flex-shrink: 0; min-width: 200px; }

@media (max-width: 767.98px) {
    .adm-settings-row   { flex-direction: column; align-items: flex-start; }
    .adm-settings-input { min-width: 100%; }
    .adm-media-grid     { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}


/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  8b. CORPORATE FRONTEND — NEW SECTIONS (fe- prefixed)               ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

/* ══════════════════════════════════════════════════
   A. INDUSTRIES SERVED
   ══════════════════════════════════════════════════ */

body.frontend-page .fe-industry-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem 1.4rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
body.frontend-page .fe-industry-card::before {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}
body.frontend-page .fe-industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
body.frontend-page .fe-industry-card:hover::before { transform: scaleX(1); }
body.frontend-page .fe-industry-card h6 {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: .5rem;
    font-size: .97rem;
}
body.frontend-page .fe-industry-card p {
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.65;
    margin: 0;
}

body.frontend-page .fe-industry-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.2rem;
    transition: var(--transition);
}
body.frontend-page .fe-industry-card:hover .fe-industry-icon {
    transform: scale(1.1) rotate(-5deg);
}


/* ══════════════════════════════════════════════════
   B. TECHNOLOGY STACK
   ══════════════════════════════════════════════════ */

body.frontend-page .fe-techstack-category {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem 1.8rem;
    border: 1px solid var(--border);
}

body.frontend-page .fe-tech-cat-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

body.frontend-page .fe-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: .35rem .9rem .35rem .35rem;
    background: #fff;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    cursor: default;
    transition: var(--transition);
}
body.frontend-page .fe-tech-badge:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230,152,41,.2);
}

body.frontend-page .fe-tech-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .65rem; font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    line-height: 1;
}


/* ══════════════════════════════════════════════════
   C. CASE STUDIES
   ══════════════════════════════════════════════════ */

body.frontend-page .fe-case-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: #fff;
    display: flex;
    flex-direction: column;
}
body.frontend-page .fe-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(16,43,69,.18);
}

body.frontend-page .fe-case-banner {
    background: linear-gradient(135deg, #102b45 0%, #1a4a73 100%);
    padding: 1.6rem 1.8rem;
}

body.frontend-page .fe-case-avatar {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 900;
    flex-shrink: 0;
}

body.frontend-page .fe-case-body {
    padding: 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

body.frontend-page .fe-case-label {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: .3rem;
}

body.frontend-page .fe-case-text {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.65;
    margin: 0;
}

body.frontend-page .fe-case-metrics {
    display: flex;
    gap: .5rem;
    padding: 1.1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 1rem 0;
}

body.frontend-page .fe-case-metric {
    flex: 1;
    text-align: center;
}

body.frontend-page .fe-case-metric-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: .2rem;
}

body.frontend-page .fe-case-metric-label {
    display: block;
    font-size: .72rem;
    color: var(--text-muted);
    line-height: 1.3;
}

body.frontend-page .fe-case-link {
    color: var(--primary-text);
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: auto;
    transition: var(--transition);
}
body.frontend-page .fe-case-link:hover { gap: .6rem; color: var(--primary-dark); }


/* ══════════════════════════════════════════════════
   D. AWARDS & RECOGNITION
   ══════════════════════════════════════════════════ */

body.frontend-page .fe-award-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
    transition: var(--transition);
    height: 100%;
}
body.frontend-page .fe-award-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

body.frontend-page .fe-award-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(230,152,41,.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

body.frontend-page .fe-award-year {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    background: var(--accent);
    color: var(--primary);
    border-radius: 4px;
    padding: .1rem .45rem;
    margin-bottom: .35rem;
    letter-spacing: .5px;
}

body.frontend-page .fe-award-card h6 {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: .2rem;
    font-size: .88rem;
}
body.frontend-page .fe-award-card p {
    color: var(--text-muted);
    font-size: .78rem;
    margin: 0;
}

/* Press items */
body.frontend-page .fe-press-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
}
body.frontend-page .fe-press-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

body.frontend-page .fe-press-avatar {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    letter-spacing: -.5px;
}

body.frontend-page .fe-press-content { flex: 1; }

body.frontend-page .fe-press-headline {
    font-weight: 600;
    font-size: .9rem;
    color: var(--accent);
    line-height: 1.4;
    margin-bottom: .35rem;
}

body.frontend-page .fe-press-pub {
    font-weight: 700;
    font-size: .75rem;
    color: var(--primary);
}

body.frontend-page .fe-press-date {
    font-size: .75rem;
    color: var(--text-muted);
}

body.frontend-page .fe-press-link {
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-top: .3rem;
    transition: var(--transition);
}
body.frontend-page .fe-press-link:hover { gap: .45rem; }


/* ══════════════════════════════════════════════════
   E. COMPANY TIMELINE
   ══════════════════════════════════════════════════ */

body.frontend-page .fe-timeline {
    position: relative;
    padding: 1rem 0;
}

body.frontend-page .fe-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary) 10%, var(--primary) 90%, transparent);
    transform: translateX(-50%);
}

body.frontend-page .fe-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
}
body.frontend-page .fe-timeline-item:last-child { margin-bottom: 0; }

body.frontend-page .fe-timeline-content {
    flex: 1;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
body.frontend-page .fe-timeline-content:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

body.frontend-page .fe-timeline-content h5 {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: .5rem;
    font-size: 1rem;
}
body.frontend-page .fe-timeline-content p {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.65;
    margin-bottom: .7rem;
}

body.frontend-page .fe-timeline-stat {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(230,152,41,.3);
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 50px;
}

body.frontend-page .fe-timeline-center {
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    padding-top: .8rem;
}

body.frontend-page .fe-timeline-year {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem;
    font-weight: 900;
    border: 3px solid var(--primary);
    z-index: 2;
    position: relative;
    box-shadow: 0 0 0 4px rgba(230,152,41,.15);
}

body.frontend-page .fe-timeline-line {
    width: 2px;
    flex: 1;
    background: var(--primary);
    opacity: .25;
    min-height: 30px;
}

body.frontend-page .fe-timeline-spacer {
    flex: 1;
}

/* Reverse layout for alternating right-side items */
body.frontend-page .fe-timeline-reverse .fe-timeline-content {
    order: 3;
}
body.frontend-page .fe-timeline-reverse .fe-timeline-center {
    order: 2;
}
body.frontend-page .fe-timeline-reverse .fe-timeline-spacer {
    order: 1;
}

@media (max-width: 767.98px) {
    body.frontend-page .fe-timeline::before { left: 30px; }
    body.frontend-page .fe-timeline-item,
    body.frontend-page .fe-timeline-reverse { flex-direction: row !important; }
    body.frontend-page .fe-timeline-spacer { display: none; }
    body.frontend-page .fe-timeline-center { width: 60px; order: 1 !important; }
    body.frontend-page .fe-timeline-content { order: 2 !important; flex: 1; }
    body.frontend-page .fe-timeline-year { width: 50px; height: 50px; font-size: .72rem; }
}


/* ══════════════════════════════════════════════════
   F. PARTNERS & INTEGRATIONS
   ══════════════════════════════════════════════════ */

body.frontend-page .fe-partner-tier-label {
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    padding-bottom: .6rem;
    margin-bottom: 1rem;
}

body.frontend-page .fe-partner-logo {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    height: 100%;
}
body.frontend-page .fe-partner-logo:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

body.frontend-page .fe-partner-logo.fe-partner-logo-sm {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    gap: .6rem;
}

body.frontend-page .fe-partner-avatar {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; font-weight: 900;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: -.3px;
}

body.frontend-page .fe-partner-avatar.fe-partner-avatar-sm {
    width: 40px; height: 40px;
    border-radius: 10px;
    font-size: .7rem;
}

body.frontend-page .fe-partner-name {
    font-weight: 700;
    font-size: .85rem;
    color: var(--accent);
}

body.frontend-page .fe-partner-tier {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    border-radius: 50px;
    padding: .15rem .6rem;
    margin-top: .25rem;
}

body.frontend-page .fe-partner-tier-gold {
    background: rgba(230,152,41,.15);
    color: #b45309;
    border: 1px solid rgba(230,152,41,.4);
}

body.frontend-page .fe-partner-tier-silver {
    background: rgba(107,114,128,.1);
    color: #4b5563;
    border: 1px solid rgba(107,114,128,.3);
}

body.frontend-page .fe-integration-pill {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: .3rem .9rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition);
    cursor: default;
}
body.frontend-page .fe-integration-pill:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--accent);
    transform: translateY(-2px);
}


/* ══════════════════════════════════════════════════
   G. RESOURCE CENTER
   ══════════════════════════════════════════════════ */

body.frontend-page .fe-resource-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
body.frontend-page .fe-resource-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

body.frontend-page .fe-resource-icon-wrap {
    padding: 1.6rem;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

body.frontend-page .fe-resource-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

body.frontend-page .fe-resource-body h6 {
    font-weight: 700;
    color: var(--accent);
    font-size: .95rem;
    margin-bottom: .5rem;
    line-height: 1.4;
}

body.frontend-page .fe-resource-body p {
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

body.frontend-page .fe-resource-type-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    border-radius: 50px;
    padding: .2rem .7rem;
    margin-bottom: .7rem;
}


/* ══════════════════════════════════════════════════
   H. EVENTS & WEBINARS
   ══════════════════════════════════════════════════ */

body.frontend-page .fe-event-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
body.frontend-page .fe-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(16,43,69,.18);
}

body.frontend-page .fe-event-header {
    padding: 1.6rem;
}

body.frontend-page .fe-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--accent);
    border-radius: 10px;
    padding: .5rem .8rem;
    flex-shrink: 0;
    min-width: 52px;
    text-align: center;
}

body.frontend-page .fe-event-day {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}

body.frontend-page .fe-event-month {
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-top: .1rem;
}

body.frontend-page .fe-event-type-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    border-radius: 50px;
    padding: .2rem .7rem;
    margin-bottom: .4rem;
}

body.frontend-page .fe-event-title {
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.3;
    margin: 0;
}

body.frontend-page .fe-event-body {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.frontend-page .fe-event-desc {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

body.frontend-page .fe-event-meta {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
body.frontend-page .fe-event-meta span {
    font-size: .82rem;
    color: var(--accent);
    font-weight: 500;
}
body.frontend-page .fe-event-meta span i {
    color: var(--primary);
}


/* ══════════════════════════════════════════════════
   I. CAREERS
   ══════════════════════════════════════════════════ */

body.frontend-page .fe-culture-box {
    background: var(--accent-soft);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    border: 1.5px solid var(--border);
}

body.frontend-page .fe-culture-tagline {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: .8rem;
    padding-left: .8rem;
    border-left: 3px solid var(--primary);
}

body.frontend-page .fe-perk-list {
    list-style: none;
    padding: 0; margin: 0 0 1.5rem;
}

body.frontend-page .fe-perk-list li {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: .8rem 0;
    border-bottom: 1px solid var(--border);
}
body.frontend-page .fe-perk-list li:last-child { border-bottom: none; }

body.frontend-page .fe-perk-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: .95rem;
    flex-shrink: 0;
    margin-top: .1rem;
}

body.frontend-page .fe-perk-list li strong {
    display: block;
    font-weight: 700;
    color: var(--accent);
    font-size: .9rem;
    margin-bottom: .2rem;
}
body.frontend-page .fe-perk-list li p {
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.55;
    margin: 0;
}

/* Job cards */
body.frontend-page .fe-job-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.3rem 1.5rem;
    transition: var(--transition);
}
body.frontend-page .fe-job-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

body.frontend-page .fe-job-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

body.frontend-page .fe-job-title {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: .3rem;
    font-size: .97rem;
}

body.frontend-page .fe-job-desc {
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.55;
    margin: 0;
}

body.frontend-page .fe-job-apply-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

body.frontend-page .fe-job-badge {
    display: inline-flex;
    align-items: center;
    font-size: .72rem;
    font-weight: 700;
    border-radius: 50px;
    padding: .2rem .65rem;
}

body.frontend-page .fe-job-badge-dept {
    background: rgba(230,152,41,.12);
    color: #92400e;
}

body.frontend-page .fe-job-badge-loc {
    background: rgba(59,130,246,.1);
    color: #1d4ed8;
}

body.frontend-page .fe-job-badge-type {
    background: rgba(34,197,94,.1);
    color: #166534;
}

body.frontend-page .fe-job-badge-exp {
    background: var(--accent-soft);
    color: var(--accent);
}

@media (max-width: 575.98px) {
    body.frontend-page .fe-job-header { flex-direction: column; }
    body.frontend-page .fe-job-apply-btn { width: 100%; text-align: center; }
}


/* ══════════════════════════════════════════════════
   DEMO REQUEST MODAL
   ══════════════════════════════════════════════════ */

body.frontend-page .fe-modal-left {
    background: linear-gradient(160deg, #102b45 0%, #0a1c2d 100%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 520px;
}

body.frontend-page .fe-modal-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -.3px;
}
body.frontend-page .fe-modal-brand span { color: var(--primary); }

body.frontend-page .fe-modal-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: .75rem;
}

body.frontend-page .fe-modal-sub {
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

body.frontend-page .fe-modal-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

body.frontend-page .fe-modal-feature {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}

body.frontend-page .fe-modal-check {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(230,152,41,.2);
    border: 1.5px solid var(--primary);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: .8rem;
    flex-shrink: 0;
    margin-top: .1rem;
}

body.frontend-page .fe-modal-feature strong {
    display: block;
    font-weight: 700;
    color: #fff;
    font-size: .9rem;
    margin-bottom: .15rem;
}
body.frontend-page .fe-modal-feature p {
    color: rgba(255,255,255,.55);
    font-size: .8rem;
    line-height: 1.5;
    margin: 0;
}

body.frontend-page .fe-modal-trust {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .3rem;
}

body.frontend-page .fe-modal-right {
    background: #fff;
    padding: 2.5rem;
}

body.frontend-page .fe-modal-form-title {
    font-weight: 800;
    color: var(--accent);
    margin-bottom: .3rem;
}

body.frontend-page .fe-modal-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    padding: .8rem;
    transition: var(--transition);
}
body.frontend-page .fe-modal-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #a36409 100%);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230,152,41,.4);
}

@media (max-width: 991.98px) {
    body.frontend-page .fe-modal-left { min-height: auto; }
    body.frontend-page #demoModal .modal-dialog { max-width: 600px; }
}



/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  10. UTILITY EXTENSIONS (replaces all inline styles in PHP pages)    ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

/* Section backgrounds */
.bg-section-soft  { background: var(--accent-soft); }
.bg-section-dark  { background: var(--accent); }
.bg-section-light { background: var(--primary-light); }

/* Industry icon wrappers */
.icon-wrap-finance    { background: rgba(230,152,41,.12); color: var(--primary); }
.icon-wrap-health     { background: rgba(34,197,94,.12);  color: #16a34a; }
.icon-wrap-retail     { background: rgba(59,130,246,.12); color: #2563eb; }
.icon-wrap-mfg        { background: rgba(239,68,68,.12);  color: #dc2626; }
.icon-wrap-edu        { background: rgba(168,85,247,.12); color: #7c3aed; }
.icon-wrap-logistics  { background: rgba(234,179,8,.12);  color: #ca8a04; }
.icon-wrap-govt       { background: rgba(20,184,166,.12); color: #0f766e; }
.icon-wrap-media      { background: rgba(249,115,22,.12); color: #ea580c; }
.icon-wrap-realestate { background: rgba(16,185,129,.12); color: #059669; }
.icon-wrap-fintech    { background: rgba(99,102,241,.12); color: #4f46e5; }
.icon-wrap-crm        { background: rgba(139,92,246,.12); color: #7c3aed; }
.icon-wrap-digital    { background: rgba(20,184,166,.12); color: #0f766e; }

/* Tech avatar colours */
.tc-aws     { background: #FF9900; color: #000; }
.tc-azure   { background: #0078D4; color: #fff; }
.tc-gcp     { background: #4285F4; color: #fff; }
.tc-docker  { background: #2496ED; color: #fff; }
.tc-react   { background: #61DAFB; color: #000; }
.tc-node    { background: #339933; color: #fff; }
.tc-python  { background: #3776AB; color: #fff; }
.tc-php     { background: #777BB4; color: #fff; }
.tc-mysql   { background: #4479A1; color: #fff; }
.tc-flutter { background: #54C5F8; color: #000; }
.tc-laravel { background: #FF2D20; color: #fff; }
.tc-android { background: #3DDC84; color: #000; }
.tc-ios     { background: #1C1C1E; color: #fff; }
.tc-wp      { background: #21759B; color: #fff; }
.tc-mongo   { background: #47A248; color: #fff; }

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed; bottom: 5.5rem; right: 2rem; z-index: 9997;
    width: 52px; height: 52px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    text-decoration: none; transition: var(--transition);
}
.whatsapp-float:hover { background: #128C7E; color: #fff; transform: scale(1.1); }

/* Promo alert bar */
.promo-bar   { background: var(--primary); color: var(--accent); border: none; font-size: .88rem; }
.promo-bar a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* Cookie bar */
.cookie-icon         { color: var(--primary); }
.cookie-link         { color: var(--primary); }
.btn-cookie-accept   { background: var(--primary); color: var(--accent); border-radius: 50px; font-weight: 700; border: none; }
.btn-cookie-decline  { border-radius: 50px; }

/* Trust badge strip */
.cert-badge       { background: rgba(255,255,255,.08); border-radius: 50px; padding: .5rem 1.2rem; display: inline-flex; align-items: center; gap: .5rem; }
.cert-badge i     { color: var(--primary); font-size: 1.2rem; }
.cert-badge .val  { color: #fff; font-weight: 700; }
.cert-badge .lbl  { color: rgba(255,255,255,.6); font-size: .85rem; }

/* Footer cert pill */
.footer-cert-pill { background: rgba(230,152,41,.2); color: var(--primary); border: 1px solid var(--primary); font-size: .72rem; }

/* Heart in footer */
.heart-icon { color: var(--primary); }

/* Progress bars */
.progress-fill { background: var(--primary); border-radius: 4px; }
.skill-label   { font-size: .88rem; font-weight: 600; }
.skill-pct     { font-weight: 700; color: var(--primary-text); }

/* Partner tiers */
.partner-tier-gold   { background: rgba(230,152,41,.15); color: var(--primary); font-size: .75rem; font-weight: 700; padding: .2rem .8rem; border-radius: 50px; display: inline-block; }
.partner-tier-silver { background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 700; padding: .2rem .8rem; border-radius: 50px; display: inline-block; }

/* Social buttons */
.btn-social-dark    { background: rgba(255,255,255,.15); color: #fff; border-radius: 50px; }
.btn-social-primary { background: var(--primary); color: var(--accent); border-radius: 50px; }
.btn-social-dark:hover    { background: var(--primary); color: var(--accent); }
.btn-social-primary:hover { background: var(--primary-dark); color: var(--accent); }

/* Page hero (inner pages) */
.page-hero    { background: linear-gradient(135deg, var(--accent) 0%, #1a4a73 100%); padding: 5rem 0 4rem; }
.page-hero h1 { color: #fff; font-weight: 800; }
.page-hero p  { color: rgba(255,255,255,.75); }
.breadcrumb-item a      { color: var(--primary); text-decoration: none; }
.breadcrumb-item.active { color: rgba(255,255,255,.6); }

/* Service detail page */
.service-detail-icon  { width: 80px; height: 80px; border-radius: 20px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--primary); }
.service-process-num  { width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: var(--primary); font-weight: 900; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 3px solid var(--primary); }
.service-process-item { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.5rem; }
.service-process-item h6 { font-weight: 700; color: var(--accent); margin-bottom: .3rem; }
.service-process-item p  { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* Filter buttons */
.filter-btn        { border-radius: 50px; font-weight: 600; font-size: .88rem; padding: .4rem 1.2rem; transition: var(--transition); }
.filter-btn.active,
.filter-btn:hover  { background: var(--primary); color: var(--accent); border-color: var(--primary); }

/* Careers job tags */
.job-tag-dept { background: var(--primary-light); color: var(--primary); font-size: .75rem; font-weight: 700; padding: .2rem .7rem; border-radius: 50px; display: inline-block; }
.job-tag-loc  { background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 600; padding: .2rem .7rem; border-radius: 50px; display: inline-block; }
.job-tag-type { background: #dcfce7; color: #16a34a; font-size: .75rem; font-weight: 600; padding: .2rem .7rem; border-radius: 50px; display: inline-block; }
.job-tag-exp  { background: #f3f4f6; color: var(--text-muted); font-size: .75rem; font-weight: 600; padding: .2rem .7rem; border-radius: 50px; display: inline-block; }

/* Form flash messages */
.form-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 1rem 1.2rem; font-weight: 600; }
.form-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; border-radius: var(--radius); padding: 1rem 1.2rem; font-weight: 600; }

/* Offcanvas mobile nav */
.offcanvas-nav .offcanvas-header { background: var(--accent); }
.offcanvas-nav .offcanvas-body   { background: var(--accent); }
.offcanvas-nav .nav-link         { color: rgba(255,255,255,.85); padding: .7rem 1rem; border-radius: 8px; font-weight: 500; }
.offcanvas-nav .nav-link:hover   { background: rgba(255,255,255,.08); color: #fff; }

/* Modal */
.fe-modal-left         { background: var(--accent); padding: 2.5rem; position: relative; }
.fe-modal-right        { background: #fff; padding: 2.5rem; }
.fe-modal-brand        { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 1.5rem; }
.fe-modal-brand span   { color: var(--primary); }
.fe-modal-title        { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: .8rem; }
.fe-modal-sub          { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1.5rem; }
.fe-modal-features     { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.fe-modal-feature      { display: flex; gap: 1rem; align-items: flex-start; }
.fe-modal-check        { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: .9rem; flex-shrink: 0; }
.fe-modal-feature strong { color: #fff; font-size: .9rem; display: block; margin-bottom: .2rem; }
.fe-modal-feature p    { color: rgba(255,255,255,.6); font-size: .82rem; margin: 0; }
.fe-modal-trust        { color: rgba(255,255,255,.6); font-size: .8rem; display: flex; align-items: center; gap: .5rem; }
.fe-modal-trust i      { color: var(--primary); }
.fe-modal-form-title   { font-weight: 800; color: var(--accent); margin-bottom: .5rem; }

/* Responsive */
@media (max-width: 767.98px) {
    .contact-card-left  { border-radius: 16px 16px 0 0; }
    .page-hero          { padding: 3.5rem 0 3rem; }
}

/* ===================================================================
   PHASE 2+ NEW COMPONENTS - Product pages, solutions, homepage redesign
   =================================================================== */

/* Static Hero Section (replaces carousel) */
.rs-hero-section {
    background: linear-gradient(135deg, var(--accent) 0%, #1a3f5e 60%, #0f2035 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.rs-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(230,152,41,.08) 0%, transparent 60%);
    pointer-events: none;
}
.rs-hero-section .hero-title {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.rs-hero-section .hero-title span { color: var(--primary); }
.rs-hero-section .hero-sub   { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.7; }
.rs-hero-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(230,152,41,.15);
    border: 1px solid rgba(230,152,41,.3);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 700;
    padding: .4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.btn-hero-primary {
    background: var(--primary);
    color: var(--accent);
    border: none;
    border-radius: 50px;
    font-weight: 800;
    padding: .8rem 2rem;
    font-size: .95rem;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,152,41,.4); color: var(--accent); }
.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50px;
    font-weight: 700;
    padding: .7rem 1.8rem;
    font-size: .95rem;
    transition: background .2s, border-color .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff; }

/* Hero product grid (right side of hero) */
.rs-hero-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.rs-hero-product-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    text-decoration: none;
    transition: background .25s, transform .25s;
    position: relative;
}
.rs-hero-product-card:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); text-decoration: none; }
.rs-hero-product-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.rs-hero-live-badge {
    position: absolute;
    top: .6rem; right: .7rem;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: rgba(22,163,74,.2);
    color: #4ade80;
    padding: .15rem .5rem;
    border-radius: 50px;
}
@media (max-width: 991.98px) {
    .rs-hero-section { padding: 3.5rem 0 3rem; }
    .rs-hero-products-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
}
@media (max-width: 575.98px) {
    .rs-hero-products-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
    .rs-hero-product-card  { padding: .85rem; gap: .6rem; }
    .rs-hero-product-icon  { width: 36px; height: 36px; font-size: 1rem; }
}

/* Product cards (homepage products section) */
.rs-product-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 1.75rem;
    position: relative;
    transition: transform .3s, box-shadow .3s;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.rs-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--product-color, var(--primary));
}
.rs-product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.1); }
.rs-product-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.1rem;
    background: var(--product-color-light, rgba(230,152,41,.1));
    color: var(--product-color, var(--primary));
}
.rs-product-name    { font-size: 1.1rem; font-weight: 800; color: var(--accent); margin-bottom: .3rem; }
.rs-product-tagline { font-size: .83rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.5; }
.rs-product-features {
    list-style: none; padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
}
.rs-product-features li {
    font-size: .83rem; color: var(--text-body);
    padding: .25rem 0;
    display: flex; align-items: flex-start; gap: .45rem;
}
.rs-product-features li i { color: var(--product-color, var(--primary)); flex-shrink: 0; margin-top: 3px; }
.rs-product-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: auto; }

/* Case study preview cards */
.rs-case-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 1.6rem;
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.rs-case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.rs-case-badge {
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    padding: .25rem .75rem;
    border-radius: 50px;
    background: rgba(230,152,41,.1);
    color: var(--primary);
    display: inline-block;
    margin-bottom: .9rem;
}
.rs-case-title   { font-size: .95rem; font-weight: 800; color: var(--accent); margin-bottom: .65rem; line-height: 1.4; }
.rs-case-problem { font-size: .84rem; color: var(--text-muted); margin-bottom: .9rem; flex: 1; line-height: 1.6; }
.rs-case-result  {
    font-size: .83rem; font-weight: 600; color: #16a34a;
    padding: .5rem .8rem;
    background: rgba(22,163,74,.07);
    border-radius: 8px;
    margin-bottom: .9rem;
}
.rs-case-result i { margin-right: .35rem; }

/* Ecosystem platform cards */
.rs-eco-platform-card {
    display: block;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    transition: background .25s, transform .25s;
    height: 100%;
}
.rs-eco-platform-card:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-4px);
    text-decoration: none;
}

/* fe-modal-note (shared by both modals) */
.fe-modal-note { font-size: .85rem; }


/* ═══════════════════════════════════════════════════════════════════════════
   DESIGN-SYSTEM COMPONENT LAYER  (added 2026-06-17)
   Reusable classes that replace per-page inline styles. Each block notes the
   page(s) it standardises. Built on the scale tokens added to :root above.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Colour-tint helper ───────────────────────────────────────────────────
   For data-driven accent colours (case studies, compare). Set --tint inline
   (style="--tint:#e69829") and these classes derive bg/border/text from it,
   replacing repeated `background:<?=$c['color']?>1a` inline strings.        */
.tint-soft   { background: color-mix(in srgb, var(--tint, var(--primary)) 10%, transparent); }
.tint-border { border-color: color-mix(in srgb, var(--tint, var(--primary)) 35%, transparent); }
.tint-text   { color: var(--tint, var(--primary)); }
.tint-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--tint, var(--primary)) 12%, transparent);
    color: var(--tint, var(--primary)); font-size: 1.25rem; flex-shrink: 0;
}

/* ── Tag / pill ───────────────────────────────────────────────────────────
   Replaces inline product-tag pills in case-studies & compare.             */
.ds-tag {
    display: inline-block; font-size: var(--text-caption); font-weight: 700;
    padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm);
    background: var(--bg); color: var(--text-muted); line-height: 1.3;
}
.ds-tag.tint-soft { color: var(--tint, var(--primary)); }

/* ── Comparison table ─────────────────────────────────────────────────────
   compare/*-vs-*.php — replaces a fully inline-styled <table>.             */
.comparison-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; background: var(--surface);
}
.comparison-table th,
.comparison-table td {
    padding: var(--space-md) var(--space-lg); text-align: center;
    font-size: var(--text-sm); border-bottom: 1px solid var(--border);
}
.comparison-table thead th { font-weight: 800; color: var(--accent); background: var(--accent-soft); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) td { background: var(--surface-hover); }
.comparison-table .col-feature { text-align: left; font-weight: 600; color: var(--text-dark); }
.comparison-table .col-win { background: rgba(34,197,94,.06); font-weight: 600; }

/* ── Recommendation box (compare detail) ──────────────────────────────────*/
.recommendation-box {
    border-radius: var(--radius-lg); padding: var(--space-lg);
    border: 1px solid var(--border); height: 100%;
}
.recommendation-box.is-recommended { background: #f0fdf4; border-color: #bbf7d0; }
.recommendation-box.is-alternative { background: var(--bg);     border-color: var(--border); }
.recommendation-box h5 { font-weight: 800; margin-bottom: var(--space-sm); }
.recommendation-box ul { list-style: none; padding: 0; margin: 0; }
.recommendation-box li {
    display: flex; gap: var(--space-sm); margin-bottom: var(--space-sm);
    font-size: var(--text-sm); color: var(--text-dark);
}

/* ── Module card (case-studies "What We Built") ───────────────────────────*/
.module-card {
    background: var(--bg); border-radius: var(--radius-md);
    padding: var(--space-lg); height: 100%; border: 1px solid var(--border);
    transition: var(--transition);
}
.module-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.module-card h5 { font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: var(--space-sm); }
.module-card p  { font-size: var(--text-sm); color: var(--text-muted); margin: 0; line-height: var(--leading-normal); }

/* ── Stat box (case-studies hero stats grid) ──────────────────────────────*/
.stat-box {
    background: rgba(255,255,255,.1); border-radius: var(--radius-md);
    padding: var(--space-md); text-align: center;
}
.stat-box .stat-num   { font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.stat-box .stat-label { font-size: var(--text-caption); opacity: .85; margin-top: var(--space-xs); }

/* ── Detail list (sidebar key/value "tables") ─────────────────────────────*/
.detail-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.detail-list .detail-row {
    display: flex; justify-content: space-between; gap: var(--space-md);
    padding-bottom: var(--space-sm); border-bottom: 1px solid var(--border);
    font-size: var(--text-sm);
}
.detail-list .detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-list .detail-key   { color: var(--text-muted); }
.detail-list .detail-value { color: var(--text-dark); font-weight: 600; text-align: right; }

/* ── Article quote (blog-post & case-study blockquotes) ───────────────────*/
.article-quote {
    border-left: 4px solid var(--primary);
    padding: var(--space-md) var(--space-lg); margin: var(--space-lg) 0;
    background: var(--primary-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic; color: var(--text-dark);
}
.article-quote.tint-left { border-left-color: var(--tint, var(--primary)); }

/* ── Article body (blog-post readable content) ────────────────────────────*/
.article-body { line-height: var(--leading-relaxed); color: #3a4a5c; font-size: var(--text-lg); }
.article-body h2 { font-size: var(--text-h3); font-weight: 800; color: var(--accent); margin: var(--space-xl) 0 var(--space-md); }
.article-body h3 { font-size: var(--text-h4); font-weight: 700; color: var(--accent); margin: var(--space-lg) 0 var(--space-sm); }
.article-body p  { margin-bottom: var(--space-md); }
.article-body ul, .article-body ol { margin: 0 0 var(--space-md) 1.25rem; }
.article-body li { margin-bottom: var(--space-xs); }

/* ── Timeline (founder.php) ───────────────────────────────────────────────*/
.ds-timeline { position: relative; padding-left: 2rem; }
.ds-timeline::before {
    content: ""; position: absolute; left: 7px; top: .4rem; bottom: .4rem;
    width: 2px; background: var(--border);
}
.ds-timeline .tl-item { position: relative; padding-bottom: var(--space-xl); }
.ds-timeline .tl-item:last-child { padding-bottom: 0; }
.ds-timeline .tl-dot {
    position: absolute; left: -2rem; top: .25rem;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--tint, var(--primary)); border: 3px solid var(--surface);
    box-shadow: 0 0 0 2px var(--tint, var(--primary));
}
.ds-timeline .tl-year  { font-size: var(--text-caption); font-weight: 700; color: var(--tint, var(--primary)); text-transform: uppercase; letter-spacing: .05em; }
.ds-timeline .tl-title { font-size: 1.1rem; font-weight: 800; color: var(--accent); margin: var(--space-xs) 0; }
.ds-timeline .tl-body  { font-size: var(--text-sm); color: var(--text-muted); line-height: var(--leading-normal); }

/* ── Growth card (ecosystem.php growth-platforms section) ─────────────────*/
.growth-card {
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    padding: var(--space-lg); height: 100%; background: var(--surface);
    display: flex; gap: var(--space-lg); align-items: flex-start;
    transition: var(--transition); text-decoration: none;
}
.growth-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.growth-card .growth-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md); flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--tint, var(--primary)) 10%, transparent);
    color: var(--tint, var(--primary)); font-size: 1.5rem;
}
.growth-card h4 { font-size: 1.15rem; font-weight: 800; color: var(--accent); margin-bottom: var(--space-xs); }
.growth-card p  { font-size: var(--text-sm); color: var(--text-muted); margin: 0; line-height: var(--leading-normal); }

/* ── WhatsApp button ──────────────────────────────────────────────────────
   Replaces inline #25D366 buttons (portfolio-detail and others).          */
.btn-whatsapp {
    background: #25D366; color: #fff; border: none; font-weight: 700;
    border-radius: var(--radius-pill); padding: .65rem 1.4rem;
    display: inline-flex; align-items: center; gap: .5rem; transition: var(--transition);
}
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); }

/* ── FAQ (location.php and future pages) ──────────────────────────────────
   Light styling on top of Bootstrap .accordion; class is additive.        */
.ds-faq .accordion-button { font-weight: 700; color: var(--accent); }
.ds-faq .accordion-button:not(.collapsed) { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.ds-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--primary) 35%, transparent); }
.ds-faq .accordion-body { color: var(--text-muted); font-size: var(--text-sm); line-height: var(--leading-normal); }

/* ── Accessibility: visible keyboard focus (WCAG 2.4.7) ───────────────────*/
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent);
    outline-offset: 2px;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: var(--accent); color: #fff; padding: .6rem 1rem;
    border-radius: 0 0 var(--radius-md) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ── Animation library (subtle, consistent timing) ────────────────────────*/
@media (prefers-reduced-motion: no-preference) {
    .anim-fade-up   { opacity: 0; transform: translateY(20px); animation: dsFadeUp  .6s ease forwards; }
    .anim-fade-in   { opacity: 0;                              animation: dsFadeIn  .6s ease forwards; }
    .anim-scale-in  { opacity: 0; transform: scale(.96);       animation: dsScaleIn .5s ease forwards; }
    .hover-lift     { transition: transform .25s ease, box-shadow .25s ease; }
    .hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}
@keyframes dsFadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes dsFadeIn  { to { opacity: 1; } }
@keyframes dsScaleIn { to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .anim-fade-up, .anim-fade-in, .anim-scale-in { opacity: 1 !important; transform: none !important; animation: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   TEMPLATE LAYER  (added 2026-06-18)
   Classes that retire the most-repeated inline styles across pages so new
   pages can be built from components/ with zero inline CSS. See TEMPLATE.md.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Section opener (rs_section partial) ──────────────────────────────────
   .rs-section inherits the base `section { padding:5rem 0 }`; this only adds
   the data-driven tint hook used by themed sections.                        */
.rs-section { position: relative; }

/* ── Hero gradient variants ───────────────────────────────────────────────
   Replaces per-page inline `style="background:linear-gradient(135deg,#..)"`
   on .page-hero (products, compare, case-studies). Default .page-hero keeps
   its navy gradient; these are opt-in brand washes. The generic --hero-tint
   variant lets data-driven pages set ONE custom colour inline instead of a
   whole gradient string: style="--hero-tint:#4f46e5".                       */
.page-hero--tint {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--hero-tint, var(--accent)) 92%, #000 8%) 0%,
        var(--hero-tint, var(--accent)) 55%,
        color-mix(in srgb, var(--hero-tint, var(--accent)) 80%, #000 20%) 100%);
}
.page-hero--indigo { --hero-tint: #312e81; }   /* RubanBill */
.page-hero--green  { --hero-tint: #14532d; }   /* RubanHR  */
.page-hero--amber  { --hero-tint: #7c4a03; }   /* RubanBuild */
.page-hero--tea    { --hero-tint: #1a2e05; }   /* RubanTea */

/* ── Icon tile ────────────────────────────────────────────────────────────
   Replaces the inline `width:Xpx;height:Xpx;background:rgba(..);border-radius;
   display:flex;...` icon boxes repeated on index/ecosystem/solutions/products.
   Colour comes from --tint (default amber); sizes via modifier classes.      */
.icon-tile {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0;
    background: color-mix(in srgb, var(--tint, var(--primary)) 12%, transparent);
    color: var(--tint, var(--primary));
    transition: var(--transition);
}
.icon-tile-sm  { width: 44px; height: 44px; font-size: 1.2rem; border-radius: var(--radius-sm); }
.icon-tile-lg  { width: 72px; height: 72px; font-size: 1.9rem; border-radius: var(--radius-lg); }
.icon-tile-round { border-radius: 50%; }
/* Solid (filled) variant — icon on a full-colour tint background */
.icon-tile-solid { background: var(--tint, var(--primary)); color: #fff; }

/* ── Dark-section headings ────────────────────────────────────────────────
   When a section sits on the navy/dark wash, recolour the standard heading
   helpers so pages stop overriding them inline (color:#fff / color:primary). */
.bg-section-dark .section-label,
.testimonials-section .section-label   { color: var(--primary); }
.bg-section-dark .section-title,
.testimonials-section .section-title   { color: #fff; }
.bg-section-dark .section-subtitle,
.testimonials-section .section-subtitle { color: rgba(255,255,255,.65); }

/* ── Buttons: shape + on-dark utilities ───────────────────────────────────*/
.btn-pill { border-radius: var(--radius-pill); }
.btn-chip { border-radius: var(--radius-pill); font-size: .85rem; font-weight: 600; padding: .4rem 1.1rem; }
.btn-fs-xs { font-size: .78rem; }
.btn-outline-light-pill {
    border: 2px solid rgba(255,255,255,.2); color: #fff;
    border-radius: var(--radius-pill); font-weight: 700; padding: .6rem 2rem;
    transition: var(--transition);
}
.btn-outline-light-pill:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ── Homepage hero stat (the 4 mini KPIs under the hero CTAs) ──────────────*/
.rs-hero-stat       { text-align: center; }
.rs-hero-stat .num  { font-size: 1.5rem; font-weight: 900; color: var(--primary); line-height: 1; }
.rs-hero-stat .lbl  { font-size: .78rem; color: rgba(255,255,255,.6); }

/* ── Homepage hero product card text (tint-driven icon) ───────────────────*/
.rs-hero-product-icon { background: color-mix(in srgb, var(--tint, var(--primary)) 15%, transparent); color: var(--tint, var(--primary)); }
.rs-hero-product-name { font-weight: 800; color: #fff; font-size: .95rem; }
.rs-hero-product-sub  { font-size: .78rem; color: rgba(255,255,255,.55); }

/* ── Ecosystem platform card internals (homepage + ecosystem.php) ─────────*/
.rs-eco-icon {
    width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    background: rgba(230,152,41,.2); color: var(--primary);
}
.rs-eco-title { font-weight: 800; color: #fff; font-size: 1.1rem; }
.rs-eco-sub   { font-size: .82rem; color: rgba(255,255,255,.5); }
.rs-eco-desc  { color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 1rem; }
.rs-eco-link  { color: var(--primary); font-weight: 700; font-size: .9rem; text-decoration: none; }

/* ── Industry-icon colour wraps (complete the set used on homepage) ───────*/
.icon-wrap-construction { background: rgba(217,119,6,.12); color: #d97706; }
.icon-wrap-tea          { background: rgba(101,163,13,.12); color: #65a30d; }
.icon-wrap-brand        { background: rgba(230,152,41,.10); color: var(--primary); }

/* ── Industry-card variants (dashed "your industry", bordered locations) ──*/
.fe-industry-card-dashed {
    border: 2px dashed var(--border);
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center;
}
.fe-industry-card-feature  { border: 2px solid var(--primary); position: relative; }
.fe-industry-card-bordered { border: 2px solid var(--accent-soft); }
.home-city-badge {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--primary); color: var(--accent);
    font-size: .7rem; font-weight: 800; padding: .2rem .6rem;
    border-radius: var(--radius-pill); text-transform: uppercase;
}

/* ── Image-zoom clip wrapper (blog/portfolio thumbnails) ──────────────────*/
.img-zoom-wrap { overflow: hidden; }

/* ── Rounded image with shadow (about/why-choose-us imagery) ──────────────*/
.img-rounded-shadow { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ── Stat card on a LIGHT surface (about.php) — the .fe-stat-card default is
   built for the dark stats strip; this variant flips it for light sections. */
.fe-stat-card-light { background: var(--accent-soft); border-radius: var(--radius); border-right: none; }
.fe-stat-card-light .fe-stat-num   { color: var(--accent); }
.fe-stat-card-light .fe-stat-label { color: var(--text-muted); }

/* ── Team avatar (about.php "team behind your project") ───────────────────*/
.team-avatar {
    width: 80px; height: 80px; border-radius: 50%; font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
}
.team-avatar-primary { background: var(--primary); color: #fff; }
.team-avatar-accent  { background: var(--accent);  color: var(--primary); }
.team-role { font-weight: 600; color: var(--primary-text); }

/* ── Relaxed line-height utility (long-form body paragraphs) ──────────────*/
.lh-relaxed { line-height: var(--leading-relaxed); }
.about-badge-label { font-size: .85rem; font-weight: 600; }

/* ── Soft section divider rule ────────────────────────────────────────────*/
.hr-soft { border: none; border-top: 1px solid var(--border); opacity: 1; margin: 3rem 0; }

/* ── Tint-coloured button + tag row (data-driven; set --tint inline) ──────*/
.btn-tint { background: var(--tint, var(--primary)); color: #fff; border-radius: var(--radius-pill); font-size: .82rem; }
.btn-tint:hover { background: color-mix(in srgb, var(--tint, var(--primary)) 85%, #000 15%); color: #fff; }
.tag-row { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ── Product card long description + growth-card url line (ecosystem) ─────*/
.rs-product-desc { font-size: .84rem; color: var(--text-muted); margin-bottom: 1rem; }
.growth-url { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }

/* ── Lab / innovation card (ecosystem "Innovation Projects") ──────────────*/
.lab-card { border-radius: var(--radius-lg); border: 2px dashed var(--border); padding: var(--space-lg); height: 100%; }
.lab-card.is-soon { opacity: .5; }
.lab-card-icon  { color: var(--tint, #6366f1); font-size: 1.5rem; display: block; margin-bottom: .75rem; }
.lab-card-title { font-weight: 700; margin-bottom: .3rem; }
.lab-card-sub   { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }
.lab-card-desc  { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* ── Dark CTA band (rounded navy panel with centred white copy) ───────────*/
.cta-band-dark { background: var(--accent); border-radius: 20px; color: #fff; }
.cta-band-dark h3 { font-weight: 800; margin-bottom: .5rem; }
.cta-band-dark p  { color: rgba(255,255,255,.75); max-width: 500px; margin: 0 auto 1.5rem; }

/* ── On-dark text helper + plain dark panel (reusable) ────────────────────*/
.on-dark { color: rgba(255,255,255,.85); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark h5, .on-dark h6 { color: #fff; }
.on-dark p { color: rgba(255,255,255,.75); }
.panel-dark { background: var(--accent); border-radius: var(--radius-lg); color: #fff; }

/* ── Founder page: profile sidebar, bio list, belief box ──────────────────*/
.sticky-sidebar { position: sticky; top: 2rem; }
.founder-card { border-radius: 20px; background: var(--bg-light); padding: 2rem; text-align: center; margin-bottom: 1.5rem; }
.founder-card h4 { font-weight: 800; margin-bottom: .2rem; }
.founder-card-sub { font-size: .85rem; color: var(--text-muted); margin-bottom: .5rem; }
.founder-avatar {
    width: 100px; height: 100px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; font-size: 2.5rem;
}
.founder-avatar i { color: var(--primary); }
.founder-bio-list { text-align: left; }
.founder-bio-row { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.founder-bio-row i { color: var(--primary); width: 18px; text-align: center; flex-shrink: 0; }
.belief-box { background: var(--bg-light); border-radius: var(--radius-lg); padding: var(--space-xl); margin-top: 1rem; }
.belief-box h4 { font-weight: 800; margin-bottom: .75rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT PAGE LAYER — shared by products/rubanbill|rubanhr|rubanbuild|rubantea.
   All accent colour comes from --tint (set once per page on a wrapper/section),
   so the four product pages share ONE structure and differ only by --tint.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero head (icon + name + tagline) */
.icon-tile-on-dark { background: color-mix(in srgb, var(--tint, var(--primary)) 22%, transparent); }
.product-hero-title { margin: 0; font-size: 2.2rem; }
.product-hero-sub   { margin: 0; color: rgba(255,255,255,.6); }
.hero-trust         { color: rgba(255,255,255,.5); font-size: .78rem; margin-top: .6rem; margin-bottom: 0; }

/* In-hero "app" link bar (Product Home | Log In | Pricing) — CSS hover, no JS */
.product-app-nav {
    margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.product-app-nav-label { font-size: .75rem; color: rgba(255,255,255,.4); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.product-app-nav a { font-size: .82rem; color: rgba(255,255,255,.65); text-decoration: none; display: flex; align-items: center; gap: .35rem; transition: var(--transition); }
.product-app-nav a:hover { color: #fff; }
.product-app-nav .sep { color: rgba(255,255,255,.2); }

/* Soft light panel + eyebrow (intro "who uses", feature groups) */
.soft-panel { background: var(--bg-light); border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--border); }
.panel-eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* Tint pill (audience tags) */
.tint-pill {
    display: inline-block; background: color-mix(in srgb, var(--tint, var(--primary)) 8%, transparent);
    color: var(--tint, var(--primary)); font-weight: 600; font-size: .82rem;
    padding: .4rem .8rem; border-radius: var(--radius-pill);
}

/* Tint-coloured service icon (benefit cards) */
.service-icon-tint { background: color-mix(in srgb, var(--tint, var(--primary)) 10%, transparent); color: var(--tint, var(--primary)); }

/* Feature-group card (title + checklist) */
.feature-group-title { font-weight: 800; color: var(--accent); margin-bottom: 1rem; }
.feature-check-list { list-style: none; margin: 0; padding: 0; }
.feature-check-list li { font-size: .85rem; color: var(--text-body); padding: .25rem 0; display: flex; align-items: flex-start; gap: .5rem; }
.feature-check-list li i { color: var(--tint, var(--primary)); flex-shrink: 0; margin-top: 2px; }

/* Video placeholder tiles */
.video-placeholder { background: #e2e8f0; border-radius: var(--radius-lg); aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; }
.video-play-btn { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--primary); color: var(--accent); }
.video-play-btn.is-alt { background: var(--accent); color: #fff; }
.video-ph-title { font-weight: 700; color: var(--accent); }
.video-ph-sub   { font-size: .85rem; color: var(--text-muted); }

/* Tint-themed pricing card (per-product colour via --tint) */
.price-card { border-radius: 20px; border: 1px solid var(--border); padding: 2rem; height: 100%; display: flex; flex-direction: column; position: relative; }
.price-card.is-featured { border: 2px solid var(--tint, var(--primary)); box-shadow: 0 8px 40px color-mix(in srgb, var(--tint, var(--primary)) 15%, transparent); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--tint, var(--primary)); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .9rem; border-radius: var(--radius-pill); letter-spacing: .05em; }
.price-name { font-size: 1rem; font-weight: 800; color: var(--text-dark); margin-bottom: .5rem; }
.price-amount { font-size: 2.2rem; font-weight: 900; color: var(--tint, var(--primary)); }
.price-period { font-size: .85rem; color: var(--text-muted); }
.price-annual { font-size: .75rem; color: var(--text-muted); margin-top: .2rem; }
.price-list { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.price-list li { display: flex; gap: .5rem; padding: .35rem 0; font-size: .86rem; border-bottom: 1px solid var(--border); }
.price-list li i { color: var(--tint, var(--primary)); flex-shrink: 0; margin-top: 2px; }
.btn-price { border-radius: var(--radius-pill); background: var(--bg-light); color: var(--text-dark); font-weight: 700; }
.btn-price.is-featured { background: var(--tint, var(--primary)); color: #fff; }
.btn-price.is-featured:hover { color: #fff; }

/* Inline price feature (2-col grid of icon+label inside a price card) */
.price-feature-inline { display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
.price-feature-inline i { color: var(--tint, var(--primary)); flex-shrink: 0; }

/* Secondary "larger operations" tier rows inside a soft-panel */
.price-tier-row { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.price-tier-name { font-weight: 600; font-size: .88rem; margin-bottom: .25rem; }
.price-tier-desc { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }
.price-tier-link { font-size: .8rem; font-weight: 600; color: var(--tint, var(--primary)); text-decoration: none; }

/* Soft top divider inside panels (separates panel sub-sections) */
.border-top-soft { border-top: 1px solid var(--border); }

/* ── Products landing: enlarged product card + custom-software CTA box ─────*/
.rs-product-card-lg .rs-product-icon    { width: 64px; height: 64px; font-size: 2rem; }
.rs-product-card-lg .rs-product-name    { font-size: 1.4rem; }
.rs-product-card-lg .rs-product-tagline { font-size: .9rem; }
.btn-fs-sm { font-size: .85rem; }
.custom-cta-box { background: var(--bg-light); border-radius: 20px; border: 2px dashed var(--border); }
.custom-cta-box h4 { color: var(--accent); font-weight: 800; }

/* ── Solutions: KPI stat block, product-card text/link/dashed, compare pills ── */
.kpi-num   { font-size: 1.8rem; font-weight: 900; color: var(--primary); line-height: 1.1; }
.kpi-label { font-size: .82rem; color: var(--text-muted); }
.rs-pc-desc { font-size: .88rem; line-height: 1.6; flex: 1; }
.rs-pc-link { color: var(--product-color, var(--tint, var(--primary))); font-weight: 700; font-size: .88rem; }
.rs-product-card-dashed { border: 2px dashed var(--border); }
.compare-row { display: flex; align-items: center; gap: 1rem; font-size: .88rem; }
.compare-pill-before, .compare-pill-after {
    padding: .2rem .6rem; border-radius: 4px; font-size: .78rem; white-space: nowrap;
}
.compare-pill-before { background: #fee2e2; color: #991b1b; min-width: 150px; text-align: center; }
.compare-pill-after  { background: #dcfce7; color: #166534; }

/* Tint-themed FAQ accordion item (products) */
.faq-tint .accordion-item { border: 1px solid var(--border) !important; border-radius: 12px !important; overflow: hidden; margin-bottom: .5rem; }
.faq-tint .accordion-button { font-weight: 700; font-size: .95rem; }
.faq-tint .accordion-button:not(.collapsed) { background: color-mix(in srgb, var(--tint, var(--primary)) 10%, transparent); color: var(--accent); box-shadow: none; }
.faq-tint .accordion-body { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════════════════
   CASE-STUDY + COMPARE LAYER (added 2026-06-18) — shared by case-studies/* and
   compare/*. Heroes use .page-hero--tint (set --hero-tint); accent colour via
   --tint. Removes the per-page inline article/sidebar/recommendation styling.
   ═══════════════════════════════════════════════════════════════════════════ */
.fw-800 { font-weight: 800; }                                   /* utility: 800 weight (Bootstrap fw-bold = 700) */
.bg-section-muted { background: var(--bg-light); }
.card-soft { background: var(--bg-light); border: none; }

/* Case-study article body subheads + module/quote bits */
.cs-h3 { font-weight: 700; margin: 2rem 0 1rem; }
.cs-meta-label { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .75rem; color: var(--text-muted); margin-bottom: 1rem; }
.module-icon { color: var(--tint, var(--primary)); font-size: 1.3rem; margin-bottom: .5rem; display: block; }
.stat-box-icon { color: #fbbf24; font-size: 1.3rem; }
.article-quote .quote-text { font-style: italic; color: var(--text-dark); margin-bottom: .5rem; }
.quote-cite { font-size: .82rem; font-weight: 700; color: var(--tint, var(--primary)); }

/* Compare table: fixed feature-column width (drops inline width on every th) */
.comparison-table .col-feature { width: 35%; }

/* Compare recommendation boxes: heading + icon colours by variant */
.recommendation-box.is-recommended h5 { color: #15803d; }
.recommendation-box.is-alternative h5 { color: var(--text-dark); }
.recommendation-box.is-alternative .bi-info-circle-fill,
.recommendation-box.is-alternative li .bi-dash { color: #6b7280; }

/* Amber "cost / honest advice" callout (compare pages) */
.callout-amber { background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--radius-lg); padding: 2rem; }
.callout-stat-num   { font-size: 1.5rem; font-weight: 900; color: #d97706; }
.callout-stat-label { font-size: .8rem; color: var(--text-muted); }
.text-amber { color: #d97706; }
.border-top-primary { border-top: 4px solid var(--primary); }
.border-top-accent  { border-top: 4px solid var(--accent); }
.border-top-light   { border-top: 1px solid rgba(255,255,255,.15); }
.error-code { font-size: 6rem; font-weight: 800; color: var(--accent); line-height: 1; }
.callout-soft { background: var(--accent-soft); border-radius: var(--radius); border-left: 4px solid var(--primary); }
.empty-icon { font-size: 3rem; color: var(--border); }

/* Plain (borderless) light panel + compare-point card internals */
.panel-plain { background: var(--bg-light); border-radius: var(--radius-lg); padding: 1.5rem; }
.compare-point-head { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .75rem; }
.compare-point-icon { color: var(--tint, var(--primary)); font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.compare-point-desc { font-size: .86rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* Soft light panel (bg + radius only; padding via utilities) + small card text */
.panel-soft { background: var(--bg-light); border-radius: var(--radius-lg); }
.card-text-sm { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
