/* ==========================================================================
   MSST AI SMART SOLUTIONS - HIGH-CONTRAST SYSTEM (PRO MAX MASTERPIECE)
   ========================================================================== */

/* 1. DESIGN TOKENS & VARIABLES */
:root {
  /* Brand Palette - Metallic High Contrast */
  --color-primary: #041E5C;
  /* Navy Blue */
  --color-secondary: #00AEEF;
  /* Technology Electric Blue */
  --color-accent: #00D4FF;
  /* AI Cyan Glow */

  /* Background Blocks */
  --color-light-bg: #FFFFFF;
  /* Pure White */
  --color-light-alt: #F8FAFC;
  /* Soft Light Slate */
  --color-dark-bg: #071330;
  /* Deep Cyber Space */
  --color-dark-card: #0c1a3f;
  /* Cyber Dark Card */

  /* Text Colors */
  --color-text-dark-primary: #041E5C;
  --color-text-dark-secondary: #334155;
  /* Slate-700 for high legibility */
  --color-text-dark-muted: #64748B;

  --color-text-light-primary: #FFFFFF;
  --color-text-light-secondary: #CBD5E1;
  /* Slate-300 */
  --color-text-light-muted: #94A3B8;

  /* Typography */
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Spacing & Borders */
  --border-radius-sharp: 0px;
  /* Hard Industrial Edges */
  --cyber-border-dark: rgba(0, 212, 255, 0.18);
  --cyber-border-dark-hover: rgba(0, 212, 255, 0.65);
  --cyber-border-light: rgba(4, 30, 92, 0.1);
  --cyber-border-light-hover: rgba(0, 174, 239, 0.55);
}

/* 2. GENERAL LAYER & RESET */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-light-bg);
  color: var(--color-text-dark-secondary);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border: 1px solid var(--color-accent);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text-dark-primary);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* 3. SHARP CYBER BUTTONS */
.btn-tech {
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  padding: 15px 30px;
  border-radius: var(--border-radius-sharp);
  border: 2px solid var(--color-secondary);
  background: transparent;
  color: var(--color-secondary);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

.btn-tech::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: all 0.5s ease;
  z-index: -1;
}

.btn-tech:hover::before {
  left: 100%;
}

.btn-tech-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(4, 30, 92, 0.25);
}

.btn-tech-primary:hover {
  background: var(--color-secondary);
  border-color: var(--color-accent);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

.btn-tech-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.btn-tech-outline:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
}

.btn-tech-dark-outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: transparent;
}

.btn-tech-dark-outline:hover {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(4, 30, 92, 0.25);
  transform: translateY(-2px);
}

/* 4. NAVBAR HEADER (GLASSMORPHISM PRECISE) */
.navbar-custom {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(4, 30, 92, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  padding: 15px 0;
}

.navbar-custom .nav-link {
  color: var(--color-text-dark-secondary) !important;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  position: relative;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
}

/* Underline slide effect on hover */
.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: calc(100% - 32px);
}

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

/* 5. SECTIONS & BLOCK ALIGNMENT */
.section-padding {
  padding: 80px 0;
  position: relative;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* Section Tagline — consistent with brand typography */
.section-tagline {
  font-family: var(--font-headings);
  color: var(--color-secondary);
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.section-tagline::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
  animation: taglinePulse 1.8s infinite ease-in-out;
}

@keyframes taglinePulse {
  0% {
    transform: scale(0.85);
    opacity: 0.5;
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(0, 212, 255, 0);
  }

  100% {
    transform: scale(0.85);
    opacity: 0.5;
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
  }
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 45px;
  line-height: 1.2;
}

/* Alternate block styling */
.section-light {
  background-color: var(--color-light-bg);
  color: var(--color-text-dark-secondary);
}

.section-light .section-title {
  color: var(--color-text-dark-primary);
}

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

.section-light-alt {
  background-color: var(--color-light-alt);
  color: var(--color-text-dark-secondary);
}

.section-light-alt .section-title {
  color: var(--color-text-dark-primary);
}

.section-light-alt .section-title span {
  color: var(--color-secondary);
}

.section-dark {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light-secondary);
}

.section-dark .section-title {
  color: var(--color-text-light-primary);
}

