/* Custom Variables & Theme Overrides */
:root {
  --sw-primary: #06b6d4;
  --sw-primary-rgb: 6, 182, 212;
  --sw-secondary: #8b5cf6;
  --sw-bg-main: #050505;
  --sw-bg-surface: #111111;
  --sw-border: #262626;
  --sw-white-rgb: 255, 255, 255;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--sw-bg-main);
  color: #f8fafc;
  overflow-x: hidden;
  --dot-bg: black;
  --dot-color: white;
  --dot-size: 1px;
  --dot-space: 40px;
  background:  
		linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 5%) center / var(--dot-space) var(--dot-space),
		linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 5%) center / var(--dot-space) var(--dot-space),
		var(--dot-color);    
  /* background-size: contain , auto;
  background-repeat: no-repeat, unset;
  background-position: center , center; */
}

h1, h2, h3, h4, h5, h6, .font-mono {
  font-family: 'Fira Code', monospace;
}
.text-justify {
  text-align: justify;
}
/* Utilities */
.text-gradient {
  background: linear-gradient(to right, var(--sw-primary), var(--sw-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-surface {
  background-color: color-mix(in srgb, var(--sw-bg-surface), transparent 40%);
}

.bg-summit {
  background-image: url(../assets/bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}

.border-custom {
  border: 1px solid rgba(var(--sw-primary-rgb), 0.3) !important;
  box-shadow: 0 0 10px rgba(var(--sw-primary-rgb), 0.3);
}
 .border-top {
  border-top: 1px solid rgba(var(--sw-primary-rgb), 0.3) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--sw-bg-main);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* TopBar */
.topbar {
  background-color: #000;
  border-bottom: 1px solid var(--sw-border);
  font-size: 0.8rem;
}

/* Navbar */
.navbar-glass {
  background-color: rgba(5, 5, 5, 0.5) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

.navbar-glass.scrolled {
  background-color: rgba(5, 5, 5, 0.95) !important;
  border-bottom: 1px solid var(--sw-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8 !important;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff !important;
}

.btn-primary-custom {
  background-color: var(--sw-primary);
  color: #000;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(var(--sw-primary-rgb), 0.5);
  letter-spacing: 1px;
}

.btn-primary-custom:hover {
  background-color: #0891b2;
  color: #000;
  box-shadow: 0 0 15px rgba(var(--sw-primary-rgb), 0.5);
  transform: translateY(-2px);
}

@property --angle-to-the-dangle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: true;
}
.btn-glow{
  border: 2px solid;
  border-image-slice: 2;
  border-image-source: conic-gradient(
    from var(--angle-to-the-dangle),
    transparent 0deg,
    white 20deg,
    transparent 40deg
  );
  animation: rotateColors 4s linear infinite;
}
@keyframes rotateColors {
  0% {
    --angle-to-the-dangle: 0deg;
  }
  100% {
    --angle-to-the-dangle: 360deg;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  /* padding-bottom: 80px; */
  min-height: 100vh;
  display: flex;
  align-items: center;

}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--sw-primary-rgb), 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--sw-border);
  font-size: 0.75rem;
  transition: all 0.3s ease;
}
.text-primary{
  color: var(--sw-primary) !important;
}

.status-badge:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--sw-primary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--sw-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--sw-primary-rgb), 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(var(--sw-primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--sw-primary-rgb), 0); }
}

