/* ============================================
   RedCube Solutions — Premium Corporate Theme
   Light | Brand Red + Cyan (from logo)
   ============================================ */

:root {
  --rc-bg: #f7f8fa;
  --rc-bg-soft: #f3f6f9;
  --rc-surface: #ffffff;
  --rc-surface-strong: #ffffff;
  --rc-border: rgba(15, 23, 42, 0.08);
  --rc-text: #1e293b;
  --rc-muted: #64748b;
  --rc-white: #ffffff;
  --rc-heading: #111111;
  --rc-dark: #111111;
  --rc-primary: #be2530;      /* RED from logo */
  --rc-secondary: #0595c8;    /* CUBE blue from logo */
  --rc-accent: #9b1b24;       /* darker red */
  --rc-gradient: linear-gradient(135deg, #be2530 0%, #d63540 45%, #0595c8 100%);
  --rc-gradient-soft: linear-gradient(135deg, rgba(190, 37, 48, 0.12), rgba(5, 149, 200, 0.1));
  --rc-success: #22c55e;
  --rc-warning: #f59e0b;
  --rc-danger: #ef4444;
  --rc-radius: 18px;
  --rc-radius-sm: 12px;
  --rc-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --rc-font: "Manrope", "Inter", system-ui, sans-serif;
  --rc-display: "Poppins", "Manrope", sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--rc-font);
  background: var(--rc-bg);
  color: var(--rc-text);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--rc-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rc-heading);
}
a { color: inherit; text-decoration: none; transition: .25s ease; }
img { max-width: 100%; height: auto; }
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-light {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fc 100%);
  color: var(--rc-text);
}
.section-dark {
  background: linear-gradient(180deg, #f7fafc 0%, #eef5f9 100%);
}
.bg-mesh {
  background:
    radial-gradient(circle at 15% 20%, rgba(190, 37, 48, 0.1), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(5, 149, 200, 0.1), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(190, 37, 48, 0.06), transparent 35%),
    var(--rc-bg);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--rc-gradient-soft);
  border: 1px solid rgba(190, 37, 48, 0.22);
  color: #be2530;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.section-subtitle { color: var(--rc-muted); max-width: 640px; margin: 0 auto 48px; }

/* Buttons */
.btn-rc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  background: var(--rc-gradient);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(190, 37, 48, 0.28);
}
.btn-rc:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }
.btn-rc-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(190, 37, 48, 0.35);
  background: #fff;
  color: #334155 !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.btn-rc-outline:hover {
  background: rgba(190, 37, 48, 0.06);
  color: #111 !important;
  border-color: rgba(190, 37, 48, 0.55);
}
.btn-rc-dark {
  background: #0f172a;
  color: #fff !important;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
}

/* Glass */
.glass {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--rc-radius);
  box-shadow: var(--rc-shadow);
}
.glass-light {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
  border-radius: var(--rc-radius);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1040;
  transition: .3s ease;
}
.site-header .navbar {
  height: var(--header-h);
  padding: 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--rc-border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.brand-logo {
  font-family: var(--rc-display);
  font-weight: 800;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rc-heading);
  background: none;
}
.brand-logo img {
  height: 42px;
  width: auto;
  display: block;
}
.brand-logo .brand-text {
  display: inline-flex;
  letter-spacing: -0.02em;
}
.brand-logo .brand-red { color: #be2530; }
.brand-logo .brand-blue { color: #0595c8; }
.brand-red { color: #be2530; }
.brand-blue { color: #0595c8; }
.nav-link-rc {
  color: #334155 !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px !important;
}
.nav-link-rc:hover, .nav-link-rc.active { color: #be2530 !important; }
.mega-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(920px, 92vw);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  pointer-events: none;
  background: #fff;
  border: 1px solid var(--rc-border);
  box-shadow: var(--rc-shadow);
}
.nav-item-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: #475569;
  font-size: 0.9rem;
}
.mega-menu a:hover { background: rgba(190, 37, 48, 0.08); color: #0f172a; }
.navbar-toggler { color: #0f172a !important; }

/* Mobile menu light */
.offcanvas-rc {
  background: #fff !important;
  color: #0f172a !important;
}
.offcanvas-rc .offcanvas-body a {
  color: #334155;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.offcanvas-rc .offcanvas-body a:hover { color: #be2530; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1100;
  background: var(--rc-gradient);
}

/* Loader */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f5f7fc;
  display: grid;
  place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#page-loader.hide { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--rc-gradient);
  animation: pulseGlow 1.4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(190, 37, 48,.35); }
  50% { transform: scale(1.06); box-shadow: 0 0 36px 8px rgba(5, 149, 200,.25); }
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 22px;
  color: var(--rc-heading);
}
.hero-title .grad {
  background: var(--rc-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--rc-muted);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.45;
  animation: floatY 8s ease-in-out infinite;
}
.hero-orbs .o1 { width: 280px; height: 280px; background: rgba(190, 37, 48,.22); top: 12%; right: 8%; }
.hero-orbs .o2 { width: 180px; height: 180px; background: rgba(5, 149, 200,.2); bottom: 18%; right: 22%; animation-delay: -2s; }
.hero-orbs .o3 { width: 120px; height: 120px; background: rgba(5, 149, 200,.18); top: 35%; right: 35%; animation-delay: -4s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  pointer-events: none;
}

/* Cards */
.rc-card {
  height: 100%;
  padding: 28px;
  border-radius: var(--rc-radius);
  background: #fff;
  border: 1px solid var(--rc-border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  transition: .35s ease;
  position: relative;
  overflow: hidden;
}
.rc-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--rc-gradient);
  opacity: 0;
  transition: .35s ease;
}
.rc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(5, 149, 200, 0.35);
  box-shadow: 0 18px 40px rgba(190, 37, 48, 0.12);
}
.rc-card:hover::before { opacity: 1; }
.rc-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--rc-gradient-soft);
  color: #be2530;
  font-size: 1.4rem;
}
.rc-card h3, .rc-card h4 { font-size: 1.15rem; margin-bottom: 10px; color: var(--rc-heading); }
.rc-card p { color: var(--rc-muted); margin: 0; font-size: 0.95rem; }

