/* Variables */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #0f172a;
  --accent-color: #06b6d4;
  --text-color: #334155;
  --light-bg: #f8fafc;
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  padding: 1.5rem 0;
  background: rgba(15, 23, 42, 0.95);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.8) !important;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

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

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  border: none;
  transition: transform 0.2s;
}

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

.bg-gradient-primary {
  background: var(--gradient-primary);
}

/* Hero Section */
#hero {
  height: 100vh;
  min-height: 600px;
  background: url("../images/hero_background_tech.png") no-repeat center
    center/cover; /* Placeholder name */
  position: relative;
  /* Fallback if image fails */
  background-color: var(--secondary-color);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.6) 100%
  );
}

#hero h1 {
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Utilities */
.text-primary {
  color: var(--primary-color) !important;
}

.opacity-90 {
  opacity: 0.9;
}

.section-padding {
  padding: 100px 0;
}

.bg-primary-subtle {
  background-color: rgba(37, 99, 235, 0.1);
}

.ls-2 {
  letter-spacing: 2px;
}

/* Service Cards */
.service-card {
  background: #fff;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1) !important;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
  transition: transform 0.5s ease;
}

.service-card:hover::after {
  transform: scale(2);
}

.icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Backgrounds & Text */
.bg-dark {
  background-color: var(--secondary-color) !important;
}

.text-info {
  color: var(--accent-color) !important;
}

.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

/* Footer */
footer a {
  transition: opacity 0.2s;
}

footer a:hover {
  color: var(--accent-color) !important;
}