/* Terminal Mockup */
.terminal-window {
  background-color: color-mix(in srgb, var(--sw-bg-surface), transparent 40%);
  border: 1px solid var(--sw-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(var(--sw-primary-rgb), 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.terminal-window:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(var(--sw-primary-rgb), 0.2);
}

.terminal-header {
  background-color: #1a1a1a;
  padding: 10px 15px;
  border-bottom: 1px solid var(--sw-border);
  display: flex;
  align-items: center;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-body {
  padding: 20px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: #a3a3a3;
  height: 350px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.typing-animation {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--sw-primary);
  animation: typing 3s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--sw-primary); }
}

/* Features Section */
.feature-card {
  background-color: color-mix(in srgb, var(--sw-bg-surface), transparent 40%);
  border: 1px solid var(--sw-border);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  border-color: rgba(var(--sw-primary-rgb), 0.4);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(var(--sw-primary-rgb), 0.1);
  color: var(--sw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--sw-primary);
  color: #000;
  transform: rotate(10deg);
}

/* Solutions Section (New) */
.btn-dark-custom {
background-color: #1a1a1a;
color: #fff;
border: 1px solid #333;
transition: all 0.3s ease;
}

.btn-dark-custom:hover {
background-color: #2a2a2a;
border-color: #444;
color: #fff;
}

.solution-card {
  /* background-color: color-mix(in srgb, var(--sw-bg-surface), transparent 40%); */
  border: 1px solid var(--sw-border);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  /* Angled corners effect */
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  position: relative;
}

/* Create a pseudo-element for the border to work with clip-path */
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: color-mix(in srgb, var(--sw-bg-surface), transparent 40%);
  z-index: -1;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.solution-card-wrapper {
  height: 100%;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  transition: all 0.3s ease;
}

.solution-card-wrapper:hover {
  background: rgba(var(--sw-primary-rgb), 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.solution-icon-box {
width: 48px;
height: 48px;
background-color: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
}

.badge-custom {
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 0.25em 0.6em;
font-size: 0.7rem;
border-radius: 4px;
}

.hover-link {
transition: all 0.2s ease;
}

.hover-link:hover {
color: var(--sw-primary) !important;
}

.hover-link i {
transition: transform 0.2s ease;
}

.hover-link:hover i {
transform: translateX(4px);
}

/* Tech Stack */
.tech-logo {
  opacity: 0.5;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: grayscale(100%);
  cursor: pointer;
}

.tech-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.15) translateY(-5px);
}

/* Accordion Overrides */
.accordion-item {
  background-color: color-mix(in srgb, var(--sw-bg-surface), transparent 40%);
  border: 1px solid var(--sw-border);
  margin-bottom: 10px;
  border-radius: 8px !important;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(var(--sw-primary-rgb), 0.3);
}

.accordion-button {
  background-color: transparent;
  color: #fff;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(var(--sw-primary-rgb), 0.05);
  color: var(--sw-primary);
}

.accordion-button::after {
  filter: invert(1);
  transition: all 0.3s ease;
}


.icon-box-glow {
  width: 56px;
  border: 1px solid var(--sw-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sw-primary);
  box-shadow: inset 0 0 15px rgba(var(--sw-primary-rgb), 0.2), 0 0 15px rgba(var(--sw-primary-rgb), 0.2);
  /* background-color: rgba(var(--sw-white-rgb), 0.9); */
}

.stat-box {
  /* background-color: rgba(255, 255, 255, 0.02); */
  background-color: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  border-color: rgba(var(--sw-primary-rgb), 0.3);
}

.stat-label {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.hover-glow {
  transition: all 0.3s ease;
}

.hover-glow:hover {
  text-shadow: 0 0 10px rgba(var(--sw-primary-rgb), 0.8);
  transform: translateX(5px);
}

/* Chart Container & SVG */
.chart-container {
  /* background-color: #0a0a0a; */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.chart-line {
  fill: none;
  stroke: var(--sw-primary);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 6px rgba(var(--sw-primary-rgb), 0.8));
}

.chart-grid line {
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 1;
}

.chart-labels text {
  fill: #495057;
  font-size: 10px;
  font-family: 'Fira Code', monospace;
}


.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.secondary-card:hover .arrow-btn {
  background-color: transparent;
  border-color: var(--sw-primary);
  color: var(--sw-primary);
  box-shadow: 0 0 10px rgba(var(--sw-primary-rgb), 0.3);
}

/* =========================================
AI Section Styles
========================================= */
.ai-feature-card {
transition: all 0.3s ease;
cursor: pointer;
}

.ai-feature-card:hover {
transform: translateX(10px);
border-color: var(--sw-primary);
background-color: rgba(var(--sw-primary-rgb), 0.05);
}

.ai-icon-box {
width: 48px;
height: 48px;
background: rgba(var(--sw-primary-rgb), 0.1);
color: var(--sw-primary);
border: 1px solid rgba(var(--sw-primary-rgb), 0.2);
flex-shrink: 0;
}

/* AI Graphic Orbit */
.ai-graphic-container {
perspective: 1000px;
}

.ai-center-node {
width: 160px;
height: 160px;
transform: rotate(-10deg);
box-shadow: 0 0 40px rgba(var(--sw-primary-rgb), 0.2), inset 0 0 20px rgba(var(--sw-primary-rgb), 0.1);
border-color: var(--sw-primary) !important;
animation: float-center 6s ease-in-out infinite;
}

.ai-orbit-node {
  position: absolute;
  width: 70px;
  height: 70px;
  background-color: var(--sw-bg-surface);
  border: 1px solid var(--sw-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sw-primary);
  border: 1px solid rgba(var(--sw-primary-rgb), 0.3) !important;
  box-shadow: 0 0 10px rgba(var(--sw-primary-rgb), 0.3);

  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 1;
  animation: float-orbit 4s ease-in-out infinite alternate;
}

/* Positioning the 8 nodes in a circle */
.node-1 { top: 5%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-2 { top: 18%; right: 12%; animation-delay: 0.5s; }
.node-3 { top: 50%; right: 2%; transform: translateY(-50%); animation-delay: 1s; }
.node-4 { bottom: 18%; right: 12%; animation-delay: 1.5s; }
.node-5 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.node-6 { bottom: 18%; left: 12%; animation-delay: 2.5s; }
.node-7 { top: 50%; left: 2%; transform: translateY(-50%); animation-delay: 3s; }
.node-8 { top: 18%; left: 12%; animation-delay: 3.5s; }

@keyframes float-center {
0%, 100% { transform: rotate(-10deg) translateY(0); }
50% { transform: rotate(-10deg) translateY(-15px); }
}

@keyframes float-orbit {
0% { margin-top: 0; }
100% { margin-top: -15px; }
}

/* =========================================
Web Solutions Bento Grid Styles
========================================= */
.bg-main {
background-color: #0a0a0a;
}

.text-glow {
text-shadow: 0 0 20px rgba(var(--sw-primary-rgb), 0.6),
0 0 40px rgba(var(--sw-primary-rgb), 0.3);
}

.tracking-wider {
letter-spacing: 0.1em;
}

.bento-card {
background: rgba(20, 20, 20, 0.6);
border: 1px solid #222;
border-radius: 16px;
padding: 2.5rem;
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
min-height: 320px;
}

.bento-card:hover {
border-color: rgba(var(--sw-primary-rgb), 0.3);
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02);
}

.bento-number {
font-family: 'Fira Code', monospace;
font-size: 0.75rem;
padding: 4px 8px;
border: 1px solid rgba(255,255,255,0.1);
border-radius: 4px;
color: #fff;
}

.bento-number.border-color-primary {
border-color: rgba(var(--sw-primary-rgb), 0.5);
}

.bento-icon {
font-size: 1.5rem;
color: #555;
background: #1a1a1a;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.3s ease;
}

.bento-card:hover .bento-icon {
color: var(--sw-primary);
background: rgba(var(--sw-primary-rgb), 0.1);
}

.bento-link {
font-family: 'Fira Code', monospace;
font-size: 0.75rem;
color: #fff;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 1px;
display: inline-flex;
align-items: center;
transition: color 0.3s ease;
}

.bento-link:hover {
color: var(--sw-primary);
}

/* Abstract Background Shapes for Cards */
.bento-bg-shape {
position: absolute;
z-index: 0;
opacity: 0.4;
transition: all 0.5s ease;
}

.bento-card:hover .bento-bg-shape {
opacity: 0.7;
transform: scale(1.05);
}

.shape-1 {
top: -20%;
right: -10%;
width: 300px;
height: 300px;
background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.05) 60%, transparent 60%);
border-radius: 30px;
transform: rotate(45deg);
}

