/* ==========================================================================
   CYBERTECH WEBSITE - CLEAN SIMPLE WHITE THEME
   - Admin Profile in Header (Login & Management)
   - Big Cyber Logo Banner
   - About Us Section
   - Services Offered (Dynamic & Admin Editable)
   - Products Displayed (Dynamic & Admin Image/Price Upload)
   - Customer Reviews with "Write a Review" Feature
   - Query Form (Dispatches to cybertech554@gmail.com)
   ========================================================================== */

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

:root {
  --bg-body: #ffffff;
  --bg-card: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-alt: #f1f5f9;
  --bg-input: #ffffff;
  
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --blue: #2563eb;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --border-subtle: #e2e8f0;
  --border-focus: #0284c7;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 35px -10px rgba(2, 132, 199, 0.16), 0 8px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-modal: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-body);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER & NAVBAR (WITH ADMIN PROFILE)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-text h1 span {
  color: var(--primary);
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Admin Profile Button in Header */
.admin-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-profile-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.admin-profile-btn.logged-in {
  background: #ecfdf5;
  border-color: var(--green);
  color: #065f46;
}

.admin-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.admin-profile-btn.logged-in .admin-avatar {
  background: var(--green);
}

.admin-profile-wrapper {
  position: relative;
  display: inline-block;
}

.admin-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px -6px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 8px;
  z-index: 1050;
  animation: dropdown-fade-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-dropdown-menu.active {
  display: block;
}

@keyframes dropdown-fade-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.admin-dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-surface);
  border-radius: 8px;
  margin-bottom: 4px;
}

.admin-dropdown-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.admin-dropdown-user {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.admin-dropdown-role {
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
}

.admin-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 0;
}

.admin-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: none;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.admin-dropdown-item:hover {
  background: var(--bg-surface);
  color: var(--primary);
}

.admin-dropdown-item.danger {
  color: #dc2626;
}

.admin-dropdown-item.danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.admin-dropdown-item .item-icon {
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.btn-danger {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

.btn-danger:hover {
  background: #dc2626 !important;
}

/* Floating Toast Notifications */
.cyber-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.cyber-toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 440px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 14px 35px -4px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-subtle);
  border-left: 5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.25s ease;
}

.cyber-toast.success {
  border-left-color: #10b981;
}

.cyber-toast.error {
  border-left-color: #ef4444;
}

.cyber-toast.info {
  border-left-color: #0284c7;
}

.cyber-toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cyber-toast-icon {
  font-size: 18px;
}

.cyber-toast-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.cyber-toast-close:hover {
  color: var(--text-main);
}

@keyframes toast-in {
  from {
    transform: translateX(40px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-main);
}

/* ==========================================================================
   BANNER & BIG CYBER LOGO SECTION
   ========================================================================== */
.hero-banner-section {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.hero-banner-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.big-logo-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.big-cyber-logo {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.25), 0 0 0 1px var(--border-subtle);
  transition: transform 0.3s ease;
}

.big-cyber-logo:hover {
  transform: scale(1.05) rotate(-2deg);
}

.banner-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.banner-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.banner-title span {
  color: var(--primary);
}

.banner-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 30px;
}

.banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.about-card-left {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.about-card-left h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}

.about-card-left p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.highlight-box h4 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.highlight-box p {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0;
}

.about-features-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.feat-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feat-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.feat-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SERVICES OFFERED SECTION (DYNAMIC)
   ========================================================================== */
.services-section {
  padding: 80px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.admin-card-controls {
  display: none;
  gap: 6px;
}

body.admin-mode .admin-card-controls {
  display: flex;
}

.admin-only-btn {
  display: none !important;
}

body.admin-mode .admin-only-btn {
  display: inline-flex !important;
}

.btn-ctrl {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-ctrl.edit {
  background: #e0f2fe;
  color: #0369a1;
}

.btn-ctrl.del {
  background: #fee2e2;
  color: #b91c1c;
}

.service-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--primary);
}

.service-inquire-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.service-inquire-link:hover {
  gap: 10px;
}

/* ==========================================================================
   PRODUCTS DISPLAYED SECTION (DYNAMIC & WITH PRICES)
   ========================================================================== */
