/* ==========================================================================
   FEBTECH LLC - Modern 2026 Corporate Design System (style.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System Tokens & Themes
   -------------------------------------------------------------------------- */
:root {
  /* Common variables */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  
  --transition-normal: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.18s ease;
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Primary Brand colors */
  --brand-blue: #1f4aa0;
  --brand-blue-rgb: 31, 74, 160;
  --brand-accent: #3b82f6;
  --brand-accent-rgb: 59, 130, 246;
  
  /* Permanent Light Theme Core Variables */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: rgba(15, 23, 42, 0.07);
  --card-bg: rgba(15, 23, 42, 0.02);
  --card-bg-hover: rgba(15, 23, 42, 0.045);
  --card-border: rgba(15, 23, 42, 0.08);
  --card-shadow: rgba(15, 23, 42, 0.08);
  
  --glow-color-1: rgba(31, 74, 160, 0.04);
  --glow-color-2: rgba(59, 130, 246, 0.03);
  --input-bg: #ffffff;
  --input-focus-border: rgba(31, 74, 160, 0.4);
  
  --color-green: #10b981;
  --color-green-rgb: 16, 185, 129;
  --color-red: #ef4444;
  --color-yellow: #f59e0b;
}

/* --------------------------------------------------------------------------
   2. Global Reset & Base Elements
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

input, textarea, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scrollbar customizations */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* --------------------------------------------------------------------------
   3. Visual Glow Accents & Layout Helpers
   -------------------------------------------------------------------------- */
.glow-bg-radial {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.75;
  transition: var(--transition-normal);
}

.glow-primary {
  width: 600px;
  height: 600px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--glow-color-1) 0%, transparent 70%);
}

.glow-secondary {
  width: 500px;
  height: 500px;
  top: 600px;
  left: -200px;
  background: radial-gradient(circle, var(--glow-color-2) 0%, transparent 70%);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid presets */
.grid-two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.grid-three-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.grid-four-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-two-cols {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .grid-three-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-four-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-three-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-four-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Section styling presets */
.section-padding {
  padding: 100px 0;
}
.section-padding-small {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

.text-green { color: var(--color-green); }
.text-blue { color: var(--brand-accent); }

/* Common Badges */
.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  background: rgba(31, 74, 160, 0.05);
  border: 1px solid rgba(31, 74, 160, 0.2);
  color: var(--brand-blue);
  margin-bottom: 20px;
  font-family: var(--font-display);
}

/* Common Titles */
.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 50px auto;
  font-weight: 300;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--brand-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Panel styles */
.glass-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px var(--card-shadow);
  transition: var(--transition-normal);
}

.glass-panel:hover {
  background: var(--card-bg-hover);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-4px);
}

/* Standardized Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
  font-family: var(--font-display);
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(31, 74, 160, 0.4);
}

.btn-primary:hover {
  background-color: #2b5cb8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 74, 160, 0.5);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--card-bg-hover);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.btn-full-width {
  width: 100%;
}

.divider {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 24px 0;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation Menu
   -------------------------------------------------------------------------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.main-header.scrolled {
  padding: 12px 0;
  background-color: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--border-color);
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo styling */
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.logo-accent {
  color: var(--brand-accent);
}

.logo-sub {
  font-size: 10px;
  font-weight: 600;
  background-color: var(--brand-blue);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0;
}

/* Desktop Nav Link List */
.nav-list {
  display: none;
}

@media (min-width: 900px) {
  .nav-list {
    display: flex;
    gap: 32px;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-accent);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header Action buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}


/* Mobile Menu Toggle burger styling */
.mobile-toggle-btn {
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 900px) {
  .mobile-toggle-btn {
    display: none;
  }
}

.burger-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile active toggle styling */
.mobile-toggle-btn.active .burger-bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.mobile-toggle-btn.active .burger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle-btn.active .burger-bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Nav Drawer dropdown styling */
.nav-menu.mobile-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 24px;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  animation: slideDownMenu 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav-menu.mobile-open .nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 180px;
  padding-bottom: 100px;
}

.hero-text-content {
  text-align: left;
}

