/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc; /* Cobalt Blue */
    --primary-dark: #004499;
    --primary-light: #3388dd;
    --secondary-color: #1a1a1a; /* Dark Gray */
    --accent-color: #00aaff; /* Light Blue */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --bg-primary: #000000; /* Pure Black */
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #1a1a1a;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    --shadow-primary: 0 10px 30px rgba(0, 102, 204, 0.3);
    --shadow-secondary: 0 5px 20px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000 !important;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== KOVSK-style Top Bar ===== */
:root{
  --k-bg: rgba(15,15,16,0.85);
  --k-border: rgba(255,255,255,0.08);
  --k-inner: rgba(28,28,30,0.95);
  --k-text: #e9eaec;
  --k-muted: #a9acb2;
  --k-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 2px 10px rgba(0,0,0,0.25);
  --k-inset: inset 0 1px rgba(255,255,255,0.06);
}

/* Positioned navigation elements */
.kbar{
  position: relative; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; 
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  pointer-events: none;
}

.kbar-shell{
  pointer-events: auto;
  display: flex; 
  align-items: center; 
  justify-content: center;
  width: 100%;
}

/* Brand centered */
.kbrand{
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--k-text);
  letter-spacing: .02em;
}
.kbrand-logo{
  width: 160px; height: 160px; 
  object-fit: contain;
  display: block;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

.kbrand:hover .kbrand-logo{
  transform: scale(1.05);
}
.kbrand-text{
  font-weight: 700; font-size: 14px; letter-spacing: .08em;
}

/* Right-side nav cluster */
.knav{ 
  position: absolute;
  right: 20px;
  display:flex; 
  align-items:center; 
}

/* ===== TECH-SAVVY MENU SYSTEM ===== */

/* Menu Container */
.tech-menu-container {
  position: relative;
  z-index: 1000;
}

/* Tech Menu Button */
.tech-menu-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 170, 255, 0.05));
  border: 1px solid rgba(0, 102, 204, 0.3);
  border-radius: 12px;
  color: var(--k-text);
  cursor: pointer;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  min-width: 120px;
}

.tech-menu-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.2), transparent);
  transition: left 0.6s ease;
}

.tech-menu-btn:hover::before {
  left: 100%;
}

.tech-menu-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 204, 0.6);
  box-shadow: 
    0 8px 32px rgba(0, 102, 204, 0.3),
    0 0 0 1px rgba(0, 102, 204, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tech-menu-btn:active {
  transform: translateY(0);
}

.tech-menu-btn[aria-expanded="true"] {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(0, 170, 255, 0.1));
  border-color: rgba(0, 102, 204, 0.8);
  box-shadow: 
    0 8px 32px rgba(0, 102, 204, 0.4),
    0 0 0 1px rgba(0, 102, 204, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Menu Button Content */
.menu-btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.menu-text {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Menu Icon (Hamburger) */
.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 18px;
  height: 14px;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.tech-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.tech-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.tech-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Menu Glow Effect */
.menu-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  pointer-events: none;
}

.tech-menu-btn:hover .menu-glow {
  width: 200px;
  height: 200px;
}

/* Tech Menu Panel */
.tech-menu-panel {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 380px;
  background: rgba(15, 15, 16, 0.95);
  border: 1px solid rgba(0, 102, 204, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 8px 32px rgba(0, 102, 204, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  overflow: hidden;
}

.tech-menu-panel[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Menu Backdrop */
.menu-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 102, 204, 0.05) 0%, 
    rgba(0, 170, 255, 0.02) 50%, 
    rgba(0, 102, 204, 0.05) 100%);
  pointer-events: none;
}

/* Menu Content */
.menu-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

/* Menu Header */
.menu-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 102, 204, 0.2);
}

.menu-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--k-text);
  margin-bottom: 4px;
  background: linear-gradient(135deg, #ffffff, #00aaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu-subtitle {
  font-size: 12px;
  color: var(--k-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Tech Menu List */
.tech-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-item {
  position: relative;
}

/* Menu Links */
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 102, 204, 0.1);
  border-radius: 12px;
  color: var(--k-text);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.menu-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
  transition: left 0.6s ease;
}

.menu-link:hover::before {
  left: 100%;
}

