/* TechTonic Services - Base Styles */
/* Base styles without media queries - responsive styles are in responsive.css */

/* ===== MODAL STYLES ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: none;
  will-change: auto;
}

.modal.active {
  display: flex !important;
}

.modal-content {
  background: var(--background-dark);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  width: 90%;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  will-change: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ===== ROOT VARIABLES ===== */
:root {
  /* Primary Color Scheme - Professional Deep Blue */
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary: #10b981;
  --accent: #7c3aed;
  
  /* Theme Colors - Will switch based on color scheme */
  --background: var(--dark-background, #0f172a);
  --surface: var(--dark-surface, #1e293b);
  --text: var(--dark-text, #f8fafc);
  --text-muted: var(--dark-text-muted, #94a3b8);
  --border-color: var(--dark-border, rgba(255, 255, 255, 0.1));
  
  /* Dark Theme Defaults */
  --dark-background: #0f172a;
  --dark-surface: #1e293b;
  --dark-text: #f8fafc;
  --dark-text-muted: #94a3b8;
  --dark-border: rgba(255, 255, 255, 0.1);
  
  /* Light Theme Defaults */
  --light-background: #ffffff;
  --light-surface: #f8fafc;
  --light-text: #1e293b;
  --light-text-muted: #64748b;
  --light-border: rgba(0, 0, 0, 0.1);
  
  /* Additional Variables from HTML files */
  --bg-dark: #0f172a;
  --bg-darker: #1e293b;
  --primary-blue: #2563eb;
  --primary-purple: #7c3aed;
  --secondary-blue: #00a3ff;
  --accent-glow: #00a3ff;
  --accent-orange: #ff5200;
  --text-light: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.05);
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  --gradient-glow: linear-gradient(135deg, rgba(0, 163, 255, 0.1), rgba(124, 58, 237, 0.1));
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.25);
  --transition: all 0.3s ease;
  --radius-sm: 8px;
  --radius-lg: 24px;
  
  /* Enhanced Tech Theme Variables */
  --header-bg: rgba(15, 23, 42, 0.95);
  --header-border: rgba(99, 102, 241, 0.2);
  --footer-bg: rgba(15, 23, 42, 0.98);
  --footer-border: rgba(99, 102, 241, 0.15);
  --glow-primary: 0 0 20px rgba(99, 102, 241, 0.3);
  --glow-secondary: 0 0 15px rgba(0, 163, 255, 0.2);
  --inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --tech-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 102, 241, 0.1);
  --backdrop-blur: blur(10px);
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #06b6d4;
  
  /* Design System */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Typography */
  --font-family: 'Inter', 'Segoe UI', 'Roboto', system-ui, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-base: 0.2s ease-out;
  --transition-slow: 0.3s ease-out;
}

/* ===== RESET AND BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-top: 70px;
  display: flex;
  flex-direction: column;
}

/* ===== TECH BACKGROUND EFFECTS ===== */
/* Circuit Board Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../images/circuit-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: -2;
  animation: circuitPulse 4s ease-in-out infinite alternate;
}

/* Glowing Lines */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    transparent 0%,
    rgba(0, 157, 255, 0.05) 25%,
    rgba(0, 157, 255, 0.1) 50%,
    rgba(0, 157, 255, 0.05) 75%,
    transparent 100%
  );
  animation: circuitGlow 8s ease-in-out infinite alternate;
  z-index: -1;
}

/* Additional tech patterns for circuit-bg class */
body.circuit-bg::before {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h80v80h-80z' fill='none' stroke='%232563eb' stroke-width='0.5' stroke-opacity='0.1'/%3E%3Cpath d='M30 10v80M50 10v80M70 10v80M10 30h80M10 50h80M10 70h80' stroke='%232563eb' stroke-width='0.5' stroke-opacity='0.1'/%3E%3Ccircle cx='30' cy='30' r='2' fill='%232563eb' fill-opacity='0.1'/%3E%3Ccircle cx='50' cy='50' r='2' fill='%232563eb' fill-opacity='0.1'/%3E%3Ccircle cx='70' cy='70' r='2' fill='%232563eb' fill-opacity='0.1'/%3E%3C/svg%3E");
  opacity: 0.3;
  animation: circuitFlow 20s linear infinite;
}

body.circuit-bg::after {
  background: 
    radial-gradient(circle at 100% 50%, transparent 20%, rgba(37,99,235,0.05) 21%, rgba(37,99,235,0.05) 34%, transparent 35%, transparent),
    radial-gradient(circle at 0% 50%, transparent 20%, rgba(37,99,235,0.05) 21%, rgba(37,99,235,0.05) 34%, transparent 35%, transparent) 0 -50px;
  background-size: 75px 100px;
  animation: circuitGlow 4s ease-in-out infinite alternate;
}

