/*
 * Suleiman Agri Company - Consolidated CSS
 * All styles combined into one main file for better performance
 * Last updated: 2025
 */

/* Import Advanced Animations */
@import url('animations.css');

/* ========================================
   CSS VARIABLES & ROOT STYLES
   ======================================== */

:root {
  /* SAC Brand Colors */
  --primary-color: #009c49;
  --primary-dark: #007537;
  --secondary-color: #6c757d;
  --accent-color: #ffc107;
  --accent-dark: #e0a800;
  --light-color: #f8f9fa;
  --dark-color: #232323;
  --gray-color: #6c757d;
  --danger-color: #dc3545;
  --success-color: #20c997;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  
  /* Admin Colors */
  --admin-primary: #007bff;
  --admin-secondary: #6c757d;
  --admin-success: #28a745;
  --admin-danger: #dc3545;
  --admin-warning: #ffc107;
  --admin-info: #17a2b8;
  --admin-light: #f8f9fa;
  --admin-dark: #343a40;
  
  /* Gray Scale */
  --admin-gray-100: #f8f9fa;
  --admin-gray-200: #e9ecef;
  --admin-gray-300: #dee2e6;
  --admin-gray-400: #ced4da;
  --admin-gray-500: #adb5bd;
  --admin-gray-600: #6c757d;
  --admin-gray-700: #495057;
  --admin-gray-800: #343a40;
  --admin-gray-900: #212529;
  
  /* Typography */
  --font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.5;
  
  /* Spacing */
  --border-radius: 0.375rem;
  --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow-sm: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.075);
  --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  
  /* Transitions & Animations */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Admin Header */
  --header-height: 68px;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: #444;
  background-color: #ffffff;
  scroll-behavior: smooth;
  overflow-x: hidden;
  padding-top: 0;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Admin Body Styles */
body.admin-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--admin-gray-800);
  background-color: var(--admin-gray-100);
  margin: 0;
  padding: var(--header-height) 0 0 0;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--dark-color);
}

h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  font-weight: 700; 
}

h2 { 
  font-size: clamp(2rem, 4vw, 3rem); 
}

h3 { 
  font-size: clamp(1.5rem, 3vw, 2rem); 
}

h4 { 
  font-size: clamp(1.25rem, 2.5vw, 1.5rem); 
}

p {
  margin-bottom: 1rem;
}

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

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

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

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */

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

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 100vh;
}

/* Fallback: if a page includes the fixed admin header but forgets body.admin-page */
body:not(.admin-page) .admin-container {
  padding-top: var(--header-height);
}

/* ========================================
   HEADER & NAVIGATION STYLES
   ======================================== */

.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 80px !important;
  z-index: 999999 !important;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  animation: slideInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--transition-fast);
  height: 100%;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(0, 156, 73, 0.3));
}

.logo img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.logo h1 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
}

/* Navigation Styles */
nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
  text-decoration: none;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: translateX(-50%);
  transition: width var(--transition-bounce);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  transition: var(--transition);
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: all var(--transition-bounce);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--primary-color);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0) translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--primary-color);
}

/* ========================================
   ADMIN HEADER & SIDEBAR
   ======================================== */

.admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  height: auto;
  background-color: #fff;
  border-bottom: 1px solid var(--admin-gray-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1000;
  box-shadow: var(--box-shadow-sm);
}

.admin-content {
  margin-left: 250px;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  background-color: var(--admin-gray-100);
  padding: 1.5rem;
  transition: margin-left var(--transition);
}

/* Collapsed sidebar state */
body.sidebar-collapsed .admin-sidebar {
  width: 72px;
}

body.sidebar-collapsed .admin-content {
  margin-left: 72px;
}

body.sidebar-collapsed .admin-sidebar .sidebar-header h3,
body.sidebar-collapsed .admin-sidebar .nav-text,
body.sidebar-collapsed .admin-sidebar .sidebar-divider {
  display: none !important;
}

body.sidebar-collapsed .admin-sidebar .nav-link {
  justify-content: center;
}

body.sidebar-collapsed .admin-sidebar i {
  margin-right: 0 !important;
}

.admin-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 250px;
  height: calc(100vh - var(--header-height));
  background-color: #fff;
  border-right: 1px solid var(--admin-gray-300);
  overflow-y: auto;
  z-index: 999;
  transition: transform var(--transition);
}