.hero-badge {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

@media (min-width: 900px) {
  .hero-title {
    font-size: 56px;
  }
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Cyber Console panel widget styling */
.cyber-panel-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.cyber-panel {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(31, 74, 160, 0.12);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(31, 74, 160, 0.06);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-normal);
}

.cyber-panel-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-blue));
  z-index: 1;
  border-radius: calc(var(--border-radius-md) + 2px);
  opacity: 0.15;
  transition: var(--transition-normal);
}

.cyber-panel-container:hover .cyber-panel-glow {
  opacity: 0.35;
}

.panel-header {
  background: rgba(241, 245, 249, 0.9);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.panel-header .dot.red { background-color: var(--color-red); }
.panel-header .dot.yellow { background-color: var(--color-yellow); }
.panel-header .dot.green { background-color: var(--color-green); }

.panel-header .title {
  font-family: monospace;
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.panel-body {
  padding: 24px;
  font-family: monospace;
  font-size: 13px;
}

.code-line {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.c-tag {
  color: var(--text-secondary);
}

.c-value {
  color: var(--brand-accent);
}

/* Glowing radar animation widget */
.grid-radar-container {
  height: 180px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 20px 20px;
}

.radar-circle {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radar-circle::before {
  content: '';
  width: 60px;
  height: 60px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radar-line {
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.8), transparent);
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: left center;
  animation: radarSweep 4s linear infinite;
}

@keyframes radarSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.server-node-indicators {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.server-node-indicators .node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
}

.server-node-indicators .node:nth-child(1) { top: 40px; left: 80px; }
.server-node-indicators .node:nth-child(2) { top: 120px; left: 160px; }
.server-node-indicators .node:nth-child(3) { top: 80px; left: 300px; }

.server-node-indicators .node.active {
  background-color: var(--color-green);
  box-shadow: 0 0 10px var(--color-green);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.panel-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: 16px;
}

.panel-stats .stat {
  display: flex;
  flex-direction: column;
}

.panel-stats .stat .num {
  font-weight: 700;
  font-size: 14px;
}

.panel-stats .stat .lbl {
  font-size: 10px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   6. Core Services Section
   -------------------------------------------------------------------------- */
.services-section {
  position: relative;
}

.service-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-icon-container {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  background: rgba(31, 74, 160, 0.08);
  border: 1px solid rgba(31, 74, 160, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--brand-accent);
  transition: var(--transition-normal);
}

.service-card:hover .card-icon-container {
  background-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(31, 74, 160, 0.4);
}

.service-icon {
  width: 24px;
  height: 24px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.card-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.card-tags .tag {
  font-size: 11px;
  font-weight: 500;
  background-color: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-secondary);
}

/* Services Carousel Container */
.services-carousel-container {
  position: relative;
  width: 100%;
}
.services-carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 12px 0; /* Prevents shadows from being clipped */
}
.services-carousel-track {
  display: flex;
  gap: 32px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}
.services-carousel-track .service-card {
  flex: 0 0 100%;
  height: auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .services-carousel-track .service-card {
    flex: 0 0 calc((100% - 32px) / 2);
  }
}

@media (min-width: 1024px) {
  .services-carousel-track .service-card {
    flex: 0 0 calc((100% - 64px) / 3);
  }
}

/* Services Carousel Controls */
.services-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  transition: opacity 0.3s ease;
}
.services-carousel-controls.hidden {
  opacity: 0;
  pointer-events: none;
  margin-top: 0;
  height: 0;
  overflow: hidden;
}
.services-control-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--card-shadow);
  transition: var(--transition-normal);
}
.services-control-btn:hover {
  background-color: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 74, 160, 0.25);
}
.services-carousel-indicators {
  display: flex;
  gap: 8px;
}
.services-carousel-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-normal);
}
.services-carousel-indicators .indicator.active {
  background-color: var(--brand-accent);
  width: 20px;
  border-radius: 4px;
}


/* --------------------------------------------------------------------------
   7. Why Choose Us Stats Section
   -------------------------------------------------------------------------- */
.stats-section {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(241, 245, 249, 0.5);
}

