/* Dream Techzone — Custom Styles */
* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; }

/* Nav Links */
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link:hover, .nav-link.active { color: #2563eb; }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: #2563eb;
  border-radius: 2px;
}
.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  display: block;
}
.mobile-nav-link:hover { color: #2563eb; }

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  font-size: 0.875rem;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.35); }

.btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
  padding: 8px 22px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  font-size: 0.875rem;
}
.btn-outline:hover { background: #2563eb; color: white; }

.btn-white {
  background: white;
  color: #2563eb;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-white:hover { background: #f0f9ff; transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 2px solid rgba(255,255,255,0.25);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* Section headings */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Hero Slideshow — opacity-based stacking (no display:none) */
.slideshow-container {
  position: relative;
  height: 540px;
  overflow: hidden;
}
.slide {
  position: absolute !important;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
}

/* Service Cards */
.service-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: #93c5fd; }
.service-card .top-bar { height: 4px; width: 100%; }

/* Category Tabs */
.cat-tab {
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  background: white;
  color: #64748b;
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-tab:hover { border-color: #93c5fd; color: #2563eb; }
.cat-tab.active { background: #1e293b; color: white; border-color: #1e293b; }

/* Stats */
.stat-card {
  text-align: center;
  padding: 20px;
  border-right: 1px solid #e2e8f0;
}
.stat-card:last-child { border-right: none; }

/* Forms */
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  font-family: inherit;
}
.form-input:focus { border-color: #2563eb; }
.form-label { font-size: 0.85rem; font-weight: 600; color: #374151; margin-bottom: 6px; display: block; }

/* Alert Messages */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 0.9rem; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #15803d; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; }
.alert-info    { background: #eff6ff; border: 1px solid #93c5fd; color: #1d4ed8; }

/* Ticket Status Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.badge-open       { background: #fef3c7; color: #d97706; }
.badge-in_progress{ background: #eff6ff; color: #2563eb; }
.badge-resolved   { background: #f0fdf4; color: #16a34a; }
.badge-closed     { background: #f1f5f9; color: #64748b; }
.badge-low    { background: #f0fdf4; color: #16a34a; }
.badge-medium { background: #fef3c7; color: #d97706; }
.badge-high   { background: #fef2f2; color: #dc2626; }
.badge-urgent { background: #dc2626; color: white; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero dark bg */
.hero-dark { background: #0f172a; }

/* Animate fade-in */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Why card hover */
.why-card { transition: all 0.3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }

/* Scrollbar hide */
.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }

/* Review stars */
.stars { color: #f59e0b; }

/* Grid pattern overlay */
.grid-pattern {
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal-box {
  background: white; border-radius: 16px; padding: 32px; width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto; position: relative;
}