.products-section {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.product-img-wrap {
  width: 100%;
  height: 190px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.product-admin-bar {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  gap: 4px;
  z-index: 5;
}

body.admin-mode .product-admin-bar {
  display: flex;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.product-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-pricing-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.product-mrp {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: 6px;
}

.product-stock {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green);
}

.btn-buy-inquire {
  width: 100%;
  padding: 9px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-buy-inquire:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   CUSTOMER REVIEWS SECTION (WITH WRITE A REVIEW BUTTON)
   ========================================================================== */
.reviews-section {
  padding: 80px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.reviews-header-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.rating-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  margin-top: 8px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.review-card-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}

.review-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.review-admin-del {
  display: none;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-admin-del:hover {
  background: #ef4444;
  color: #ffffff;
}

body.admin-mode .review-admin-del {
  display: inline-block;
}

.empty-state-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: #ffffff;
  border: 1.5px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.review-content {
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.author-meta h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.author-meta span {
  font-size: 11.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   CONTACT & QUERY FORM SECTION (DISPATCHES TO cybertech554@gmail.com)
   ========================================================================== */
.contact-section {
  padding: 80px 0;
  background: #ffffff;
}

.contact-card-wrap {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}

.contact-info-col {
  padding: 44px;
  background: #ffffff;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-col h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.contact-info-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.c-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.c-text h5 {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.c-text a, .c-text span {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
}

.c-text a:hover {
  color: var(--primary);
}

.contact-form-col {
  padding: 44px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

/* Query Form On-Page Status Alert */
.query-alert {
  padding: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  animation: fadeInDown 0.3s ease;
}

.query-alert.success {
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  color: #065f46;
}

.query-alert.loading {
  background: #f0f9ff;
  border: 1.5px solid #0284c7;
  color: #0369a1;
}

.query-alert.error {
  background: #fef2f2;
  border: 1.5px solid #ef4444;
  color: #991b1b;
}

.query-alert-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.query-alert.success .query-alert-icon {
  background: #10b981;
  color: #ffffff;
}

.query-alert.loading .query-alert-icon {
  background: #0284c7;
  color: #ffffff;
  animation: spin 1s linear infinite;
}

.query-alert.error .query-alert-icon {
  background: #ef4444;
  color: #ffffff;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   MODALS (ADMIN LOGIN, ADMIN SETTINGS, WRITE A REVIEW)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-enter 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-card.wide {
  max-width: 880px;
}

@keyframes modal-enter {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.btn-close-modal:hover {
  color: var(--red);
  border-color: var(--red);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* Admin Tabs */
.admin-tabs-nav {
  display: flex;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 24px;
  gap: 8px;
  overflow-x: auto;
}

.admin-tab-btn {
  padding: 12px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}

.admin-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.admin-tab-view {
  display: none;
}

.admin-tab-view.active {
  display: block;
}

/* Image Upload Dropzone */
.image-upload-box {
  border: 2px dashed var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.image-upload-box:hover {
  background: #bae6fd;
}

.image-preview-area {
  display: none;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
}

.image-preview-thumb {
  width: 130px;
  height: 95px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.btn-clear-preview {
  position: absolute;
  top: -8px;
  right: calc(50% - 75px);
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 13px;
}

/* Interactive Star Rating Selector */
.star-rating-picker {
  display: flex;
  gap: 6px;
  font-size: 28px;
  cursor: pointer;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.star-rating-picker .star {
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating-picker .star.active,
.star-rating-picker .star:hover,
.star-rating-picker .star.hover {
  color: #f59e0b;
  transform: scale(1.15);
}

/* Admin Tables */
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-top: 14px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.admin-table th {
  background: var(--bg-surface);
  padding: 10px 14px;
  font-weight: 700;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11px;
  text-transform: uppercase;
}

.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

/* Admin Only Controls (Visible only when Admin is logged in) */
.admin-only-btn {
  display: none !important;
}

body.admin-mode .admin-only-btn {
  display: inline-flex !important;
}

/* Reviews Filter Pills & Load More */
.review-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.review-filter-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-filter-btn:hover,
.review-filter-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.load-more-wrap {
  text-align: center;
  margin-top: 36px;
}

/* Admin CMS Form Fieldsets */
.admin-cms-fieldset {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 22px;
  background: var(--bg-surface);
}

.admin-cms-fieldset legend {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--primary);
  padding: 0 10px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-card-wrap {
    grid-template-columns: 1fr;
  }
  .contact-info-col {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .banner-title {
    font-size: 32px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ADMIN MODE: TOP STATUS BAR & INLINE SECTION EDITORS
   ========================================================================== */
.admin-top-bar {
  display: none;
  background: #0f172a;
  color: #f8fafc;
  padding: 10px 0;
  border-bottom: 2px solid #0284c7;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.admin-mode .admin-top-bar {
  display: block;
}

body.admin-mode .site-header {
  top: 48px;
}

.admin-top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-top-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-family: var(--font-main);
}

.admin-pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-admin-top {
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #334155;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-admin-top:hover {
  background: #334155;
  border-color: #0284c7;
}

.btn-admin-top.primary {
  background: #0284c7;
  border-color: #0284c7;
}

.btn-admin-top.primary:hover {
  background: #0369a1;
}

.btn-admin-top.danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #fca5a5;
}

.btn-admin-top.danger:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Section Admin Bar (Directly underneath each section) */
.section-admin-bar {
  display: none;
  background: #f0fdf4;
  border: 1.5px dashed #22c55e;
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 28px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.08);
}

body.admin-mode .section-admin-bar {
  display: flex;
}

.section-admin-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #15803d;
  font-family: var(--font-display);
}

.section-admin-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-section-edit {
  background: #ffffff;
  border: 1.5px solid #0284c7;
  color: #0284c7;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.btn-section-edit:hover,
.btn-section-edit.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transform: translateY(-1px);
}

.btn-section-edit.green {
  border-color: #10b981;
  color: #059669;
}

.btn-section-edit.green:hover,
.btn-section-edit.green.active {
  background: #10b981;
  color: #ffffff;
}

.btn-section-edit.purple {
  border-color: #8b5cf6;
  color: #7c3aed;
}

.btn-section-edit.purple:hover,
.btn-section-edit.purple.active {
  background: #8b5cf6;
  color: #ffffff;
}

/* Inline Section Admin Panel (Appears right under that section, no popup) */
.inline-admin-panel {
  display: none;
  background: #ffffff;
  border: 2px solid #0284c7;
  border-radius: 14px;
  padding: 26px;
  margin-top: 18px;
  box-shadow: 0 12px 35px rgba(2, 132, 199, 0.12);
  animation: panelSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.inline-admin-panel.active {
  display: block;
}

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

.inline-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.inline-panel-header h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-inline-panel {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-close-inline-panel:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Admin Users Management Box */
.admin-users-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}

