/* 
 * SHN Project (SHN Pro) Official Stylesheet
 * Vibrant EdTech Harmony Palette: Blue, Green, Yellow, Red
 * Modern Glassmorphism & High Aesthetic Design
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  
  /* Primary 4-Color Harmony Palette */
  --color-blue: #0284c7;
  --color-blue-dark: #0369a1;
  --color-blue-light: #e0f2fe;
  --color-blue-glow: rgba(2, 132, 199, 0.25);

  --color-green: #10b981;
  --color-green-dark: #059669;
  --color-green-light: #d1fae5;
  --color-green-glow: rgba(16, 185, 129, 0.25);

  --color-yellow: #f59e0b;
  --color-yellow-dark: #d97706;
  --color-yellow-light: #fef3c7;
  --color-yellow-glow: rgba(245, 158, 11, 0.25);

  --color-red: #ef4444;
  --color-red-dark: #dc2626;
  --color-red-light: #fee2e2;
  --color-red-glow: rgba(239, 68, 68, 0.25);

  /* Defaults for Primary */
  --primary: var(--color-blue);
  --primary-dark: var(--color-blue-dark);
  --primary-light: var(--color-blue-light);
  --primary-focus: var(--color-blue-glow);
  
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  
  --accent: #06b6d4;
  --accent-purple: #6366f1;
  --success: var(--color-green);
  --warning: var(--color-yellow);
  --danger: var(--color-red);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 30px -5px rgba(15, 23, 42, 0.1), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

.bg-subtle {
  background-color: var(--bg-subtle);
}

/* Multi-color Ambient Mesh Backgrounds */
.bg-mesh-harmony {
  position: relative;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(2, 132, 199, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(239, 68, 68, 0.07) 0%, transparent 45%);
}

.bg-mesh-subtle {
  position: relative;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 5% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 95% 30%, rgba(2, 132, 199, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.06) 0%, transparent 40%);
}

.bg-mesh-dark {
  background: 
    radial-gradient(circle at 15% 20%, rgba(2, 132, 199, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(239, 68, 68, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
    #0f172a;
}

/* 4-Color Gradient Accent Line */
.rainbow-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #0284c7 0%, #10b981 33%, #f59e0b 66%, #ef4444 100%);
}

.rainbow-bar-sm {
  height: 3px;
  width: 80px;
  margin: 0.75rem auto 1.5rem auto;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #0284c7 0%, #10b981 33%, #f59e0b 66%, #ef4444 100%);
}

/* Text Gradients */
.text-gradient-blue {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-yellow, .text-gradient-amber {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-red, .text-gradient-rose {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-rainbow {
  background: linear-gradient(135deg, #0284c7 0%, #10b981 35%, #f59e0b 70%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badge System with 4 Color Themes */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
  border: 1px solid #bae6fd;
}

.badge-tag.badge-blue {
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
  border-color: #bae6fd;
}

.badge-tag.badge-green, .badge-tag.badge-accent {
  background: var(--color-green-light);
  color: var(--color-green-dark);
  border-color: #a7f3d0;
}

.badge-tag.badge-yellow, .badge-tag.badge-amber {
  background: var(--color-yellow-light);
  color: var(--color-yellow-dark);
  border-color: #fde68a;
}

.badge-tag.badge-red, .badge-tag.badge-rose {
  background: var(--color-red-light);
  color: var(--color-red-dark);
  border-color: #fecaca;
}

.badge-tag.badge-rainbow {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid transparent;
  position: relative;
  background-clip: padding-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header .section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header .section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Buttons with Multi-Color Variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary, .btn-blue {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
}

.btn-primary:hover, .btn-blue:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.32);
}

.btn-green:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-yellow, .btn-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.32);
}

.btn-yellow:hover, .btn-amber:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-red, .btn-rose {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.32);
}

.btn-red:hover, .btn-rose:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-color);
  color: var(--secondary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--secondary) !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20ba59 0%, #0e7064 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Navbar */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: clamp(44px, 3.8vw, 54px);
  max-height: 54px;
  max-width: 54px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
}

/* Unified Brand Lockup: Logo + "SHN PROJECT" & 2-Line Tagline Subtitle */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  vertical-align: middle;
  max-width: 100%;
}