.section-dark .section-title span {
  background: linear-gradient(135deg, #ffffff 40%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
}

.tech-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 174, 239, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 174, 239, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* Dot grid visual background for light sections to add depth */
.light-dot-grid {
  background-image: radial-gradient(rgba(4, 30, 92, 0.05) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}

/* 6. CYBER CARDS (TECHNICAL NOTCHES & DETAILS) */
.cyber-card {
  border-radius: var(--border-radius-sharp);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* Sliding accent underline */

/* Sliding accent underline */
.cyber-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cyber-card:hover::after {
  transform: translateX(100%);
}

/* Dark section cards */
.section-dark .cyber-card {
  background: var(--color-dark-card);
  border: 1px solid var(--cyber-border-dark);
}

.section-dark .cyber-card:hover {
  border-color: var(--cyber-border-dark-hover);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.25);
  transform: translateY(-5px);
}

/* Light section cards */
.section-light .cyber-card,
.section-light-alt .cyber-card {
  background: #ffffff;
  border: 1px solid var(--cyber-border-light);
  box-shadow: 0 4px 20px rgba(4, 30, 92, 0.02);
}

.section-light .cyber-card:hover,
.section-light-alt .cyber-card:hover {
  border-color: var(--cyber-border-light-hover);
  box-shadow: 0 12px 35px rgba(4, 30, 92, 0.08);
}

/* --- SECTION 1: HERO SLIDESHOW (FULL-SCREEN SWIPER) --- */
.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark-bg);
  padding-top: 0;
}

/* ---- Hero Swiper wrapper ---- */
.hero-swiper {
  width: 100%;
  height: 100vh;
  min-height: 600px;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

/* Background image fills each slide */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease;
  transform: scale(1.08);
}

.swiper-slide-active .hero-slide-bg {
  transform: scale(1);
}

/* Gradient overlay for text legibility */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(4, 30, 92, 0.82) 0%,
      rgba(7, 19, 48, 0.65) 50%,
      rgba(0, 0, 0, 0.45) 100%);
  z-index: 2;
}

/* Content sits above overlay */
.hero-slide-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 90px;
}

/* Animated badge */
.hero-slide-content .hero-badge {
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  display: inline-block;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.swiper-slide-active .hero-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Hero heading on slides */
.hero-slide-content h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

.swiper-slide-active h1 {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-content h1 span {
  color: var(--color-accent);
}

/* Subtitle */
.hero-slide-content .hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 38px;
  max-width: 540px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.7s, transform 0.7s ease 0.7s;
}

.swiper-slide-active .hero-desc {
  opacity: 1;
  transform: translateY(0);
}

/* CTA buttons */
.hero-slide-content .hero-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.9s, transform 0.7s ease 0.9s;
}

.swiper-slide-active .hero-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Hero progress bar at bottom */
.hero-swiper .swiper-pagination {
  bottom: 30px;
}

.hero-swiper .swiper-pagination-bullet {
  width: 36px !important;
  height: 4px !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  opacity: 1;
  transition: background 0.3s ease, width 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--color-accent) !important;
  width: 60px !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

/* Prev/Next arrows */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #ffffff !important;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 1.1rem !important;
  font-weight: bold;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* --- SECTION 2: INTRO / ABOUT (LIGHT) --- */
.about-img-wrapper {
  position: relative;
  padding: 20px;
}

.about-decor-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--color-secondary) 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  z-index: 0;
  opacity: 0.25;
}

.about-cyber-frame {
  position: relative;
  z-index: 1;
  border: 1px solid var(--cyber-border-light);
  padding: 10px;
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(4, 30, 92, 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-cyber-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-top: 3px solid var(--color-secondary);
  border-left: 3px solid var(--color-secondary);
  z-index: 3;
  transition: all 0.3s ease;
}

.about-cyber-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-bottom: 3px solid var(--color-secondary);
  border-right: 3px solid var(--color-secondary);
  z-index: 3;
  transition: all 0.3s ease;
}

.about-cyber-frame:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 20px 40px rgba(0, 174, 239, 0.15);
}

.about-cyber-frame:hover::before,
.about-cyber-frame:hover::after {
  width: 32px;
  height: 32px;
  border-color: var(--color-accent);
}

.about-image {
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-cyber-frame:hover .about-image {
  transform: scale(1.04);
}

.about-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to bottom, rgba(0, 212, 255, 0), var(--color-accent), rgba(0, 212, 255, 0));
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.about-cyber-frame:hover .about-scan-line {
  opacity: 0.8;
  animation: aboutScan 2.5s infinite linear;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-dark-secondary);
}

@keyframes aboutScan {
  0% {
    top: 0%;
  }

  100% {
    top: 100%;
  }
}

.about-stats-row {
  margin-top: 40px;
}

.counter-card {
  padding: 30px 20px;
}

.counter-num {
  font-family: var(--font-headings);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-size: 0.8rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--color-text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- SECTION 3: PRODUCTS (LIGHT) --- */
.product-card {
  padding: 40px 30px;
  text-align: center;
}

.product-card .icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 174, 239, 0.05);
  border: 1px solid rgba(0, 174, 239, 0.15);
  color: var(--color-secondary);
  font-size: 1.5rem;
  margin: 0 auto 25px auto;
  border-radius: var(--border-radius-accent);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .icon-box {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-text-dark-primary);
}

