/* === DESIGN SYSTEM & VARIABLES === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* SK Technologies Authentic Brand Colors */
  --brand-navy: #001f3f;
  --brand-blue: #0056b3;
  --brand-cyan: #0dcaf0;
  
  /* Modern UI Colors */
  --bg-white: #ffffff;
  --bg-light: #f8fafc; 
  --text-dark: #0f172a; 
  --text-muted: #475569; 
  
  /* Shadows & Borders */
  --shadow-sm: 0 4px 6px -1px rgba(0, 31, 63, 0.05), 0 2px 4px -1px rgba(0, 31, 63, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(0, 31, 63, 0.12);
  --border-light: rgba(0, 31, 63, 0.08);
}

/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-muted);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .font-display { 
  font-family: 'Space Grotesk', sans-serif; 
  color: var(--text-dark);
}
a { text-decoration: none; transition: 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

/* === BUTTONS === */
.btn-primary-sk {
  background-color: var(--brand-blue);
  color: #ffffff !important;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid var(--brand-blue);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.3);
}
.btn-primary-sk:hover {
  background-color: #004494;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

.btn-outline-sk {
  background-color: transparent;
  color: var(--text-dark);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid rgba(0, 31, 63, 0.2);
  transition: all 0.3s ease;
}
.btn-outline-sk:hover {
  border-color: var(--brand-blue);
  background-color: rgba(0, 86, 179, 0.05);
  color: var(--brand-blue);
}

/* Hero specific outline button */
.btn-outline-hero {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.btn-outline-hero:hover {
  border-color: var(--brand-cyan);
  background: rgba(13, 202, 240, 0.1);
  color: var(--brand-cyan);
}

/* === TOP BAR === */
.top-bar {
  background: #001226; 
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 8px 0;
  position: relative;
  z-index: 1040;
}

/* === NAVBAR (Dark Glass) === */
.navbar-glass {
  background: rgba(0, 31, 63, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.4s ease;
  padding: 1rem 0;
}
.navbar-glass.scrolled {
  background: rgba(0, 31, 63, 0.98);
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  top: 0 !important; /* Overrides top-bar spacing when scrolled */
}
.nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 12px;
  transition: 0.3s;
}
.nav-link:hover { color: var(--brand-cyan) !important; }
.navbar-toggler { border: none; }
.navbar-toggler-icon { filter: invert(1); }

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--brand-navy);
  overflow: hidden;
  padding-top: 80px;
}
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.8;
}
/* Beautiful animated glowing orbs */
.hero-glow-1, .hero-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out alternate;
  z-index: 0;
}
.hero-glow-1 {
  width: 50vw; height: 50vw;
  background: var(--brand-blue);
  top: -10%; left: -10%;
}
.hero-glow-2 {
  width: 40vw; height: 40vw;
  background: var(--brand-cyan);
  bottom: -10%; right: -10%;
  animation-delay: -5s;
}
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 10%) scale(1.1); }
  100% { transform: translate(-5%, 5%) scale(0.95); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--brand-navy) 100%);
  z-index: 2;
}

.hero-content { position: relative; z-index: 3; max-width: 800px; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(13, 202, 240, 0.3);
  background: rgba(13, 202, 240, 0.1);
  color: var(--brand-cyan);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.typing-cursor {
  display: inline-block;
  width: 4px; background-color: var(--brand-cyan);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* === FLOATING FEATURES === */
.floating-features { margin-top: -60px; position: relative; z-index: 10; padding-bottom: 60px; }
.feature-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  border-right: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}
.feature-card:last-child { border-right: none; }
.feature-card:hover { transform: translateY(-8px); }

/* === SECTIONS === */
.section-padding { padding: 100px 0; }
.bg-light-gray { background-color: var(--bg-light); }
.section-subtitle {
  color: var(--brand-blue);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }

/* === CLEAN PREMIUM CARDS (Dynamic Content) === */
.clean-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}
.clean-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 86, 179, 0.2);
}
.icon-box-light {
  width: 64px; height: 64px;
  background: rgba(13, 202, 240, 0.1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--brand-blue);
  margin-bottom: 1.5rem;
  transition: 0.3s;
}
.clean-card:hover .icon-box-light {
  background: var(--brand-blue);
  color: #ffffff;
  transform: scale(1.05);
}

