/* ===========================
   VKR SOLUTIONS – Global CSS  (fixed + upgraded)
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --primary: #0a1628;
  --accent: #e8380d;
  --accent2: #ff6b35;
  --gold: #f5a623;
  --light: #f7f8fc;
  --white: #ffffff;
  --gray: #6b7280;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --gradient: linear-gradient(135deg, #0a1628 0%, #162848 100%);
  --text: #1a2540;
  --nav-h: 70px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Syne', sans-serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 5px;
}

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

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  /* highest */
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 5%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(232, 56, 13, 0.2);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.nav-logo span {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-logo span em {
  color: var(--accent);
  font-style: normal;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 7px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(232, 56, 13, 0.18);
}

.nav-links a.btn-nav {
  background: var(--accent);
  color: var(--white);
  padding: 8px 18px;
  font-weight: 600;
}

.nav-links a.btn-nav:hover {
  background: #c42d08;
}

.nav-links a.btn-nav.active {
  background: #c42d08;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: none;
  border: none;
  border-radius: 8px;
  flex-shrink: 0;
  z-index: 10000;
  position: relative;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Nav Drawer ── */
.mobile-nav {
  display: none;
  /* hidden by default — JS adds .open */
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  z-index: 9998;
  background: rgba(10, 22, 40, 0.99);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0 24px;
  border-bottom: 2px solid var(--accent);
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* slide-down animation */
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 24px;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--white);
  background: rgba(232, 56, 13, 0.13);
  border-left-color: var(--accent);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: var(--gradient);
  padding: 130px 5% 70px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  max-width: 600px;
  margin: 12px auto 0;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--accent2);
  font-size: 0.85rem;
  font-weight: 500;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232, 56, 13, 0.35);
}

.btn-primary:hover {
  background: #c42d08;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 56, 13, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: #162848;
  transform: translateY(-2px);
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.section {
  padding: 80px 5%;
}

.section-sm {
  padding: 50px 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(232, 56, 13, 0.08);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid rgba(232, 56, 13, 0.18);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-title span {
  color: var(--accent);
}

.section-desc {
  color: var(--gray);
  font-size: 0.97rem;
  max-width: 560px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin: 0 auto;
}

/* ── Grids ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Card base ── */
.card {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.35s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(10, 22, 40, 0.12);
  border-color: rgba(232, 56, 13, 0.2);
}

/* ── Spacing utils ── */
.mb-40 {
  margin-bottom: 40px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 8px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--accent);
  padding: 28px 5%;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-item .num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
  display: block;
}

.stat-item .label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  padding: 60px 5% 28px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand .logo-wrap img {
  height: 42px;
  border-radius: 6px;
}

.footer-brand .logo-wrap span {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: 0.98rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: 7px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 11px;
}

.footer-contact-item .icon {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.83rem;
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .accent {
  color: var(--accent2);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CTA SECTION (shared)
   ============================================================ */
.cta-section {
  background: var(--gradient);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 56, 13, 0.18), transparent 60%);
}

.cta-section h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

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

/* Tablet */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  /* Show hamburger, hide desktop links */
  .nav-links {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 55px 5%;
  }

  .section-sm {
    padding: 40px 5%;
  }

  .page-header {
    padding: 110px 5% 55px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn {
    padding: 11px 20px;
    font-size: 0.85rem;
  }

  .nav-logo span {
    font-size: 0.9rem;
  }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  position: relative;
}

.wa-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.wa-btn svg {
  width: 32px;
  height: 32px;
  fill: #26af3b;
}

/* Pulse ring */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.35);
    opacity: 0;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Tooltip label */
.wa-tooltip {
  background: #1e1e1e;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  position: absolute;
  right: 72px;
  bottom: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: #1e1e1e;
}

.wa-btn:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .wa-float {
    bottom: 20px;
    right: 18px;
  }

  .wa-btn {
    width: 54px;
    height: 54px;
  }

  .wa-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  text-decoration: none;
}

.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.55);
}

/* Pulse ring */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2.5px solid rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.2s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }

  70% {
    transform: scale(1.35);
    opacity: 0;
  }

  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

.wa-btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

/* Tooltip label */
.wa-label {
  background: #25D366;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  margin-right: 12px;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.wa-label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a1a;
  border-right: 0;
}

.wa-float:hover .wa-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .wa-float {
    bottom: 20px;
    right: 16px;
  }

  .wa-btn {
    width: 52px;
    height: 52px;
  }

  .wa-btn svg {
    width: 26px;
    height: 26px;
  }

  .wa-label {
    display: none;
  }
}