/* Swyft Enhanced Dark Theme */
/* Modern dark theme with high contrast and professional styling */

:root {
  --swyft-dark-bg: #0a0a0b;
  --swyft-darker-bg: #000000;
  --swyft-card-bg: #111115;
  --swyft-border: #1f1f23;
  --swyft-accent: #00d4ff;
  --swyft-accent-dark: #0099cc;
  --swyft-warning: #ff6b35;
  --swyft-text-primary: #ffffff;
  --swyft-text-secondary: #b4b4b9;
  --swyft-text-muted: #7a7a7f;
}

/* Override main background */
body {
  background: var(--swyft-dark-bg);
  color: var(--swyft-text-primary);
}

/* Enhanced navigation */
.navbar-custom {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--swyft-border);
}

.navbar-custom.sticky {
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
}

/* Hero section enhancements */
.hero-3-bg {
  background: linear-gradient(135deg, var(--swyft-dark-bg) 0%, #001122 50%, var(--swyft-darker-bg) 100%);
  position: relative;
}

.hero-3-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-3-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--swyft-text-primary) 0%, var(--swyft-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Service boxes with enhanced styling */
.service-box {
  background: var(--swyft-card-bg);
  border: 1px solid var(--swyft-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--swyft-accent), transparent);
  transition: left 0.5s ease;
}

.service-box:hover {
  transform: translateY(-8px);
  border-color: var(--swyft-accent);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.service-box:hover::before {
  left: 100%;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--swyft-accent);
  transition: all 0.3s ease;
}

.service-box:hover .service-icon {
  color: var(--swyft-warning);
  transform: scale(1.1);
}

.service-title {
  color: var(--swyft-text-primary) !important;
  font-weight: 600;
}

/* Sections with enhanced backgrounds */
.section {
  background: var(--swyft-dark-bg);
}

.section.bg-light {
  background: var(--swyft-card-bg) !important;
  border-top: 1px solid var(--swyft-border);
  border-bottom: 1px solid var(--swyft-border);
}

/* Text color improvements */
.text-dark {
  color: var(--swyft-text-primary) !important;
}

.text-muted {
  color: var(--swyft-text-secondary) !important;
}

.text-white-50 {
  color: var(--swyft-text-secondary) !important;
}

/* Buttons with enhanced styling */
.btn-warning {
  background: linear-gradient(135deg, var(--swyft-warning) 0%, #ff8f5a 100%);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-warning::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-warning:hover::before {
  left: 100%;
}

/* Features section */
.features-box {
  background: var(--swyft-card-bg);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--swyft-border);
  transition: all 0.3s ease;
}

.features-box:hover {
  border-color: var(--swyft-accent);
  box-shadow: 0 5px 20px rgba(0, 212, 255, 0.1);
}

.features-icon i {
  font-size: 2.5rem;
  color: var(--swyft-accent);
}

/* Counter section */
.counter-bg {
  background: linear-gradient(135deg, var(--swyft-darker-bg) 0%, #001a33 100%) !important;
}

.counter-box {
  background: rgba(17, 17, 21, 0.8);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--swyft-border);
}

/* Testimonials */
.testi-box {
  background: var(--swyft-card-bg) !important;
  border: 1px solid var(--swyft-border);
  border-radius: 12px;
}

/* Contact form */
.form-control {
  background: var(--swyft-card-bg);
  border: 1px solid var(--swyft-border);
  color: var(--swyft-text-primary);
  border-radius: 8px;
  padding: 12px 15px;
}

.form-control:focus {
  background: var(--swyft-card-bg);
  border-color: var(--swyft-accent);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
  color: var(--swyft-text-primary);
}

.form-control::placeholder {
  color: var(--swyft-text-muted);
}

/* Footer */
.footer {
  background: var(--swyft-darker-bg);
  border-top: 1px solid var(--swyft-border);
}

.footer-list-title {
  color: var(--swyft-text-primary) !important;
  font-weight: 600;
}

.company-sub-menu li a {
  color: var(--swyft-text-secondary);
  transition: color 0.3s ease;
}

.company-sub-menu li a:hover {
  color: var(--swyft-accent);
}

/* Social icons */
.footer-social-list li a {
  background: var(--swyft-card-bg);
  color: var(--swyft-text-secondary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--swyft-border);
  transition: all 0.3s ease;
}

.footer-social-list li a:hover {
  background: var(--swyft-accent);
  color: white;
  transform: translateY(-2px);
}

/* Navigation links */
.nav-link {
  color: var(--swyft-text-secondary) !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--swyft-accent) !important;
}

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

.service-box,
.features-box,
.counter-box {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .hero-3-title {
    font-size: 2.5rem;
  }
  
  .service-box {
    margin-bottom: 2rem;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--swyft-accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--swyft-accent-dark);
}

/* Loading animations */
.service-box:nth-child(1) { animation-delay: 0.1s; }
.service-box:nth-child(2) { animation-delay: 0.2s; }
.service-box:nth-child(3) { animation-delay: 0.3s; }
.service-box:nth-child(4) { animation-delay: 0.4s; }
.service-box:nth-child(5) { animation-delay: 0.5s; }
.service-box:nth-child(6) { animation-delay: 0.6s; }