/* ═══════════════════════════════════════════════════════════════════════════
   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;
}


/* ══════════════════════════════════════════════════
   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);
    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); font-size: .75rem; font-weight: 700; }
.badge-primary-c { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.badge-accent    { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.pill-tag        { background: var(--primary-light); color: var(--primary); 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); 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); 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); 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-bottom        { background: rgba(0,0,0,.3); padding: 1.2rem 0; margin-top: 3rem; 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);
    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); }

/* 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; }
}
