/* ===== GLOBAL VARIABLES (merged) ===== */
:root {
  --primary-color: #0a0a0a;
  --secondary-color: #2E8B57;
  --accent-color: #e8f5e8;
  --text-color: #222;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --dash-black: #000000;
  --dash-green: #198754;
  --dash-green-light: #20c997;
  --dash-green-dark: #0d6efd;
  --dash-white: #ffffff;
  --dash-gray: #f8f9fa;
  --dash-gray-dark: #212529;
  --dash-border: #dee2e6;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  padding-top: 94px;          /* keeps fixed navbar from covering page content */
}

.woodshop-body {
  background-color: var(--dash-gray);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  padding-top: 0;
}

/* ===== HEADER / NAVBAR (merged custom + sticky header) ===== */
header {
  background: var(--primary-color);
  color: var(--white);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* If you also use a .navbar-custom class (for Bootstrap) */
.navbar-custom {
  background: var(--primary-color) !important;
  padding: 0.35rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-custom > .container,
.navbar-custom > .container-fluid {
  min-height: 70px;
}

.navbar-shell {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 56px;
  padding-left: clamp(1rem, 2vw, 2rem) !important;
  padding-right: clamp(1rem, 2vw, 2rem) !important;
}

.navbar-left-container {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 320px;
}

.navbar-right-container {
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.navbar-custom .navbar-nav {
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
}

.navbar-brand-custom {
  color: var(--white) !important;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  min-width: 0;
  max-width: 100%;
}

.dash-brand-lockup,
.dash-brand-wrapper {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0 !important;
}

.dash-logo-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1;
  color: var(--primary-color);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dash-logo-text-main {
  font-size: 1.25rem;
}

.dash-logo-text-sub {
  margin-top: 0.18rem;
  color: var(--gray);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.dash-logo-text-light,
.dash-logo-text-light .dash-logo-text-sub {
  color: var(--white);
}

.navbar-custom .dash-logo-text-main {
  color: var(--white);
  font-size: 1.32rem;
}

.navbar-custom .dash-logo-text-sub {
  color: rgba(255, 255, 255, 0.82);
}

.footer .dash-logo-text-main,
.footer-custom .dash-logo-text-main {
  color: var(--white);
}

.footer .dash-logo-text-sub,
.footer-custom .dash-logo-text-sub {
  color: rgba(255, 255, 255, 0.72);
}

.logo-icon {
  margin-right: 10px;
  font-size: 1.5rem;
  color: var(--secondary-color);
}
.logo{
  transform: translateY(-2px);
}
.dash-logo-icon,
.dash-logo-name,
.brand-logo-mark,
.brand-logo-name {
  display: block;
  width: auto;
  max-width: 100%;
  min-width: 0;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

img[src*="dash360grouptrademark.png"],
img[src*="dash360groupname.png"] {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  overflow: hidden;
}

.dash-logo-icon,
.brand-logo-mark {
  height: 38px !important;
  max-height: 38px !important;
  flex: 0 0 auto;
}

.dash-logo-name,
.brand-logo-name {
  height: 22px !important;
  max-height: 22px !important;
  max-width: 160px;
  margin-left: 0;
  flex: 0 1 auto;
}

.navbar-custom .dash-logo-icon,
.navbar-custom .brand-logo-mark {
  height: 42px !important;
  max-height: 42px !important;
}

.navbar-custom .dash-logo-name,
.navbar-custom .brand-logo-name {
  height: 30px !important;
  max-height: 30px !important;
  max-width: 230px;
}

.dash-logo-name:first-child,
.brand-logo-name:first-child {
  margin-left: 0;
}

.brand-logo-name-footer {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-brand {
  max-width: 100%;
  overflow: hidden;
}

.dash-logo-footer .dash-logo-icon,
.footer-brand .brand-logo-mark {
  height: 32px !important;
  max-height: 32px !important;
}

.dash-logo-footer .dash-logo-name,
.footer-brand .brand-logo-name {
  height: 20px !important;
  max-height: 20px !important;
  max-width: 145px;
}

.dash-logo-sidebar .dash-logo-icon {
  height: 45px;
  max-height: 45px;
}

.dash-logo-sidebar .dash-logo-name {
  height: 26px;
  max-height: 26px;
  max-width: 190px;
}

.dash-logo-display .dash-logo-icon {
  height: 62px;
  max-height: 62px;
}

.dash-logo-display .dash-logo-name {
  height: 36px;
  max-height: 36px;
  max-width: min(240px, 70vw);
}

.navbar-brand-custom:hover .dash-logo-icon,
.navbar-brand-custom:hover .dash-logo-name,
.navbar-brand-custom:hover .brand-logo-mark,
.navbar-brand-custom:hover .brand-logo-name {
  transform: scale(1.03);
}

/* Logo text */
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
}

/* Navigation links (plain header nav) */
header nav {
  display: flex;
  gap: 1.5rem;
}

header nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

header nav a:hover::after {
  width: 100%;
}

/* Bootstrap-like nav links */
.nav-link-custom {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.72rem 0.78rem !important;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link-custom:hover,
.nav-link-custom:focus {
  background: rgba(255,255,255,0.08);
  color: var(--secondary-color) !important;
}

.nav-link-custom::after {
  display: none;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 0;
}

.navbar-custom .navbar-nav > .nav-item:last-child {
  border-left: 1px solid rgba(255,255,255,0.12);
  margin-left: 0.35rem;
  padding-left: 0.35rem;
}

/* Dropdown menu */
.dropdown-menu-custom {
  background: var(--primary-color) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
  min-width: 14rem !important;
  padding: 0.45rem !important;
  margin-top: 0.5rem !important;
  animation: dropdownFade 0.2s ease-out;
}

.navbar-nav .dropdown:last-child .dropdown-menu-custom {
  left: auto;
  right: 0;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item-custom {
  color: rgba(255,255,255,0.9) !important;
  border-radius: 7px;
  padding: 0.74rem 0.95rem !important;
  font-size: 0.96rem;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.dropdown-item-custom:hover {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateX(3px);
}

.dropdown-divider-custom {
  border-color: rgba(255,255,255,0.1) !important;
  margin: 0.5rem 0 !important;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.navbar-toggler {
  border: none !important;
  padding: 0.25rem !important;
  flex: 0 0 auto;
  min-width: 40px;
  min-height: 40px;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler-icon-custom {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-dash360 {
  background: linear-gradient(135deg, var(--dash-black), #111);
  border-bottom: 3px solid var(--dash-green);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.dash-badge {
  background: linear-gradient(135deg, var(--dash-green), var(--dash-green-light));
  color: var(--dash-black);
  font-weight: 700;
}

.text-dash-green {
  color: var(--dash-green);
}

.bg-dash-gradient {
  background: linear-gradient(135deg, var(--dash-black), var(--dash-gray-dark));
}

.sidebar-dash {
  background-color: var(--dash-white);
  border-right: 1px solid var(--dash-border);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.woodshop-brand-mark {
  border-radius: 8px;
}

.woodshop-brand-name {
  filter: brightness(0) invert(1);
}

@media (min-width: 1200px) {
  .navbar-right-container {
    display: flex !important;
  }

  .menu-wrapper {
    flex: 1 1 auto;
  }
}

/* ===== HERO SECTION (with orbiting elements) ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* ===== CARDS ===== */
.card-dash {
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card-dash:hover {
  border-color: var(--dash-green-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dash-card-header-gradient {
  background: linear-gradient(135deg, #0a0a0a 0%, #2E8B57 100%);
}

.quick-action-card {
  color: inherit;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-action-card:hover,
.quick-action-card:focus {
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, .12) !important;
  color: inherit;
  outline: 0;
  transform: translateY(-3px);
}

.quick-action-card.is-active {
  border: 2px solid var(--bs-success) !important;
  box-shadow: 0 .75rem 1.5rem rgba(25, 135, 84, .16) !important;
}

.quick-action-icon {
  align-items: center;
  border-radius: .75rem;
  display: inline-flex;
  font-size: 1.25rem;
  height: 46px;
  justify-content: center;
  width: 46px;
}

/* ===== BUTTONS ===== */
.btn-dash {
  background-color: var(--dash-green);
  border: none;
  border-radius: 6px;
  color: var(--dash-white);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
}

.btn-dash:hover,
.btn-dash:focus {
  background-color: var(--dash-green-light);
  box-shadow: 0 4px 12px rgba(32, 201, 151, 0.3);
  color: var(--dash-white);
  transform: translateY(-2px);
}

/* ===== FORMS ===== */
.filter-section {
  border-bottom: 1px solid var(--dash-border);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.dash-container-xs {
  max-width: 400px;
}

.dash-container-sm {
  max-width: 520px;
}

.dash-container-md {
  max-width: 720px;
}

.dash-container-lg {
  max-width: 760px;
}

.dash-container-xl {
  max-width: 860px;
}

/* ===== LOGIN PAGE ===== */
.login-page-shell {
  position: relative;
  width: min(100%, 430px);
}

.login-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
    radial-gradient(circle at top left, rgba(22, 163, 74, 0.16), transparent 40%);
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.login-card::before {
  background: linear-gradient(90deg, #000000, #14532d, #16a34a);
  content: "";
  display: block;
  height: 6px;
  margin: clamp(-2.25rem, -4vw, -1.5rem) clamp(-2.25rem, -4vw, -1.5rem) 1.5rem;
}

.login-auth-brand {
  align-items: center;
  display: flex !important;
  gap: 0.85rem;
  justify-content: center;
  width: 100%;
}

.login-brand-mark-wrap {
  background: #0f8a4b;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(15, 138, 75, 0.24);
  display: inline-flex;
  height: 58px;
  overflow: hidden;
  width: 58px;
}

.login-brand-mark {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.login-brand-copy {
  align-items: flex-start;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.login-brand-name {
  color: #0f8a4b;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.login-brand-subtitle {
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-top: 0.2rem;
  text-transform: uppercase;
}

.login-title {
  color: #000000;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.login-field label {
  color: #111827;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.login-field .form-control {
  background: #ffffff;
  border-color: rgba(20, 83, 45, 0.24);
  border-radius: 0.9rem;
  color: #111827;
  font-weight: 700;
  min-height: 3.1rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.login-field .form-control:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 0.22rem rgba(22, 163, 74, 0.16);
}

.login-control {
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.login-control::placeholder,
.dash-secret-field::placeholder {
  color: #9ca3af;
  font-weight: 600;
}

.login-register-prompt {
  color: #4b5563;
  font-weight: 600;
}

.login-register-link {
  color: #0f8a4b;
  font-weight: 900;
  text-decoration: none;
}

.login-register-link:hover,
.login-register-link:focus {
  color: #14532d;
  text-decoration: underline;
}

/* ===== SECRET / CODE FIELD REVEAL TOGGLE ===== */
.dash-secret-input-group {
  align-items: stretch;
  border-radius: 0.9rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.dash-secret-input-group .dash-secret-field {
  background: #ffffff;
  border-color: rgba(20, 83, 45, 0.24);
  border-radius: 0.9rem 0 0 0.9rem !important;
  border-right: 0;
  color: #111827;
  flex: 1 1 auto;
  font-weight: 700;
  min-height: 3.1rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  width: 1% !important;
}

.dash-secret-toggle {
  align-items: center;
  background: linear-gradient(135deg, #000000, #14532d);
  border-color: #14532d;
  border-radius: 0 0.9rem 0.9rem 0 !important;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.05rem;
  font-weight: 800;
  justify-content: center;
  min-width: 3.35rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.dash-secret-input-group:focus-within {
  box-shadow: 0 0 0 0.22rem rgba(22, 163, 74, 0.16);
}

.dash-secret-toggle:hover,
.dash-secret-toggle:focus {
  background: linear-gradient(135deg, #14532d, #16a34a);
  border-color: #16a34a;
  box-shadow: 0 10px 18px rgba(22, 163, 74, 0.24);
  color: #ffffff;
  transform: translateY(-1px);
}

.dash-secret-toggle:focus-visible {
  box-shadow: 0 0 0 0.22rem rgba(22, 163, 74, 0.22);
  outline: 0;
}

@media (max-width: 576px) {
  .login-page-shell {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
  }

  .login-card {
    border-radius: 1.2rem;
    padding: 1.35rem;
  }

  .login-brand-mark-wrap {
    height: 52px;
    width: 52px;
  }

  .login-brand-name {
    font-size: 1.12rem;
  }

  .login-field .form-control,
  .dash-secret-input-group .dash-secret-field {
    min-height: 3rem;
  }

  .dash-secret-toggle {
    min-width: 3.1rem;
  }
}

/* ===== MEDIA & ICON UTILITIES ===== */
.dash-img-contain {
  object-fit: contain;
}

.dash-img-cover {
  object-fit: cover;
}

.dash-img-h-40 {
  height: 40px;
}

.dash-img-h-50 {
  height: 50px;
}

.dash-img-h-80 {
  height: 80px;
}

.dash-img-h-100 {
  height: 100px;
}

.dash-img-h-200 {
  height: 200px;
}

.dash-img-max-80 {
  max-height: 80px;
}

.dash-img-max-100 {
  max-height: 100px;
}

.dash-img-max-300 {
  max-height: 300px;
}

.dash-img-max-400 {
  max-height: 400px;
}

.dash-img-max-500 {
  max-height: 500px;
}

.dash-scroll-sm {
  max-height: 200px;
  overflow-y: auto;
}

.dash-scroll-md {
  max-height: 300px;
  overflow-y: auto;
}

.dash-scroll-lg {
  max-height: 500px;
  overflow-y: auto;
}

.dash-clickable {
  cursor: pointer;
}

.dash-icon-sm {
  font-size: 1.2rem;
}

.dash-icon-md {
  font-size: 1.5rem;
}

.dash-icon-lg {
  font-size: 2rem;
}

.dash-icon-xl {
  font-size: 2.5rem;
}

.dash-icon-empty {
  font-size: 3rem;
}

.dash-icon-green {
  color: var(--dash-green, var(--secondary-color));
}

.dash-table-feature-col {
  width: 200px;
}

.dash-table-product-col {
  min-width: 250px;
}

.dash-spec-label-col {
  width: 40%;
}

.dash-qty-control {
  width: 120px;
}

.dash-border-left-0 {
  border-left: 0 !important;
}

.dash-avatar-80 {
  height: 80px;
  width: 80px;
}

.dash-square-40 {
  height: 40px;
  width: 40px;
}

.dash-status-dot {
  bottom: 15px;
  height: 20px;
  right: 35%;
  width: 20px;
}

.auth-brand {
  max-width: 100%;
  overflow: hidden;
}

.auth-brand-mark {
  border-radius: 12px;
  max-height: 62px;
}

.auth-brand-name {
  max-height: 36px;
}

.dash-rating-star {
  color: #ddd;
  cursor: pointer;
}

.dash-progress-thin {
  height: 8px;
}

.dash-mini-cart-menu {
  width: 350px;
}

.thumbnail:hover,
.thumbnail-zoom:hover {
  border-color: var(--dash-green, var(--secondary-color)) !important;
}

.thumbnail.active,
.thumbnail-zoom.active {
  border: 2px solid var(--dash-green, var(--secondary-color)) !important;
}

.list-view .col-xl-3 {
  flex: 0 0 100%;
  max-width: 100%;
}

.list-view-card {
  display: flex;
  flex-direction: row;
}

.list-view-card .card-img-top {
  height: auto;
  width: 200px;
}

.hover-lift:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(46,139,87,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.circle-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
  margin-bottom: 3rem;
  z-index: 1;
}

.main-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 3;
  border: 3px solid var(--secondary-color);
}

.main-logo:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.orbit-item {
  position: absolute;
  width: 140px;
  height: 50px;
  background: var(--white);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transform-origin: 250px 250px;
  animation: rotate 20s linear infinite;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-color);
  z-index: 2;
  border: 2px solid var(--secondary-color);
}

.orbit-item:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.orbit-item:nth-child(2) { animation-delay: -2.5s; }
.orbit-item:nth-child(3) { animation-delay: -5s; }
.orbit-item:nth-child(4) { animation-delay: -7.5s; }
.orbit-item:nth-child(5) { animation-delay: -10s; }
.orbit-item:nth-child(6) { animation-delay: -12.5s; }
.orbit-item:nth-child(7) { animation-delay: -15s; }
.orbit-item:nth-child(8) { animation-delay: -17.5s; }

@keyframes rotate {
  from {
    transform: rotate(0deg) translateX(230px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(230px) rotate(-360deg);
  }
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  z-index: 1;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  z-index: 1;
}

/* ===== GENERAL SECTIONS ===== */
section {
  padding: 5rem 2rem;
  text-align: center;
  min-height: 400px;   /* from first definition */
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;      /* from first .section-title */
  border-bottom: 3px solid var(--secondary-color); /* from first */
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 4px solid var(--secondary-color);
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* About */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Contact */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-color);
  color: var(--white);
  text-align: left;
}

.footer-custom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-shell {
  max-width: 1320px;
  padding-left: clamp(1rem, 2vw, 2rem) !important;
  padding-right: clamp(1rem, 2vw, 2rem) !important;
}

.footer-grid {
  align-items: flex-start;
}

.footer-description {
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 26rem;
  margin-bottom: 0;
}

.footer-title {
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-link-list,
.footer-contact-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0;
}

.footer-link {
  color: rgba(255,255,255,0.68);
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--secondary-color);
  transform: translateX(2px);
}

.footer-contact-item {
  color: rgba(255,255,255,0.68);
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover,
.social-link:focus {
  color: var(--white);
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.footer-newsletter h6 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-newsletter-input {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.16) !important;
  color: var(--white) !important;
}

.footer-newsletter-input::placeholder {
  color: rgba(255,255,255,0.48);
}

.footer-newsletter-button {
  min-width: 46px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.footer-copyright {
  color: rgba(255,255,255,0.58);
  font-size: 0.92rem;
}

.footer-legal ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-links h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== READONLY & DISABLED FIELDS ===== */
input[readonly],
textarea[readonly],
select[readonly] {
  background-color: #f2f2f2 !important;
  color: #6c757d;
  cursor: not-allowed;
  border-color: #dcdcdc;
}

input:disabled,
textarea:disabled,
select:disabled {
  background-color: #e9ecef !important;
  color: #6c757d;
  cursor: not-allowed;
}

/* ===== RESPONSIVE DESIGN (merged) ===== */
@media (max-width: 1199.98px) {
  .navbar-custom {
    padding: 0.25rem 0;
  }

  .navbar-custom > .container,
  .navbar-custom > .container-fluid {
    min-height: 62px;
  }

  .navbar-shell {
    flex-wrap: wrap;
    gap: 0;
    min-height: 52px;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .navbar-left-container {
    flex: 1 1 auto;
    max-width: calc(100% - 52px);
  }

  .navbar-custom .navbar-collapse {
    flex-basis: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 0.35rem;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.55rem 0 0.85rem;
  }

  .navbar-right-container {
    width: 100%;
  }

  .menu-wrapper {
    align-items: stretch;
    justify-content: flex-start;
  }

  .navbar-custom .navbar-nav {
    align-items: stretch;
    gap: 0.18rem;
    width: 100%;
    padding: 0.35rem 0;
  }

  .nav-link-custom {
    border-radius: 8px;
    font-size: 0.95rem;
    padding: 0.76rem 0.85rem !important;
  }

  .nav-link-custom:hover,
  .nav-link-custom:focus {
    background: rgba(255,255,255,0.08);
  }

  .nav-link-custom:hover::after,
  .nav-link-custom.active::after {
    width: 0;
  }

  .dropdown-menu-custom {
    background: rgba(10, 10, 10, 0.95) !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0.25rem 0 0.5rem !important;
    padding: 0.25rem 0 0.5rem !important;
    animation: none;
  }

  .dropdown-item-custom {
    border-radius: 8px;
    padding: 0.65rem 1rem 0.65rem 2.25rem !important;
    white-space: normal !important;
  }

  .dropdown-item-custom:hover {
    transform: none;
  }

  .navbar-nav .dropdown:last-child .dropdown-menu-custom {
    left: 0;
    right: auto;
  }

  .navbar-custom .navbar-nav > .nav-item:last-child {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-left: 0;
    margin-top: 0.35rem;
    padding-left: 0;
    padding-top: 0.35rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 72px;
  }

  .navbar-custom .dash-logo-icon,
  .navbar-custom .brand-logo-mark {
    height: 34px !important;
    max-height: 34px !important;
  }

  .navbar-custom .dash-logo-name,
  .navbar-custom .brand-logo-name {
    height: 23px !important;
    max-height: 23px !important;
    max-width: 174px;
  }

  .auth-brand-mark {
    max-height: 52px;
  }

  .auth-brand-name {
    max-height: 30px;
  }

  .dash-logo-footer .dash-logo-icon,
  .footer-brand .brand-logo-mark {
    height: 28px !important;
    max-height: 28px !important;
  }

  .dash-logo-footer .dash-logo-name,
  .footer-brand .brand-logo-name {
    height: 18px !important;
    max-height: 18px !important;
    max-width: 120px;
  }

  .dash-logo-sidebar .dash-logo-icon {
    height: 34px;
    max-height: 34px;
  }

  .dash-logo-sidebar .dash-logo-name {
    height: 20px;
    max-height: 20px;
    max-width: 135px;
  }

  .dash-logo-display .dash-logo-icon {
    height: 50px;
    max-height: 50px;
  }

  .dash-logo-display .dash-logo-name {
    height: 30px;
    max-height: 30px;
    max-width: 190px;
  }

  header {
    padding: 1rem;
  }
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  header nav.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero {
    padding: 6rem 1rem 4rem;
    min-height: 90vh;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .circle-wrapper {
    width: 350px;
    height: 350px;
  }
  .main-logo {
    width: 120px;
    height: 120px;
  }
  .orbit-item {
    transform-origin: 175px 175px;
    width: 110px;
    height: 45px;
    font-size: 0.8rem;
  }
  @keyframes rotate {
    from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
  }
  section {
    padding: 4rem 1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }

  .footer-shell {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal ul {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .circle-wrapper {
    width: 280px;
    height: 280px;
  }
  .orbit-item {
    transform-origin: 140px 140px;
    width: 90px;
    height: 40px;
    font-size: 0.7rem;
  }
  @keyframes rotate {
    from { transform: rotate(0deg) translateX(125px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(125px) rotate(-360deg); }
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PRINT / PDF STYLES (single copy) ===== */
@media print {
  @page {
    size: A4;
    margin: 2cm;
  }

  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 210mm;
    margin: 0 auto;
    padding: 20px;
    background: white;
  }

  .header {
    text-align: center;
    border-bottom: 3px solid #2E8B57;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }

  .company-name {
    font-size: 28px;
    font-weight: bold;
    color: #2E8B57;
    margin-bottom: 10px;
  }

  .slogan {
    font-size: 18px;
    font-style: italic;
    color: #666;
  }

  .contact-info {
    font-size: 12px;
    margin-top: 10px;
  }

  .section {
    margin-bottom: 30px;
    page-break-inside: avoid;
  }

  .section-title {
    background-color: #2E8B57;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    border-radius: 5px;
  }

  .subsection {
    margin-bottom: 20px;
  }

  .subsection-title {
    font-weight: bold;
    color: #2E8B57;
    margin-bottom: 10px;
    font-size: 14px;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 12px;
  }

  th {
    background-color: #2E8B57;
    color: white;
    padding: 8px;
    text-align: left;
  }

  td {
    padding: 8px;
    border: 1px solid #ddd;
  }

  .financial-highlight {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #2E8B57;
    margin: 15px 0;
  }

  .footer {
    text-align: center;
    font-size: 10px;
    color: #666;
    margin-top: 50px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
  }

  .page-break {
    page-break-before: always;
  }

  .confidential {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 10px;
    margin: 10px 0;
    font-size: 11px;
    text-align: center;
  }

  .kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 15px 0;
  }

  .kpi-card {
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
  }

  .kpi-value {
    font-size: 24px;
    font-weight: bold;
    color: #2E8B57;
  }

  .kpi-label {
    font-size: 12px;
    color: #666;
  }
}

/* ===== DASH360GROUP VISION CAROUSEL ===== */
.dash360-vision-section {
  background:
    radial-gradient(circle at 10% 16%, rgba(22, 163, 74, 0.14), transparent 28%),
    linear-gradient(180deg, #f6faf7 0%, #ffffff 100%);
}

.dash360-vision-carousel {
  background: #000000;
  border: 2px solid #16a34a;
  border-radius: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.dash360-vision-slide {
  background: #000000;
}

.vision-image-wrapper {
  background: #000000;
  overflow: hidden;
}

.dash360-vision-img {
  background: #000000;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.vision-caption-card {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(22, 163, 74, 0.18), transparent 34%),
    linear-gradient(135deg, #000000 0%, #07150d 44%, #14532d 100%);
  border-top: 8px solid #16a34a;
  border-bottom: 3px solid #ffffff;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 210px;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.2rem, 5vw, 4rem);
  position: relative;
  text-align: center;
}

.vision-caption-card::before {
  background: linear-gradient(90deg, #16a34a, #ffffff, #16a34a);
  border-radius: 0 0 999px 999px;
  content: "";
  height: 10px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(18rem, 62vw);
}

.dash360-vision-title {
  color: #ffffff;
  font-size: clamp(2rem, 4.8vw, 4.25rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0;
  padding: 0.15em 0.25em;
  text-transform: uppercase;
}

.dash360-vision-title-accent {
  color: #16a34a;
}

.dash360-vision-subtitle {
  background: #ffffff;
  border: 2px solid #16a34a;
  border-radius: 999px;
  color: #000000;
  font-size: clamp(0.9rem, 1.6vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 1rem 0 0.9rem;
  padding: 0.5rem 1.1rem;
  text-transform: uppercase;
}

.dash360-vision-description {
  color: #d1d5db;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  margin: 1rem auto 0;
  max-width: 800px;
}

.dash360-vision-carousel .carousel-indicators {
  bottom: auto;
  margin-bottom: 0;
  top: 1rem;
  z-index: 3;
}

.dash360-vision-carousel .carousel-indicators [data-bs-target] {
  background-color: #16a34a;
  border: 0;
  border-radius: 999px;
  height: 0.35rem;
  opacity: 0.72;
  width: 2rem;
}

.dash360-vision-carousel .carousel-indicators .active {
  background-color: #ffffff;
  opacity: 1;
}

.dash360-vision-carousel .carousel-control-prev,
.dash360-vision-carousel .carousel-control-next {
  align-items: flex-start;
  padding-top: 220px;
  z-index: 3;
}

.dash360-vision-carousel .carousel-control-prev-icon,
.dash360-vision-carousel .carousel-control-next-icon {
  background-color: rgba(20, 83, 45, 0.92);
  background-size: 58%;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  height: 3rem;
  width: 3rem;
}

.dash360-vision-carousel .carousel-control-prev:focus-visible,
.dash360-vision-carousel .carousel-control-next:focus-visible,
.dash360-vision-carousel .carousel-indicators button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (max-width: 992px) {
  .dash360-vision-img {
    height: 420px;
  }

  .vision-caption-card {
    min-height: 190px;
  }

  .dash360-vision-carousel .carousel-control-prev,
  .dash360-vision-carousel .carousel-control-next {
    padding-top: 180px;
  }
}

@media (max-width: 576px) {
  .dash360-vision-carousel {
    border-radius: 1rem;
  }

  .dash360-vision-img {
    height: 300px;
  }

  .vision-caption-card {
    min-height: 185px;
    padding: 1.35rem 1rem;
  }

  .dash360-vision-title {
    font-size: clamp(1.45rem, 8vw, 2.2rem);
    letter-spacing: 0.02em;
  }

  .dash360-vision-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.65rem;
  }

  .dash360-vision-description {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-top: 0.75rem;
  }

  .dash360-vision-carousel .carousel-control-prev,
  .dash360-vision-carousel .carousel-control-next {
    padding-top: 128px;
  }

  .dash360-vision-carousel .carousel-control-prev-icon,
  .dash360-vision-carousel .carousel-control-next-icon {
    height: 2.35rem;
    width: 2.35rem;
  }
}