.stat-card {
  padding: 20px;
  position: relative;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Mini indicator styling */
.indicator-pulse-container {
  display: inline-flex;
  position: relative;
  width: 12px;
  height: 12px;
  margin-bottom: 8px;
}

.pulse-ring {
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-green);
  border-radius: 50%;
  position: absolute;
  animation: pulsePulse 1.5s infinite;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-green);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
}

@keyframes pulsePulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.radar-mini-icon, .shield-check-icon, .map-pin-icon {
  color: var(--brand-accent);
  display: inline-flex;
  margin-bottom: 8px;
}

.spin-icon {
  animation: rotateSpin 8s linear infinite;
}

@keyframes rotateSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   8. SLA Calculator Section
   -------------------------------------------------------------------------- */
.calculator-section {
  position: relative;
}

.calc-grid {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  padding: 48px;
  gap: 48px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.panel-subtitle {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.input-slider-group {
  display: flex;
  flex-direction: column;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 500;
}

.slider-val {
  color: var(--brand-accent);
  font-weight: 700;
}

/* Modern Range Slider overrides */
.form-range {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 12px 0;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-accent);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
  transition: var(--transition-fast);
}

.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--text-primary);
}

.range-hint {
  font-size: 11px;
  color: var(--text-muted);
}

/* Advanced Network add-on check switches styling */
.switches-group {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.switches-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.switch-control {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 54px;
  min-height: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  user-select: none;
}

.switch-control input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.slider-switch {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 44px;
  background-color: var(--border-color);
  border-radius: 30px;
  transition: var(--transition-fast);
}

.slider-switch::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.switch-control input:checked ~ .slider-switch {
  background-color: var(--brand-accent);
}

.switch-control input:checked ~ .slider-switch::before {
  transform: translateX(20px);
  background-color: #ffffff;
}

.switch-label {
  line-height: 1.3;
}

/* Calculator Results display pane style */
.calc-results {
  background: rgba(15, 23, 42, 0.01);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.tier-card-output {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.tier-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background-color: rgba(59, 130, 246, 0.15);
  border: 1px solid var(--brand-accent);
  color: var(--brand-accent);
  border-radius: 30px;
  margin-bottom: 12px;
}

.tier-rating {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tier-pricing {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.tier-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  text-align: left;
  margin-bottom: 32px;
}

.tier-features-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}

.tier-features-list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.calc-footer-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   9. Testimonials Carousel
   -------------------------------------------------------------------------- */
.testimonials-carousel-container {
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carousel-slide.active {
  display: flex;
  opacity: 1;
}

.quote-icon {
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(31, 74, 160, 0.15);
  height: 40px;
  line-height: 1;
  margin-bottom: 10px;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
  font-weight: 300;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.author-company {
  font-size: 12px;
  color: var(--text-muted);
}

/* Carousel Control panel */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.carousel-control-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--card-shadow);
  transition: var(--transition-normal);
}

.carousel-control-btn:hover {
  background-color: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 74, 160, 0.25);
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.carousel-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-normal);
}

.carousel-indicators .indicator.active {
  background-color: var(--brand-accent);
  width: 20px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   10. About Section & Architecture Blueprint Diagram
   -------------------------------------------------------------------------- */
.about-lead {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-body {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 300;
}

.about-specialties {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.specialty-item {
  display: flex;
  gap: 16px;
}

.spec-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-accent);
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--brand-accent);
}

