/* ----------------------------------------------------
   NextInfo Tech - Premium Dark Mode Software Agency Stylesheet
   Theme: Spotlight Agency Aesthetic
   ---------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Raleway:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* --- Custom Variables & Tokens --- */
:root {
  --primary-bg: #0a0c10;
  --surface-bg: #121620;
  --card-bg: #181d2a;
  --accent-color: #0ee6b0;
  --accent-hover: #0bc596;
  --accent-glow: rgba(14, 230, 176, 0.3);
  --accent-glow-muted: rgba(14, 230, 176, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #b0b8c4;
  --text-muted: #6b7c96;
  --border-color: rgba(255, 255, 255, 0.07);
  --orange-accent: #f25c38;
  
  --font-heading: 'Raleway', sans-serif;
  --font-nav: 'Poppins', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --- Base Styles & Reset --- */
body {
  background-color: var(--primary-bg);
  color: var(--text-secondary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-color);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--primary-bg);
}
::-webkit-scrollbar-thumb {
  background: #1e2535;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* --- Background Ambient Light Blobs --- */
.bg-blob-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  mix-blend-mode: screen;
  animation: pulse-blob 8s infinite alternate ease-in-out;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-color);
  top: -100px;
  right: 10%;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: #3b82f6;
  top: 30%;
  left: -150px;
  animation-delay: 2s;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: #8b5cf6;
  bottom: 10%;
  right: -50px;
  animation-delay: 4s;
}

@keyframes pulse-blob {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(30px, 30px);
  }
}

/* --- Premium Typography Utilities --- */
.text-glow-accent {
  text-shadow: 0 0 20px var(--accent-glow);
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-subtitle-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(14, 230, 176, 0.08);
  border: 1px solid rgba(14, 230, 176, 0.2);
  color: var(--accent-color);
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

/* --- Custom Sticky Navigation Bar --- */
.navbar-custom {
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.navbar-custom.scrolled {
  padding: 12px 0;
  background: rgba(8, 9, 13, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand-custom {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand-custom span {
  color: var(--accent-color);
}

.nav-link-custom {
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px !important;
  color: var(--text-secondary) !important;
  position: relative;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: var(--transition-fast);
  transform-origin: right;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--accent-color) !important;
}

/* --- Premium Buttons --- */
.btn-premium-solid {
  background: var(--accent-color);
  color: #0a0c10 !important;
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid var(--accent-color);
  box-shadow: 0 4px 15px var(--accent-glow-muted);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-premium-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--accent-glow);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-premium-outline {
  background: transparent;
  color: var(--accent-color) !important;
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--accent-color);
  transition: var(--transition-smooth);
}

.btn-premium-outline:hover {
  background: rgba(14, 230, 176, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--accent-glow-muted);
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
}

/* Home Hero - structure and responsive tuning */
#hero-main-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
}

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

.hero-title-subline {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.35rem, 3.4vw, 2.8rem);
  font-weight: 700;
}

#hero-desc {
  max-width: 580px;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  opacity: 0.9;
}

.hero-cta-icon {
  font-size: 0.8rem;
}

.hero-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-image {
  width: min(100%, 650px);
  height: auto;
  border-radius: 24px;
  background: rgba(8, 15, 30, 0.75);
  backdrop-filter: blur(12px);

  box-shadow:
    0 0 18px rgba(0, 255, 200, 0.10),
    0 12px 35px rgba(0, 180, 255, 0.16),
    0 24px 60px rgba(0, 0, 0, 0.45);

  transition: all 0.4s ease;
}

.hero-promo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
}

.hero-promo-desc {
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .hero-image-wrap {
    margin-top: 2rem;
  }
  .hero-title-subline {
    margin-top: 8px;
  }
}

/* --- Floating Stats Showcase Card --- */
.hero-stats-card {
  background: rgba(24, 29, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px 40px;
  margin-top: 4rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  position: relative;
  z-index: 10;
}

.hero-stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 10px 0;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-color);
}

@media (max-width: 767px) {
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .stat-item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* --- Section Title General --- */
.section-header {
  margin-bottom: 5rem;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.section-desc {
  max-width: 600px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* --- About Us Section --- */
.about-section {
  padding: 100px 0;
  position: relative;
}

/* About section with robot overlap on top of cards */
.about-robot-layout {
  position: relative;
  /* padding-top: 170px; */
}

.about-robot-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -32%);
  width: min(360px, 40vw);
  height: auto;
  z-index: 6;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.about-robot-cards {
  position: relative;
  z-index: 2;
}

.about-detail-card {
  min-height: 100%;
}

#about-who-we-are {
  border-color: rgba(14, 230, 176, 0.38);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42), 0 0 24px rgba(14, 230, 176, 0.08);
}

