@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --color-bg: #f8fafc;
  --color-card-bg: #ffffff;
  --color-border: rgba(15, 23, 42, 0.08);
  --color-primary: #002265;
  --color-secondary: #00a2ff;
  --color-accent: #10b981;
  --font-sans: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) var(--color-bg);
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  color: #334155;
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

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

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
  border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* Background Grid Pattern */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: -2;
}

/* Radial Glow Orbs */
.glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
  animation: float-glow 20s ease-in-out infinite alternate;
}

.glow-orb-primary {
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  top: 5%;
  left: -150px;
}

.glow-orb-secondary {
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
  top: 40%;
  right: -150px;
  animation-delay: -5s;
}

.glow-orb-accent {
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
  bottom: 5%;
  left: 15%;
  animation-delay: -10s;
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, 20px) scale(1.05);
  }
}

/* Font styles */
.font-title {
  font-family: var(--font-title);
}

/* Glassmorphism Styles */
.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
}

.glass-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 0 1px 3px 0 rgba(15, 23, 42, 0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(0, 162, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0, 162, 255, 0.08), 0 1px 5px 0 rgba(0, 162, 255, 0.03);
}

/* Card highlight gradient */
.card-highlight-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--x, 0px) var(--y, 0px), rgba(0, 162, 255, 0.035), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Button & Tech Accents */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-primary:hover::after {
  opacity: 1;
  left: 125%;
}

.btn-primary:hover {
  box-shadow: 0 10px 20px -5px rgba(0, 162, 255, 0.35);
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(0, 162, 255, 0.3);
  color: var(--color-secondary);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.03);
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #002265 20%, #0044bb 70%, #00a2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #002265 0%, #00a2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Active Nav Links */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  transition: width 0.3s ease;
}

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

/* Portfolio Tabs styling */
.portfolio-tab {
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-tab.active {
  background: linear-gradient(135deg, rgba(0, 162, 255, 0.08) 0%, rgba(0, 34, 101, 0.08) 100%);
  border-color: rgba(0, 162, 255, 0.3);
  color: var(--color-secondary);
}

/* Custom form inputs style */
.form-input {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: #0f172a;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.1);
}

/* Pulsing Badge Dot */
.badge-dot {
  position: relative;
}

.badge-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: inherit;
  border-radius: 50%;
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: -1;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

/* Odoo ERP Accents & Brand integration */
.odoo-purple-hover:hover {
  border-color: rgba(113, 75, 103, 0.3);
  box-shadow: 0 20px 40px -15px rgba(113, 75, 103, 0.08), 0 1px 5px 0 rgba(113, 75, 103, 0.03);
}

/* Particle / Grid container styling */
.tech-container {
  position: relative;
  overflow: hidden;
}

.tech-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 162, 255, 0.1) 50%, transparent 100%);
}

/* Job Portal List Card styling */
.job-list-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.job-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(0, 162, 255, 0.05);
}
