/*
 * ============================================
 *  SOFTCRAFTS - Premium Dark Theme Stylesheet
 *  Color Palette:
 *    Base:    #060613 / #0c0c24 / #121233
 *    Cyan:    #00d4ff
 *    Purple:  #7c3aed
 *    Amber:   #f59e0b
 *    Text:    #e2e8f0 / #94a3b8
 * ============================================
 */

/* ── CSS Custom Properties ── */
:root {
  --sc-dark-1: #060613;
  --sc-dark-2: #0c0c24;
  --sc-dark-3: #121233;
  --sc-dark-4: #1a1a40;
  --sc-cyan: #00d4ff;
  --sc-purple: #7c3aed;
  --sc-amber: #f59e0b;
  --sc-green: #10b981;
  --sc-pink: #ec4899;
  --sc-text: #e2e8f0;
  --sc-text-muted: #94a3b8;
  --sc-text-dim: #64748b;
  --sc-border: rgba(255, 255, 255, 0.06);
  --sc-glass: rgba(255, 255, 255, 0.03);
  --sc-glass-hover: rgba(255, 255, 255, 0.06);
  --sc-gradient: linear-gradient(135deg, var(--sc-cyan), var(--sc-purple));
  --sc-gradient-warm: linear-gradient(135deg, var(--sc-amber), var(--sc-pink));
  --sc-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  --sc-shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
  --sc-radius: 20px;
  --sc-radius-sm: 12px;
  --sc-radius-xs: 8px;
  --sc-font-primary: "Inter", sans-serif;
  --sc-font-heading: "Space Grotesk", sans-serif;
  --sc-font-mono: "JetBrains Mono", monospace;
  --sc-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--sc-font-primary);
  background-color: var(--sc-dark-1);
  color: var(--sc-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--sc-cyan);
  color: var(--sc-dark-1);
}

a {
  color: var(--sc-cyan);
  text-decoration: none;
  transition: var(--sc-transition);
}

a:hover {
  color: var(--sc-purple);
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--sc-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.text-gradient {
  background: var(--sc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: var(--sc-gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  font-family: var(--sc-font-mono);
  font-size: 0.8rem;
  color: var(--sc-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.section-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sc-cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--sc-text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ── Cursor Glow ── */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(0, 212, 255, 0.06) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out;
}

/* ── Preloader ── */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--sc-dark-1);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--sc-font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.preloader-logo .logo-text {
  color: #fff;
}

.preloader-logo .logo-highlight {
  background: var(--sc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--sc-dark-3);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-progress {
  width: 0;
  height: 100%;
  background: var(--sc-gradient);
  border-radius: 10px;
  animation: preloaderProgress 1.5s ease-in-out forwards;
}

@keyframes preloaderProgress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/* ── Navbar ── */
.sc-navbar {
  padding: 1rem 0;
  transition: var(--sc-transition);
  z-index: 9999;
}

.sc-navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(6, 6, 19, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--sc-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.sc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.sc-logo .logo-icon svg {
  transition: var(--sc-transition);
}

.sc-logo:hover .logo-icon svg {
  transform: rotate(30deg);
}

.sc-logo .logo-name {
  font-family: var(--sc-font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.sc-navbar .nav-link {
  font-family: var(--sc-font-primary);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--sc-text-muted) !important;
  padding: 0.5rem 1.2rem !important;
  position: relative;
  transition: var(--sc-transition);
  letter-spacing: 0.3px;
}

.sc-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--sc-gradient);
  transition: var(--sc-transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.sc-navbar .nav-link:hover,
.sc-navbar .nav-link.active {
  color: #fff !important;
}

.sc-navbar .nav-link:hover::after,
.sc-navbar .nav-link.active::after {
  width: 20px;
}

/* Hamburger */
.sc-toggler {
  border: none;
  padding: 8px;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sc-toggler:focus {
  box-shadow: none;
}

.toggler-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sc-text);
  border-radius: 2px;
  transition: var(--sc-transition);
}

.sc-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.sc-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
  opacity: 0;
}

.sc-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Buttons ── */
.sc-btn-primary {
  padding: 12px 32px;
  border-radius: 50px;
  background: var(--sc-gradient);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  position: relative;
  overflow: hidden;
  transition: var(--sc-transition);
  letter-spacing: 0.3px;
}

.sc-btn-primary::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;
}

.sc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.sc-btn-primary:hover::before {
  left: 100%;
}

.sc-btn-outline {
  padding: 12px 32px;
  border-radius: 50px;
  background: transparent;
  color: var(--sc-text) !important;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--sc-border);
  transition: var(--sc-transition);
  backdrop-filter: blur(10px);
}

.sc-btn-outline:hover {
  border-color: var(--sc-cyan);
  background: rgba(0, 212, 255, 0.05);
  color: var(--sc-cyan) !important;
  transform: translateY(-2px);
}

/* ── Glass Cards ── */
.sc-card {
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius);
  padding: 2rem;
  transition: var(--sc-transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.sc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--sc-gradient);
  opacity: 0;
  transition: var(--sc-transition);
}

.sc-card:hover {
  background: var(--sc-glass-hover);
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: var(--sc-shadow-glow);
}

.sc-card:hover::before {
  opacity: 1;
}

/* ── Organic Shapes / Blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.blob-cyan {
  background: var(--sc-cyan);
}

.blob-purple {
  background: var(--sc-purple);
}

.blob-amber {
  background: var(--sc-amber);
}

/* ── Section Styling ── */
.sc-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.sc-section-alt {
  background: var(--sc-dark-2);
}

/* Diagonal Divider */
.sc-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.sc-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.sc-divider .shape-fill {
  fill: var(--sc-dark-2);
}

/* ── HERO SECTION ── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section .blob-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
}

.hero-section .blob-2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: -80px;
}

.hero-section .blob-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Grid Pattern */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* Floating Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--sc-cyan);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
  animation-duration: 18s;
}

