/* ==========================================================================
   A2M SYSTEMS — Premium Redesign Stylesheet
   Created with modern layouts, custom fonts, rich gradients, and animations.
   ========================================================================== */

/* ── Custom Properties & Tokens ────────────────────────────────────────── */
:root {
  /* Colors */
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-dark: #1A1D24;
  --text-gray: #4B5563;
  --primary-cyan: #00D4FF;
  --primary-blue: #0077FF;
  --primary-purple: #7B2FF7;
  --border-color: #E2E8F0;

  /* Gradients */
  --gradient-btn: linear-gradient(135deg, #00D4FF, #7B2FF7);
  --gradient-hero-bg: radial-gradient(circle at top right, rgba(0, 212, 255, 0.08) 0%, transparent 60%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.1);
  --shadow-nav: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F8FAFC;
  background-image: radial-gradient(rgba(148, 163, 184, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

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

/* ── Custom Scrollbar ────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
  border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-nav);
  height: 85px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  height: 75px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
}

.logo {
  position: relative;
  width: 320px;
  height: 85px;
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo::before {
  content: '';
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg width='480' height='80' viewBox='0 0 480 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M120 40H60L40 20H10 M60 40L45 55H20 M100 40H80L70 50H45' stroke='rgba(0, 212, 255, 0.25)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='10' cy='20' r='3.5' fill='rgba(0, 212, 255, 0.45)'/%3E%3Ccircle cx='20' cy='55' r='3.5' fill='rgba(0, 212, 255, 0.45)'/%3E%3Ccircle cx='45' cy='50' r='3.5' fill='rgba(0, 212, 255, 0.45)'/%3E%3Cpath d='M360 40H420L440 20H470 M420 40L435 55H460 M380 40H400L410 50H435' stroke='rgba(123, 47, 247, 0.25)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='470' cy='20' r='3.5' fill='rgba(123, 47, 247, 0.45)'/%3E%3Ccircle cx='460' cy='55' r='3.5' fill='rgba(123, 47, 247, 0.45)'/%3E%3Ccircle cx='435' cy='50' r='3.5' fill='rgba(123, 47, 247, 0.45)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.logo img {
  position: relative;
  width: auto;
  height: 140px;
  max-height: 150px;
  display: block;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
  mix-blend-mode: multiply;
  z-index: 2;
}

.navbar.scrolled .logo {
  width: 270px;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar.scrolled .logo::before {
  width: 400px;
  height: 70px;
  opacity: 0.6;
}

.navbar.scrolled .logo img {
  height: 100px;
  max-height: 110px;
}



.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text-dark);
  border-bottom: 2px solid var(--primary-cyan);
}

.btn-primary-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--primary-purple);
  color: var(--primary-purple);
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary-nav:hover {
  background: var(--primary-purple);
  color: var(--bg-white);
  transform: translateY(-1px);
}

.btn-primary-nav:active {
  transform: scale(0.98);
}

/* ── Hero Section ────────────────────────────────────────────────────────── */
.hero {
  background-color: transparent;
  background-image: var(--gradient-hero-bg);
  background-size: cover;
  background-position: center;
  padding: 200px 0 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 100px;
  left: 0;
  width: 240px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='240' height='600' viewBox='0 0 240 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40h90l50 50v180l-40 40H0 M0 200h60l40 40v140l30 30h50 M0 450h80l40-40v-80' stroke='rgba(0, 212, 255, 0.16)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='140' cy='90' r='4' fill='rgba(0, 212, 255, 0.25)'/%3E%3Ccircle cx='100' cy='310' r='4' fill='rgba(0, 212, 255, 0.25)'/%3E%3Ccircle cx='180' cy='410' r='4' fill='rgba(0, 212, 255, 0.25)'/%3E%3Ccircle cx='120' cy='330' r='4' fill='rgba(0, 212, 255, 0.25)'/%3E%3C/svg%3E");
}

.hero::after {
  content: '';
  position: absolute;
  top: 120px;
  right: 0;
  width: 240px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='240' height='600' viewBox='0 0 240 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M240 60h-90l-50 50v140l40 40h100 M240 240h-70l-40 40v180l-30 30h-60 M240 480h-80l-40-40v-100' stroke='rgba(123, 47, 247, 0.16)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='100' cy='110' r='4' fill='rgba(123, 47, 247, 0.25)'/%3E%3Ccircle cx='130' cy='280' r='4' fill='rgba(123, 47, 247, 0.25)'/%3E%3Ccircle cx='100' cy='320' r='4' fill='rgba(123, 47, 247, 0.25)'/%3E%3Ccircle cx='40' cy='490' r='4' fill='rgba(123, 47, 247, 0.25)'/%3E%3C/svg%3E");
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-main-title {
  font-size: 2.8rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-main-title .highlight {
  color: var(--primary-purple);
}

.hero-desc {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.btn-cta {
  display: inline-block;
  background: var(--gradient-btn);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.4);
}

.btn-cta:active {
  transform: scale(0.98);
}

.terminal-metrics {
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  color: #00C4A7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.term-line {
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.badge strong {
  font-weight: 700;
}

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

.hero-isometric-img {
  max-width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}

/* Cards Overlap */
.cards-container {
  display: flex;
  gap: 24px;
  margin-top: 25px;
  margin-bottom: -15px;
  position: relative;
  z-index: 10;
  justify-content: center;
}

.image-action-card {
  display: block;
  max-width: 260px;
  flex: 1;
  text-decoration: none;
}

.image-action-card img {
  display: block;
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-action-card:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.services-section {
  padding: 15px 0 80px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 240px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='240' height='600' viewBox='0 0 240 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60h70l40 40v140l-30 30H0 M0 220h50l30 30v180l20 20h60 M0 490h70l30-30v-100' stroke='rgba(123, 47, 247, 0.16)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='110' cy='100' r='4' fill='rgba(123, 47, 247, 0.25)'/%3E%3Ccircle cx='80' cy='290' r='4' fill='rgba(123, 47, 247, 0.25)'/%3E%3Ccircle cx='160' cy='490' r='4' fill='rgba(123, 47, 247, 0.25)'/%3E%3Ccircle cx='100' cy='360' r='4' fill='rgba(123, 47, 247, 0.25)'/%3E%3C/svg%3E");
}

.services-section::after {
  content: '';
  position: absolute;
  top: 80px;
  right: 0;
  width: 240px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='240' height='600' viewBox='0 0 240 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M240 40h-80l-40 40v160l30 30h90 M240 220h-60l-30 30v150l-20 20h-70 M240 450h-70l-30-30v-90' stroke='rgba(0, 212, 255, 0.16)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='120' cy='80' r='4' fill='rgba(0, 212, 255, 0.25)'/%3E%3Ccircle cx='140' cy='250' r='4' fill='rgba(0, 212, 255, 0.25)'/%3E%3Ccircle cx='120' cy='280' r='4' fill='rgba(0, 212, 255, 0.25)'/%3E%3Ccircle cx='60' cy='420' r='4' fill='rgba(0, 212, 255, 0.25)'/%3E%3C/svg%3E");
}

.services-section-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

section.bg-light {
  background-color: rgba(248, 250, 252, 0.75);
}

.section-title-wrapper {
  margin-bottom: 40px;
}

.section-badge {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.section-title-wrapper h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-title-wrapper h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: -6px;
  margin-bottom: 12px;
}

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

/* Services Grid (Web/Digital) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 212, 255, 0.4);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-card-icon {
  background: var(--primary-blue);
  color: var(--bg-white);
}

.service-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-gray);
  margin: 0;
}

/* Support Section Left (Vertical List) */
.services-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vertical-service-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.vertical-service-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.vertical-service-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.vertical-service-item > p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.sub-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 14px;
}

.sub-service-card {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.01);
}

.sub-service-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.sub-service-card p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-gray);
  margin: 0;
}

/* Support Graphics Right (Before & After) */
.before-after-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ba-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.ba-card-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.ba-card-label.warning {
  background: #FFFBEB;
  color: #D97706;
}

.ba-card-label.success {
  background: #ECFDF5;
  color: #059669;
}

.ba-images-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ba-images-row img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.ba-arrow-divider {
  display: flex;
  justify-content: center;
}

.arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  animation: bounce 2s infinite;
}

/* iMac Mockup Graphics */
.graphics-mockup-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.08));
  display: block;
  margin: 0 auto;
}