.shape-2 {
bottom: -20%;
right: -20%;
width: 200px;
height: 200px;
background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.shape-3 {
bottom: -50%;
right: 0;
width: 250px;
height: 250px;
background: linear-gradient(to top left, rgba(var(--sw-primary-rgb), 0.05), transparent);
border-top-left-radius: 100%;
}

/*---------------------
  Carousel
  --------------------*/
.carousel {
  display: block;
  overflow: hidden;
}

.carousel--track {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;

  animation: auto-scroll 60s infinite linear;

  .carousel--row {
    display: inline-block;
    white-space: nowrap;
  }
}

.item {
  display: inline-block;
  font-size: 150px;
  color: rgba(20, 20, 20, 0.1) !important; /* Fill color */
  -webkit-text-stroke: 1.5px rgba(var(--sw-white-rgb), 0.27); /* Width and outline color */
  font-weight: bolder;
  text-align: center;
  vertical-align: middle;
  opacity: 0.75;

  transition: opacity 250ms;
  font-family: sans-serif;

  &:hover {
    opacity: 1;
  }
}

@keyframes auto-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Footer */
.footer {
  background-color: var(--sw-bg-surface);
  border-top: 1px solid var(--sw-border);
  padding: 60px 0 30px;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--sw-primary);
  transform: translateX(5px);
}

.social-icon {
  transition: all 0.3s ease;
  display: inline-block;
}

.social-icon:hover {
  color: var(--sw-primary) !important;
  transform: translateY(-3px);
}

/* =========================================
   Scroll Reveal Animations
   ========================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-down {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Active states triggered by JS */
.reveal-up.active,
.reveal-down.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
