/* ============================================
   ORIONEXT PREMIUM DESIGN SYSTEM
   ============================================ */

:root {
  --primary: #0066cc;
  --primary-dark: #004999;
  --primary-light: #3399ff;
  --secondary: #000000;
  --accent: #00aaff;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-weight: 400;
}

/* ============================================
   PREMIUM NAVIGATION
   ============================================ */

.navbar {
  background: var(--bg-white) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0 !important;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary) !important;
  /* Removed excessive padding and adjusted spacing for compact navbar */
  padding: 0 !important;
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
}

.logo-transition {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  height: 50px;
}

.navbar-brand:hover .logo-transition {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.nav-premium {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: all 0.3s ease;
  position: relative;
}

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

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

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

.btn-premium {
  background: var(--primary) !important;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.btn-premium:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

/* ============================================
   PREMIUM HERO SECTION
   ============================================ */

.hero-premium {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-premium::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(30px) rotate(10deg);
  }
}

.hero-premium > .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  animation: slideInDown 0.8s ease-out;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent), #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  opacity: 0.95;
  line-height: 1.8;
  animation: slideInUp 0.8s ease-out 0.2s backwards;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-hover-primary:hover {
  background: var(--accent) !important;
  color: var(--secondary) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.3);
}

.btn-hover-light:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--secondary) !important;
  transform: translateY(-3px);
}

/* ============================================
   PREMIUM SERVICES SECTION
   ============================================ */

.services-premium {
  padding: var(--spacing-2xl) 0;
}

.service-premium {
  background: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: 12px;
  transition: all 0.4s ease;
  border-top: 3px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.service-premium:hover {
  transform: translateY(-12px);
  border-top-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  transition: all 0.3s ease;
}

.service-premium:hover .service-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--accent), #00ffff);
}

.service-premium h5 {
  color: var(--primary);
  transition: color 0.3s ease;
}

.service-premium:hover h5 {
  color: var(--accent);
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
  display: inline-block;
}

.service-link:hover {
  color: var(--accent);
  transform: translateX(5px);
}

/* ============================================
   PREMIUM EXPERTISE SECTION
   ============================================ */

.expertise-premium {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-white);
}

.expertise-box {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.expertise-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), transparent);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.expertise-box:hover {
  transform: translateY(-8px);
  border-left-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.15);
}

.expertise-box:hover::before {
  opacity: 1;
}

.expertise-box i {
  font-size: 1.5rem;
  color: var(--primary);
}

.expertise-box h6 {
  margin-top: var(--spacing-md);
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.expertise-box:hover h6 {
  color: var(--primary);
}

/* ============================================
   PREMIUM WHY US SECTION
   ============================================ */

.why-premium {
  padding: var(--spacing-2xl) 0;
}

.why-box {
  background: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid transparent;
}

.why-box:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(0, 102, 204, 0.15);
}

.why-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-box h5 {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.why-box:hover h5 {
  color: var(--primary);
}

/* ============================================
   PREMIUM CTA SECTION
   ============================================ */

.cta-premium {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}

.cta-premium::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.cta-premium::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
}

.cta-premium > .container {
  position: relative;
  z-index: 2;
}

.cta-premium h2 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ============================================
   PREMIUM FOOTER
   ============================================ */

.footer-premium {
  background: var(--secondary);
  position: relative;
}

.footer-link {
  color: #d1d5db;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* ============================================
   UTILITIES & ANIMATIONS
   ============================================ */

.fw-900 {
  font-weight: 900;
}

.opacity-90 {
  opacity: 0.9;
}

section {
  animation: fadeInUp 0.6s ease-out;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .hero-premium {
    min-height: 500px;
    padding: var(--spacing-xl) 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .gradient-text {
    display: block;
  }

  .services-premium,
  .expertise-premium,
  .why-premium,
  .cta-premium {
    padding: var(--spacing-xl) 0;
  }

  .container {
    padding: 0 var(--spacing-lg);
  }

  .d-flex.gap-3 {
    flex-direction: column;
    align-items: center;
  }

  .d-flex.gap-3 .btn {
    width: 100%;
    max-width: 100%;
  }

  .nav-premium::after {
    display: none;
  }

  .navbar-collapse {
    margin-top: var(--spacing-md);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .why-number {
    font-size: 2rem;
  }
}