/* ── Advantages Section ──────────────────────────────────────────────────── */
.advantages-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.adv-para {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 14px;
}

.advantages-cards-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.adv-grid-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.adv-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 119, 255, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.adv-grid-card:hover .adv-card-icon {
  background: var(--primary-blue);
  color: white;
}

.adv-grid-card p {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  margin: 0;
}

/* ── Portfolio Section ───────────────────────────────────────────────────── */
.section-header-centered {
  text-align: center;
  margin-bottom: 50px;
}

.section-header-centered h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.underline-accent {
  width: 60px;
  height: 4px;
  background: var(--gradient-btn);
  margin: 12px auto;
  border-radius: 2px;
}

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

.portfolio-grid.two-cols {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
  gap: 30px;
}

.portfolio-item-card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.browser-header {
  display: flex;
  gap: 6px;
  background: #F1F5F9;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.browser-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.red {
  background: #EF4444;
}

.dot.yellow {
  background: #F59E0B;
}

.dot.green {
  background: #10B981;
}

.browser-title {
  margin-left: 10px;
  font-size: 0.78rem;
  color: var(--text-gray);
  font-family: monospace;
  letter-spacing: 0.5px;
}

.portfolio-img-wrapper {
  overflow: hidden;
  height: 250px;
  position: relative;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 43, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-overlay span {
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--gradient-btn);
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.portfolio-item-card:hover .portfolio-img-wrapper img {
  transform: scale(1.05);
}

.portfolio-item-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item-card:hover .portfolio-overlay span {
  transform: translateY(0);
}

/* ── Footer & Contact ────────────────────────────────────────────────────── */
.footer {
  background: #0B0F2B;
  color: white;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.footer-col-left h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.footer-desc-text {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  font-size: 1rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-contact-list i {
  color: var(--primary-cyan);
  min-width: 20px;
  margin-top: 3px;
  font-size: 1.1rem;
}

.footer-contact-list a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-list a:hover {
  color: white;
}

.social-links-row {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.social-links-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links-row a:hover {
  background: var(--gradient-btn);
  color: white;
  transform: scale(1.08);
}

/* Contact Form Card */
.form-container-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-container-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-cb-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  user-select: none;
}

.form-cb-label input[type="checkbox"] {
  display: none; /* Hidden checkbox element */
}

.form-cb-label:hover {
  border-color: var(--primary-cyan);
  background: rgba(255, 255, 255, 0.1);
}

.form-cb-label.active {
  border-color: var(--primary-cyan);
  background: rgba(0, 212, 255, 0.1);
  color: white;
}

.form-cb-label:has(input[type="checkbox"]:checked) {
  border-color: var(--primary-cyan);
  background: rgba(0, 212, 255, 0.1);
  color: white;
}

.form-input-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.form-input-grid input,
.form-textarea-row textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-size: 0.88rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.form-input-grid input::placeholder,
.form-textarea-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input-grid input:focus,
.form-textarea-row textarea:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.form-textarea-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-textarea-row textarea {
  resize: none;
}

.btn-submit {
  background: var(--gradient-btn);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25);
}

.btn-submit:active {
  transform: scale(0.98);
}

.footer-bottom-bar {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* ── Key Animations ──────────────────────────────────────────────────────── */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ── Media Queries (Responsive Design) ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container,
  .services-section-container,
  .advantages-block,
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .terminal-metrics {
    display: none;
  }

  .advantages-cards-right,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .hero-main-title {
    font-size: 2.2rem;
  }

  .service-card-header,
  .vertical-service-header,
  .footer-contact-list li,
  .social-links-row {
    justify-content: center;
  }

  .btn-submit {
    align-self: center;
  }

  .badge {
    display: inline-flex;
  }

  .navbar {
    height: 80px;
  }

  .navbar.scrolled {
    height: 70px;
  }

  .logo {
    width: 250px;
    height: 80px;
  }

  .logo img {
    height: 110px;
    max-height: 120px;
  }

  .navbar.scrolled .logo {
    width: 210px;
    height: 70px;
  }

  .navbar.scrolled .logo img {
    height: 90px;
    max-height: 100px;
  }

  .logo::before,
  .navbar.scrolled .logo::before {
    display: none !important;
  }

  .hero::before,
  .hero::after,
  .services-section::before,
  .services-section::after {
    display: none !important;
  }

  .hero {
    padding: 160px 0 20px;
  }
}

@media (max-width: 768px) {
  .btn-primary-nav {
    display: none;
  }

  .form-input-grid {
    grid-template-columns: 1fr;
  }

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

  .sub-services-grid {
    grid-template-columns: 1fr;
  }

  .advantages-cards-right,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    height: 75px;
  }

  .navbar.scrolled {
    height: 65px;
  }

  .logo {
    width: 200px;
    height: 75px;
  }

  .logo img {
    height: 95px;
    max-height: 100px;
  }

  .navbar.scrolled .logo {
    width: 170px;
    height: 65px;
  }

  .navbar.scrolled .logo img {
    height: 80px;
    max-height: 85px;
  }

  .hero {
    padding: 140px 0 20px;
  }
}

@media (max-width: 480px) {
  .btn-primary-nav {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .navbar {
    height: 65px;
  }

  .navbar.scrolled {
    height: 58px;
  }

  .logo {
    width: 160px;
    height: 65px;
  }

  .logo img {
    height: 80px;
    max-height: 85px;
    top: 2px;
  }

  .navbar.scrolled .logo {
    width: 140px;
    height: 58px;
  }

  .navbar.scrolled .logo img {
    height: 68px;
    max-height: 72px;
    top: 2px;
  }

  .hero {
    padding: 120px 0 20px;
  }

  .hero-main-title {
    font-size: 1.8rem;
  }

  .btn-cta {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .form-container-card {
    padding: 24px 16px;
  }
}
