/* ===== Global Base & Typography ===== */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --dark-bg: #090e1a;
  --navy-surface: #0f172a;
  --slate-border: rgba(255, 255, 255, 0.08);
  --card-border: rgba(15, 23, 42, 0.08);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html {
  font-size: 15px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: #f8fafc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility & Focus */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.9), 0 0 0 0.3rem var(--primary-color);
}

/* Button Smooth Transitions & Micro-interactions */
.btn {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
}

.btn-primary:hover, .btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* ===== Sleek Security Navbar ===== */
.site-navbar {
  background: rgba(9, 14, 26, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-border);
  padding: 0.75rem 0;
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.site-navbar.navbar-scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.site-navbar .brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-navbar .navbar-brand:hover .brand-icon {
  transform: scale(1.08) rotate(3deg);
}

.site-navbar .brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-navbar .brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.site-navbar .brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #60a5fa;
}

.site-navbar .nav-link {
  color: #cbd5e1 !important;
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 6px;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.site-navbar .nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.site-navbar .nav-link.active {
  color: #60a5fa !important;
  font-weight: 600;
}

/* Mobile Navbar Dropdown */
@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    background: #090e1a;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.75rem;
    border: 1px solid var(--slate-border);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    animation: fadeInDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-navbar .nav-link {
    padding: 0.65rem 0.75rem !important;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Card Styles & Smooth Micro-Interactions ===== */
.card-clean {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card-clean img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.lift-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.28);
}

.lift-hover:hover img {
  transform: scale(1.04);
}

/* Gallery Specific Hover */
.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.15) !important;
}

/* Process Step Cards */
.step-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1);
}

/* Smooth Content Entrance Animation */
.card, .feature-card, .step-card, .cta-strip, .gallery-item {
  animation: subtleFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes subtleFadeUp {
  from {
    opacity: 0.9;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Controls Smooth Focus */
.form-control {
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ===== CTA Strip ===== */
.cta-strip {
  background: linear-gradient(135deg, #090e1a 0%, #1e3a8a 60%, #2563eb 100%) !important;
  color: #ffffff !important;
  border-radius: 18px;
  margin: 3rem auto;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-strip h3 {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ===== Responsive WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  width: 52px;
  height: 52px;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

@media (max-width: 576px) {
  .whatsapp-float {
    width: 44px;
    height: 44px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float i {
    font-size: 1.4rem !important;
  }
}

/* ===== Section & Typography Tweaks ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Footer Improvements */
.footer {
  background: #090e1a !important;
  border-top: 1px solid var(--slate-border);
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  background: #050810;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}