.particle:nth-child(3) {
  top: 40%;
  left: 30%;
  animation-delay: 4s;
  animation-duration: 14s;
}

.particle:nth-child(4) {
  top: 80%;
  left: 60%;
  animation-delay: 1s;
  animation-duration: 16s;
}

.particle:nth-child(5) {
  top: 10%;
  left: 50%;
  animation-delay: 3s;
  animation-duration: 20s;
}

.particle:nth-child(6) {
  top: 70%;
  left: 20%;
  animation-delay: 5s;
  animation-duration: 13s;
}

.particle:nth-child(7) {
  top: 30%;
  left: 70%;
  animation-delay: 2.5s;
  animation-duration: 17s;
}

.particle:nth-child(8) {
  top: 90%;
  left: 40%;
  animation-delay: 1.5s;
  animation-duration: 11s;
}

@keyframes float-particle {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }

  25% {
    transform: translate(30px, -40px) scale(1.5);
    opacity: 0.6;
  }

  50% {
    transform: translate(-20px, -80px) scale(1);
    opacity: 0.2;
  }

  75% {
    transform: translate(40px, -30px) scale(1.3);
    opacity: 0.5;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--sc-text-muted);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sc-green);
  animation: pulse-dot 2s ease infinite;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--sc-text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sc-border);
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  font-family: var(--sc-font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--sc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--sc-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Right Visual */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-orbit {
  width: 450px;
  height: 450px;
  position: relative;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  border: 1px solid var(--sc-border);
  border-radius: 50%;
  animation: orbit-spin 30s linear infinite;
}

.orbit-ring-1 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.orbit-ring-2 {
  width: 75%;
  height: 75%;
  top: 12.5%;
  left: 12.5%;
  animation-direction: reverse;
  animation-duration: 20s;
}

.orbit-ring-3 {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  animation-duration: 15s;
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--sc-gradient);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.3);
  animation: orbit-pulse 3s ease-in-out infinite;
}

@keyframes orbit-pulse {

  0%,
  100% {
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.5);
  }
}

.orbit-node {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--sc-cyan);
  backdrop-filter: blur(10px);
  animation: node-float 4s ease-in-out infinite;
}

.orbit-node:nth-child(2) {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.5s;
}

.orbit-node:nth-child(3) {
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.orbit-node:nth-child(4) {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.5s;
}

.orbit-node:nth-child(5) {
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  animation-delay: 2s;
}

.orbit-node:nth-child(6) {
  top: 10%;
  right: 10%;
  animation-delay: 0.8s;
}

.orbit-node:nth-child(7) {
  bottom: 10%;
  right: 10%;
  animation-delay: 1.3s;
}

.orbit-node:nth-child(8) {
  bottom: 10%;
  left: 10%;
  animation-delay: 1.8s;
}

.orbit-node:nth-child(9) {
  top: 10%;
  left: 10%;
  animation-delay: 2.3s;
}

@keyframes node-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ── SERVICES SECTION ── */
.service-card {
  padding: 2.5rem;
  text-align: left;
  height: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--sc-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  transition: var(--sc-transition);
}

.service-icon::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 24px;
  background: var(--sc-gradient);
  opacity: 0.2;
  filter: blur(15px);
  transition: var(--sc-transition);
}