.product-card p {
  color: var(--color-text-dark-secondary);
  font-size: 0.92rem;
  margin-bottom: 0;
  opacity: 0.85;
}

/* --- SECTION 4: AI SOLUTIONS (LIGHT-ALT) --- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.solution-img-wrap {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.solution-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.solution-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 10;
  pointer-events: none;
}

.solution-content {
  padding: 30px;
}

.solution-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-text-dark-primary);
}

.solution-content p {
  font-size: 0.92rem;
  color: var(--color-text-dark-secondary);
  margin-bottom: 0;
}

/* --- SECTION 5: OUTSTANDING AI TECH (DARK CYBER) --- */
.dark-tech-card {
  padding: 35px;
  text-align: center;
}

.dark-tech-card .tech-icon {
  font-size: 1.8rem;
  color: var(--color-accent);
  margin: 0 auto 20px auto;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--border-radius-sharp);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dark-tech-card:hover .tech-icon {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
  border-color: var(--color-accent);
}

.dark-tech-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.dark-tech-card p {
  font-size: 0.92rem;
  color: var(--color-text-light-secondary);
  opacity: 0.8;
  margin-bottom: 0;
}

/* --- SECTION 6: IMPLEMENTATION TIMELINE (LIGHT) --- */
.timeline-row {
  position: relative;
}

.timeline-col {
  position: relative;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--cyber-border-light);
  padding: 40px 30px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transition: background 0.3s ease;
}

.timeline-card:hover {
  border-color: var(--cyber-border-light-hover);
  box-shadow: 0 15px 35px rgba(4, 30, 92, 0.08);
}

.timeline-card:hover::before {
  background: var(--color-secondary);
}

.timeline-step-badge {
  width: 54px;
  height: 54px;
  line-height: 52px;
  background: rgba(0, 174, 239, 0.06);
  border: 1px solid rgba(0, 174, 239, 0.18);
  color: var(--color-secondary);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  margin-bottom: 24px;
  text-align: center;
  transition: all 0.4s ease;
}

.timeline-card:hover .timeline-step-badge {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(4, 30, 92, 0.25);
}

.timeline-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-text-dark-primary);
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--color-text-dark-secondary);
  opacity: 0.85;
}

/* --- SECTION 7: FEATURED PRODUCTS (LIGHT-ALT) --- */
.featured-slider-wrap {
  padding: 20px 0 60px 0;
}

.featured-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.f-prod-img {
  height: 240px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--cyber-border-light);
}

.f-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-product-card:hover .f-prod-img img {
  transform: scale(1.06);
}

.f-prod-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.f-prod-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--color-text-dark-primary);
}

.f-prod-specs {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
  font-size: 0.85rem;
  color: var(--color-text-dark-secondary);
  opacity: 0.9;
}

.f-prod-specs li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.f-prod-specs li::before {
  content: '⚡';
  color: var(--color-secondary);
  position: absolute;
  left: 0;
  top: 0;
}

/* Slider Custom Navigation style [ < ] and [ > ] */
.featured-product-pagination {
  position: relative !important;
  margin-top: 40px !important;
  bottom: 0 !important;
  display: flex;
  justify-content: center;
}

.swiper-pagination-bullet {
  background: rgba(4, 30, 92, 0.2) !important;
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--color-secondary) !important;
  width: 24px;
  border-radius: 5px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--color-primary) !important;
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid var(--cyber-border-light);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(4, 30, 92, 0.05);
  transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.1rem !important;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--color-primary);
  color: #ffffff !important;
  border-color: var(--color-primary);
}

/* --- SECTION 8: CASE PROJECTS (DARK CYBER) --- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  height: 350px;
  overflow: hidden;
  border: 1px solid var(--cyber-border-dark);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7, 19, 48, 0.98) 0%, rgba(7, 19, 48, 0.5) 60%, transparent 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: all 0.4s ease;
}

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

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h4 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.project-meta {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

/* --- SECTION 9: CLIENTS & PARTNERS (DARK THEME TICKER) --- */
#partners {
  background-color: var(--color-dark-bg) !important;
}

.clients-slider {
  overflow: hidden;
  padding: 30px 0;
  position: relative;
}

.clients-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: tickerScroll 25s linear infinite;
  width: max-content;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.client-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 70px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0.95;
}

.client-logo-item:hover {
  opacity: 1;
  border-color: var(--color-accent);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35);
}

.client-logo-item svg,
.client-logo-item img {
  display: block;
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
}

/* --- SECTION 10: NEWS & INSIGHTS (LIGHT) --- */
.news-slider-wrap {
  padding: 20px 0 60px 0;
}

.news-slide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--cyber-border-light);
  box-shadow: 0 4px 20px rgba(4, 30, 92, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news-slide-card:hover {
  border-color: var(--cyber-border-light-hover);
  box-shadow: 0 12px 35px rgba(4, 30, 92, 0.08);
}

.news-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--cyber-border-light);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-slide-card:hover .news-thumb img {
  transform: scale(1.08);
}