.specialty-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.specialty-item p {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Architecture visual blueprint widget style */
.visual-stack-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.visual-badge {
  position: absolute;
  top: -20px;
  right: -10px;
  background-color: var(--brand-blue);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 5;
}

.visual-badge .title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.visual-badge .desc {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.architecture-diagram {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.diagram-nodes {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.d-node {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.d-node .node-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
}

.d-node.host .node-icon { background-color: #2563eb; }
.d-node.vm-cluster .node-icon { background-color: #10b981; }
.d-node.router .node-icon { background-color: #ef4444; font-size: 14px; }

.d-node .node-name {
  font-size: 13px;
  font-weight: 600;
  font-family: monospace;
}

.d-connection {
  width: 2px;
  height: 30px;
  background: var(--border-color);
  margin-left: 36px;
  position: relative;
}

.d-connection::after {
  content: '';
  position: absolute;
  top: 0;
  left: -2px;
  width: 6px;
  height: 6px;
  background-color: var(--brand-accent);
  border-radius: 50%;
  animation: flowConnect 2s linear infinite;
}

@keyframes flowConnect {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(24px); opacity: 0; }
}

.diagram-tag {
  margin-top: 30px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   11. Contacts Section & Forms
   -------------------------------------------------------------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-card {
  padding: 40px;
  height: 100%;
}

.detail-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(31, 74, 160, 0.08);
  border: 1px solid rgba(31, 74, 160, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  flex-shrink: 0;
}

.detail-content .label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.detail-content .val {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-link:hover {
  color: var(--brand-accent);
}

/* Form block */
.contact-form-container {
  padding: 40px;
  position: relative;
}

.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 600px) {
  .form-row.grid-two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input-group input, .input-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  outline: none;
  font-size: 14px;
  transition: var(--transition-fast);
  color: var(--text-primary);
}

.input-group input:focus, .input-group textarea:focus {
  border-color: var(--input-focus-border);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

/* Validation error messaging styling */
.input-group.error input, .input-group.error textarea {
  border-color: var(--color-red);
}

.error-msg {
  font-size: 11px;
  color: var(--color-red);
  margin-top: 4px;
  display: none;
}

.input-group.error .error-msg {
  display: block;
}

/* Calculator integration readonly styling */
#form-calculator-tier {
  font-weight: 600;
  background-color: rgba(31, 74, 160, 0.05) !important;
  color: var(--brand-accent) !important;
  border-color: rgba(31, 74, 160, 0.15) !important;
  cursor: default;
}

/* Form success overlay styling */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--color-green);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 24px auto;
}

.success-content h4 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
}

.success-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   12. Footer Section
   -------------------------------------------------------------------------- */
.main-footer {
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
  background-color: var(--bg-primary);
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-tagline {
  font-weight: 300;
  line-height: 1.6;
}

.footer-links h4, .footer-legal h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--brand-accent);
}

.footer-legal p {
  margin-bottom: 12px;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   13. Scroll Reveal Animations (Intersection Observer)
   -------------------------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   FEBTECH CUSTOM DESIGN TWEAKS (Phase 2 Review)
   ========================================================================== */

/* 1. Header Logo - All Black */
.main-header .logo {
  color: #000000 !important;
}
.main-header .logo-accent {
  color: #000000 !important;
}

/* 2. Dark Footer Design */
.main-footer {
  position: relative;
  border-top: none !important;
  padding: 80px 0 40px 0;
  background-color: #070a13 !important; /* deep dark blue */
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6) !important; /* soft white text */
}

/* Subtle top gradient accent on footer */
.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-accent));
}

.main-footer h4 {
  color: #ffffff !important; /* white titles */
}

.main-footer a {
  color: rgba(255, 255, 255, 0.6) !important;
  transition: var(--transition-fast);
}

.main-footer a:hover {
  color: var(--brand-accent) !important;
}

.main-footer .footer-brand .logo {
  color: #ffffff !important;
  margin-bottom: 16px;
}
.main-footer .footer-brand .logo-accent {
  color: #ffffff !important;
}

.main-footer .footer-tagline {
  color: rgba(255, 255, 255, 0.5) !important;
}

.main-footer .footer-legal p {
  color: rgba(255, 255, 255, 0.5) !important;
}



/* ==========================================================================
   15. Partners Marquee Section
   ========================================================================== */
.partners-section {
  padding: 50px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.partners-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.partners-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.partners-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 80px; /* space between logos */
  animation: marquee-infinite 20s linear infinite;
}

/* Pause marquee on hover */
.partners-marquee-track:hover {
  animation-play-state: paused;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 160px; /* standard width to align layout */
}

.partner-logo-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(40%);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo-item img:hover {
  filter: grayscale(0%) opacity(100%);
}

/* Keyframes for infinite marquee scroll */
@keyframes marquee-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* move exactly half of the track size */
  }
}


/* Adjustments for custom image sizes and comparison bars */
.partner-logo-item {
  height: 55px !important; /* Increased height to compensate for padding in custom files */
}

.partners-marquee-track.track-svg {
  animation: marquee-infinite 25s linear infinite; /* slightly different speed for variation */
}