.brand-lockup img {
  display: block;
  flex-shrink: 0;
  width: auto;
  object-fit: contain;
  background: transparent;
  border: none;
}

.brand-lockup-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  font-family: 'Plus Jakarta Sans', 'Inter', Arial, Helvetica, sans-serif;
  line-height: 1.1;
  flex-shrink: 0;
}

.brand-wordmark-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.34em;
  line-height: 1;
  white-space: nowrap;
}

.brand-wordmark-shn {
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-block;
}

.brand-wordmark-project {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
}

.brand-wordmark-sub {
  display: block;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.24;
  margin-top: 0.24rem;
  white-space: nowrap;
}

/* Adaptive Colors for Light Background (Header Navbar, Admin Login) */
.brand-lockup-light .brand-wordmark-shn {
  color: #0284c7;
  text-shadow: 0 2px 10px rgba(2, 132, 199, 0.16);
}

.brand-lockup-light .brand-wordmark-project {
  color: #0f172a;
}

.brand-lockup-light .brand-wordmark-sub {
  color: #475569;
}

/* Adaptive Colors for Dark Background (Admin Sidebar, Footer, Preview) */
.brand-lockup-dark .brand-wordmark-shn {
  color: #38bdf8;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
}

.brand-lockup-dark .brand-wordmark-project {
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.14);
}

.brand-lockup-dark .brand-wordmark-sub {
  color: #a3b3c6;
}

/* Size Variant: Public Header Navbar */
.brand-lockup-nav {
  gap: 0.65rem;
}

.brand-lockup-nav img {
  height: clamp(44px, 3.6vw, 52px);
  max-height: 52px;
  max-width: 52px;
}

.brand-lockup-nav .brand-wordmark-shn {
  font-size: clamp(1.25rem, 1.45vw, 1.5rem);
}

.brand-lockup-nav .brand-wordmark-project {
  font-size: clamp(0.82rem, 0.95vw, 0.98rem);
}

.brand-lockup-nav .brand-wordmark-sub {
  font-size: clamp(0.62rem, 0.68vw, 0.7rem);
  margin-top: 0.18rem;
}

/* Size Variant: Admin Sidebar */
.brand-lockup-sidebar {
  gap: 0.65rem;
}

