/* ==========================================================================
   BRSM Software (India) Private Limited - Enterprise Technology Stylesheet
   Modern, High-Tech, Crisp Software Engineering UI
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Cyber & Modern Tech */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.35);
  
  --secondary: #0ea5e9;
  --secondary-dark: #0284c7;
  --secondary-glow: rgba(14, 165, 233, 0.3);
  
  --accent: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  
  --dark-950: #070b14;
  --dark-900: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --dark-600: #475569;
  
  --light-50: #f8fafc;
  --light-100: #f1f5f9;
  --light-200: #e2e8f0;
  --light-300: #cbd5e1;
  --light-400: #94a3b8;
  
  --white: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-glass: rgba(226, 232, 240, 0.8);
  --border-dark: #334155;
  
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-tech: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #2563eb 50%, #06b6d4 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
  --gradient-dark-card: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
  --shadow-cyan-glow: 0 0 25px rgba(6, 182, 212, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--light-50);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  padding: 0 24px;
}

/* Typography Helpers */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan { color: var(--accent-cyan) !important; }
.text-blue { color: var(--primary) !important; }
.text-emerald { color: var(--accent-emerald) !important; }
.text-muted { color: var(--text-muted) !important; }

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Top Bar */
.top-bar {
  background: var(--dark-950);
  color: var(--light-400);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar a, .top-bar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--light-400);
  font-weight: 400;
}

.top-bar a:hover {
  color: var(--accent-cyan);
}

.top-bar .social-icons {
  display: flex;
  gap: 12px;
}

.top-bar .social-icons a {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--light-300);
  font-size: 12px;
  transition: var(--transition);
}

.top-bar .social-icons a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: var(--border-light);
}

.main-nav {
  padding: 10px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Brand & Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  max-width: 155px !important;
  object-fit: contain !important;
  display: block !important;
  transition: var(--transition);
}

.navbar-brand:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-tag-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1.5px solid var(--border-light);
  padding-left: 10px;
  white-space: nowrap;
}

.brand-tag-wrapper .tech-badge-sub {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-tag-wrapper .brand-sub-title {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark-700);
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
}

.nav-item:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-link-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.dropdown-link-item:hover {
  background: var(--primary-light);
}

.dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: var(--transition);
}

.dropdown-link-item:hover .dropdown-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.dropdown-content-text .item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 2px;
  display: block;
}

.dropdown-content-text .item-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

.btn-gradient {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--dark-800);
  border-color: var(--border-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-dark {
  background: var(--dark-900);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
  background: var(--dark-800);
  color: var(--white);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}

.mobile-toggle-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark-900);
  transition: var(--transition);
}

.mobile-toggle-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Section Common */
.section-py {
  padding: 90px 0;
}

.section-py-sm {
  padding: 60px 0;
}

.bg-light-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.bg-dark-tech {
  background: var(--dark-900);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 54px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-badge.dark-badge {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.3);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-900);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-title.text-white {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-subtitle.text-light {
  color: var(--light-300);
}

/* Hero Section */
.hero-tech {
  position: relative;
  padding: 130px 0 90px 0;
  background: radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
              var(--light-50);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--dark-950);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-600);
}

.trust-item i {
  color: var(--accent-emerald);
}

/* Terminal / Code Visual Mockup */
.tech-terminal {
  background: #0f172a;
  border-radius: var(--radius-xl);
  border: 1px solid #334155;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4), var(--shadow-glow);
  overflow: hidden;
  position: relative;
}

.terminal-header {
  background: #1e293b;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
}

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

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

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

.terminal-title {
  color: #94a3b8;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.terminal-body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.7;
}