.sc-card:hover .service-icon::after {
  opacity: 0.4;
  filter: blur(20px);
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--sc-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--sc-cyan);
  font-weight: 500;
  transition: var(--sc-transition);
}

.service-link:hover {
  gap: 12px;
  color: var(--sc-purple);
}

/* Alternate icon colors */
.service-icon.icon-purple {
  background: linear-gradient(135deg, var(--sc-purple), #a855f7);
}

.service-icon.icon-amber {
  background: linear-gradient(135deg, var(--sc-amber), #f97316);
}

.service-icon.icon-green {
  background: linear-gradient(135deg, var(--sc-green), #34d399);
}

.service-icon.icon-pink {
  background: linear-gradient(135deg, var(--sc-pink), #f472b6);
}

.service-icon.icon-cyan {
  background: linear-gradient(135deg, var(--sc-cyan), #22d3ee);
}

/* ── ABOUT SECTION ── */
.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--sc-radius);
  overflow: hidden;
}

.about-image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sc-gradient);
  opacity: 0.1;
  z-index: 1;
}

.about-code-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: rgba(12, 12, 36, 0.9);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-sm);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  z-index: 2;
  font-family: var(--sc-font-mono);
  font-size: 0.8rem;
  color: var(--sc-text-muted);
  min-width: 260px;
}

.about-code-card .code-line {
  margin-bottom: 0.3rem;
}

.code-keyword {
  color: var(--sc-purple);
}

.code-function {
  color: var(--sc-cyan);
}

.code-string {
  color: var(--sc-green);
}

.code-comment {
  color: var(--sc-text-dim);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-stat-card {
  padding: 1.5rem;
  border-radius: var(--sc-radius-sm);
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  text-align: center;
  transition: var(--sc-transition);
}

.about-stat-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  background: var(--sc-glass-hover);
}

.about-stat-card .stat-value {
  font-family: var(--sc-font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.about-stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--sc-text-dim);
}

/* ── PORTFOLIO SECTION ── */
.portfolio-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.portfolio-filter .filter-btn {
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid var(--sc-border);
  background: transparent;
  color: var(--sc-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--sc-transition);
}

.portfolio-filter .filter-btn:hover,
.portfolio-filter .filter-btn.active {
  background: var(--sc-gradient);
  color: #fff;
  border-color: transparent;
}

.portfolio-card {
  position: relative;
  border-radius: var(--sc-radius);
  overflow: hidden;
  height: 350px;
  cursor: pointer;
}

.portfolio-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-thumb {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 19, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--sc-transition);
}

.portfolio-card:hover .portfolio-overlay {
  background: linear-gradient(to top,
      rgba(6, 6, 19, 0.98) 0%,
      rgba(6, 6, 19, 0.3) 100%);
}

.portfolio-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--sc-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  width: fit-content;
}

.portfolio-overlay h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  color: var(--sc-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--sc-transition);
}

.portfolio-card:hover .portfolio-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* ── PROCESS SECTION ── */
.process-step {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 3rem;
}

.process-step:last-child {
  padding-bottom: 0rem !important;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sc-cyan), transparent);
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sc-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  z-index: 1;
}

.process-step h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--sc-text-muted);
  font-size: 0.95rem;
}

/* ── TESTIMONIALS ── */
.testimonial-card {
  padding: 2.5rem;
}

.testimonial-stars {
  margin-bottom: 1.2rem;
  color: var(--sc-amber);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--sc-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--sc-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.testimonial-info h6 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--sc-text-dim);
}

/* ── TECH STACK MARQUEE ── */
.tech-marquee {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

.tech-marquee::before,
.tech-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
}

.tech-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--sc-dark-1), transparent);
}

.tech-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--sc-dark-1), transparent);
}

.tech-marquee-alt::before {
  background: linear-gradient(to right, var(--sc-dark-2), transparent);
}