/* ===== HEADER STYLES ===== */
.header, .main-header, .service-header {
  background: var(--header-bg);
  backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--header-border);
  color: var(--text-light);
  padding: 0;
  height: 70px;
  box-shadow: var(--tech-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  animation: fadeInDown 0.6s ease;
  position: relative;
}

.header::before, .main-header::before, .service-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--primary-blue) 20%,
    var(--accent-glow) 50%,
    var(--primary-blue) 80%,
    transparent 100%
  );
  box-shadow: var(--inner-glow);
}

.header::after, .main-header::after, .service-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.3) 50%,
    transparent 100%
  );
  box-shadow: var(--glow-primary);
}

.header-content {
  max-width: 1600px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding:0 1rem;
}

.site-logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(37,99,235,0.3));
  transition: transform var(--transition-base);
}

.site-logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

/* ===== HAMBURGER MENU ===== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  transition: all 0.3s ease;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.hamburger-line {
  width: 1.9rem;
  height: 0.08rem;
  background: var(--text-light);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.hamburger-menu.open .hamburger-line:first-child {
  transform: rotate(45deg);
}

.hamburger-menu.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08rem;
  transition: all 0.3s cubic-bezier(.23,1.01,.32,1);
  opacity: 0.92;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  transform: translateY(-2px);
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.main-container {
  max-width: 1200px;
  margin: 7rem auto 2.5rem;
  padding: 0 2rem;
}

.page-layout {
  display: flex;
  flex-direction: column;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 70px);
  position: relative;
  z-index: 1;
  flex: 1;
}

.main-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 0;
  flex: 1;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  margin: 2rem auto;
  max-width: 1200px;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 8s ease infinite;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* ===== PAGE HEADERS ===== */
.page-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s;
}

.page-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  font-weight: 400;
  animation: fadeInUp 0.8s 0.2s both;
}

/* ===== CARD COMPONENTS ===== */
.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s 0.4s both;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  min-height: 350px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: 0.5s;
}

.service-card:hover::before {
  left: 100%;
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  background: var(--card-hover);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.service-icon::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(37,99,235,0.2), transparent 70%);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: iconPulse 2s infinite;
}

.service-title {
  color: #fff;
  margin: 1.5rem 0;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-description {
  color: #93c5fd;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* ===== WELCOME SECTION (Service Desk) ===== */
.welcome-section {
  text-align: center;
  margin-bottom: 4rem;
  width: 100%;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  box-shadow: 0 4px 24px rgba(37,99,235,0.08);
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.1) 50%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.welcome-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(37,99,235,0.2);
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome-section p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== CARDS CONTAINER ===== */
.cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
}

/* ===== GRID LAYOUTS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-grid, .dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
  cursor: pointer;
  font-size: var(--font-size-sm);
}

.btn-primary::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: 0.5s;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: var(--primary-purple);
}

.btn-white {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 0.5rem;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ===== FORM STYLES ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-weight: 500;
}

label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: var(--font-size-sm);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  transition: var(--transition);
  font-family: 'Inter', system-ui, sans-serif;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  font-size: var(--font-size-base);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-family: 'Inter', system-ui, sans-serif;
}

.form-input:focus, .form-select:focus, .form-textarea:focus,
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
  background:#1e293b;
  color:white;
  
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

input[type="checkbox"] {
  width: auto;
  height: 1rem;
  accent-color: var(--primary-color);
}

.checkbox-label {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin-bottom: 0;
  font-weight: 400;
}

/* Contact form specific styles */
.contact-form {
  margin-top: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #000;
}

.contact-form .btn-primary {
  width: 100%;
}

/* ===== CONTACT INFO STYLES ===== */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
  color: var(--primary-blue-dark);
}

.contact-item:hover {
  background: #f0f7ff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  border-color: #93c5fd;
}

.contact-icon {
  font-size: 2.2rem;
  color: #60a5fa;
  margin-bottom: 0.5rem;
}

.contact-details h4 {
  color: var(--primary-blue-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--primary-blue-dark);
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.contact-details a {
  color: var(--primary-blue-dark);
  text-decoration: none;
  font-weight: 400;
}

.contact-details a:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

/* ===== EMERGENCY CARD ===== */
.emergency-card {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: rgba(37,99,235,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 4rem 2rem;
  margin: 4rem auto;
  max-width: 1000px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(255,82,0,0.2));
  opacity: 0.5;
  z-index: -1;
}

.cta-title {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-description {
  color: #93c5fd;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ===== TEAM MEMBER STYLES ===== */
.team-member {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 24px rgba(37,99,235,0.1);
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: 0.5s;
}

.team-member:hover::before {
  left: 100%;
}

.team-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(37,99,235,0.2);
  background: rgba(255, 255, 255, 0.05);
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.member-avatar::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  animation: avatarPulse 2s infinite;
}

.member-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--accent-orange);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.member-description {
  color: #666;
  font-size: 0.9rem;
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  margin: 4rem auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(255,82,0,0.2));
  opacity: 0.5;
  z-index: -1;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  color: var(--text);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-weight: 500;
  font-size: var(--font-size-sm);
}