.stat-card {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--rc-radius);
  background: #fff;
  border: 1px solid var(--rc-border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.stat-card .stat-value {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  background: var(--rc-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat-card .stat-label { color: var(--rc-muted); margin-top: 8px; font-weight: 600; }

/* Logo marquee */
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.logo-item {
  min-width: 180px;
  height: 84px;
  display: grid;
  place-items: center;
  padding: 16px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--rc-border);
  color: #334155;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Portfolio filter */
.filter-btn {
  border: 1px solid var(--rc-border);
  background: #fff;
  color: var(--rc-muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  margin: 4px;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--rc-gradient);
  color: #fff;
  border-color: transparent;
}
.portfolio-card {
  border-radius: var(--rc-radius);
  overflow: hidden;
  border: 1px solid var(--rc-border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: .35s ease;
}
.portfolio-card:hover { transform: translateY(-6px); border-color: rgba(190, 37, 48,.35); }
.portfolio-card .thumb {
  height: 210px;
  background: var(--rc-gradient-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #be2530;
  overflow: hidden;
  position: relative;
}
.portfolio-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.portfolio-card:hover .thumb img { transform: scale(1.06); }
.portfolio-card .thumb .thumb-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.blog-card .thumb {
  height: 190px;
  background: linear-gradient(135deg, #f8d4d7, #cceaf5);
  overflow: hidden;
}
.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.blog-card:hover .thumb img { transform: scale(1.05); }

/* Media cards */
.media-card {
  padding: 0;
  overflow: hidden;
}
.media-card .media-thumb {
  height: 180px;
  overflow: hidden;
  position: relative;
}
.media-card .media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.media-card:hover .media-thumb img { transform: scale(1.06); }
.media-card .media-body { padding: 22px 24px 26px; }
.media-card .media-overlay-icon {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: #be2530;
  box-shadow: 0 8px 20px rgba(15,23,42,.12);
  font-size: 1.2rem;
}

.industry-media-card {
  padding: 0;
  overflow: hidden;
  text-align: left !important;
}
.industry-media-card .media-thumb { height: 140px; }
.industry-media-card .media-body {
  padding: 16px 18px 18px;
  text-align: center;
}

.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(190, 37, 48, 0.15);
  min-height: 420px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  display: block;
}
.hero-visual .hero-float-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 18px;
  padding: 16px;
}
.hero-visual .hero-float-card .stat-card {
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.about-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--rc-shadow);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  display: block;
}

.cta-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--rc-radius);
}
.cta-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(17,17,17,.78), rgba(190,37,48,.55)),
    url('../images/cta/cta-bg.jpg') center/cover no-repeat;
  z-index: 0;
}
.cta-visual > * { position: relative; z-index: 1; }
.cta-visual, .cta-visual h2, .cta-visual .section-title { color: #fff; }
.cta-visual .text-secondary,
.cta-visual .section-subtitle,
.cta-visual p { color: rgba(255,255,255,.82) !important; }
.cta-visual .contact-info-item { border-bottom-color: rgba(255,255,255,.15); }
.cta-visual .form-control-rc {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.cta-visual .form-control-rc::placeholder { color: rgba(255,255,255,.65); }

.team-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  display: block;
}
.rc-card.team-card { padding: 0; overflow: hidden; }
.rc-card.team-card .team-body { padding: 18px 20px 22px; }

.case-thumb {
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.process-step {
  position: relative;
  padding: 24px;
  height: 100%;
}
.process-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--rc-gradient);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

/* Testimonials */
.testimonial-card {
  padding: 32px;
  height: 100%;
}
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-user { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.testimonial-user .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--rc-gradient); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}

/* Tech */
.tech-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--rc-border);
  color: #334155;
  font-weight: 700;
  transition: .3s ease;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}
.tech-pill:hover { border-color: rgba(5, 149, 200,.45); transform: translateY(-4px); }