.tech-marquee-alt::after {
  background: linear-gradient(to left, var(--sc-dark-2), transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 25s linear infinite;
  width: fit-content;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  border-radius: 50px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sc-text-muted);
  transition: var(--sc-transition);
}

.tech-item:hover {
  border-color: var(--sc-cyan);
  color: var(--sc-cyan);
}

.tech-item i {
  font-size: 1.2rem;
}

/* ── CONTACT SECTION ── */
.contact-form .form-floating {
  margin-bottom: 1.2rem;
}

.contact-form .form-control,
.contact-form .form-select {
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-sm);
  color: var(--sc-text);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  transition: var(--sc-transition);
  min-height: 56px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--sc-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  background: var(--sc-glass-hover);
  color: #fff;
}

.contact-form .form-floating label {
  color: var(--sc-text-dim);
}

.contact-form textarea.form-control {
  min-height: 150px;
}

.contact-info-card {
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.contact-info-card .info-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--sc-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 1rem;
}

.contact-info-card h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--sc-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ── PAGE HEADER / BREADCRUMB ── */
.page-header {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header .blob-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}

.page-header .blob-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -80px;
}

.page-header-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.page-header-subtitle {
  font-size: 1.1rem;
  color: var(--sc-text-muted);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.breadcrumb-nav a {
  color: var(--sc-text-dim);
}

.breadcrumb-nav a:hover {
  color: var(--sc-cyan);
}

.breadcrumb-nav span {
  color: var(--sc-text-dim);
}

.breadcrumb-nav .current {
  color: var(--sc-cyan);
}

/* ── ABOUT PAGE ── */
.value-card {
  text-align: center;
  padding: 2.5rem;
}

.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  position: relative;
}

.value-icon.vi-cyan {
  background: rgba(0, 212, 255, 0.1);
  color: var(--sc-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.value-icon.vi-purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--sc-purple);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.value-icon.vi-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--sc-amber);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.value-icon.vi-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--sc-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.timeline-item {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 35px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sc-cyan), transparent);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: 6px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sc-dark-1);
  border: 2px solid var(--sc-cyan);
}

.timeline-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sc-cyan);
}

.timeline-year {
  font-family: var(--sc-font-mono);
  font-size: 0.8rem;
  color: var(--sc-cyan);
  margin-bottom: 0.3rem;
}

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--sc-text-muted);
  font-size: 0.9rem;
}

/* Team */
.team-card {
  text-align: center;
  padding: 2rem;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  position: relative;
  overflow: hidden;
  background: var(--sc-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

.team-avatar::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--sc-dark-3);
  z-index: 0;
}

.team-avatar span {
  position: relative;
  z-index: 1;
}

.team-card h5 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--sc-cyan);
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--sc-text-muted);
  transition: var(--sc-transition);
}

.team-social a:hover {
  background: var(--sc-gradient);
  border-color: transparent;
  color: #fff;
}

/* ── SERVICES PAGE ── */
.service-detail-card {
  padding: 3rem;
}

.service-detail-card .sd-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.service-detail-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-detail-card p {
  color: var(--sc-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--sc-text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li i {
  color: var(--sc-cyan);
  font-size: 0.8rem;
}

/* Pricing */
.pricing-card {
  padding: 2.5rem;
  text-align: center;
  height: 100%;
}

.pricing-card.featured {
  border-color: var(--sc-cyan);
  background: var(--sc-glass-hover);
}

.pricing-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
  background: var(--sc-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.pricing-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--sc-font-heading);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--sc-text-dim);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sc-border);
  color: var(--sc-text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--sc-cyan);
}

/* ── FOOTER ── */
.sc-footer {
  background: var(--sc-dark-2);
  position: relative;
  overflow: hidden;
  padding-top: 50px;
}

@media (min-width: 768px) {
  .sc-footer {
    padding-top: 80px;
  }
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
}

.footer-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--sc-cyan);
  top: -100px;
  right: -100px;
}

.footer-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--sc-purple);
  bottom: -100px;
  left: -100px;
}

.footer-cta {
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius);
  padding: 3.5rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sc-gradient);
}

.footer-cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-cta-text {
  color: var(--sc-text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.footer-main {
  padding-bottom: 3rem;
}

.footer-about {
  color: var(--sc-text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-text-muted);
  font-size: 1rem;
  transition: var(--sc-transition);
}

.social-link:hover {
  background: var(--sc-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--sc-gradient);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--sc-text-muted);
  font-size: 0.9rem;
  transition: var(--sc-transition);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--sc-cyan);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--sc-text-muted);
}