.code-keyword { color: #f472b6; font-weight: 600; }
.code-fn { color: #60a5fa; font-weight: 600; }
.code-str { color: #34d399; }
.code-prop { color: #38bdf8; }
.code-comment { color: #64748b; font-style: italic; }

.terminal-badge-floating {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Metrics & Stats Bar */
.stats-banner {
  background: var(--dark-900);
  color: var(--white);
  padding: 50px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

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

.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--light-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Feature & Service Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.tech-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.tech-card:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  transition: var(--transition);
}

.tech-card:hover .card-icon-wrap {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08) rotate(3deg);
  box-shadow: var(--shadow-glow);
}

.tech-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 12px;
}

.tech-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.card-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--light-100);
  color: var(--dark-700);
}

.card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.card-link:hover {
  gap: 12px;
  color: var(--primary-hover);
}

/* Tech Stack Tabs & Grid */
.tech-pills-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tech-pill-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-light);
  font-weight: 700;
  font-size: 14px;
  color: var(--dark-700);
  cursor: pointer;
  transition: var(--transition);
}

.tech-pill-btn.active, .tech-pill-btn:hover {
  background: var(--dark-900);
  color: var(--white);
  border-color: var(--dark-900);
  box-shadow: var(--shadow-md);
}

.tech-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 20px;
}

.tech-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tech-box:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.tech-box i {
  font-size: 34px;
  color: var(--primary);
  transition: var(--transition);
}

.tech-box:hover i {
  transform: scale(1.15);
  color: var(--secondary);
}

.tech-box span {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-800);
}

.tech-box small {
  font-size: 11px;
  color: var(--text-light);
}

/* Process Timeline / Workflow */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  position: relative;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.step-num {
  font-size: 12px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
}

.process-step h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Portfolio Filters & Grid */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-700);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.project-thumb {
  height: 220px;
  background: var(--gradient-dark-card);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 24px;
  overflow: hidden;
}

.project-thumb-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.project-thumb-icon {
  font-size: 54px;
  color: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.project-card:hover .project-thumb-icon {
  transform: scale(1.15) rotate(4deg);
  color: var(--accent-cyan);
}

.project-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 10px;
}

.project-body p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
  background: var(--light-50);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.metric-item .val {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.metric-item .desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testi-stars {
  color: #f59e0b;
  font-size: 15px;
  margin-bottom: 16px;
}

.testi-text {
  font-size: 14.5px;
  color: var(--dark-700);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.testi-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark-900);
}

.testi-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* CTA Modern Box */
.cta-box-gradient {
  background: var(--gradient-tech);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.cta-box-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-content h2 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-content p {
  color: var(--light-300);
  font-size: 16px;
  max-width: 540px;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark-900);
}

.faq-icon {
  font-size: 14px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.active .faq-content {
  padding-bottom: 20px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--white);
  color: var(--dark-900);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* Page Hero Common */
.page-hero-tech {
  padding: 130px 0 70px 0;
  background: var(--gradient-tech);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero-tech::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--light-50);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  line-height: 1.15;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: var(--light-300);
  line-height: 1.6;
}

/* Tech Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.spec-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.spec-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.spec-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.spec-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 4px;
}

.spec-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.footer {
  background: var(--dark-950);
  color: var(--light-400);
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 80px;
  position: relative;
}

.footer-main {
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.4fr;
  gap: 40px;
}

.footer-logo-pill {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo-pill img {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--light-400);
  margin: 8px 0 24px 0;
  max-width: 320px;
}

.footer-cert-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cert-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--light-300);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 14px;
  color: var(--light-400);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--light-400);
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--accent-cyan);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
  color: var(--light-400);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a:hover {
  color: var(--white);
}

/* Back to top floating button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-box:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .mobile-toggle-btn { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-xl);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-item {
    width: 100%;
  }
  
  .dropdown-menu-custom {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--light-100);
    padding: 10px;
    margin-top: 8px;
    display: none;
  }
  
  .nav-item.dropdown-open .dropdown-menu-custom {
    display: block;
  }
  
  .nav-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .nav-actions .btn {
    width: 100%;
  }
  
  .hero-title { font-size: 2.2rem; }
  .page-hero-title { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .cta-content { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-box::after { display: none !important; }
}
