/* Modern UI Design for PAGENET IT Solutions */
:root {
  --primary: #086cc4;
  --primary-dark: #065a9e;
  --primary-light: #e6f2ff;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --secondary-light: #d1fae5;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fef3c7;
  --dark: #1e293b;
  --dark-light: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --bg: #f8fafc;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--gray-900);
  line-height: 1.6;
  scroll-behavior: auto;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }

p {
  margin: 0 0 1rem 0;
  color: var(--gray-600);
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(8, 108, 196, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Brand/Logo Styles */
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--white);
}

.brand-logo {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
  margin: 0;
  line-height: 1.2;
}

/* Navigation Styles */
nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

nav a:hover::before {
    left: 100%;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

nav a:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Active Navigation State */
nav a.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

/* Admin Logout Button */
nav a[href*="logout"] {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.5);
    color: #fecaca;
}

nav a[href*="logout"]:hover {
    background: rgba(220, 38, 38, 0.35);
    border-color: rgba(220, 38, 38, 0.7);
    color: #fecaca;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

/* Admin Button */
nav a[href*="admin/items"] {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.5);
    color: #bbf7d0;
}

nav a[href*="admin/items"]:hover {
    background: rgba(34, 197, 94, 0.35);
    border-color: rgba(34, 197, 94, 0.7);
    color: #bbf7d0;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .header .container {
    padding: 0 1rem;
    position: relative;
  }
  
  .brand {
    flex: 1;
    justify-content: flex-start;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: auto;
    max-height: 80vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu a {
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
  }
  
  .brand-name {
    font-size: 1.5rem;
  }
  
  .brand-tagline {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    width: 85%;
    right: -100%;
    max-height: 70vh;
    padding: 1.5rem;
    top: 80px;
  }
  
  .nav-menu.active {
    right: 0;
  }
}

/* Main Content */
.main {
  padding: 2rem 0;
  min-height: auto;
  overflow: visible;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  border-radius: var(--radius-xl);
  margin-bottom: 4rem;
  color: var(--white);
}