.footer-contact li i {
  color: var(--sc-cyan);
  margin-top: 3px;
}

.footer-contact li a {
  color: var(--sc-text-muted);
}

.footer-contact li a:hover {
  color: var(--sc-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--sc-border);
  padding: 1.5rem 0;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--sc-text-dim);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--sc-text-dim);
}

.footer-bottom-links a:hover {
  color: var(--sc-cyan);
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sc-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--sc-transition);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  color: #fff;
}

/* ── Counter Animation ── */
.counter {
  display: inline-block;
}

/* ── CTA Banner ── */
.cta-banner {
  text-align: center;
  /* padding: 100px 0; */
  position: relative;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--sc-text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ── Portfolio Page Grid ── */
.portfolio-masonry .portfolio-card:nth-child(odd) {
  height: 400px;
}

.portfolio-masonry .portfolio-card:nth-child(even) {
  height: 320px;
}

/* ── Map ── */
.map-container {
  border-radius: var(--sc-radius);
  overflow: hidden;
  border: 1px solid var(--sc-border);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: grayscale(0.8) contrast(1.1) brightness(0.5) invert(1) hue-rotate(180deg);
}

/* ── RESPONSIVE ── */
@media (max-width: 991.98px) {
  .sc-section {
    padding: 50px 0;
  }

  .hero-orbit {
    width: 300px;
    height: 300px;
    margin-top: 3rem;
  }

  .orbit-center {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    border-radius: 20px;
  }

  .orbit-node {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .hero-stats {
    gap: 2rem;
  }

  .hero-stat .stat-number {
    font-size: 1.8rem;
  }

  .about-code-card {
    position: static;
    margin-top: 1rem;
  }

  .footer-cta {
    padding: 2.5rem;
  }
}

/* ═══════════════════════════════════════════════
   MOBILE NAVIGATION OVERLAY
   ═══════════════════════════════════════════════ */

.sc-mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(6, 6, 19, 0.97);
  backdrop-filter: blur(30px) saturate(180%);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sc-mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

/* Lock body scroll when nav is open */
body.mobile-nav-open {
  overflow: hidden;
}

/* Inner Container */
.mobile-nav-inner {
  text-align: center;
  width: 100%;
  max-width: 400px;
  padding: 0 2rem;
  transform: translateY(30px);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.sc-mobile-nav.open .mobile-nav-inner {
  transform: translateY(0);
}

/* Nav Links */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.mobile-nav-links li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sc-mobile-nav.open .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entrance animation */
.sc-mobile-nav.open .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}

.sc-mobile-nav.open .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.15s;
}

.sc-mobile-nav.open .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.2s;
}

.sc-mobile-nav.open .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.25s;
}

.sc-mobile-nav.open .mobile-nav-links li:nth-child(5) {
  transition-delay: 0.3s;
}

.sc-mobile-nav.open .mobile-nav-links li:nth-child(6) {
  transition-delay: 0.35s;
}

.sc-mobile-nav.open .mobile-nav-links li:nth-child(7) {
  transition-delay: 0.4s;
}

.mobile-nav-links a {
  display: inline-block;
  font-family: var(--sc-font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sc-text-muted);
  text-decoration: none;
  padding: 0.6rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.mobile-nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--sc-gradient);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: #fff;
}

.mobile-nav-links a:hover::after,
.mobile-nav-links a.active::after {
  width: 100%;
  left: 0;
}

/* CTA Button */
.mobile-nav-cta {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease 0.45s, transform 0.35s ease 0.45s;
}

.sc-mobile-nav.open .mobile-nav-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Info */
.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity 0.35s ease 0.5s;
}

.sc-mobile-nav.open .mobile-nav-footer {
  opacity: 1;
}