/* ===== MODAL STYLES ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(30, 40, 60, 0.35);
  transition: opacity 0.3s var(--transition-base);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  animation: fadeIn 0.3s var(--transition-base);
}

.modal-content {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 480px;
    width: 90%;
    margin: 10vh auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: scaleIn 0.3s ease;
    animation-fill-mode: both;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    will-change: transform, opacity;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.modal-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text);
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.25rem;
  border-radius: var(--border-radius-sm);
}

.close-btn:hover {
  color: var(--error);
  background-color: var(--gray-100);
}

/* ===== TABLE STYLES ===== */
.table-container {
  overflow-x: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.table th, .table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: var(--font-size-sm);
}

.table th {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* ===== STATUS AND PRIORITY BADGES ===== */
.status-badge, .priority-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
}

.status-badge:hover, .priority-badge:hover {
  transform: scale(1.05);
}

/* Status Colors */
.status-pending { background: #fef3c7; color: #92400e; }
.status-inprogress { background: #dbeafe; color: #1e40af; }
.status-resolved { background: #d1fae5; color: #065f46; }
.status-open { background: #e0f2fe; color: #0369a1; }
.status-closed { background: #f3f4f6; color: #374151; }

/* Priority Colors */
.priority-low { background: #d1fae5; color: #065f46; }
.priority-medium { background: #fef3c7; color: #92400e; }
.priority-high { background: #fed7d7; color: #c53030; }
.priority-urgent { background: #fecaca; color: #991b1b; }
.priority-critical { background: #fecaca; color: #991b1b; }

/* ===== MESSAGES ===== */
.message {
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: var(--font-size-sm);
  animation: fadeInUp 0.4s var(--transition-base);
}

.message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.message.info {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #06b6d4;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  color: var(--text-light);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  margin-top: auto;
  width: 100%;
  backdrop-filter: var(--backdrop-blur);
  border-top: 1px solid var(--footer-border);
  flex-shrink: 0;
  position: relative;
  box-shadow: var(--tech-shadow);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--primary-blue) 20%,
    var(--accent-glow) 50%,
    var(--primary-blue) 80%,
    transparent 100%
  );
  box-shadow: var(--glow-secondary);
}

.footer::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.2) 50%,
    transparent 100%
  );
  box-shadow: var(--inner-glow);
}

.footer .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.footer-section {
  display: flex;
  justify-content: center;
  align-items: center;
}


.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  transition: 0.5s;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--glow-secondary);
}

.icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all var(--transition);
  position: relative;
}

.icon-circle::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  z-index: -1;
  animation: iconPulse 3s infinite;
}

.contact-item:hover .icon-circle {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-blue);
  box-shadow: var(--glow-primary);
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0;
  text-align: center;
}

.footer-bottom {
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.8;
}

.footer .flex {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer p {
  color: var(--text-light);
  opacity: 0.9;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #93c5fd;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--primary-blue);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.footer-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.footer-links a:hover::before {
  width: 100%;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes circuitPulse {
  0% { opacity: 0.1; }
  100% { opacity: 0.2; }
}

@keyframes circuitGlow {
  0% { opacity: 0.2; }
  100% { opacity: 0.4; }
}

@keyframes circuitFlow {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

@keyframes iconPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
}

@keyframes avatarPulse {
  0% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.1; }
  100% { transform: scale(1); opacity: 0.3; }
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(37,99,235,0.2); }
  50% { box-shadow: 0 0 20px rgba(37,99,235,0.4); }
  100% { box-shadow: 0 0 5px rgba(37,99,235,0.2); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* ===== UTILITY CLASSES ===== */
.glow-effect {
  animation: glow 3s infinite;
}

.float-effect {
  animation: float 6s ease-in-out infinite;
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

.flex { display: flex; }
.flex-grow { flex: 1; }
.hidden { display: none !important; }
.loading { opacity: 0.6; pointer-events: none; }

/* ===== FOCUS STYLES FOR ACCESSIBILITY ===== */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ===== SMOOTH TRANSITIONS ===== */
a, button, input, select, textarea {
  transition: all var(--transition-base);
}
/* Force dark background only for the page, not all elements */