#about-mission-vision {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42), 0 0 24px rgba(139, 92, 246, 0.1);
}

.about-detail-text {
  line-height: 1.8;
  font-size: 0.98rem;
}

.about-detail-subtext {
  font-size: 0.95rem;
}

.about-vision-icon {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.25);
  color: #8b5cf6;
}

.about-pill {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
}

.about-pill-mission {
  color: #6db4ff;
  background: rgba(109, 180, 255, 0.18);
  border-color: rgba(109, 180, 255, 0.34);
}

.about-pill-vision {
  color: #6de3a9;
  background: rgba(109, 227, 169, 0.18);
  border-color: rgba(109, 227, 169, 0.34);
}

@media (max-width: 991px) {
  .about-robot-layout {
    padding-top: 145px;
  }
  .about-robot-image {
    width: min(280px, 55vw);
    transform: translate(-50%, -22%);
  }
}

@media (max-width: 767px) {
  .about-robot-layout {
    padding-top: 0;
  }
  .about-robot-image {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(250px, 75vw);
    margin: 0 auto 1.4rem auto;
    display: block;
  }
}

.about-img-wrapper {
  position: relative;
  z-index: 2;
}

.about-img-main {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 60%;
  border-radius: 20px;
  border: 4px solid var(--primary-bg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .about-img-secondary {
    display: none;
  }
  .about-img-wrapper {
    margin-bottom: 3rem;
  }
}

.experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--accent-color);
  color: var(--primary-bg);
  padding: 18px 24px;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--accent-glow);
  text-align: center;
}

.experience-years {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  display: block;
  line-height: 1;
}

.experience-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Numerical Process List --- */
.process-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
}

.process-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 2rem;
}

.process-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent-color);
  background: rgba(14, 230, 176, 0.08);
  border: 1px solid rgba(14, 230, 176, 0.2);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.process-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.process-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Services Cards Grid --- */
.services-section {
  padding: 100px 0;
  position: relative;
  background: rgba(18, 22, 32, 0.4);
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 90% 10%, rgba(14, 230, 176, 0.06) 0%, transparent 50%);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 230, 176, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(14, 230, 176, 0.05);
}

.service-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 18px;
  background: rgba(14, 230, 176, 0.08);
  border: 1px solid rgba(14, 230, 176, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  color: var(--accent-color);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: var(--accent-color);
  color: var(--primary-bg);
  transform: rotate(10deg);
  box-shadow: 0 10px 20px var(--accent-glow);
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.service-arrow-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-nav);
}

.service-arrow-link i {
  transition: var(--transition-fast);
}

.service-card:hover .service-arrow-link i {
  transform: translateX(5px);
}

/* --- Why Choose Us Section --- */
.why-us-section {
  padding: 100px 0;
  position: relative;
}

.why-check-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.why-check-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.why-check-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
  background: rgba(14, 230, 176, 0.08);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(14, 230, 176, 0.2);
}

/* Why-us custom block styling */
#why-us {
  background: rgba(18, 22, 32, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* #why-us .why-us-visual-wrap {
  background: linear-gradient(145deg, rgba(12, 17, 27, 0.88), rgba(24, 30, 46, 0.78));
  border: 1px solid rgba(14, 230, 176, 0.2);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 28px rgba(14, 230, 176, 0.08);
} */

#why-us .why-us-robot-image {
    width: min(100%, 281px);
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.4));
}

#why-us .why-us-content-col .section-desc {
  max-width: 560px;
}

#why-us .why-check-item {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

#why-us #why-btn-cta {
  padding-inline: 30px;
}

@media (max-width: 991px) {
  #why-us .why-us-visual-wrap {
    padding: 22px;
  }
}

/* --- Dual Progress Accent Cards --- */
.progress-accent-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-color);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 1.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.progress-accent-card:hover {
  transform: translateX(5px);
}

.progress-card-title-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.progress-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0;
}

.progress-percent {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-color);
  border-radius: 10px;
}

/* --- Portfolio Grid & Filter Section --- */
.portfolio-section {
  padding: 100px 0;
  background: rgba(18, 22, 32, 0.4);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.portfolio-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition-fast);
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
  background: var(--accent-color);
  color: var(--primary-bg);
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px var(--accent-glow-muted);
}