.mobile-nav-footer a {
  font-size: 0.85rem;
  color: var(--sc-text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-footer a:hover {
  color: var(--sc-cyan);
}

/* Toggler active state (X icon) when mobile nav is open */
.sc-toggler.active .toggler-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.sc-toggler.active .toggler-line:nth-child(2) {
  opacity: 0;
}

.sc-toggler.active .toggler-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hide mobile nav on desktop */
@media (min-width: 992px) {
  .sc-mobile-nav {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    letter-spacing: -1px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat .stat-number {
    font-size: 1.5rem;
  }

  .hero-stat .stat-label {
    font-size: 0.75rem;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .portfolio-card,
  .portfolio-masonry .portfolio-card:nth-child(odd),
  .portfolio-masonry .portfolio-card:nth-child(even) {
    height: 280px;
  }

  .page-header {
    padding: 140px 0 60px;
  }
}

@media (max-width: 575.98px) {
  .hero-buttons {
    flex-direction: column;
    margin-bottom: 0rem;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-orbit {
    width: 250px;
    height: 250px;
  }
}

/* ── Page-specific smooth scroll offset ── */
:target {
  scroll-margin-top: 100px;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--sc-dark-1);
}

::-webkit-scrollbar-thumb {
  background: var(--sc-dark-4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sc-cyan);
}

/* ═══════════════════════════════════════════════
   OWL CAROUSEL - Testimonials
   ═══════════════════════════════════════════════ */
.testimonial-carousel .owl-stage-outer {
  overflow: visible;
  clip-path: inset(-20px -20px -60px -20px);
}

.testimonial-carousel .owl-item {
  opacity: 0.4;
  transform: scale(0.92);
  transition: all 0.5s ease;
}

.testimonial-carousel .owl-item.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial-carousel .owl-item.active.center {
  transform: scale(1.04);
}

.testimonial-carousel .testimonial-card {
  padding: 2.5rem;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.testimonial-carousel .testimonial-card .testimonial-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  opacity: 0.1;
  background: var(--sc-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonial-carousel .testimonial-card .testimonial-stars {
  color: var(--sc-amber);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  display: flex;
  gap: 3px;
}

.testimonial-carousel .testimonial-card .testimonial-text {
  color: var(--sc-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.testimonial-carousel .testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--sc-border);
}

.testimonial-carousel .testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sc-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-carousel .testimonial-info h6 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-carousel .testimonial-info span {
  font-size: 0.8rem;
  color: var(--sc-text-dim);
}

/* Owl Dots */
.testimonial-carousel .owl-dots {
  text-align: center;
  margin-top: 2.5rem;
}

.testimonial-carousel .owl-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sc-dark-4);
  margin: 0 5px;
  transition: var(--sc-transition);
}

.testimonial-carousel .owl-dot.active span {
  background: var(--sc-gradient);
  width: 30px;
  border-radius: 10px;
}

/* Owl Custom Navigation */
.owl-custom-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.owl-prev-btn,
.owl-next-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  color: var(--sc-text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--sc-transition);
}

.owl-prev-btn:hover,
.owl-next-btn:hover {
  background: var(--sc-gradient);
  border-color: transparent;
  color: #fff;
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════
   BENTO GRID - Services Page Redesign
   ═══════════════════════════════════════════════ */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 1.5rem;
}

.bento-item-1 {
  grid-column: span 2;
}

.bento-item-4 {
  grid-column: span 2;
}

.bento-item {
  display: block;
  position: relative;
}

.bento-inner {
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--sc-transition);
  backdrop-filter: blur(10px);
}

.bento-inner:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bento-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--accent, var(--sc-cyan)), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.bento-inner:hover .bento-glow {
  opacity: 0.04;
}

.bento-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.bento-tagline {
  font-family: var(--sc-font-mono);
  font-size: 0.75rem;
  color: var(--accent, var(--sc-cyan));
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.bento-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.bento-desc {
  color: var(--sc-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.bento-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.bento-feature {
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sc-border);
  font-size: 0.75rem;
  color: var(--sc-text-muted);
  white-space: nowrap;
}

.bento-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent, var(--sc-cyan));
  transition: var(--sc-transition);
}

.bento-inner:hover .bento-link {
  gap: 0.8rem;
}

/* ═══════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════ */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .product-visual {
  transition: var(--sc-transition);
}

.product-card:hover .product-visual {
  transform: scale(1.02);
}

.product-card .product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ═══════════════════════════════════════════════
   BLOG CARDS & DETAIL
   ═══════════════════════════════════════════════ */
.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card .blog-thumb {
  transition: var(--sc-transition);
}

.blog-card:hover .blog-thumb {
  transform: scale(1.02);
}

.blog-card .blog-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card .blog-title a {
  transition: var(--sc-transition);
}

.blog-card:hover .blog-title a {
  color: var(--sc-cyan) !important;
}

/* Blog Filter Buttons */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.blog-filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--sc-glass);
  border: 1px solid var(--sc-border);
  color: var(--sc-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--sc-transition);
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--sc-gradient);
  color: #fff;
  border-color: transparent;
}