/* Mobile show/hide */
.admin-sidebar.show {
  transform: translateX(0) !important;
}
@media (max-width: 992px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-content {
    margin-left: 0;
  }
}

.admin-logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--admin-primary);
}

.admin-logo img {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
}

.admin-logo h1 {
  font-size: 1.25rem;
  margin: 0;
}

/* ========================================
   HERO VIDEO SECTION
   ======================================== */

.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  margin-top: 0;
}

.hero-slider, .hero-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video, .hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content-zone {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.hero-content {
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 3;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
  border-radius: 20px;
  z-index: -1;
}

.hero-content > * {
  position: relative;
  z-index: 2;
}

.hero-subheading {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1s;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-heading {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.5s;
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.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;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--gray-color);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Button Size Utilities */
.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

/* Button Outline Variations */
.btn-outline-primary {
  background-color: transparent;
  color: var(--admin-primary, #007bff);
  border: 1px solid var(--admin-primary, #007bff);
}

.btn-outline-primary:hover {
  background-color: var(--admin-primary, #007bff);
  color: white;
}

.btn-outline-secondary {
  background-color: transparent;
  color: var(--admin-secondary, #6c757d);
  border: 1px solid var(--admin-secondary, #6c757d);
}

.btn-outline-secondary:hover {
  background-color: var(--admin-secondary, #6c757d);
  color: white;
}

.btn-outline-danger {
  background-color: transparent;
  color: var(--admin-danger, #dc3545);
  border: 1px solid var(--admin-danger, #dc3545);
}

.btn-outline-danger:hover {
  background-color: var(--admin-danger, #dc3545);
  color: white;
}

.btn-success {
  background-color: var(--admin-success, #28a745);
  color: white;
  border: 1px solid var(--admin-success, #28a745);
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

/* Green Orange Button */
.green-orange-btn, .modern-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  background-color: #FF8C00 !important;
  color: white !important;
  border: none;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.green-orange-btn:hover, .modern-button:hover {
  background-color: #E07B00 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Button Animations */
.modern-button {
  position: relative;
  overflow: hidden;
}

.modern-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.modern-button:hover:before {
  width: 100%;
}

.modern-button:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 156, 73, 0.4);
}

/* Color Changing Buttons */
.color-changing-btn {
  position: relative;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  z-index: 1;
}

.color-changing-btn.primary {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
}

.color-changing-btn.primary:hover,
.color-changing-btn.primary:focus {
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 156, 73, 0.3);
}

/* ========================================
   SERVICES & CARDS SECTION
   ======================================== */

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 600px;
  margin: 0 auto;
}

.service-card,
.product-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before,
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 156, 73, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before,
.product-card:hover::before {
  left: 100%;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ========================================
   STATS SECTION UTILITIES
   ======================================== */

.stats-section {
  padding: 4rem 0;
  background: linear-gradient(160deg, #0b3b27 0%, #07281c 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.15;
}

/* Improve heading/subtitle contrast inside stats section */
.stats-section .section-header h2 { color: #ffffff; }
.stats-section .section-header h2::after { background: rgba(255, 255, 255, 0.6); }
.stats-section .section-header p { color: rgba(255, 255, 255, 0.85); }

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.stat-icon i {
  font-size: 2rem;
  color: white;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-text {
  font-size: 1.1rem;
  opacity: 0.9;
  color: white;
}

/* ========================================
   SUPPLIERS SECTION
   ======================================== */

.suppliers-section {
  padding: 4rem 0;
  background: white;
}

.suppliers-title {
  text-align: center;
  margin-bottom: 3rem;
}

.suppliers-title h2 {
  position: relative;
  display: inline-block;
  color: var(--dark-color);
}

.suppliers-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: translateX(-50%);
}

.suppliers-title p {
  color: var(--gray-color);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.supplier-logo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.supplier-logo {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.supplier-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 156, 73, 0.05), rgba(0, 0, 0, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.supplier-logo:hover::before {
  opacity: 1;
}

.supplier-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.supplier-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.supplier-logo:hover img {
  transform: scale(1.05);
}

.supplier-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
}

.supplier-placeholder i {
  font-size: 2rem;
}

.supplier-placeholder span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ========================================
   VALUES SECTION
   ======================================== */

.values-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.values-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.elementor-image-box-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.elementor-image-box-img {
  margin-bottom: 1.5rem;
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.elementor-image-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.elementor-image-box-description {
  color: var(--gray-color);
  line-height: 1.6;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.partner-card {
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
}

.partner-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ========================================
   SUPPLIERS SECTION
   ======================================== */

.suppliers-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.supplier-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.supplier-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.supplier-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.supplier-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  opacity: 1;
  filter: grayscale(0%);
}

.supplier-card:hover .supplier-logo {
  opacity: 1;
  transform: scale(1.05);
}

.supplier-fallback {
  font-family: var(--font-family);
  font-weight: 600;
  color: var(--gray-color);
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  border: 1px dashed rgba(0, 0, 0, 0.1);
}

.supplier-card:hover .supplier-fallback {
  color: var(--primary-color);
  background: rgba(0, 156, 73, 0.05);
  border-color: var(--primary-color);
}

.supplier-logo-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.supplier-text-logo {
  font-family: var(--font-family);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  padding: 1rem;
  background: rgba(0, 156, 73, 0.05);
  border-radius: 8px;
  border: 2px dashed var(--primary-color);
  transition: all 0.3s ease;
}

.supplier-card:hover .supplier-text-logo {
  background: rgba(0, 156, 73, 0.1);
  transform: scale(1.05);
}

/* Supplier Logo Container Styles */
.supplier-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.supplier-logo {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  min-width: 200px;
  cursor: pointer;
}

.supplier-logo:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.supplier-logo img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  opacity: 1;
}

.supplier-logo:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.supplier-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.supplier-placeholder i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.supplier-placeholder span {
  font-size: 14px;
  font-weight: 700;
}

/* Text reveal animation */
.text-reveal {
  position: relative;
}

.line {
  position: relative;
  display: inline-block;
}

/* Fade in animations */
.fade-in {
  animation: fadeInUp 1s ease forwards;
}

.fade-in-left {
  animation: fadeInLeft 1s ease forwards;
}

.fade-in-right {
  animation: fadeInRight 1s ease forwards;
}

.stagger-item {
  animation: fadeInUp 1s ease forwards;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.shadow-soft {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.shadow-medium {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.scale-in {
  animation: scaleIn 0.8s ease forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Additional animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .values-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  
  .suppliers-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  .supplier-logo-container {
    gap: 1.5rem;
  }
  
  .supplier-logo {
    min-width: 180px;
    min-height: 100px;
  }
}

@media (max-width: 768px) {
  .values-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .suppliers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .supplier-logo-container {
    gap: 1rem;
  }
  
  .supplier-logo {
    min-width: 150px;
    min-height: 90px;
    padding: 1rem;
  }
  
  .value-item {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .suppliers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .supplier-logo-container {
    gap: 0.75rem;
  }
  
  .supplier-logo {
    min-width: 120px;
    min-height: 80px;
    padding: 0.75rem;
  }
  
  .elementor-image-box-img {
    width: 100px;
    height: 100px;
  }
  
  .value-icon {
    font-size: 2rem !important;
  }
}

/* ========================================
   ADMIN STYLES
   ======================================== */

.admin-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-nav li {
  margin-bottom: 0.5rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--admin-gray-700);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.admin-nav a:hover {
  background-color: var(--admin-gray-100);
  color: var(--admin-primary);
}

.admin-nav li.active a {
  background-color: var(--admin-primary);
  color: white;
}

.admin-nav i {
  margin-right: 0.75rem;
  width: 16px;
  text-align: center;
}

.admin-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--admin-gray-300);
}

.admin-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
}

.admin-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--admin-gray-300);
  background-color: var(--admin-gray-50);
}

.admin-card-content {
  padding: 1.5rem;
}

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

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--admin-gray-300);
}

.admin-table th {
  background-color: var(--admin-gray-50);
  font-weight: 600;
  color: var(--admin-gray-800);
}

.admin-table tr:hover td {
  background-color: var(--admin-gray-50);
}

/* ===== Admin Dashboard Stats ===== */
.admin-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.admin-stat-card {
  background: #fff;
  border: 1px solid var(--admin-gray-200);
  border-left: 6px solid var(--admin-primary);
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--box-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-lg);
  border-left-color: var(--primary-color);
}

.admin-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.admin-stat-info {
  display: flex;
  flex-direction: column;
}

.admin-stat-number {
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--admin-gray-900);
  line-height: 1.1;
}

.admin-stat-title {
  color: var(--admin-gray-600);
  font-weight: 500;
  margin-top: 0.25rem;
}

.admin-stat-link {
  color: var(--admin-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  background: var(--admin-gray-100);
  border: 1px solid var(--admin-gray-200);
}

.admin-stat-link:hover {
  background: #e9f2ff;
  border-color: #cfe2ff;
}

/* ===== Admin Quick Links ===== */
.admin-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.admin-quick-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--admin-gray-200);
  border-radius: 10px;
  text-decoration: none;
  color: var(--admin-gray-800);
  background: #fff;
  transition: all 0.2s ease;
}

.admin-quick-link i { color: var(--admin-primary); }

.admin-quick-link:hover {
  transform: translateY(-2px);
  border-color: var(--admin-primary);
  box-shadow: var(--box-shadow);
}

@media (max-width: 576px) {
  .admin-stat-number { font-size: 1.4rem; }
}

/* ========================================
   FORMS & INPUTS
   ======================================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--admin-gray-800);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--admin-gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* ========================================
   ANIMATIONS & KEYFRAMES
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */

@media (max-width: 768px) {
  .header {
    padding: 0 1rem;
    height: 70px !important;
  }
  
  .header-container {
    padding: 0;
  }
  
  .logo img {
    height: 50px;
  }
  
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .menu-toggle {
    display: flex !important;
    order: 3;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
  }
  
  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
  }
  
  /* Improved hamburger animation */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Enhanced mobile navigation */
  nav {
    position: static;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 50, 0, 0.9));
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 2rem;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  /* Beautiful overlay pattern */
  .nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 80%, rgba(0, 156, 73, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    z-index: -1;
  }
  
  /* Enhanced navigation items */
  .nav-item {
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
  }
  
  /* Staggered animation delays */
  .nav-item:nth-child(1) { animation-delay: 0.1s; }
  .nav-item:nth-child(2) { animation-delay: 0.2s; }
  .nav-item:nth-child(3) { animation-delay: 0.3s; }
  .nav-item:nth-child(4) { animation-delay: 0.4s; }
  .nav-item:nth-child(5) { animation-delay: 0.5s; }
  
  .nav-link {
    font-size: 1.4rem;
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
  }
  
  .nav-link:hover::before {
    left: 100%;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 80%;
  }
}

@media (max-width: 576px) {
  .header {
    height: 65px !important;
    padding: 0 0.75rem;
  }
  
  .logo img {
    height: 45px;
  }
  
  .logo h1 {
    font-size: 1.1rem;
  }
  
  .menu-toggle {
    padding: 6px;
  }
  
  .menu-toggle span {
    width: 20px;
    height: 2px;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    min-width: 180px;
  }
  
  .nav-menu {
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

/* Desktop navigation remains unchanged */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
  
  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    transform: none;
    transition: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: auto;
    padding: 0;
  }
  
  .nav-menu::before {
    display: none;
  }
  
  .nav-item {
    margin: 0;
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    text-align: left;
    border: none;
    transition: color 0.3s ease;
    position: relative;
    overflow: visible;
    min-width: auto;
    display: inline-block;
  }
  
  .nav-link::before {
    display: none;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: none;
    border: none;
    transform: none;
    box-shadow: none;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
}

/* Improved focus states for accessibility */
.nav-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.menu-toggle:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Prevent scrolling issues */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
}

/* ========================================
   PRODUCT CATEGORIES ENHANCEMENTS
   ======================================== */

/* Simple grid system for category cards */
.row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
.row.justify-center { justify-content: center; }
.col-3 { flex: 0 0 25%; max-width: 25%; padding-left: 15px; padding-right: 15px; }
.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; padding-left: 15px; padding-right: 15px; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding-left: 15px; padding-right: 15px; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; }

@media (max-width: 992px) { .col-3 { flex: 0 0 50%; max-width: 50%; } }
@media (max-width: 576px) { .col-3, .col-4, .col-6 { flex: 0 0 100%; max-width: 100%; } }

/* Category cards */
.category-card {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #f5f5f5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }

.category-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.category-card:hover .category-img { transform: scale(1.05); }

.category-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  color: #fff;
  z-index: 2;
  text-align: center;
}

.category-title { margin: 0; font-weight: 600; font-size: 1.2rem; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.category-link { display: block; text-decoration: none; color: inherit; }

/* Stagger support */
.stagger-item { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.stagger-item.visible { transition-delay: calc(var(--stagger-delay, 0) * 100ms); }

/* ========================================
   ADMIN HEADER STYLES
   ======================================== */

.admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  height: auto;
  background-color: #fff;
  border-bottom: 1px solid var(--admin-gray-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1000;
  box-shadow: var(--box-shadow-sm);
}

.admin-content {
  margin-left: 250px;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  background-color: var(--admin-gray-100);
  padding: 1.5rem;
  transition: margin-left var(--transition);
}

.admin-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 250px;
  height: calc(100vh - var(--header-height));
  background-color: #fff;
  border-right: 1px solid var(--admin-gray-300);
  overflow-y: auto;
  z-index: 999;
  transition: transform var(--transition);
}

.admin-logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--admin-primary);
}

.admin-logo img {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
}

.admin-logo h1 {
  font-size: 1.25rem;
  margin: 0;
}

/* ========================================
   HERO VIDEO SECTION
   ======================================== */

.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  margin-top: 0;
}

.hero-slider, .hero-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video, .hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content-zone {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.hero-content {
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 3;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
  border-radius: 20px;
  z-index: -1;
}

.hero-content > * {
  position: relative;
  z-index: 2;
}

.hero-subheading {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1s;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-heading {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.5s;
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.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;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--gray-color);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Button Size Utilities */
.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

/* Button Outline Variations */
.btn-outline-primary {
  background-color: transparent;
  color: var(--admin-primary, #007bff);
  border: 1px solid var(--admin-primary, #007bff);
}

.btn-outline-primary:hover {
  background-color: var(--admin-primary, #007bff);
  color: white;
}

.btn-outline-secondary {
  background-color: transparent;
  color: var(--admin-secondary, #6c757d);
  border: 1px solid var(--admin-secondary, #6c757d);
}

.btn-outline-secondary:hover {
  background-color: var(--admin-secondary, #6c757d);
  color: white;
}

.btn-outline-danger {
  background-color: transparent;
  color: var(--admin-danger, #dc3545);
  border: 1px solid var(--admin-danger, #dc3545);
}

.btn-outline-danger:hover {
  background-color: var(--admin-danger, #dc3545);
  color: white;
}

.btn-success {
  background-color: var(--admin-success, #28a745);
  color: white;
  border: 1px solid var(--admin-success, #28a745);
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

/* Green Orange Button */
.green-orange-btn, .modern-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  background-color: #FF8C00 !important;
  color: white !important;
  border: none;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.green-orange-btn:hover, .modern-button:hover {
  background-color: #E07B00 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Button Animations */
.modern-button {
  position: relative;
  overflow: hidden;
}

.modern-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.modern-button:hover:before {
  width: 100%;
}

.modern-button:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 156, 73, 0.4);
}

/* Color Changing Buttons */
.color-changing-btn {
  position: relative;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  z-index: 1;
}

.color-changing-btn.primary {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
}

.color-changing-btn.primary:hover,
.color-changing-btn.primary:focus {
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 156, 73, 0.3);
}

/* ========================================
   SERVICES & CARDS SECTION
   ======================================== */

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 600px;
  margin: 0 auto;
}

.service-card,
.product-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before,
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 156, 73, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before,
.product-card:hover::before {
  left: 100%;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ========================================
   STATS SECTION UTILITIES
   ======================================== */

.stats-section {
  padding: 4rem 0;
  background: linear-gradient(160deg, #0b3b27 0%, #07281c 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.15;
}

/* Improve heading/subtitle contrast inside stats section */
.stats-section .section-header h2 { color: #ffffff; }
.stats-section .section-header h2::after { background: rgba(255, 255, 255, 0.6); }
.stats-section .section-header p { color: rgba(255, 255, 255, 0.85); }

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.stat-icon i {
  font-size: 2rem;
  color: white;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-text {
  font-size: 1.1rem;
  opacity: 0.9;
  color: white;
}

/* ========================================
   SUPPLIERS SECTION
   ======================================== */

.suppliers-section {
  padding: 4rem 0;
  background: white;
}

.suppliers-title {
  text-align: center;
  margin-bottom: 3rem;
}

.suppliers-title h2 {
  position: relative;
  display: inline-block;
  color: var(--dark-color);
}

.suppliers-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: translateX(-50%);
}

.suppliers-title p {
  color: var(--gray-color);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.supplier-logo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.supplier-logo {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.supplier-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 156, 73, 0.05), rgba(0, 0, 0, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.supplier-logo:hover::before {
  opacity: 1;
}

.supplier-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.supplier-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.supplier-logo:hover img {
  transform: scale(1.05);
}

.supplier-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
}

.supplier-placeholder i {
  font-size: 2rem;
}

.supplier-placeholder span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ========================================
   VALUES SECTION
   ======================================== */

.values-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.values-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.elementor-image-box-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.elementor-image-box-img {
  margin-bottom: 1.5rem;
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.elementor-image-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.elementor-image-box-description {
  color: var(--gray-color);
  line-height: 1.6;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.partner-card {
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
}

.partner-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Text reveal animation */
.text-reveal {
  position: relative;
}

.line {
  position: relative;
  display: inline-block;
}

/* Fade in animations */
.fade-in {
  animation: fadeInUp 1s ease forwards;
}

.fade-in-left {
  animation: fadeInLeft 1s ease forwards;
}

.fade-in-right {
  animation: fadeInRight 1s ease forwards;
}

.stagger-item {
  animation: fadeInUp 1s ease forwards;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.shadow-soft {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.shadow-medium {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.scale-in {
  animation: scaleIn 0.8s ease forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Additional animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .values-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .values-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .value-item {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .elementor-image-box-img {
    width: 100px;
    height: 100px;
  }
  
  .value-icon {
    font-size: 2rem !important;
  }
}

/* ========================================
   ADMIN STYLES
   ======================================== */

.admin-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-nav li {
  margin-bottom: 0.5rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  padding:  0.75rem 1rem;
  color: var(--admin-gray-700);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.admin-nav a:hover {
  background-color: var(--admin-gray-100);
  color: var(--admin-primary);
}

.admin-nav li.active a {
  background-color: var(--admin-primary);
  color: white;
}

.admin-nav i {
  margin-right: 0.75rem;
  width: 16px;
  text-align: center;
}

.admin-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--admin-gray-300);
}

.admin-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
}

.admin-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--admin-gray-300);
  background-color: var(--admin-gray-50);
}

.admin-card-content {
  padding: 1.5rem;
}

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

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--admin-gray-300);
}

.admin-table th {
  background-color: var(--admin-gray-50);
  font-weight: 600;
  color: var(--admin-gray-800);
}

.admin-table tr:hover td {
  background-color: var(--admin-gray-50);
}

/* ========================================
   FORMS & INPUTS
   ======================================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--admin-gray-800);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--admin-gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* ========================================
   ANIMATIONS & KEYFRAMES
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */

@media (max-width: 768px) {
  .header {
    padding: 0 1rem;
    height: 70px !important;
  }
  
  .header-container {
    padding: 0;
  }
  
  .logo img {
    height: 50px;
  }
  
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .menu-toggle {
    display: flex !important;
    order: 3;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
  }
  
  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
  }
  
  /* Improved hamburger animation */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Enhanced mobile navigation */
  nav {
    position: static;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 50, 0, 0.9));
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 2rem;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  /* Beautiful overlay pattern */
  .nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 80%, rgba(0, 156, 73, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    z-index: -1;
  }
  
  /* Enhanced navigation items */
  .nav-item {
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
  }
  
  /* Staggered animation delays */
  .nav-item:nth-child(1) { animation-delay: 0.1s; }
  .nav-item:nth-child(2) { animation-delay: 0.2s; }
  .nav-item:nth-child(3) { animation-delay: 0.3s; }
  .nav-item:nth-child(4) { animation-delay: 0.4s; }
  .nav-item:nth-child(5) { animation-delay: 0.5s; }
  
  .nav-link {
    font-size: 1.4rem;
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
  }
  
  .nav-link:hover::before {
    left: 100%;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 80%;
  }
}

@media (max-width: 576px) {
  .header {
    height: 65px !important;
    padding: 0 0.75rem;
  }
  
  .logo img {
    height: 45px;
  }
  
  .logo h1 {
    font-size: 1.1rem;
  }
  
  .menu-toggle {
    padding: 6px;
  }
  
  .menu-toggle span {
    width: 20px;
    height: 2px;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    min-width: 180px;
  }
  
  .nav-menu {
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

/* Desktop navigation remains unchanged */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
  
  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    transform: none;
    transition: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: auto;
    padding: 0;
  }
  
  .nav-menu::before {
    display: none;
  }
  
  .nav-item {
    margin: 0;
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    text-align: left;
    border: none;
    transition: color 0.3s ease;
    position: relative;
    overflow: visible;
    min-width: auto;
    display: inline-block;
  }
  
  .nav-link::before {
    display: none;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: none;
    border: none;
    transform: none;
    box-shadow: none;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
}

/* Improved focus states for accessibility */
.nav-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.menu-toggle:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Prevent scrolling issues */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
}

/* ========================================
   ADMIN HEADER STYLES
   ======================================== */

.admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  height: auto;
  background-color: #fff;
  border-bottom: 1px solid var(--admin-gray-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1000;
  box-shadow: var(--box-shadow-sm);
}

.admin-content {
  margin-left: 250px;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  background-color: var(--admin-gray-100);
  padding: 1.5rem;
  transition: margin-left var(--transition);
}

.admin-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 250px;
  height: calc(100vh - var(--header-height));
  background-color: #fff;
  border-right: 1px solid var(--admin-gray-300);
  overflow-y: auto;
  z-index: 999;
  transition: transform var(--transition);
}

.admin-logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--admin-primary);
}

.admin-logo img {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
}

.admin-logo h1 {
  font-size: 1.25rem;
  margin: 0;
}

/* ========================================
   HERO VIDEO SECTION
   ======================================== */

.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  margin-top: 0;
}

.hero-slider, .hero-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video, .hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content-zone {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.hero-content {
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 3;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
  border-radius: 20px;
  z-index: -1;
}

.hero-content > * {
  position: relative;
  z-index: 2;
}

.hero-subheading {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1s;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-heading {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.5s;
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.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;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--gray-color);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Button Size Utilities */
.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

/* Button Outline Variations */
.btn-outline-primary {
  background-color: transparent;
  color: var(--admin-primary, #007bff);
  border: 1px solid var(--admin-primary, #007bff);
}

.btn-outline-primary:hover {
  background-color: var(--admin-primary, #007bff);
  color: white;
}

.btn-outline-secondary {
  background-color: transparent;
  color: var(--admin-secondary, #6c757d);
  border: 1px solid var(--admin-secondary, #6c757d);
}

.btn-outline-secondary:hover {
  background-color: var(--admin-secondary, #6c757d);
  color: white;
}

.btn-outline-danger {
  background-color: transparent;
  color: var(--admin-danger, #dc3545);
  border: 1px solid var(--admin-danger, #dc3545);
}

.btn-outline-danger:hover {
  background-color: var(--admin-danger, #dc3545);
  color: white;
}

.btn-success {
  background-color: var(--admin-success, #28a745);
  color: white;
  border: 1px solid var(--admin-success, #28a745);
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

/* Green Orange Button */
.green-orange-btn, .modern-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  background-color: #FF8C00 !important;
  color: white !important;
  border: none;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.green-orange-btn:hover, .modern-button:hover {
  background-color: #E07B00 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Button Animations */
.modern-button {
  position: relative;
  overflow: hidden;
}

.modern-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.modern-button:hover:before {
  width: 100%;
}

.modern-button:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 156, 73, 0.4);
}

/* Color Changing Buttons */
.color-changing-btn {
  position: relative;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  z-index: 1;
}

.color-changing-btn.primary {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
}

.color-changing-btn.primary:hover,
.color-changing-btn.primary:focus {
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 156, 73, 0.3);
}

/* ========================================
   SERVICES & CARDS SECTION
   ======================================== */

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 600px;
  margin: 0 auto;
}

.service-card,
.product-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before,
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 156, 73, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before,
.product-card:hover::before {
  left: 100%;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ========================================
   STATS SECTION UTILITIES
   ======================================== */

.stats-section {
  padding: 4rem 0;
  background: linear-gradient(160deg, #0b3b27 0%, #07281c 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.15;
}

/* Improve heading/subtitle contrast inside stats section */
.stats-section .section-header h2 { color: #ffffff; }
.stats-section .section-header h2::after { background: rgba(255, 255, 255, 0.6); }
.stats-section .section-header p { color: rgba(255, 255, 255, 0.85); }

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.stat-icon i {
  font-size: 2rem;
  color: white;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-text {
  font-size: 1.1rem;
  opacity: 0.9;
  color: white;
}

/* ========================================
   SUPPLIERS SECTION
   ======================================== */

.suppliers-section {
  padding: 4rem 0;
  background: white;
}

.suppliers-title {
  text-align: center;
  margin-bottom: 3rem;
}

.suppliers-title h2 {
  position: relative;
  display: inline-block;
  color: var(--dark-color);
}

.suppliers-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: translateX(-50%);
}

.suppliers-title p {
  color: var(--gray-color);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.supplier-logo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.supplier-logo {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.supplier-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 156, 73, 0.05), rgba(0, 0, 0, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.supplier-logo:hover::before {
  opacity: 1;
}

.supplier-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.supplier-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.supplier-logo:hover img {
  transform: scale(1.05);
}

.supplier-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
}

.supplier-placeholder i {
  font-size: 2rem;
}

.supplier-placeholder span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ========================================
   ADMIN MODAL STYLES
   ======================================== */

.admin-modal {
  display: none;
  position: fixed;
  z-index: 9999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.admin-modal.show {
  display: flex;
}

.admin-modal-content {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
  border: 1px solid var(--admin-gray-300);
}

.admin-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--admin-gray-300);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--admin-gray-50);
  border-radius: 12px 12px 0 0;
}

.admin-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--admin-gray-800);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--admin-gray-500);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.admin-modal-close:hover {
  background-color: var(--admin-gray-200);
  color: var(--admin-gray-700);
}

.admin-modal-body {
  padding: 1.5rem;
  color: var(--admin-gray-700);
  line-height: 1.6;
}

.admin-modal-body p {
  margin-bottom: 1rem;
}

.admin-modal-body p:last-child {
  margin-bottom: 0;
}

.admin-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--admin-gray-300);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background-color: var(--admin-gray-50);
  border-radius: 0 0 12px 12px;
}

.text-small {
  font-size: 0.875rem;
}

/* Modal animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive modal */
@media (max-width: 768px) {
  .admin-modal-content {
    width: 95%;
    margin: 1rem;
  }
  
  .admin-modal-header,
  .admin-modal-body,
  .admin-modal-footer {
    padding: 1rem;
  }
  
  .admin-modal-footer {
    flex-direction: column-reverse;
  }
  
  .admin-modal-footer .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .admin-modal-footer .btn:last-child {
    margin-bottom: 0;
  }
}

/* ===== MOBILE RESPONSIVE ADMIN DASHBOARD ===== */

/* Mobile optimization for admin dashboard */
@media (max-width: 992px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .admin-sidebar.show {
    transform: translateX(0);
  }
  
  .admin-main-content {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .admin-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .admin-stat-value {
    font-size: 1.5rem;
  }
  
  .admin-stat-label {
    font-size: 0.8rem;
  }
  
  .admin-table-container {
    overflow-x: auto;
    margin: 0 -15px;
    padding: 0 15px;
  }
  
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .admin-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .admin-content-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .admin-content-header h1 {
    font-size: 1.5rem;
  }
  
  .admin-card {
    margin: 0 -15px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  
  .admin-sidebar.show {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1050;
    transform: translateX(0);
  }
  
  .admin-main-content {
    margin-left: 0;
    padding: 15px;
  }
  
  /* Mobile table improvements */
  .table th,
  .table td {
    padding: 0.5rem 0.25rem;
    font-size: 0.875rem;
  }
  
  .table th:first-child,
  .table td:first-child {
    padding-left: 0.75rem;
  }
  
  .table th:last-child,
  .table td:last-child {
    padding-right: 0.75rem;
  }
}

@media (max-width: 576px) {
  .admin-content-header h1 {
    font-size: 1.25rem;
  }
  
  .admin-stat-card {
    padding: 1rem;
  }
  
  .admin-stat-number {
    font-size: 1.8rem;
  }
  
  .table-responsive {
    font-size: 0.875rem;
  }
  
  .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .admin-card {
    padding: 1rem;
  }
  
  .admin-form-group {
    margin-bottom: 1rem;
  }
  
  .admin-form-group label {
    font-size: 0.9rem;
  }
  
  .admin-form-control {
    font-size: 1rem; /* Prevents zoom on iOS */
    padding: 0.5rem 0.75rem;
  }
}

/* Admin mobile menu toggle */
.admin-mobile-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1051;
  background: var(--admin-primary, #007bff);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
  .admin-mobile-toggle {
    display: block;
  }
}

/* Mobile-specific admin layout adjustments */
@media (max-width: 768px) {
  .admin-header {
    padding: 0.75rem 1rem;
    margin-left: 0;
  }
  
  .admin-breadcrumb {
    font-size: 0.85rem;
  }
  
  .admin-page-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .admin-quick-actions {
    gap: 0.5rem;
  }
  
  .admin-quick-actions .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }
}

/* Responsive admin grid system */
@media (max-width: 768px) {
  .admin-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .admin-col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .admin-col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .admin-col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobile dropdown menus */
@media (max-width: 768px) {
  .admin-dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}