.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  transition: var(--transition-smooth);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 230, 176, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-img-container {
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-details {
  padding: 30px;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.portfolio-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  font-weight: 600;
}

.portfolio-rating {
  color: #ffc107;
  font-size: 0.8rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.portfolio-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.portfolio-tag-box {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.portfolio-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 20px;
}

.portfolio-arrow-btn {
  background: rgba(14, 230, 176, 0.08);
  border: 1px solid rgba(14, 230, 176, 0.2);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--accent-color);
  transition: var(--transition-fast);
}

.portfolio-card:hover .portfolio-arrow-btn {
  background: var(--accent-color);
  color: var(--primary-bg);
  box-shadow: 0 5px 15px var(--accent-glow);
}

/* --- Team Section --- */
.team-section {
  padding: 100px 0;
  position: relative;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  text-align: center;
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 230, 176, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.team-img-box {
  overflow: hidden;
  position: relative;
  margin: 20px;
  border-radius: 16px;
  aspect-ratio: 1;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.team-card:hover .team-img {
  transform: scale(1.08);
}

.team-social-overlay {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.team-card:hover .team-social-overlay {
  opacity: 1;
  transform: translateY(0);
}

.team-social-icon {
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
}

.team-social-icon:hover {
  background: var(--accent-color);
  color: var(--primary-bg);
  box-shadow: 0 5px 15px var(--accent-glow);
}

.team-details {
  padding: 10px 20px 30px 20px;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.team-role {
  font-size: 0.85rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* --- Testimonials Section --- */
.testimonials-section {
  padding: 100px 0;
  background: rgba(18, 22, 32, 0.4);
  position: relative;
}

.testimonial-content-row {
  margin-top: 1rem;
}

.testimonial-robot-wrap {
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 3;
}

.testimonial-robot-image {
  width: min(440px, 50vw);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
  animation: testimonial-robot-float 4s ease-in-out infinite;
}

.testimonial-robot-side {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.testimonial-carousel-container {
  max-width: 800px;
  margin: 0;
}

.testimonial-card-custom {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.testimonial-quote-icon {
  font-size: 3rem;
  color: rgba(14, 230, 176, 0.15);
  position: absolute;
  top: 30px;
  left: 50px;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--accent-color);
  object-fit: cover;
  margin-bottom: 1rem;
}

.testimonial-author-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.testimonial-author-role {
  font-size: 0.8rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--accent-color);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  opacity: 0.4;
}

.carousel-indicators .active {
  opacity: 1;
  width: 24px;
  border-radius: 10px;
}

@keyframes testimonial-robot-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 767px) {
  .testimonial-robot-wrap {
    margin: 1rem 0 0.2rem;
  }
  .testimonial-robot-image {
    width: min(170px, 58vw);
  }
}

@media (max-width: 991px) {
  .testimonial-carousel-container {
    margin: 0 auto;
  }
  .testimonial-robot-side {
    margin-top: 1.2rem;
  }
}

/* --- Contact Section --- */
.contact-section {
  padding: 100px 0;
  position: relative;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-bottom: 4px solid var(--accent-color);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  transform: translateY(-5px);
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(14, 230, 176, 0.08);
  border: 1px solid rgba(14, 230, 176, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.contact-info-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.contact-info-detail {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0;
}

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  position: relative;
  overflow: visible;
}

.contact-corner-robot {
    position: absolute;
    top: -158px;
    right: 14px;
    width: min(318px, 22vw);
    height: auto;
    z-index: 4;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
    pointer-events: none;  
}

.contact-form-control {
  background: rgba(10, 12, 16, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 20px;
  color: var(--text-primary) !important;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.contact-form-control:focus {
  background: rgba(10, 12, 16, 0.8);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow-muted);
}

.contact-form-control::placeholder {
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .contact-corner-robot {
    top: -30px;
    right: 8px;
    width: min(96px, 30vw);
  }
}

/* --- Modern Multi-Column Footer --- */
.footer-custom {
  background: #06080b;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: block;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--accent-color);
  color: var(--primary-bg);
  box-shadow: 0 5px 15px var(--accent-glow);
  transform: translateY(-3px);
}

.footer-widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 8px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 0.8rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 767px) {
  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }
  .footer-copyright {
    text-align: center;
  }
}

/* --- Scroll To Top Button --- */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--primary-bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px var(--accent-glow);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 25px var(--accent-glow);
}

/* --- Nested Dropdown Navigation Submenu --- */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: auto;
  right: 100%;
  margin-top: -1px;
  margin-right: 0.15rem;
  display: none;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1100;
  max-height: 300px;
  overflow-y: auto;
}
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}
.navbar-nav .dropdown-menu {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 10px 0;
}
.navbar-nav .dropdown-item {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 8px 20px;
  font-weight: 500;
  transition: var(--transition-fast);
}
.navbar-nav .dropdown-item:hover {
  background-color: rgba(14, 230, 176, 0.08);
  color: var(--accent-color);
}

@media (max-width: 991.98px) {
  .dropdown-submenu .dropdown-menu {
    position: static;
    left: auto;
    right: auto;
    margin-right: 0;
    max-height: none;
    overflow-y: visible;
    box-shadow: none;
    border: 0;
    border-left: 1px solid var(--border-color);
    border-radius: 0;
  }
}

/* ====================================================
   Modern Futuristic Hero Visual Showcase Styling
   ==================================================== */
.hero-visual-container {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.visual-glow-backdrop {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 230, 176, 0.15) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
  filter: blur(45px);
  z-index: 0;
  animation: float-slow 12s infinite alternate ease-in-out;
}

.floating-glass-card {
  position: absolute;
  background: rgba(18, 22, 32, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 2;
  transition: all 0.5s ease;
  overflow: hidden;
}

.floating-glass-card:hover {
  border-color: rgba(14, 230, 176, 0.35);
  box-shadow: 0 25px 50px rgba(14, 230, 176, 0.15), 0 0 30px rgba(14, 230, 176, 0.05);
  transform: translateY(-5px) scale(1.02);
}

/* Card 1: Code Terminal Panel (Top Left) */
.card-code {
  width: 260px;
  top: 15px;
  left: 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  padding: 15px;
  border-left: 3px solid #8b5cf6; /* purple accent border */
  animation: float-card-1 6s infinite ease-in-out;
}

.card-header-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.card-header-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.code-lines {
  margin: 0;
  color: #a0aec0;
  line-height: 1.5;
}

.code-lines .keyword { color: #f43f5e; font-weight: 600; }
.code-lines .string { color: #10b981; }
.code-lines .value { color: #0ee6b0; }
.code-lines .func { color: #3b82f6; }
.code-lines .comment { color: #4a5568; font-style: italic; }

/* Card 2: Interactive Video Player Panel (Front & Center) */
.card-player {
  width: 380px;
  height: 240px;
  z-index: 4;
  border: 1px solid rgba(14, 230, 176, 0.25);
  animation: float-card-2 8s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(14, 230, 176, 0.05) 0%, rgba(10, 12, 16, 0.8) 100%);
}

.player-visual-bg {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 12, 16, 0.6) 100%);
  z-index: 1;
}

/* Pulsing background rings for play button */
.pulse-ring {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(14, 230, 176, 0.3);
  border-radius: 50%;
  animation: pulse-ring-animation 3s infinite ease-in-out;
  z-index: 1;
}

@keyframes pulse-ring-animation {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.glowing-play-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #0a0c10 !important;
  border: none;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 0 25px var(--accent-color), inset 0 0 10px rgba(255,255,255,0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glowing-play-btn i {
  margin-left: 4px;
}

.glowing-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px var(--accent-color), 0 0 15px #3b82f6;
  background: #ffffff;
}

.player-progress-bar {
  position: absolute;
  bottom: 40px;
  left: 20px;
  right: 20px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  z-index: 5;
}

.progress-bar-active {
  width: 45%;
  height: 100%;
  background: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-color);
  border-radius: 2px;
}

.player-controls {
  position: absolute;
  bottom: 12px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  z-index: 5;
}

/* Card 3: Analytics Chart Panel (Bottom Right) */
.card-chart {
  width: 200px;
  bottom: 25px;
  right: 15px;
  padding: 15px;
  border-left: 3px solid #3b82f6; /* blue accent border */
  animation: float-card-3 7s infinite ease-in-out;
}

.chart-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.chart-title {
  font-size: 0.75rem;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chart-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.chart-sparkline {
  width: 100%;
  height: 60px;
  overflow: visible;
}

/* Animations for floating cards */
@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15px, 15px) scale(1.05); }
}

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

@keyframes float-card-2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.01); }
}