/* Blog Detail Content */
.blog-detail-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--sc-text-muted);
}

.blog-detail-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: #fff;
  position: relative;
  padding-left: 1.2rem;
}

.blog-detail-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px;
  background: var(--sc-gradient);
}

.blog-detail-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem;
  color: #fff;
}

.blog-detail-content p {
  margin-bottom: 1.5rem;
}

.blog-detail-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-detail-content ul li {
  margin-bottom: 0.5rem;
  color: var(--sc-text-muted);
}

.blog-detail-content ul li strong {
  color: #fff;
}

.blog-detail-content a {
  color: var(--sc-cyan);
  text-decoration: underline;
}

.blog-detail-content a:hover {
  color: var(--sc-purple);
}

.blog-detail-content blockquote {
  border-left: 4px solid var(--sc-cyan);
  background: var(--sc-glass);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--sc-radius-sm) var(--sc-radius-sm) 0;
  margin: 2rem 0;
  font-style: italic;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE: BENTO, BLOG, PRODUCTS
   ═══════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-item-1,
  .bento-item-4 {
    grid-column: span 2;
  }
}

@media (max-width: 767.98px) {
  .services-bento {
    grid-template-columns: 1fr;
  }

  .bento-item-1,
  .bento-item-4 {
    grid-column: span 1;
  }

  .bento-inner {
    padding: 2rem;
  }

  .blog-filter {
    gap: 0.3rem;
  }

  .blog-filter-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .blog-detail-content h2 {
    font-size: 1.3rem;
  }
}

/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */

/* Contact Info Cards */
.contact-info-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.contact-info-card .info-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sc-cyan), #0ea5e9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-info-card h5 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--sc-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Contact Form Dark Styling */
.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-xs);
  color: #fff;
  font-family: var(--sc-font-primary);
  font-size: 0.95rem;
  transition: var(--sc-transition);
  height: 56px;
}

.contact-form textarea.form-control {
  height: auto !important;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: rgba(0, 212, 255, 0.03);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
  color: #fff;
}

/* Keep placeholder hidden in form-floating (Bootstrap needs this for floating labels) */
.contact-form .form-floating>.form-control::placeholder {
  color: transparent;
}

/* Show placeholder only when focused (label has floated up) */
.contact-form .form-floating>.form-control:focus::placeholder {
  color: var(--sc-text-dim);
}

/* Floating Label Styles for Dark Theme */
.contact-form .form-floating>label {
  color: var(--sc-text-dim);
  font-size: 0.92rem;
}

.contact-form .form-floating>.form-control:focus~label,
.contact-form .form-floating>.form-control:not(:placeholder-shown)~label,
.contact-form .form-floating>.form-select~label {
  color: var(--sc-cyan);
  opacity: 0.85;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  background: transparent;
}

/* Fix: Force floating label to always float up for select elements */
.contact-form .form-floating>.form-select {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

/* Select dropdown dark options */
.contact-form .form-select option {
  background: var(--sc-dark-2);
  color: #fff;
  padding: 8px;
}

/* Map Container */
.map-container {
  border-radius: var(--sc-radius);
  overflow: hidden;
  border: 1px solid var(--sc-border);
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: brightness(0.8) contrast(1.1) saturate(0);
}

/* ═══════════════════════════════════════════════
   ENQUIRY MODAL
   ═══════════════════════════════════════════════ */

/* Modal & Backdrop z-index (must be above navbar z-index: 9999) */
.modal-backdrop {
  z-index: 10000;
}

.modal {
  z-index: 10001;
}

.modal-backdrop.show {
  backdrop-filter: blur(8px);
}

/* Modal Content Container */
.sc-modal-content {
  background: var(--sc-dark-2);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius);
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 212, 255, 0.08);
  position: relative;
}

/* Custom Close Button */
.sc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: 1px solid var(--sc-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--sc-text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--sc-transition);
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.sc-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ── Left Info Panel ── */
.sc-modal-info {
  background: linear-gradient(145deg, var(--sc-dark-3), var(--sc-dark-1));
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--sc-border);
}

.modal-info-content {
  position: relative;
  z-index: 2;
}

