/* ==========================================================================
   secomics.com - Master Stylesheet
   Modern, High-Performance Enterprise UI with Rich Aesthetics & Visual Polish
   ========================================================================== */

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

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary: #4f46e5;         /* Vibrant Electric Indigo */
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.25);
  
  --secondary: #0f172a;       /* Deep Midnight Slate */
  --secondary-light: #1e293b;
  
  --accent: #2563eb;          /* Royal Azure */
  --accent-cyan: #06b6d4;     /* High-Tech Cyber Cyan */
  --accent-cyan-hover: #0891b2;
  --accent-glow: rgba(6, 182, 212, 0.25);
  
  --text-main: #1e293b;       /* Crisp slate for maximum legibility */
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-2: #f1f5f9;
  --bg-dark: #090d16;         /* Ultra-deep modern slate */
  --bg-dark-card: #111827;
  --bg-dark-card-hover: #1e293b;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-focus: #818cf8;

  --success: #10b981;
  --success-light: #ecfdf5;
  --warning: #f59e0b;
  --danger: #ef4444;

  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -6px rgba(15, 23, 42, 0.1), 0 6px 12px -3px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.16);
  --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.28);
  --shadow-cyan-glow: 0 0 25px rgba(6, 182, 212, 0.25);

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

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

ul, ol {
  list-style: none;
}

/* --- Container & Grid System --- */
.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-padding-sm {
  padding-top: 55px;
  padding-bottom: 55px;
}

/* --- Header & Navigation --- */
.top-bar {
  background: var(--bg-dark);
  color: #cbd5e1;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.top-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.5), rgba(6, 182, 212, 0.5), transparent);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-bar-contact a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-weight: 500;
}

.top-bar-contact a:hover {
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79, 70, 229, 0.2);
  color: #c7d2fe;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 1px solid rgba(79, 70, 229, 0.35);
  font-size: 12px;
  letter-spacing: 0.2px;
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.6px;
  transition: var(--transition);
}

.brand-logo:hover {
  opacity: 0.92;
  transform: scale(1.01);
}

.brand-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 50%, var(--accent-cyan) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
  position: relative;
  overflow: hidden;
}

.brand-logo .logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  transform: rotate(35deg);
  transition: transform 0.6s ease;
}

.brand-logo:hover .logo-icon::before {
  transform: rotate(35deg) translate(30%, 30%);
}

.brand-logo .brand-dot {
  color: var(--primary);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: var(--transition);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

/* Dropdown Menu */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 300px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(79, 70, 229, 0.1);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 100;
}

.dropdown-item {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 20px;
}

.dropdown-item .desc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: normal;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--secondary);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: #cbd5e1;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline-white {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

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

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(79, 70, 229, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 10% 85%, rgba(6, 182, 212, 0.09) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 70%),
              var(--bg-body);
  padding: 100px 0 110px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(79, 70, 229, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 55px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.2px;
}

.badge-pill .pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(79, 70, 229, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

.hero-title {
  font-size: 50px;
  line-height: 1.14;
  margin-bottom: 22px;
  letter-spacing: -1.2px;
  font-weight: 800;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 45%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 590px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

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

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
}

.hero-trust-item svg {
  color: var(--success);
  width: 19px;
  height: 19px;
}

/* Hero Right Card / Form Box */
.hero-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 38px;
  border: 1px solid rgba(79, 70, 229, 0.18);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

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

.hero-card-header {
  margin-bottom: 24px;
  text-align: center;
}

.hero-card-header h3 {
  font-size: 23px;
  margin-bottom: 8px;
}

.hero-card-header p {
  font-size: 14px;
  color: var(--text-muted);
}

/* --- Section Headings --- */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-header .sub-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.section-header h2 {
  font-size: 38px;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
}

/* --- Counters Section --- */
.counters-section {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 70px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.counters-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.counter-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.counter-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-4px);
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 80%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.counter-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* --- Services / Solutions Cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 25px rgba(79, 70, 229, 0.12);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-icon {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0e7ff 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 26px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.4);
  transform: scale(1.08) rotate(3deg);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

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

.service-feature-list {
  margin-bottom: 26px;
}

.service-feature-list li {
  font-size: 14px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}

.service-feature-list li svg {
  color: var(--success);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  margin-top: auto;
  transition: var(--transition);
}

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

/* --- Technology Logos / Marquee --- */
.partners-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.partners-title {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.partners-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.partner-logo-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.partner-logo-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-md);
}