.menu-link:hover {
  background: rgba(0, 102, 204, 0.1);
  border-color: rgba(0, 102, 204, 0.3);
  transform: translateX(4px);
  box-shadow: 
    0 8px 25px rgba(0, 102, 204, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.menu-link:active {
  transform: translateX(2px) scale(0.98);
}

/* Menu Link Content */
.menu-link-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.menu-link-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(0, 170, 255, 0.1));
  border: 1px solid rgba(0, 102, 204, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu-link-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.3), rgba(0, 170, 255, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-link:hover .menu-link-icon::before {
  opacity: 1;
}

.menu-link-icon i {
  font-size: 16px;
  color: #00aaff;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.menu-link:hover .menu-link-icon i {
  color: #ffffff;
  transform: scale(1.1);
}

/* Menu Link Text */
.menu-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--k-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.link-desc {
  font-size: 11px;
  color: var(--k-muted);
  font-weight: 400;
}

.menu-link:hover .link-title {
  color: #00aaff;
}

/* Menu Link Arrow */
.menu-link-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.menu-link:hover .menu-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.menu-link-arrow i {
  font-size: 12px;
  color: #00aaff;
  transition: transform 0.3s ease;
}

.menu-link:hover .menu-link-arrow i {
  transform: translateX(4px);
}

/* Active menu item styling */
.menu-item.active .menu-link {
  background: rgba(0, 102, 204, 0.15);
  border-color: rgba(0, 102, 204, 0.4);
  box-shadow: 
    0 4px 15px rgba(0, 102, 204, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.menu-item.active .menu-link-icon {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.3), rgba(0, 170, 255, 0.2));
  border-color: rgba(0, 102, 204, 0.5);
}

.menu-item.active .menu-link-icon::before {
  opacity: 1;
}

.menu-item.active .menu-link-icon i {
  color: #ffffff;
  transform: scale(1.1);
}

.menu-item.active .link-title {
  color: #00aaff;
  font-weight: 700;
}

.menu-item.active .menu-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.menu-item.active .menu-link-arrow i {
  color: #00aaff;
  transform: translateX(4px);
}

/* Menu Footer */
.menu-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 102, 204, 0.2);
}