.hero-logo {
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-brand-logo {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.hero-brand-logo:hover {
  transform: scale(1.05);
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero p {
  color: var(--muted-light);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 1.125rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero p:last-of-type {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 0 0.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.button:active {
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--secondary);
}

.button.secondary:hover {
  background: var(--secondary-dark);
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Cards */
.card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.card h3 {
  margin: 0 0 1rem 0;
  color: var(--dark);
  font-size: 1.25rem;
}

.card p {
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

/* Services Section */
.services-section {
  margin: 4rem 0;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.services-section h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* Solutions Grid */
.solutions-section {
  margin: 4rem 0;
}

.solutions-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.solutions-section h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.solution-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.solution-card strong {
  display: block;
  color: var(--dark);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  flex-grow: 0;
}

.solution-card .small {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin: 0 0 1rem 0;
  flex-grow: 1;
  line-height: 1.6;
}

.solution-image-container {
  position: relative;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--gray-50);
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.solution-image:hover {
  transform: scale(1.1);
}

.solution-icon-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  border-radius: var(--radius);
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.solution-icon-placeholder:hover {
  transform: scale(1.1);
}

.solution-card:hover .solution-image,
.solution-card:hover .solution-icon-placeholder {
  transform: scale(1.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  border-radius: var(--radius-xl);
  margin: 4rem 0;
  text-align: center;
  border: 2px solid var(--primary-light);
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--primary-light);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.cta-content .button {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.cta-content .button:hover {
  background: transparent;
  color: var(--white);
}

/* Section Spacing */
section {
  margin: 4rem 0;
}

section:first-of-type {
  margin-top: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav {
    height: auto;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .brand-container {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .logo-mark {
    width: 40px;
    height: 40px;
  }
  
  .logo-icon {
    width: 100%;
    height: 100%;
  }
  
  .hero-brand-logo {
    height: 60px;
  }
  
  .footer-brand-logo {
    height: 40px;
  }
  
  .brand-name {
    font-size: 1.25rem;
  }
  
  .brand-tagline {
    font-size: 0.7rem;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .button {
    display: block;
    margin: 0.5rem auto;
    width: 100%;
    max-width: 300px;
  }
  
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-actions .button {
    margin: 0.5rem 0;
    text-align: center;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .cta-section {
    padding: 3rem 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 0;
  }
  
  .hero-brand-logo {
    height: 50px;
  }
  
  .footer-brand-logo {
    height: 35px;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .solution-card {
    padding: 1rem;
  }
  
  .cta-section {
    padding: 2rem 0;
  }
  
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .hero-actions .button {
    margin: 0.5rem 0;
    text-align: center;
    width: 100%;
    max-width: 280px;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Enhanced Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Login Form Specific Styles */
.login-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  position: relative;
  z-index: 1;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form .form-group label {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.login-form .form-group input[type="email"],
.login-form .form-group input[type="password"] {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.login-form .form-group input[type="email"]:focus,
.login-form .form-group input[type="password"]:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  transform: translateY(-1px);
}

.login-form .button {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}

/* Responsive Login Form */
@media (max-width: 768px) {
  .login-form {
    max-width: 100%;
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .login-form .form-group input[type="email"],
  .login-form .form-group input[type="password"] {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
  
  .login-form .button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .login-form {
    margin: 0.5rem;
    padding: 1.25rem;
  }
  
  .login-form .form-group input[type="email"],
  .login-form .form-group input[type="password"] {
    padding: 0.75rem 0.875rem;
    font-size: 0.9rem;
  }
  
  .login-form .button {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Large Screen Enhancements */
@media (min-width: 1200px) {
  .login-form {
    max-width: 450px;
    padding: 2.5rem;
  }
  
  .login-form .form-group input[type="email"],
  .login-form .form-group input[type="password"] {
    padding: 1.125rem 1.5rem;
    font-size: 1.05rem;
    width: 80% !important;
    max-width: 80% !important;
    margin: 0 auto;
    display: block;
  }
  
  .login-form .button {
    padding: 1.125rem 2.5rem;
    font-size: 1.15rem;
    width: 80% !important;
    max-width: 80% !important;
    margin: 0 auto;
    display: block;
  }
}

/* Extra Large Screen Enhancements */
@media (min-width: 1400px) {
  .login-form .form-group input[type="email"],
  .login-form .form-group input[type="password"] {
    width: 70% !important;
    max-width: 70% !important;
  }
  
  .login-form .button {
    width: 70% !important;
    max-width: 70% !important;
  }
}

/* Ultra Wide Screen Enhancements */
@media (min-width: 1600px) {
  .login-form .form-group input[type="email"],
  .login-form .form-group input[type="password"] {
    width: 60% !important;
    max-width: 60% !important;
  }
  
  .login-form .button {
    width: 60% !important;
    max-width: 60% !important;
  }
}

/* Table Styles */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-700);
}

.table tr:hover {
  background: var(--gray-50);
}

/* Alert Styles */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border-left: 4px solid;
}

.alert-error {
  background: #fef2f2;
  color: #dc2626;
  border-left-color: #dc2626;
}

.alert-success {
  background: #f0fdf4;
  color: #16a34a;
  border-left-color: #16a34a;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Footer */
.footer {
  border-top: 2px solid var(--primary);
  color: var(--muted-light);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
  background: var(--dark);
  width: 100%;
  overflow-x: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
}

.footer-section:first-child {
  text-align: left;
}

.footer-section:last-child {
  text-align: right;
}

.footer-section:last-child ul {
  text-align: right;
  display: inline-block;
  text-align: right;
}

/* Ensure proper alignment for footer sections */
.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section:first-child {
  align-items: flex-start;
}

.footer-section:last-child {
  align-items: flex-end;
}

.footer-section:last-child h4 {
  text-align: right;
}

.footer-section:last-child ul {
  text-align: right;
  width: auto;
  margin-left: 0;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-brand-logo {
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.footer-brand-logo:hover {
  transform: scale(1.05);
}

.footer-section p {
  color: var(--muted-light);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--muted-light);
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--primary);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--muted);
  margin: 0;
  font-size: 0.875rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1rem;
    margin-top: 3rem;
    overflow-x: auto;
    min-height: auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    min-width: 300px;
    padding: 0 1rem;
  }
  
  .footer-section {
    text-align: center;
    min-width: 250px;
    align-items: center;
  }
  
  .footer-section ul {
    text-align: center;
    align-self: center;
  }
  
  .footer-section:last-child {
    text-align: center;
    align-items: center;
  }
  
  .footer-section:last-child ul {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 1.5rem 0 1rem;
    margin-top: 2rem;
    overflow-x: auto;
  }
  
  .footer-content {
    gap: 1rem;
    min-width: 280px;
    padding: 0 0.75rem;
  }
  
  .footer-section {
    min-width: 220px;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Product Catalog Styles */
.product-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.product-card h3 {
  margin: 1rem 0;
  color: var(--dark);
  font-size: 1.25rem;
  flex-grow: 0;
}

.product-card .small {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.product-card .button {
  margin-top: auto;
  align-self: center;
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--gray-100);
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.05);
}

.product-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1rem;
  transition: transform 0.3s ease;
}

.product-icon:hover {
  transform: scale(1.1);
}

.product-icon-placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.product-icon-placeholder:hover {
  transform: scale(1.1);
}

.placeholder-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
}

/* Product Grid Layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Responsive adjustments for product cards */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .product-card {
    padding: 1.5rem;
  }
  
  .product-image {
    height: 150px;
  }
  
  .product-icon {
    width: 60px;
    height: 60px;
    padding: 0.75rem;
  }
  
  .product-icon-placeholder {
    width: 60px;
    height: 60px;
  }
  
  .placeholder-text {
    font-size: 1.25rem;
  }
  
  .solution-image,
  .solution-icon-placeholder {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .product-card {
    padding: 1rem;
  }
  
  .product-image {
    height: 120px;
  }
  
  .product-icon-placeholder {
    width: 50px;
    height: 50px;
  }
  
  .placeholder-text {
    font-size: 1rem;
  }
  
  .solution-image,
  .solution-icon-placeholder {
    width: 60px;
    height: 60px;
  }
}

/* Item Detail Page Styles */
.item-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.item-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.item-image-section {
  position: sticky;
  top: 120px;
}

.item-main-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--white);
}

.item-main-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.item-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.item-image-placeholder .placeholder-text {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.item-info-section {
  padding-top: 1rem;
}

.item-badge {
  margin-bottom: 1rem;
}

.item-title {
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
  color: var(--dark);
  line-height: 1.2;
}

.item-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

.item-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price-label {
  font-weight: 600;
  color: var(--gray-600);
}

.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.item-content {
  margin-bottom: 3rem;
}

.item-description,
.item-features {
  margin-bottom: 2.5rem;
}

.item-description h2,
.item-features h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--dark);
  position: relative;
}

.item-description h2::after,
.item-features h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.description-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-700);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 1.1rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.feature-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.2rem;
}

.feature-item:last-child {
  border-bottom: none;
}

.item-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 2rem 0;
  border-top: 1px solid var(--gray-200);
}

/* Responsive adjustments for item detail page */
@media (max-width: 768px) {
  .item-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .item-image-section {
    position: static;
    order: 1;
  }
  
  .item-info-section {
    order: 2;
    padding-top: 0;
  }
  
  .item-title {
    font-size: 2rem;
  }
  
  .item-main-image,
  .item-image-placeholder {
    height: 250px;
  }
  
  .item-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .item-actions .button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .item-detail-container {
    padding: 1rem 0;
  }
  
  .item-header {
    gap: 1.5rem;
  }
  
  .item-title {
    font-size: 1.75rem;
  }
  
  .item-subtitle {
    font-size: 1.1rem;
  }
  
  .item-main-image,
  .item-image-placeholder {
    height: 200px;
  }
  
  .item-image-placeholder .placeholder-text {
    font-size: 3rem;
  }
  
  .description-content {
    font-size: 1rem;
  }
  
  .feature-item {
    font-size: 1rem;
    padding: 0.5rem 0 0.5rem 1.25rem;
  }
}

/* Alternative header with landscape logo */
.header-landscape {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.header-landscape .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  gap: 2rem;
}

.header-landscape .brand-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.header-landscape .logo-mark {
  width: auto;
  height: 60px;
  background: transparent;
  padding: 0;
}

.header-landscape .logo-icon {
  height: 100%;
  width: auto;
  filter: none;
}

.header-landscape .brand-text {
  display: none;
}

/* Admin Table Icon Styles */
.table .icon {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  background: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.table .icon:hover {
  transform: scale(1.1);
  border-color: var(--primary);
}

.table .icon-placeholder {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.table .icon-placeholder:hover {
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(8, 108, 196, 0.15);
}

.table .icon-placeholder:active {
  transform: scale(0.95);
}

.table .icon-placeholder .placeholder-text {
  font-size: 1.2rem;
  color: var(--gray-600);
  transition: color 0.2s ease;
}

.table .icon-placeholder:hover .placeholder-text {
  color: var(--primary);
}

/* Admin Table Specific Styles */
.table th:first-child,
.table td:first-child {
  width: 60px;
  text-align: center;
}

.table th:nth-child(2),
.table td:nth-child(2) {
  width: 80px;
  text-align: center;
}

.table th:nth-child(3),
.table td:nth-child(3) {
  min-width: 150px;
}

.table th:nth-child(4),
.table td:nth-child(4) {
  width: 100px;
  text-align: center;
}

.table th:nth-child(5),
.table td:nth-child(5) {
  width: 80px;
  text-align: center;
}

.table th:nth-child(6),
.table td:nth-child(6) {
  width: 120px;
  text-align: center;
}

.table th:last-child,
.table td:last-child {
  width: 150px;
  text-align: center;
}

/* Responsive adjustments for admin table */
@media (max-width: 768px) {
  .table {
    font-size: 0.875rem;
  }
  
  .table .icon {
    width: 32px;
    height: 32px;
  }
  
  .table th:nth-child(2),
  .table td:nth-child(2) {
    width: 60px;
  }
  
  .table th:nth-child(3),
  .table td:nth-child(3) {
    min-width: 120px;
  }
  
  .table th:last-child,
  .table td:last-child {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .table {
    font-size: 0.75rem;
  }
  
  .table .icon {
    width: 28px;
    height: 28px;
  }
  
  .table th:first-child,
  .table td:first-child {
    width: 50px;
  }
  
  .table th:nth-child(2),
  .table td:nth-child(2) {
    width: 50px;
  }
  
  .table th:nth-child(3),
  .table td:nth-child(3) {
    min-width: 100px;
  }
  
  .table th:nth-child(4),
  .table td:nth-child(4),
  .table th:nth-child(5),
  .table td:nth-child(5) {
    width: 60px;
  }
  
  .table th:nth-child(6),
  .table td:nth-child(6) {
    width: 80px;
  }
  
  .table th:last-child,
  .table td:last-child {
    width: 100px;
  }
}

/* Contact Form Styles */
.contact-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-hero {
  text-align: center;
  margin: 3rem 0 4rem;
  animation: fadeInUp 0.8s ease-out;
}

.contact-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin: 2rem 0 4rem;
  align-items: start;
}

/* Info Card Styles */
.info-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: sticky;
  top: 120px;
  height: fit-content;
}

.info-header {
  text-align: center;
  margin-bottom: 3rem;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(10px);
}

.info-icon svg {
  color: var(--white);
}

.info-header h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.info-header p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  color: var(--white);
}

.contact-text h4 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  color: var(--white);
}

.contact-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-size: 0.95rem;
}

.contact-text a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-text a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Form Card Styles */
.form-card {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.form-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.form-icon svg {
  color: var(--primary);
}

.form-header h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.form-header p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.required {
  color: #dc2626;
  font-weight: 700;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  color: var(--gray-800);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  transform: translateY(-1px);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.char-count {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.current-count {
  color: var(--primary);
  font-weight: 600;
}

.form-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--gray-100);
}

.submit-btn,
.reset-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  min-width: 160px;
  justify-content: center;
}

.submit-btn {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.submit-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.reset-btn {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}

.reset-btn:hover {
  background: var(--gray-200);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}

/* Enhanced Alert Styles */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  border: 1px solid;
  animation: slideInDown 0.5s ease-out;
}

.alert-success {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
}

.alert-error {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

.alert-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.alert-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.alert-content p {
  margin: 0;
  line-height: 1.5;
}

/* Honeypot field - hidden from users */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .contact-container {
    gap: 3rem;
  }
  
  .info-card,
  .form-card {
    padding: 2.5rem;
  }
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .info-card {
    position: static;
    order: 2;
  }
  
  .contact-form {
    order: 1;
  }
  
  .contact-hero {
    margin: 2rem 0 3rem;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 0 0.75rem;
  }
  
  .contact-hero {
    margin: 1.5rem 0 2.5rem;
  }
  
  .info-card,
  .form-card {
    padding: 2rem 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .submit-btn,
  .reset-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .contact-item {
    padding: 1.25rem;
  }
  
  .contact-details {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .info-card,
  .form-card {
    padding: 1.5rem 1rem;
  }
  
  .contact-item {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .contact-icon {
    width: 36px;
    height: 36px;
  }
  
  .form-input,
  .form-textarea {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
  
  .form-textarea {
    min-height: 120px;
  }
  
  .submit-btn,
  .reset-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Animations */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus states for better accessibility */
.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Form group focus effects */
.form-group.focused label {
  color: var(--primary);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.form-group.focused .form-input,
.form-group.focused .form-textarea {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  transform: translateY(-1px);
}

/* Loading state for submit button */
.submit-btn.loading {
  position: relative;
  color: transparent;
}

.submit-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Enhanced hover effects for contact items */
.contact-item {
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Form validation visual feedback */
.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.form-input:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

/* Enhanced button animations */
.submit-btn,
.reset-btn {
  position: relative;
  overflow: hidden;
}

.submit-btn::before,
.reset-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.submit-btn:hover::before,
.reset-btn:hover::before {
  left: 100%;
}

/* Info card sticky behavior enhancement */
@media (min-width: 993px) {
  .info-card {
    position: sticky;
    top: 120px;
    transition: all 0.3s ease;
  }
  
  .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(8, 108, 196, 0.3);
  }
}

/* Mobile touch enhancements */
@media (max-width: 768px) {
  .contact-item {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .form-input,
  .form-textarea {
    -webkit-appearance: none;
    border-radius: var(--radius-lg);
  }
  
  .submit-btn,
  .reset-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

/* Admin Contact Queries Styles */
.admin-stats {
  display: flex;
  gap: 1rem;
}

.admin-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.badge-new { background: var(--primary-light); color: var(--primary-dark); }
.badge-read { background: var(--gray-100); color: var(--gray-700); }
.badge-replied { background: var(--secondary-light); color: var(--secondary-dark); }
.badge-closed { background: var(--gray-200); color: var(--gray-600); }

.query-row.query-new { background: var(--primary-light); }
.query-row.query-read { background: var(--white); }
.query-row.query-replied { background: var(--secondary-light); }
.query-row.query-closed { background: var(--gray-50); }

.status-select {
  padding: 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.875rem;
}

.button.small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Filters Section Styles */
.filters-section {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 2rem;
}

.filters-form {
  width: 100%;
}

.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.875rem;
}

.filter-group input,
.filter-group select {
  padding: 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.filter-actions {
  display: flex;
  gap: 0.75rem;
  align-items: end;
}

.filter-actions .button {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* Results Summary */
.results-summary {
  background: var(--gray-50);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary);
}

.results-summary p {
  margin: 0;
  color: var(--gray-700);
  font-weight: 500;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.pagination-info {
  color: var(--gray-600);
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination-controls .button {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  min-width: auto;
}

.pagination-controls .button:not(.secondary) {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--gray-600);
  margin: 0;
}

/* Responsive Design for Filters */
@media (max-width: 768px) {
  .filters-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .filter-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .filter-actions .button {
    width: 100%;
  }
  
  .pagination {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .filters-section {
    padding: 1rem;
  }
  
  .pagination {
    padding: 1rem;
  }
  
  .pagination-controls .button {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
}

/* Query Detail Styles */
.query-detail-container {
  max-width: 1000px;
  margin: 0 auto;
}

.query-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.query-meta h3 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
}

.query-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.query-date {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.query-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.query-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.info-section {
  margin-bottom: 2rem;
}

.info-section h4 {
  margin: 0 0 1rem 0;
  color: var(--gray-700);
  font-size: 1.1rem;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.info-item label {
  font-weight: 600;
  color: var(--gray-600);
  min-width: 100px;
}

.info-item span {
  color: var(--gray-800);
  text-align: right;
}

.user-agent {
  font-size: 0.75rem;
  max-width: 200px;
  word-break: break-all;
}

.query-message h4 {
  margin: 0 0 1rem 0;
  color: var(--gray-700);
  font-size: 1.1rem;
}

.message-content {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  line-height: 1.6;
  color: var(--gray-800);
}

.query-footer {
  padding-top: 2rem;
  border-top: 2px solid var(--gray-200);
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--gray-500);
}

/* Responsive admin styles */
@media (max-width: 768px) {
  .query-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .query-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .query-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .contact-actions {
    flex-direction: column;
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .info-item span {
    text-align: left;
  }
}

/* Admin Profile Styles */
.profile-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.profile-header {
  text-align: center;
  margin-bottom: 3rem;
}

.profile-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.profile-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin: 0;
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.profile-section:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-100);
}

.section-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
}

.section-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Info Grid Styles */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.info-item label {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-weight: 500;
  color: var(--gray-800);
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  min-width: 120px;
  text-align: center;
}

/* Password Form Styles */
.password-form {
  max-width: 500px;
}

.password-form .form-group {
  margin-bottom: 1.5rem;
}

.password-form label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.required {
  color: #dc2626;
  font-weight: 700;
}

.password-form .form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.password-form .form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  transform: translateY(-1px);
}

.password-requirements {
  margin-top: 0.5rem;
}

.password-requirements small {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 0.75rem;
}

.strength-bar {
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.strength-fill {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.strength-fill.strength-weak {
  width: 33.33%;
  background: #dc2626;
}

.strength-fill.strength-medium {
  width: 66.66%;
  background: #f59e0b;
}

.strength-fill.strength-strong {
  width: 100%;
  background: #16a34a;
}

.strength-text {
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
}

.password-form .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-100);
}

.password-form .button {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  min-width: 140px;
}

/* Quick Actions Styles */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-actions .button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  text-decoration: none;
  justify-content: center;
}

.quick-actions .button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.action-icon {
  font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-container {
    padding: 1rem;
  }
  
  .profile-header h2 {
    font-size: 2rem;
  }
  
  .profile-section {
    padding: 1.5rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .info-value {
    min-width: auto;
    width: 100%;
    text-align: left;
  }
  
  .password-form .form-actions {
    flex-direction: column;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .profile-header h2 {
    font-size: 1.75rem;
  }
  
  .profile-header p {
    font-size: 1rem;
  }
  
  .section-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .section-icon {
    font-size: 1.5rem;
  }
}