/* Blog */
.blog-card {
  overflow: hidden;
  height: 100%;
  transition: .3s ease;
  background: #fff;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card .thumb {
  height: 190px;
  background: linear-gradient(135deg, #f8d4d7, #cceaf5);
}
.blog-card .body { padding: 22px; }
.blog-meta { color: var(--rc-muted); font-size: .85rem; margin-bottom: 8px; }

/* FAQ */
.accordion-rc .accordion-item {
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}
.accordion-rc .accordion-button {
  background: #fff;
  color: var(--rc-heading);
  font-weight: 700;
  box-shadow: none !important;
}
.accordion-rc .accordion-button:not(.collapsed) {
  background: rgba(190, 37, 48,0.08);
  color: var(--rc-heading);
}
.accordion-rc .accordion-button::after { filter: none; }
.accordion-rc .accordion-body { color: var(--rc-muted); background: #f8fafc; }

/* Contact */
.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rc-border);
}
.contact-info-item i {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--rc-gradient-soft); color: #be2530;
}
.form-control-rc, .form-select-rc {
  background: #fff;
  border: 1px solid var(--rc-border);
  color: var(--rc-text);
  border-radius: 12px;
  padding: 12px 14px;
}
.form-control-rc:focus, .form-select-rc:focus {
  background: #fff;
  border-color: rgba(190, 37, 48,.55);
  color: var(--rc-text);
  box-shadow: 0 0 0 .2rem rgba(190, 37, 48,.15);
}
.form-control-rc::placeholder { color: #94a3b8; }

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--rc-border);
  padding-top: 70px;
  padding-bottom: 30px;
}
.site-footer h5 { margin-bottom: 18px; font-size: 1rem; color: var(--rc-heading); }
.site-footer a { color: var(--rc-muted); display: inline-block; margin-bottom: 8px; }
.site-footer a:hover { color: #be2530; }
.footer-bottom {
  border-top: 1px solid var(--rc-border);
  margin-top: 40px;
  padding-top: 22px;
  color: var(--rc-muted);
  font-size: .9rem;
}

/* Floating */
.float-actions {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(15,23,42,.18);
  font-size: 1.25rem;
}
.float-btn.whatsapp { background: #25d366; }
.float-btn.call { background: #be2530; }
.float-btn.top {
  background: #fff;
  color: #0f172a !important;
  border: 1px solid var(--rc-border);
  opacity: 0; visibility: hidden; transition: .3s;
}
.float-btn.top.show { opacity: 1; visibility: visible; }

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 70px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(190, 37, 48,.1), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(5, 149, 200,.08), transparent 35%),
    #f8fafc;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--rc-heading); }

/* Cookie */
#cookie-consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1050;
  max-width: 420px;
  padding: 20px;
  display: none;
  background: #fff;
}
#cookie-consent.show { display: block; }

/* Admin — Light */
.admin-body { background: #f5f7fc; color: #1e293b; }
.admin-sidebar {
  width: 280px;
  min-height: 100vh;
  background: #ffffff;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  position: fixed;
  left: 0; top: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 4px 0 24px rgba(15, 23, 42, 0.04);
}
.admin-sidebar .brand {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 800;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: #64748b;
  font-size: .9rem;
  border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
  color: #be2530;
  background: rgba(190, 37, 48,.08);
  border-left-color: #be2530;
}
.admin-main { margin-left: 280px; min-height: 100vh; }
.admin-topbar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-content { padding: 28px; }
.admin-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}
.table-rc { color: #334155; }
.table-rc thead th {
  border-bottom-color: rgba(15, 23, 42, 0.1);
  color: #64748b;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.table-rc td { border-bottom-color: rgba(15, 23, 42, 0.06); vertical-align: middle; }

/* Bootstrap 5 pagination — light */
.pagination { gap: 6px; margin-bottom: 0; flex-wrap: wrap; }
.pagination .page-item .page-link {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #475569;
  border-radius: 10px !important;
  min-width: 40px;
  text-align: center;
  padding: 8px 12px;
}
.pagination .page-item .page-link:hover {
  background: rgba(190, 37, 48,0.08);
  border-color: rgba(190, 37, 48,0.35);
  color: #be2530;
}
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #be2530, #0595c8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(190, 37, 48,0.25);
}
.pagination .page-item.disabled .page-link {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.06);
  color: #94a3b8;
}
.admin-card .pagination-wrap,
.mt-3:has(.pagination) {
  padding-top: 8px;
}

.metric-tile {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.metric-tile .value { font-size: 1.8rem; font-weight: 800; color: #0f172a; }

/* Utilities */
.text-gradient {
  background: var(--rc-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.divider-grad {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(5, 149, 200,.4), transparent);
  margin: 20px 0;
}
.badge-rc {
  background: rgba(190, 37, 48,.1);
  color: #be2530;
  border: 1px solid rgba(190, 37, 48,.25);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 700;
}

/* Bootstrap text helpers on light theme */
.text-secondary { color: #64748b !important; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(0.35);
}

@media (max-width: 991.98px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .mega-menu { display: none !important; }
  .section { padding: 70px 0; }
  .hero { min-height: auto; padding-bottom: 60px; }
}
