:root {
  --primary-color: #17545d;
  --primary-light: #20676f;
  --primary-dark: #103c42;
  --secondary-color: #7f7f7f;
  --dark-bg: #0f0f0f;
  --darker-bg: #050505;
  --text-color: #ffffff;
  --text-muted: #a0a0a0;
}

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

/* Navbar */
.navbar {
  transition: all 0.3s ease-in-out;
  padding: 1.5rem 0;
}

.navbar-scrolled {
  background-color: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(23, 84, 93, 0.4);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 80px;
  background: radial-gradient(
    circle at 10% 20%,
    rgba(23, 84, 93, 0.2) 0%,
    rgba(5, 5, 5, 0.1) 40%
  );
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2317545d' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  pointer-events: none;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  color: white;
  text-align: center;
  position: absolute;
  width: 200px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.tech-graphic-container {
  position: relative;
  height: 400px;
  width: 100%;
}

.element-1 {
  top: 10%;
  right: 10%;
}
.element-2 {
  top: 40%;
  left: 10%;
}
.element-3 {
  bottom: 10%;
  right: 20%;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

.delay-200 {
  animation-delay: 2s;
}
.delay-400 {
  animation-delay: 4s;
}

.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

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

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Services */
.bg-darker {
  background-color: var(--darker-bg);
}

.service-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  background-color: rgba(23, 84, 93, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.icon-box {
  width: 70px;
  height: 70px;
}

.bg-primary-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
}
.bg-secondary-gradient {
  background: linear-gradient(135deg, #434343, #000000);
} /* Adjusted for variety */
.bg-info-gradient {
  background: linear-gradient(135deg, #103c42, #17545d);
}

/* About Section */
.bg-gradient-box {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list h4 {
  font-weight: 600;
}

.hover-white:hover {
  color: white !important;
}

/* Forms */
.form-control,
.form-select {
  border-color: rgba(255, 255, 255, 0.1);
}

.form-control:focus,
.form-select:focus {
  background-color: var(--dark-bg);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(23, 84, 93, 0.25);
}

/* Utilities */
.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.letter-spacing-2 {
  letter-spacing: 2px;
}
.grayscale-icons {
  filter: grayscale(100%);
  transition: all 0.3s;
}
.grayscale-icons:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 120px;
    text-align: center;
  }

  .tech-graphic-container {
    display: none;
  }

  .glass-card {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
}
