/* ============================================================
   ND Steel & Engg – Main Stylesheet
   Industrial Premium Theme: Dark Blue + Steel Grey + Orange
   ============================================================ */

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  --blue-dark:    #0A1628;
  --blue-mid:     #0D2245;
  --blue-bright:  #1B4F9F;
  --steel-grey:   #7D8FA3;
  --steel-light:  #C8D0DA;
  --steel-panel:  #F0F4F8;
  --orange:       #E8821A;
  --orange-dark:  #C5681B;
  --orange-light: #FAA94D;
  --white:        #FFFFFF;
  --text-dark:    #1A2332;
  --text-body:    #3D4E61;
  --text-muted:   #6C7E92;
  --border:       #DDE4EE;
  --shadow-sm:    0 2px 8px rgba(10,22,40,0.08);
  --shadow-md:    0 6px 24px rgba(10,22,40,0.12);
  --shadow-lg:    0 16px 48px rgba(10,22,40,0.18);
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --transition:   all 0.28s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ─── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
  background: #fff;
}

a { color: var(--blue-bright); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange); }

img { max-width: 100%; height: auto; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

/* ─── Top Bar ────────────────────────────────────────────── */
.topbar {
  background: var(--blue-dark);
  padding: 8px 0;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-left a,
.topbar-left span {
  color: var(--steel-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-left a:hover { color: var(--orange-light); }

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.topbar-right a {
  color: var(--steel-light);
  font-size: 13px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.topbar-right a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ─── Navbar ─────────────────────────────────────────────── */
.main-navbar {
  background: var(--blue-mid) !important;
  padding: 0;
  border-bottom: 2px solid var(--orange);
  transition: var(--transition);
  z-index: 1050;
}

.main-navbar.scrolled {
  background: rgba(13,34,69,0.97) !important;
  box-shadow: var(--shadow-md);
}

/* Brand */
.brand-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.brand-nd    { color: var(--orange); }
.brand-steel { color: #fff; margin-left: 2px; }
.brand-amp   { color: var(--orange); }

/* Nav links */
.main-navbar .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 22px 14px !important;
  transition: var(--transition);
  position: relative;
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--orange-light) !important;
}
.main-navbar .nav-link:hover::after { transform: scaleX(1); }

/* Action buttons */
.navbar-actions { display: flex; align-items: center; gap: 4px; }

.action-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
}
.action-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.cart-btn-mobile {
  color: #fff;
  font-size: 18px;
  position: relative;
  padding: 4px 8px;
}
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ─── Mega Menu ──────────────────────────────────────────── */
.mega-dropdown { position: static; }

.mega-menu {
  width: 100%;
  left: 0 !important; right: 0 !important;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border: none;
  border-top: 3px solid var(--orange);
  box-shadow: var(--shadow-lg);
  padding: 24px 0;
  background: var(--blue-dark);
}

.mega-col { border-right: 1px solid rgba(255,255,255,0.06); }
.mega-col:last-child { border-right: none; }

.mega-heading a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange-light);
  display: block;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mega-heading a:hover { color: var(--orange); }

.mega-item {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  padding: 3px 0;
  transition: var(--transition);
}
.mega-item:hover { color: var(--orange-light); padding-left: 6px; }

.mega-view-all {
  display: block;
  font-size: 11px;
  color: var(--orange);
  margin-top: 6px;
  font-weight: 600;
}
.mega-view-all:hover { color: var(--orange-light); }

/* ─── Search Overlay ─────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.97);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  padding-top: 80px;
}
.search-overlay.active { display: flex; }

.search-box-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.search-input-wrap {
  position: relative;
}
.search-input-wrap input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 22px;
  padding: 12px 48px 12px 0;
  outline: none;
  font-family: var(--font-display);
}
.search-input-wrap input::placeholder { color: rgba(255,255,255,0.35); }
.search-input-wrap input:focus { border-bottom-color: var(--orange); }
.search-icon {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 18px;
}
.search-close {
  position: absolute; top: 24px; right: 24px;
  background: transparent; border: none;
  color: rgba(255,255,255,0.6);
  font-size: 24px; cursor: pointer;
}
.search-close:hover { color: var(--orange); }

.search-results {
  margin-top: 24px;
  max-height: 400px;
  overflow-y: auto;
}
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  color: rgba(255,255,255,0.8);
}
.search-result-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.search-result-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }
.search-result-item .result-name { font-weight: 600; font-size: 14px; }
.search-result-item .result-cat  { font-size: 11px; color: var(--orange-light); }

/* ─── Flash Messages ─────────────────────────────────────── */
.flash-container {
  position: fixed;
  top: 80px; right: 20px;
  z-index: 9999;
  width: 360px;
  max-width: calc(100vw - 40px);
}
.flash-msg {
  display: flex; align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  animation: slideInFlash 0.35s ease;
}
.flash-success { background: #1e4d2b; color: #a3e9b4; border-left: 4px solid #27ae60; }
.flash-error   { background: #4d1e1e; color: #f5a0a0; border-left: 4px solid #e74c3c; }
.flash-info    { background: #1e344d; color: #a0cbf5; border-left: 4px solid #3498db; }
.flash-close   { margin-left: auto; background: transparent; border: none; color: inherit; cursor: pointer; font-size: 14px; }

@keyframes slideInFlash {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ─── Hero / Banner ──────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 560px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 6s ease;
}
.hero-section:hover .hero-bg { transform: scale(1.04); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.55) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff;
  padding: 80px 0;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}
.hero-title .accent { color: var(--orange); }
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.80);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Carousel Controls ──────────────────────────────────── */
.carousel-control-prev,
.carousel-control-next {
  width: 48px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(232,130,26,0.8);
  border-radius: 50%;
  width: 44px; height: 44px;
  background-size: 50%;
}

/* ─── Section Titles ─────────────────────────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title span { color: var(--orange); }
.section-divider {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 40px;
}
.section-divider::before, .section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-divider.divider-left::before { display: none; }
.section-divider.divider-left::after { flex: 0 0 60px; }

/* ─── Product Cards ──────────────────────────────────────── */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
  transform: translateY(-4px);
}
.product-card-img {
  position: relative;
  overflow: hidden;
  height: 180px;
  background: var(--steel-panel);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.product-card-body {
  padding: 16px;
  flex: 1;
  display: flex; flex-direction: column;
}
.product-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-card-grade {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.product-card-grade i { color: var(--orange); }
.product-card-actions {
  margin-top: auto;
  display: flex; gap: 8px;
}
.btn-quote {
  flex: 1;
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
  border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600;
  padding: 8px 12px;
  transition: var(--transition);
  text-align: center;
}
.btn-quote:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn-cart {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-cart:hover { background: var(--orange); color: #fff; }

/* ─── Category Cards ─────────────────────────────────────── */
.cat-card {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  color: #fff;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(232,130,26,0.4); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-card-icon { font-size: 36px; color: var(--orange-light); margin-bottom: 14px; }
.cat-card-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  margin-bottom: 6px;
}
.cat-card-count { font-size: 12px; color: var(--steel-light); }

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 24px 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-number {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 700;
  line-height: 1;
  display: block;
}
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }

/* ─── Industry Cards ─────────────────────────────────────── */
.industry-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  background: var(--steel-panel);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  color: var(--text-dark);
}
.industry-card:hover {
  background: var(--blue-dark);
  color: #fff;
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.industry-card-icon {
  width: 52px; height: 52px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  flex-shrink: 0;
}
.industry-card:hover .industry-card-icon { background: var(--orange-dark); }
.industry-card-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.industry-card-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.industry-card:hover .industry-card-desc { color: var(--steel-light); }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--orange); }
.testimonial-quote {
  font-size: 48px;
  color: var(--orange);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.testimonial-text { font-size: 14px; color: var(--text-body); font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--steel-panel);
}
.testimonial-author-name { font-weight: 700; font-size: 14px; color: var(--text-dark); }
.testimonial-author-company { font-size: 12px; color: var(--text-muted); }
.testimonial-stars { color: var(--orange); font-size: 12px; margin-bottom: 2px; }

/* ─── Blog Cards ─────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--orange); }
.blog-card-img {
  height: 200px; overflow: hidden; background: var(--steel-panel);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}
.blog-card-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 10px; line-height: 1.35;
}
.blog-card:hover .blog-card-title { color: var(--orange); }
.blog-card-excerpt { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.blog-card-meta {
  margin-top: auto;
  font-size: 11.5px; color: var(--text-muted);
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border); padding-top: 12px;
}
.blog-card-meta i { color: var(--orange); }

/* ─── Ready Stock Table ──────────────────────────────────── */
.stock-table-wrap {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stock-table { margin-bottom: 0; font-size: 13.5px; }
.stock-table thead { background: var(--blue-dark); color: #fff; }
.stock-table thead th {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 12px 16px;
  border: none;
}
.stock-table tbody tr { border-bottom: 1px solid var(--border); transition: var(--transition); }
.stock-table tbody tr:hover { background: var(--steel-panel); }
.stock-table tbody td { padding: 10px 16px; vertical-align: middle; }

.badge-available { background: rgba(39,174,96,0.12); color: #1a8a42; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.badge-reserved  { background: rgba(232,130,26,0.12); color: #c5681b; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

/* ─── Inquiry Cart ───────────────────────────────────────── */
.cart-table { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.cart-table th { background: var(--blue-dark); color: #fff; padding: 14px 20px; font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.cart-table td { padding: 14px 20px; vertical-align: middle; border-bottom: 1px solid var(--border); }
.cart-summary { background: var(--blue-dark); color: #fff; border-radius: var(--radius-md); padding: 28px; position: sticky; top: 100px; }

/* ─── Forms ──────────────────────────────────────────────── */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
  background-color: #fafbfd;
}
.form-control:focus, .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,130,26,0.15);
  background: #fff;
  outline: none;
}
.form-label { font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn { border-radius: var(--radius-sm); font-weight: 600; transition: var(--transition); }

.btn-primary {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
}
.btn-primary:hover { background: var(--blue-mid); border-color: var(--blue-mid); }

.btn-warning {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn-warning:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }

.btn-outline-warning {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-outline-warning:hover { background: var(--orange); color: #fff; }

.btn-steel {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}
.btn-steel:hover { background: var(--blue-mid); color: #fff; }

/* ─── Page Header ────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(232,130,26,0.08);
}
.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-breadcrumb .breadcrumb { margin: 0; }
.page-breadcrumb .breadcrumb-item, .page-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,0.65); font-size: 13px; }
.page-breadcrumb .breadcrumb-item.active { color: var(--orange-light); }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ─── Admin Sidebar Styles ───────────────────────────────── */
.admin-sidebar {
  width: 260px; min-height: 100vh;
  background: var(--blue-dark);
  position: fixed; left: 0; top: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
  transition: var(--transition);
}
.admin-content {
  margin-left: 260px;
  min-height: 100vh;
  background: #f0f4f8;
}
.admin-topbar {
  background: #fff;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.70);
  font-size: 13.5px; font-weight: 500;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1px 0;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255,255,255,0.08);
  color: var(--orange-light);
  border-left-color: var(--orange);
}
.admin-nav-link i { width: 20px; text-align: center; font-size: 14px; }
.admin-nav-section {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  padding: 16px 20px 4px;
}

/* ─── Dashboard Cards ────────────────────────────────────── */
.dash-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 16px;
}
.dash-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  flex-shrink: 0;
}
.dash-card-value { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--text-dark); line-height: 1; }
.dash-card-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer-newsletter {
  background: var(--blue-mid);
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-newsletter h4 { color: #fff; }

.main-footer .newsletter-form .form-control {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.main-footer .newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.4); }
.main-footer .newsletter-form .form-control:focus { border-color: var(--orange); background: rgba(255,255,255,0.12); }

.footer-main {
  background: var(--blue-dark);
  padding: 60px 0 40px;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--orange-light);
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--orange-light); padding-left: 6px; }
.footer-contact-list { list-style: none; margin-top: 16px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.65); font-size: 13px; margin-bottom: 8px; }
.footer-contact-list a { color: rgba(255,255,255,0.65); }
.footer-contact-list a:hover { color: var(--orange-light); }
.footer-contact-list i { color: var(--orange); margin-top: 3px; width: 14px; }
.footer-features { list-style: none; }
.footer-features li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.72); font-size: 13px; margin-bottom: 8px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 14px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--orange); color: #fff; }
.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 18px 0;
}
.footer-bottom p,
.footer-bottom a { color: rgba(255,255,255,0.45); font-size: 12.5px; }
.footer-bottom a:hover { color: var(--orange-light); }

/* ─── WhatsApp Float ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  background: #25D366;
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover { background: #1EAD54; color: #fff; transform: scale(1.1); }
.wa-tooltip {
  position: absolute;
  right: 66px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ─── Scroll Top ─────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 100px; right: 28px;
  background: var(--orange);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  box-shadow: var(--shadow-md);
  cursor: pointer; z-index: 998;
  opacity: 0; transform: translateY(20px);
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--orange-dark); }

/* ─── Utilities ──────────────────────────────────────────── */
.text-orange   { color: var(--orange) !important; }
.bg-steel-dark { background: var(--blue-dark) !important; }
.bg-steel-mid  { background: var(--blue-mid) !important; }
.bg-panel      { background: var(--steel-panel) !important; }
.border-orange { border-color: var(--orange) !important; }

.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }

.separator-orange {
  width: 48px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .topbar { display: none; }
  .mega-menu { position: static; border: none; background: var(--blue-mid); box-shadow: none; }
  .mega-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 12px; margin-bottom: 8px; }
  .admin-sidebar { transform: translateX(-260px); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .hero-section { min-height: 400px; }
}

@media (max-width: 767px) {
  .section-padding { padding: 50px 0; }
  .hero-title { font-size: 30px; }
  .form-card { padding: 24px 18px; }
  .footer-main { padding: 40px 0 20px; }
  .flash-container { width: calc(100vw - 30px); }
}

/* ─── AOS custom ─────────────────────────────────────────── */
[data-aos] { will-change: transform, opacity; }


/* ===== HERO BANNER FULL-WIDTH FIX (auto-added) ===== */
.hero-section, .hero-carousel, .carousel, .carousel-inner, .carousel-item {
  width: 100% !important;
  max-width: 100% !important;
}
.carousel-item img,
.hero-carousel img,
.hero-section img {
  display: block !important;
  width: 100% !important;
  height: clamp(400px, 40vw, 700px) !important;
  object-fit: cover !important;
  object-position: center !important;
}
@media (max-width: 768px) {
  .carousel-item img,
  .hero-carousel img,
  .hero-section img {
    height: clamp(300px, 60vw, 450px) !important;
  }
}
html, body { overflow-x: hidden; }
/* ===== END HERO FIX ===== */