.product-visual {
  height: 220px;
  background: var(--bg-light);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-light);
}

/* === CONTACT FORM === */
.contact-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-info-block {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 3rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.form-control {
  border: 1px solid var(--border-light);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: var(--bg-light);
}
.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
  background: var(--bg-white);
}

/* === FOOTER === */
.site-footer {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--brand-cyan);
}
.footer-links a { color: rgba(255,255,255,0.7); display: block; margin-bottom: 0.75rem; font-size: 0.95rem; }
.footer-links a:hover { color: var(--brand-cyan); padding-left: 5px; }
.social-icon {
  width: 45px; height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: inline-flex; align-items: center; justify-content: center;
  color: #ffffff; border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}
.social-icon:hover { background: var(--brand-cyan); color: var(--brand-navy); border-color: var(--brand-cyan); transform: translateY(-3px); }

/* === MODALS === */
.modal-content { border: none; border-radius: 16px; box-shadow: 0 25px 50px rgba(0,31,63,0.3); overflow: hidden; }
.modal-header { background: var(--bg-light); border-bottom: 1px solid var(--border-light); }

/* === CHATBOT === */
.chatbot-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1080;
  font-family: 'Inter', sans-serif;
}

.chatbot-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.whatsapp-float,
.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-1px);
  background: #ffffff;
  color: #0f172a;
}

.chatbot-toggle {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}

.chatbot-toggle:hover {
  background: #111827;
  color: #ffffff;
  transform: translateY(-1px);
}

.whatsapp-float i,
.chatbot-toggle i {
  font-size: 1.05rem;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(360px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 110px));
  display: none;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.chatbot-widget.is-open .chatbot-panel {
  display: flex;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  background: transparent;
  color: #0f172a;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.chatbot-header h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.chatbot-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chatbot-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chatbot-close:hover {
  background: #ffffff;
}

.chatbot-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  overflow-y: auto;
  background: transparent;
}

.chatbot-message {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-line;
}

.chatbot-message.bot {
  align-self: flex-start;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom-left-radius: 6px;
}

.chatbot-message.user {
  align-self: flex-end;
  background: #0f172a;
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.chatbot-suggestions {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: transparent;
}

.chatbot-suggestions button {
  flex: 0 0 auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
  color: #334155;
  padding: 7px 11px;
  font-weight: 500;
  font-size: 0.78rem;
  cursor: pointer;
}

.chatbot-suggestions button:hover {
  background: #ffffff;
  color: #0f172a;
}

.chatbot-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 14px;
  background: transparent;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.chatbot-form input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 0 12px;
  color: #0f172a;
  background: rgba(248, 250, 252, 0.95);
}

.chatbot-form input:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.chatbot-form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chatbot-form button:hover {
  background: #111827;
}

@media (max-width: 575.98px) {
  .chatbot-widget {
    right: 14px;
    bottom: 14px;
  }

  .chatbot-actions {
    gap: 10px;
  }

  .whatsapp-float span,
  .chatbot-toggle span {
    display: none;
  }

  .whatsapp-float,
  .chatbot-toggle {
    width: 54px;
    min-height: 54px;
    justify-content: center;
    padding: 0;
  }

  .chatbot-panel {
    right: 0;
    bottom: 68px;
    width: calc(100vw - 28px);
    height: min(590px, calc(100vh - 96px));
    border-radius: 22px;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.10), transparent 28%),
    radial-gradient(circle at top, rgba(147, 197, 253, 0.18), transparent 45%),
    linear-gradient(135deg, #0b2f78 0%, #0f4aa8 48%, #1e63d6 100%);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16), transparent 18%),
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.10), transparent 16%),
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.08), transparent 20%);
  filter: blur(10px);
  animation: floatGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.loader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.14;
  mask-image: radial-gradient(circle at center, black 26%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at center, black 26%, transparent 82%);
  animation: gridMove 16s linear infinite;
  pointer-events: none;
}