.menu-stats {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.menu-footer .stat {
  text-align: center;
  flex: 1;
}

.menu-footer .stat-number {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #00aaff;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #00aaff, #0066cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu-footer .stat-label {
  font-size: 10px;
  color: var(--k-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tech-menu-panel {
    width: 320px;
    right: -10px;
  }
  
  .menu-content {
    padding: 20px;
  }
  
  .menu-link {
    padding: 14px 16px;
  }
  
  .menu-link-icon {
    width: 36px;
    height: 36px;
  }
  
  .menu-link-icon i {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .tech-menu-panel {
    width: 280px;
    right: -20px;
  }
  
  .menu-content {
    padding: 16px;
  }
  
  .menu-link {
    padding: 12px 14px;
  }
  
  .menu-link-content {
    gap: 12px;
  }
  
  .menu-link-icon {
    width: 32px;
    height: 32px;
  }
  
  .menu-link-icon i {
    font-size: 12px;
  }
  
  .link-title {
    font-size: 13px;
  }
  
  .link-desc {
    font-size: 10px;
  }
}

/* CTA matches KOVSK: white pill, dark text, inset stroke */
.kcta{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 18px;
  background: #fff; color: #0e0f10;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  font-weight: 600; text-decoration:none;
  box-shadow: 0 6px 18px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.6);
  transition: transform .15s ease, box-shadow .15s ease;
}
.kcta:hover{ transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.7); }
.kcta:active{ transform: translateY(0); }

/* Mobile tweaks for tech menu */
@media (max-width: 680px){
  .kbar{ 
    padding: 10px; 
  }
  .kbrand-text{ display:none; }
  .kbrand-logo{
    width: 100px; height: 100px; /* smaller logo on mobile */
  }
  
  /* Tech menu button mobile adjustments */
  .tech-menu-btn {
    padding: 10px 16px;
    min-width: 100px;
  }
  
  .menu-text {
    font-size: 12px;
  }
  
  .menu-icon {
    width: 16px;
    height: 12px;
  }
  
  .hamburger-line {
    height: 1.5px;
  }
}

/* Extra small screens */
@media (max-width: 480px){
  .kbar{ 
    padding: 5px; 
  }
  .kbrand-logo{
    width: 80px; height: 80px; /* even smaller logo on very small screens */
  }
  
  /* Tech menu button extra small adjustments */
  .tech-menu-btn {
    padding: 8px 12px;
    min-width: 80px;
  }
  
  .menu-text {
    font-size: 11px;
  }
  
  .menu-icon {
    width: 14px;
    height: 10px;
  }
  
  .hamburger-line {
    height: 1px;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Centered Logo and Navigation */
.centered-logo-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.centered-logo .logo-image {
    height: 150px;
    width: 150px;
    transition: var(--transition);
    margin-bottom: 2rem;
}

.centered-logo .logo-image:hover {
    transform: scale(1.05);
}

.centered-nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.centered-nav-menu .nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
}

.centered-nav-menu .nav-link:hover {
    color: var(--primary-color);
}

.centered-nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.centered-nav-menu .nav-link:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

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

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

/* Old dropdown styles removed - replaced with bulletproof menu */

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: #000000;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    text-align: center;
    padding-top: 4rem;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 auto 2rem auto;
    max-width: 600px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Services Section */
.services {
    padding: 6rem 0;
    background: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #000000;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    gap: 1rem;
}

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

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 300px;
}

.tech-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.tech-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.project-image {
    height: 200px;
    background: var(--gradient-secondary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tech span {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.tech-category {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.tech-category:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.tech-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-category p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: #000000;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.page-header-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Services Section */
.featured-services {
    padding: 6rem 0;
    background: #000000;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Featured Projects Section */
.featured-projects {
    padding: 6rem 0;
    background: #000000;
}

.projects-cta {
    text-align: center;
    margin-top: 3rem;
}

/* About Buttons */
.about-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: #000000;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Project Categories */
.project-categories {
    padding: 2rem 0;
    background: #000000;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

/* Project Stats */
.project-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Project Stats Section */
.project-stats-section {
    padding: 6rem 0;
    background: #000000;
}

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

.stat-card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.process-step {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Service Features */
.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Contact Page Specific Styles */
.contact-faq {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-faq .faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-faq .faq-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.contact-faq .faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.contact-faq .faq-question:hover {
    background: var(--bg-secondary);
}

.contact-faq .faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.contact-faq .faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-faq .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.contact-faq .faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.contact-faq .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.contact-faq .faq-answer p {
    color: var(--text-secondary);
    margin: 0;
}

/* Social Contact */
.social-contact {
    margin-top: 2rem;
}

.social-contact h4 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}



/* Project Actions */
.project-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-tertiary);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border: 1px solid var(--border-color);
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

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

/* Modal Content Styles */
.project-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-details {
    display: grid;
    gap: 2rem;
}

.project-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-section ul {
    list-style: none;
    padding: 0;
}

.project-section ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.project-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.result-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.result-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-method h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    margin-bottom: 0.5rem;
}

.contact-form p {
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: #000000;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-secondary);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        min-height: 50vh;
        padding: 1rem 0;
    }
    
    .hero-container {
        padding-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        width: 100px;
        height: 100px;
        margin: 0 auto 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Page Header */
    .page-header-content h1 {
        font-size: 2.5rem;
    }

    /* Form Row */
    .form-row {
        grid-template-columns: 1fr;
    }



    /* Project Actions */
    .project-actions {
        flex-direction: column;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }

    /* Results Grid */
    .results-grid {
        grid-template-columns: 1fr;
    }

    /* Category Filters */
    .category-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: 40vh;
        padding: 0.5rem 0;
    }
    
    .hero-container {
        padding-top: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card,
    .project-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .footer-logo {
        width: 80px;
        height: 80px;
    }
}

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

@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);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Menu Button and Panel Styles */
.site-nav { 
    position: relative; 
    z-index: 1000; 
}

/* Desktop Menu Button */
.menu-btn { 
    position: relative; 
    z-index: 1002; 
    cursor: pointer;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    pointer-events: auto;
}

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

/* Hamburger Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 10000;
    position: relative;
    transition: var(--transition);
}

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

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn:hover .hamburger-line {
    background: white;
}

/* Hamburger Animation */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-panel {
    position: absolute; 
    left: 50%;
    transform: translateX(-50%) translateY(-8px) scale(.98);
    top: 100%;
    min-width: 200px;
    background: var(--bg-tertiary); 
    color: var(--text-primary);
    border: 1px solid var(--primary-color); 
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
    display: none; 
    opacity: 0; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    margin-top: 12px;
    backdrop-filter: blur(10px);
}

.menu-panel.is-open {
    display: block;
    opacity: 1; 
    transform: translateX(-50%) translateY(0) scale(1);
}

.menu-panel::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--primary-color);
}

.menu-list { 
    list-style: none; 
    margin: 0; 
    padding: 12px; 
}

.menu-list li {
    margin: 0;
}

.menu-list a { 
    display: block; 
    padding: 14px 18px; 
    color: var(--text-primary); 
    text-decoration: none; 
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.menu-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
    transition: left 0.5s;
}

.menu-list a:hover::before {
    left: 100%;
}

.menu-list a:hover, 
.menu-list a:focus { 
    background: var(--primary-color); 
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 60px;
    right: 20px;
    width: 280px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
}

.mobile-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* Remove header styles since we removed the header */

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    flex: 1;
}

.mobile-menu-list li {
    margin: 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-list a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.mobile-menu-list a:hover,
.mobile-menu-list a:focus {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Styles - Fixed */
@media (max-width: 768px) { 
    /* Ensure hero content doesn't interfere with menu */
    .hero-content {
        position: relative;
        z-index: 1;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    
    .contact-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .mobile-menu-content a {
        padding: 8px 0;
        font-size: 1rem;
    }
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-content {
    padding: 4rem 0;
    min-height: 60vh;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-text h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-text ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

.legal-text a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ===== ERROR PAGE STYLES ===== */
.error-page {
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 102, 204, 0.5);
}

.error-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.error-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.error-suggestions {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.error-suggestions h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.error-suggestions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.error-suggestions li {
    margin-bottom: 0.5rem;
}

.error-suggestions a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.error-suggestions a:hover {
    color: var(--primary-color);
    background: var(--bg-tertiary);
}

/* ===== LEGAL & ERROR PAGES MOBILE ===== */
@media (max-width: 768px) {
    .legal-text {
        padding: 2rem 1.5rem;
    }
    
    .legal-text h2 {
        font-size: 1.3rem;
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-description {
        font-size: 1.1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-suggestions {
        padding: 1.5rem;
    }
}