.modal-info-icon {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.modal-info-title {
  font-family: var(--sc-font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.modal-info-text {
  font-size: 0.92rem;
  color: var(--sc-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Features List */
.modal-info-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-cyan);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.modal-feature strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
}

.modal-feature span {
  font-size: 0.78rem;
  color: var(--sc-text-dim);
}

/* Decorative Blobs */
.modal-info-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.modal-info-blob-1 {
  width: 200px;
  height: 200px;
  background: var(--sc-cyan);
  opacity: 0.08;
  top: -60px;
  right: -60px;
}

.modal-info-blob-2 {
  width: 180px;
  height: 180px;
  background: var(--sc-purple);
  opacity: 0.08;
  bottom: -50px;
  left: -50px;
}

/* ── Right Form Panel ── */
.sc-modal-body {
  padding: 2rem 2.2rem 2rem;
  position: relative;
}

.modal-form-header {
  margin-bottom: 1.5rem;
}

.modal-form-title {
  font-family: var(--sc-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.3rem;
}

.text-gradient-icon {
  background: var(--sc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1rem;
}

.modal-form-subtitle {
  font-size: 0.88rem;
  color: var(--sc-text-dim);
  margin: 0;
}

/* ── Custom Form Controls ── */
.sc-form-group {
  margin-bottom: 0;
}

.sc-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sc-text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.sc-form-label i {
  color: var(--sc-cyan);
  font-size: 0.75rem;
  margin-right: 2px;
}

.sc-form-control {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-xs);
  color: #fff;
  font-family: var(--sc-font-primary);
  font-size: 0.9rem;
  transition: var(--sc-transition);
  outline: none;
}

.sc-form-control::placeholder {
  color: var(--sc-text-dim);
  font-size: 0.85rem;
}

.sc-form-control:focus {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

/* Select Dropdown */
.sc-form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.sc-form-select option {
  background: var(--sc-dark-2);
  color: #fff;
  padding: 8px;
}

/* Textarea */
.sc-form-textarea {
  resize: none;
  min-height: 80px;
}

/* ── Budget Chip Selector ── */
.sc-budget-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sc-budget-chip {
  cursor: pointer;
  margin: 0;
}

.sc-budget-chip input {
  display: none;
}

.sc-budget-chip span {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sc-text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sc-border);
  transition: var(--sc-transition);
  white-space: nowrap;
}

.sc-budget-chip:hover span {
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--sc-cyan);
}

.sc-budget-chip input:checked+span {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.12));
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--sc-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.1);
}

/* ── Submit Button ── */
.sc-modal-submit {
  width: 100%;
  margin-top: 1.5rem;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.sc-modal-submit .btn-text,
.sc-modal-submit .btn-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Validation States ── */
.sc-form-control.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.sc-form-control.is-invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* ── Success State ── */
.sc-modal-success {
  text-align: center;
  padding: 2rem 1rem;
}

.success-animation {
  margin-bottom: 1.5rem;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.success-checkmark svg {
  width: 80px;
  height: 80px;
}

.success-checkmark circle {
  stroke: var(--sc-green);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: checkmark-circle 0.6s ease-in-out forwards;
}

.success-checkmark path {
  stroke: var(--sc-green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkmark-check 0.3s ease-in-out 0.5s forwards;
}

@keyframes checkmark-circle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes checkmark-check {
  to {
    stroke-dashoffset: 0;
  }
}

.success-title {
  font-family: var(--sc-font-heading);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.success-text {
  font-size: 0.92rem;
  color: var(--sc-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ── Modal Entrance Animation ── */
#enquiryModal .modal-dialog {
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

#enquiryModal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

/* ── Responsive Modal ── */
@media (max-width: 991.98px) {
  .sc-modal-body {
    padding: 1.8rem 1.5rem;
  }

  .modal-form-title {
    font-size: 1.2rem;
  }

  .sc-modal-content {
    margin: 0.5rem;
    border-radius: var(--sc-radius-sm);
  }
}

@media (max-width: 575.98px) {
  .sc-modal-body {
    padding: 1.5rem 1.2rem;
  }

  .sc-budget-options {
    gap: 6px;
  }

  .sc-budget-chip span {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .sc-modal-submit {
    padding: 12px 24px;
    font-size: 0.88rem;
  }
}

@media(min-width:768px) {
  .text-md-end {
    text-align: end !important;
  }
}