.news-date-tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 6px 14px;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(4, 30, 92, 0.25);
  display: inline-flex;
  align-items: center;
}

.news-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.news-info h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 15px;
  color: var(--color-text-dark-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
  transition: color 0.3s ease;
}

.news-slide-card:hover .news-info h3 {
  color: var(--color-secondary);
}

.news-info p {
  font-size: 0.9rem;
  color: var(--color-text-dark-secondary);
  opacity: 0.85;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.8em;
}

.news-info .btn-tech {
  margin-top: auto;
}

.news-swiper-pagination {
  position: relative !important;
  margin-top: 40px !important;
  bottom: 0 !important;
  display: flex;
  justify-content: center;
}

/* --- SECTION 11: CTA CONSULTATION FORM (DARK GRADIENT) --- */
.cta-form-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #030d22 0%, var(--color-primary) 70%, var(--color-dark-bg) 100%);
  color: #ffffff;
  border-top: 1px solid var(--cyber-border-dark);
}

.form-tech-container {
  background: rgba(7, 19, 48, 0.8);
  border: 1px solid var(--cyber-border-dark-hover);
  padding: 45px;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.25);
}

.form-tech-control {
  background: rgba(7, 19, 48, 0.95);
  border: 1px solid rgba(0, 174, 239, 0.35);
  border-radius: var(--border-radius-sharp);
  color: #ffffff;
  padding: 15px 20px;
  font-size: 0.95rem;
}

.form-tech-control:focus {
  background: #071330;
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  color: #ffffff;
}

.form-tech-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Custom AJAX success toast modal */
.toast-success-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-dark-bg);
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius-sharp);
  padding: 40px;
  z-index: 9999;
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.5);
}

.toast-success-modal h3 {
  color: #ffffff;
  margin-top: 15px;
}

.toast-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9998;
}

/* --- SECTION 12: FOOTER (DARK CYBER) --- */
footer {
  background-color: #030d22;
  color: var(--color-text-light-secondary);
  font-size: 0.9rem;
}

footer h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 10px;
}

footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
  box-shadow: 0 0 5px var(--color-accent);
}

footer .footer-logo {
  max-width: 140px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.25));
}

.footer-social-links .social-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text-light-secondary);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0.95rem;
}

.footer-social-links .social-icon:hover {
  background: var(--color-secondary);
  color: #ffffff !important;
  border-color: var(--color-secondary);
  box-shadow: 0 0 15px rgba(0, 174, 239, 0.45);
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-text-light-secondary);
  opacity: 0.75;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
  opacity: 1;
}

.footer-contact-info p {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  color: var(--color-text-light-secondary);
  opacity: 0.85;
}

.footer-contact-info p i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  color: var(--color-text-light-muted);
  font-size: 0.85rem;
}

/* --- SECTION 13: FLOATING QUICK CONTACT BAR --- */
.floating-contact-bar {
  position: fixed;
  bottom: 80px;
  right: 25px;
  z-index: 9999;
}

.contact-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.35rem;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
}

.contact-btn:hover {
  transform: scale(1.1);
}

.zalo-btn {
  background: #0068FF;
}

.zalo-btn:hover {
  box-shadow: 0 0 20px rgba(0, 104, 255, 0.6);
}

.messenger-btn {
  background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
}

.messenger-btn:hover {
  box-shadow: 0 0 20px rgba(0, 114, 255, 0.6);
}

.phone-btn {
  background: #10B981;
  animation: phonePulse 2s infinite ease-in-out;
}

.phone-btn:hover {
  animation: none;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
}

@keyframes phonePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Slide-out labels on hover */
.contact-btn .btn-label {
  position: absolute;
  right: 64px;
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--border-radius-sharp);
  border: 1px solid var(--color-accent);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(4, 30, 92, 0.35);
}

.contact-btn:hover .btn-label {
  opacity: 1;
  transform: translateX(0);
}

/* 7. RESPONSIVE MEDIA QUERIES */
@media (max-width: 1200px) {
  .hero-left-content h1 {
    font-size: 3rem;
  }

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

  .solution-grid .solution-item:nth-child(2) {
    transform: none;
  }

  .solution-grid .solution-item:nth-child(5) {
    transform: none;
  }
}

@media (max-width: 992px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-left-content h1 {
    font-size: 2.25rem;
  }

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

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

  .section-title {
    font-size: 2rem;
  }

  .floating-contact-bar {
    bottom: 30px;
    right: 15px;
    gap: 10px !important;
  }

  .contact-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .contact-btn .btn-label {
    display: none;
    /* Hide labels on mobile to avoid overlapping */
  }
}