:root {
  --primary: #0EA5E9;
  --secondary: #14B8A6;
  --accent: #2563EB;
  --dark: #0F172A;
  --light-gray: #F8FAFC;
  --white: #FFFFFF;
  --text-dark: #334155;
  --text-light: #94A3B8;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] {
  --white: #0F172A;
  --light-gray: #1E293B;
  --dark: #F8FAFC;
  --text-dark: #F1F5F9;
  --text-light: #CBD5E1;
  --glass-bg: rgba(15, 23, 42, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
}

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-gray);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

/* Premium Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
  color: #fff;
}

/* Glassmorphism Navigation */
.navbar-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 90px;
  border-radius: 4px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 10px;
  position: relative;
  transition: color 0.3s ease;
}

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

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

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

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  position: relative;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--dark), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* Services Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(14,165,233,0.1);
  border-color: rgba(14,165,233,0.3);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

/* Dark Mode Toggle */
.theme-switch {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-dark);
  background: none;
  border: none;
}

/* Navbar Scroll hide/show */
.navbar-glass {
  transition: transform 0.4s ease-in-out, background 0.3s ease-in-out, padding 0.3s ease-in-out;
}
.nav-up {
  transform: translateY(-100%);
}

/* Typewriter animation */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Service Card Watermarks */
.service-card {
  position: relative;
  overflow: hidden;
}
.card-watermark {
  position: absolute;
  bottom: -15px;
  right: -15px;
  font-size: 5.5rem;
  opacity: 0.04;
  color: var(--primary);
  transform: rotate(-10deg);
  pointer-events: none;
  transition: all 0.35s ease-in-out;
  z-index: 1;
}
.service-card:hover .card-watermark {
  transform: scale(1.15) rotate(5deg);
  opacity: 0.07;
}