@keyframes float-card-3 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

/* Responsive grid settings for 2-column hero */
@media (max-width: 991px) {
  .hero-visual-container {
    height: 380px;
    margin-top: 3rem;
  }
  .card-player {
    width: 320px;
    height: 200px;
  }
  .card-code {
    width: 220px;
    left: 0;
  }
  .card-chart {
    width: 170px;
    right: 0;
  }
}

@media (max-width: 576px) {
  .hero-visual-container {
    height: 340px;
  }
  .card-player {
    width: 260px;
    height: 170px;
  }
  .card-code {
    display: none; /* Hide helper cards on very small screens to fit neatly */
  }
  .card-chart {
    display: none;
  }
}

/* Hero Feature Tags Capsule Styling */
.hero-features {
  margin-top: 2.5rem;
}

.hero-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(24, 29, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 8px 18px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-nav);
  transition: var(--transition-smooth);
}

.hero-feature-tag:hover {
  border-color: rgba(14, 230, 176, 0.3);
  box-shadow: 0 5px 15px rgba(14, 230, 176, 0.1);
  transform: translateY(-2px);
  color: #ffffff;
}

.hero-feature-tag i {
  color: var(--accent-color);
  font-size: 0.9rem;
  text-shadow: 0 0 10px var(--accent-glow);
}
