/* ═══════════════════════════════════════════════
   Redmeto CMS — Custom CSS
   Brand: Red #d42020 · Blue #0aacde · Dark #0f172a
   ═══════════════════════════════════════════════ */

:root {
  --red:        #d42020;
  --red-dark:   #b51c1c;
  --red-light:  #e84040;
  --blue:       #0aacde;
  --blue-dark:  #0890bb;
  --blue-light: #3bc2ed;
  --dark:       #0f172a;
  --dark2:      #1e293b;
  --dark3:      #334155;
  --slate:      #475569;
  --muted:      #94a3b8;
  --light-bg:   #f8fafc;
  --grey-bg:    #f1f5f9;
  --white:      #ffffff;
  --sidebar-w:  260px;
  --topbar-h:   60px;
}

/* ── Global ───────────────────────────────────── */
* { box-sizing: border-box; }
body {
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Brand Text ───────────────────────────────── */
.brand-red    { color: var(--red); font-weight: 800; }
.brand-white  { color: #fff; font-weight: 800; }
.brand-sub    { color: var(--muted); font-size: .75rem; letter-spacing: 2px; font-weight: 400; }
.brand-badge  { background: var(--red); color: #fff; font-size: .6rem; padding: 2px 6px; border-radius: 4px; font-weight: 700; margin-left: 4px; vertical-align: middle; }

/* ══════════════════════════════════════════════
   ADMIN LAYOUT
   ══════════════════════════════════════════════ */
.admin-body { background: #f1f5f9; margin: 0; min-height: 100vh; }

/* Sidebar */
.admin-sidebar {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--dark);
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column;
  z-index: 1000;
  transition: width .25s ease;
  overflow: hidden;
}
.admin-sidebar.collapsed { width: 70px; }
.admin-sidebar.collapsed .nav-section-title,
.admin-sidebar.collapsed .sidebar-footer,
.admin-sidebar.collapsed .brand-badge { display: none; }
.admin-sidebar.collapsed .nav-link span { display: none; }
.admin-sidebar.collapsed .nav-link { justify-content: center; padding: .75rem; }

.sidebar-brand {
  padding: 1.25rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.brand-link { text-decoration: none; font-size: 1.3rem; display: flex; align-items: center; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: .75rem 0; }
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--dark3); border-radius: 2px; }

.nav-section-title {
  font-size: .65rem; letter-spacing: 1.5px; font-weight: 700;
  color: var(--slate); padding: .75rem 1.2rem .25rem;
  text-transform: uppercase;
}

.sidebar-nav .nav-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 1.2rem; color: var(--muted);
  font-size: .875rem; font-weight: 500;
  border-radius: 0; transition: all .15s;
  text-decoration: none; border-left: 3px solid transparent;
}
.sidebar-nav .nav-link i { width: 18px; text-align: center; font-size: .9rem; flex-shrink: 0; }
.sidebar-nav .nav-link:hover { color: #e2e8f0; background: rgba(255,255,255,.05); }
.sidebar-nav .nav-link.active { color: #fff; background: rgba(192,57,43,.15); border-left-color: var(--red); }

.sidebar-footer {
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.btn-view-site {
  display: block; text-align: center;
  background: rgba(255,255,255,.07); color: var(--muted);
  border-radius: 6px; padding: .5rem; font-size: .8rem;
  text-decoration: none; transition: all .15s;
}
.btn-view-site:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Main content area */
.admin-main {
  margin-left: var(--sidebar-w);
  transition: margin-left .25s ease;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.admin-main.expanded { margin-left: 70px; }

/* Topbar */
.admin-topbar {
  height: var(--topbar-h);
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex; align-items: center;
  padding: 0 1.5rem; gap: 1rem;
  position: sticky; top: 0; z-index: 900;
}
.sidebar-toggle {
  background: none; border: none; color: var(--slate);
  font-size: 1.1rem; cursor: pointer; padding: .25rem;
  border-radius: 4px; transition: color .15s;
}
.sidebar-toggle:hover { color: var(--red); }
.topbar-title { font-weight: 600; color: var(--dark); font-size: .95rem; }
.user-btn {
  background: none; border: 1px solid #e2e8f0; color: var(--dark);
  font-size: .85rem; border-radius: 8px; padding: .35rem .75rem;
}
.user-btn:hover { background: var(--grey-bg); }

/* Content area */
.admin-content { flex: 1; padding: 1.5rem; }

/* ── CMS Cards ────────────────────────────────── */
.cms-page-header { margin-bottom: 1.5rem; }
.cms-title { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin: 0; }
.cms-subtitle { color: var(--slate); font-size: .85rem; margin: .25rem 0 0; }
.cms-subtitle a { color: inherit; }

.cms-card {
  background: #fff; border-radius: 12px;
  border: 1px solid #e8edf2; padding: 1.25rem;
  margin-bottom: 1rem;
}
.cms-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; padding-bottom: .75rem;
  border-bottom: 1px solid #f1f5f9;
}
.cms-card-header h5 { margin: 0; font-size: .95rem; font-weight: 600; }

.cms-table { font-size: .875rem; }
.cms-table thead th { font-weight: 600; color: var(--slate); border-bottom: 2px solid #f1f5f9; background: #f8fafc; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.cms-table td { vertical-align: middle; border-color: #f1f5f9; }
.cms-table-footer { padding: .75rem; border-top: 1px solid #f1f5f9; display: flex; justify-content: flex-end; }

.btn-cta {
  background: var(--red); color: #fff; border: none;
  border-radius: 8px; font-weight: 600; font-size: .875rem;
  padding: .5rem 1.2rem; transition: background .2s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.btn-cta:hover { background: var(--red-dark); color: #fff; }
.btn-cta-sm { background: var(--red); color: #fff; border: none; border-radius: 6px; font-weight: 500; font-size: .8rem; padding: .3rem .8rem; text-decoration: none; }
.btn-cta-sm:hover { background: var(--red-dark); color: #fff; }

/* Dashboard stat cards */
.stat-card {
  background: #fff; border-radius: 12px; padding: 1.25rem;
  border: 1px solid #e8edf2; position: relative; overflow: hidden;
}
.stat-card::before { content:''; position:absolute; top:-20px; right:-20px; width:80px; height:80px; border-radius: 50%; opacity: .08; }
.stat-card-red::before   { background: var(--red); }
.stat-card-blue::before  { background: #3b82f6; }
.stat-card-green::before { background: #10b981; }
.stat-card-orange::before{ background: #f59e0b; }
.stat-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.stat-card-red   .stat-icon { color: var(--red); }
.stat-card-blue  .stat-icon { color: #3b82f6; }
.stat-card-green .stat-icon { color: #10b981; }
.stat-card-orange .stat-icon { color: #f59e0b; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--dark); line-height: 1; }
.stat-label { color: var(--slate); font-size: .8rem; margin: .25rem 0; }
.stat-link  { color: var(--red); font-size: .8rem; text-decoration: none; font-weight: 600; }

/* Message items */
.message-item { padding: .75rem; border-radius: 8px; margin-bottom: .5rem; background: #f8fafc; }
.message-item.unread { background: #fff8f7; border-left: 3px solid var(--red); }

/* Forms */
.form-control, .form-select {
  border-radius: 8px; border-color: #d1d5db;
  font-size: .875rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}
.form-label { font-weight: 500; font-size: .85rem; color: var(--dark2); }

/* Quill editor theming */
.ql-toolbar.ql-snow { border-radius: 8px 8px 0 0; border-color: #d1d5db; }
.ql-container.ql-snow { border-radius: 0 0 8px 8px; border-color: #d1d5db; font-size: .875rem; }

/* ══════════════════════════════════════════════
   PUBLIC / FRONTEND
   ══════════════════════════════════════════════ */
.public-body { background: #fff; font-family: 'DM Sans', sans-serif; }

/* Top Strip */
.topbar-strip { background: #0a0f1e; color: var(--muted); font-size: .8rem; border-bottom: 2px solid var(--blue); }
.topbar-info span { color: var(--muted); }
.topbar-social a { color: var(--muted); margin-left: .75rem; text-decoration: none; transition: color .15s; }
.topbar-social a:hover { color: var(--blue); }

/* Navbar */
.main-navbar { background: rgba(10,15,30,.96); backdrop-filter: blur(12px); padding: .75rem 0; transition: all .3s; border-bottom: 3px solid var(--blue); }
.main-navbar.scrolled { background: var(--dark); box-shadow: 0 4px 20px rgba(0,0,0,.4); border-bottom-color: var(--blue); }
.navbar-brand { font-size: 1.5rem; text-decoration: none; }
.main-navbar .nav-link { color: rgba(255,255,255,.8) !important; font-weight: 500; font-size: .9rem; padding: .5rem .85rem !important; transition: color .15s; }
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--blue-light) !important; }
.btn-cta { background: var(--red); color: #fff; border-radius: 8px; padding: .45rem 1.2rem; font-weight: 600; font-size: .875rem; text-decoration: none; transition: all .2s; }
.btn-cta:hover { background: var(--red-dark); color: #fff; box-shadow: 0 4px 15px rgba(212,32,32,.35); }
.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }

/* Hero */
.hero-section {
  min-height: 100vh;
  background: url('../images/road-4.jpg') center 40% / cover no-repeat;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,14,23,.62) 0%, rgba(18,5,5,.50) 60%, rgba(10,14,23,.35) 100%);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,14,23,.72) 40%, rgba(10,14,23,.15) 100%); }
.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-block; background: rgba(10,172,222,.18); color: var(--blue-light); border: 1px solid rgba(10,172,222,.4); border-radius: 20px; padding: .3rem .9rem; font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.25rem; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.hero-desc { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 540px; line-height: 1.7; }
.btn-hero { background: var(--red); color: #fff !important; border: none; border-radius: 8px; padding: .8rem 1.75rem; font-weight: 700; font-size: .95rem; text-decoration: none; display: inline-block; transition: all .2s; }
.btn-hero:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,32,32,.4); }
.btn-hero-outline { background: transparent; color: rgba(255,255,255,.9) !important; border: 2px solid var(--blue); border-radius: 8px; padding: .75rem 1.5rem; font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-block; transition: all .2s; }
.btn-hero-outline:hover { background: var(--blue); border-color: var(--blue); color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(10,172,222,.35); }

/* Hero stats */
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.hero-stat .stat-n { display: block; font-size: 2rem; font-weight: 800; color: var(--blue-light); line-height: 1; }
.hero-stat .stat-t { font-size: .75rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(10,172,222,.3); }
.hero-scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .3rem; color: rgba(255,255,255,.4); font-size: .75rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-6px)} }

/* Sections */
.section-light { background: #fff; }
.section-dark  { background: var(--dark); }
.section-grey  { background: var(--grey-bg); }

.section-header { }
.section-badge { display: inline-block; background: rgba(10,172,222,.1); color: var(--blue); border: 1px solid rgba(10,172,222,.25); border-radius: 20px; padding: .3rem .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: .75rem; }
.section-badge-light { display: inline-block; background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); border-radius: 20px; padding: .3rem .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: .75rem; }
.section-title { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 800; color: var(--dark); margin-bottom: .75rem; line-height: 1.15; letter-spacing: -0.025em; }
.section-title-light { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 800; color: #fff; margin-bottom: .75rem; line-height: 1.15; letter-spacing: -0.025em; }
.section-subtitle { color: var(--slate); font-size: 1.0rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }
.section-subtitle-light { color: rgba(255,255,255,.65); font-size: 1.0rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* Service cards */
.service-card { background: #fff; border: 1px solid #e8edf2; border-radius: 12px; padding: 2rem 1.5rem; height: 100%; transition: all .2s; position: relative; overflow: hidden; }
.service-card::before { content:''; position:absolute; top:0; left:0; width:4px; height:0; background: var(--red); transition: height .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.service-card:hover::before { height: 100%; }
.service-icon { width: 56px; height: 56px; background: rgba(192,57,43,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.service-icon i { font-size: 1.4rem; color: var(--red); }
.service-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: .75rem; }
.service-desc { color: var(--slate); font-size: .9rem; line-height: 1.6; }
.service-link { color: var(--red); font-weight: 600; font-size: .875rem; text-decoration: none; margin-top: 1rem; display: inline-block; transition: gap .15s; }
.service-link:hover { color: var(--red-dark); }

/* Project cards */
.project-card { background: var(--dark2); border-radius: 12px; overflow: hidden; transition: transform .2s; height: 100%; }
.project-card:hover { transform: translateY(-4px); }
.project-img { height: 200px; background-size: cover; background-position: center; }
.project-img-placeholder { height: 200px; background: var(--dark3); display: flex; align-items: center; justify-content: center; color: var(--slate); }
.project-body { padding: 1.25rem; }
.project-cat { display: inline-block; background: rgba(192,57,43,.2); color: #fc8072; font-size: .75rem; border-radius: 4px; padding: .15rem .5rem; margin-bottom: .5rem; }
.project-title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.project-location { color: var(--muted); font-size: .8rem; }
.project-sidebar-card { background: var(--grey-bg); border-radius: 12px; padding: 1.5rem; }
.proj-detail-row { display: flex; gap: 1rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid #e8edf2; }
.proj-detail-row:last-child { border-bottom: none; }
.proj-detail-icon { width: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* News cards */
.news-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e8edf2; height: 100%; transition: box-shadow .2s; }
.news-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.news-img { height: 200px; background-size: cover; background-position: center; }
.news-img-placeholder { height: 200px; background: var(--grey-bg); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.news-body { padding: 1.25rem; }
.news-date { color: var(--muted); font-size: .8rem; }
.news-cat  { background: var(--red); color: #fff; font-size: .7rem; border-radius: 4px; padding: .1rem .4rem; }
.news-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin: .5rem 0; line-height: 1.4; }
.news-excerpt { color: var(--slate); font-size: .875rem; line-height: 1.6; }
.news-link { color: var(--red); font-weight: 600; font-size: .875rem; text-decoration: none; }
.news-link:hover { color: var(--red-dark); }

/* Team cards */
.team-card { padding: 1rem; }
.team-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--red); margin-bottom: .75rem; }
.team-photo-placeholder { width: 80px; height: 80px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem; }
.team-name { font-size: .95rem; font-weight: 700; color: var(--dark); margin: 0; letter-spacing: -0.01em; }
.team-pos  { color: var(--red); font-size: .82rem; font-weight: 500; margin: .25rem 0 0; }

/* Why Us */
.why-us-list { display: flex; flex-direction: column; gap: 1rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-item i { color: var(--red); font-size: 1.2rem; flex-shrink: 0; margin-top: 3px; }
.why-item h6 { font-weight: 700; margin: 0 0 .25rem; }
.why-item p  { color: var(--slate); font-size: .875rem; margin: 0; }
.why-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.why-stat-box { background: var(--grey-bg); border-radius: 12px; padding: 1.5rem; text-align: center; border: 1px solid #e8edf2; transition: border-color .2s; }
.why-stat-box:hover { border-color: var(--blue); }
.why-stat-box span { display: block; }
.big-number { font-size: 2.5rem; font-weight: 800; color: var(--red); line-height: 1; }
.why-stat-box > span:last-child { color: var(--slate); font-size: .85rem; margin-top: .25rem; }

/* About */
.about-stat { background: var(--grey-bg); border-radius: 12px; padding: 1.25rem; text-align: center; }
.mission-card { background: var(--grey-bg); border-radius: 12px; padding: 1.25rem; border-left: 3px solid var(--red); }
.mission-card i { font-size: 1.3rem; color: var(--red); margin-bottom: .5rem; }
.mission-card h5 { font-weight: 700; margin-bottom: .5rem; }
.mission-card p  { color: var(--slate); font-size: .875rem; margin: 0; }
.mission-card.vision { border-left-color: var(--blue); }
.mission-card.vision i { color: var(--blue); }

/* ── About page — redesigned ─────────────────── */

/* Pull quote */
.about-pull-quote {
  max-width: 820px; margin: 0 auto;
  text-align: center; position: relative; padding: 1rem 3rem;
}
.about-pull-mark {
  display: block; font-size: 6rem; line-height: .55; font-family: 'Outfit', sans-serif;
  color: var(--red); opacity: .18; margin-bottom: -.25rem;
  pointer-events: none; user-select: none; font-weight: 800;
}
.about-pull-quote p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500; color: var(--dark2); font-style: italic;
  line-height: 1.65; margin: 0; letter-spacing: -0.01em;
}

/* Body copy — bigger, darker, readable */
.about-body-text {
  font-size: 1.05rem; color: var(--dark3);
  line-height: 1.8; margin: 0; letter-spacing: 0.005em;
}

/* Stat boxes inside who-we-are */
.about-stat .big-number { font-size: 2.5rem; font-weight: 800; color: var(--red); display: block; line-height: 1; letter-spacing: -0.03em; }
.about-stat > span:last-child { color: var(--dark3); font-size: .875rem; font-weight: 500; display: block; margin-top: .4rem; }

/* Mission & Vision cards */
.about-mv-card {
  background: #fff; border-radius: 16px;
  border: 1px solid #e8edf2; padding: 2.25rem 2rem;
  height: 100%; display: flex; flex-direction: column; gap: 1rem;
  border-top: 4px solid var(--red);
  box-shadow: 0 4px 24px rgba(0,0,0,.05);
}
.about-mv-card-blue { border-top-color: var(--blue); }
.about-mv-icon {
  width: 60px; height: 60px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-mv-icon i { font-size: 1.5rem; color: #fff; }
.about-mv-title { font-size: 1.25rem; font-weight: 800; color: var(--dark); margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
.about-mv-text { font-size: 1rem; color: var(--slate); line-height: 1.75; margin: 0; }

/* Core values grid */
.about-value-card {
  display: flex; align-items: flex-start; gap: 1.1rem;
  background: #fff; border-radius: 12px;
  border: 1px solid #e8edf2; padding: 1.5rem;
  height: 100%; transition: box-shadow .2s, transform .2s;
}
.about-value-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.about-value-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(212,32,32,.09); color: var(--red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-value-icon i { font-size: 1.2rem; }
.about-value-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 0 0 .35rem; letter-spacing: -0.01em; }
.about-value-desc  { font-size: .9rem; color: var(--slate); line-height: 1.65; margin: 0; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 50%, #0d1a28 100%); border-top: 3px solid var(--red); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; right: 0; width: 400px; height: 100%; background: radial-gradient(ellipse at right, rgba(10,172,222,.08) 0%, transparent 70%); }
.cta-title { color: #fff; font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; }
.cta-sub { color: rgba(255,255,255,.65); font-size: 1.05rem; line-height: 1.7; max-width: 560px; margin: .75rem auto 0; }

/* Page Hero */
.page-hero { background: url('../images/road-1.jpg') center 60% / cover no-repeat; padding: 5rem 0 3rem; text-align: center; position: relative; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(10,14,23,.62); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title { color: #fff; font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.6); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.4); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* Contact */
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 42px; height: 42px; background: rgba(192,57,43,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--red); flex-shrink: 0; }
.contact-info-item a { color: var(--dark); text-decoration: none; }
.contact-info-item a:hover { color: var(--red); }

/* Post content */
.post-content { line-height: 1.8; color: var(--dark2); }
.post-content h2,h3 { margin-top: 2rem; }
.page-content { line-height: 1.8; color: var(--dark2); }

/* Footer */
.site-footer { background: #080c18; border-top: 3px solid var(--blue); }
.footer-brand { font-size: 1.5rem; font-weight: 800; }
.footer-text  { color: rgba(255,255,255,.5); font-size: .875rem; line-height: 1.7; }
.footer-heading { color: rgba(255,255,255,.7); font-size: .75rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a  { color: rgba(255,255,255,.5); text-decoration: none; font-size: .875rem; transition: color .15s; }
.footer-links a:hover { color: var(--blue-light); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .75rem; color: rgba(255,255,255,.5); font-size: .875rem; }
.footer-contact i  { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.footer-contact a  { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-contact a:hover { color: var(--blue-light); }
.footer-social a   { color: rgba(255,255,255,.4); margin-right: .75rem; font-size: 1rem; text-decoration: none; transition: color .15s; }
.footer-social a:hover { color: var(--blue-light); }
.footer-divider { border-color: rgba(255,255,255,.07); }
.footer-copy { color: rgba(255,255,255,.4); font-size: .8rem; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; background: var(--red);
  color: #fff; border-radius: 50%; display: none;
  align-items: center; justify-content: center;
  font-size: .9rem; text-decoration: none; z-index: 999;
  box-shadow: 0 4px 15px rgba(192,57,43,.4);
  transition: background .2s;
}
.back-to-top:hover { background: var(--red-dark); color: #fff; }

/* ── Projects grid — hover overlay ──────────── */
.proj-filter-bar {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
}
.proj-filter-btn {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 30px;
  padding: .45rem 1.35rem; font-size: .8rem; font-weight: 700;
  color: var(--slate); cursor: pointer; transition: all .2s;
  letter-spacing: .5px; text-transform: uppercase; line-height: 1;
}
.proj-filter-btn:hover { border-color: var(--red); color: var(--red); }
.proj-filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

.proj-grid-item {
  display: block; text-decoration: none;
  border-radius: 12px; overflow: hidden;
  height: 290px; position: relative;
}
.proj-grid-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .55s ease;
}
.proj-grid-img-placeholder {
  background: var(--dark3);
  display: flex; align-items: center; justify-content: center; color: var(--slate); font-size: 2.5rem;
}
.proj-grid-item:hover .proj-grid-img { transform: scale(1.07); }

.proj-grid-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,23,.93) 0%, rgba(10,14,23,.6) 50%, rgba(10,14,23,.12) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0; transition: opacity .3s ease;
}
.proj-grid-item:hover .proj-grid-overlay { opacity: 1; }

.proj-grid-cat {
  display: block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--blue-light); margin-bottom: .4rem;
}
.proj-grid-title {
  color: #fff; font-size: 1.05rem; font-weight: 700;
  margin: 0 0 .45rem; line-height: 1.3; letter-spacing: -.01em;
}
.proj-grid-desc {
  color: rgba(255,255,255,.7); font-size: .85rem;
  line-height: 1.5; margin: 0 0 .8rem;
}
.proj-grid-cta {
  color: var(--blue-light); font-size: .82rem; font-weight: 600;
}

/* ── Service full card (services page) ─────── */
.service-card-full { border-radius: 12px; overflow: hidden; border: 1px solid #e8edf2; height: 100%; }
.service-img  { height: 180px; background-size: cover; background-position: center; }
.service-card-body { padding: 1.5rem; }

/* ── Business strips (home dual-sector intro) ── */
.business-strips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.bstrip { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 2rem; }
.bstrip-construction { background: var(--red); }
.bstrip-supply       { background: var(--blue); }
.bstrip-icon { font-size: 2rem; color: rgba(255,255,255,.8); flex-shrink: 0; }
.bstrip-body { flex: 1; }
.bstrip-body h5 { color: #fff; font-weight: 700; margin: 0 0 .25rem; font-size: 1rem; }
.bstrip-body p  { color: rgba(255,255,255,.75); margin: 0; font-size: .85rem; }
.bstrip-link { color: rgba(255,255,255,.9); font-weight: 600; font-size: .85rem; text-decoration: none; white-space: nowrap; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: .4rem .9rem; transition: all .2s; flex-shrink: 0; }
.bstrip-link:hover { background: rgba(255,255,255,.15); color: #fff; }
@media (max-width: 767px) {
  .business-strips { grid-template-columns: 1fr; }
  .bstrip { padding: 1.25rem 1.5rem; }
}

/* ── Section divider ─────────────────────────── */
.section-divider { border: 0; border-top: 2px dashed #e2e8f0; }

/* ── Blue variant section badge ──────────────── */
.section-badge-blue { display: inline-block; background: rgba(10,172,222,.1); color: var(--blue); border: 1px solid rgba(10,172,222,.25); border-radius: 20px; padding: .3rem .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: .75rem; }

/* ── Industrial supply service card variant ──── */
.service-card-supply { border-top: 3px solid var(--blue); }
.service-card-supply::before { background: var(--blue); }
.service-icon-blue { background: rgba(10,172,222,.1); }
.service-icon-blue i { color: var(--blue); }
.service-link-blue { color: var(--blue); font-weight: 600; font-size: .875rem; text-decoration: none; margin-top: 1rem; display: inline-block; }
.service-link-blue:hover { color: var(--blue-dark); }

/* ── Products page ───────────────────────────── */
.page-hero-sub { color: rgba(255,255,255,.75); font-size: 1.1rem; margin: .6rem 0 1.1rem; letter-spacing: 0.01em; line-height: 1.6; }

/* Trust bar */
.products-trustbar { background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.07); padding: .85rem 0; }
.trustbar-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.trustbar-item { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.7); font-size: .85rem; padding: .35rem 1.5rem; }
.trustbar-item i { color: var(--blue); font-size: 1rem; }
.trustbar-divider { width: 1px; height: 24px; background: rgba(255,255,255,.12); }
@media (max-width: 576px) { .trustbar-divider { display: none; } .trustbar-item { width: 50%; justify-content: center; } }

/* Product category cards */
.product-cat-card { background: #fff; border: 1px solid #e8edf2; border-radius: 14px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.product-cat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.12); }
.product-cat-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.product-cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,23,.55) 0%, transparent 60%); }
.product-cat-icon { position: absolute; bottom: 1rem; left: 1.25rem; width: 44px; height: 44px; background: var(--blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.product-cat-icon i { color: #fff; font-size: 1.1rem; }
.product-cat-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-cat-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: .65rem; }
.product-cat-desc { color: var(--slate); font-size: .875rem; line-height: 1.6; flex: 1; }
.product-brands { display: flex; flex-wrap: wrap; gap: .35rem; }
.brand-tag { background: var(--grey-bg); color: var(--dark3); font-size: .72rem; font-weight: 600; border-radius: 4px; padding: .2rem .55rem; border: 1px solid #e2e8f0; }
.btn-product-enquire { display: inline-flex; align-items: center; gap: .4rem; background: var(--blue); color: #fff; border: none; border-radius: 7px; padding: .5rem 1.1rem; font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .2s; margin-top: auto; cursor: pointer; }
.btn-product-enquire:hover { background: var(--blue-dark); color: #fff; }

/* CTA product card */
.product-cat-card-cta { background: var(--grey-bg); display: flex; align-items: center; justify-content: center; min-height: 380px; }
.product-cat-cta-inner { padding: 2rem; text-align: center; }
.product-cat-cta-inner h4 { font-weight: 700; color: var(--dark); margin-bottom: .75rem; }

/* Industries */
.industry-card { background: #fff; border: 1px solid #e8edf2; border-radius: 12px; padding: 1.25rem .75rem; transition: border-color .2s; }
.industry-card:hover { border-color: var(--blue); }
.industry-card i { color: var(--blue); display: block; margin-bottom: .5rem; }
.industry-card p { font-size: .875rem; font-weight: 600; color: var(--dark); }

/* Nav Products highlight */
.nav-products { color: var(--blue-light) !important; font-weight: 600 !important; }
.nav-products:hover { color: #fff !important; }

/* ══════════════════════════════════════════════
   SPARES SHOP — public styles
   ══════════════════════════════════════════════ */

/* Nav cart badge */
.nav-shop-link { position: relative; }
.cart-badge { position: absolute; top: 2px; right: -6px; background: var(--red); color: #fff; border-radius: 50%; width: 17px; height: 17px; font-size: .62rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }

/* Trust bar */
.shop-trustbar { background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.06); padding: .9rem 0; }
.shop-trustbar .trustbar-item { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.7); font-size: .85rem; padding: .35rem 1.5rem; }
.shop-trustbar .trustbar-item i { color: var(--red); }
.trustbar-divider { width: 1px; height: 24px; background: rgba(255,255,255,.12); }

/* Product cards */
.product-card { background: #fff; border: 1px solid #e8edf2; border-radius: 14px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.product-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.product-img-placeholder { height: 220px; background: var(--grey-bg); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 2.5rem; position: relative; }
.product-badge-sale { position: absolute; top: .75rem; left: .75rem; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: 4px; }
.product-badge-oos  { position: absolute; top: .75rem; right: .75rem; background: #64748b; color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: 4px; }
.product-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.product-cat-label { font-size: .72rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .3rem; }
.product-name  { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; line-height: 1.4; flex: 1; }
.product-sku   { font-size: .75rem; color: var(--muted); margin-bottom: .5rem; }
.product-price { margin-bottom: .75rem; }
.price-current { font-size: 1.2rem; font-weight: 800; color: var(--dark); }
.price-original{ font-size: .9rem; color: var(--muted); text-decoration: line-through; margin-left: .4rem; }
.btn-add-cart  { background: var(--dark); color: #fff; border: none; border-radius: 8px; padding: .55rem 1rem; font-size: .875rem; font-weight: 600; width: 100%; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: .4rem; cursor: pointer; }
.btn-add-cart:hover { background: var(--dark2); }
.btn-add-cart:disabled { background: var(--muted); cursor: not-allowed; }

/* Product Detail */
.product-gallery-main { border-radius: 14px; overflow: hidden; background: var(--grey-bg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery-thumb { width: 72px; height: 72px; border-radius: 8px; border: 2px solid transparent; overflow: hidden; cursor: pointer; transition: border-color .15s; }
.product-gallery-thumb.active { border-color: var(--red); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-price { font-size: 2rem; font-weight: 800; color: var(--dark); }
.qty-control { display: flex; align-items: center; border: 1px solid #d1d5db; border-radius: 8px; overflow: hidden; width: fit-content; }
.qty-btn { background: var(--grey-bg); border: none; width: 38px; height: 38px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background .15s; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: #e2e8f0; }
.qty-input { width: 52px; height: 38px; border: none; border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; text-align: center; font-weight: 600; font-size: .95rem; }
.btn-add-cart-lg { background: var(--red); color: #fff; border: none; border-radius: 10px; padding: .8rem 2rem; font-size: 1rem; font-weight: 700; transition: all .2s; display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.btn-add-cart-lg:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,32,32,.4); }
.product-meta-item { display: flex; gap: .75rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid #f1f5f9; font-size: .875rem; }
.product-meta-item:last-child { border-bottom: none; }
.product-meta-item strong { color: var(--dark3); min-width: 80px; }

/* Sidebar filter */
.shop-filter-card { background: #fff; border: 1px solid #e8edf2; border-radius: 14px; padding: 1.5rem; }
.shop-filter-title { font-weight: 700; font-size: .875rem; color: var(--dark); margin-bottom: 1rem; }

/* Cart empty mosaic */
.cart-empty-wrap { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 20px; margin: 1rem 0 2rem; }
.cart-empty-mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; filter: blur(1px); }
.mosaic-img { background-size: cover; background-position: center; opacity: .35; background-color: #e2e8f0; }
.cart-empty-card { position: relative; z-index: 2; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 20px; padding: 2.5rem 3rem; text-align: center; box-shadow: 0 8px 40px rgba(30,58,95,.12); max-width: 480px; width: 100%; }
.cart-empty-icon { font-size: 3.5rem; color: var(--red); opacity: .4; margin-bottom: 1rem; }
.cart-empty-cat-pill { display: inline-flex; align-items: center; gap: .35rem; background: #fff3f3; border: 1px solid rgba(212,32,32,.2); color: var(--dark); border-radius: 20px; padding: .3rem .85rem; font-size: .8rem; font-weight: 600; text-decoration: none; transition: all .15s; }
.cart-empty-cat-pill:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Cart */
.cart-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid #f1f5f9; }
.cart-item-img { width: 80px; height: 80px; border-radius: 10px; background: var(--grey-bg); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.cart-item-name { font-weight: 600; font-size: .9rem; color: var(--dark); margin-bottom: .25rem; }
.cart-item-price { font-size: .875rem; color: var(--red); font-weight: 700; }
.cart-total-box { background: var(--grey-bg); border-radius: 12px; padding: 1.5rem; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; font-size: .9rem; }
.cart-total-row.total { font-size: 1.1rem; font-weight: 800; color: var(--dark); border-top: 2px solid #e2e8f0; margin-top: .5rem; padding-top: 1rem; }

/* Checkout */
.checkout-step-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dark); color: #fff; font-size: .8rem; font-weight: 700; margin-right: .5rem; flex-shrink: 0; }
.payment-option { border: 2px solid #e2e8f0; border-radius: 10px; padding: 1rem 1.25rem; cursor: pointer; transition: border-color .15s; }
.payment-option.selected { border-color: var(--red); background: rgba(212,32,32,.04); }

/* Order confirmation */
.order-confirm-icon { width: 80px; height: 80px; border-radius: 50%; background: #dcfce7; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.order-confirm-icon i { font-size: 2.5rem; color: #16a34a; }
.order-number-badge { display: inline-block; background: var(--grey-bg); border: 2px solid var(--red); border-radius: 8px; padding: .5rem 1.5rem; font-family: monospace; font-size: 1.2rem; font-weight: 700; color: var(--dark); letter-spacing: 2px; }

/* ── Shop Layout ─────────────────────────────── */
.shop-body { background: #f8fafc; }
.shop-header { background: var(--dark); padding: .85rem 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.shop-header-brand { text-decoration: none; display: flex; align-items: center; gap: .75rem; }
.shop-brand-name { font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: -.01em; line-height: 1.15; }
.shop-brand-sub { font-size: .68rem; color: rgba(255,255,255,.4); letter-spacing: .04em; text-transform: uppercase; }
.shop-header-nav { display: flex; align-items: center; gap: .85rem; }
.shop-header-nav a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .88rem; transition: color .15s; }
.shop-header-nav a:hover { color: #fff; }
.shop-cart-btn { position: relative; color: rgba(255,255,255,.85); text-decoration: none; font-size: .88rem; padding: .35rem .75rem; border-radius: 7px; border: 1px solid rgba(255,255,255,.15); transition: background .15s, color .15s; }
.shop-cart-btn:hover { background: rgba(255,255,255,.09); color: #fff; }
.btn-back-site { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.18); border-radius: 7px; padding: .35rem .9rem; font-size: .82rem; text-decoration: none; transition: background .15s, color .15s; white-space: nowrap; }
.btn-back-site:hover { background: rgba(255,255,255,.16); color: #fff; }
.shop-footer { background: var(--dark); color: rgba(255,255,255,.45); text-align: center; padding: 1.4rem 0; font-size: .82rem; margin-top: 4rem; }
.shop-footer a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .15s; }
.shop-footer a:hover { color: #fff; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.mobile-open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-main.expanded { margin-left: 0; }
}
@media (max-width: 576px) {
  .hero-actions .btn-hero, .hero-actions .btn-hero-outline { display: block; margin: .5rem 0 !important; text-align: center; }
  .hero-stats { flex-wrap: wrap; }
}

/* ══════════════════════════════════════════════
   SHARP RADII — admin CMS + online shop only
   Public website (.public-body) is untouched.
   ══════════════════════════════════════════════ */
.admin-body .card,
.admin-body .modal-content,
.shop-body .card,
.shop-body .modal-content { border-radius: 4px !important; }

.admin-body .btn,
.shop-body .btn { border-radius: 3px !important; }

.admin-body .form-control,
.admin-body .form-select,
.admin-body .input-group-text,
.shop-body .form-control,
.shop-body .form-select,
.shop-body .input-group-text { border-radius: 3px !important; }

.admin-body .badge,
.shop-body .badge { border-radius: 3px !important; }

.admin-body .alert,
.shop-body .alert { border-radius: 4px !important; }

.admin-body .dropdown-menu,
.shop-body .dropdown-menu { border-radius: 4px !important; }

.admin-body .table,
.shop-body .table { border-radius: 0 !important; }

/* Tighten the focus ring to match squared inputs */
.admin-body .form-control:focus,
.admin-body .form-select:focus,
.shop-body .form-control:focus,
.shop-body .form-select:focus {
  box-shadow: 0 0 0 2px rgba(212, 32, 32, .15);
}