.loader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transform: translateY(-4px);
}

.loader-logo-wrap {
  position: relative;
  width: min(360px, calc(100vw - 40px));
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .loader-logo svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  overflow: visible;

  filter:
    brightness(0)
    invert(1)
    drop-shadow(0 0 8px rgba(255,255,255,0.55))
    drop-shadow(0 0 20px rgba(255,255,255,0.22));

  clip-path: inset(0 100% 0 0);
  animation:
    logoReveal 2.2s cubic-bezier(0.77, 0, 0.175, 1) forwards,
    logoPulse 2.2s ease-in-out infinite;
} */
.loader-logo svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  overflow: visible;

  filter:
    brightness(0)
    invert(1)
    drop-shadow(0 0 8px rgba(255,255,255,0.45))
    drop-shadow(0 0 20px rgba(255,255,255,0.22));

  opacity: 0;
  transform: scale(0.94);

  animation:
    logoFade 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    logoPulse 2.2s ease-in-out infinite;
}
/* progress line */
.loader-progress {
  position: relative;
  width: 240px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
}

.loader-progress span {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.10), #ffffff, rgba(255,255,255,0.12));
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.65);
  animation: progressMove 1.35s ease-in-out infinite;
}

.loader-percent {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.45),
    0 0 18px rgba(255, 255, 255, 0.24);
  font-family: 'Inter', sans-serif;
}

.loader-label {
  font-size: 0.72rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.38),
    0 0 16px rgba(255, 255, 255, 0.18);
  font-family: 'Inter', sans-serif;
}

.loader-label::before {
  content: "✦";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
}

.loader-label::after {
  content: "✦";
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
}

@keyframes logoFade {

  0% {
    opacity: 0;
    transform: scale(0.92);
    filter:
      brightness(0)
      invert(1)
      blur(8px)
      drop-shadow(0 0 0 rgba(255,255,255,0));
  }

  40% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
    transform: scale(1);

    filter:
      brightness(0)
      invert(1)
      blur(0px)
      drop-shadow(0 0 8px rgba(255,255,255,0.45))
      drop-shadow(0 0 20px rgba(255,255,255,0.22));
  }
}

@keyframes logoPulse {
  0%, 100% {
    filter:
      brightness(0)
      invert(1)
      drop-shadow(0 0 8px rgba(255,255,255,0.55))
      drop-shadow(0 0 20px rgba(255,255,255,0.22));
  }
  50% {
    filter:
      brightness(0)
      invert(1)
      drop-shadow(0 0 16px rgba(255,255,255,0.95))
      drop-shadow(0 0 32px rgba(255,255,255,0.45));
  }
}

@keyframes progressMove {
  0% {
    transform: translateX(-140%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes gridMove {
  from { transform: translateY(0px); }
  to { transform: translateY(42px); }
}

@keyframes floatGlow {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.05) translate3d(0, -8px, 0);
    opacity: 0.95;
  }
}

@media (max-width: 768px) {
  .loader-logo-wrap {
    width: min(280px, calc(100vw - 40px));
    min-height: 120px;
  }

  .loader-progress {
    width: 190px;
  }

  .loader-label {
    letter-spacing: 0.28em;
    font-size: 0.66rem;
    text-align: center;
    padding: 0 10px;
  }

  .loader-percent {
    letter-spacing: 0.18em;
  }
}
/* =========================================================
   TRUE SVG DRAW
========================================================= */

@keyframes drawPath {

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pathGlow {

    0%, 100% {
        filter:
            drop-shadow(0 0 6px rgba(255,255,255,0.55))
            drop-shadow(0 0 16px rgba(255,255,255,0.22));
    }

    50% {
        filter:
            drop-shadow(0 0 12px rgba(255,255,255,0.95))
            drop-shadow(0 0 28px rgba(255,255,255,0.45));
    }
}