.partner-logo-pill svg,
.partner-logo-pill img {
  width: 22px;
  height: 22px;
}

/* --- Why Choose Us Matrix --- */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-box {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-box-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0e7ff 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.feature-box-content h4 {
  font-size: 19px;
  margin-bottom: 6px;
}

.feature-box-content p {
  font-size: 15px;
  color: var(--text-muted);
}

/* --- Testimonials / Social Proof --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 18px;
  font-size: 16px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

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

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0e7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.author-info h5 {
  font-size: 15px;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- FAQ Accordion --- */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-toggle-icon {
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45px);
  background: var(--primary);
  color: #ffffff;
}

.faq-answer {
  padding: 0 26px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding: 0 26px 24px 26px;
  max-height: 500px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

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

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.form-check input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.alert {
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* --- Banner CTA Block --- */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 60%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 70px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 38px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: #cbd5e1;
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto 34px;
  position: relative;
  z-index: 2;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding-top: 85px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.6), rgba(6, 182, 212, 0.6), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 45px;
  padding-bottom: 65px;
}

.footer-brand .brand-logo {
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

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

.footer-cert-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #cbd5e1;
}

.footer-contact-info svg {
  color: var(--accent-cyan);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

.footer-legal-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-legal-nav a {
  color: #94a3b8;
  font-size: 13px;
  transition: var(--transition);
}

.footer-legal-nav a:hover {
  color: #ffffff;
}

.trademark-notice {
  font-size: 12px;
  color: #64748b;
  margin-top: 16px;
  line-height: 1.6;
}

/* --- Legal / Policy Pages Styling --- */
.page-header {
  background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.06) 0%, transparent 60%),
              var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
}

.page-header h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.legal-content {
  background: #ffffff;
  padding: 70px 0;
}

.legal-box {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.legal-box h2 {
  font-size: 25px;
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
}

.legal-box h3 {
  font-size: 20px;
  margin: 26px 0 12px;
  color: var(--secondary);
}

.legal-box p, .legal-box ul {
  margin-bottom: 22px;
}

.legal-box ul {
  list-style: disc;
  padding-left: 26px;
}

.legal-box li {
  margin-bottom: 9px;
}

.compliance-badge-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.compliance-badge {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 26px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 9999;
  display: none;
  animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner h4 {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 8px;
}

.cookie-banner p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 18px;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner-actions button {
  flex: 1;
}

/* --- End-To-End Microsoft Consulting & Products Showcase --- */
.ms-consulting-section {
  background: radial-gradient(circle at 90% 10%, rgba(79, 70, 229, 0.06) 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
              #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ms-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.ms-product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.ms-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 16px 36px -8px rgba(79, 70, 229, 0.15);
}

.ms-product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ms-product-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.ms-product-card:hover .ms-product-img {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
}

.ms-product-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.ms-product-card h4 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--secondary);
}

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

.ms-product-caps {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.ms-product-caps li {
  font-size: 13px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  font-weight: 500;
}

.ms-product-caps li svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

.ms-product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  transition: var(--transition);
}

.ms-product-cta:hover {
  color: var(--primary-hover);
  gap: 10px;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1200px) {
  .ms-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .cards-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
    gap: 16px;
  }
  .nav-menu.open {
    display: flex;
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .mobile-toggle {
    display: block;
  }
  .top-bar-contact {
    display: none;
  }
  .hero-title {
    font-size: 36px;
  }
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .cards-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-nav {
    justify-content: center;
  }
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .ms-products-grid {
    grid-template-columns: 1fr;
  }
}