.brand-lockup-sidebar img {
  height: 46px;
  max-height: 46px;
  max-width: 46px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.brand-lockup-sidebar .brand-wordmark-shn {
  font-size: 1.38rem;
}

.brand-lockup-sidebar .brand-wordmark-project {
  font-size: 0.88rem;
}

.brand-lockup-sidebar .brand-wordmark-sub {
  font-size: 0.68rem;
  margin-top: 0.2rem;
}

/* Size Variant: Admin Login Card */
.brand-lockup-login {
  gap: 0.85rem;
  justify-content: center;
}

.brand-lockup-login img {
  height: 58px;
  max-height: 58px;
  max-width: 58px;
}

.brand-lockup-login .brand-wordmark-shn {
  font-size: 1.68rem;
}

.brand-lockup-login .brand-wordmark-project {
  font-size: 1.06rem;
}

.brand-lockup-login .brand-wordmark-sub {
  font-size: 0.78rem;
  margin-top: 0.24rem;
}

/* Size Variant: Public Footer (Dynamic, Centered & Cross-Browser Safe) */
.brand-lockup-footer {
  gap: clamp(0.8rem, 1.15vw, 1.1rem);
  justify-content: center;
}

.brand-lockup-footer img {
  height: clamp(66px, 5.8vw, 84px);
  max-height: 84px;
  max-width: 84px;
  margin: 0;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}

.brand-lockup-footer:hover img {
  transform: scale(1.04);
}

.brand-lockup-footer .brand-wordmark-shn {
  font-size: clamp(1.75rem, 2.2vw, 2.2rem);
}

.brand-lockup-footer .brand-wordmark-project {
  font-size: clamp(1.12rem, 1.42vw, 1.42rem);
}

.brand-lockup-footer .brand-wordmark-sub {
  font-size: clamp(0.82rem, 0.95vw, 0.94rem);
  margin-top: 0.28rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.3vw, 1.45rem);
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #0284c7, #10b981);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

/* Official Tagline Top Bar with 4-Color Gradient Bottom Line */
.top-notice-bar {
  background: linear-gradient(180deg, #0f172a 0%, #0b1329 100%);
  color: #f8fafc;
  padding: 0.75rem 0;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.top-notice-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, #0284c7 0%, #10b981 33%, #f59e0b 66%, #ef4444 100%);
}

.top-notice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.top-tagline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: clamp(0.92rem, 1.25vw, 1.06rem);
  font-weight: 700;
  line-height: 1.45;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  white-space: nowrap;
}

.tagline-text {
  font-weight: 700;
  color: #f1f5f9;
}

.tagline-brand {
  color: #38bdf8;
  font-weight: 900;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.tagline-highlight-green {
  color: #34d399;
  font-weight: 800;
}

.tagline-highlight-yellow {
  color: #fbbf24;
  font-weight: 800;
}

.top-contact-quick {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1 !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
  text-decoration: none;
}

.top-contact-item:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Hero Section Slider with 4-Color Harmony Glow */
.hero-slider-section {
  position: relative;
  background: 
    radial-gradient(circle at 12% 20%, rgba(2, 132, 199, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 88% 25%, rgba(245, 158, 11, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(239, 68, 68, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

.swiper-hero {
  width: 100%;
  padding-bottom: 3.5rem;
}

.hero-slide-item {
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 2.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content .hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  color: var(--secondary);
  letter-spacing: -0.03em;
}

.hero-content .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media img {
  width: 100%;
  max-width: 540px;
  filter: drop-shadow(0 15px 30px rgba(2, 132, 199, 0.15));
  transition: transform 0.5s ease;
}

.hero-media:hover img {
  transform: translateY(-4px);
}

/* Swiper Pagination Custom */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #cbd5e1;
  opacity: 1;
  transition: var(--transition);
}

.swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 6px;
  background: linear-gradient(90deg, #0284c7, #10b981) !important;
}

/* Features & Values Grid with 4-Color Theme Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transition: var(--transition);
}

/* Value Card Color Themes */
.value-card.card-blue::before { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.value-card.card-blue:hover { border-color: #bae6fd; box-shadow: 0 15px 30px rgba(2, 132, 199, 0.15); }

.value-card.card-green::before { background: linear-gradient(90deg, #10b981, #34d399); }
.value-card.card-green:hover { border-color: #a7f3d0; box-shadow: 0 15px 30px rgba(16, 185, 129, 0.15); }

.value-card.card-yellow::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.value-card.card-yellow:hover { border-color: #fde68a; box-shadow: 0 15px 30px rgba(245, 158, 11, 0.15); }

.value-card.card-red::before { background: linear-gradient(90deg, #ef4444, #f87171); }
.value-card.card-red:hover { border-color: #fecaca; box-shadow: 0 15px 30px rgba(239, 68, 68, 0.15); }

.value-card:hover {
  transform: translateY(-6px);
}

.value-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.value-icon-box.icon-blue { background: #e0f2fe; color: #0284c7; }
.value-icon-box.icon-green { background: #d1fae5; color: #059669; }
.value-icon-box.icon-yellow { background: #fef3c7; color: #d97706; }
.value-icon-box.icon-red { background: #fee2e2; color: #dc2626; }

.value-card:hover .value-icon-box {
  transform: scale(1.1) rotate(4deg);
}

.value-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Product Catalog & Color Coded Cards */
.product-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Product Card Color Theme Top Borders */
.product-card.theme-blue:hover { border-color: #bae6fd; box-shadow: 0 15px 30px rgba(2, 132, 199, 0.12); }
.product-card.theme-green:hover { border-color: #a7f3d0; box-shadow: 0 15px 30px rgba(16, 185, 129, 0.12); }
.product-card.theme-yellow:hover { border-color: #fde68a; box-shadow: 0 15px 30px rgba(245, 158, 11, 0.12); }
.product-card.theme-red:hover { border-color: #fecaca; box-shadow: 0 15px 30px rgba(239, 68, 68, 0.12); }

.product-card-media {
  position: relative;
  background: #f8fafc;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.product-card-media img {
  max-height: 240px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.03);
}

.product-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.product-category-badge.badge-cat-blue { background: rgba(2, 132, 199, 0.9); }
.product-category-badge.badge-cat-green { background: rgba(5, 150, 105, 0.9); }
.product-category-badge.badge-cat-yellow { background: rgba(217, 119, 6, 0.9); }
.product-category-badge.badge-cat-red { background: rgba(220, 38, 38, 0.9); }

.product-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body .product-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.product-card-body .product-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-card-body .product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.product-features-preview {
  list-style: none;
  margin-bottom: 1.75rem;
  margin-top: auto;
}

.product-features-preview li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--secondary-light);
  margin-bottom: 0.5rem;
}

.product-features-preview li i {
  color: var(--success);
  font-size: 0.9rem;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  gap: 0.75rem;
}

/* Why Choose Us / Advantage Section */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.advantage-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.advantage-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.advantage-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.advantage-item-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.advantage-item-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* News & Article Grid with 4-Color Category Tags */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.article-card-thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-thumb img {
  transform: scale(1.05);
}

.article-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.article-title a {
  color: var(--secondary);
}

.article-title a:hover {
  color: var(--primary);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.article-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Testimonials & Clients */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #fed7aa;
}

.testi-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.testi-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-user-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.testi-user-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

/* Client Logos Bar */
.clients-marquee-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.client-logo-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
}

.client-logo-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.client-logo-box img {
  max-height: 60px;
  width: auto;
  margin-bottom: 0.5rem;
}

.client-logo-box span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
}

/* CTA Banner Section with Vibrant Mesh */
.cta-banner-wrapper {
  background: 
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.25) 0%, transparent 45%),
    linear-gradient(135deg, #0284c7 0%, #0f172a 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.cta-banner-content h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner-content p {
  color: #e0f2fe;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Footer with 4-Color Gradient Top Border */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding-top: 5rem;
  padding-bottom: 2rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0284c7 0%, #10b981 33%, #f59e0b 66%, #ef4444 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1.35rem;
  background: transparent;
}

.footer-tagline {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.15rem;
  line-height: 1.65;
  text-align: center;
  max-width: 380px;
}

.footer-desc {
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  color: #94a3b8;
  text-align: center;
  max-width: 380px;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-col-brand .footer-social-links {
  justify-content: center;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.9rem;
}

.footer-contact-list li i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--secondary);
}

.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-focus);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Single Page Headers with Harmony Mesh */
.page-hero-banner {
  background: 
    radial-gradient(circle at 10% 30%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.07) 0%, transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 4rem 0 3rem 0;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.page-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--primary);
}

/* Admin Dashboard Specific Styles */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f1f5f9;
  position: relative;
}

.admin-sidebar {
  width: 260px;
  background: #0f172a;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.32s ease;
  box-shadow: 4px 0 20px rgba(15, 23, 42, 0.18);
}

.admin-sidebar-header {
  padding: 1.25rem 1.05rem;
  border-bottom: 1px solid #1e293b;
}

.admin-sidebar-menu {
  padding: 1.25rem 0.75rem;
  list-style: none;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #334155 #0f172a;
}

.admin-sidebar-menu::-webkit-scrollbar {
  width: 6px;
}

.admin-sidebar-menu::-webkit-scrollbar-track {
  background: #0f172a;
}

.admin-sidebar-menu::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 999px;
}

.admin-sidebar-menu::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Floating Left/Right Slide Toggle Button for Admin Sidebar */
.admin-sidebar-toggle {
  position: fixed;
  top: 18px;
  left: 243px;
  z-index: 1060;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.42);
  transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-sidebar-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55);
}

.admin-sidebar-toggle i {
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-menu-item {
  margin-bottom: 0.35rem;
}

.admin-menu-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.admin-menu-link:hover,
.admin-menu-link.active {
  background: var(--primary);
  color: #ffffff;
}

.admin-main-content {
  margin-left: 260px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-topbar {
  background: #ffffff;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border-color);
  transition: padding-left 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop Hidden (Slide Left) State */
.admin-layout.sidebar-hidden .admin-sidebar {
  transform: translateX(-100%);
  box-shadow: none;
}

.admin-layout.sidebar-hidden .admin-main-content {
  margin-left: 0;
}

.admin-layout.sidebar-hidden .admin-topbar {
  padding-left: 4.5rem;
}

.admin-layout.sidebar-hidden .admin-sidebar-toggle {
  left: 16px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.admin-layout.sidebar-hidden .admin-sidebar-toggle i {
  transform: rotate(180deg);
}

.admin-body {
  padding: 2rem;
}

.admin-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

/* Modern Trendy Gradient Stat Cards for Admin Dashboard */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.4vw, 1.4rem);
  margin-bottom: 2rem;
}

.admin-stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1vw, 1.1rem);
  padding: clamp(1.1rem, 1.4vw, 1.45rem) clamp(0.95rem, 1.25vw, 1.35rem);
  border-radius: 18px;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.admin-stat-card::before,
.admin-stat-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.admin-stat-card::before {
  width: 110px;
  height: 110px;
  top: -35px;
  right: -25px;
}

.admin-stat-card::after {
  width: 70px;
  height: 70px;
  bottom: -25px;
  right: 35px;
  background: rgba(255, 255, 255, 0.09);
}

.admin-stat-card:hover {
  transform: translateY(-5px);
  color: #ffffff;
}

.admin-stat-icon {
  width: clamp(44px, 3.6vw, 54px);
  height: clamp(44px, 3.6vw, 54px);
  min-width: clamp(44px, 3.6vw, 54px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.2rem, 1.35vw, 1.45rem);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.admin-stat-info {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.admin-stat-label {
  display: block;
  font-size: clamp(0.68rem, 0.78vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.admin-stat-value {
  font-size: clamp(1.55rem, 1.9vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
}

@media (max-width: 1100px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (max-width: 520px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .admin-stat-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.95rem 0.9rem;
    border-radius: 16px;
  }
  .admin-stat-card::before {
    width: 78px;
    height: 78px;
    top: -26px;
    right: -20px;
  }
  .admin-stat-card::after {
    width: 48px;
    height: 48px;
    bottom: -18px;
    right: 18px;
  }
  .admin-stat-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 11px;
    font-size: 1.05rem;
  }
  .admin-stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }
  .admin-stat-value {
    font-size: 1.55rem;
  }
}

/* Admin Topbar, Dashboard Grid, Quick Actions & Mobile Components */
.admin-topbar-title {
  min-width: 0;
}

.admin-topbar-title h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.admin-topbar-title small {
  color: #64748b;
  display: block;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.admin-topbar-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-topbar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
}

.admin-topbar-user-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f172a;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.admin-card-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}

/* Quick Actions (Desktop List -> Mobile 2-Column Tiles) */
.admin-quick-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.admin-quick-action {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.admin-quick-action:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.12);
  color: #0284c7;
}

.admin-quick-action .qa-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.admin-quick-action.qa-blue .qa-icon { background: #dbeafe; color: #1d4ed8; }
.admin-quick-action.qa-violet .qa-icon { background: #ede9fe; color: #6d28d9; }
.admin-quick-action.qa-emerald .qa-icon { background: #d1fae5; color: #047857; }
.admin-quick-action.qa-amber .qa-icon { background: #fef3c7; color: #b45309; }
.admin-quick-action.qa-cyan .qa-icon { background: #cffafe; color: #0e7490; }
.admin-quick-action.qa-slate .qa-icon { background: #e2e8f0; color: #334155; }

/* Mobile-only Welcome Card & Message Cards (Hidden on Desktop) */
.admin-mobile-welcome,
.admin-mobile-msg-list,
.admin-mobile-bottom-nav {
  display: none;
}

.admin-footer {
  padding: 1.5rem 2rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

/* 4 Trendy Gradient Palettes */
.admin-stat-card.stat-ocean {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 60%, #38bdf8 100%);
  box-shadow: 0 12px 24px -6px rgba(2, 132, 199, 0.42);
}
.admin-stat-card.stat-ocean:hover {
  box-shadow: 0 18px 30px -6px rgba(2, 132, 199, 0.52);
}

.admin-stat-card.stat-violet {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #a855f7 100%);
  box-shadow: 0 12px 24px -6px rgba(124, 58, 237, 0.42);
}
.admin-stat-card.stat-violet:hover {
  box-shadow: 0 18px 30px -6px rgba(124, 58, 237, 0.52);
}

.admin-stat-card.stat-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 60%, #34d399 100%);
  box-shadow: 0 12px 24px -6px rgba(16, 185, 129, 0.42);
}
.admin-stat-card.stat-emerald:hover {
  box-shadow: 0 18px 30px -6px rgba(16, 185, 129, 0.52);
}

.admin-stat-card.stat-sunset {
  background: linear-gradient(135deg, #f97316 0%, #f43f5e 65%, #fb7185 100%);
  box-shadow: 0 12px 24px -6px rgba(244, 63, 94, 0.42);
}
.admin-stat-card.stat-sunset:hover {
  box-shadow: 0 18px 30px -6px rgba(244, 63, 94, 0.52);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f8fafc;
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
}

.admin-table td {
  padding: 0.95rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: #f8fafc;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .values-grid,
  .news-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .clients-marquee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .admin-sidebar {
    transform: translateX(-100%);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
  }
  .admin-main-content {
    margin-left: 0;
  }
  .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    height: auto;
    min-height: 64px;
    padding: 0.75rem 1.15rem 0.75rem 4.35rem;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  }
  .admin-sidebar-toggle {
    top: 13px;
    left: 14px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .admin-sidebar-toggle i {
    transform: rotate(180deg);
  }
  .admin-layout.sidebar-mobile-open .admin-sidebar {
    transform: translateX(0);
  }
  .admin-layout.sidebar-mobile-open .admin-sidebar-backdrop {
    opacity: 1;
    visibility: visible;
  }
  .admin-layout.sidebar-mobile-open .admin-sidebar-toggle {
    top: 18px;
    left: 243px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
  }
  .admin-layout.sidebar-mobile-open .admin-sidebar-toggle i {
    transform: rotate(0deg);
  }

  /* Responsive Admin Dashboard & Subpages (<= 992px) */
  .admin-body {
    padding: 1.25rem;
  }
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .admin-body div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .admin-body .admin-table {
    min-width: 560px;
  }
  .admin-body div[style*="overflow-x"] {
    -webkit-overflow-scrolling: touch;
  }
  .admin-footer {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1rem calc(5.25rem + env(safe-area-inset-bottom, 0px)) 1rem;
    gap: 0.35rem;
  }

  /* Mobile Sticky Bottom Navigation Bar */
  .admin-mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    padding: 0.4rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom, 0px)) 0.35rem;
  }
  .admin-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    padding: 0.35rem 0.2rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .admin-bottom-nav-item:active {
    transform: scale(0.95);
  }
  .admin-bottom-nav-icon {
    position: relative;
    width: 34px;
    height: 28px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .admin-bottom-nav-item.active {
    color: #0284c7;
  }
  .admin-bottom-nav-item.active .admin-bottom-nav-icon {
    background: #e0f2fe;
    color: #0284c7;
  }
  .admin-bottom-nav-badge {
    position: absolute;
    top: -3px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 99px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
    border: 2px solid #ffffff;
  }
  .admin-bottom-nav-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .admin-body {
    padding: 1rem;
  }
  .admin-card {
    padding: 1.15rem;
    border-radius: 16px;
    margin-bottom: 1.15rem;
  }
  .admin-card-header h3 {
    font-size: 1.02rem;
  }

  /* Compact Mobile Topbar */
  .admin-topbar-title h2 {
    font-size: 1.05rem;
  }
  .admin-topbar-title small {
    display: none;
  }
  .admin-topbar-user-name,
  .admin-topbar-web-text {
    display: none;
  }
  .admin-topbar-actions {
    gap: 0.6rem;
  }
  .admin-topbar-web-btn {
    padding: 0.45rem 0.65rem !important;
    min-width: 36px;
    justify-content: center;
  }
  .admin-topbar-avatar {
    width: 34px;
    height: 34px;
  }

  /* Mobile Welcome Hero Card */
  .admin-mobile-welcome {
    display: block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #0284c7 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 1.15rem 1.15rem 1rem 1.15rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 12px 26px -8px rgba(15, 23, 42, 0.45);
  }
  .admin-mobile-welcome::before,
  .admin-mobile-welcome::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
  }
  .admin-mobile-welcome::before {
    width: 130px;
    height: 130px;
    top: -45px;
    right: -30px;
    background: rgba(56, 189, 248, 0.18);
  }
  .admin-mobile-welcome::after {
    width: 85px;
    height: 85px;
    bottom: -35px;
    right: 45px;
    background: rgba(74, 222, 128, 0.14);
  }
  .admin-mobile-welcome-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
  }
  .admin-mobile-welcome-eyebrow {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 0.2rem;
  }
  .admin-mobile-welcome h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.2rem 0;
    line-height: 1.25;
  }
  .admin-mobile-welcome p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
  }
  .admin-mobile-bell {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    text-decoration: none;
  }
  .admin-mobile-bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 99px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    border: 2px solid #0f172a;
  }
  .admin-mobile-welcome-pills {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .admin-mobile-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.36rem 0.7rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.73rem;
    font-weight: 600;
    text-decoration: none;
  }
  .admin-mobile-pill.has-alert {
    background: rgba(239, 68, 68, 0.26);
    border-color: rgba(252, 165, 165, 0.45);
    color: #fee2e2;
  }

  /* Quick Actions as 2-Column Mobile Tiles */
  .admin-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
  .admin-quick-action {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.85rem;
    border-radius: 14px;
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .admin-quick-action .qa-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  /* Switch Recent Messages from Table to Mobile Cards */
  .admin-desktop-table {
    display: none;
  }
  .admin-mobile-msg-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }
  .admin-mobile-msg-card {
    display: block;
    padding: 0.9rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .admin-mobile-msg-card.is-unread {
    background: #fff7ed;
    border-color: #fed7aa;
    border-left: 4px solid #f97316;
  }
  .admin-mobile-msg-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
  }
  .admin-mobile-msg-sender strong {
    display: block;
    font-size: 0.92rem;
    color: #0f172a;
    line-height: 1.3;
  }
  .admin-mobile-msg-sender small {
    display: block;
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 0.15rem;
  }
  .admin-msg-badge {
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .admin-msg-badge.badge-new {
    background: #fee2e2;
    color: #dc2626;
  }
  .admin-msg-badge.badge-read {
    background: #e0f2fe;
    color: #0369a1;
  }
  .admin-mobile-msg-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
  }
  .admin-mobile-msg-product {
    font-weight: 700;
    color: #0284c7;
  }
  .admin-mobile-msg-time {
    color: #94a3b8;
  }
  .admin-mobile-empty {
    text-align: center;
    padding: 1.75rem 1rem;
    color: #94a3b8;
  }
  .admin-mobile-empty i {
    font-size: 1.75rem;
    margin-bottom: 0.4rem;
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-content .hero-title {
    font-size: 2.2rem;
  }
  .values-grid,
  .news-grid,
  .testimonials-grid,
  .footer-grid,
  .clients-marquee-grid {
    grid-template-columns: 1fr;
  }
  .top-notice-content {
    flex-direction: column;
    text-align: center;
  }
  .top-contact-quick {
    display: none;
  }
  .cta-banner-wrapper {
    padding: 2.5rem 1.5rem;
  }
  .cta-banner-content h2 {
    font-size: 1.8rem;
  }
}

/* Rich Content Typography (Output from Word-like Editor) */
.rich-content p {
  margin-bottom: 1rem;
}

.rich-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin: 1.5rem 0 0.75rem 0;
}

.rich-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.35rem 0 0.6rem 0;
}

.rich-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 1.1rem 0 0.5rem 0;
}

.rich-content ul,
.rich-content ol {
  margin: 0.75rem 0 1.25rem 1.75rem;
  padding-left: 0.35rem;
}

.rich-content ul {
  list-style-type: disc;
}

.rich-content ul ul {
  list-style-type: circle;
}

.rich-content ol {
  list-style-type: decimal;
}

.rich-content ol ol {
  list-style-type: lower-alpha;
}

.rich-content li {
  margin-bottom: 0.45rem;
}

.rich-content blockquote {
  border-left: 4px solid #0284c7;
  background: #f0f9ff;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #334155;
}

.rich-content a {
  color: #0284c7;
  text-decoration: underline;
}

.rich-content hr {
  border: none;
  border-top: 2px solid #e2e8f0;
  margin: 1.5rem 0;
}

.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.rich-content table th,
.rich-content table td {
  border: 1px solid #cbd5e1;
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.rich-content table th {
  background: #f1f5f9;
  font-weight: 700;
  color: #0f172a;
}
